@konnectio/core 4.0.5 → 4.0.7

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 (197) hide show
  1. package/dist/{ActionField-0c047379.mjs → ActionField-5ecfc9dc.js} +26 -28
  2. package/dist/ActionField-5ecfc9dc.js.br +0 -0
  3. package/dist/ActionField-ae9b1adf.cjs +1 -0
  4. package/dist/HotelAvailabilityForm-0cd1abda.cjs +1 -0
  5. package/dist/{HotelAvailabilityForm-29f12395.mjs → HotelAvailabilityForm-a7b6f17e.js} +23 -25
  6. package/dist/HotelAvailabilityForm-a7b6f17e.js.br +0 -0
  7. package/dist/NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs +793 -0
  8. package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js +16403 -0
  9. package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js.br +0 -0
  10. package/dist/{ReCaptchaVuePlugin-616ef9b9.mjs → ReCaptchaVuePlugin-05b8ec39.js} +2 -3
  11. package/dist/ReCaptchaVuePlugin-05b8ec39.js.br +0 -0
  12. package/dist/ReCaptchaVuePlugin-08ee5d62.cjs +1 -0
  13. package/dist/{SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs → SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js} +1020 -1022
  14. package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js.br +0 -0
  15. package/dist/{SelectField.vue_vue_type_style_index_0_lang-18843626.js → SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs} +16 -17
  16. package/dist/{ThankYou-f6205791.mjs → ThankYou-1866d8db.js} +2853 -2825
  17. package/dist/ThankYou-1866d8db.js.br +0 -0
  18. package/dist/ThankYou-5741bcb6.cjs +15 -0
  19. package/dist/{_commonjsHelpers-6763f629.js → _commonjsHelpers-6763f629.cjs} +0 -1
  20. package/dist/{_commonjsHelpers-c5d32002.mjs → _commonjsHelpers-aeeeeb92.js} +2 -3
  21. package/dist/{applyGiftCard-02342491.mjs → applyGiftCard-c5e4aaad.js} +12 -14
  22. package/dist/applyGiftCard-c5e4aaad.js.br +0 -0
  23. package/dist/applyGiftCard-d9ab3dcf.cjs +1 -0
  24. package/dist/assets/typescript/mixins.d.ts +36 -0
  25. package/dist/availability.cjs.js +1 -2
  26. package/dist/availability.cjs.js.br +0 -0
  27. package/dist/availability.d.ts +3 -0
  28. package/dist/availability.es.js +31 -30
  29. package/dist/availability.es.js.br +0 -0
  30. package/dist/components/Alert.vue.d.ts +5 -0
  31. package/dist/components/Alert.vue.d.ts.map +1 -0
  32. package/dist/components/Clickable.vue.d.ts +5 -0
  33. package/dist/components/Clickable.vue.d.ts.map +1 -0
  34. package/dist/components/GoogleNotice.vue.d.ts +4 -0
  35. package/dist/components/GoogleNotice.vue.d.ts.map +1 -0
  36. package/dist/components/Icon.vue.d.ts +5 -0
  37. package/dist/components/Icon.vue.d.ts.map +1 -0
  38. package/dist/components/Loading.vue.d.ts +5 -0
  39. package/dist/components/Loading.vue.d.ts.map +1 -0
  40. package/dist/components/LoadingBlock.vue.d.ts +4 -0
  41. package/dist/components/LoadingBlock.vue.d.ts.map +1 -0
  42. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +5 -0
  43. package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +1 -0
  44. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +5 -0
  45. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +1 -0
  46. package/dist/components/forms/MultiStepForm.vue.d.ts +5 -0
  47. package/dist/components/forms/MultiStepForm.vue.d.ts.map +1 -0
  48. package/dist/components/forms/ReservationForm.vue.d.ts +5 -0
  49. package/dist/components/forms/ReservationForm.vue.d.ts.map +1 -0
  50. package/dist/components/inputs/Checkbox.vue.d.ts +5 -0
  51. package/dist/components/inputs/Checkbox.vue.d.ts.map +1 -0
  52. package/dist/components/inputs/DateField.vue.d.ts +5 -0
  53. package/dist/components/inputs/DateField.vue.d.ts.map +1 -0
  54. package/dist/components/inputs/InputField.vue.d.ts +5 -0
  55. package/dist/components/inputs/InputField.vue.d.ts.map +1 -0
  56. package/dist/components/inputs/MediaSelector.vue.d.ts +5 -0
  57. package/dist/components/inputs/MediaSelector.vue.d.ts.map +1 -0
  58. package/dist/components/inputs/NumberField.vue.d.ts +5 -0
  59. package/dist/components/inputs/NumberField.vue.d.ts.map +1 -0
  60. package/dist/components/inputs/SelectField.vue.d.ts +5 -0
  61. package/dist/components/inputs/SelectField.vue.d.ts.map +1 -0
  62. package/dist/components/inputs/TextField.vue.d.ts +5 -0
  63. package/dist/components/inputs/TextField.vue.d.ts.map +1 -0
  64. package/dist/components/inputs/TimeField.vue.d.ts +5 -0
  65. package/dist/components/inputs/TimeField.vue.d.ts.map +1 -0
  66. package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -0
  67. package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +1 -0
  68. package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -0
  69. package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +1 -0
  70. package/dist/components/inputs/grouped/NameField.vue.d.ts +5 -0
  71. package/dist/components/inputs/grouped/NameField.vue.d.ts.map +1 -0
  72. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +5 -0
  73. package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +1 -0
  74. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +4 -0
  75. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +1 -0
  76. package/dist/components/listings/Base.vue.d.ts +6 -0
  77. package/dist/components/listings/Base.vue.d.ts.map +1 -0
  78. package/dist/components/listings/Event.vue.d.ts +5 -0
  79. package/dist/components/listings/Event.vue.d.ts.map +1 -0
  80. package/dist/components/listings/Test.vue.d.ts +5 -0
  81. package/dist/components/listings/Test.vue.d.ts.map +1 -0
  82. package/dist/components/modals/Base.vue.d.ts +5 -0
  83. package/dist/components/modals/Base.vue.d.ts.map +1 -0
  84. package/dist/components/modals/Info.vue.d.ts +5 -0
  85. package/dist/components/modals/Info.vue.d.ts.map +1 -0
  86. package/dist/components/modals/Terms.vue.d.ts +4 -0
  87. package/dist/components/modals/Terms.vue.d.ts.map +1 -0
  88. package/dist/components/side-panels/Base.vue.d.ts +5 -0
  89. package/dist/components/side-panels/Base.vue.d.ts.map +1 -0
  90. package/dist/components/side-panels/Hotel.vue.d.ts +4 -0
  91. package/dist/components/side-panels/Hotel.vue.d.ts.map +1 -0
  92. package/dist/components/views/CheckoutWindow.vue.d.ts +5 -0
  93. package/dist/components/views/CheckoutWindow.vue.d.ts.map +1 -0
  94. package/dist/components/views/TermsOfService.vue.d.ts +5 -0
  95. package/dist/components/views/TermsOfService.vue.d.ts.map +1 -0
  96. package/dist/components/views/ThankYou.vue.d.ts +5 -0
  97. package/dist/components/views/ThankYou.vue.d.ts.map +1 -0
  98. package/dist/entries/availability.d.ts +2 -0
  99. package/dist/entries/event.d.ts +2 -0
  100. package/dist/entries/gift-card-validation.d.ts +2 -0
  101. package/dist/entries/gift-card.d.ts +2 -0
  102. package/dist/entries/hotel.d.ts +2 -0
  103. package/dist/entries/navigation.d.ts +1 -0
  104. package/dist/entries/polyfill.d.ts +0 -0
  105. package/dist/event-39706438.cjs +1 -0
  106. package/dist/{event-cc266121.mjs → event-a70cffeb.js} +48 -47
  107. package/dist/event-a70cffeb.js.br +0 -0
  108. package/dist/event.cjs.js +1 -2
  109. package/dist/event.cjs.js.br +0 -0
  110. package/dist/event.d.ts +3 -0
  111. package/dist/event.es.js +175 -174
  112. package/dist/event.es.js.br +0 -0
  113. package/dist/gift-card-validation.cjs.js +1 -2
  114. package/dist/gift-card-validation.cjs.js.br +0 -0
  115. package/dist/gift-card-validation.d.ts +3 -0
  116. package/dist/gift-card-validation.es.js +54 -53
  117. package/dist/gift-card-validation.es.js.br +0 -0
  118. package/dist/gift-card.cjs.js +1 -2
  119. package/dist/gift-card.cjs.js.br +0 -0
  120. package/dist/gift-card.d.ts +3 -0
  121. package/dist/gift-card.es.js +90 -89
  122. package/dist/gift-card.es.js.br +0 -0
  123. package/dist/hotel.cjs.js +5 -6
  124. package/dist/hotel.cjs.js.br +0 -0
  125. package/dist/hotel.d.ts +3 -0
  126. package/dist/hotel.es.js +298 -298
  127. package/dist/hotel.es.js.br +0 -0
  128. package/dist/{index-30f70976.mjs → index-00262c16.js} +64 -69
  129. package/dist/index-00262c16.js.br +0 -0
  130. package/dist/index-58f3b0cc.cjs +1 -0
  131. package/dist/layouts/Availability.vue.d.ts +244 -0
  132. package/dist/layouts/Event.vue.d.ts +244 -0
  133. package/dist/layouts/GiftCard.vue.d.ts +252 -0
  134. package/dist/layouts/GiftCardValidation.vue.d.ts +228 -0
  135. package/dist/layouts/Hotel.vue.d.ts +277 -0
  136. package/dist/layouts/_.vue.d.ts +30 -0
  137. package/dist/navigation.cjs.js +1 -2
  138. package/dist/navigation.d.ts +1 -0
  139. package/dist/navigation.es.js +1 -59
  140. package/dist/{payment-b3022c46.mjs → payment-9e219e9b.js} +221 -223
  141. package/dist/payment-9e219e9b.js.br +0 -0
  142. package/dist/{payment-bfd660a7.js → payment-fbffaa6d.cjs} +2 -3
  143. package/dist/plugins/i18n.d.ts +5 -0
  144. package/dist/polyfill.cjs.js +2 -3
  145. package/dist/polyfill.cjs.js.br +0 -0
  146. package/dist/polyfill.d.ts +1 -0
  147. package/dist/polyfill.es.js +2 -4
  148. package/dist/polyfill.es.js.br +0 -0
  149. package/dist/store/alert.d.ts +28 -0
  150. package/dist/store/applyGiftCard.d.ts +28 -0
  151. package/dist/store/availability.d.ts +37 -0
  152. package/dist/store/event.d.ts +683 -0
  153. package/dist/store/giftCard.d.ts +80 -0
  154. package/dist/store/hotel.d.ts +662 -0
  155. package/dist/store/payment.d.ts +133 -0
  156. package/dist/store/recaptcha.d.ts +1 -0
  157. package/dist/store/tracking.d.ts +24 -0
  158. package/dist/store/utilities.d.ts +317 -0
  159. package/dist/style.css +1 -1
  160. package/dist/style.css.br +0 -0
  161. package/dist/types/index.d.ts +868 -0
  162. package/package.json +27 -11
  163. package/dist/ActionField-0c047379.mjs.br +0 -0
  164. package/dist/ActionField-3640689b.js +0 -2
  165. package/dist/ActionField-3640689b.js.br +0 -0
  166. package/dist/Clickable-386eceb6.mjs +0 -12390
  167. package/dist/Clickable-386eceb6.mjs.br +0 -0
  168. package/dist/Clickable-77afc133.js +0 -768
  169. package/dist/Clickable-77afc133.js.br +0 -0
  170. package/dist/HotelAvailabilityForm-29f12395.mjs.br +0 -0
  171. package/dist/HotelAvailabilityForm-89ba629d.js +0 -2
  172. package/dist/HotelAvailabilityForm-89ba629d.js.br +0 -0
  173. package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs +0 -4027
  174. package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs.br +0 -0
  175. package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js +0 -28
  176. package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js.br +0 -0
  177. package/dist/ReCaptchaVuePlugin-0988d77f.js +0 -2
  178. package/dist/ReCaptchaVuePlugin-0988d77f.js.br +0 -0
  179. package/dist/ReCaptchaVuePlugin-616ef9b9.mjs.br +0 -0
  180. package/dist/SelectField.vue_vue_type_style_index_0_lang-18843626.js.br +0 -0
  181. package/dist/SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs.br +0 -0
  182. package/dist/ThankYou-1096ca5a.js +0 -16
  183. package/dist/ThankYou-1096ca5a.js.br +0 -0
  184. package/dist/ThankYou-f6205791.mjs.br +0 -0
  185. package/dist/applyGiftCard-02342491.mjs.br +0 -0
  186. package/dist/applyGiftCard-e24bae0c.js +0 -2
  187. package/dist/applyGiftCard-e24bae0c.js.br +0 -0
  188. package/dist/event-cc266121.mjs.br +0 -0
  189. package/dist/event-d580e6e8.js +0 -2
  190. package/dist/event-d580e6e8.js.br +0 -0
  191. package/dist/index-30f70976.mjs.br +0 -0
  192. package/dist/index-4e9533a9.js +0 -2
  193. package/dist/index-4e9533a9.js.br +0 -0
  194. package/dist/navigation.cjs.js.br +0 -0
  195. package/dist/navigation.es.js.br +0 -0
  196. package/dist/payment-b3022c46.mjs.br +0 -0
  197. package/dist/payment-bfd660a7.js.br +0 -0
