@konnectio/core 4.0.55 → 4.0.56-rc2
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/README.md +7 -7
- package/dist/{ActionField-89f587d4.js → ActionField-Qf4JAgBa.js} +30 -31
- package/dist/ActionField-Qf4JAgBa.js.br +0 -0
- package/dist/ActionField-ztW-1xka.cjs +1 -0
- package/dist/AvailabilitySkeleton-GPTCv3Xy.js +242 -0
- package/dist/AvailabilitySkeleton-GPTCv3Xy.js.br +0 -0
- package/dist/AvailabilitySkeleton-v0QVPuim.cjs +1 -0
- package/dist/CheckoutWindow-NUwbNAPw.cjs +1 -0
- package/dist/{CheckoutWindow-df8612e3.js → CheckoutWindow-S9xKe_Wf.js} +58 -54
- package/dist/CheckoutWindow-S9xKe_Wf.js.br +0 -0
- package/dist/Container-Fl2PKj-u.js +59 -0
- package/dist/Container-Fl2PKj-u.js.br +0 -0
- package/dist/Container-Y6_3uTWy.cjs +1 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-hZTsLsOv.cjs +2 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-bbaed106.js → DateField.vue_vue_type_style_index_0_lang-iz9zEBOR.js} +2666 -2661
- package/dist/DateField.vue_vue_type_style_index_0_lang-iz9zEBOR.js.br +0 -0
- package/dist/Field-UTbHMN9U.cjs +1 -0
- package/dist/Field-b7XkSAoi.js +43 -0
- package/dist/Field-b7XkSAoi.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js +21406 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-eLyZ247i.cjs +851 -0
- package/dist/{ThankYou-159b55d6.js → ThankYou-LiiG3Zv1.js} +2349 -2000
- package/dist/ThankYou-LiiG3Zv1.js.br +0 -0
- package/dist/ThankYou-M6d4G8pc.cjs +59 -0
- package/dist/_-FAlGPZqe.js +20 -0
- package/dist/_-oL4OsiNw.cjs +1 -0
- package/dist/_commonjsHelpers-f3sTPFkQ.js +8 -0
- package/dist/_commonjsHelpers-f52AuuUj.cjs +1 -0
- package/dist/availability.cjs +2 -2
- package/dist/availability.js +39 -42
- package/dist/availability.js.br +0 -0
- package/dist/components/Gallery.vue.d.ts +3 -2
- package/dist/components/Gallery.vue.d.ts.map +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/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/components/listings/Template.vue.d.ts +1 -1
- package/dist/components/side-panels/ListingInfo.vue.d.ts +1 -1
- package/dist/components/side-panels/Template.vue.d.ts +1 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/Field.vue.d.ts +1 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/Listing.vue.d.ts +1 -1
- package/dist/entries/availability.d.ts +3 -3
- package/dist/entries/event.d.ts +1 -1
- package/dist/entries/gift-card-validation.d.ts +5 -2
- package/dist/entries/gift-card.d.ts +5 -1
- package/dist/entries/hotel.d.ts +5 -0
- package/dist/event-GaUgVNzy.cjs +1 -0
- package/dist/{event-6cd5d9be.js → event-MXmxvcpC.js} +26 -25
- package/dist/event-MXmxvcpC.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +212 -214
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +68 -64
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.d.ts +2 -0
- package/dist/gift-card.js +278 -273
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.d.ts +2 -0
- package/dist/hotel.js +1415 -1436
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Availability.vue.d.ts +4 -4
- package/dist/layouts/Event.vue.d.ts +4 -4
- package/dist/layouts/GiftCard.vue.d.ts +4 -4
- package/dist/layouts/GiftCardValidation.vue.d.ts +4 -4
- package/dist/layouts/Hotel.vue.d.ts +4 -4
- package/dist/layouts/_.vue.d.ts +4 -4
- package/dist/polyfill.cjs +4 -4
- package/dist/polyfill.js +3032 -3065
- package/dist/polyfill.js.br +0 -0
- package/dist/store/alert.d.ts +15 -15
- package/dist/store/applyGiftCard.d.ts +18 -18
- package/dist/store/availability.d.ts +12 -12
- package/dist/store/event.d.ts +141 -141
- package/dist/store/giftCard.d.ts +51 -51
- package/dist/store/payment.d.ts +39 -39
- package/dist/store/recaptcha.d.ts +28 -0
- package/dist/store/tracking.d.ts +6 -6
- package/dist/store/utilities.d.ts +131 -146
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +8 -0
- package/package.json +22 -20
- package/dist/ActionField-087c3437.cjs +0 -1
- package/dist/ActionField-89f587d4.js.br +0 -0
- package/dist/AvailabilitySkeleton-01aab3cb.js +0 -237
- package/dist/AvailabilitySkeleton-01aab3cb.js.br +0 -0
- package/dist/AvailabilitySkeleton-452df88c.cjs +0 -1
- package/dist/CheckoutWindow-1d77f68c.cjs +0 -1
- package/dist/CheckoutWindow-df8612e3.js.br +0 -0
- package/dist/Container-3af1f7f7.cjs +0 -1
- package/dist/Container-9f1ed24c.js +0 -59
- package/dist/Container-9f1ed24c.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-b5676dde.cjs +0 -2
- package/dist/DateField.vue_vue_type_style_index_0_lang-bbaed106.js.br +0 -0
- package/dist/Field-43273ca2.cjs +0 -1
- package/dist/Field-92684198.js +0 -42
- package/dist/Field-92684198.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-a149d388.cjs +0 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js +0 -67
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js +0 -30329
- package/dist/SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-b1435f5a.cjs +0 -856
- package/dist/ThankYou-159b55d6.js.br +0 -0
- package/dist/ThankYou-c1cbecac.cjs +0 -59
- package/dist/_-52440760.js +0 -20
- package/dist/_-fbbc271a.cjs +0 -1
- package/dist/_commonjsHelpers-6763f629.cjs +0 -1
- package/dist/_commonjsHelpers-aeeeeb92.js +0 -30
- package/dist/event-6cd5d9be.js.br +0 -0
- package/dist/event-dfc9ed16.cjs +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { defineComponent as b, ref as k, onMounted as $, openBlock as p, createBlock as I, unref as i, withCtx as T, createElementVNode as r, createVNode as V, normalizeClass as h, mergeProps as B, normalizeStyle as _, withKeys as N, createElementBlock as g, toDisplayString as u, createCommentVNode as C, createTextVNode as f, pushScopeId as w, popScopeId as G } from "vue";
|
|
2
|
+
import { r as P, I as A, T as S, _ as v, l as E, s as F, c as O, P as U } from "./SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js";
|
|
3
|
+
const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
3
4
|
__name: "PhoneField",
|
|
4
5
|
props: {
|
|
5
6
|
modelValue: {},
|
|
@@ -15,29 +16,29 @@ const O = { class: "fresh-booking-phone-input" }, R = /* @__PURE__ */ g({
|
|
|
15
16
|
},
|
|
16
17
|
emits: ["update:modelValue"],
|
|
17
18
|
setup(a, { emit: l }) {
|
|
18
|
-
const t = l, n = a, c = n.id ||
|
|
19
|
+
const t = l, n = a, c = n.id || P(), e = k("+45"), d = k("");
|
|
19
20
|
function m() {
|
|
20
|
-
t("update:modelValue", `${e.value} ${
|
|
21
|
+
t("update:modelValue", `${e.value} ${d.value}`);
|
|
21
22
|
}
|
|
22
|
-
return
|
|
23
|
+
return $(() => {
|
|
23
24
|
if (n.modelValue) {
|
|
24
25
|
const o = n.modelValue.split(" ");
|
|
25
|
-
e.value = o[0],
|
|
26
|
+
e.value = o[0], d.value = o[1];
|
|
26
27
|
}
|
|
27
|
-
}), (o,
|
|
28
|
+
}), (o, s) => (p(), I(A, {
|
|
28
29
|
label: o.label,
|
|
29
30
|
id: i(c),
|
|
30
31
|
type: "phone",
|
|
31
32
|
required: o.required,
|
|
32
33
|
readonly: o.readonly
|
|
33
34
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
36
|
-
V(
|
|
35
|
+
default: T(() => [
|
|
36
|
+
r("div", j, [
|
|
37
|
+
V(S, {
|
|
37
38
|
modelValue: e.value,
|
|
38
|
-
"onUpdate:modelValue":
|
|
39
|
+
"onUpdate:modelValue": s[0] || (s[0] = (y) => e.value = y),
|
|
39
40
|
type: "text",
|
|
40
|
-
id: i(
|
|
41
|
+
id: i(P)(),
|
|
41
42
|
name: "phone-code",
|
|
42
43
|
autocomplete: "tel-country-code",
|
|
43
44
|
icon: o.icon,
|
|
@@ -47,11 +48,11 @@ const O = { class: "fresh-booking-phone-input" }, R = /* @__PURE__ */ g({
|
|
|
47
48
|
required: o.required,
|
|
48
49
|
readonly: o.readonly,
|
|
49
50
|
"input-style": o.inputStyle,
|
|
50
|
-
onInput:
|
|
51
|
+
onInput: s[1] || (s[1] = (y) => m())
|
|
51
52
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
52
|
-
V(
|
|
53
|
-
modelValue:
|
|
54
|
-
"onUpdate:modelValue":
|
|
53
|
+
V(S, {
|
|
54
|
+
modelValue: d.value,
|
|
55
|
+
"onUpdate:modelValue": s[2] || (s[2] = (y) => d.value = y),
|
|
55
56
|
type: "number",
|
|
56
57
|
name: "phone",
|
|
57
58
|
autocomplete: "tel-national",
|
|
@@ -60,15 +61,14 @@ const O = { class: "fresh-booking-phone-input" }, R = /* @__PURE__ */ g({
|
|
|
60
61
|
required: o.required,
|
|
61
62
|
readonly: o.readonly,
|
|
62
63
|
"input-style": o.inputStyle,
|
|
63
|
-
onInput:
|
|
64
|
+
onInput: s[3] || (s[3] = (y) => m())
|
|
64
65
|
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
|
|
65
66
|
])
|
|
66
67
|
]),
|
|
67
68
|
_: 1
|
|
68
69
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
69
70
|
}
|
|
70
|
-
})
|
|
71
|
-
const x = /* @__PURE__ */ v(R, [["__scopeId", "data-v-5cd094ab"]]), U = ["required", "type", "name", "readonly", "disabled", "value", "checked"], W = ["data-test"], z = { key: 0 }, D = /* @__PURE__ */ g({
|
|
71
|
+
}), ee = /* @__PURE__ */ v(z, [["__scopeId", "data-v-5cd094ab"]]), D = ["required", "type", "name", "readonly", "disabled", "value", "checked"], H = ["data-test"], K = { key: 0 }, M = /* @__PURE__ */ b({
|
|
72
72
|
__name: "Checkbox",
|
|
73
73
|
props: {
|
|
74
74
|
modelValue: { type: [String, Boolean, Number] },
|
|
@@ -92,13 +92,13 @@ const x = /* @__PURE__ */ v(R, [["__scopeId", "data-v-5cd094ab"]]), U = ["requir
|
|
|
92
92
|
t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
return (e,
|
|
95
|
+
return (e, d) => (p(), I(A, {
|
|
96
96
|
required: e.required,
|
|
97
97
|
type: e.type,
|
|
98
98
|
readonly: e.readonly
|
|
99
99
|
}, {
|
|
100
|
-
default:
|
|
101
|
-
|
|
100
|
+
default: T(() => [
|
|
101
|
+
r("label", {
|
|
102
102
|
class: h([
|
|
103
103
|
"fresh-booking-click-box-container",
|
|
104
104
|
{ "is-readonly": e.readonly },
|
|
@@ -106,7 +106,7 @@ const x = /* @__PURE__ */ v(R, [["__scopeId", "data-v-5cd094ab"]]), U = ["requir
|
|
|
106
106
|
e.type === "radio" ? "radio" : "checkbox"
|
|
107
107
|
])
|
|
108
108
|
}, [
|
|
109
|
-
|
|
109
|
+
r("input", B(e.$attrs, {
|
|
110
110
|
required: !!e.required,
|
|
111
111
|
type: e.type,
|
|
112
112
|
name: e.name,
|
|
@@ -115,40 +115,45 @@ const x = /* @__PURE__ */ v(R, [["__scopeId", "data-v-5cd094ab"]]), U = ["requir
|
|
|
115
115
|
disabled: !!e.readonly,
|
|
116
116
|
value: e.type === "radio" ? e.val : e.modelValue,
|
|
117
117
|
checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue,
|
|
118
|
-
onChange:
|
|
119
|
-
}), null, 16,
|
|
120
|
-
|
|
118
|
+
onChange: d[0] || (d[0] = (m) => c())
|
|
119
|
+
}), null, 16, D),
|
|
120
|
+
r("div", {
|
|
121
121
|
class: h([
|
|
122
122
|
"fresh-booking-click-box",
|
|
123
123
|
{ checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue }
|
|
124
124
|
]),
|
|
125
125
|
tabindex: "0",
|
|
126
|
-
style:
|
|
126
|
+
style: _(e.inputStyle),
|
|
127
127
|
"data-test": e.name,
|
|
128
|
-
onKeyup:
|
|
129
|
-
}, null, 46,
|
|
130
|
-
e.label ? (p(),
|
|
128
|
+
onKeyup: d[1] || (d[1] = N((m) => c(), ["enter"]))
|
|
129
|
+
}, null, 46, H),
|
|
130
|
+
e.label ? (p(), g("div", {
|
|
131
131
|
key: 0,
|
|
132
132
|
class: h(["fresh-booking-click-box-label", { "with-price": e.price }])
|
|
133
133
|
}, [
|
|
134
|
-
|
|
135
|
-
e.price ? (p(),
|
|
136
|
-
], 2)) :
|
|
134
|
+
r("span", null, u(e.label), 1),
|
|
135
|
+
e.price ? (p(), g("span", K, u(e.price), 1)) : C("", !0)
|
|
136
|
+
], 2)) : C("", !0)
|
|
137
137
|
], 2)
|
|
138
138
|
]),
|
|
139
139
|
_: 1
|
|
140
140
|
}, 8, ["required", "type", "readonly"]));
|
|
141
141
|
}
|
|
142
|
-
})
|
|
143
|
-
|
|
142
|
+
}), oe = /* @__PURE__ */ v(M, [["__scopeId", "data-v-7ef656cb"]]), R = {
|
|
143
|
+
href: "https://policies.google.com/privacy",
|
|
144
|
+
target: "_blank"
|
|
145
|
+
}, W = {
|
|
146
|
+
href: "https://policies.google.com/terms",
|
|
147
|
+
target: "_blank"
|
|
148
|
+
}, J = /* @__PURE__ */ b({
|
|
144
149
|
__name: "GoogleNotice",
|
|
145
150
|
setup(a) {
|
|
146
|
-
const { t: l } =
|
|
147
|
-
return (t, n) => (p(),
|
|
151
|
+
const { t: l } = E();
|
|
152
|
+
return (t, n) => (p(), g("span", null, [
|
|
148
153
|
f(u(i(l)("googleNotice")) + " ", 1),
|
|
149
|
-
|
|
154
|
+
r("a", R, u(i(l)("googlePrivacyPolicy")), 1),
|
|
150
155
|
f(" " + u(i(l)("googleAnd")) + " ", 1),
|
|
151
|
-
|
|
156
|
+
r("a", W, u(i(l)("googleTOS")), 1),
|
|
152
157
|
f(" " + u(i(l)("googleApply")) + ". ", 1)
|
|
153
158
|
]));
|
|
154
159
|
}
|
|
@@ -175,28 +180,27 @@ function q(a) {
|
|
|
175
180
|
}
|
|
176
181
|
});
|
|
177
182
|
}
|
|
178
|
-
typeof q == "function" && q(
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
], Y = /* @__PURE__ */
|
|
183
|
+
typeof q == "function" && q(J);
|
|
184
|
+
const L = (a) => (w("data-v-340cb9ce"), a = a(), G(), a), Q = /* @__PURE__ */ L(() => /* @__PURE__ */ r("div", { id: "fresh-booking-payment-checkout" }, null, -1)), X = [
|
|
185
|
+
Q
|
|
186
|
+
], Y = /* @__PURE__ */ b({
|
|
182
187
|
__name: "CheckoutWindow",
|
|
183
188
|
setup(a) {
|
|
184
|
-
const { paymentGatewayId: l } = F(
|
|
185
|
-
return
|
|
189
|
+
const { paymentGatewayId: l } = F(O());
|
|
190
|
+
return $(() => {
|
|
186
191
|
const t = document.createElement("script"), n = document.createElement("script");
|
|
187
192
|
t.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(t), document.head.appendChild(n);
|
|
188
|
-
}), (t, n) => (p(),
|
|
189
|
-
|
|
193
|
+
}), (t, n) => (p(), g("div", null, [
|
|
194
|
+
r("div", {
|
|
190
195
|
id: "fresh-booking-payment-checkout-wrapper",
|
|
191
|
-
class: h({ reePay: i(l) === i(
|
|
196
|
+
class: h({ reePay: i(l) === i(U).ReePay })
|
|
192
197
|
}, X, 2)
|
|
193
198
|
]));
|
|
194
199
|
}
|
|
195
|
-
});
|
|
196
|
-
const oe = /* @__PURE__ */ v(Y, [["__scopeId", "data-v-340cb9ce"]]);
|
|
200
|
+
}), le = /* @__PURE__ */ v(Y, [["__scopeId", "data-v-340cb9ce"]]);
|
|
197
201
|
export {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
+
oe as C,
|
|
203
|
+
ee as P,
|
|
204
|
+
J as _,
|
|
205
|
+
le as a
|
|
202
206
|
};
|
|
Binary file
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineComponent as n, computed as a, onMounted as l, openBlock as u, createElementBlock as p, renderSlot as d } from "vue";
|
|
2
|
+
import { _ as i } from "./SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js";
|
|
3
|
+
const s = { class: "konnectio-container" }, c = /* @__PURE__ */ n({
|
|
4
|
+
__name: "Container",
|
|
5
|
+
props: {
|
|
6
|
+
styling: {}
|
|
7
|
+
},
|
|
8
|
+
setup(t) {
|
|
9
|
+
const r = t, e = a(() => ({
|
|
10
|
+
accentColor: "#6ab1e6",
|
|
11
|
+
accentColorSecondary: "#dae9f8",
|
|
12
|
+
buttonBackground: "#6ab1e6",
|
|
13
|
+
buttonBorder: null,
|
|
14
|
+
buttonBorderRadius: "4px",
|
|
15
|
+
buttonColor: "#FFF",
|
|
16
|
+
buttonFontFamily: "inherit",
|
|
17
|
+
buttonFontSize: "14px",
|
|
18
|
+
buttonFontWeight: "400",
|
|
19
|
+
buttonIconColor: "#FFF",
|
|
20
|
+
buttonTextTransform: "uppercase",
|
|
21
|
+
dangerColor: "red",
|
|
22
|
+
fontColor: "#3b3b3b",
|
|
23
|
+
fontFamily: "inherit",
|
|
24
|
+
fontSize: "16px",
|
|
25
|
+
grayColor: "grey",
|
|
26
|
+
headerColor: "#000",
|
|
27
|
+
inputBorder: "1px solid rgba(0, 0, 0, 0.15)",
|
|
28
|
+
inputBackground: "#f8f8f8",
|
|
29
|
+
inputBorderWidth: "0px 0px 1px",
|
|
30
|
+
inputBorderRadius: "6px",
|
|
31
|
+
inputFontColor: "#000000",
|
|
32
|
+
labelFontColor: "#000000",
|
|
33
|
+
labelFontWeight: "bold",
|
|
34
|
+
labelFontSize: "15px",
|
|
35
|
+
labelPadding: "6px",
|
|
36
|
+
linkColor: "#5d6dca",
|
|
37
|
+
linkHoverColor: "#2e3d90",
|
|
38
|
+
loadingColor: "#000",
|
|
39
|
+
panelBackground: "#ffffff",
|
|
40
|
+
panelBorder: null,
|
|
41
|
+
panelBorderRadius: "5px",
|
|
42
|
+
panelInnerPadding: "12px",
|
|
43
|
+
panelMaxWidth: "none",
|
|
44
|
+
panelPadding: "24px",
|
|
45
|
+
panelShadow: "0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
46
|
+
successColor: "green",
|
|
47
|
+
...r.styling
|
|
48
|
+
}));
|
|
49
|
+
return l(() => {
|
|
50
|
+
const o = document.documentElement.style;
|
|
51
|
+
o.setProperty("--accentColor", e.value.accentColor), o.setProperty("--accentColorSecondary", e.value.accentColorSecondary), o.setProperty("--buttonBackground", e.value.buttonBackground), o.setProperty("--buttonBorder", e.value.buttonBorder), o.setProperty("--buttonBorderRadius", e.value.buttonBorderRadius), o.setProperty("--buttonColor", e.value.buttonColor), o.setProperty("--buttonFontFamily", e.value.buttonFontFamily), o.setProperty("--buttonFontSize", e.value.buttonFontSize), o.setProperty("--buttonFontWeight", e.value.buttonFontWeight), o.setProperty("--buttonTextTransform", e.value.buttonTextTransform), o.setProperty("--dangerColor", e.value.dangerColor), o.setProperty("--fontColor", e.value.fontColor), o.setProperty("--fontFamily", e.value.fontFamily), o.setProperty("--fontSize", e.value.fontSize), o.setProperty("--grayColor", e.value.grayColor), o.setProperty("--headerColor", e.value.headerColor), o.setProperty("--inputBackground", e.value.inputBackground), o.setProperty("--inputBorder", e.value.inputBorder), o.setProperty("--inputBorderRadius", e.value.inputBorderRadius), o.setProperty("--inputBorderWidth", e.value.inputBorderWidth), o.setProperty("--inputFontColor", e.value.inputFontColor), o.setProperty("--labelFontColor", e.value.labelFontColor), o.setProperty("--labelFontWeight", e.value.labelFontWeight), o.setProperty("--labelFontSize", e.value.labelFontSize), o.setProperty("--labelPadding", e.value.labelPadding), o.setProperty("--linkColor", e.value.linkColor), o.setProperty("--linkHoverColor", e.value.linkHoverColor), o.setProperty("--loadingColor", e.value.loadingColor), o.setProperty("--panelBackground", e.value.panelBackground), o.setProperty("--panelBorder", e.value.panelBorder), o.setProperty("--panelBorderRadius", e.value.panelBorderRadius), o.setProperty("--panelInnerPadding", e.value.panelInnerPadding), o.setProperty("--panelMaxWidth", e.value.panelMaxWidth), o.setProperty("--panelPadding", e.value.panelPadding), o.setProperty("--panelShadow", e.value.panelShadow), o.setProperty("--successColor", e.value.successColor);
|
|
52
|
+
}), (o, y) => (u(), p("div", s, [
|
|
53
|
+
d(o.$slots, "default", {}, void 0, !0)
|
|
54
|
+
]));
|
|
55
|
+
}
|
|
56
|
+
}), C = /* @__PURE__ */ i(c, [["__scopeId", "data-v-b8c97ab0"]]);
|
|
57
|
+
export {
|
|
58
|
+
C
|
|
59
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("vue"),l=require("./SelectField.vue_vue_type_style_index_0_lang-eLyZ247i.cjs"),a={class:"konnectio-container"},u=t.defineComponent({__name:"Container",props:{styling:{}},setup(r){const n=r,o=t.computed(()=>({accentColor:"#6ab1e6",accentColorSecondary:"#dae9f8",buttonBackground:"#6ab1e6",buttonBorder:null,buttonBorderRadius:"4px",buttonColor:"#FFF",buttonFontFamily:"inherit",buttonFontSize:"14px",buttonFontWeight:"400",buttonIconColor:"#FFF",buttonTextTransform:"uppercase",dangerColor:"red",fontColor:"#3b3b3b",fontFamily:"inherit",fontSize:"16px",grayColor:"grey",headerColor:"#000",inputBorder:"1px solid rgba(0, 0, 0, 0.15)",inputBackground:"#f8f8f8",inputBorderWidth:"0px 0px 1px",inputBorderRadius:"6px",inputFontColor:"#000000",labelFontColor:"#000000",labelFontWeight:"bold",labelFontSize:"15px",labelPadding:"6px",linkColor:"#5d6dca",linkHoverColor:"#2e3d90",loadingColor:"#000",panelBackground:"#ffffff",panelBorder:null,panelBorderRadius:"5px",panelInnerPadding:"12px",panelMaxWidth:"none",panelPadding:"24px",panelShadow:"0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",successColor:"green",...n.styling}));return t.onMounted(()=>{const e=document.documentElement.style;e.setProperty("--accentColor",o.value.accentColor),e.setProperty("--accentColorSecondary",o.value.accentColorSecondary),e.setProperty("--buttonBackground",o.value.buttonBackground),e.setProperty("--buttonBorder",o.value.buttonBorder),e.setProperty("--buttonBorderRadius",o.value.buttonBorderRadius),e.setProperty("--buttonColor",o.value.buttonColor),e.setProperty("--buttonFontFamily",o.value.buttonFontFamily),e.setProperty("--buttonFontSize",o.value.buttonFontSize),e.setProperty("--buttonFontWeight",o.value.buttonFontWeight),e.setProperty("--buttonTextTransform",o.value.buttonTextTransform),e.setProperty("--dangerColor",o.value.dangerColor),e.setProperty("--fontColor",o.value.fontColor),e.setProperty("--fontFamily",o.value.fontFamily),e.setProperty("--fontSize",o.value.fontSize),e.setProperty("--grayColor",o.value.grayColor),e.setProperty("--headerColor",o.value.headerColor),e.setProperty("--inputBackground",o.value.inputBackground),e.setProperty("--inputBorder",o.value.inputBorder),e.setProperty("--inputBorderRadius",o.value.inputBorderRadius),e.setProperty("--inputBorderWidth",o.value.inputBorderWidth),e.setProperty("--inputFontColor",o.value.inputFontColor),e.setProperty("--labelFontColor",o.value.labelFontColor),e.setProperty("--labelFontWeight",o.value.labelFontWeight),e.setProperty("--labelFontSize",o.value.labelFontSize),e.setProperty("--labelPadding",o.value.labelPadding),e.setProperty("--linkColor",o.value.linkColor),e.setProperty("--linkHoverColor",o.value.linkHoverColor),e.setProperty("--loadingColor",o.value.loadingColor),e.setProperty("--panelBackground",o.value.panelBackground),e.setProperty("--panelBorder",o.value.panelBorder),e.setProperty("--panelBorderRadius",o.value.panelBorderRadius),e.setProperty("--panelInnerPadding",o.value.panelInnerPadding),e.setProperty("--panelMaxWidth",o.value.panelMaxWidth),e.setProperty("--panelPadding",o.value.panelPadding),e.setProperty("--panelShadow",o.value.panelShadow),e.setProperty("--successColor",o.value.successColor)}),(e,d)=>(t.openBlock(),t.createElementBlock("div",a,[t.renderSlot(e.$slots,"default",{},void 0,!0)]))}}),p=l._export_sfc(u,[["__scopeId","data-v-b8c97ab0"]]);exports.Container=p;
|