@konnectio/core 4.11.6 → 4.11.8

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 (98) hide show
  1. package/dist/{ActionField-D0NC9kCV.js → ActionField-BOn_Qlxz.js} +2 -2
  2. package/dist/ActionField-BOn_Qlxz.js.br +0 -0
  3. package/dist/ActionField-BOn_Qlxz.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-1WBbYV8Q.js → AvailabilitySkeleton-1WQ-fxlv.js} +2 -2
  5. package/dist/AvailabilitySkeleton-1WQ-fxlv.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-1WQ-fxlv.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BV5xGJ7l.js → CheckoutWindow-CTjzJzel.js} +3 -2
  8. package/dist/CheckoutWindow-CTjzJzel.js.br +0 -0
  9. package/dist/CheckoutWindow-CTjzJzel.js.gz +0 -0
  10. package/dist/{ErrorMessage-C4xDk8I3.js → ErrorMessage-hK-htmse.js} +1 -1
  11. package/dist/ErrorMessage-hK-htmse.js.br +0 -0
  12. package/dist/ErrorMessage-hK-htmse.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-VjQo7utE.js → EventAvailabilityForm-BV5Kr3VS.js} +2 -2
  14. package/dist/EventAvailabilityForm-BV5Kr3VS.js.br +0 -0
  15. package/dist/EventAvailabilityForm-BV5Kr3VS.js.gz +0 -0
  16. package/dist/{Field-ZbJtKg-L.js → Field-CdvGTHg8.js} +1 -1
  17. package/dist/Field-CdvGTHg8.js.br +0 -0
  18. package/dist/Field-CdvGTHg8.js.gz +0 -0
  19. package/dist/{HotelAvailabilityForm-DQ1Cp0MX.js → HotelAvailabilityForm-BAsNRNt5.js} +2 -2
  20. package/dist/HotelAvailabilityForm-BAsNRNt5.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-BAsNRNt5.js.gz +0 -0
  22. package/dist/{SelectField-bDg97Qlf.js → SelectField-CzIobCo-.js} +402 -392
  23. package/dist/SelectField-CzIobCo-.js.br +0 -0
  24. package/dist/{SelectField-bDg97Qlf.js.gz → SelectField-CzIobCo-.js.gz} +0 -0
  25. package/dist/{TermsOfService-J0sVmrZH.js → TermsOfService-BMPfzs-e.js} +2 -2
  26. package/dist/TermsOfService-BMPfzs-e.js.br +0 -0
  27. package/dist/TermsOfService-BMPfzs-e.js.gz +0 -0
  28. package/dist/{_-NKJ8Lr9C.js → _-Ds-HqyUA.js} +1 -1
  29. package/dist/_-Ds-HqyUA.js.br +0 -0
  30. package/dist/_-Ds-HqyUA.js.gz +0 -0
  31. package/dist/availability.js +7 -7
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +4 -4
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/{dist-COxekGEZ.js → dist-BACWWCM3.js} +94 -39
  41. package/dist/dist-BACWWCM3.js.br +0 -0
  42. package/dist/dist-BACWWCM3.js.gz +0 -0
  43. package/dist/{dist-B-VFdvV1.js → dist-Cizgfyqf.js} +2 -2
  44. package/dist/dist-Cizgfyqf.js.br +0 -0
  45. package/dist/{dist-B-VFdvV1.js.gz → dist-Cizgfyqf.js.gz} +0 -0
  46. package/dist/event.js +8 -8
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +7 -7
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +9 -9
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-CpSDK_4Y.js → giftCard-DduNfxpq.js} +1 -1
  56. package/dist/giftCard-DduNfxpq.js.br +0 -0
  57. package/dist/giftCard-DduNfxpq.js.gz +0 -0
  58. package/dist/hotel.js +1469 -1402
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/polyfill.js +1 -1
  62. package/dist/polyfill.js.br +0 -0
  63. package/dist/polyfill.js.gz +0 -0
  64. package/dist/{style-BRuBp3Jt.js → style-D4SV3mWm.js} +1 -1
  65. package/dist/style-D4SV3mWm.js.br +0 -0
  66. package/dist/style-D4SV3mWm.js.gz +0 -0
  67. package/dist-wix/availability.js +7 -7
  68. package/dist-wix/event.js +6 -6
  69. package/dist-wix/gift-card-validation.js +5 -5
  70. package/dist-wix/gift-card.js +8 -8
  71. package/dist-wix/hotel.js +6 -6
  72. package/package.json +1 -1
  73. package/dist/ActionField-D0NC9kCV.js.br +0 -0
  74. package/dist/ActionField-D0NC9kCV.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-1WBbYV8Q.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-1WBbYV8Q.js.gz +0 -0
  77. package/dist/CheckoutWindow-BV5xGJ7l.js.br +0 -0
  78. package/dist/CheckoutWindow-BV5xGJ7l.js.gz +0 -0
  79. package/dist/ErrorMessage-C4xDk8I3.js.br +0 -0
  80. package/dist/ErrorMessage-C4xDk8I3.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-VjQo7utE.js.br +0 -0
  82. package/dist/EventAvailabilityForm-VjQo7utE.js.gz +0 -0
  83. package/dist/Field-ZbJtKg-L.js.br +0 -0
  84. package/dist/Field-ZbJtKg-L.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-DQ1Cp0MX.js.br +0 -0
  86. package/dist/HotelAvailabilityForm-DQ1Cp0MX.js.gz +0 -0
  87. package/dist/SelectField-bDg97Qlf.js.br +0 -0
  88. package/dist/TermsOfService-J0sVmrZH.js.br +0 -0
  89. package/dist/TermsOfService-J0sVmrZH.js.gz +0 -0
  90. package/dist/_-NKJ8Lr9C.js.br +0 -0
  91. package/dist/_-NKJ8Lr9C.js.gz +0 -0
  92. package/dist/dist-B-VFdvV1.js.br +0 -0
  93. package/dist/dist-COxekGEZ.js.br +0 -0
  94. package/dist/dist-COxekGEZ.js.gz +0 -0
  95. package/dist/giftCard-CpSDK_4Y.js.br +0 -0
  96. package/dist/giftCard-CpSDK_4Y.js.gz +0 -0
  97. package/dist/style-BRuBp3Jt.js.br +0 -0
  98. package/dist/style-BRuBp3Jt.js.gz +0 -0
