@konnectio/core 4.0.7 → 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 (164) hide show
  1. package/dist/{ActionField-5ecfc9dc.js → ActionField-68f65af4.js} +3 -3
  2. package/dist/ActionField-68f65af4.js.br +0 -0
  3. package/dist/{ActionField-ae9b1adf.cjs → ActionField-ab9c01ab.cjs} +1 -1
  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-9e219e9b.js → DateField.vue_vue_type_style_index_0_lang-87ddfed8.js} +3201 -2937
  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-c5e4aaad.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-528ca68c.cjs +54 -0
  20. package/dist/TextField-8f6e5ef5.js +9345 -0
  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/{_commonjsHelpers-aeeeeb92.js → _commonjsHelpers-c5d32002.js} +2 -2
  29. package/dist/assets/typescript/mixins.d.ts +1 -4
  30. package/dist/availability.cjs +2 -0
  31. package/dist/availability.js +188 -0
  32. package/dist/availability.js.br +0 -0
  33. package/dist/components/ErrorMessage.vue.d.ts +5 -0
  34. package/dist/components/ErrorMessage.vue.d.ts.map +1 -0
  35. package/dist/components/Icon.vue.d.ts +1 -1
  36. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +1 -1
  37. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
  38. package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -0
  39. package/dist/components/forms/HotelReservationForm.vue.d.ts.map +1 -0
  40. package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
  41. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  42. package/dist/components/forms/_.vue.d.ts +4 -0
  43. package/dist/components/forms/_.vue.d.ts.map +1 -0
  44. package/dist/components/inputs/InputField.vue.d.ts +1 -1
  45. package/dist/components/inputs/grouped/CountryField.vue.d.ts +1 -1
  46. package/dist/components/listings/Base.vue.d.ts +1 -1
  47. package/dist/components/listings/Event.vue.d.ts +1 -1
  48. package/dist/components/listings/{Test.vue.d.ts → Hotel.vue.d.ts} +3 -3
  49. package/dist/components/listings/Hotel.vue.d.ts.map +1 -0
  50. package/dist/components/modals/Info.vue.d.ts +1 -1
  51. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +5 -0
  52. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +1 -0
  53. package/dist/components/{side-panels/Base.vue.d.ts → skeletons/Field.vue.d.ts} +3 -3
  54. package/dist/components/skeletons/Field.vue.d.ts.map +1 -0
  55. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +5 -0
  56. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +1 -0
  57. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +5 -0
  58. package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +1 -0
  59. package/dist/components/skeletons/Listing.vue.d.ts +5 -0
  60. package/dist/components/skeletons/Listing.vue.d.ts.map +1 -0
  61. package/dist/components/skeletons/Sidebar.vue.d.ts +5 -0
  62. package/dist/components/skeletons/Sidebar.vue.d.ts.map +1 -0
  63. package/dist/components/skeletons/_.vue.d.ts +5 -0
  64. package/dist/components/skeletons/_.vue.d.ts.map +1 -0
  65. package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
  66. package/dist/components/views/TermsOfService.vue.d.ts +1 -1
  67. package/dist/components/views/ThankYou.vue.d.ts +1 -1
  68. package/dist/entries/availability.d.ts +3 -2
  69. package/dist/entries/gift-card.d.ts +1 -2
  70. package/dist/entries/hotel.d.ts +0 -2
  71. package/dist/event-4662e27c.cjs +1 -0
  72. package/dist/{event-a70cffeb.js → event-e08d0178.js} +101 -101
  73. package/dist/event-e08d0178.js.br +0 -0
  74. package/dist/event.cjs +1 -0
  75. package/dist/event.js +563 -0
  76. package/dist/event.js.br +0 -0
  77. package/dist/gift-card-validation.cjs +1 -0
  78. package/dist/gift-card-validation.js +116 -0
  79. package/dist/gift-card-validation.js.br +0 -0
  80. package/dist/gift-card.cjs +1 -0
  81. package/dist/gift-card.d.ts +0 -2
  82. package/dist/gift-card.js +502 -0
  83. package/dist/gift-card.js.br +0 -0
  84. package/dist/hotel.cjs +19 -0
  85. package/dist/hotel.d.ts +0 -2
  86. package/dist/hotel.js +2967 -0
  87. package/dist/hotel.js.br +0 -0
  88. package/dist/index-a46a0876.cjs +1 -0
  89. package/dist/{index-00262c16.js → index-c28f52d1.js} +32 -16
  90. package/dist/index-c28f52d1.js.br +0 -0
  91. package/dist/layouts/Availability.vue.d.ts +20 -242
  92. package/dist/layouts/Event.vue.d.ts +16 -242
  93. package/dist/layouts/GiftCard.vue.d.ts +31 -251
  94. package/dist/layouts/GiftCardValidation.vue.d.ts +16 -226
  95. package/dist/layouts/Hotel.vue.d.ts +36 -276
  96. package/dist/layouts/_.vue.d.ts +31 -20
  97. package/dist/polyfill.cjs +4 -0
  98. package/dist/polyfill.js +6826 -0
  99. package/dist/polyfill.js.br +0 -0
  100. package/dist/store/availability.d.ts +5 -2
  101. package/dist/store/giftCard.d.ts +3 -3
  102. package/dist/store/hotel.d.ts +318 -204
  103. package/dist/store/tracking.d.ts +6 -14
  104. package/dist/store/utilities.d.ts +87 -81
  105. package/dist/style.css +1 -1
  106. package/dist/style.css.br +0 -0
  107. package/dist/types/index.d.ts +44 -8
  108. package/package.json +30 -40
  109. package/dist/ActionField-5ecfc9dc.js.br +0 -0
  110. package/dist/HotelAvailabilityForm-0cd1abda.cjs +0 -1
  111. package/dist/HotelAvailabilityForm-a7b6f17e.js +0 -97
  112. package/dist/HotelAvailabilityForm-a7b6f17e.js.br +0 -0
  113. package/dist/NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs +0 -793
  114. package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js +0 -16403
  115. package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js.br +0 -0
  116. package/dist/ReCaptchaVuePlugin-05b8ec39.js +0 -376
  117. package/dist/ReCaptchaVuePlugin-05b8ec39.js.br +0 -0
  118. package/dist/ReCaptchaVuePlugin-08ee5d62.cjs +0 -1
  119. package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js +0 -10107
  120. package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js.br +0 -0
  121. package/dist/SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs +0 -56
  122. package/dist/ThankYou-1866d8db.js +0 -8547
  123. package/dist/ThankYou-1866d8db.js.br +0 -0
  124. package/dist/ThankYou-5741bcb6.cjs +0 -15
  125. package/dist/applyGiftCard-c5e4aaad.js.br +0 -0
  126. package/dist/applyGiftCard-d9ab3dcf.cjs +0 -1
  127. package/dist/availability.cjs.js +0 -1
  128. package/dist/availability.cjs.js.br +0 -0
  129. package/dist/availability.es.js +0 -183
  130. package/dist/availability.es.js.br +0 -0
  131. package/dist/components/LoadingBlock.vue.d.ts +0 -4
  132. package/dist/components/LoadingBlock.vue.d.ts.map +0 -1
  133. package/dist/components/listings/Test.vue.d.ts.map +0 -1
  134. package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
  135. package/dist/components/side-panels/Hotel.vue.d.ts +0 -4
  136. package/dist/components/side-panels/Hotel.vue.d.ts.map +0 -1
  137. package/dist/event-39706438.cjs +0 -1
  138. package/dist/event-a70cffeb.js.br +0 -0
  139. package/dist/event.cjs.js +0 -1
  140. package/dist/event.cjs.js.br +0 -0
  141. package/dist/event.es.js +0 -645
  142. package/dist/event.es.js.br +0 -0
  143. package/dist/gift-card-validation.cjs.js +0 -1
  144. package/dist/gift-card-validation.cjs.js.br +0 -0
  145. package/dist/gift-card-validation.es.js +0 -170
  146. package/dist/gift-card-validation.es.js.br +0 -0
  147. package/dist/gift-card.cjs.js +0 -1
  148. package/dist/gift-card.cjs.js.br +0 -0
  149. package/dist/gift-card.es.js +0 -584
  150. package/dist/gift-card.es.js.br +0 -0
  151. package/dist/hotel.cjs.js +0 -19
  152. package/dist/hotel.cjs.js.br +0 -0
  153. package/dist/hotel.es.js +0 -2394
  154. package/dist/hotel.es.js.br +0 -0
  155. package/dist/index-00262c16.js.br +0 -0
  156. package/dist/index-58f3b0cc.cjs +0 -1
  157. package/dist/payment-9e219e9b.js.br +0 -0
  158. package/dist/payment-fbffaa6d.cjs +0 -2
  159. package/dist/polyfill.cjs.js +0 -4
  160. package/dist/polyfill.cjs.js.br +0 -0
  161. package/dist/polyfill.es.js +0 -6764
  162. package/dist/polyfill.es.js.br +0 -0
  163. /package/dist/{navigation.cjs.js → navigation.cjs} +0 -0
  164. /package/dist/{navigation.es.js → navigation.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { h as f, j as c, c as m, k as d, l as i, w as V, x as v, n as t, m as g, C as q, I as k, _ as B } from "./NumberField.vue_vue_type_style_index_0_lang-ab747739.js";
2
- import { _ as I, T as C } from "./SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js";
3
- import { _ as F } from "./applyGiftCard-c5e4aaad.js";
1
+ import { h as f, j as c, c as m, k as d, l as i, w as V, x as v, n as t, m as g, C as q, I as k, _ as B } from "./SelectField.vue_vue_type_style_index_0_lang-c973d794.js";
2
+ import { _ as I, T as C } from "./TextField-8f6e5ef5.js";
3
+ import { _ as F } from "./NumberField.vue_vue_type_script_setup_true_lang-a32b2a11.js";
4
4
  const A = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ f({
5
5
  __name: "ActionField",
6
6
  props: {
Binary file
@@ -1 +1 @@
1
- "use strict";const l=require("./NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs"),s=require("./SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs"),m=require("./applyGiftCard-d9ab3dcf.cjs"),y={class:"fresh-booking-action-field"},b=l.defineComponent({__name:"ActionField",props:{modelValue:{},label:{},buttonLabel:{},buttonIcon:{},buttonIconColor:{},buttonDisabled:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},name:{},id:{},type:{default:"text"},placeholder:{},icon:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},data:{},action:{},minValue:{},maxValue:{},isLoading:{type:Boolean,default:!1}},emits:["update:modelValue","action"],setup(p,{emit:i}){const t=p,n=t.id||l.ranId();function u(e){i("update:modelValue",e)}const d=l.computed({get:()=>t.modelValue,set:e=>u(e)}),r=l.computed({get:()=>t.modelValue,set:e=>u(e)});function c(){i("action")}return(e,o)=>(l.openBlock(),l.createBlock(l.InputField,{label:e.label,id:l.unref(n),icon:e.icon,"icon-type":e.iconType,required:e.required,type:e.type,readonly:e.readonly},{default:l.withCtx(()=>[l.createBaseVNode("div",y,[e.type==="dropdown"&&e.data?(l.openBlock(),l.createBlock(s._sfc_main,{key:0,modelValue:d.value,"onUpdate:modelValue":o[0]||(o[0]=a=>d.value=a),id:l.unref(n),options:e.data,name:e.name,required:e.required,placeholder:e.placeholder},null,8,["modelValue","id","options","name","required","placeholder"])):e.type==="number"?(l.openBlock(),l.createBlock(m._sfc_main,{key:1,modelValue:r.value,"onUpdate:modelValue":o[1]||(o[1]=a=>r.value=a),id:l.unref(n),"min-value":e.minValue,"max-value":e.maxValue},null,8,["modelValue","id","min-value","max-value"])):(l.openBlock(),l.createBlock(s.TextField,{key:2,modelValue:d.value,"onUpdate:modelValue":o[2]||(o[2]=a=>d.value=a),id:l.unref(n),name:e.name,required:e.required,placeholder:e.placeholder},null,8,["modelValue","id","name","required","placeholder"])),l.createVNode(l.Clickable,{"data-test":`${e.name}Submit`,icon:e.buttonIcon,label:e.buttonLabel,"icon-color":e.buttonIconColor,styling:e.action,type:"button","is-loading":e.isLoading,disabled:e.buttonDisabled,secondary:e.secondary,onClickEvent:o[3]||(o[3]=a=>c())},null,8,["data-test","icon","label","icon-color","styling","is-loading","disabled","secondary"])])]),_:1},8,["label","id","icon","icon-type","required","type","readonly"]))}});const f=l._export_sfc(b,[["__scopeId","data-v-07d4466b"]]);exports.ActionField=f;
1
+ "use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-2bf82818.cjs"),s=require("./TextField-528ca68c.cjs"),m=require("./NumberField.vue_vue_type_script_setup_true_lang-a549c70e.cjs"),y={class:"fresh-booking-action-field"},b=l.defineComponent({__name:"ActionField",props:{modelValue:{},label:{},buttonLabel:{},buttonIcon:{},buttonIconColor:{},buttonDisabled:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},name:{},id:{},type:{default:"text"},placeholder:{},icon:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},data:{},action:{},minValue:{},maxValue:{},isLoading:{type:Boolean,default:!1}},emits:["update:modelValue","action"],setup(p,{emit:i}){const t=p,n=t.id||l.ranId();function u(e){i("update:modelValue",e)}const d=l.computed({get:()=>t.modelValue,set:e=>u(e)}),r=l.computed({get:()=>t.modelValue,set:e=>u(e)});function c(){i("action")}return(e,o)=>(l.openBlock(),l.createBlock(l.InputField,{label:e.label,id:l.unref(n),icon:e.icon,"icon-type":e.iconType,required:e.required,type:e.type,readonly:e.readonly},{default:l.withCtx(()=>[l.createBaseVNode("div",y,[e.type==="dropdown"&&e.data?(l.openBlock(),l.createBlock(s._sfc_main,{key:0,modelValue:d.value,"onUpdate:modelValue":o[0]||(o[0]=a=>d.value=a),id:l.unref(n),options:e.data,name:e.name,required:e.required,placeholder:e.placeholder},null,8,["modelValue","id","options","name","required","placeholder"])):e.type==="number"?(l.openBlock(),l.createBlock(m._sfc_main,{key:1,modelValue:r.value,"onUpdate:modelValue":o[1]||(o[1]=a=>r.value=a),id:l.unref(n),"min-value":e.minValue,"max-value":e.maxValue},null,8,["modelValue","id","min-value","max-value"])):(l.openBlock(),l.createBlock(s.TextField,{key:2,modelValue:d.value,"onUpdate:modelValue":o[2]||(o[2]=a=>d.value=a),id:l.unref(n),name:e.name,required:e.required,placeholder:e.placeholder},null,8,["modelValue","id","name","required","placeholder"])),l.createVNode(l.Clickable,{"data-test":`${e.name}Submit`,icon:e.buttonIcon,label:e.buttonLabel,"icon-color":e.buttonIconColor,styling:e.action,type:"button","is-loading":e.isLoading,disabled:e.buttonDisabled,secondary:e.secondary,onClickEvent:o[3]||(o[3]=a=>c())},null,8,["data-test","icon","label","icon-color","styling","is-loading","disabled","secondary"])])]),_:1},8,["label","id","icon","icon-type","required","type","readonly"]))}});const f=l._export_sfc(b,[["__scopeId","data-v-07d4466b"]]);exports.ActionField=f;
@@ -0,0 +1,382 @@
1
+ import { h as E, s as R, a as M, k as v, q as k, ad as q, y as Y, r as J, c as L, $ as j, o as W, l as O, w as X, x as V, t as w, m as f, n as s, A as P, C as Z, v as B, _ as U } from "./SelectField.vue_vue_type_style_index_0_lang-c973d794.js";
2
+ import { u as N, a as F, _ as ee } from "./DateField.vue_vue_type_style_index_0_lang-87ddfed8.js";
3
+ import { _ as H } from "./NumberField.vue_vue_type_script_setup_true_lang-a32b2a11.js";
4
+ import { c as x } from "./_commonjsHelpers-c5d32002.js";
5
+ import { E as G } from "./_-734c9d50.js";
6
+ import { F as D } from "./Field-b76d82cb.js";
7
+ var K = {}, C = {}, S = {}, te = x && x.__awaiter || function(e, n, t, i) {
8
+ function r(a) {
9
+ return a instanceof t ? a : new t(function(o) {
10
+ o(a);
11
+ });
12
+ }
13
+ return new (t || (t = Promise))(function(a, o) {
14
+ function c(u) {
15
+ try {
16
+ l(i.next(u));
17
+ } catch (y) {
18
+ o(y);
19
+ }
20
+ }
21
+ function d(u) {
22
+ try {
23
+ l(i.throw(u));
24
+ } catch (y) {
25
+ o(y);
26
+ }
27
+ }
28
+ function l(u) {
29
+ u.done ? a(u.value) : r(u.value).then(c, d);
30
+ }
31
+ l((i = i.apply(e, n || [])).next());
32
+ });
33
+ }, ae = x && x.__generator || function(e, n) {
34
+ var t = { label: 0, sent: function() {
35
+ if (a[0] & 1)
36
+ throw a[1];
37
+ return a[1];
38
+ }, trys: [], ops: [] }, i, r, a, o;
39
+ return o = { next: c(0), throw: c(1), return: c(2) }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
40
+ return this;
41
+ }), o;
42
+ function c(l) {
43
+ return function(u) {
44
+ return d([l, u]);
45
+ };
46
+ }
47
+ function d(l) {
48
+ if (i)
49
+ throw new TypeError("Generator is already executing.");
50
+ for (; t; )
51
+ try {
52
+ if (i = 1, r && (a = l[0] & 2 ? r.return : l[0] ? r.throw || ((a = r.return) && a.call(r), 0) : r.next) && !(a = a.call(r, l[1])).done)
53
+ return a;
54
+ switch (r = 0, a && (l = [l[0] & 2, a.value]), l[0]) {
55
+ case 0:
56
+ case 1:
57
+ a = l;
58
+ break;
59
+ case 4:
60
+ return t.label++, { value: l[1], done: !1 };
61
+ case 5:
62
+ t.label++, r = l[1], l = [0];
63
+ continue;
64
+ case 7:
65
+ l = t.ops.pop(), t.trys.pop();
66
+ continue;
67
+ default:
68
+ if (a = t.trys, !(a = a.length > 0 && a[a.length - 1]) && (l[0] === 6 || l[0] === 2)) {
69
+ t = 0;
70
+ continue;
71
+ }
72
+ if (l[0] === 3 && (!a || l[1] > a[0] && l[1] < a[3])) {
73
+ t.label = l[1];
74
+ break;
75
+ }
76
+ if (l[0] === 6 && t.label < a[1]) {
77
+ t.label = a[1], a = l;
78
+ break;
79
+ }
80
+ if (a && t.label < a[2]) {
81
+ t.label = a[2], t.ops.push(l);
82
+ break;
83
+ }
84
+ a[2] && t.ops.pop(), t.trys.pop();
85
+ continue;
86
+ }
87
+ l = n.call(e, t);
88
+ } catch (u) {
89
+ l = [6, u], r = 0;
90
+ } finally {
91
+ i = a = 0;
92
+ }
93
+ if (l[0] & 5)
94
+ throw l[1];
95
+ return { value: l[0] ? l[1] : void 0, done: !0 };
96
+ }
97
+ };
98
+ Object.defineProperty(S, "__esModule", { value: !0 });
99
+ S.ReCaptchaInstance = void 0;
100
+ var ne = function() {
101
+ function e(n, t, i) {
102
+ this.siteKey = n, this.recaptchaID = t, this.recaptcha = i, this.styleContainer = null;
103
+ }
104
+ return e.prototype.execute = function(n) {
105
+ return te(this, void 0, void 0, function() {
106
+ return ae(this, function(t) {
107
+ return [2, this.recaptcha.enterprise ? this.recaptcha.enterprise.execute(this.recaptchaID, { action: n }) : this.recaptcha.execute(this.recaptchaID, { action: n })];
108
+ });
109
+ });
110
+ }, e.prototype.getSiteKey = function() {
111
+ return this.siteKey;
112
+ }, e.prototype.hideBadge = function() {
113
+ this.styleContainer === null && (this.styleContainer = document.createElement("style"), this.styleContainer.innerHTML = ".grecaptcha-badge{visibility:hidden !important;}", document.head.appendChild(this.styleContainer));
114
+ }, e.prototype.showBadge = function() {
115
+ this.styleContainer !== null && (document.head.removeChild(this.styleContainer), this.styleContainer = null);
116
+ }, e;
117
+ }();
118
+ S.ReCaptchaInstance = ne;
119
+ Object.defineProperty(C, "__esModule", { value: !0 });
120
+ C.getInstance = C.load = void 0;
121
+ var ie = S, b;
122
+ (function(e) {
123
+ e[e.NOT_LOADED = 0] = "NOT_LOADED", e[e.LOADING = 1] = "LOADING", e[e.LOADED = 2] = "LOADED";
124
+ })(b || (b = {}));
125
+ var z = function() {
126
+ function e() {
127
+ }
128
+ return e.load = function(n, t) {
129
+ if (t === void 0 && (t = {}), typeof document > "u")
130
+ return Promise.reject(new Error("This is a library for the browser!"));
131
+ if (e.getLoadingState() === b.LOADED)
132
+ return e.instance.getSiteKey() === n ? Promise.resolve(e.instance) : Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));
133
+ if (e.getLoadingState() === b.LOADING)
134
+ return n !== e.instanceSiteKey ? Promise.reject(new Error("reCAPTCHA already loaded with different site key!")) : new Promise(function(r, a) {
135
+ e.successfulLoadingConsumers.push(function(o) {
136
+ return r(o);
137
+ }), e.errorLoadingRunnable.push(function(o) {
138
+ return a(o);
139
+ });
140
+ });
141
+ e.instanceSiteKey = n, e.setLoadingState(b.LOADING);
142
+ var i = new e();
143
+ return new Promise(function(r, a) {
144
+ i.loadScript(n, t.useRecaptchaNet || !1, t.useEnterprise || !1, t.renderParameters ? t.renderParameters : {}, t.customUrl).then(function() {
145
+ e.setLoadingState(b.LOADED);
146
+ var o = i.doExplicitRender(grecaptcha, n, t.explicitRenderParameters ? t.explicitRenderParameters : {}, t.useEnterprise || !1), c = new ie.ReCaptchaInstance(n, o, grecaptcha);
147
+ e.successfulLoadingConsumers.forEach(function(d) {
148
+ return d(c);
149
+ }), e.successfulLoadingConsumers = [], t.autoHideBadge && c.hideBadge(), e.instance = c, r(c);
150
+ }).catch(function(o) {
151
+ e.errorLoadingRunnable.forEach(function(c) {
152
+ return c(o);
153
+ }), e.errorLoadingRunnable = [], a(o);
154
+ });
155
+ });
156
+ }, e.getInstance = function() {
157
+ return e.instance;
158
+ }, e.setLoadingState = function(n) {
159
+ e.loadingState = n;
160
+ }, e.getLoadingState = function() {
161
+ return e.loadingState === null ? b.NOT_LOADED : e.loadingState;
162
+ }, e.prototype.loadScript = function(n, t, i, r, a) {
163
+ var o = this;
164
+ t === void 0 && (t = !1), i === void 0 && (i = !1), r === void 0 && (r = {}), a === void 0 && (a = "");
165
+ var c = document.createElement("script");
166
+ c.setAttribute("recaptcha-v3-script", "");
167
+ var d = "https://www.google.com/recaptcha/api.js";
168
+ t && (i ? d = "https://recaptcha.net/recaptcha/enterprise.js" : d = "https://recaptcha.net/recaptcha/api.js"), i && (d = "https://www.google.com/recaptcha/enterprise.js"), a && (d = a), r.render && (r.render = void 0);
169
+ var l = this.buildQueryString(r);
170
+ return c.src = d + "?render=explicit" + l, new Promise(function(u, y) {
171
+ c.addEventListener("load", o.waitForScriptToLoad(function() {
172
+ u(c);
173
+ }, i), !1), c.onerror = function(A) {
174
+ e.setLoadingState(b.NOT_LOADED), y(A);
175
+ }, document.head.appendChild(c);
176
+ });
177
+ }, e.prototype.buildQueryString = function(n) {
178
+ var t = Object.keys(n);
179
+ return t.length < 1 ? "" : "&" + Object.keys(n).filter(function(i) {
180
+ return !!n[i];
181
+ }).map(function(i) {
182
+ return i + "=" + n[i];
183
+ }).join("&");
184
+ }, e.prototype.waitForScriptToLoad = function(n, t) {
185
+ var i = this;
186
+ return function() {
187
+ window.grecaptcha === void 0 ? setTimeout(function() {
188
+ i.waitForScriptToLoad(n, t);
189
+ }, e.SCRIPT_LOAD_DELAY) : t ? window.grecaptcha.enterprise.ready(function() {
190
+ n();
191
+ }) : window.grecaptcha.ready(function() {
192
+ n();
193
+ });
194
+ };
195
+ }, e.prototype.doExplicitRender = function(n, t, i, r) {
196
+ var a = {
197
+ sitekey: t,
198
+ badge: i.badge,
199
+ size: i.size,
200
+ tabindex: i.tabindex
201
+ };
202
+ return i.container ? r ? n.enterprise.render(i.container, a) : n.render(i.container, a) : r ? n.enterprise.render(a) : n.render(a);
203
+ }, e.loadingState = null, e.instance = null, e.instanceSiteKey = null, e.successfulLoadingConsumers = [], e.errorLoadingRunnable = [], e.SCRIPT_LOAD_DELAY = 25, e;
204
+ }();
205
+ C.load = z.load;
206
+ C.getInstance = z.getInstance;
207
+ (function(e) {
208
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.ReCaptchaInstance = e.getInstance = e.load = void 0;
209
+ var n = C;
210
+ Object.defineProperty(e, "load", { enumerable: !0, get: function() {
211
+ return n.load;
212
+ } }), Object.defineProperty(e, "getInstance", { enumerable: !0, get: function() {
213
+ return n.getInstance;
214
+ } });
215
+ var t = S;
216
+ Object.defineProperty(e, "ReCaptchaInstance", { enumerable: !0, get: function() {
217
+ return t.ReCaptchaInstance;
218
+ } });
219
+ })(K);
220
+ const le = /* @__PURE__ */ E({
221
+ __name: "_",
222
+ emits: ["submit"],
223
+ setup(e, { emit: n }) {
224
+ const {
225
+ recaptchaSiteKey: t
226
+ } = R(M());
227
+ async function i() {
228
+ const a = await (await K.load(t.value)).execute("<action>");
229
+ console.log(a), n("submit");
230
+ }
231
+ return (r, a) => (v(), k("form", { onSubmit: i }, [
232
+ q(r.$slots, "default")
233
+ ], 32));
234
+ }
235
+ }), re = { id: "fresh-booking-availability-date-selection" }, oe = {
236
+ key: 0,
237
+ id: "fresh-booking-availability-guest-selection"
238
+ }, ce = { id: "fresh-booking-availability-confirmation" }, se = /* @__PURE__ */ E({
239
+ __name: "HotelAvailabilityForm",
240
+ props: {
241
+ booking: { type: Boolean, default: !1 },
242
+ link: {}
243
+ },
244
+ setup(e) {
245
+ const n = e, { t } = Y(), {
246
+ adults: i,
247
+ children: r,
248
+ arrivalDate: a,
249
+ departureDate: o,
250
+ location: c,
251
+ isExpired: d
252
+ } = R(N()), { reset: l } = N(), { fetchAvailabilityData: u } = F(), { areListingsLoading: y } = R(F()), {
253
+ firstSelectableDateOffset: A,
254
+ lastSelectableDateOffset: T,
255
+ disableChildSelection: g,
256
+ disableAdultSelection: _
257
+ } = R(M()), I = J([]), pe = L(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (A.value - 1)))), me = L(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), be = L(() => new Date((/* @__PURE__ */ new Date()).setDate(a.value.getDate() + A.value))), ye = L(() => new Date((/* @__PURE__ */ new Date()).setDate(a.value.getDate() + (T.value + 1)))), $ = L(() => !(!_ && i.value === 0));
258
+ function Q() {
259
+ n.booking === !1 ? window.location.replace(n.link) : $.value && u();
260
+ }
261
+ return j(a, (p) => {
262
+ const h = new Date(new Date(p).setDate(new Date(p).getDate() + 1));
263
+ new Date(o.value) < h && (o.value = h);
264
+ }), j(I, (p) => {
265
+ a.value = p[0], o.value = p[1];
266
+ }), W(() => {
267
+ d.value && n.booking && l(), I.value = [a.value, o.value];
268
+ }), (p, h) => (v(), O(le, {
269
+ id: "konnectio-availability-form",
270
+ class: B({ reservation: p.booking }),
271
+ onSubmit: Q
272
+ }, {
273
+ default: X(() => [
274
+ V("ul", {
275
+ id: "konnectio-availability-form-content",
276
+ class: B([
277
+ { "is-not-booking-page": !p.booking },
278
+ { "only-adult-guests": !s(_) && s(g) },
279
+ { "only-child-guests": !s(g) && s(_) },
280
+ { "no-guests": s(_) && s(g) },
281
+ { "all-guests": !s(_) && !s(g) }
282
+ ])
283
+ }, [
284
+ V("li", re, [
285
+ w("", !0),
286
+ f(ee, {
287
+ modelValue: I.value,
288
+ "onUpdate:modelValue": h[1] || (h[1] = (m) => I.value = m),
289
+ label: s(t)("availability.checkInOut"),
290
+ "icon-type": "fas",
291
+ "icon-placement": "label",
292
+ "min-range": 1,
293
+ range: ""
294
+ }, null, 8, ["modelValue", "label"]),
295
+ w("", !0)
296
+ ]),
297
+ !s(_) || !s(g) ? (v(), k("li", oe, [
298
+ s(_) ? w("", !0) : (v(), O(H, {
299
+ key: 0,
300
+ modelValue: s(i),
301
+ "onUpdate:modelValue": h[4] || (h[4] = (m) => P(i) ? i.value = m : null),
302
+ label: s(t)("availability.adults"),
303
+ "icon-type": "fas",
304
+ "icon-placement": "label",
305
+ name: "adults",
306
+ icon: "male"
307
+ }, null, 8, ["modelValue", "label"])),
308
+ s(g) ? w("", !0) : (v(), O(H, {
309
+ key: 1,
310
+ modelValue: s(r),
311
+ "onUpdate:modelValue": h[5] || (h[5] = (m) => P(r) ? r.value = m : null),
312
+ label: s(t)("availability.children"),
313
+ "icon-type": "fas",
314
+ "icon-placement": "label",
315
+ name: "children",
316
+ icon: "child"
317
+ }, null, 8, ["modelValue", "label"]))
318
+ ])) : w("", !0),
319
+ V("li", ce, [
320
+ f(Z, {
321
+ label: s(t)("availability.buttonLabel"),
322
+ disabled: !$.value,
323
+ "is-loading": s(y)
324
+ }, null, 8, ["label", "disabled", "is-loading"])
325
+ ])
326
+ ], 2)
327
+ ]),
328
+ _: 1
329
+ }, 8, ["class"]));
330
+ }
331
+ });
332
+ const Le = /* @__PURE__ */ U(se, [["__scopeId", "data-v-61d87281"]]), ue = { class: "availability-skeleton" }, de = {
333
+ key: 0,
334
+ class: "availability-skeleton-navigation"
335
+ }, fe = {
336
+ key: 1,
337
+ class: "availability-skeleton-hotel"
338
+ }, he = {
339
+ key: 2,
340
+ class: "availability-skeleton-event"
341
+ }, ve = /* @__PURE__ */ E({
342
+ __name: "AvailabilitySkeleton",
343
+ props: {
344
+ view: { default: "hotel" }
345
+ },
346
+ setup(e) {
347
+ return (n, t) => (v(), k("div", ue, [
348
+ n.view === "both" ? (v(), k("div", de, [
349
+ f(G, {
350
+ height: "28px",
351
+ width: "60px",
352
+ "border-radius": "20px"
353
+ }),
354
+ f(G, {
355
+ height: "28px",
356
+ width: "60px",
357
+ "border-radius": "20px"
358
+ })
359
+ ])) : w("", !0),
360
+ n.view !== "event" ? (v(), k("div", fe, [
361
+ f(D, { "with-icon": "" }),
362
+ f(D, { "with-icon": "" }),
363
+ f(D, { "with-icon": "" }),
364
+ f(D, {
365
+ "with-icon": "",
366
+ "no-label": ""
367
+ })
368
+ ])) : (v(), k("div", he, [
369
+ f(D, { "with-icon": "" }),
370
+ f(D, {
371
+ "with-icon": "",
372
+ "no-label": ""
373
+ })
374
+ ]))
375
+ ]));
376
+ }
377
+ });
378
+ const Se = /* @__PURE__ */ U(ve, [["__scopeId", "data-v-c266ccbc"]]);
379
+ export {
380
+ Se as A,
381
+ Le as H
382
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-2bf82818.cjs"),D=require("./DateField.vue_vue_type_style_index_0_lang-b6694990.cjs"),F=require("./NumberField.vue_vue_type_script_setup_true_lang-a549c70e.cjs"),C=require("./_commonjsHelpers-6763f629.cjs"),L=require("./_-3cff5490.cjs"),b=require("./Field-d926807f.cjs");var A={},g={},w={},B=C.commonjsGlobal&&C.commonjsGlobal.__awaiter||function(t,l,n,i){function o(a){return a instanceof n?a:new n(function(c){c(a)})}return new(n||(n=Promise))(function(a,c){function u(s){try{r(i.next(s))}catch(y){c(y)}}function d(s){try{r(i.throw(s))}catch(y){c(y)}}function r(s){s.done?a(s.value):o(s.value).then(u,d)}r((i=i.apply(t,l||[])).next())})},N=C.commonjsGlobal&&C.commonjsGlobal.__generator||function(t,l){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,c;return c={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function u(r){return function(s){return d([r,s])}}function d(r){if(i)throw new TypeError("Generator is already executing.");for(;n;)try{if(i=1,o&&(a=r[0]&2?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[r[0]&2,a.value]),r[0]){case 0:case 1:a=r;break;case 4:return n.label++,{value:r[1],done:!1};case 5:n.label++,o=r[1],r=[0];continue;case 7:r=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1],a=r;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(r);break}a[2]&&n.ops.pop(),n.trys.pop();continue}r=l.call(t,n)}catch(s){r=[6,s],o=0}finally{i=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(w,"__esModule",{value:!0});w.ReCaptchaInstance=void 0;var O=function(){function t(l,n,i){this.siteKey=l,this.recaptchaID=n,this.recaptcha=i,this.styleContainer=null}return t.prototype.execute=function(l){return B(this,void 0,void 0,function(){return N(this,function(n){return[2,this.recaptcha.enterprise?this.recaptcha.enterprise.execute(this.recaptchaID,{action:l}):this.recaptcha.execute(this.recaptchaID,{action:l})]})})},t.prototype.getSiteKey=function(){return this.siteKey},t.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},t.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},t}();w.ReCaptchaInstance=O;Object.defineProperty(g,"__esModule",{value:!0});g.getInstance=g.load=void 0;var E=w,p;(function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"})(p||(p={}));var R=function(){function t(){}return t.load=function(l,n){if(n===void 0&&(n={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(t.getLoadingState()===p.LOADED)return t.instance.getSiteKey()===l?Promise.resolve(t.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(t.getLoadingState()===p.LOADING)return l!==t.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(o,a){t.successfulLoadingConsumers.push(function(c){return o(c)}),t.errorLoadingRunnable.push(function(c){return a(c)})});t.instanceSiteKey=l,t.setLoadingState(p.LOADING);var i=new t;return new Promise(function(o,a){i.loadScript(l,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){t.setLoadingState(p.LOADED);var c=i.doExplicitRender(grecaptcha,l,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),u=new E.ReCaptchaInstance(l,c,grecaptcha);t.successfulLoadingConsumers.forEach(function(d){return d(u)}),t.successfulLoadingConsumers=[],n.autoHideBadge&&u.hideBadge(),t.instance=u,o(u)}).catch(function(c){t.errorLoadingRunnable.forEach(function(u){return u(c)}),t.errorLoadingRunnable=[],a(c)})})},t.getInstance=function(){return t.instance},t.setLoadingState=function(l){t.loadingState=l},t.getLoadingState=function(){return t.loadingState===null?p.NOT_LOADED:t.loadingState},t.prototype.loadScript=function(l,n,i,o,a){var c=this;n===void 0&&(n=!1),i===void 0&&(i=!1),o===void 0&&(o={}),a===void 0&&(a="");var u=document.createElement("script");u.setAttribute("recaptcha-v3-script","");var d="https://www.google.com/recaptcha/api.js";n&&(i?d="https://recaptcha.net/recaptcha/enterprise.js":d="https://recaptcha.net/recaptcha/api.js"),i&&(d="https://www.google.com/recaptcha/enterprise.js"),a&&(d=a),o.render&&(o.render=void 0);var r=this.buildQueryString(o);return u.src=d+"?render=explicit"+r,new Promise(function(s,y){u.addEventListener("load",c.waitForScriptToLoad(function(){s(u)},i),!1),u.onerror=function(k){t.setLoadingState(p.NOT_LOADED),y(k)},document.head.appendChild(u)})},t.prototype.buildQueryString=function(l){var n=Object.keys(l);return n.length<1?"":"&"+Object.keys(l).filter(function(i){return!!l[i]}).map(function(i){return i+"="+l[i]}).join("&")},t.prototype.waitForScriptToLoad=function(l,n){var i=this;return function(){window.grecaptcha===void 0?setTimeout(function(){i.waitForScriptToLoad(l,n)},t.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){l()}):window.grecaptcha.ready(function(){l()})}},t.prototype.doExplicitRender=function(l,n,i,o){var a={sitekey:n,badge:i.badge,size:i.size,tabindex:i.tabindex};return i.container?o?l.enterprise.render(i.container,a):l.render(i.container,a):o?l.enterprise.render(a):l.render(a)},t.loadingState=null,t.instance=null,t.instanceSiteKey=null,t.successfulLoadingConsumers=[],t.errorLoadingRunnable=[],t.SCRIPT_LOAD_DELAY=25,t}();g.load=R.load;g.getInstance=R.getInstance;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ReCaptchaInstance=t.getInstance=t.load=void 0;var l=g;Object.defineProperty(t,"load",{enumerable:!0,get:function(){return l.load}}),Object.defineProperty(t,"getInstance",{enumerable:!0,get:function(){return l.getInstance}});var n=w;Object.defineProperty(t,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})})(A);const T=e.defineComponent({__name:"_",emits:["submit"],setup(t,{emit:l}){const{recaptchaSiteKey:n}=e.storeToRefs(e.useUtilityStore());async function i(){const a=await(await A.load(n.value)).execute("<action>");console.log(a),l("submit")}return(o,a)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:i},[e.renderSlot(o.$slots,"default")],32))}}),j={id:"fresh-booking-availability-date-selection"},P={key:0,id:"fresh-booking-availability-guest-selection"},$={id:"fresh-booking-availability-confirmation"},H=e.defineComponent({__name:"HotelAvailabilityForm",props:{booking:{type:Boolean,default:!1},link:{}},setup(t){const l=t,{t:n}=e.useI18n(),{adults:i,children:o,arrivalDate:a,departureDate:c,location:u,isExpired:d}=e.storeToRefs(D.useAvailabilityStore()),{reset:r}=D.useAvailabilityStore(),{fetchAvailabilityData:s}=D.useHotelStore(),{areListingsLoading:y}=e.storeToRefs(D.useHotelStore()),{firstSelectableDateOffset:k,lastSelectableDateOffset:x,disableChildSelection:m,disableAdultSelection:h}=e.storeToRefs(e.useUtilityStore()),S=e.ref([]),Y=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+(k.value-1)))),J=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+x.value))),W=e.computed(()=>new Date(new Date().setDate(a.value.getDate()+k.value))),X=e.computed(()=>new Date(new Date().setDate(a.value.getDate()+(x.value+1)))),V=e.computed(()=>!(!h&&i.value===0));function I(){l.booking===!1?window.location.replace(l.link):V.value&&s()}return e.watch(a,f=>{const _=new Date(new Date(f).setDate(new Date(f).getDate()+1));new Date(c.value)<_&&(c.value=_)}),e.watch(S,f=>{a.value=f[0],c.value=f[1]}),e.onMounted(()=>{d.value&&l.booking&&r(),S.value=[a.value,c.value]}),(f,_)=>(e.openBlock(),e.createBlock(T,{id:"konnectio-availability-form",class:e.normalizeClass({reservation:f.booking}),onSubmit:I},{default:e.withCtx(()=>[e.createBaseVNode("ul",{id:"konnectio-availability-form-content",class:e.normalizeClass([{"is-not-booking-page":!f.booking},{"only-adult-guests":!e.unref(h)&&e.unref(m)},{"only-child-guests":!e.unref(m)&&e.unref(h)},{"no-guests":e.unref(h)&&e.unref(m)},{"all-guests":!e.unref(h)&&!e.unref(m)}])},[e.createBaseVNode("li",j,[e.createCommentVNode("",!0),e.createVNode(D._sfc_main,{modelValue:S.value,"onUpdate:modelValue":_[1]||(_[1]=v=>S.value=v),label:e.unref(n)("availability.checkInOut"),"icon-type":"fas","icon-placement":"label","min-range":1,range:""},null,8,["modelValue","label"]),e.createCommentVNode("",!0)]),!e.unref(h)||!e.unref(m)?(e.openBlock(),e.createElementBlock("li",P,[e.unref(h)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(F._sfc_main,{key:0,modelValue:e.unref(i),"onUpdate:modelValue":_[4]||(_[4]=v=>e.isRef(i)?i.value=v:null),label:e.unref(n)("availability.adults"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label"])),e.unref(m)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(F._sfc_main,{key:1,modelValue:e.unref(o),"onUpdate:modelValue":_[5]||(_[5]=v=>e.isRef(o)?o.value=v:null),label:e.unref(n)("availability.children"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label"]))])):e.createCommentVNode("",!0),e.createBaseVNode("li",$,[e.createVNode(e.Clickable,{label:e.unref(n)("availability.buttonLabel"),disabled:!V.value,"is-loading":e.unref(y)},null,8,["label","disabled","is-loading"])])],2)]),_:1},8,["class"]))}});const G=e._export_sfc(H,[["__scopeId","data-v-61d87281"]]),q={class:"availability-skeleton"},U={key:0,class:"availability-skeleton-navigation"},M={key:1,class:"availability-skeleton-hotel"},z={key:2,class:"availability-skeleton-event"},K=e.defineComponent({__name:"AvailabilitySkeleton",props:{view:{default:"hotel"}},setup(t){return(l,n)=>(e.openBlock(),e.createElementBlock("div",q,[l.view==="both"?(e.openBlock(),e.createElementBlock("div",U,[e.createVNode(L.Element,{height:"28px",width:"60px","border-radius":"20px"}),e.createVNode(L.Element,{height:"28px",width:"60px","border-radius":"20px"})])):e.createCommentVNode("",!0),l.view!=="event"?(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":"","no-label":""})])):(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":"","no-label":""})]))]))}});const Q=e._export_sfc(K,[["__scopeId","data-v-c266ccbc"]]);exports.AvailabilitySkeleton=Q;exports.HotelAvailabilityForm=G;