Binary file
@@ -1,7 +1,6 @@
1
- import { a9 as isPlainObject, E as nextTick, aa as isFunction, ab as vue_esmBundler, d as defineComponent, r as ref, g as onMounted, o as openBlock, h as createBlock, w as withCtx, b as createBaseVNode, a as createVNode, u as unref, _ as _export_sfc, V as mergeProps, n as normalizeClass, B as normalizeStyle, Y as withKeys, c as createElementBlock, t as toDisplayString, k as createCommentVNode, x as createTextVNode } from "./Clickable-386eceb6.mjs";
2
- import { a as getAugmentedNamespace } from "./_commonjsHelpers-c5d32002.mjs";
3
- import { v as ranId, I as InputField, u as useI18n } from "./NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs";
4
- import { T as TextField } from "./SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs";
1
+ import { ac as isPlainObject, ad as nextTick, ae as isFunction, af as vue_esmBundler, h as defineComponent, j as ranId, r as ref, o as onMounted, k as openBlock, l as createBlock, w as withCtx, x as createBaseVNode, m as createVNode, n as unref, I as InputField, _ as _export_sfc, ag as mergeProps, A as normalizeClass, ab as normalizeStyle, ah as withKeys, v as createElementBlock, B as toDisplayString, y as createCommentVNode, q as useI18n, a0 as createTextVNode } from "./NumberField.vue_vue_type_style_index_0_lang-ab747739.js";
2
+ import { g as getAugmentedNamespace } from "./_commonjsHelpers-aeeeeb92.js";
3
+ import { T as TextField } from "./SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js";
5
4
  function _defineProperty(e, t, n) {
6
5
  return t in e ? Object.defineProperty(e, t, {
7
6
  value: n,
@@ -35,12 +34,12 @@ var load = function(t) {
35
34
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
36
35
  return new Promise(function(i, r) {
37
36
  if (!(typeof document > "u")) {
38
- var l = document.head || document.getElementsByTagName("head")[0], s = document.createElement("script");
39
- if (s.async = !0, s.src = t, s.defer = n.defer, n.preconnectOrigin) {
40
- var u = document.createElement("link");
41
- u.href = n.preconnectOrigin, u.rel = "preconnect", l.appendChild(u);
37
+ var s = document.head || document.getElementsByTagName("head")[0], u = document.createElement("script");
38
+ if (u.async = !0, u.src = t, u.defer = n.defer, n.preconnectOrigin) {
39
+ var l = document.createElement("link");
40
+ l.href = n.preconnectOrigin, l.rel = "preconnect", s.appendChild(l);
42
41
  }
43
- l.appendChild(s), s.onload = i, s.onerror = r;
42
+ s.appendChild(u), u.onload = i, u.onerror = r;
44
43
  }
45
44
  });
46
45
  }, mergeDeep = function e(t) {
@@ -48,10 +47,10 @@ var load = function(t) {
48
47
  i[r - 1] = arguments[r];
49
48
  if (!i.length)
50
49
  return t;
51
- var l = i.shift();
52
- if (!(!isPlainObject(t) || !isPlainObject(l))) {
53
- for (var s in l)
54
- isPlainObject(l[s]) ? (t[s] || Object.assign(t, _defineProperty({}, s, {})), e(t[s], l[s])) : Object.assign(t, _defineProperty({}, s, l[s]));
50
+ var s = i.shift();
51
+ if (!(!isPlainObject(t) || !isPlainObject(s))) {
52
+ for (var u in s)
53
+ isPlainObject(s[u]) ? (t[u] || Object.assign(t, _defineProperty({}, u, {})), e(t[u], s[u])) : Object.assign(t, _defineProperty({}, u, s[u]));
55
54
  return e.apply(void 0, [t].concat(i));
56
55
  }
57
56
  }, isBrowser = function() {
@@ -109,9 +108,9 @@ var getDefaultParams = function() {
109
108
  }, config = function() {
110
109
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
111
110
  t[n] = arguments[n];
112
- var i = getOptions(), r = i.config, l = i.includes;
113
- query.apply(void 0, ["config", r.id].concat(t)), Array.isArray(l) && l.forEach(function(s) {
114
- query.apply(void 0, ["config", s.id].concat(t));
111
+ var i = getOptions(), r = i.config, s = i.includes;
112
+ query.apply(void 0, ["config", r.id].concat(t)), Array.isArray(s) && s.forEach(function(u) {
113
+ query.apply(void 0, ["config", u.id].concat(t));
115
114
  });
116
115
  }, assignGlobalProperty = function(t, n) {
117
116
  isBrowser() && (window["ga-disable-".concat(t)] = n);
@@ -130,8 +129,8 @@ var getDefaultParams = function() {
130
129
  return router;
131
130
  }, event = function(e) {
132
131
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = getOptions(), i = n.includes, r = n.defaultGroupName;
133
- t.send_to == null && Array.isArray(i) && i.length && (t.send_to = i.map(function(l) {
134
- return l.id;
132
+ t.send_to == null && Array.isArray(i) && i.length && (t.send_to = i.map(function(s) {
133
+ return s.id;
135
134
  }).concat(r)), query("event", e, t);
136
135
  }, pageview = function(e) {
137
136
  if (isBrowser()) {
@@ -141,11 +140,11 @@ var getDefaultParams = function() {
141
140
  page_path: e
142
141
  };
143
142
  else if (e.path || e.fullPath) {
144
- var n = getOptions(), i = n.pageTrackerUseFullPath, r = n.pageTrackerPrependBase, l = getRouter(), s = l && l.options.base, u = i ? e.fullPath : e.path;
143
+ var n = getOptions(), i = n.pageTrackerUseFullPath, r = n.pageTrackerPrependBase, s = getRouter(), u = s && s.options.base, l = i ? e.fullPath : e.path;
145
144
  t = _objectSpread2(_objectSpread2({}, e.name && {
146
145
  page_title: e.name
147
146
  }), {}, {
148
- page_path: r ? getPathWithBase(u, s) : u
147
+ page_path: r ? getPathWithBase(l, u) : l
149
148
  });
150
149
  } else
151
150
  t = e;
@@ -216,17 +215,17 @@ var getDefaultParams = function() {
216
215
  query("config", i.id, mergeDefaultParams(i.params));
217
216
  });
218
217
  }, track = function() {
219
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = getOptions(), i = n.appName, r = n.pageTrackerTemplate, l = n.pageTrackerScreenviewEnabled, s = n.pageTrackerSkipSamePath;
220
- if (!(s && e.path === t.path)) {
221
- var u = e;
222
- if (isFunction(r) ? u = r(e, t) : l && (u = validateScreenviewShape({
218
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = getOptions(), i = n.appName, r = n.pageTrackerTemplate, s = n.pageTrackerScreenviewEnabled, u = n.pageTrackerSkipSamePath;
219
+ if (!(u && e.path === t.path)) {
220
+ var l = e;
221
+ if (isFunction(r) ? l = r(e, t) : s && (l = validateScreenviewShape({
223
222
  app_name: i,
224
223
  screen_name: e.name
225
- })), l) {
226
- screenview(u);
224
+ })), s) {
225
+ screenview(l);
227
226
  return;
228
227
  }
229
- pageview(u);
228
+ pageview(l);
230
229
  }
231
230
  }, isRouteExcluded = function(t) {
232
231
  var n = getOptions(), i = n.pageTrackerExcludedRoutes;
@@ -237,22 +236,22 @@ var getDefaultParams = function() {
237
236
  nextTick().then(function() {
238
237
  var r = i.currentRoute;
239
238
  addConfiguration(), !isRouteExcluded(r.value) && track(r.value);
240
- }), i.afterEach(function(r, l) {
239
+ }), i.afterEach(function(r, s) {
241
240
  nextTick().then(function() {
242
- isRouteExcluded(r) || (isFunction(t) && t(r, l), track(r, l), isFunction(n) && n(r, l));
241
+ isRouteExcluded(r) || (isFunction(t) && t(r, s), track(r, s), isFunction(n) && n(r, s));
243
242
  });
244
243
  });
245
244
  });
246
245
  }, bootstrap = function() {
247
- var e = getOptions(), t = e.onReady, n = e.onError, i = e.globalObjectName, r = e.globalDataLayerName, l = e.config, s = e.customResourceURL, u = e.customPreconnectOrigin, p = e.deferScriptLoad, f = e.pageTrackerEnabled, g = e.disableScriptLoad, m = !!(f && getRouter());
246
+ var e = getOptions(), t = e.onReady, n = e.onError, i = e.globalObjectName, r = e.globalDataLayerName, s = e.config, u = e.customResourceURL, l = e.customPreconnectOrigin, p = e.deferScriptLoad, d = e.pageTrackerEnabled, g = e.disableScriptLoad, m = !!(d && getRouter());
248
247
  if (registerGlobals(), m ? addRoutesTracker() : addConfiguration(), !g)
249
- return load("".concat(s, "?id=").concat(l.id, "&l=").concat(r), {
250
- preconnectOrigin: u,
248
+ return load("".concat(u, "?id=").concat(s.id, "&l=").concat(r), {
249
+ preconnectOrigin: l,
251
250
  defer: p
252
251
  }).then(function() {
253
252
  t && t(window[i]);
254
- }).catch(function(d) {
255
- return n && n(d), d;
253
+ }).catch(function(f) {
254
+ return n && n(f), f;
256
255
  });
257
256
  }, install = function(t) {
258
257
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 ? arguments[2] : void 0;
@@ -274,62 +273,59 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
274
273
  },
275
274
  emits: ["update:modelValue"],
276
275
  setup(e, { emit: t }) {
277
- const n = e, i = n.id || ranId(), r = ref({
278
- code: "+45",
279
- number: ""
280
- });
281
- function l() {
282
- t("update:modelValue", `${r.value.code} ${r.value.number}`);
276
+ const n = e, i = n.id || ranId(), r = ref("+45"), s = ref("");
277
+ function u() {
278
+ t("update:modelValue", `${r.value} ${s.value}`);
283
279
  }
284
280
  return onMounted(() => {
285
281
  if (n.modelValue) {
286
- const s = n.modelValue.split(" ");
287
- r.value.code = s[0], r.value.number = s[1];
282
+ const l = n.modelValue.split(" ");
283
+ r.value = l[0], s.value = l[1];
288
284
  }
289
- }), (s, u) => (openBlock(), createBlock(InputField, {
290
- label: s.label,
285
+ }), (l, p) => (openBlock(), createBlock(InputField, {
286
+ label: l.label,
291
287
  id: unref(i),
292
288
  type: "phone",
293
- required: s.required,
294
- readonly: s.readonly
289
+ required: l.required,
290
+ readonly: l.readonly
295
291
  }, {
296
292
  default: withCtx(() => [
297
293
  createBaseVNode("div", _hoisted_1$2, [
298
294
  createVNode(TextField, {
299
- modelValue: r.value.code,
300
- "onUpdate:modelValue": u[0] || (u[0] = (p) => r.value.code = p),
295
+ modelValue: r.value,
296
+ "onUpdate:modelValue": p[0] || (p[0] = (d) => r.value = d),
301
297
  type: "text",
302
298
  id: unref(ranId)(),
303
299
  name: "phone-code",
304
300
  autocomplete: "tel-country-code",
305
- icon: s.icon,
306
- "icon-color": s.iconColor,
307
- "icon-type": s.iconType,
301
+ icon: l.icon,
302
+ "icon-color": l.iconColor,
303
+ "icon-type": l.iconType,
308
304
  placeholder: "+45",
309
- required: s.required,
310
- readonly: s.readonly,
311
- "input-style": s.inputStyle,
312
- onInput: u[1] || (u[1] = (p) => l())
305
+ required: l.required,
306
+ readonly: l.readonly,
307
+ "input-style": l.inputStyle,
308
+ onInput: p[1] || (p[1] = (d) => u())
313
309
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
314
310
  createVNode(TextField, {
315
- modelValue: r.value.number,
316
- "onUpdate:modelValue": u[2] || (u[2] = (p) => r.value.number = p),
311
+ modelValue: s.value,
312
+ "onUpdate:modelValue": p[2] || (p[2] = (d) => s.value = d),
317
313
  type: "number",
318
314
  name: "phone",
319
315
  autocomplete: "tel-national",
320
316
  id: unref(i),
321
- placeholder: s.placeholder,
322
- required: s.required,
323
- readonly: s.readonly,
324
- "input-style": s.inputStyle,
325
- onInput: u[3] || (u[3] = (p) => l())
317
+ placeholder: l.placeholder,
318
+ required: l.required,
319
+ readonly: l.readonly,
320
+ "input-style": l.inputStyle,
321
+ onInput: p[3] || (p[3] = (d) => u())
326
322
  }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
327
323
  ])
328
324
  ]),
329
325
  _: 1
330
326
  }, 8, ["label", "id", "required", "readonly"]));
331
327
  }
332
- }), PhoneField_vue_vue_type_style_index_0_scoped_bd936115_lang = "", PhoneField = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-bd936115"]]), _hoisted_1$1 = ["required", "type", "name", "readonly", "disabled", "value", "checked"], _hoisted_2$1 = ["data-test"], _hoisted_3 = { key: 0 }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
328
+ }), PhoneField_vue_vue_type_style_index_0_scoped_5cd094ab_lang = "", PhoneField = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-5cd094ab"]]), _hoisted_1$1 = ["required", "type", "name", "readonly", "disabled", "value", "checked"], _hoisted_2$1 = ["data-test"], _hoisted_3 = { key: 0 }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
333
329
  __name: "Checkbox",
334
330
  props: {
335
331
  modelValue: { type: [String, Boolean, Number] },
@@ -353,7 +349,7 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
353
349
  n.type === "radio" ? n.val : n.numeric ? n.modelValue ? 0 : 1 : !n.modelValue
354
350
  );
355
351
  }
356
- return (r, l) => (openBlock(), createBlock(InputField, {
352
+ return (r, s) => (openBlock(), createBlock(InputField, {
357
353
  required: r.required,
358
354
  type: r.type,
359
355
  readonly: r.readonly
@@ -376,7 +372,7 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
376
372
  disabled: !!r.readonly,
377
373
  value: r.type === "radio" ? r.val : r.modelValue,
378
374
  checked: r.type === "radio" ? r.val === r.modelValue : !!r.modelValue,
379
- onChange: l[0] || (l[0] = (s) => i())
375
+ onChange: s[0] || (s[0] = (u) => i())
380
376
  }), null, 16, _hoisted_1$1),
381
377
  createBaseVNode("div", {
382
378
  class: normalizeClass([
@@ -386,7 +382,7 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
386
382
  tabindex: "0",
387
383
  style: normalizeStyle(r.inputStyle),
388
384
  "data-test": r.name,
389
- onKeyup: l[1] || (l[1] = withKeys((s) => i(), ["enter"]))
385
+ onKeyup: s[1] || (s[1] = withKeys((u) => i(), ["enter"]))
390
386
  }, null, 46, _hoisted_2$1),
391
387
  r.label ? (openBlock(), createElementBlock("div", {
392
388
  key: 0,
@@ -494,14 +490,14 @@ class Sticky {
494
490
  bottom: null,
495
491
  sticked: !1
496
492
  };
497
- const n = this.getAttribute("sticky-offset") || {}, i = this.getAttribute("sticky-side") || "top", r = this.getAttribute("sticky-z-index") || "10", l = this.getAttribute("on-stick") || null;
493
+ const n = this.getAttribute("sticky-offset") || {}, i = this.getAttribute("sticky-side") || "top", r = this.getAttribute("sticky-z-index") || "10", s = this.getAttribute("on-stick") || null;
498
494
  this.options = {
499
495
  topOffset: Number(n.top) || 0,
500
496
  bottomOffset: Number(n.bottom) || 0,
501
497
  shouldTopSticky: i === "top" || i === "both",
502
498
  shouldBottomSticky: i === "bottom" || i === "both",
503
499
  zIndex: r,
504
- onStick: l
500
+ onStick: s
505
501
  };
506
502
  }
507
503
  doBind() {
@@ -651,4 +647,3 @@ export {
651
647
  require$$1 as r,
652
648
  setOptions as s
653
649
  };
654
- //# sourceMappingURL=index-30f70976.mjs.map
Binary file
@@ -0,0 +1 @@
1
+ "use strict";const NumberField_vue_vue_type_style_index_0_lang=require("./NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs"),_commonjsHelpers=require("./_commonjsHelpers-6763f629.cjs"),SelectField_vue_vue_type_style_index_0_lang=require("./SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs");function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(i){_defineProperty(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var load=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(i,r){if(!(typeof document>"u")){var l=document.head||document.getElementsByTagName("head")[0],u=document.createElement("script");if(u.async=!0,u.src=t,u.defer=n.defer,n.preconnectOrigin){var s=document.createElement("link");s.href=n.preconnectOrigin,s.rel="preconnect",l.appendChild(s)}l.appendChild(u),u.onload=i,u.onerror=r}})},mergeDeep=function e(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(!i.length)return t;var l=i.shift();if(!(!NumberField_vue_vue_type_style_index_0_lang.isPlainObject(t)||!NumberField_vue_vue_type_style_index_0_lang.isPlainObject(l))){for(var u in l)NumberField_vue_vue_type_style_index_0_lang.isPlainObject(l[u])?(t[u]||Object.assign(t,_defineProperty({},u,{})),e(t[u],l[u])):Object.assign(t,_defineProperty({},u,l[u]));return e.apply(void 0,[t].concat(i))}},isBrowser=function(){return!(typeof window>"u"||typeof document>"u")},warn=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;isBrowser()},validateScreenviewShape=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return warn('Missing "appName" property inside the plugin options.',t.app_name==null),warn('Missing "name" property in the route.',t.screen_name==null),t};function getPathWithBase(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),i=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),i.join("/")+n.join("/")}var getDefaultParams=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},params={},setOptions=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=getDefaultParams();params=mergeDeep(n,t)},getOptions=function(){return params},query=function(){var e,t=getOptions(),n=t.globalObjectName;!isBrowser()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},config=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=getOptions(),r=i.config,l=i.includes;query.apply(void 0,["config",r.id].concat(t)),Array.isArray(l)&&l.forEach(function(u){query.apply(void 0,["config",u.id].concat(t))})},assignGlobalProperty=function(t,n){isBrowser()&&(window["ga-disable-".concat(t)]=n)},disable=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=getOptions(),n=t.config,i=t.includes;assignGlobalProperty(n.id,e),Array.isArray(i)&&i.forEach(function(r){return assignGlobalProperty(r.id,e)})},optOut=function(){disable(!0)},optIn=function(){disable(!1)},router,setRouter=function(t){router=t},getRouter=function(){return router},event=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),i=n.includes,r=n.defaultGroupName;t.send_to==null&&Array.isArray(i)&&i.length&&(t.send_to=i.map(function(l){return l.id}).concat(r)),query("event",e,t)},pageview=function(e){if(isBrowser()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=getOptions(),i=n.pageTrackerUseFullPath,r=n.pageTrackerPrependBase,l=getRouter(),u=l&&l.options.base,s=i?e.fullPath:e.path;t=_objectSpread2(_objectSpread2({},e.name&&{page_title:e.name}),{},{page_path:r?getPathWithBase(s,u):s})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),event("page_view",t)}},screenview=function(e){var t=getOptions(),n=t.appName;if(e){var i;typeof e=="string"?i={screen_name:e}:i=e,i.app_name=i.app_name||n,event("screen_view",i)}},exception=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];event.apply(void 0,["exception"].concat(t))},linker=function(e){config("linker",e)},time=function(e){event("timing_complete",e)},set=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];query.apply(void 0,["set"].concat(t))},refund=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];event.apply(void 0,["refund"].concat(t))},purchase=function(e){event("purchase",e)},customMap=function(e){config({custom_map:e})},api=Object.freeze({__proto__:null,query,config,optOut,optIn,pageview,screenview,exception,linker,time,set,refund,purchase,customMap,event}),attachApi=function(t){t.config.globalProperties.$gtag=api},registerGlobals=function(){if(isBrowser()){var e=getOptions(),t=e.enabled,n=e.globalObjectName,i=e.globalDataLayerName;return window[n]==null&&(window[i]=window[i]||[],window[n]=function(){window[i].push(arguments)}),window[n]("js",new Date),t||optOut(),window[n]}},mergeDefaultParams=function(t){return _objectSpread2({send_page_view:!1},t)},addConfiguration=function(){var e=getOptions(),t=e.config,n=e.includes;query("config",t.id,mergeDefaultParams(t.params)),Array.isArray(n)&&n.forEach(function(i){query("config",i.id,mergeDefaultParams(i.params))})},track=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),i=n.appName,r=n.pageTrackerTemplate,l=n.pageTrackerScreenviewEnabled,u=n.pageTrackerSkipSamePath;if(!(u&&e.path===t.path)){var s=e;if(NumberField_vue_vue_type_style_index_0_lang.isFunction(r)?s=r(e,t):l&&(s=validateScreenviewShape({app_name:i,screen_name:e.name})),l){screenview(s);return}pageview(s)}},isRouteExcluded=function(t){var n=getOptions(),i=n.pageTrackerExcludedRoutes;return i.includes(t.path)||i.includes(t.name)},addRoutesTracker=function(){var e=getOptions(),t=e.onBeforeTrack,n=e.onAfterTrack,i=getRouter();i.isReady().then(function(){NumberField_vue_vue_type_style_index_0_lang.nextTick().then(function(){var r=i.currentRoute;addConfiguration(),!isRouteExcluded(r.value)&&track(r.value)}),i.afterEach(function(r,l){NumberField_vue_vue_type_style_index_0_lang.nextTick().then(function(){isRouteExcluded(r)||(NumberField_vue_vue_type_style_index_0_lang.isFunction(t)&&t(r,l),track(r,l),NumberField_vue_vue_type_style_index_0_lang.isFunction(n)&&n(r,l))})})})},bootstrap=function(){var e=getOptions(),t=e.onReady,n=e.onError,i=e.globalObjectName,r=e.globalDataLayerName,l=e.config,u=e.customResourceURL,s=e.customPreconnectOrigin,d=e.deferScriptLoad,_=e.pageTrackerEnabled,g=e.disableScriptLoad,m=!!(_&&getRouter());if(registerGlobals(),m?addRoutesTracker():addConfiguration(),!g)return load("".concat(u,"?id=").concat(l.id,"&l=").concat(r),{preconnectOrigin:s,defer:d}).then(function(){t&&t(window[i])}).catch(function(p){return n&&n(p),p})},install=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;attachApi(t),setOptions(n),setRouter(i),getOptions().bootstrap&&bootstrap()};const require$$1=_commonjsHelpers.getAugmentedNamespace(NumberField_vue_vue_type_style_index_0_lang.vue_esmBundler),_hoisted_1$2={class:"fresh-booking-phone-input"},_sfc_main$2=NumberField_vue_vue_type_style_index_0_lang.defineComponent({__name:"PhoneField",props:{modelValue:{},label:{},id:{},placeholder:{},icon:{default:"phone-office"},iconColor:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputStyle:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=n.id||NumberField_vue_vue_type_style_index_0_lang.ranId(),r=NumberField_vue_vue_type_style_index_0_lang.ref("+45"),l=NumberField_vue_vue_type_style_index_0_lang.ref("");function u(){t("update:modelValue",`${r.value} ${l.value}`)}return NumberField_vue_vue_type_style_index_0_lang.onMounted(()=>{if(n.modelValue){const s=n.modelValue.split(" ");r.value=s[0],l.value=s[1]}}),(s,d)=>(NumberField_vue_vue_type_style_index_0_lang.openBlock(),NumberField_vue_vue_type_style_index_0_lang.createBlock(NumberField_vue_vue_type_style_index_0_lang.InputField,{label:s.label,id:NumberField_vue_vue_type_style_index_0_lang.unref(i),type:"phone",required:s.required,readonly:s.readonly},{default:NumberField_vue_vue_type_style_index_0_lang.withCtx(()=>[NumberField_vue_vue_type_style_index_0_lang.createBaseVNode("div",_hoisted_1$2,[NumberField_vue_vue_type_style_index_0_lang.createVNode(SelectField_vue_vue_type_style_index_0_lang.TextField,{modelValue:r.value,"onUpdate:modelValue":d[0]||(d[0]=_=>r.value=_),type:"text",id:NumberField_vue_vue_type_style_index_0_lang.unref(NumberField_vue_vue_type_style_index_0_lang.ranId)(),name:"phone-code",autocomplete:"tel-country-code",icon:s.icon,"icon-color":s.iconColor,"icon-type":s.iconType,placeholder:"+45",required:s.required,readonly:s.readonly,"input-style":s.inputStyle,onInput:d[1]||(d[1]=_=>u())},null,8,["modelValue","id","icon","icon-color","icon-type","required","readonly","input-style"]),NumberField_vue_vue_type_style_index_0_lang.createVNode(SelectField_vue_vue_type_style_index_0_lang.TextField,{modelValue:l.value,"onUpdate:modelValue":d[2]||(d[2]=_=>l.value=_),type:"number",name:"phone",autocomplete:"tel-national",id:NumberField_vue_vue_type_style_index_0_lang.unref(i),placeholder:s.placeholder,required:s.required,readonly:s.readonly,"input-style":s.inputStyle,onInput:d[3]||(d[3]=_=>u())},null,8,["modelValue","id","placeholder","required","readonly","input-style"])])]),_:1},8,["label","id","required","readonly"]))}}),PhoneField_vue_vue_type_style_index_0_scoped_5cd094ab_lang="",PhoneField=NumberField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$2,[["__scopeId","data-v-5cd094ab"]]),_hoisted_1$1=["required","type","name","readonly","disabled","value","checked"],_hoisted_2$1=["data-test"],_hoisted_3={key:0},_sfc_main$1=NumberField_vue_vue_type_style_index_0_lang.defineComponent({__name:"Checkbox",props:{modelValue:{type:[String,Boolean,Number]},numeric:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},label:{},price:{},name:{},readonly:{type:Boolean,default:!1},type:{default:"checkbox"},required:{type:Boolean,default:!1},inputStyle:{},val:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e;function i(){n.readonly!==!0&&t("update:modelValue",n.type==="radio"?n.val:n.numeric?n.modelValue?0:1:!n.modelValue)}return(r,l)=>(NumberField_vue_vue_type_style_index_0_lang.openBlock(),NumberField_vue_vue_type_style_index_0_lang.createBlock(NumberField_vue_vue_type_style_index_0_lang.InputField,{required:r.required,type:r.type,readonly:r.readonly},{default:NumberField_vue_vue_type_style_index_0_lang.withCtx(()=>[NumberField_vue_vue_type_style_index_0_lang.createBaseVNode("label",{class:NumberField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-container",{"is-readonly":r.readonly},{"has-label":r.label},r.type==="radio"?"radio":"checkbox"])},[NumberField_vue_vue_type_style_index_0_lang.createBaseVNode("input",NumberField_vue_vue_type_style_index_0_lang.mergeProps(r.$attrs,{required:!!r.required,type:r.type,name:r.name,class:"hidden",readonly:!!r.readonly,disabled:!!r.readonly,value:r.type==="radio"?r.val:r.modelValue,checked:r.type==="radio"?r.val===r.modelValue:!!r.modelValue,onChange:l[0]||(l[0]=u=>i())}),null,16,_hoisted_1$1),NumberField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{class:NumberField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box",{checked:r.type==="radio"?r.val===r.modelValue:!!r.modelValue}]),tabindex:"0",style:NumberField_vue_vue_type_style_index_0_lang.normalizeStyle(r.inputStyle),"data-test":r.name,onKeyup:l[1]||(l[1]=NumberField_vue_vue_type_style_index_0_lang.withKeys(u=>i(),["enter"]))},null,46,_hoisted_2$1),r.label?(NumberField_vue_vue_type_style_index_0_lang.openBlock(),NumberField_vue_vue_type_style_index_0_lang.createElementBlock("div",{key:0,class:NumberField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-label",{"with-price":r.price}])},[NumberField_vue_vue_type_style_index_0_lang.createBaseVNode("span",null,NumberField_vue_vue_type_style_index_0_lang.toDisplayString(r.label),1),r.price?(NumberField_vue_vue_type_style_index_0_lang.openBlock(),NumberField_vue_vue_type_style_index_0_lang.createElementBlock("span",_hoisted_3,NumberField_vue_vue_type_style_index_0_lang.toDisplayString(r.price),1)):NumberField_vue_vue_type_style_index_0_lang.createCommentVNode("",!0)],2)):NumberField_vue_vue_type_style_index_0_lang.createCommentVNode("",!0)],2)]),_:1},8,["required","type","readonly"]))}}),Checkbox_vue_vue_type_style_index_0_scoped_7ef656cb_lang="",Checkbox=NumberField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$1,[["__scopeId","data-v-7ef656cb"]]),_hoisted_1={href:"https://policies.google.com/privacy"},_hoisted_2={href:"https://policies.google.com/terms"},_sfc_main=NumberField_vue_vue_type_style_index_0_lang.defineComponent({__name:"GoogleNotice",setup(e){const{t}=NumberField_vue_vue_type_style_index_0_lang.useI18n();return(n,i)=>(NumberField_vue_vue_type_style_index_0_lang.openBlock(),NumberField_vue_vue_type_style_index_0_lang.createElementBlock("span",null,[NumberField_vue_vue_type_style_index_0_lang.createTextVNode(NumberField_vue_vue_type_style_index_0_lang.toDisplayString(NumberField_vue_vue_type_style_index_0_lang.unref(t)("googleNotice"))+" ",1),NumberField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_1,NumberField_vue_vue_type_style_index_0_lang.toDisplayString(NumberField_vue_vue_type_style_index_0_lang.unref(t)("googlePrivacyPolicy")),1),NumberField_vue_vue_type_style_index_0_lang.createTextVNode(" "+NumberField_vue_vue_type_style_index_0_lang.toDisplayString(NumberField_vue_vue_type_style_index_0_lang.unref(t)("googleAnd"))+" ",1),NumberField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_2,NumberField_vue_vue_type_style_index_0_lang.toDisplayString(NumberField_vue_vue_type_style_index_0_lang.unref(t)("googleTOS")),1),NumberField_vue_vue_type_style_index_0_lang.createTextVNode(" "+NumberField_vue_vue_type_style_index_0_lang.toDisplayString(NumberField_vue_vue_type_style_index_0_lang.unref(t)("googleApply"))+". ",1)]))}});function block0(e){const t=e;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{da:{googleNotice:n=>{const{normalize:i}=n;return i(["Denne side er beskyttet af reCAPTCHA og Google's"])},googlePrivacyPolicy:n=>{const{normalize:i}=n;return i(["Privatlivspolitik"])},googleAnd:n=>{const{normalize:i}=n;return i(["og"])},googleTOS:n=>{const{normalize:i}=n;return i(["Servicevilkår"])},googleApply:n=>{const{normalize:i}=n;return i(["er gældende"])}},en:{googleNotice:n=>{const{normalize:i}=n;return i(["This site is protected by reCAPTCHA and the Google"])},googlePrivacyPolicy:n=>{const{normalize:i}=n;return i(["Privacy Policy"])},googleAnd:n=>{const{normalize:i}=n;return i(["and"])},googleTOS:n=>{const{normalize:i}=n;return i(["Terms of Service"])},googleApply:n=>{const{normalize:i}=n;return i(["apply"])}}}})}typeof block0=="function"&&block0(_sfc_main);var a=Object.defineProperty,c=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(c(e,typeof t!="symbol"?t+"":t,n),n);const namespace="@@vue3-sticky-directive",events=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],batchStyle=(e,t={},n={})=>{for(let i in t)e.style[i]=t[i];for(let i in n)n[i]&&!e.classList.contains(i)?e.classList.add(i):!n[i]&&e.classList.contains(i)&&e.classList.remove(i)};class Sticky{constructor(e,t){o(this,"el"),o(this,"vm"),o(this,"unSubscribers"),o(this,"isPending"),o(this,"state"),o(this,"lastState"),o(this,"options"),o(this,"placeholderEl"),o(this,"containerEl"),this.el=e,this.vm=t,this.unSubscribers=[],this.isPending=!1,this.state={isTopSticky:null,isBottomSticky:null,height:null,width:null,xOffset:null},this.lastState={top:null,bottom:null,sticked:!1};const n=this.getAttribute("sticky-offset")||{},i=this.getAttribute("sticky-side")||"top",r=this.getAttribute("sticky-z-index")||"10",l=this.getAttribute("on-stick")||null;this.options={topOffset:Number(n.top)||0,bottomOffset:Number(n.bottom)||0,shouldTopSticky:i==="top"||i==="both",shouldBottomSticky:i==="bottom"||i==="both",zIndex:r,onStick:l}}doBind(){if(this.unSubscribers.length>0)return;const{el:e,vm:t}=this;t.$nextTick(()=>{this.placeholderEl=document.createElement("div"),this.containerEl=this.getContainerEl(),e.parentElement.insertBefore(this.placeholderEl,e),events.forEach(n=>{const i=this.update.bind(this);this.unSubscribers.push(()=>window.removeEventListener(n,i)),this.unSubscribers.push(()=>this.containerEl.removeEventListener(n,i)),window.addEventListener(n,i,{passive:!0}),this.containerEl.addEventListener(n,i,{passive:!0})})})}doUnbind(){this.unSubscribers.forEach(e=>e()),this.unSubscribers=[],this.resetElement()}update(){this.isPending||(requestAnimationFrame(()=>{this.isPending=!1,this.recomputeState(),this.updateElements()}),this.isPending=!0)}isTopSticky(){if(!this.options.shouldTopSticky)return!1;const e=this.state.placeholderElRect.top,t=this.state.containerElRect.bottom,n=this.options.topOffset,i=this.options.bottomOffset;return e<=n&&t>=i}isBottomSticky(){if(!this.options.shouldBottomSticky)return!1;const e=window.innerHeight-this.state.placeholderElRect.top-this.state.height,t=window.innerHeight-this.state.containerElRect.top,n=this.options.topOffset,i=this.options.bottomOffset;return e<=i&&t>=n}recomputeState(){this.state=Object.assign({},this.state,{height:this.getHeight(),width:this.getWidth(),xOffset:this.getXOffset(),placeholderElRect:this.getPlaceholderElRect(),containerElRect:this.getContainerElRect()}),this.state.isTopSticky=this.isTopSticky(),this.state.isBottomSticky=this.isBottomSticky()}fireEvents(){typeof this.options.onStick=="function"&&(this.lastState.top!==this.state.isTopSticky||this.lastState.bottom!==this.state.isBottomSticky||this.lastState.sticked!==(this.state.isTopSticky||this.state.isBottomSticky))&&(this.lastState={top:this.state.isTopSticky,bottom:this.state.isBottomSticky,sticked:this.state.isBottomSticky||this.state.isTopSticky},this.options.onStick(this.lastState))}updateElements(){const e={paddingTop:0},t={position:"static",top:"auto",bottom:"auto",left:"auto",width:"auto",zIndex:this.options.zIndex},n={"vue-sticky-placeholder":!0},i={"vue-sticky-el":!0,"top-sticky":!1,"bottom-sticky":!1};if(this.state.isTopSticky){t.position="fixed",t.top=this.options.topOffset+"px",t.left=this.state.xOffset+"px",t.width=this.state.width+"px";const r=this.state.containerElRect.bottom-this.state.height-this.options.bottomOffset-this.options.topOffset;r<0&&(t.top=r+this.options.topOffset+"px"),e.paddingTop=this.state.height+"px",i["top-sticky"]=!0}else if(this.state.isBottomSticky){t.position="fixed",t.bottom=this.options.bottomOffset+"px",t.left=this.state.xOffset+"px",t.width=this.state.width+"px";const r=window.innerHeight-this.state.containerElRect.top-this.state.height-this.options.bottomOffset-this.options.topOffset;r<0&&(t.bottom=r+this.options.bottomOffset+"px"),e.paddingTop=this.state.height+"px",i["bottom-sticky"]=!0}else e.paddingTop=0;batchStyle(this.el,t,i),batchStyle(this.placeholderEl,e,n),this.fireEvents()}resetElement(){["position","top","bottom","left","width","zIndex"].forEach(t=>{this.el.style.removeProperty(t)}),this.el.classList.remove("bottom-sticky","top-sticky");const{parentElement:e}=this.placeholderEl;e&&e.removeChild(this.placeholderEl)}getContainerEl(){let e=this.el.parentElement;for(;e&&e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1;){if(e.hasAttribute("sticky-container"))return e;e=e.parentElement}return this.el.parentElement}getXOffset(){return this.placeholderEl.getBoundingClientRect().left}getWidth(){return this.placeholderEl.getBoundingClientRect().width}getHeight(){return this.el.getBoundingClientRect().height}getPlaceholderElRect(){return this.placeholderEl.getBoundingClientRect()}getContainerElRect(){return this.containerEl.getBoundingClientRect()}getAttribute(name){const expr=this.el.getAttribute(name);let result;if(expr)if(this.vm[expr])result=this.vm[expr];else try{result=eval(`(${expr})`)}catch(e){result=expr}return result}}const Sticky$1={mounted(e,t){(typeof t.value>"u"||t.value)&&(e[namespace]=new Sticky(e,t.instance),e[namespace].doBind())},unmounted(e){e[namespace]&&(e[namespace].doUnbind(),e[namespace]=void 0)},updated(e,t){typeof t.value>"u"||t.value?(e[namespace]||(e[namespace]=new Sticky(e,t.instance)),e[namespace].doBind()):e[namespace]&&e[namespace].doUnbind()}},StickyPlugin={install(e){e.directive("Sticky",Sticky$1)}};exports.Checkbox=Checkbox;exports.PhoneField=PhoneField;exports.StickyPlugin=StickyPlugin;exports._sfc_main=_sfc_main;exports.event=event;exports.install=install;exports.require$$1=require$$1;exports.setOptions=setOptions;
@@ -0,0 +1,244 @@
1
+ declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
2
+ eventLink: {
3
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
4
+ required: true;
5
+ };
6
+ hotelLink: {
7
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
8
+ required: true;
9
+ };
10
+ accessToken: {
11
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
12
+ required: true;
13
+ };
14
+ accentColor: {
15
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
16
+ required: true;
17
+ };
18
+ buttonBackground: {
19
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
20
+ required: true;
21
+ };
22
+ buttonBorder: {
23
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
24
+ required: true;
25
+ };
26
+ buttonBorderRadius: {
27
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
28
+ required: true;
29
+ };
30
+ buttonColor: {
31
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
32
+ required: true;
33
+ };
34
+ buttonFontFamily: {
35
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
36
+ required: true;
37
+ };
38
+ buttonFontSize: {
39
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
40
+ required: true;
41
+ };
42
+ buttonFontWeight: {
43
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
44
+ required: true;
45
+ };
46
+ buttonTextTransform: {
47
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
48
+ required: true;
49
+ };
50
+ fontColor: {
51
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
52
+ required: true;
53
+ };
54
+ fontFamily: {
55
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
56
+ required: true;
57
+ };
58
+ fontSize: {
59
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
60
+ required: true;
61
+ };
62
+ headerColor: {
63
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
64
+ required: true;
65
+ };
66
+ headerFontSize: {
67
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
68
+ required: true;
69
+ };
70
+ inputBorder: {
71
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
72
+ required: true;
73
+ };
74
+ inputBackground: {
75
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
76
+ required: true;
77
+ };
78
+ inputBorderRadius: {
79
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
80
+ required: true;
81
+ };
82
+ inputBorderWidth: {
83
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
84
+ required: true;
85
+ };
86
+ inputFontColor: {
87
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
88
+ required: true;
89
+ };
90
+ labelFontWeight: {
91
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
92
+ required: true;
93
+ };
94
+ labelFontSize: {
95
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
96
+ required: true;
97
+ };
98
+ labelPadding: {
99
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
100
+ required: true;
101
+ };
102
+ panelBackground: {
103
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
104
+ required: true;
105
+ };
106
+ panelBorder: {
107
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
108
+ required: true;
109
+ };
110
+ panelBorderRadius: {
111
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
112
+ required: true;
113
+ };
114
+ panelPadding: {
115
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
116
+ required: true;
117
+ };
118
+ panelOuterPadding: {
119
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
120
+ required: true;
121
+ };
122
+ }, {}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
123
+ eventLink: {
124
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
125
+ required: true;
126
+ };
127
+ hotelLink: {
128
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
129
+ required: true;
130
+ };
131
+ accessToken: {
132
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
133
+ required: true;
134
+ };
135
+ accentColor: {
136
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
137
+ required: true;
138
+ };
139
+ buttonBackground: {
140
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
141
+ required: true;
142
+ };
143
+ buttonBorder: {
144
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
145
+ required: true;
146
+ };
147
+ buttonBorderRadius: {
148
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
149
+ required: true;
150
+ };
151
+ buttonColor: {
152
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
153
+ required: true;
154
+ };
155
+ buttonFontFamily: {
156
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
157
+ required: true;
158
+ };
159
+ buttonFontSize: {
160
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
161
+ required: true;
162
+ };
163
+ buttonFontWeight: {
164
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
165
+ required: true;
166
+ };
167
+ buttonTextTransform: {
168
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
169
+ required: true;
170
+ };
171
+ fontColor: {
172
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
173
+ required: true;
174
+ };
175
+ fontFamily: {
176
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
177
+ required: true;
178
+ };
179
+ fontSize: {
180
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
181
+ required: true;
182
+ };
183
+ headerColor: {
184
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
185
+ required: true;
186
+ };
187
+ headerFontSize: {
188
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
189
+ required: true;
190
+ };
191
+ inputBorder: {
192
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
193
+ required: true;
194
+ };
195
+ inputBackground: {
196
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
197
+ required: true;
198
+ };
199
+ inputBorderRadius: {
200
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
201
+ required: true;
202
+ };
203
+ inputBorderWidth: {
204
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
205
+ required: true;
206
+ };
207
+ inputFontColor: {
208
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
209
+ required: true;
210
+ };
211
+ labelFontWeight: {
212
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
213
+ required: true;
214
+ };
215
+ labelFontSize: {
216
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
217
+ required: true;
218
+ };
219
+ labelPadding: {
220
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
221
+ required: true;
222
+ };
223
+ panelBackground: {
224
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
225
+ required: true;
226
+ };
227
+ panelBorder: {
228
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
229
+ required: true;
230
+ };
231
+ panelBorderRadius: {
232
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
233
+ required: true;
234
+ };
235
+ panelPadding: {
236
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
237
+ required: true;
238
+ };
239
+ panelOuterPadding: {
240
+ type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
241
+ required: true;
242
+ };
243
+ }>>, {}, {}>;
244
+ export default _default;