package/dist/core.css.br CHANGED
Binary file
package/dist/core.css.gz CHANGED
Binary file
@@ -1,8 +1,8 @@
1
1
  import { $ as onUnmounted, A as computed$2, At as normalizeStyle, B as getCurrentInstance, Dt as unref, E as Fragment, F as createSlots, G as mergeModels, H as h, I as createTextVNode, L as createVNode, M as createBlock, N as createCommentVNode, Ot as normalizeClass, P as createElementBlock, Q as onMounted, S as vShow, T as Comment, Y as onBeforeUnmount, _t as isRef, a as useI18n, at as resolveDirective, et as openBlock, ft as watch, g as Transition, h as storeToRefs, ht as withDirectives, it as resolveComponent, j as createBaseVNode, jt as toDisplayString, k as Text, l as useEventBus, lt as useModel, mt as withCtx, nt as renderList, q as nextTick, rt as renderSlot, ut as useSlots, w as withModifiers, xt as ref, yt as reactive, z as defineComponent } from "./i18n-Dq3VKG7w.js";
2
- import { $ as showPrice, A as useApplyGiftCardStore, E as useHotelStore, F as capitalized, G as getUserLanguage, I as convertDescription, L as daysBetweenDates, O as ScrollToTop, S as useEventStore, X as showDate, b as _plugin_vue_export_helper_default, g as Clickable_default, h as InputField_default, k as usePaymentStore, n as TextField_default, nt as BookingHeaderLayout, rt as BookingLayout, w as useUtilityStore, x as useAvailabilityStore, y as Icon_default } from "./SelectField-bDg97Qlf.js";
3
- import { n as __default } from "./Field-ZbJtKg-L.js";
4
- import { t as ActionField_default } from "./ActionField-D0NC9kCV.js";
5
- import { i as Checkbox_default, o as Base_default$1, r as GoogleNotice_default } from "./CheckoutWindow-BV5xGJ7l.js";
2
+ import { $ as showPrice, A as useApplyGiftCardStore, E as useHotelStore, F as capitalized, G as getUserLanguage, I as convertDescription, L as daysBetweenDates, O as ScrollToTop, S as useEventStore, X as showDate, b as _plugin_vue_export_helper_default, g as Clickable_default, h as InputField_default, k as usePaymentStore, n as TextField_default, nt as BookingHeaderLayout, rt as BookingLayout, w as useUtilityStore, x as useAvailabilityStore, y as Icon_default } from "./SelectField-CzIobCo-.js";
3
+ import { n as __default } from "./Field-CdvGTHg8.js";
4
+ import { t as ActionField_default } from "./ActionField-BOn_Qlxz.js";
5
+ import { i as Checkbox_default, o as Base_default$1, r as GoogleNotice_default } from "./CheckoutWindow-CTjzJzel.js";
6
6
  // node_modules/@egjs/component/dist/component.esm.js
7
7
  function __values(e) {
8
8
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
@@ -5929,7 +5929,7 @@ var _hoisted_1$10 = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
5929
5929
  ])], 2);
5930
5930
  };
5931
5931
  }
5932
- }), Base_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Base_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-77488fd2"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, CheckboxField_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
5932
+ }), Base_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Base_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-1d942220"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, CheckboxField_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
5933
5933
  __name: "CheckboxField",
