@konnectio/core 4.0.52 → 4.0.53

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 (64) hide show
  1. package/dist/{ActionField-4bd0b62c.js → ActionField-a8098e1b.js} +2 -2
  2. package/dist/ActionField-a8098e1b.js.br +0 -0
  3. package/dist/{ActionField-7bfa21a3.cjs → ActionField-c57dc826.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-f4a3aa9d.js → AvailabilitySkeleton-00e9ed20.js} +5 -5
  5. package/dist/AvailabilitySkeleton-00e9ed20.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-7ee2b815.cjs → AvailabilitySkeleton-1689ccd0.cjs} +1 -1
  7. package/dist/{CheckoutWindow-88c61aa9.js → CheckoutWindow-ca95e6f3.js} +1 -1
  8. package/dist/CheckoutWindow-ca95e6f3.js.br +0 -0
  9. package/dist/{CheckoutWindow-1edd3e11.cjs → CheckoutWindow-f9cd7561.cjs} +1 -1
  10. package/dist/{Container-22fc9721.cjs → Container-0b6c4829.cjs} +1 -1
  11. package/dist/{Container-f2af0c1b.js → Container-b2931bf7.js} +1 -1
  12. package/dist/Container-b2931bf7.js.br +0 -0
  13. package/dist/{DateField.vue_vue_type_style_index_0_lang-6268733b.js → DateField.vue_vue_type_style_index_0_lang-20478ecc.js} +1 -1
  14. package/dist/DateField.vue_vue_type_style_index_0_lang-20478ecc.js.br +0 -0
  15. package/dist/{DateField.vue_vue_type_style_index_0_lang-68a02fd2.cjs → DateField.vue_vue_type_style_index_0_lang-47f53da2.cjs} +1 -1
  16. package/dist/{Field-3d735db5.cjs → Field-4d35e324.cjs} +1 -1
  17. package/dist/{Field-8d12a118.js → Field-b0f63dbd.js} +2 -2
  18. package/dist/Field-b0f63dbd.js.br +0 -0
  19. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-72e40888.cjs → NumberField.vue_vue_type_script_setup_true_lang-1a214c17.cjs} +1 -1
  20. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-8805ce66.js → NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js} +1 -1
  21. package/dist/NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js.br +0 -0
  22. package/dist/{SelectField.vue_vue_type_style_index_0_lang-66ac7611.js → SelectField.vue_vue_type_style_index_0_lang-6a191855.js} +8 -8
  23. package/dist/SelectField.vue_vue_type_style_index_0_lang-6a191855.js.br +0 -0
  24. package/dist/{SelectField.vue_vue_type_style_index_0_lang-581db34f.cjs → SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs} +2 -2
  25. package/dist/{ThankYou-c79518b0.cjs → ThankYou-5d34bf4e.cjs} +2 -2
  26. package/dist/{ThankYou-8df7fca1.js → ThankYou-acd605eb.js} +6 -6
  27. package/dist/ThankYou-acd605eb.js.br +0 -0
  28. package/dist/{_-f0eb6d3a.js → _-3d23ad37.js} +1 -1
  29. package/dist/{_-cfd918d7.cjs → _-8f85509a.cjs} +1 -1
  30. package/dist/availability.cjs +1 -1
  31. package/dist/availability.js +8 -8
  32. package/dist/availability.js.br +0 -0
  33. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  34. package/dist/{event-181ae635.cjs → event-05a2242f.cjs} +1 -1
  35. package/dist/{event-4c7c6011.js → event-3389dfd0.js} +7 -7
  36. package/dist/event-3389dfd0.js.br +0 -0
  37. package/dist/event.cjs +1 -1
  38. package/dist/event.js +8 -8
  39. package/dist/event.js.br +0 -0
  40. package/dist/gift-card-validation.cjs +1 -1
  41. package/dist/gift-card-validation.js +4 -4
  42. package/dist/gift-card-validation.js.br +0 -0
  43. package/dist/gift-card.cjs +1 -1
  44. package/dist/gift-card.js +6 -6
  45. package/dist/gift-card.js.br +0 -0
  46. package/dist/hotel.cjs +1 -1
  47. package/dist/hotel.js +10 -10
  48. package/dist/hotel.js.br +0 -0
  49. package/dist/polyfill.cjs +2 -2
  50. package/dist/polyfill.js +1 -1
  51. package/dist/polyfill.js.br +0 -0
  52. package/dist/style.css +1 -1
  53. package/dist/style.css.br +0 -0
  54. package/package.json +1 -1
  55. package/dist/ActionField-4bd0b62c.js.br +0 -0
  56. package/dist/AvailabilitySkeleton-f4a3aa9d.js.br +0 -0
  57. package/dist/CheckoutWindow-88c61aa9.js.br +0 -0
  58. package/dist/Container-f2af0c1b.js.br +0 -0
  59. package/dist/DateField.vue_vue_type_style_index_0_lang-6268733b.js.br +0 -0
  60. package/dist/Field-8d12a118.js.br +0 -0
  61. package/dist/NumberField.vue_vue_type_script_setup_true_lang-8805ce66.js.br +0 -0
  62. package/dist/SelectField.vue_vue_type_style_index_0_lang-66ac7611.js.br +0 -0
  63. package/dist/ThankYou-8df7fca1.js.br +0 -0
  64. package/dist/event-4c7c6011.js.br +0 -0
