@konnectio/core 4.0.35 → 4.0.37
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-044d5ae1.cjs → ActionField-6712c933.cjs} +1 -1
- package/dist/{ActionField-6bada9e1.js → ActionField-8e5218c5.js} +2 -2
- package/dist/ActionField-8e5218c5.js.br +0 -0
- package/dist/{AvailabilitySkeleton-f12f7c36.js → AvailabilitySkeleton-67ce6e6d.js} +5 -5
- package/dist/AvailabilitySkeleton-67ce6e6d.js.br +0 -0
- package/dist/{AvailabilitySkeleton-1bdfed27.cjs → AvailabilitySkeleton-ec96db6b.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-f242b4f3.cjs → DateField.vue_vue_type_style_index_0_lang-0c12cda5.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-ed25fefa.js → DateField.vue_vue_type_style_index_0_lang-64a0c44b.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-64a0c44b.js.br +0 -0
- package/dist/{Field-4abad4c4.js → Field-0fa0f987.js} +2 -2
- package/dist/Field-0fa0f987.js.br +0 -0
- package/dist/{Field-83e79ac9.cjs → Field-616b5ab4.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-2fad0cbe.cjs → NumberField.vue_vue_type_script_setup_true_lang-1f92ec10.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-01dbfb98.js → NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-3cd5af09.cjs → SelectField.vue_vue_type_style_index_0_lang-2fab4a70.cjs} +3 -3
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-37c4524a.js → SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js} +49 -48
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js.br +0 -0
- package/dist/{ThankYou-c153e958.cjs → ThankYou-0bb9b8ba.cjs} +2 -2
- package/dist/{ThankYou-8f0e7fb4.js → ThankYou-125b27fb.js} +5 -5
- package/dist/ThankYou-125b27fb.js.br +0 -0
- package/dist/{_-a03c308d.js → _-3a1d4d62.js} +1 -1
- package/dist/{_-ca9b20fd.cjs → _-f6d1d88b.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/inputs/CheckboxField.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/modals/Info.vue.d.ts +1 -1
- package/dist/event-ad6054a0.cjs +1 -0
- package/dist/{event-e82b3708.js → event-bf4c7637.js} +30 -30
- package/dist/event-bf4c7637.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +6 -6
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +756 -762
- package/dist/hotel.js.br +0 -0
- package/dist/{index-beeae88b.js → index-cc419f8f.js} +1 -1
- package/dist/index-cc419f8f.js.br +0 -0
- package/dist/{index-8d46a016.cjs → index-f4b84887.cjs} +1 -1
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +2 -1
- package/dist/ActionField-6bada9e1.js.br +0 -0
- package/dist/AvailabilitySkeleton-f12f7c36.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-ed25fefa.js.br +0 -0
- package/dist/Field-4abad4c4.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-01dbfb98.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-37c4524a.js.br +0 -0
- package/dist/ThankYou-8f0e7fb4.js.br +0 -0
- package/dist/event-32319e6e.cjs +0 -1
- package/dist/event-e82b3708.js.br +0 -0
- package/dist/index-beeae88b.js.br +0 -0
|
@@ -15630,7 +15630,7 @@ var mO = function() {
|
|
|
15630
15630
|
const kO = aa("applyGiftCard", () => {
|
|
15631
15631
|
const { display: e } = Nl(), { bearerToken: t } = Ui(Ya()), n = be(0), r = be(""), i = be(""), a = be(""), o = be(!1), l = be(!1);
|
|
15632
15632
|
async function s() {
|
|
15633
|
-
r.value !== "" ? (l.value = !0, await qi.get("https://
|
|
15633
|
+
r.value !== "" ? (l.value = !0, await qi.get("https://production.hotel-service.konnectio.dk/api/gift-card/validate", {
|
|
15634
15634
|
params: {
|
|
15635
15635
|
giftcardCode: r.value,
|
|
15636
15636
|
lang: kr()
|
|
@@ -15638,7 +15638,7 @@ const kO = aa("applyGiftCard", () => {
|
|
|
15638
15638
|
headers: {
|
|
15639
15639
|
Authorization: t.value,
|
|
15640
15640
|
Accept: "application/json",
|
|
15641
|
-
"Fresh-Booking-Ver": "4.0.
|
|
15641
|
+
"Fresh-Booking-Ver": "4.0.37"
|
|
15642
15642
|
}
|
|
15643
15643
|
}).then((f) => {
|
|
15644
15644
|
const {
|
|
@@ -15891,14 +15891,14 @@ const kO = aa("applyGiftCard", () => {
|
|
|
15891
15891
|
}
|
|
15892
15892
|
async function Gn() {
|
|
15893
15893
|
try {
|
|
15894
|
-
const ke = (await qi.get("https://
|
|
15894
|
+
const ke = (await qi.get("https://production.hotel-service.konnectio.dk/api/hotel/metadata", {
|
|
15895
15895
|
params: {
|
|
15896
15896
|
language: kr()
|
|
15897
15897
|
},
|
|
15898
15898
|
headers: {
|
|
15899
15899
|
Authorization: y.value,
|
|
15900
15900
|
Accept: "application/json",
|
|
15901
|
-
"Fresh-Booking-Ver": "4.0.
|
|
15901
|
+
"Fresh-Booking-Ver": "4.0.37"
|
|
15902
15902
|
}
|
|
15903
15903
|
})).data;
|
|
15904
15904
|
h.value = ke;
|
|
@@ -15914,7 +15914,7 @@ const kO = aa("applyGiftCard", () => {
|
|
|
15914
15914
|
let ke = d.value;
|
|
15915
15915
|
isNaN(ke) && (ke = null);
|
|
15916
15916
|
try {
|
|
15917
|
-
const Be = await qi.get("https://
|
|
15917
|
+
const Be = await qi.get("https://production.hotel-service.konnectio.dk/api/hotel/availability", {
|
|
15918
15918
|
params: {
|
|
15919
15919
|
fromDate: l.value,
|
|
15920
15920
|
toDate: s.value,
|
|
@@ -15926,7 +15926,7 @@ const kO = aa("applyGiftCard", () => {
|
|
|
15926
15926
|
headers: {
|
|
15927
15927
|
Authorization: y.value,
|
|
15928
15928
|
Accept: "application/json",
|
|
15929
|
-
"Fresh-Booking-Ver": "4.0.
|
|
15929
|
+
"Fresh-Booking-Ver": "4.0.37"
|
|
15930
15930
|
}
|
|
15931
15931
|
});
|
|
15932
15932
|
Be.status !== 200 ? i({
|
|
@@ -15977,7 +15977,7 @@ const kO = aa("applyGiftCard", () => {
|
|
|
15977
15977
|
}
|
|
15978
15978
|
});
|
|
15979
15979
|
let Ze = d.value;
|
|
15980
|
-
isNaN(Ze) && (Ze = null), await qi.post("https://
|
|
15980
|
+
isNaN(Ze) && (Ze = null), await qi.post("https://production.hotel-service.konnectio.dk/api/hotel/create-reservation", {
|
|
15981
15981
|
fromDate: u.value,
|
|
15982
15982
|
toDate: f.value,
|
|
15983
15983
|
hotelId: Ze,
|
|
@@ -16008,7 +16008,7 @@ const kO = aa("applyGiftCard", () => {
|
|
|
16008
16008
|
headers: {
|
|
16009
16009
|
Authorization: y.value,
|
|
16010
16010
|
Accept: "application/json",
|
|
16011
|
-
"Fresh-Booking-Ver": "4.0.
|
|
16011
|
+
"Fresh-Booking-Ver": "4.0.37"
|
|
16012
16012
|
}
|
|
16013
16013
|
}).then((De) => {
|
|
16014
16014
|
se.value = !1, w.value = !1, t.pay({
|
|
@@ -16413,14 +16413,14 @@ const Ya = aa("utilities", () => {
|
|
|
16413
16413
|
async function B(U = "none") {
|
|
16414
16414
|
try {
|
|
16415
16415
|
if (U !== "none") {
|
|
16416
|
-
const W = (await qi.get(`https://
|
|
16416
|
+
const W = (await qi.get(`https://production.hotel-service.konnectio.dk/api/${U}/metadata`, {
|
|
16417
16417
|
params: {
|
|
16418
16418
|
language: kr()
|
|
16419
16419
|
},
|
|
16420
16420
|
headers: {
|
|
16421
16421
|
Authorization: X.value,
|
|
16422
16422
|
Accept: "application/json",
|
|
16423
|
-
"Fresh-Booking-Ver": "4.0.
|
|
16423
|
+
"Fresh-Booking-Ver": "4.0.37"
|
|
16424
16424
|
}
|
|
16425
16425
|
})).data;
|
|
16426
16426
|
o.value = W, W.hotelId && (isNaN(a.value) ? a.value = W.hotelId : a.value !== W.hotelId && (r(), a.value = W.hotelId), isNaN(n.value) && W.hotelId && (n.value = W.hotelId));
|
|
@@ -16433,11 +16433,11 @@ const Ya = aa("utilities", () => {
|
|
|
16433
16433
|
}
|
|
16434
16434
|
}
|
|
16435
16435
|
async function L() {
|
|
16436
|
-
await qi.get("https://
|
|
16436
|
+
await qi.get("https://production.hotel-service.konnectio.dk/api/utility/get-settings-and-translations", {
|
|
16437
16437
|
headers: {
|
|
16438
16438
|
Authorization: X.value,
|
|
16439
16439
|
Accept: "application/json",
|
|
16440
|
-
"Fresh-Booking-Ver": "4.0.
|
|
16440
|
+
"Fresh-Booking-Ver": "4.0.37"
|
|
16441
16441
|
}
|
|
16442
16442
|
}).then((U) => {
|
|
16443
16443
|
const { settings: W, translations: re } = U.data;
|
|
@@ -16452,14 +16452,14 @@ const Ya = aa("utilities", () => {
|
|
|
16452
16452
|
if (x.value !== void 0) {
|
|
16453
16453
|
console.log(U);
|
|
16454
16454
|
const re = await x.value.execute(U);
|
|
16455
|
-
console.log([x.value.siteKey, x.value.recaptchaID, x.value.recaptcha]), (await qi.get("https://
|
|
16455
|
+
console.log([x.value.siteKey, x.value.recaptchaID, x.value.recaptcha]), (await qi.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha", {
|
|
16456
16456
|
params: {
|
|
16457
16457
|
language: kr(),
|
|
16458
16458
|
token: re
|
|
16459
16459
|
},
|
|
16460
16460
|
headers: {
|
|
16461
16461
|
Authorization: X.value,
|
|
16462
|
-
"Konnectio-Core-Ver": "4.0.
|
|
16462
|
+
"Konnectio-Core-Ver": "4.0.37"
|
|
16463
16463
|
}
|
|
16464
16464
|
})).data.success === !0 ? W() : t({
|
|
16465
16465
|
message: qe.t("Robot guy"),
|
|
@@ -19909,40 +19909,40 @@ const NA = /* @__PURE__ */ oa(AA, [["__scopeId", "data-v-96175ee8"]]), kA = {
|
|
|
19909
19909
|
async setup(e) {
|
|
19910
19910
|
let t, n;
|
|
19911
19911
|
ah((s) => ({
|
|
19912
|
-
"
|
|
19913
|
-
|
|
19914
|
-
"
|
|
19915
|
-
|
|
19916
|
-
"
|
|
19917
|
-
"
|
|
19918
|
-
"
|
|
19919
|
-
|
|
19920
|
-
"
|
|
19921
|
-
"
|
|
19922
|
-
"
|
|
19923
|
-
"
|
|
19924
|
-
"
|
|
19925
|
-
"
|
|
19926
|
-
|
|
19927
|
-
|
|
19928
|
-
"
|
|
19929
|
-
"
|
|
19930
|
-
"
|
|
19931
|
-
"
|
|
19932
|
-
|
|
19933
|
-
"
|
|
19934
|
-
"
|
|
19935
|
-
"
|
|
19936
|
-
|
|
19937
|
-
"
|
|
19938
|
-
|
|
19939
|
-
"
|
|
19940
|
-
|
|
19941
|
-
"
|
|
19942
|
-
|
|
19943
|
-
|
|
19944
|
-
|
|
19945
|
-
"
|
|
19912
|
+
"1662f052": i.value.accentColor,
|
|
19913
|
+
"5827dd42": i.value.accentColorSecondary,
|
|
19914
|
+
"64713bf2": i.value.buttonBackground,
|
|
19915
|
+
"476dd585": i.value.buttonBorder,
|
|
19916
|
+
"43eb9312": i.value.buttonBorderRadius,
|
|
19917
|
+
"1c50822c": i.value.buttonColor,
|
|
19918
|
+
"57a0ad28": i.value.buttonFontFamily,
|
|
19919
|
+
"864ddfee": i.value.buttonFontSize,
|
|
19920
|
+
"1d2edf00": i.value.buttonFontWeight,
|
|
19921
|
+
"7568e146": i.value.buttonTextTransform,
|
|
19922
|
+
"3baf7e99": i.value.dangerColor,
|
|
19923
|
+
"6e48962d": i.value.fontColor,
|
|
19924
|
+
"5f23cdda": i.value.fontFamily,
|
|
19925
|
+
"6c711012": i.value.fontSize,
|
|
19926
|
+
d9f076ce: i.value.grayColor,
|
|
19927
|
+
bd6a3722: i.value.headerColor,
|
|
19928
|
+
"713557b1": i.value.inputBackground,
|
|
19929
|
+
"2cbd302f": i.value.inputBorder,
|
|
19930
|
+
"5dd169a1": i.value.inputBorderRadius,
|
|
19931
|
+
"7f2fd2d7": i.value.inputBorderWidth,
|
|
19932
|
+
"2a1ca51e": i.value.inputFontColor,
|
|
19933
|
+
"06897e58": i.value.labelFontWeight,
|
|
19934
|
+
"2ff87546": i.value.labelFontSize,
|
|
19935
|
+
"420b53f8": i.value.labelPadding,
|
|
19936
|
+
69408562: i.value.linkColor,
|
|
19937
|
+
"7cb32630": i.value.linkHoverColor,
|
|
19938
|
+
"7eb6bf0e": i.value.loadingColor,
|
|
19939
|
+
"6eac096b": i.value.panelBackground,
|
|
19940
|
+
ed14622e: i.value.panelBorder,
|
|
19941
|
+
"4f3ad64a": i.value.panelBorderRadius,
|
|
19942
|
+
d3d31c50: i.value.panelInnerPadding,
|
|
19943
|
+
"713238f4": i.value.panelPadding,
|
|
19944
|
+
b3e45846: i.value.panelShadow,
|
|
19945
|
+
"03b184a7": i.value.successColor
|
|
19946
19946
|
}));
|
|
19947
19947
|
const r = e, i = fe(() => ({
|
|
19948
19948
|
accentColor: "#6ab1e6",
|
|
@@ -19967,6 +19967,7 @@ const NA = /* @__PURE__ */ oa(AA, [["__scopeId", "data-v-96175ee8"]]), kA = {
|
|
|
19967
19967
|
inputBorderWidth: "0px 0px 1px",
|
|
19968
19968
|
inputBorderRadius: "6px",
|
|
19969
19969
|
inputFontColor: "#000000",
|
|
19970
|
+
labelFontColor: "#000000",
|
|
19970
19971
|
labelFontWeight: "bold",
|
|
19971
19972
|
labelFontSize: "15px",
|
|
19972
19973
|
labelPadding: "6px",
|
|
Binary file
|