5934
5934
  props: {
5935
5935
  modelValue: {},
@@ -6465,14 +6465,31 @@ var _hoisted_1$3 = {
6465
6465
  id: "konnectio-reservation-layout-mobile",
6466
6466
  "sticky-offset": "{ bottom: 10, top: 0 }",
6467
6467
  "sticky-side": "bottom",
6468
- "sticky-z-index": "2147483647"
6469
- }, _hoisted_27 = { id: "konnectio-reservation-layout-mobile-inner" }, _hoisted_28 = { id: "konnectio-reservation-layout-mobile-inner-content" }, _hoisted_29 = { id: "konnectio-reservation-layout-mobile-total-price" }, _hoisted_30 = ["title"], _hoisted_31 = { id: "konnectio-reservation-layout-mobile-under-price" }, _hoisted_32 = {
6468
+ "sticky-z-index": "2147483646"
6469
+ }, _hoisted_27 = { id: "konnectio-reservation-layout-mobile-inner" }, _hoisted_28 = [
6470
+ "disabled",
6471
+ "aria-expanded",
6472
+ "aria-controls"
6473
+ ], _hoisted_29 = { id: "konnectio-reservation-layout-mobile-total-price" }, _hoisted_30 = ["title"], _hoisted_31 = {
6474
+ key: 0,
6475
+ id: "konnectio-reservation-layout-mobile-under-price"
6476
+ }, _hoisted_32 = {
6470
6477
  key: 0,
6471
6478
  id: "konnectio-reservation-layout-mobile-rooms"
6472
6479
  }, _hoisted_33 = {
6473
6480
  key: 1,
6481
+ class: "konnectio-reservation-layout-mobile-chevron",
6482
+ "aria-hidden": "true"
6483
+ }, _hoisted_34 = { id: "konnectio-reservation-layout-mobile-details" }, _hoisted_35 = {
6484
+ key: 0,
6485
+ class: "konnectio-reservation-layout-mobile-lines"
6486
+ }, _hoisted_36 = {
6487
+ id: "konnectio-reservation-layout-mobile-price-lines",
6488
+ class: "konnectio-reservation-layout-mobile-lines"
6489
+ }, _hoisted_37 = { key: 0 }, _hoisted_38 = { key: 1 }, _hoisted_39 = { key: 2 }, _hoisted_40 = { key: 3 }, _hoisted_41 = {
6490
+ key: 0,
6474
6491
  id: "konnectio-reservation-layout-mobile-action"
6475
- }, _hoisted_34 = { id: "konnectio-reservation-layout-powered-by" }, ReservationForm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
6492
+ }, _hoisted_42 = { id: "konnectio-reservation-layout-powered-by" }, ReservationForm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
6476
6493
  __name: "ReservationForm",
