@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.
- package/dist/{ActionField-5ecfc9dc.js → ActionField-68f65af4.js} +3 -3
- package/dist/ActionField-68f65af4.js.br +0 -0
- package/dist/{ActionField-ae9b1adf.cjs → ActionField-ab9c01ab.cjs} +1 -1
- package/dist/AvailabilitySkeleton-c48588e4.js +382 -0
- package/dist/AvailabilitySkeleton-c48588e4.js.br +0 -0
- package/dist/AvailabilitySkeleton-ca6cf6b6.cjs +1 -0
- package/dist/{payment-9e219e9b.js → DateField.vue_vue_type_style_index_0_lang-87ddfed8.js} +3201 -2937
- package/dist/DateField.vue_vue_type_style_index_0_lang-87ddfed8.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-b6694990.cjs +5 -0
- package/dist/Field-b76d82cb.js +42 -0
- package/dist/Field-b76d82cb.js.br +0 -0
- package/dist/Field-d926807f.cjs +1 -0
- package/dist/{applyGiftCard-c5e4aaad.js → NumberField.vue_vue_type_script_setup_true_lang-a32b2a11.js} +59 -59
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-a32b2a11.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-a549c70e.cjs +1 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-2bf82818.cjs +806 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-c973d794.js +19169 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-c973d794.js.br +0 -0
- package/dist/TextField-528ca68c.cjs +54 -0
- package/dist/TextField-8f6e5ef5.js +9345 -0
- package/dist/TextField-8f6e5ef5.js.br +0 -0
- package/dist/ThankYou-2f3c4efe.js +11777 -0
- package/dist/ThankYou-2f3c4efe.js.br +0 -0
- package/dist/ThankYou-8ae535bf.cjs +54 -0
- package/dist/_-3cff5490.cjs +1 -0
- package/dist/_-734c9d50.js +82 -0
- package/dist/_-734c9d50.js.br +0 -0
- package/dist/{_commonjsHelpers-aeeeeb92.js → _commonjsHelpers-c5d32002.js} +2 -2
- package/dist/assets/typescript/mixins.d.ts +1 -4
- package/dist/availability.cjs +2 -0
- package/dist/availability.js +188 -0
- package/dist/availability.js.br +0 -0
- package/dist/components/ErrorMessage.vue.d.ts +5 -0
- package/dist/components/ErrorMessage.vue.d.ts.map +1 -0
- package/dist/components/Icon.vue.d.ts +1 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -0
- package/dist/components/forms/HotelReservationForm.vue.d.ts.map +1 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/forms/_.vue.d.ts +4 -0
- package/dist/components/forms/_.vue.d.ts.map +1 -0
- package/dist/components/inputs/InputField.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Event.vue.d.ts +1 -1
- package/dist/components/listings/{Test.vue.d.ts → Hotel.vue.d.ts} +3 -3
- package/dist/components/listings/Hotel.vue.d.ts.map +1 -0
- package/dist/components/modals/Info.vue.d.ts +1 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +1 -0
- package/dist/components/{side-panels/Base.vue.d.ts → skeletons/Field.vue.d.ts} +3 -3
- package/dist/components/skeletons/Field.vue.d.ts.map +1 -0
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/Listing.vue.d.ts +5 -0
- package/dist/components/skeletons/Listing.vue.d.ts.map +1 -0
- package/dist/components/skeletons/Sidebar.vue.d.ts +5 -0
- package/dist/components/skeletons/Sidebar.vue.d.ts.map +1 -0
- package/dist/components/skeletons/_.vue.d.ts +5 -0
- package/dist/components/skeletons/_.vue.d.ts.map +1 -0
- package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
- package/dist/components/views/TermsOfService.vue.d.ts +1 -1
- package/dist/components/views/ThankYou.vue.d.ts +1 -1
- package/dist/entries/availability.d.ts +3 -2
- package/dist/entries/gift-card.d.ts +1 -2
- package/dist/entries/hotel.d.ts +0 -2
- package/dist/event-4662e27c.cjs +1 -0
- package/dist/{event-a70cffeb.js → event-e08d0178.js} +101 -101
- package/dist/event-e08d0178.js.br +0 -0
- package/dist/event.cjs +1 -0
- package/dist/event.js +563 -0
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -0
- package/dist/gift-card-validation.js +116 -0
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -0
- package/dist/gift-card.d.ts +0 -2
- package/dist/gift-card.js +502 -0
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +19 -0
- package/dist/hotel.d.ts +0 -2
- package/dist/hotel.js +2967 -0
- package/dist/hotel.js.br +0 -0
- package/dist/index-a46a0876.cjs +1 -0
- package/dist/{index-00262c16.js → index-c28f52d1.js} +32 -16
- package/dist/index-c28f52d1.js.br +0 -0
- package/dist/layouts/Availability.vue.d.ts +20 -242
- package/dist/layouts/Event.vue.d.ts +16 -242
- package/dist/layouts/GiftCard.vue.d.ts +31 -251
- package/dist/layouts/GiftCardValidation.vue.d.ts +16 -226
- package/dist/layouts/Hotel.vue.d.ts +36 -276
- package/dist/layouts/_.vue.d.ts +31 -20
- package/dist/polyfill.cjs +4 -0
- package/dist/polyfill.js +6826 -0
- package/dist/polyfill.js.br +0 -0
- package/dist/store/availability.d.ts +5 -2
- package/dist/store/giftCard.d.ts +3 -3
- package/dist/store/hotel.d.ts +318 -204
- package/dist/store/tracking.d.ts +6 -14
- package/dist/store/utilities.d.ts +87 -81
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +44 -8
- package/package.json +30 -40
- package/dist/ActionField-5ecfc9dc.js.br +0 -0
- package/dist/HotelAvailabilityForm-0cd1abda.cjs +0 -1
- package/dist/HotelAvailabilityForm-a7b6f17e.js +0 -97
- package/dist/HotelAvailabilityForm-a7b6f17e.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs +0 -793
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js +0 -16403
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-05b8ec39.js +0 -376
- package/dist/ReCaptchaVuePlugin-05b8ec39.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-08ee5d62.cjs +0 -1
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js +0 -10107
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs +0 -56
- package/dist/ThankYou-1866d8db.js +0 -8547
- package/dist/ThankYou-1866d8db.js.br +0 -0
- package/dist/ThankYou-5741bcb6.cjs +0 -15
- package/dist/applyGiftCard-c5e4aaad.js.br +0 -0
- package/dist/applyGiftCard-d9ab3dcf.cjs +0 -1
- package/dist/availability.cjs.js +0 -1
- package/dist/availability.cjs.js.br +0 -0
- package/dist/availability.es.js +0 -183
- package/dist/availability.es.js.br +0 -0
- package/dist/components/LoadingBlock.vue.d.ts +0 -4
- package/dist/components/LoadingBlock.vue.d.ts.map +0 -1
- package/dist/components/listings/Test.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Hotel.vue.d.ts +0 -4
- package/dist/components/side-panels/Hotel.vue.d.ts.map +0 -1
- package/dist/event-39706438.cjs +0 -1
- package/dist/event-a70cffeb.js.br +0 -0
- package/dist/event.cjs.js +0 -1
- package/dist/event.cjs.js.br +0 -0
- package/dist/event.es.js +0 -645
- package/dist/event.es.js.br +0 -0
- package/dist/gift-card-validation.cjs.js +0 -1
- package/dist/gift-card-validation.cjs.js.br +0 -0
- package/dist/gift-card-validation.es.js +0 -170
- package/dist/gift-card-validation.es.js.br +0 -0
- package/dist/gift-card.cjs.js +0 -1
- package/dist/gift-card.cjs.js.br +0 -0
- package/dist/gift-card.es.js +0 -584
- package/dist/gift-card.es.js.br +0 -0
- package/dist/hotel.cjs.js +0 -19
- package/dist/hotel.cjs.js.br +0 -0
- package/dist/hotel.es.js +0 -2394
- package/dist/hotel.es.js.br +0 -0
- package/dist/index-00262c16.js.br +0 -0
- package/dist/index-58f3b0cc.cjs +0 -1
- package/dist/payment-9e219e9b.js.br +0 -0
- package/dist/payment-fbffaa6d.cjs +0 -2
- package/dist/polyfill.cjs.js +0 -4
- package/dist/polyfill.cjs.js.br +0 -0
- package/dist/polyfill.es.js +0 -6764
- package/dist/polyfill.es.js.br +0 -0
- /package/dist/{navigation.cjs.js → navigation.cjs} +0 -0
- /package/dist/{navigation.es.js → navigation.js} +0 -0
package/dist/hotel.js.br
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const SelectField_vue_vue_type_style_index_0_lang=require("./SelectField.vue_vue_type_style_index_0_lang-2bf82818.cjs"),TextField=require("./TextField-528ca68c.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(l){return Object.getOwnPropertyDescriptor(e,l).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,l){if(!(typeof document>"u")){var r=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",r.appendChild(s)}r.appendChild(u),u.onload=i,u.onerror=l}})},mergeDeep=function e(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),l=1;l<n;l++)i[l-1]=arguments[l];if(!i.length)return t;var r=i.shift();if(!(!SelectField_vue_vue_type_style_index_0_lang.isPlainObject(t)||!SelectField_vue_vue_type_style_index_0_lang.isPlainObject(r))){for(var u in r)SelectField_vue_vue_type_style_index_0_lang.isPlainObject(r[u])?(t[u]||Object.assign(t,_defineProperty({},u,{})),e(t[u],r[u])):Object.assign(t,_defineProperty({},u,r[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(),l=i.config,r=i.includes;query.apply(void 0,["config",l.id].concat(t)),Array.isArray(r)&&r.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(l){return assignGlobalProperty(l.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,l=n.defaultGroupName;t.send_to==null&&Array.isArray(i)&&i.length&&(t.send_to=i.map(function(r){return r.id}).concat(l)),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,l=n.pageTrackerPrependBase,r=getRouter(),u=r&&r.options.base,s=i?e.fullPath:e.path;t=_objectSpread2(_objectSpread2({},e.name&&{page_title:e.name}),{},{page_path:l?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,l=n.pageTrackerTemplate,r=n.pageTrackerScreenviewEnabled,u=n.pageTrackerSkipSamePath;if(!(u&&e.path===t.path)){var s=e;if(SelectField_vue_vue_type_style_index_0_lang.isFunction(l)?s=l(e,t):r&&(s=validateScreenviewShape({app_name:i,screen_name:e.name})),r){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(){SelectField_vue_vue_type_style_index_0_lang.nextTick().then(function(){var l=i.currentRoute;addConfiguration(),!isRouteExcluded(l.value)&&track(l.value)}),i.afterEach(function(l,r){SelectField_vue_vue_type_style_index_0_lang.nextTick().then(function(){isRouteExcluded(l)||(SelectField_vue_vue_type_style_index_0_lang.isFunction(t)&&t(l,r),track(l,r),SelectField_vue_vue_type_style_index_0_lang.isFunction(n)&&n(l,r))})})})},bootstrap=function(){var e=getOptions(),t=e.onReady,n=e.onError,i=e.globalObjectName,l=e.globalDataLayerName,r=e.config,u=e.customResourceURL,s=e.customPreconnectOrigin,_=e.deferScriptLoad,d=e.pageTrackerEnabled,g=e.disableScriptLoad,v=!!(d&&getRouter());if(registerGlobals(),v?addRoutesTracker():addConfiguration(),!g)return load("".concat(u,"?id=").concat(r.id,"&l=").concat(l),{preconnectOrigin:s,defer:_}).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 _hoisted_1$3={class:"fresh-booking-phone-input"},_sfc_main$3=SelectField_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||SelectField_vue_vue_type_style_index_0_lang.ranId(),l=SelectField_vue_vue_type_style_index_0_lang.ref("+45"),r=SelectField_vue_vue_type_style_index_0_lang.ref("");function u(){t("update:modelValue",`${l.value} ${r.value}`)}return SelectField_vue_vue_type_style_index_0_lang.onMounted(()=>{if(n.modelValue){const s=n.modelValue.split(" ");l.value=s[0],r.value=s[1]}}),(s,_)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createBlock(SelectField_vue_vue_type_style_index_0_lang.InputField,{label:s.label,id:SelectField_vue_vue_type_style_index_0_lang.unref(i),type:"phone",required:s.required,readonly:s.readonly},{default:SelectField_vue_vue_type_style_index_0_lang.withCtx(()=>[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",_hoisted_1$3,[SelectField_vue_vue_type_style_index_0_lang.createVNode(TextField.TextField,{modelValue:l.value,"onUpdate:modelValue":_[0]||(_[0]=d=>l.value=d),type:"text",id:SelectField_vue_vue_type_style_index_0_lang.unref(SelectField_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:_[1]||(_[1]=d=>u())},null,8,["modelValue","id","icon","icon-color","icon-type","required","readonly","input-style"]),SelectField_vue_vue_type_style_index_0_lang.createVNode(TextField.TextField,{modelValue:r.value,"onUpdate:modelValue":_[2]||(_[2]=d=>r.value=d),type:"number",name:"phone",autocomplete:"tel-national",id:SelectField_vue_vue_type_style_index_0_lang.unref(i),placeholder:s.placeholder,required:s.required,readonly:s.readonly,"input-style":s.inputStyle,onInput:_[3]||(_[3]=d=>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=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$3,[["__scopeId","data-v-5cd094ab"]]),_hoisted_1$2=["required","type","name","readonly","disabled","value","checked"],_hoisted_2$2=["data-test"],_hoisted_3={key:0},_sfc_main$2=SelectField_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(l,r)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createBlock(SelectField_vue_vue_type_style_index_0_lang.InputField,{required:l.required,type:l.type,readonly:l.readonly},{default:SelectField_vue_vue_type_style_index_0_lang.withCtx(()=>[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("label",{class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-container",{"is-readonly":l.readonly},{"has-label":l.label},l.type==="radio"?"radio":"checkbox"])},[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("input",SelectField_vue_vue_type_style_index_0_lang.mergeProps(l.$attrs,{required:!!l.required,type:l.type,name:l.name,class:"hidden",readonly:!!l.readonly,disabled:!!l.readonly,value:l.type==="radio"?l.val:l.modelValue,checked:l.type==="radio"?l.val===l.modelValue:!!l.modelValue,onChange:r[0]||(r[0]=u=>i())}),null,16,_hoisted_1$2),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box",{checked:l.type==="radio"?l.val===l.modelValue:!!l.modelValue}]),tabindex:"0",style:SelectField_vue_vue_type_style_index_0_lang.normalizeStyle(l.inputStyle),"data-test":l.name,onKeyup:r[1]||(r[1]=SelectField_vue_vue_type_style_index_0_lang.withKeys(u=>i(),["enter"]))},null,46,_hoisted_2$2),l.label?(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("div",{key:0,class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-label",{"with-price":l.price}])},[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("span",null,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(l.label),1),l.price?(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("span",_hoisted_3,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(l.price),1)):SelectField_vue_vue_type_style_index_0_lang.createCommentVNode("",!0)],2)):SelectField_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=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$2,[["__scopeId","data-v-7ef656cb"]]),_hoisted_1$1={href:"https://policies.google.com/privacy"},_hoisted_2$1={href:"https://policies.google.com/terms"},_sfc_main$1=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"GoogleNotice",setup(e){const{t}=SelectField_vue_vue_type_style_index_0_lang.useI18n();return(n,i)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("span",null,[SelectField_vue_vue_type_style_index_0_lang.createTextVNode(SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleNotice"))+" ",1),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_1$1,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googlePrivacyPolicy")),1),SelectField_vue_vue_type_style_index_0_lang.createTextVNode(" "+SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleAnd"))+" ",1),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_2$1,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleTOS")),1),SelectField_vue_vue_type_style_index_0_lang.createTextVNode(" "+SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_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$1);const _withScopeId=e=>(SelectField_vue_vue_type_style_index_0_lang.pushScopeId("data-v-340cb9ce"),e=e(),SelectField_vue_vue_type_style_index_0_lang.popScopeId(),e),_hoisted_1=_withScopeId(()=>SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{id:"fresh-booking-payment-checkout"},null,-1)),_hoisted_2=[_hoisted_1],_sfc_main=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"CheckoutWindow",setup(e){const{paymentGatewayId:t}=SelectField_vue_vue_type_style_index_0_lang.storeToRefs(SelectField_vue_vue_type_style_index_0_lang.useUtilityStore());return SelectField_vue_vue_type_style_index_0_lang.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)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("div",null,[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{id:"fresh-booking-payment-checkout-wrapper",class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass({reePay:SelectField_vue_vue_type_style_index_0_lang.unref(t)===SelectField_vue_vue_type_style_index_0_lang.unref(SelectField_vue_vue_type_style_index_0_lang.PaymentGateway).ReePay})},_hoisted_2,2)]))}}),CheckoutWindow_vue_vue_type_style_index_0_scoped_340cb9ce_lang="",CheckoutWindow=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main,[["__scopeId","data-v-340cb9ce"]]);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",l=this.getAttribute("sticky-z-index")||"10",r=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:l,onStick:r}}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 l=this.state.containerElRect.bottom-this.state.height-this.options.bottomOffset-this.options.topOffset;l<0&&(t.top=l+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 l=window.innerHeight-this.state.containerElRect.top-this.state.height-this.options.bottomOffset-this.options.topOffset;l<0&&(t.bottom=l+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.CheckoutWindow=CheckoutWindow;exports.PhoneField=PhoneField;exports.StickyPlugin=StickyPlugin;exports._sfc_main=_sfc_main$1;exports.event=event;exports.install=install;exports.setOptions=setOptions;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { T as TextField } from "./SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js";
|
|
1
|
+
import { ae as isPlainObject, af as nextTick, ag as isFunction, 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, ah as mergeProps, v as normalizeClass, ai as normalizeStyle, aj as withKeys, q as createElementBlock, z as toDisplayString, t as createCommentVNode, y as useI18n, a3 as createTextVNode, s as storeToRefs, a as useUtilityStore, Q as PaymentGateway, K as pushScopeId, L as popScopeId } from "./SelectField.vue_vue_type_style_index_0_lang-c973d794.js";
|
|
2
|
+
import { T as TextField } from "./TextField-8f6e5ef5.js";
|
|
4
3
|
function _defineProperty(e, t, n) {
|
|
5
4
|
return t in e ? Object.defineProperty(e, t, {
|
|
6
5
|
value: n,
|
|
@@ -243,8 +242,8 @@ var getDefaultParams = function() {
|
|
|
243
242
|
});
|
|
244
243
|
});
|
|
245
244
|
}, bootstrap = function() {
|
|
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,
|
|
247
|
-
if (registerGlobals(),
|
|
245
|
+
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, h = e.disableScriptLoad, g = !!(d && getRouter());
|
|
246
|
+
if (registerGlobals(), g ? addRoutesTracker() : addConfiguration(), !h)
|
|
248
247
|
return load("".concat(u, "?id=").concat(s.id, "&l=").concat(r), {
|
|
249
248
|
preconnectOrigin: l,
|
|
250
249
|
defer: p
|
|
@@ -257,7 +256,7 @@ var getDefaultParams = function() {
|
|
|
257
256
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 ? arguments[2] : void 0;
|
|
258
257
|
attachApi(t), setOptions(n), setRouter(i), getOptions().bootstrap && bootstrap();
|
|
259
258
|
};
|
|
260
|
-
const
|
|
259
|
+
const _hoisted_1$3 = { class: "fresh-booking-phone-input" }, _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
261
260
|
__name: "PhoneField",
|
|
262
261
|
props: {
|
|
263
262
|
modelValue: {},
|
|
@@ -290,7 +289,7 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
|
|
|
290
289
|
readonly: l.readonly
|
|
291
290
|
}, {
|
|
292
291
|
default: withCtx(() => [
|
|
293
|
-
createBaseVNode("div", _hoisted_1$
|
|
292
|
+
createBaseVNode("div", _hoisted_1$3, [
|
|
294
293
|
createVNode(TextField, {
|
|
295
294
|
modelValue: r.value,
|
|
296
295
|
"onUpdate:modelValue": p[0] || (p[0] = (d) => r.value = d),
|
|
@@ -325,7 +324,7 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
|
|
|
325
324
|
_: 1
|
|
326
325
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
327
326
|
}
|
|
328
|
-
}), PhoneField_vue_vue_type_style_index_0_scoped_5cd094ab_lang = "", PhoneField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
327
|
+
}), PhoneField_vue_vue_type_style_index_0_scoped_5cd094ab_lang = "", PhoneField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-5cd094ab"]]), _hoisted_1$2 = ["required", "type", "name", "readonly", "disabled", "value", "checked"], _hoisted_2$2 = ["data-test"], _hoisted_3 = { key: 0 }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
329
328
|
__name: "Checkbox",
|
|
330
329
|
props: {
|
|
331
330
|
modelValue: { type: [String, Boolean, Number] },
|
|
@@ -373,7 +372,7 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
|
|
|
373
372
|
value: r.type === "radio" ? r.val : r.modelValue,
|
|
374
373
|
checked: r.type === "radio" ? r.val === r.modelValue : !!r.modelValue,
|
|
375
374
|
onChange: s[0] || (s[0] = (u) => i())
|
|
376
|
-
}), null, 16, _hoisted_1$
|
|
375
|
+
}), null, 16, _hoisted_1$2),
|
|
377
376
|
createBaseVNode("div", {
|
|
378
377
|
class: normalizeClass([
|
|
379
378
|
"fresh-booking-click-box",
|
|
@@ -383,7 +382,7 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
|
|
|
383
382
|
style: normalizeStyle(r.inputStyle),
|
|
384
383
|
"data-test": r.name,
|
|
385
384
|
onKeyup: s[1] || (s[1] = withKeys((u) => i(), ["enter"]))
|
|
386
|
-
}, null, 46, _hoisted_2$
|
|
385
|
+
}, null, 46, _hoisted_2$2),
|
|
387
386
|
r.label ? (openBlock(), createElementBlock("div", {
|
|
388
387
|
key: 0,
|
|
389
388
|
class: normalizeClass(["fresh-booking-click-box-label", { "with-price": r.price }])
|
|
@@ -396,15 +395,15 @@ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(vue_esmBundler), _hoist
|
|
|
396
395
|
_: 1
|
|
397
396
|
}, 8, ["required", "type", "readonly"]));
|
|
398
397
|
}
|
|
399
|
-
}), Checkbox_vue_vue_type_style_index_0_scoped_7ef656cb_lang = "", Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
398
|
+
}), Checkbox_vue_vue_type_style_index_0_scoped_7ef656cb_lang = "", Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-7ef656cb"]]), _hoisted_1$1 = { href: "https://policies.google.com/privacy" }, _hoisted_2$1 = { href: "https://policies.google.com/terms" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
400
399
|
__name: "GoogleNotice",
|
|
401
400
|
setup(e) {
|
|
402
401
|
const { t } = useI18n();
|
|
403
402
|
return (n, i) => (openBlock(), createElementBlock("span", null, [
|
|
404
403
|
createTextVNode(toDisplayString(unref(t)("googleNotice")) + " ", 1),
|
|
405
|
-
createBaseVNode("a", _hoisted_1, toDisplayString(unref(t)("googlePrivacyPolicy")), 1),
|
|
404
|
+
createBaseVNode("a", _hoisted_1$1, toDisplayString(unref(t)("googlePrivacyPolicy")), 1),
|
|
406
405
|
createTextVNode(" " + toDisplayString(unref(t)("googleAnd")) + " ", 1),
|
|
407
|
-
createBaseVNode("a", _hoisted_2, toDisplayString(unref(t)("googleTOS")), 1),
|
|
406
|
+
createBaseVNode("a", _hoisted_2$1, toDisplayString(unref(t)("googleTOS")), 1),
|
|
408
407
|
createTextVNode(" " + toDisplayString(unref(t)("googleApply")) + ". ", 1)
|
|
409
408
|
]));
|
|
410
409
|
}
|
|
@@ -461,7 +460,24 @@ function block0(e) {
|
|
|
461
460
|
}
|
|
462
461
|
});
|
|
463
462
|
}
|
|
464
|
-
typeof block0 == "function" && block0(_sfc_main);
|
|
463
|
+
typeof block0 == "function" && block0(_sfc_main$1);
|
|
464
|
+
const _withScopeId = (e) => (pushScopeId("data-v-340cb9ce"), e = e(), popScopeId(), e), _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("div", { id: "fresh-booking-payment-checkout" }, null, -1)), _hoisted_2 = [
|
|
465
|
+
_hoisted_1
|
|
466
|
+
], _sfc_main = /* @__PURE__ */ defineComponent({
|
|
467
|
+
__name: "CheckoutWindow",
|
|
468
|
+
setup(e) {
|
|
469
|
+
const { paymentGatewayId: t } = storeToRefs(useUtilityStore());
|
|
470
|
+
return onMounted(() => {
|
|
471
|
+
const n = document.createElement("script"), i = document.createElement("script");
|
|
472
|
+
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);
|
|
473
|
+
}), (n, i) => (openBlock(), createElementBlock("div", null, [
|
|
474
|
+
createBaseVNode("div", {
|
|
475
|
+
id: "fresh-booking-payment-checkout-wrapper",
|
|
476
|
+
class: normalizeClass({ reePay: unref(t) === unref(PaymentGateway).ReePay })
|
|
477
|
+
}, _hoisted_2, 2)
|
|
478
|
+
]));
|
|
479
|
+
}
|
|
480
|
+
}), CheckoutWindow_vue_vue_type_style_index_0_scoped_340cb9ce_lang = "", CheckoutWindow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-340cb9ce"]]);
|
|
465
481
|
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);
|
|
466
482
|
const namespace = "@@vue3-sticky-directive", events = [
|
|
467
483
|
"resize",
|
|
@@ -641,9 +657,9 @@ export {
|
|
|
641
657
|
Checkbox as C,
|
|
642
658
|
PhoneField as P,
|
|
643
659
|
StickyPlugin as S,
|
|
644
|
-
_sfc_main as _,
|
|
660
|
+
_sfc_main$1 as _,
|
|
661
|
+
CheckoutWindow as a,
|
|
645
662
|
event as e,
|
|
646
663
|
install as i,
|
|
647
|
-
require$$1 as r,
|
|
648
664
|
setOptions as s
|
|
649
665
|
};
|
|
Binary file
|
|
@@ -1,244 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: import('./vue/dist/vue.esm-bundler.js').PropType<
|
|
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>;
|
|
1
|
+
import { KonnectioStyling } from '../types/index.js';
|
|
2
|
+
declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
accessToken: string;
|
|
4
|
+
eventLink?: string | undefined;
|
|
5
|
+
hotelLink?: string | undefined;
|
|
6
|
+
styling?: KonnectioStyling | undefined;
|
|
7
|
+
}>, {}, 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<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
accessToken: string;
|
|
9
|
+
eventLink?: string | undefined;
|
|
10
|
+
hotelLink?: string | undefined;
|
|
11
|
+
styling?: KonnectioStyling | undefined;
|
|
12
|
+
}>>>, {}, {}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('./vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('./vue/dist/vue.esm-bundler.js').PropType<T[K]>;
|
|
241
20
|
required: true;
|
|
242
21
|
};
|
|
243
|
-
}
|
|
244
|
-
export default _default;
|
|
22
|
+
};
|