@konnectio/core 4.0.53 → 4.0.55

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 (69) hide show
  1. package/dist/{ActionField-c57dc826.cjs → ActionField-087c3437.cjs} +1 -1
  2. package/dist/{ActionField-a8098e1b.js → ActionField-89f587d4.js} +7 -7
  3. package/dist/ActionField-89f587d4.js.br +0 -0
  4. package/dist/{AvailabilitySkeleton-00e9ed20.js → AvailabilitySkeleton-01aab3cb.js} +5 -5
  5. package/dist/AvailabilitySkeleton-01aab3cb.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-1689ccd0.cjs → AvailabilitySkeleton-452df88c.cjs} +1 -1
  7. package/dist/{CheckoutWindow-f9cd7561.cjs → CheckoutWindow-1d77f68c.cjs} +1 -1
  8. package/dist/{CheckoutWindow-ca95e6f3.js → CheckoutWindow-df8612e3.js} +1 -1
  9. package/dist/CheckoutWindow-df8612e3.js.br +0 -0
  10. package/dist/{Container-0b6c4829.cjs → Container-3af1f7f7.cjs} +1 -1
  11. package/dist/{Container-b2931bf7.js → Container-9f1ed24c.js} +1 -1
  12. package/dist/Container-9f1ed24c.js.br +0 -0
  13. package/dist/{DateField.vue_vue_type_style_index_0_lang-47f53da2.cjs → DateField.vue_vue_type_style_index_0_lang-b5676dde.cjs} +1 -1
  14. package/dist/{DateField.vue_vue_type_style_index_0_lang-20478ecc.js → DateField.vue_vue_type_style_index_0_lang-bbaed106.js} +1 -1
  15. package/dist/DateField.vue_vue_type_style_index_0_lang-bbaed106.js.br +0 -0
  16. package/dist/{Field-4d35e324.cjs → Field-43273ca2.cjs} +1 -1
  17. package/dist/{Field-b0f63dbd.js → Field-92684198.js} +2 -2
  18. package/dist/Field-92684198.js.br +0 -0
  19. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-1a214c17.cjs → NumberField.vue_vue_type_script_setup_true_lang-a149d388.cjs} +1 -1
  20. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js → NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js} +4 -4
  21. package/dist/NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js.br +0 -0
  22. package/dist/{SelectField.vue_vue_type_style_index_0_lang-6a191855.js → SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js} +11 -12
  23. package/dist/SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js.br +0 -0
  24. package/dist/{SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs → SelectField.vue_vue_type_style_index_0_lang-b1435f5a.cjs} +4 -4
  25. package/dist/{ThankYou-acd605eb.js → ThankYou-159b55d6.js} +451 -447
  26. package/dist/ThankYou-159b55d6.js.br +0 -0
  27. package/dist/{ThankYou-5d34bf4e.cjs → ThankYou-c1cbecac.cjs} +7 -7
  28. package/dist/{_-3d23ad37.js → _-52440760.js} +1 -1
  29. package/dist/{_-8f85509a.cjs → _-fbbc271a.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/components/inputs/grouped/ActionField.vue.d.ts +1 -1
  35. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +1 -1
  36. package/dist/components/listings/Base.vue.d.ts +1 -1
  37. package/dist/components/listings/Template.vue.d.ts +1 -1
  38. package/dist/components/side-panels/Template.vue.d.ts +1 -1
  39. package/dist/{event-3389dfd0.js → event-6cd5d9be.js} +7 -7
  40. package/dist/event-6cd5d9be.js.br +0 -0
  41. package/dist/{event-05a2242f.cjs → event-dfc9ed16.cjs} +1 -1
  42. package/dist/event.cjs +1 -1
  43. package/dist/event.js +8 -8
  44. package/dist/event.js.br +0 -0
  45. package/dist/gift-card-validation.cjs +1 -1
  46. package/dist/gift-card-validation.js +4 -4
  47. package/dist/gift-card-validation.js.br +0 -0
  48. package/dist/gift-card.cjs +1 -1
  49. package/dist/gift-card.js +6 -6
  50. package/dist/gift-card.js.br +0 -0
  51. package/dist/hotel.cjs +5 -8
  52. package/dist/hotel.js +1849 -2163
  53. package/dist/hotel.js.br +0 -0
  54. package/dist/polyfill.cjs +1 -1
  55. package/dist/polyfill.js +1 -1
  56. package/dist/polyfill.js.br +0 -0
  57. package/dist/style.css +1 -1
  58. package/dist/style.css.br +0 -0
  59. package/package.json +7 -7
  60. package/dist/ActionField-a8098e1b.js.br +0 -0
  61. package/dist/AvailabilitySkeleton-00e9ed20.js.br +0 -0
  62. package/dist/CheckoutWindow-ca95e6f3.js.br +0 -0
  63. package/dist/Container-b2931bf7.js.br +0 -0
  64. package/dist/DateField.vue_vue_type_style_index_0_lang-20478ecc.js.br +0 -0
  65. package/dist/Field-b0f63dbd.js.br +0 -0
  66. package/dist/NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js.br +0 -0
  67. package/dist/SelectField.vue_vue_type_style_index_0_lang-6a191855.js.br +0 -0
  68. package/dist/ThankYou-acd605eb.js.br +0 -0
  69. package/dist/event-3389dfd0.js.br +0 -0
@@ -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-6a191855.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-11cea6ba.js";
2
2
  function dt(e) {
3
3
  "@babel/helpers - typeof";
4
4
  return dt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -1 +1 @@
1
- "use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs"),l=require("./_-8f85509a.cjs"),o={key:0,class:"skeleton-field-label"},n={key:1},a=e.defineComponent({__name:"Field",props:{withIcon:{type:Boolean,default:!1},noLabel:{type:Boolean,default:!1},isTextArea:{type:Boolean,default:!1}},setup(i){return(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["skeleton-field",{"is-text-area":t.isTextArea}])},[t.noLabel?(e.openBlock(),e.createElementBlock("div",n)):(e.openBlock(),e.createElementBlock("div",o,[t.withIcon?(e.openBlock(),e.createBlock(l.Element,{key:0,height:"15px",width:"15px"})):e.createCommentVNode("",!0),e.createVNode(l.Element,{height:"15px",width:"30%"})])),e.createVNode(l.Element,{height:t.isTextArea?"82px":"44px",width:"100%","border-radius":"6px"},null,8,["height"])],2))}});const s=e._export_sfc(a,[["__scopeId","data-v-d3ba4545"]]);exports.Field=s;
1
+ "use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-b1435f5a.cjs"),l=require("./_-fbbc271a.cjs"),o={key:0,class:"skeleton-field-label"},n={key:1},a=e.defineComponent({__name:"Field",props:{withIcon:{type:Boolean,default:!1},noLabel:{type:Boolean,default:!1},isTextArea:{type:Boolean,default:!1}},setup(i){return(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["skeleton-field",{"is-text-area":t.isTextArea}])},[t.noLabel?(e.openBlock(),e.createElementBlock("div",n)):(e.openBlock(),e.createElementBlock("div",o,[t.withIcon?(e.openBlock(),e.createBlock(l.Element,{key:0,height:"15px",width:"15px"})):e.createCommentVNode("",!0),e.createVNode(l.Element,{height:"15px",width:"30%"})])),e.createVNode(l.Element,{height:t.isTextArea?"82px":"44px",width:"100%","border-radius":"6px"},null,8,["height"])],2))}});const s=e._export_sfc(a,[["__scopeId","data-v-d3ba4545"]]);exports.Field=s;
@@ -1,5 +1,5 @@
1
- import { k as l, m as t, v as a, n as i, x as n, p as o, y as d, _ as r } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
2
- import { E as s } from "./_-3d23ad37.js";
1
+ import { k as l, m as t, v as a, n as i, x as n, p as o, y as d, _ as r } from "./SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js";
2
+ import { E as s } from "./_-52440760.js";
3
3
  const p = {
4
4
  key: 0,
5
5
  class: "skeleton-field-label"
Binary file
@@ -1 +1 @@
1
- "use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs"),u=l.defineComponent({__name:"NumberField",props:{modelValue:{default:0},minValue:{default:0},maxValue:{default:1/0},inputtable:{type:Boolean,default:!0},label:{},placeholder:{},icon:{},iconColor:{},iconType:{default:"fal"},iconPlacement:{},step:{default:1},controls:{type:Boolean,default:!0},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},id:{},rounded:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},small:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(d,{emit:i}){const t=i,n=d,o=n.id||l.ranId();function a(e){t("update:modelValue",e)}return l.onMounted(()=>{n.modelValue||a(n.minValue)}),(e,r)=>(l.openBlock(),l.createBlock(l.InputField,{label:e.label,id:l.unref(o),icon:e.icon,"icon-color":e.iconColor,"icon-type":e.iconType,"icon-placement":e.iconPlacement,required:e.required,type:e.small?"fresh-booking-number-picker small":"fresh-booking-number-picker",readonly:e.readonly},{default:l.withCtx(()=>[l.createVNode(l.unref(l.script),{attrs:{id:l.unref(o)},modelValue:e.modelValue,min:e.minValue,max:e.maxValue,step:e.step,inline:e.inline,controls:e.controls,placeholder:e.placeholder,readonly:e.readonly,inputtable:e.inputtable,rounded:e.rounded,disabled:e.disabled,"onUpdate:modelValue":a},null,8,["attrs","modelValue","min","max","step","inline","controls","placeholder","readonly","inputtable","rounded","disabled"])]),_:1},8,["label","id","icon","icon-color","icon-type","icon-placement","required","type","readonly"]))}});exports._sfc_main=u;
1
+ "use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-b1435f5a.cjs"),u=l.defineComponent({__name:"NumberField",props:{modelValue:{default:0},minValue:{default:0},maxValue:{default:1/0},inputtable:{type:Boolean,default:!1},label:{},placeholder:{},icon:{},iconColor:{},iconType:{default:"fal"},iconPlacement:{},step:{default:1},controls:{type:Boolean,default:!0},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},id:{},rounded:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},small:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(d,{emit:i}){const t=i,n=d,o=n.id||l.ranId();function a(e){t("update:modelValue",e)}return l.onMounted(()=>{n.modelValue||a(n.minValue)}),(e,r)=>(l.openBlock(),l.createBlock(l.InputField,{label:e.label,id:l.unref(o),icon:e.icon,"icon-color":e.iconColor,"icon-type":e.iconType,"icon-placement":e.iconPlacement,required:e.required,type:e.small?"fresh-booking-number-picker small":"fresh-booking-number-picker",readonly:e.readonly},{default:l.withCtx(()=>[l.createVNode(l.unref(l.script),{attrs:{id:l.unref(o)},modelValue:e.modelValue,min:e.minValue,max:e.maxValue,step:e.step,inline:e.inline,controls:e.controls,placeholder:e.placeholder,readonly:e.readonly,inputtable:e.inputtable,rounded:e.rounded,disabled:e.disabled,"onUpdate:modelValue":a},null,8,["attrs","modelValue","min","max","step","inline","controls","placeholder","readonly","inputtable","rounded","disabled"])]),_:1},8,["label","id","icon","icon-color","icon-type","icon-placement","required","type","readonly"]))}});exports._sfc_main=u;
@@ -1,11 +1,11 @@
1
- import { k as r, l as u, o as p, m as s, n as m, w as f, p as c, q as a, t as y, I as b } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
1
+ import { k as r, l as u, o as s, m as p, n as m, w as f, p as c, q as a, t as y, I as b } from "./SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js";
2
2
  const h = /* @__PURE__ */ r({
3
3
  __name: "NumberField",
4
4
  props: {
5
5
  modelValue: { default: 0 },
6
6
  minValue: { default: 0 },
7
7
  maxValue: { default: 1 / 0 },
8
- inputtable: { type: Boolean, default: !0 },
8
+ inputtable: { type: Boolean, default: !1 },
9
9
  label: {},
10
10
  placeholder: {},
11
11
  icon: {},
@@ -28,9 +28,9 @@ const h = /* @__PURE__ */ r({
28
28
  function n(e) {
29
29
  t("update:modelValue", e);
30
30
  }
31
- return p(() => {
31
+ return s(() => {
32
32
  l.modelValue || n(l.minValue);
33
- }), (e, V) => (s(), m(b, {
33
+ }), (e, V) => (p(), m(b, {
34
34
  label: e.label,
35
35
  id: a(o),
36
36
  icon: e.icon,
@@ -12647,7 +12647,7 @@ function _O(e) {
12647
12647
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
12648
12648
  }
12649
12649
  function EO(e, t) {
12650
- return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
12650
+ return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
12651
12651
  }
12652
12652
  function p4(e, t) {
12653
12653
  return e && !_O(t) ? EO(e, t) : t;
@@ -12929,7 +12929,7 @@ function to(e, t) {
12929
12929
  fe.isUndefined(f) && c !== s || (n[d] = f);
12930
12930
  }), n;
12931
12931
  }
12932
- const g4 = "1.6.2", X1 = {};
12932
+ const g4 = "1.6.3", X1 = {};
12933
12933
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
12934
12934
  X1[e] = function(r) {
12935
12935
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -13317,8 +13317,7 @@ function zO(e, t, n = {}) {
13317
13317
  ), pause: o, resume: s, isActive: l };
13318
13318
  }
13319
13319
  function $O(e, t = !0, n) {
13320
- const r = VO(n);
13321
- r ? Yn(e, r) : t ? e() : Kn(e);
13320
+ VO() ? Yn(e, n) : t ? e() : Kn(e);
13322
13321
  }
13323
13322
  function UO(e) {
13324
13323
  var t;
@@ -15394,7 +15393,7 @@ const sw = ga("applyGiftCard", () => {
15394
15393
  headers: {
15395
15394
  Authorization: t.value,
15396
15395
  Accept: "application/json",
15397
- "Fresh-Booking-Ver": "4.0.53"
15396
+ "Fresh-Booking-Ver": "4.0.55"
15398
15397
  }
15399
15398
  }).then((d) => {
15400
15399
  const {
@@ -15672,7 +15671,7 @@ const sw = ga("applyGiftCard", () => {
15672
15671
  headers: {
15673
15672
  Authorization: y.value,
15674
15673
  Accept: "application/json",
15675
- "Fresh-Booking-Ver": "4.0.53"
15674
+ "Fresh-Booking-Ver": "4.0.55"
15676
15675
  }
15677
15676
  })).data;
15678
15677
  p.value = we;
@@ -15700,7 +15699,7 @@ const sw = ga("applyGiftCard", () => {
15700
15699
  headers: {
15701
15700
  Authorization: y.value,
15702
15701
  Accept: "application/json",
15703
- "Konnectio-Ver": "4.0.53"
15702
+ "Konnectio-Ver": "4.0.55"
15704
15703
  }
15705
15704
  });
15706
15705
  Pe.status !== 200 ? i({
@@ -15788,7 +15787,7 @@ const sw = ga("applyGiftCard", () => {
15788
15787
  headers: {
15789
15788
  Authorization: y.value,
15790
15789
  Accept: "application/json",
15791
- "Konnectio-Ver": "4.0.53"
15790
+ "Konnectio-Ver": "4.0.55"
15792
15791
  }
15793
15792
  }).then((we) => {
15794
15793
  Bt.value = !1;
@@ -15816,7 +15815,7 @@ const sw = ga("applyGiftCard", () => {
15816
15815
  headers: {
15817
15816
  Authorization: y.value,
15818
15817
  Accept: "application/json",
15819
- "Konnectio-Ver": "4.0.53"
15818
+ "Konnectio-Ver": "4.0.55"
15820
15819
  }
15821
15820
  }).then((Pe) => {
15822
15821
  P.value = !1, S.value = !1, t.pay({
@@ -16237,7 +16236,7 @@ const io = ga("utilities", () => {
16237
16236
  headers: {
16238
16237
  Authorization: ie.value,
16239
16238
  Accept: "application/json",
16240
- "Fresh-Booking-Ver": "4.0.53"
16239
+ "Fresh-Booking-Ver": "4.0.55"
16241
16240
  }
16242
16241
  })).data;
16243
16242
  o.value = Q, Q.hotelId && (isNaN(a.value) ? a.value = Q.hotelId : a.value !== Q.hotelId && (r(), a.value = Q.hotelId), isNaN(n.value) && Q.hotelId && (n.value = Q.hotelId));
@@ -16254,7 +16253,7 @@ const io = ga("utilities", () => {
16254
16253
  headers: {
16255
16254
  Authorization: ie.value,
16256
16255
  Accept: "application/json",
16257
- "Fresh-Booking-Ver": "4.0.53"
16256
+ "Fresh-Booking-Ver": "4.0.55"
16258
16257
  }
16259
16258
  }).then((ee) => {
16260
16259
  const { settings: Q, translations: oe } = ee.data;
@@ -16269,7 +16268,7 @@ const io = ga("utilities", () => {
16269
16268
  params: { token: le },
16270
16269
  headers: {
16271
16270
  Authorization: ie.value,
16272
- "Konnectio-Core-Ver": "4.0.53"
16271
+ "Konnectio-Core-Ver": "4.0.55"
16273
16272
  }
16274
16273
  })).data.success === !0 ? Q() : t({
16275
16274
  message: je.t("Robot guy"),