6477
6494
  props: /*@__PURE__*/ mergeModels({
6478
6495
  showTermsNotice: {
@@ -6495,6 +6512,10 @@ var _hoisted_1$3 = {
6495
6512
  type: Boolean,
6496
6513
  default: !1
6497
6514
  },
6515
+ mobileDetailsAvailable: {
6516
+ type: Boolean,
6517
+ default: !1
6518
+ },
6498
6519
  totalPrice: {},
6499
6520
  basePrice: { default: 0 },
6500
6521
  weekendFee: { default: 0 },
@@ -6517,24 +6538,24 @@ var _hoisted_1$3 = {
6517
6538
  }),
6518
6539
  emits: ["update:discountCode"],
6519
6540
  setup(e) {
6520
- let { t } = useI18n(), { disableGiftCardVoucher: n, disableDiscountVoucher: r, selectGiftCardAsDefault: i, isRecaptchaEnabled: s, currency: l, enableStickyHeader: u, headerHeight: d } = storeToRefs(useUtilityStore()), { amount: f, voucher: p, isLoading: m } = storeToRefs(useApplyGiftCardStore()), { apply: g, reset: _ } = useApplyGiftCardStore(), v = useSlots(), y = useModel(e, "discountCode"), b = e, x = computed$2(() => b.basePrice - b.weekendFee - b.roomUpgrade), S = ref("discount"), C = computed$2(() => S.value === "discount"), w = computed$2(() => S.value === "gift-card"), T = computed$2(() => !r.value), E = computed$2(() => b.showGiftCard && !n.value), D = computed$2(() => !b.dealFlow && (T.value || E.value)), O = computed$2(() => T.value && E.value), k = (e) => {
6521
- S.value = e;
6541
+ let { t } = useI18n(), { disableGiftCardVoucher: n, disableDiscountVoucher: r, selectGiftCardAsDefault: i, isRecaptchaEnabled: s, currency: l, enableStickyHeader: u, headerHeight: d } = storeToRefs(useUtilityStore()), { amount: f, voucher: p, isLoading: m } = storeToRefs(useApplyGiftCardStore()), { apply: g, reset: _ } = useApplyGiftCardStore(), v = useSlots(), y = useModel(e, "discountCode"), b = e, x = computed$2(() => b.basePrice - b.weekendFee - b.roomUpgrade), S = ref(!1), C = computed$2(() => b.mobileDetailsAvailable || x.value > 0 || b.weekendFee > 0 || b.roomUpgrade > 0 || f.value !== 0), w = ref("discount"), T = computed$2(() => w.value === "discount"), E = computed$2(() => w.value === "gift-card"), D = computed$2(() => !r.value), O = computed$2(() => b.showGiftCard && !n.value), k = computed$2(() => !b.dealFlow && (D.value || O.value)), A = computed$2(() => D.value && O.value), j = (e) => {
6542
+ w.value = e;
6522
6543
  };
6523
6544
  onMounted(() => {
6524
- (!T.value && E.value || i.value && E.value) && k("gift-card");
6545
+ (!D.value && O.value || i.value && O.value) && j("gift-card");
6525
6546
  });
6526
- let A = ref("");
6527
- function j() {
6528
- A.value.trim() !== "" && b.onApplyAvailabilityDiscount?.(A.value.trim());
6547
+ let M = ref("");
6548
+ function N() {
6549
+ M.value.trim() !== "" && b.onApplyAvailabilityDiscount?.(M.value.trim());
6529
6550
  }
6530
- function M() {
6531
- A.value = "", b.onClearAvailabilityDiscount?.();
6551
+ function P() {
6552
+ M.value = "", b.onClearAvailabilityDiscount?.();
6532
6553
  }
6533
6554
  return (n, r) => {
6534
6555
  let b = resolveDirective("sticky");
6535
6556
  return openBlock(), createElementBlock("div", _hoisted_1$3, [createBaseVNode("div", {
6536
6557
  id: "konnectio-reservation-layout-content",
6537
- class: normalizeClass([{ "hide-aside-on-mobile": !unref(v).sidebar }, { "show-additional": e.notice || D.value }])
6558
+ class: normalizeClass([{ "hide-aside-on-mobile": !unref(v).sidebar }, { "show-additional": e.notice || k.value }])
6538
6559
  }, [
6539
6560
  createBaseVNode("div", _hoisted_2$2, [createBaseVNode("form", null, [renderSlot(n.$slots, "form")])]),
6540
6561
  createBaseVNode("aside", {
@@ -6580,21 +6601,21 @@ var _hoisted_1$3 = {
6580
6601
  onClickEvent: e.prevCallback
6581
6602
  }, null, 8, ["label", "onClickEvent"]))
6582
6603
  ])]),
6583
- D.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [createBaseVNode("div", _hoisted_17$1, [O.value ? (openBlock(), createElementBlock("nav", {
6604
+ k.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [createBaseVNode("div", _hoisted_17$1, [A.value ? (openBlock(), createElementBlock("nav", {
6584
6605
  key: 0,
6585
6606
  class: normalizeClass(["konnectio-reservation-discount-navigation", { "konnectio-swap-positions": unref(i) }])
6586
6607
  }, [createBaseVNode("ul", null, [createBaseVNode("li", null, [createBaseVNode("button", {
6587
- class: normalizeClass({ active: C.value }),
6588
- onClick: r[1] ||= withModifiers((e) => k("discount"), ["prevent"])
6608
+ class: normalizeClass({ active: T.value }),
6609
+ onClick: r[1] ||= withModifiers((e) => j("discount"), ["prevent"])
6589
6610
  }, [createBaseVNode("span", null, toDisplayString(unref(t)("general.discountCode")), 1)], 2)]), createBaseVNode("li", null, [createBaseVNode("button", {
6590
- class: normalizeClass({ active: w.value }),
6591
- onClick: r[2] ||= withModifiers((e) => k("gift-card"), ["prevent"])
6592
- }, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.reservation.giftCardCode")), 1)], 2)])])], 2)) : (openBlock(), createElementBlock("h5", _hoisted_18$1, [T.value ? (openBlock(), createElementBlock("span", _hoisted_19$1, toDisplayString(unref(t)("general.discountCode")), 1)) : (openBlock(), createElementBlock("span", _hoisted_20$1, toDisplayString(unref(t)("booking.reservation.giftCardCode")), 1))])), createBaseVNode("div", _hoisted_21$1, [createVNode(Transition, {
6611
+ class: normalizeClass({ active: E.value }),
6612
+ onClick: r[2] ||= withModifiers((e) => j("gift-card"), ["prevent"])
6613
+ }, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.reservation.giftCardCode")), 1)], 2)])])], 2)) : (openBlock(), createElementBlock("h5", _hoisted_18$1, [D.value ? (openBlock(), createElementBlock("span", _hoisted_19$1, toDisplayString(unref(t)("general.discountCode")), 1)) : (openBlock(), createElementBlock("span", _hoisted_20$1, toDisplayString(unref(t)("booking.reservation.giftCardCode")), 1))])), createBaseVNode("div", _hoisted_21$1, [createVNode(Transition, {
6593
6614
  name: "fade",
6594
6615
  mode: "out-in",
6595
6616
  appear: ""
6596
6617
  }, {
6597
- default: withCtx(() => [C.value && e.availabilityDiscount && e.guestDiscountCode ? (openBlock(), createBlock(ActionField_default, {
6618
+ default: withCtx(() => [T.value && e.availabilityDiscount && e.guestDiscountCode ? (openBlock(), createBlock(ActionField_default, {
6598
6619
  key: 0,
6599
6620
  "model-value": e.guestDiscountCode,
6600
6621
  icon: "tags",
@@ -6603,18 +6624,18 @@ var _hoisted_1$3 = {
6603
6624
  action: "success",
6604
6625
  secondary: !0,
6605
6626
  readonly: "",
6606
- onAction: r[3] ||= (e) => M()
6607
- }, null, 8, ["model-value", "placeholder"])) : C.value && e.availabilityDiscount ? (openBlock(), createBlock(ActionField_default, {
6627
+ onAction: r[3] ||= (e) => P()
6628
+ }, null, 8, ["model-value", "placeholder"])) : T.value && e.availabilityDiscount ? (openBlock(), createBlock(ActionField_default, {
6608
6629
  key: 1,
6609
- modelValue: A.value,
6610
- "onUpdate:modelValue": r[4] ||= (e) => A.value = e,
6630
+ modelValue: M.value,
6631
+ "onUpdate:modelValue": r[4] ||= (e) => M.value = e,
6611
6632
  icon: "tags",
6612
6633
  "button-icon": "paper-plane-top",
6613
6634
  placeholder: unref(t)("general.discountCodePlaceholder"),
6614
6635
  action: "success",
6615
6636
  secondary: !0,
6616
- onAction: r[5] ||= (e) => j()
6617
- }, null, 8, ["modelValue", "placeholder"])) : C.value && e.appliedDiscountCode ? (openBlock(), createBlock(ActionField_default, {
6637
+ onAction: r[5] ||= (e) => N()
6638
+ }, null, 8, ["modelValue", "placeholder"])) : T.value && e.appliedDiscountCode ? (openBlock(), createBlock(ActionField_default, {
6618
6639
  key: 2,
6619
6640
  "model-value": e.appliedDiscountCode,
6620
6641
  icon: "tags",
@@ -6624,7 +6645,7 @@ var _hoisted_1$3 = {
6624
6645
  secondary: !0,
6625
6646
  readonly: "",
6626
6647
  onAction: r[6] ||= (t) => e.onResetDiscountCode?.()
6627
- }, null, 8, ["model-value", "placeholder"])) : C.value ? (openBlock(), createBlock(ActionField_default, {
6648
+ }, null, 8, ["model-value", "placeholder"])) : T.value ? (openBlock(), createBlock(ActionField_default, {
6628
6649
  key: 3,
6629
6650
  modelValue: y.value,
6630
6651
  "onUpdate:modelValue": r[7] ||= (e) => y.value = e,
@@ -6639,7 +6660,7 @@ var _hoisted_1$3 = {
6639
6660
  "modelValue",
6640
6661
  "placeholder",
6641
6662
  "is-loading"
6642
- ])) : w.value && E.value ? (openBlock(), createBlock(ActionField_default, {
6663
+ ])) : E.value && O.value ? (openBlock(), createBlock(ActionField_default, {
6643
6664
  key: 4,
6644
6665
  modelValue: unref(p),
6645
6666
  "onUpdate:modelValue": r[9] ||= (e) => isRef(p) ? p.value = e : null,
@@ -6662,10 +6683,44 @@ var _hoisted_1$3 = {
6662
6683
  }, 8, ["top-spacing"])], 6),
6663
6684
  createBaseVNode("div", _hoisted_24, [
6664
6685
  unref(s) ? (openBlock(), createElementBlock("div", _hoisted_25, [createVNode(GoogleNotice_default)])) : createCommentVNode("", !0),
6665
- unref(v).sidebar ? createCommentVNode("", !0) : withDirectives((openBlock(), createElementBlock("div", _hoisted_26, [createBaseVNode("div", null, [createBaseVNode("div", _hoisted_27, [createBaseVNode("div", _hoisted_28, [
6666
- createBaseVNode("div", _hoisted_29, [createBaseVNode("h3", { title: unref(t)("booking.reservation.totalPrice") }, [createBaseVNode("u", null, toDisplayString(unref(showPrice)(e.totalPrice, unref(l))), 1)], 8, _hoisted_30), createBaseVNode("div", _hoisted_31, [renderSlot(n.$slots, "mobile-under-price")])]),
6667
- unref(v)["mobile-summary"] ? (openBlock(), createElementBlock("div", _hoisted_32, [renderSlot(n.$slots, "mobile-summary")])) : createCommentVNode("", !0),
6668
- unref(v).navigation ? (openBlock(), createElementBlock("div", _hoisted_33, [
6686
+ unref(v).sidebar ? createCommentVNode("", !0) : withDirectives((openBlock(), createElementBlock("div", _hoisted_26, [createBaseVNode("div", null, [createBaseVNode("div", _hoisted_27, [
6687
+ createBaseVNode("button", {
6688
+ id: "konnectio-reservation-layout-mobile-toggle",
6689
+ type: "button",
6690
+ disabled: !C.value,
6691
+ "aria-expanded": S.value ? "true" : "false",
6692
+ "aria-controls": C.value ? "konnectio-reservation-layout-mobile-details" : void 0,
6693
+ onClick: r[11] ||= withModifiers((e) => S.value = !S.value, ["prevent"])
6694
+ }, [
6695
+ createBaseVNode("span", _hoisted_29, [createBaseVNode("b", {
6696
+ class: "konnectio-reservation-layout-mobile-price-value",
6697
+ title: unref(t)("booking.reservation.totalPrice")
6698
+ }, [createBaseVNode("u", null, toDisplayString(unref(showPrice)(e.totalPrice, unref(l))), 1)], 8, _hoisted_30), unref(v)["mobile-under-price"] ? (openBlock(), createElementBlock("span", _hoisted_31, [renderSlot(n.$slots, "mobile-under-price")])) : createCommentVNode("", !0)]),
6699
+ unref(v)["mobile-summary"] ? (openBlock(), createElementBlock("span", _hoisted_32, [renderSlot(n.$slots, "mobile-summary")])) : createCommentVNode("", !0),
6700
+ C.value ? (openBlock(), createElementBlock("span", _hoisted_33, [createVNode(Icon_default, {
6701
+ icon: "chevron-down",
6702
+ rotate: S.value
6703
+ }, null, 8, ["rotate"])])) : createCommentVNode("", !0)
6704
+ ], 8, _hoisted_28),
6705
+ withDirectives(createBaseVNode("div", _hoisted_34, [
6706
+ createBaseVNode("h5", null, [createBaseVNode("span", null, toDisplayString(unref(t)("general.reservationSummary")), 1)]),
6707
+ unref(v)["mobile-details"] ? (openBlock(), createElementBlock("ul", _hoisted_35, [renderSlot(n.$slots, "mobile-details")])) : createCommentVNode("", !0),
6708
+ renderSlot(n.$slots, "mobile-selection"),
6709
+ createBaseVNode("ul", _hoisted_36, [
6710
+ x.value > 0 ? (openBlock(), createElementBlock("li", _hoisted_37, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.availability.basePrice")), 1), createBaseVNode("b", null, toDisplayString(unref(showPrice)(x.value, unref(l))), 1)])) : createCommentVNode("", !0),
6711
+ e.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_38, [createBaseVNode("span", null, toDisplayString(unref(t)("general.weekendFee")), 1), createBaseVNode("b", null, toDisplayString(unref(showPrice)(e.weekendFee, unref(l))), 1)])) : createCommentVNode("", !0),
6712
+ e.roomUpgrade > 0 ? (openBlock(), createElementBlock("li", _hoisted_39, [createBaseVNode("span", null, toDisplayString(unref(t)("general.roomUpgrade")), 1), createBaseVNode("b", null, toDisplayString(unref(showPrice)(e.roomUpgrade, unref(l))), 1)])) : createCommentVNode("", !0),
6713
+ unref(f) === 0 ? createCommentVNode("", !0) : (openBlock(), createElementBlock("li", _hoisted_40, [createBaseVNode("span", null, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.reservation.giftCardDiscount")), 1), createBaseVNode("a", {
6714
+ class: "resume-item-remove",
6715
+ onClick: r[12] ||= withModifiers((e) => unref(_)(), ["prevent"])
6716
+ }, [createVNode(Icon_default, {
6717
+ icon: "times",
6718
+ type: "fas",
6719
+ "icon-color": "#ff0000"
6720
+ })])]), createBaseVNode("b", null, [createBaseVNode("span", null, toDisplayString(unref(showPrice)(-unref(f), unref(l))), 1)])]))
6721
+ ])
6722
+ ], 512), [[vShow, S.value && C.value]]),
6723
+ unref(v).navigation ? (openBlock(), createElementBlock("div", _hoisted_41, [
6669
6724
  renderSlot(n.$slots, "navigation"),
6670
6725
  e.prevCallback === void 0 ? createCommentVNode("", !0) : (openBlock(), createBlock(Clickable_default, {
6671
6726
  key: 0,
@@ -6676,13 +6731,13 @@ var _hoisted_1$3 = {
6676
6731
  }, null, 8, ["label", "onClickEvent"])),
6677
6732
  unref(v).actions && e.showTermsNotice ? renderSlot(n.$slots, "actions", {}, void 0, void 0, 1) : createCommentVNode("", !0)
6678
6733
  ])) : createCommentVNode("", !0)
6679
- ])])])])), [[b]]),
6680
- createBaseVNode("div", _hoisted_34, [createVNode(PoweredByKonnectio_default)])
6734
+ ])])])), [[b]]),
6735
+ createBaseVNode("div", _hoisted_42, [createVNode(PoweredByKonnectio_default)])
6681
6736
  ])
6682
6737
  ], 2)]);
6683
6738
  };
6684
6739
  }
6685
- }), ReservationForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ReservationForm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-54056ced"]]), _hoisted_1$2 = {
6740
+ }), ReservationForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ReservationForm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-15323297"]]), _hoisted_1$2 = {
6686
6741
  id: "konnectio-confirmation",
6687
6742
  class: "konnectio-panel"
6688
6743
  }, _hoisted_2$1 = { id: "konnectio-confirmation-introduction" }, _hoisted_3$1 = { id: "konnectio-confirmation-title" }, _hoisted_4$1 = ["innerHTML"], _hoisted_5$1 = { class: "konnectio-order-panel" }, _hoisted_6$1 = { class: "konnectio-order-lines" }, _hoisted_7$1 = { key: 0 }, _hoisted_8$1 = { class: "konnectio-order-panel" }, _hoisted_9 = { class: "konnectio-order-lines" }, _hoisted_10 = { key: 0 }, _hoisted_11 = { key: 1 }, _hoisted_12 = { key: 2 }, _hoisted_13 = {
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  import { r as e, t } from "./rolldown-runtime-QGRDbDUS.js";
2
2
  import { B as n, Z as r, ft as i, xt as a, z as o } from "./i18n-Dq3VKG7w.js";
3
3
  // node_modules/@flareapp/core/dist/urlAttributes-CaF6sZNP.mjs
4
- var s = "2.13.0", c = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", l = "\"4.11.6\"";
4
+ var s = "2.13.0", c = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", l = "\"4.11.8\"";
5
5
  function u(e, t, n) {
6
6
  return n && !e && console.error(`Flare JavaScript client v${s}: ${t}`), !!e;
7
7
  }
@@ -3167,7 +3167,7 @@ var ga = new class extends Rt {
3167
3167
  typeof window < "u" && window && (window.flare = ga, ha());
3168
3168
  // src/plugins/flare.ts
3169
3169
  var _a = /* @__PURE__ */ "fancybox,jQuery,Modernizr,cssua,ScrollTrigger,calcSelectArrowDimensions,this.elements.$menu.smartmenus,woocommerce,elementor,avadaAddQuantityBoxes,fusion,FLBuilderAccordion,_initLayerSlider,Divi,gsap,Swiper,mailchimp,_AutofillCallbackHandler,$(...),imagesLoaded,masonry,accessing a cross-origin frame,scrollspy,No layout mode: packery,Vimeo,Network Error,Request aborted,timeout exceeded,Loading chunk,TrackerStorageType,Failed to load because no supported source was found.,The element has no supported sources.,grecaptcha,reCAPTCHA Timeout,lightbox,priceCalcElement,AwesomeMenu,breakdance,Maximum call stack size exceeded.,Cookies is not defined,getUniqId,Cannot read properties of null (reading 'classList'),n.getModal,e.target.closest is not a function,Cannot read properties of undefined (reading 'Item'),Cannot read properties of undefined (reading 'clientHeight'),refreshFsLightbox,fbq,FacebookSignal,Cannot assign to read only property 'push' of object '[object Array]',naturalWidth,Request failed with status code,Can't find variable: _,astraNavMenuTogglePro,The operation was aborted.,Failed to fetch dynamically imported module:,Importing a module script failed.,The request is not allowed by the user agent,this.Vi.close,The operation is insecure.,gformValidateFileSize,BreakdanceEntrance,Cannot read properties of undefined (reading '__'),The play() request was interrupted because video-only,Animation is interrupted by user input.,Animation is already playing.,Position \"NaN\" is not reachable.,Cannot redefine property: onbeforeunload,e.remove is not a function,Can't find variable: Cookies,Load failed,wp is not defined,Backbone,Invalid attempt to destructure non-iterable instance,Can't find variable: EmptyRanges,Cannot read properties of undefined (reading 'setLocaleData'),Function snaptr not implemented.,window.sbi_init is not a function,thehotelsnetwork,Reepay,wpcf7,et_pb_,mediaelementplayer,pys_generate_token,webkit.messageHandlers,__firefox__,window.ethereum,Blocked a frame with origin,NetworkError when attempting to fetch resource,play() failed because the user didn,Error invoking postMessage: Java exception,Failed to load CSS,Failed to load script,removeAttribute is not a function,Invalid site key,Handling is disabled".split(",");
3170
- /(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome|lightpanda)/i.test(navigator.userAgent) || (ga.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), ga.addContext("version", "4.11.6"), ga.configure({ beforeEvaluate: (e) => {
3170
+ /(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome|lightpanda)/i.test(navigator.userAgent) || (ga.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), ga.addContext("version", "4.11.8"), ga.configure({ beforeEvaluate: (e) => {
3171
3171
  for (let t = 0; t < _a.length; t++) if (e.message.toLowerCase().includes(_a[t].toLowerCase())) return !1;
3172
3172
  return e;
3173
3173
  } }));
Binary file
package/dist/event.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { A as e, Ct as t, D as n, Dt as r, E as i, F as a, I as o, L as s, M as c, N as l, Ot as u, P as d, Q as f, _t as p, a as m, et as h, f as g, ft as _, h as v, j as y, jt as b, mt as x, n as S, nt as C, o as w, p as T, rt as E, ut as D, w as O, xt as k, z as A } from "./i18n-Dq3VKG7w.js";
2
- import { t as j } from "./style-BRuBp3Jt.js";
3
- import { a as ee, c as te, i as ne, l as M, n as re, s as ie, t as ae } from "./CheckoutWindow-BV5xGJ7l.js";
4
- import { $ as N, B as oe, C as se, F as ce, J as P, K as le, L as F, S as I, T as ue, U as de, X as L, Z as fe, b as R, ct as pe, et as z, g as B, j as me, k as he, lt as ge, n as V, q as H, r as U, rt as W, tt as _e, v as ve, w as G, x as ye, y as K, z as be } from "./SelectField-bDg97Qlf.js";
5
- import { t as xe } from "./_-NKJ8Lr9C.js";
6
- import { a as q, c as Se, d as Ce, f as we, i as Te, l as Ee, n as De, o as Oe, r as ke, s as Ae, u as je } from "./AvailabilitySkeleton-1WBbYV8Q.js";
7
- import { a as Me, c as Ne, i as Pe, l as J, n as Fe, o as Ie, s as Le, t as Re, u as ze } from "./dist-COxekGEZ.js";
8
- import { t as Be } from "./EventAvailabilityForm-VjQo7utE.js";
9
- import { t as Ve } from "./dist-B-VFdvV1.js";
2
+ import { t as j } from "./style-D4SV3mWm.js";
3
+ import { a as ee, c as te, i as ne, l as M, n as re, s as ie, t as ae } from "./CheckoutWindow-CTjzJzel.js";
4
+ import { $ as N, B as oe, C as se, F as ce, J as P, K as le, L as F, S as I, T as ue, U as de, X as L, Z as fe, b as R, ct as pe, et as z, g as B, j as me, k as he, lt as ge, n as V, q as H, r as U, rt as W, tt as _e, v as ve, w as G, x as ye, y as K, z as be } from "./SelectField-CzIobCo-.js";
5
+ import { t as xe } from "./_-Ds-HqyUA.js";
6
+ import { a as q, c as Se, d as Ce, f as we, i as Te, l as Ee, n as De, o as Oe, r as ke, s as Ae, u as je } from "./AvailabilitySkeleton-1WQ-fxlv.js";
7
+ import { a as Me, c as Ne, i as Pe, l as J, n as Fe, o as Ie, s as Le, t as Re, u as ze } from "./dist-BACWWCM3.js";
8
+ import { t as Be } from "./EventAvailabilityForm-BV5Kr3VS.js";
9
+ import { t as Ve } from "./dist-Cizgfyqf.js";
10
10
  // node_modules/date-fns/formatDistanceStrict.js
11
11
  function Y(e, t, n) {
12
12
  let r = Se(), i = n?.locale ?? r.locale ?? ke, a = q(e, t);
package/dist/event.js.br CHANGED
Binary file
package/dist/event.js.gz CHANGED
Binary file
@@ -1,11 +1,11 @@
1
1
  import { A as e, D as t, Dt as n, L as r, M as i, N as a, P as o, _t as s, a as c, et as l, h as u, j as d, jt as f, mt as p, n as m, o as h, p as g, w as _, z as v } from "./i18n-Dq3VKG7w.js";
2
- import { $ as y, A as b, X as x, b as S, v as C, w, y as T } from "./SelectField-bDg97Qlf.js";
3
- import { t as E } from "./giftCard-CpSDK_4Y.js";
4
- import { t as D } from "./_-NKJ8Lr9C.js";
5
- import { t as O } from "./ActionField-D0NC9kCV.js";
6
- import { n as k, t as A } from "./Field-ZbJtKg-L.js";
7
- import { t as j } from "./ErrorMessage-C4xDk8I3.js";
8
- import { t as M } from "./style-BRuBp3Jt.js";
2
+ import { $ as y, A as b, X as x, b as S, v as C, w, y as T } from "./SelectField-CzIobCo-.js";
3
+ import { t as E } from "./giftCard-DduNfxpq.js";
4
+ import { t as D } from "./_-Ds-HqyUA.js";
5
+ import { t as O } from "./ActionField-BOn_Qlxz.js";
6
+ import { n as k, t as A } from "./Field-CdvGTHg8.js";
7
+ import { t as j } from "./ErrorMessage-hK-htmse.js";
8
+ import { t as M } from "./style-D4SV3mWm.js";
9
9
  // src/components/skeletons/GiftCardValidationSkeleton.vue?vue&type=script&setup=true&lang.ts
10
10
  var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-validation-skeleton-form" }, F = { class: "gift-card-validation-skeleton-text" }, I = { class: "gift-card-validation-skeleton-input" }, L = /*#__PURE__*/ S(/* @__PURE__ */ v({
11
11
  __name: "GiftCardValidationSkeleton",
Binary file
Binary file
package/dist/gift-card.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { A as e, D as t, Dt as n, E as r, L as i, M as a, N as o, Ot as s, P as c, Q as l, S as u, _t as d, a as f, et as p, ft as m, h, ht as g, i as _, j as v, jt as y, mt as b, n as x, nt as S, o as C, p as w, w as T, xt as E, z as D } from "./i18n-Dq3VKG7w.js";
2
- import { t as O } from "./style-BRuBp3Jt.js";
3
- import { t as k } from "./giftCard-CpSDK_4Y.js";
4
- import { $ as ee, C as te, _ as ne, at as re, b as A, g as j, h as M, j as ie, n as N, r as ae, t as oe, v as se, w as ce } from "./SelectField-bDg97Qlf.js";
5
- import { a as le, c as ue, i as P, l as de, r as fe, s as pe, t as me } from "./CheckoutWindow-BV5xGJ7l.js";
6
- import { t as he } from "./_-NKJ8Lr9C.js";
7
- import { n as F, t as I } from "./Field-ZbJtKg-L.js";
8
- import { t as ge } from "./ErrorMessage-C4xDk8I3.js";
9
- import { t as L } from "./TermsOfService-J0sVmrZH.js";
10
- import { t as R } from "./dist-B-VFdvV1.js";
2
+ import { t as O } from "./style-D4SV3mWm.js";
3
+ import { t as k } from "./giftCard-DduNfxpq.js";
4
+ import { $ as ee, C as te, _ as ne, at as re, b as A, g as j, h as M, j as ie, n as N, r as ae, t as oe, v as se, w as ce } from "./SelectField-CzIobCo-.js";
5
+ import { a as le, c as ue, i as P, l as de, r as fe, s as pe, t as me } from "./CheckoutWindow-CTjzJzel.js";
6
+ import { t as he } from "./_-Ds-HqyUA.js";
7
+ import { n as F, t as I } from "./Field-CdvGTHg8.js";
8
+ import { t as ge } from "./ErrorMessage-hK-htmse.js";
9
+ import { t as L } from "./TermsOfService-BMPfzs-e.js";
10
+ import { t as R } from "./dist-Cizgfyqf.js";
11
11
  // src/components/inputs/MediaSelector.vue?vue&type=script&setup=true&lang.ts
12
12
  var z = { class: "media-selector" }, B = ["accept"], V = { class: "media-selector-wrapper" }, H = { class: "media-selector-tools" }, _e = { key: 0 }, U = { key: 1 }, W = { key: 2 }, ve = ["src"], ye = /*@__PURE__*/ D({
13
13
  __name: "MediaSelector",
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { A as e, d as t, ft as n, h as r, m as i, s as a, t as o, xt as s } from "./i18n-Dq3VKG7w.js";
2
- import { C as c, G as l, P as u, at as d, j as f, k as p, ot as m, w as h } from "./SelectField-bDg97Qlf.js";
2
+ import { C as c, G as l, P as u, at as d, j as f, k as p, ot as m, w as h } from "./SelectField-CzIobCo-.js";
3
3
  // src/store/giftCard.ts
4
4
  var g = i("giftCard", () => {
5
5
  let { pay: i } = p(), { display: g } = f(), { metaData: _, currencyId: v, hasError: y } = r(h()), b = h(), x = s(m.InitialState), S = t("konnectio_name", "", void 0, { serializer: a.string }), C = t("konnectio_email", "", void 0, { serializer: a.string }), w = t("konnectio_phone", "", void 0, { serializer: a.string }), T = s(""), E = s(1), D = s(!0), O = s(""), k = s({
Binary file
Binary file