@@ -1,5 +1,5 @@
1
- import { k as b, l as V, f as m, m as d, n as i, w as v, A as q, B as g, q as t, T as k, p as B, C as I, I as C, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-66ac7611.js";
2
- import { _ as F } from "./NumberField.vue_vue_type_script_setup_true_lang-8805ce66.js";
1
+ import { k as b, l as V, f as m, m as d, n as i, w as v, A as q, B as g, q as t, T as k, p as B, C as I, I as C, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
2
+ import { _ as F } from "./NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js";
3
3
  const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ b({
4
4
  __name: "ActionField",
5
5
  props: {
Binary file
@@ -1 +1 @@
1
- "use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-581db34f.cjs"),m=require("./NumberField.vue_vue_type_script_setup_true_lang-72e40888.cjs"),y={class:"fresh-booking-action-field"},f=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(s,{emit:p}){const i=p,t=s,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(l._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(l.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 b=l._export_sfc(f,[["__scopeId","data-v-ad281c18"]]);exports.ActionField=b;
1
+ "use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs"),m=require("./NumberField.vue_vue_type_script_setup_true_lang-1a214c17.cjs"),y={class:"fresh-booking-action-field"},f=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(s,{emit:p}){const i=p,t=s,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(l._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(l.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 b=l._export_sfc(f,[["__scopeId","data-v-ad281c18"]]);exports.ActionField=b;
@@ -1,8 +1,8 @@
1
- import { k as S, r as z, c as M, m as l, v as u, D as Y, N as Z, F as ee, s as A, aa as B, ab as C, f, a2 as H, o as ae, n as p, w as le, A as $, q as e, p as s, J as g, B as te, x as _, a3 as N, T as E, C as I, y as O, i as ie, _ as J } from "./SelectField.vue_vue_type_style_index_0_lang-66ac7611.js";
2
- import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-6268733b.js";
3
- import { _ as T } from "./NumberField.vue_vue_type_script_setup_true_lang-8805ce66.js";
4
- import { E as q } from "./_-f0eb6d3a.js";
5
- import { F as y } from "./Field-8d12a118.js";
1
+ import { k as S, r as z, c as M, m as l, v as u, D as Y, N as Z, F as ee, s as A, aa as B, ab as C, f, a2 as H, o as ae, n as p, w as le, A as $, q as e, p as s, J as g, B as te, x as _, a3 as N, T as E, C as I, y as O, i as ie, _ as J } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
2
+ import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-20478ecc.js";
3
+ import { _ as T } from "./NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js";
4
+ import { E as q } from "./_-3d23ad37.js";
5
+ import { F as y } from "./Field-b0f63dbd.js";
6
6
  const oe = /* @__PURE__ */ S({
7
7
  __name: "_",
8
8
  props: {
@@ -1 +1 @@
1
- "use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-581db34f.cjs"),E=require("./DateField.vue_vue_type_style_index_0_lang-68a02fd2.cjs"),V=require("./NumberField.vue_vue_type_script_setup_true_lang-72e40888.cjs"),x=require("./_-cfd918d7.cjs"),_=require("./Field-3d735db5.cjs"),B=e.defineComponent({__name:"_",props:{type:{default:"submit"}},emits:["submit"],setup(v,{emit:l}){const n=e.ref(!1),o=l,u=v,{verifyRecaptcha:r}=e.useUtilityStore();function c(){n.value=!0,r({callback:p,type:u.type}).then(()=>n.value=!1)}function p(){o("submit")}return(y,k)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(c,["prevent"])},[e.renderSlot(y.$slots,"default",{isLoading:n.value})],32))}}),U={key:0,class:"konnectio-availability-location"},$={id:"fresh-booking-availability-date-selection"},L={key:1,id:"fresh-booking-availability-guest-selection"},H={id:"fresh-booking-availability-confirmation"},q=e.defineComponent({__name:"HotelAvailabilityForm",props:{booking:{type:Boolean,default:!1},link:{}},setup(v){const{t:l}=e.useI18n(),n=v,{adults:o,children:u,arrivalDate:r,departureDate:c,location:p,isExpired:y}=e.storeToRefs(e.useAvailabilityStore()),{reset:k}=e.useAvailabilityStore(),{fetchAvailabilityData:w}=e.useHotelStore(),{areListingsLoading:F,hotelList:S,hasHotelList:m}=e.storeToRefs(e.useHotelStore()),{firstSelectableDateOffset:g,lastSelectableDateOffset:D,disableChildSelection:d,disableAdultSelection:s}=e.storeToRefs(e.useUtilityStore()),f=e.ref([]),N=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+(g.value-1)))),J=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+D.value))),K=e.computed(()=>new Date(new Date().setDate(r.value.getDate()+g.value))),A=e.computed(()=>new Date(new Date().setDate(r.value.getDate()+(D.value+1)))),b=e.computed(()=>!(!s&&o.value===0)),C=e.computed(()=>typeof n.link!="string");function R(){if(n.booking===!1)if(C.value){const i=e.getUserLanguage();n.link[i]?window.location.replace(n.link[i]):n.link.en?window.location.replace(n.link.en):console.log("Sprog understøttes ikke")}else window.location.replace(n.link);else b.value&&w()}return e.watch(r,i=>{const t=new Date(new Date(i).setDate(new Date(i).getDate()+1));new Date(c.value)<t&&(c.value=t)}),e.watch(f,i=>{r.value=i[0],c.value=i[1]}),e.onMounted(()=>{y.value&&k(),f.value=[r.value,c.value]}),(i,t)=>(e.openBlock(),e.createBlock(B,{id:"konnectio-availability-form",class:e.normalizeClass({reservation:i.booking}),type:"availability",onSubmit:R},{default:e.withCtx(({isLoading:h})=>[e.createBaseVNode("ul",{id:"konnectio-availability-form-content",class:e.normalizeClass([{"is-booking-page":i.booking},{"only-adult-guests":!e.unref(s)&&e.unref(d)},{"only-child-guests":!e.unref(d)&&e.unref(s)},{"no-guests":e.unref(s)&&e.unref(d)},{"all-guests":!e.unref(s)&&!e.unref(d)},{"has-location":e.unref(m)}])},[e.unref(m)?(e.openBlock(),e.createElementBlock("li",U,[e.createVNode(e._sfc_main,{modelValue:e.unref(p),"onUpdate:modelValue":t[0]||(t[0]=a=>e.isRef(p)?p.value=a:null),label:e.unref(l)("general.location"),icon:"location-dot","icon-type":"fas","icon-placement":"label",options:e.unref(S),searchable:!1},null,8,["modelValue","label","options"])])):e.createCommentVNode("",!0),e.createBaseVNode("li",$,[e.createVNode(E._sfc_main,{modelValue:f.value,"onUpdate:modelValue":t[1]||(t[1]=a=>f.value=a),label:e.unref(l)("availability.checkInOut"),"icon-type":"fas","icon-placement":"label","min-range":1,"min-date":N.value,"max-date":A.value,range:""},null,8,["modelValue","label","min-date","max-date"]),e.createCommentVNode("",!0)]),!e.unref(s)||!e.unref(d)?(e.openBlock(),e.createElementBlock("li",L,[e.unref(s)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(m)?(e.openBlock(),e.createBlock(e.TextField,{key:0,modelValue:e.unref(o),"onUpdate:modelValue":t[4]||(t[4]=a=>e.isRef(o)?o.value=a:null),label:e.unref(l)("availability.adults"),description:e.unref(l)("general.adultAgeRange"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label","description"])):(e.openBlock(),e.createBlock(V._sfc_main,{key:1,modelValue:e.unref(o),"onUpdate:modelValue":t[5]||(t[5]=a=>e.isRef(o)?o.value=a:null),label:e.unref(l)("availability.adults"),description:e.unref(l)("general.adultAgeRange"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label","description"]))],64)),e.unref(d)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(m)?(e.openBlock(),e.createBlock(e.TextField,{key:0,modelValue:e.unref(u),"onUpdate:modelValue":t[6]||(t[6]=a=>e.isRef(u)?u.value=a:null),label:e.unref(l)("availability.children"),description:e.unref(l)("general.childAgeRange"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label","description"])):(e.openBlock(),e.createBlock(V._sfc_main,{key:1,modelValue:e.unref(u),"onUpdate:modelValue":t[7]||(t[7]=a=>e.isRef(u)?u.value=a:null),label:e.unref(l)("availability.children"),description:e.unref(l)("general.childAgeRange"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label","description"]))],64))])):e.createCommentVNode("",!0),e.createBaseVNode("li",H,[i.booking?(e.openBlock(),e.createBlock(e.Clickable,{key:0,type:"submit",icon:"search","icon-type":"fas",disabled:!b.value,"is-loading":e.unref(F)||h},null,8,["disabled","is-loading"])):(e.openBlock(),e.createBlock(e.Clickable,{key:1,type:"submit",label:e.unref(l)("availability.buttonLabel"),disabled:!b.value,"is-loading":h},null,8,["label","disabled","is-loading"]))])],2)]),_:1},8,["class"]))}});const T=e._export_sfc(q,[["__scopeId","data-v-a901e79d"]]),I={class:"availability-skeleton"},z={key:0,class:"availability-skeleton-navigation"},O={key:1,class:"availability-skeleton-hotel"},M={key:2,class:"availability-skeleton-event"},j=e.defineComponent({__name:"AvailabilitySkeleton",props:{view:{default:"hotel"}},setup(v){return(l,n)=>(e.openBlock(),e.createElementBlock("div",I,[l.view==="both"?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(x.Element,{height:"28px",width:"60px","border-radius":"20px"}),e.createVNode(x.Element,{height:"28px",width:"60px","border-radius":"20px"})])):e.createCommentVNode("",!0),l.view!=="event"?(e.openBlock(),e.createElementBlock("div",O,[e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":"","no-label":""})])):(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":"","no-label":""})]))]))}});const G=e._export_sfc(j,[["__scopeId","data-v-d044752e"]]);exports.AvailabilitySkeleton=G;exports.HotelAvailabilityForm=T;exports._sfc_main=B;
1
+ "use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs"),E=require("./DateField.vue_vue_type_style_index_0_lang-47f53da2.cjs"),V=require("./NumberField.vue_vue_type_script_setup_true_lang-1a214c17.cjs"),x=require("./_-8f85509a.cjs"),_=require("./Field-4d35e324.cjs"),B=e.defineComponent({__name:"_",props:{type:{default:"submit"}},emits:["submit"],setup(v,{emit:l}){const n=e.ref(!1),o=l,u=v,{verifyRecaptcha:r}=e.useUtilityStore();function c(){n.value=!0,r({callback:p,type:u.type}).then(()=>n.value=!1)}function p(){o("submit")}return(y,k)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(c,["prevent"])},[e.renderSlot(y.$slots,"default",{isLoading:n.value})],32))}}),U={key:0,class:"konnectio-availability-location"},$={id:"fresh-booking-availability-date-selection"},L={key:1,id:"fresh-booking-availability-guest-selection"},H={id:"fresh-booking-availability-confirmation"},q=e.defineComponent({__name:"HotelAvailabilityForm",props:{booking:{type:Boolean,default:!1},link:{}},setup(v){const{t:l}=e.useI18n(),n=v,{adults:o,children:u,arrivalDate:r,departureDate:c,location:p,isExpired:y}=e.storeToRefs(e.useAvailabilityStore()),{reset:k}=e.useAvailabilityStore(),{fetchAvailabilityData:w}=e.useHotelStore(),{areListingsLoading:F,hotelList:S,hasHotelList:m}=e.storeToRefs(e.useHotelStore()),{firstSelectableDateOffset:g,lastSelectableDateOffset:D,disableChildSelection:d,disableAdultSelection:s}=e.storeToRefs(e.useUtilityStore()),f=e.ref([]),N=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+(g.value-1)))),J=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+D.value))),K=e.computed(()=>new Date(new Date().setDate(r.value.getDate()+g.value))),A=e.computed(()=>new Date(new Date().setDate(r.value.getDate()+(D.value+1)))),b=e.computed(()=>!(!s&&o.value===0)),C=e.computed(()=>typeof n.link!="string");function R(){if(n.booking===!1)if(C.value){const i=e.getUserLanguage();n.link[i]?window.location.replace(n.link[i]):n.link.en?window.location.replace(n.link.en):console.log("Sprog understøttes ikke")}else window.location.replace(n.link);else b.value&&w()}return e.watch(r,i=>{const t=new Date(new Date(i).setDate(new Date(i).getDate()+1));new Date(c.value)<t&&(c.value=t)}),e.watch(f,i=>{r.value=i[0],c.value=i[1]}),e.onMounted(()=>{y.value&&k(),f.value=[r.value,c.value]}),(i,t)=>(e.openBlock(),e.createBlock(B,{id:"konnectio-availability-form",class:e.normalizeClass({reservation:i.booking}),type:"availability",onSubmit:R},{default:e.withCtx(({isLoading:h})=>[e.createBaseVNode("ul",{id:"konnectio-availability-form-content",class:e.normalizeClass([{"is-booking-page":i.booking},{"only-adult-guests":!e.unref(s)&&e.unref(d)},{"only-child-guests":!e.unref(d)&&e.unref(s)},{"no-guests":e.unref(s)&&e.unref(d)},{"all-guests":!e.unref(s)&&!e.unref(d)},{"has-location":e.unref(m)}])},[e.unref(m)?(e.openBlock(),e.createElementBlock("li",U,[e.createVNode(e._sfc_main,{modelValue:e.unref(p),"onUpdate:modelValue":t[0]||(t[0]=a=>e.isRef(p)?p.value=a:null),label:e.unref(l)("general.location"),icon:"location-dot","icon-type":"fas","icon-placement":"label",options:e.unref(S),searchable:!1},null,8,["modelValue","label","options"])])):e.createCommentVNode("",!0),e.createBaseVNode("li",$,[e.createVNode(E._sfc_main,{modelValue:f.value,"onUpdate:modelValue":t[1]||(t[1]=a=>f.value=a),label:e.unref(l)("availability.checkInOut"),"icon-type":"fas","icon-placement":"label","min-range":1,"min-date":N.value,"max-date":A.value,range:""},null,8,["modelValue","label","min-date","max-date"]),e.createCommentVNode("",!0)]),!e.unref(s)||!e.unref(d)?(e.openBlock(),e.createElementBlock("li",L,[e.unref(s)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(m)?(e.openBlock(),e.createBlock(e.TextField,{key:0,modelValue:e.unref(o),"onUpdate:modelValue":t[4]||(t[4]=a=>e.isRef(o)?o.value=a:null),label:e.unref(l)("availability.adults"),description:e.unref(l)("general.adultAgeRange"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label","description"])):(e.openBlock(),e.createBlock(V._sfc_main,{key:1,modelValue:e.unref(o),"onUpdate:modelValue":t[5]||(t[5]=a=>e.isRef(o)?o.value=a:null),label:e.unref(l)("availability.adults"),description:e.unref(l)("general.adultAgeRange"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label","description"]))],64)),e.unref(d)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(m)?(e.openBlock(),e.createBlock(e.TextField,{key:0,modelValue:e.unref(u),"onUpdate:modelValue":t[6]||(t[6]=a=>e.isRef(u)?u.value=a:null),label:e.unref(l)("availability.children"),description:e.unref(l)("general.childAgeRange"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label","description"])):(e.openBlock(),e.createBlock(V._sfc_main,{key:1,modelValue:e.unref(u),"onUpdate:modelValue":t[7]||(t[7]=a=>e.isRef(u)?u.value=a:null),label:e.unref(l)("availability.children"),description:e.unref(l)("general.childAgeRange"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label","description"]))],64))])):e.createCommentVNode("",!0),e.createBaseVNode("li",H,[i.booking?(e.openBlock(),e.createBlock(e.Clickable,{key:0,type:"submit",icon:"search","icon-type":"fas",disabled:!b.value,"is-loading":e.unref(F)||h},null,8,["disabled","is-loading"])):(e.openBlock(),e.createBlock(e.Clickable,{key:1,type:"submit",label:e.unref(l)("availability.buttonLabel"),disabled:!b.value,"is-loading":h},null,8,["label","disabled","is-loading"]))])],2)]),_:1},8,["class"]))}});const T=e._export_sfc(q,[["__scopeId","data-v-a901e79d"]]),I={class:"availability-skeleton"},z={key:0,class:"availability-skeleton-navigation"},O={key:1,class:"availability-skeleton-hotel"},M={key:2,class:"availability-skeleton-event"},j=e.defineComponent({__name:"AvailabilitySkeleton",props:{view:{default:"hotel"}},setup(v){return(l,n)=>(e.openBlock(),e.createElementBlock("div",I,[l.view==="both"?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(x.Element,{height:"28px",width:"60px","border-radius":"20px"}),e.createVNode(x.Element,{height:"28px",width:"60px","border-radius":"20px"})])):e.createCommentVNode("",!0),l.view!=="event"?(e.openBlock(),e.createElementBlock("div",O,[e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":"","no-label":""})])):(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":"","no-label":""})]))]))}});const G=e._export_sfc(j,[["__scopeId","data-v-d044752e"]]);exports.AvailabilitySkeleton=G;exports.HotelAvailabilityForm=T;exports._sfc_main=B;
@@ -1,4 +1,4 @@
1
- import { k as g, l as k, r as _, o as S, m as p, n as $, w as A, A as d, p as V, q as i, T as C, I as B, _ as v, ah as I, y as h, ai as T, aj as w, v as b, H as u, x as P, F as N, a6 as f, s as F, c as G, ak as j, Q as E, R as H } from "./SelectField.vue_vue_type_style_index_0_lang-66ac7611.js";
1
+ import { k as g, l as k, r as _, o as S, m as p, n as $, w as A, A as d, p as V, q as i, T as C, I as B, _ as v, ah as I, y as h, ai as T, aj as w, v as b, H as u, x as P, F as N, a6 as f, s as F, c as G, ak as j, Q as E, R as H } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
2
2
  const O = { class: "fresh-booking-phone-input" }, R = /* @__PURE__ */ g({
3
3
  __name: "PhoneField",
4
4
  props: {
@@ -1 +1 @@
1
- "use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-581db34f.cjs"),m={class:"fresh-booking-phone-input"},f=e.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(a,{emit:l}){const n=l,i=a,s=i.id||e.ranId(),o=e.ref("+45"),d=e.ref("");function p(){n("update:modelValue",`${o.value} ${d.value}`)}return e.onMounted(()=>{if(i.modelValue){const t=i.modelValue.split(" ");o.value=t[0],d.value=t[1]}}),(t,r)=>(e.openBlock(),e.createBlock(e.InputField,{label:t.label,id:e.unref(s),type:"phone",required:t.required,readonly:t.readonly},{default:e.withCtx(()=>[e.createBaseVNode("div",m,[e.createVNode(e.TextField,{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=u=>o.value=u),type:"text",id:e.unref(e.ranId)(),name:"phone-code",autocomplete:"tel-country-code",icon:t.icon,"icon-color":t.iconColor,"icon-type":t.iconType,placeholder:"+45",required:t.required,readonly:t.readonly,"input-style":t.inputStyle,onInput:r[1]||(r[1]=u=>p())},null,8,["modelValue","id","icon","icon-color","icon-type","required","readonly","input-style"]),e.createVNode(e.TextField,{modelValue:d.value,"onUpdate:modelValue":r[2]||(r[2]=u=>d.value=u),type:"number",name:"phone",autocomplete:"tel-national",id:e.unref(s),placeholder:t.placeholder,required:t.required,readonly:t.readonly,"input-style":t.inputStyle,onInput:r[3]||(r[3]=u=>p())},null,8,["modelValue","id","placeholder","required","readonly","input-style"])])]),_:1},8,["label","id","required","readonly"]))}});const h=e._export_sfc(f,[["__scopeId","data-v-5cd094ab"]]),g=["required","type","name","readonly","disabled","value","checked"],b=["data-test"],v={key:0},k=e.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(a,{emit:l}){const n=a,i=l;function s(){n.readonly!==!0&&i("update:modelValue",n.type==="radio"?n.val:n.numeric?n.modelValue?0:1:!n.modelValue)}return(o,d)=>(e.openBlock(),e.createBlock(e.InputField,{required:o.required,type:o.type,readonly:o.readonly},{default:e.withCtx(()=>[e.createBaseVNode("label",{class:e.normalizeClass(["fresh-booking-click-box-container",{"is-readonly":o.readonly},{"has-label":o.label},o.type==="radio"?"radio":"checkbox"])},[e.createBaseVNode("input",e.mergeProps(o.$attrs,{required:!!o.required,type:o.type,name:o.name,class:"hidden",readonly:!!o.readonly,disabled:!!o.readonly,value:o.type==="radio"?o.val:o.modelValue,checked:o.type==="radio"?o.val===o.modelValue:!!o.modelValue,onChange:d[0]||(d[0]=p=>s())}),null,16,g),e.createBaseVNode("div",{class:e.normalizeClass(["fresh-booking-click-box",{checked:o.type==="radio"?o.val===o.modelValue:!!o.modelValue}]),tabindex:"0",style:e.normalizeStyle(o.inputStyle),"data-test":o.name,onKeyup:d[1]||(d[1]=e.withKeys(p=>s(),["enter"]))},null,46,b),o.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["fresh-booking-click-box-label",{"with-price":o.price}])},[e.createBaseVNode("span",null,e.toDisplayString(o.label),1),o.price?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(o.price),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2)]),_:1},8,["required","type","readonly"]))}});const _=e._export_sfc(k,[["__scopeId","data-v-7ef656cb"]]),V={href:"https://policies.google.com/privacy"},C={href:"https://policies.google.com/terms"},y=e.defineComponent({__name:"GoogleNotice",setup(a){const{t:l}=e.useI18n();return(n,i)=>(e.openBlock(),e.createElementBlock("span",null,[e.createTextVNode(e.toDisplayString(e.unref(l)("googleNotice"))+" ",1),e.createBaseVNode("a",V,e.toDisplayString(e.unref(l)("googlePrivacyPolicy")),1),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("googleAnd"))+" ",1),e.createBaseVNode("a",C,e.toDisplayString(e.unref(l)("googleTOS")),1),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("googleApply"))+". ",1)]))}});function c(a){const l=a;l.__i18n=l.__i18n||[],l.__i18n.push({locale:"",resource:{da:{googleNotice:{t:0,b:{t:2,i:[{t:3}],s:"Denne side er beskyttet af reCAPTCHA og Google's"}},googlePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"Privatlivspolitik"}},googleAnd:{t:0,b:{t:2,i:[{t:3}],s:"og"}},googleTOS:{t:0,b:{t:2,i:[{t:3}],s:"Servicevilkår"}},googleApply:{t:0,b:{t:2,i:[{t:3}],s:"er gældende"}}},en:{googleNotice:{t:0,b:{t:2,i:[{t:3}],s:"This site is protected by reCAPTCHA and the Google"}},googlePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"Privacy Policy"}},googleAnd:{t:0,b:{t:2,i:[{t:3}],s:"and"}},googleTOS:{t:0,b:{t:2,i:[{t:3}],s:"Terms of Service"}},googleApply:{t:0,b:{t:2,i:[{t:3}],s:"apply"}}}}})}typeof c=="function"&&c(y);const B=a=>(e.pushScopeId("data-v-340cb9ce"),a=a(),e.popScopeId(),a),S=B(()=>e.createBaseVNode("div",{id:"fresh-booking-payment-checkout"},null,-1)),N=[S],P=e.defineComponent({__name:"CheckoutWindow",setup(a){const{paymentGatewayId:l}=e.storeToRefs(e.useUtilityStore());return e.onMounted(()=>{const n=document.createElement("script"),i=document.createElement("script");n.setAttribute("src","https://checkout.dibspayment.eu/v1/checkout.js?v=1"),i.setAttribute("src","https://checkout.reepay.com/checkout.js"),document.head.appendChild(n),document.head.appendChild(i)}),(n,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createBaseVNode("div",{id:"fresh-booking-payment-checkout-wrapper",class:e.normalizeClass({reePay:e.unref(l)===e.unref(e.PaymentGateway).ReePay})},N,2)]))}});const q=e._export_sfc(P,[["__scopeId","data-v-340cb9ce"]]);exports.Checkbox=_;exports.CheckoutWindow=q;exports.PhoneField=h;exports._sfc_main=y;
1
+ "use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs"),m={class:"fresh-booking-phone-input"},f=e.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(a,{emit:l}){const n=l,i=a,s=i.id||e.ranId(),o=e.ref("+45"),d=e.ref("");function p(){n("update:modelValue",`${o.value} ${d.value}`)}return e.onMounted(()=>{if(i.modelValue){const t=i.modelValue.split(" ");o.value=t[0],d.value=t[1]}}),(t,r)=>(e.openBlock(),e.createBlock(e.InputField,{label:t.label,id:e.unref(s),type:"phone",required:t.required,readonly:t.readonly},{default:e.withCtx(()=>[e.createBaseVNode("div",m,[e.createVNode(e.TextField,{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=u=>o.value=u),type:"text",id:e.unref(e.ranId)(),name:"phone-code",autocomplete:"tel-country-code",icon:t.icon,"icon-color":t.iconColor,"icon-type":t.iconType,placeholder:"+45",required:t.required,readonly:t.readonly,"input-style":t.inputStyle,onInput:r[1]||(r[1]=u=>p())},null,8,["modelValue","id","icon","icon-color","icon-type","required","readonly","input-style"]),e.createVNode(e.TextField,{modelValue:d.value,"onUpdate:modelValue":r[2]||(r[2]=u=>d.value=u),type:"number",name:"phone",autocomplete:"tel-national",id:e.unref(s),placeholder:t.placeholder,required:t.required,readonly:t.readonly,"input-style":t.inputStyle,onInput:r[3]||(r[3]=u=>p())},null,8,["modelValue","id","placeholder","required","readonly","input-style"])])]),_:1},8,["label","id","required","readonly"]))}});const h=e._export_sfc(f,[["__scopeId","data-v-5cd094ab"]]),g=["required","type","name","readonly","disabled","value","checked"],b=["data-test"],v={key:0},k=e.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(a,{emit:l}){const n=a,i=l;function s(){n.readonly!==!0&&i("update:modelValue",n.type==="radio"?n.val:n.numeric?n.modelValue?0:1:!n.modelValue)}return(o,d)=>(e.openBlock(),e.createBlock(e.InputField,{required:o.required,type:o.type,readonly:o.readonly},{default:e.withCtx(()=>[e.createBaseVNode("label",{class:e.normalizeClass(["fresh-booking-click-box-container",{"is-readonly":o.readonly},{"has-label":o.label},o.type==="radio"?"radio":"checkbox"])},[e.createBaseVNode("input",e.mergeProps(o.$attrs,{required:!!o.required,type:o.type,name:o.name,class:"hidden",readonly:!!o.readonly,disabled:!!o.readonly,value:o.type==="radio"?o.val:o.modelValue,checked:o.type==="radio"?o.val===o.modelValue:!!o.modelValue,onChange:d[0]||(d[0]=p=>s())}),null,16,g),e.createBaseVNode("div",{class:e.normalizeClass(["fresh-booking-click-box",{checked:o.type==="radio"?o.val===o.modelValue:!!o.modelValue}]),tabindex:"0",style:e.normalizeStyle(o.inputStyle),"data-test":o.name,onKeyup:d[1]||(d[1]=e.withKeys(p=>s(),["enter"]))},null,46,b),o.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["fresh-booking-click-box-label",{"with-price":o.price}])},[e.createBaseVNode("span",null,e.toDisplayString(o.label),1),o.price?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(o.price),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2)]),_:1},8,["required","type","readonly"]))}});const _=e._export_sfc(k,[["__scopeId","data-v-7ef656cb"]]),V={href:"https://policies.google.com/privacy"},C={href:"https://policies.google.com/terms"},y=e.defineComponent({__name:"GoogleNotice",setup(a){const{t:l}=e.useI18n();return(n,i)=>(e.openBlock(),e.createElementBlock("span",null,[e.createTextVNode(e.toDisplayString(e.unref(l)("googleNotice"))+" ",1),e.createBaseVNode("a",V,e.toDisplayString(e.unref(l)("googlePrivacyPolicy")),1),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("googleAnd"))+" ",1),e.createBaseVNode("a",C,e.toDisplayString(e.unref(l)("googleTOS")),1),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("googleApply"))+". ",1)]))}});function c(a){const l=a;l.__i18n=l.__i18n||[],l.__i18n.push({locale:"",resource:{da:{googleNotice:{t:0,b:{t:2,i:[{t:3}],s:"Denne side er beskyttet af reCAPTCHA og Google's"}},googlePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"Privatlivspolitik"}},googleAnd:{t:0,b:{t:2,i:[{t:3}],s:"og"}},googleTOS:{t:0,b:{t:2,i:[{t:3}],s:"Servicevilkår"}},googleApply:{t:0,b:{t:2,i:[{t:3}],s:"er gældende"}}},en:{googleNotice:{t:0,b:{t:2,i:[{t:3}],s:"This site is protected by reCAPTCHA and the Google"}},googlePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"Privacy Policy"}},googleAnd:{t:0,b:{t:2,i:[{t:3}],s:"and"}},googleTOS:{t:0,b:{t:2,i:[{t:3}],s:"Terms of Service"}},googleApply:{t:0,b:{t:2,i:[{t:3}],s:"apply"}}}}})}typeof c=="function"&&c(y);const B=a=>(e.pushScopeId("data-v-340cb9ce"),a=a(),e.popScopeId(),a),S=B(()=>e.createBaseVNode("div",{id:"fresh-booking-payment-checkout"},null,-1)),N=[S],P=e.defineComponent({__name:"CheckoutWindow",setup(a){const{paymentGatewayId:l}=e.storeToRefs(e.useUtilityStore());return e.onMounted(()=>{const n=document.createElement("script"),i=document.createElement("script");n.setAttribute("src","https://checkout.dibspayment.eu/v1/checkout.js?v=1"),i.setAttribute("src","https://checkout.reepay.com/checkout.js"),document.head.appendChild(n),document.head.appendChild(i)}),(n,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createBaseVNode("div",{id:"fresh-booking-payment-checkout-wrapper",class:e.normalizeClass({reePay:e.unref(l)===e.unref(e.PaymentGateway).ReePay})},N,2)]))}});const q=e._export_sfc(P,[["__scopeId","data-v-340cb9ce"]]);exports.Checkbox=_;exports.CheckoutWindow=q;exports.PhoneField=h;exports._sfc_main=y;
@@ -1 +1 @@
1
- "use strict";const t=require("./SelectField.vue_vue_type_style_index_0_lang-581db34f.cjs"),l={class:"konnectio-container"},a=t.defineComponent({__name:"Container",props:{styling:{}},setup(r){const n=r,o=t.computed(()=>({accentColor:"#6ab1e6",accentColorSecondary:"#dae9f8",buttonBackground:"#6ab1e6",buttonBorder:null,buttonBorderRadius:"4px",buttonColor:"#FFF",buttonFontFamily:"inherit",buttonFontSize:"14px",buttonFontWeight:"400",buttonIconColor:"#FFF",buttonTextTransform:"uppercase",dangerColor:"red",fontColor:"#3b3b3b",fontFamily:"inherit",fontSize:"16px",grayColor:"grey",headerColor:"#000",inputBorder:"1px solid rgba(0, 0, 0, 0.15)",inputBackground:"#f8f8f8",inputBorderWidth:"0px 0px 1px",inputBorderRadius:"6px",inputFontColor:"#000000",labelFontColor:"#000000",labelFontWeight:"bold",labelFontSize:"15px",labelPadding:"6px",linkColor:"#5d6dca",linkHoverColor:"#2e3d90",loadingColor:"#000",panelBackground:"#ffffff",panelBorder:null,panelBorderRadius:"5px",panelInnerPadding:"12px",panelMaxWidth:"none",panelPadding:"24px",panelShadow:"0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",successColor:"green",...n.styling}));return t.onMounted(()=>{const e=document.documentElement.style;e.setProperty("--accentColor",o.value.accentColor),e.setProperty("--accentColorSecondary",o.value.accentColorSecondary),e.setProperty("--buttonBackground",o.value.buttonBackground),e.setProperty("--buttonBorder",o.value.buttonBorder),e.setProperty("--buttonBorderRadius",o.value.buttonBorderRadius),e.setProperty("--buttonColor",o.value.buttonColor),e.setProperty("--buttonFontFamily",o.value.buttonFontFamily),e.setProperty("--buttonFontSize",o.value.buttonFontSize),e.setProperty("--buttonFontWeight",o.value.buttonFontWeight),e.setProperty("--buttonTextTransform",o.value.buttonTextTransform),e.setProperty("--dangerColor",o.value.dangerColor),e.setProperty("--fontColor",o.value.fontColor),e.setProperty("--fontFamily",o.value.fontFamily),e.setProperty("--fontSize",o.value.fontSize),e.setProperty("--grayColor",o.value.grayColor),e.setProperty("--headerColor",o.value.headerColor),e.setProperty("--inputBackground",o.value.inputBackground),e.setProperty("--inputBorder",o.value.inputBorder),e.setProperty("--inputBorderRadius",o.value.inputBorderRadius),e.setProperty("--inputBorderWidth",o.value.inputBorderWidth),e.setProperty("--inputFontColor",o.value.inputFontColor),e.setProperty("--labelFontColor",o.value.labelFontColor),e.setProperty("--labelFontWeight",o.value.labelFontWeight),e.setProperty("--labelFontSize",o.value.labelFontSize),e.setProperty("--labelPadding",o.value.labelPadding),e.setProperty("--linkColor",o.value.linkColor),e.setProperty("--linkHoverColor",o.value.linkHoverColor),e.setProperty("--loadingColor",o.value.loadingColor),e.setProperty("--panelBackground",o.value.panelBackground),e.setProperty("--panelBorder",o.value.panelBorder),e.setProperty("--panelBorderRadius",o.value.panelBorderRadius),e.setProperty("--panelInnerPadding",o.value.panelInnerPadding),e.setProperty("--panelMaxWidth",o.value.panelMaxWidth),e.setProperty("--panelPadding",o.value.panelPadding),e.setProperty("--panelShadow",o.value.panelShadow),e.setProperty("--successColor",o.value.successColor)}),(e,p)=>(t.openBlock(),t.createElementBlock("div",l,[t.renderSlot(e.$slots,"default",{},void 0,!0)]))}});const u=t._export_sfc(a,[["__scopeId","data-v-b8c97ab0"]]);exports.Container=u;
1
+ "use strict";const t=require("./SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs"),l={class:"konnectio-container"},a=t.defineComponent({__name:"Container",props:{styling:{}},setup(r){const n=r,o=t.computed(()=>({accentColor:"#6ab1e6",accentColorSecondary:"#dae9f8",buttonBackground:"#6ab1e6",buttonBorder:null,buttonBorderRadius:"4px",buttonColor:"#FFF",buttonFontFamily:"inherit",buttonFontSize:"14px",buttonFontWeight:"400",buttonIconColor:"#FFF",buttonTextTransform:"uppercase",dangerColor:"red",fontColor:"#3b3b3b",fontFamily:"inherit",fontSize:"16px",grayColor:"grey",headerColor:"#000",inputBorder:"1px solid rgba(0, 0, 0, 0.15)",inputBackground:"#f8f8f8",inputBorderWidth:"0px 0px 1px",inputBorderRadius:"6px",inputFontColor:"#000000",labelFontColor:"#000000",labelFontWeight:"bold",labelFontSize:"15px",labelPadding:"6px",linkColor:"#5d6dca",linkHoverColor:"#2e3d90",loadingColor:"#000",panelBackground:"#ffffff",panelBorder:null,panelBorderRadius:"5px",panelInnerPadding:"12px",panelMaxWidth:"none",panelPadding:"24px",panelShadow:"0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",successColor:"green",...n.styling}));return t.onMounted(()=>{const e=document.documentElement.style;e.setProperty("--accentColor",o.value.accentColor),e.setProperty("--accentColorSecondary",o.value.accentColorSecondary),e.setProperty("--buttonBackground",o.value.buttonBackground),e.setProperty("--buttonBorder",o.value.buttonBorder),e.setProperty("--buttonBorderRadius",o.value.buttonBorderRadius),e.setProperty("--buttonColor",o.value.buttonColor),e.setProperty("--buttonFontFamily",o.value.buttonFontFamily),e.setProperty("--buttonFontSize",o.value.buttonFontSize),e.setProperty("--buttonFontWeight",o.value.buttonFontWeight),e.setProperty("--buttonTextTransform",o.value.buttonTextTransform),e.setProperty("--dangerColor",o.value.dangerColor),e.setProperty("--fontColor",o.value.fontColor),e.setProperty("--fontFamily",o.value.fontFamily),e.setProperty("--fontSize",o.value.fontSize),e.setProperty("--grayColor",o.value.grayColor),e.setProperty("--headerColor",o.value.headerColor),e.setProperty("--inputBackground",o.value.inputBackground),e.setProperty("--inputBorder",o.value.inputBorder),e.setProperty("--inputBorderRadius",o.value.inputBorderRadius),e.setProperty("--inputBorderWidth",o.value.inputBorderWidth),e.setProperty("--inputFontColor",o.value.inputFontColor),e.setProperty("--labelFontColor",o.value.labelFontColor),e.setProperty("--labelFontWeight",o.value.labelFontWeight),e.setProperty("--labelFontSize",o.value.labelFontSize),e.setProperty("--labelPadding",o.value.labelPadding),e.setProperty("--linkColor",o.value.linkColor),e.setProperty("--linkHoverColor",o.value.linkHoverColor),e.setProperty("--loadingColor",o.value.loadingColor),e.setProperty("--panelBackground",o.value.panelBackground),e.setProperty("--panelBorder",o.value.panelBorder),e.setProperty("--panelBorderRadius",o.value.panelBorderRadius),e.setProperty("--panelInnerPadding",o.value.panelInnerPadding),e.setProperty("--panelMaxWidth",o.value.panelMaxWidth),e.setProperty("--panelPadding",o.value.panelPadding),e.setProperty("--panelShadow",o.value.panelShadow),e.setProperty("--successColor",o.value.successColor)}),(e,p)=>(t.openBlock(),t.createElementBlock("div",l,[t.renderSlot(e.$slots,"default",{},void 0,!0)]))}});const u=t._export_sfc(a,[["__scopeId","data-v-b8c97ab0"]]);exports.Container=u;
@@ -1,4 +1,4 @@
1
- import { k as n, f as a, o as l, m as u, v as p, D as d, _ as s } from "./SelectField.vue_vue_type_style_index_0_lang-66ac7611.js";
1
+ import { k as n, f as a, o as l, m as u, v as p, D as d, _ as s } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
2
2
  const i = { class: "konnectio-container" }, c = /* @__PURE__ */ n({
3
3
  __name: "Container",
4
4
  props: {
Binary file
@@ -1,4 +1,4 @@
1
- import { aB as ha, r as te, k as Qe, aF as qt, aK as Oa, o as at, al as It, f as j, aC as hr, a2 as Rt, m as $, v as V, p as ut, X as tt, a4 as Ee, w as be, D as se, ao as qe, ap as lt, q as g, ah as Ze, J as Hr, n as De, aL as yr, ax as rl, x as z, ac as ra, y as $e, aq as nl, aM as Ur, aj as ge, A as pe, N as Ye, a3 as _e, ai as ft, H as Ge, a6 as xt, aN as ll, af as Ca, ag as Pa, aO as ol, aP as il, l as ul, i as sl, I as dl } from "./SelectField.vue_vue_type_style_index_0_lang-66ac7611.js";
1
+ import { aB as ha, r as te, k as Qe, aF as qt, aK as Oa, o as at, al as It, f as j, aC as hr, a2 as Rt, m as $, v as V, p as ut, X as tt, a4 as Ee, w as be, D as se, ao as qe, ap as lt, q as g, ah as Ze, J as Hr, n as De, aL as yr, ax as rl, x as z, ac as ra, y as $e, aq as nl, aM as Ur, aj as ge, A as pe, N as Ye, a3 as _e, ai as ft, H as Ge, a6 as xt, aN as ll, af as Ca, ag as Pa, aO as ol, aP as il, l as ul, i as sl, I as dl } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
2
2
  function dt(e) {
3
3
  "@babel/helpers - typeof";
4
4
  return dt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {