@konnectio/core 4.0.92 → 4.0.94
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-CgMznDNS.js → ActionField-pZOFNMkw.js} +2 -2
- package/dist/ActionField-pZOFNMkw.js.br +0 -0
- package/dist/AvailabilitySkeleton-DJyT38F9.js +319 -0
- package/dist/AvailabilitySkeleton-DJyT38F9.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CuRWF7vG.js} +253 -245
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CuRWF7vG.js.br +0 -0
- package/dist/{CheckoutWindow-BoEtvp4P.js → CheckoutWindow-5ngdoK38.js} +2 -2
- package/dist/CheckoutWindow-5ngdoK38.js.br +0 -0
- package/dist/{ErrorMessage-CvJnQM2S.js → ErrorMessage-BVaWW4Hz.js} +2 -2
- package/dist/ErrorMessage-BVaWW4Hz.js.br +0 -0
- package/dist/{EventAvailabilityForm-D_KjLqgK.js → EventAvailabilityForm-Du4kySZ-.js} +3 -3
- package/dist/EventAvailabilityForm-Du4kySZ-.js.br +0 -0
- package/dist/{Field-Ce6P6QCM.js → Field-MzDRmdmU.js} +3 -3
- package/dist/Field-MzDRmdmU.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CH1o9S9a.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js → SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js} +301 -302
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js.br +0 -0
- package/dist/{TermsOfService-DS18Dl-L.js → TermsOfService-9iLxpj-0.js} +3 -3
- package/dist/_-DXSHtzqt.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CXamzQ3j.js → _.vue_vue_type_style_index_0_lang-mNFTf-c3.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Dx--Stye.js → giftCard-CmhfXMZj.js} +2 -2
- package/dist/giftCard-CmhfXMZj.js.br +0 -0
- package/dist/hotel.js +724 -734
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CPsNk-yp.js → masonry.plugin-Bz6kKi0V.js} +21 -25
- package/dist/masonry.plugin-Bz6kKi0V.js.br +0 -0
- 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 +8 -8
- package/dist/ActionField-CgMznDNS.js.br +0 -0
- package/dist/AvailabilitySkeleton-B12FSS31.js +0 -322
- package/dist/AvailabilitySkeleton-B12FSS31.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br +0 -0
- package/dist/CheckoutWindow-BoEtvp4P.js.br +0 -0
- package/dist/ErrorMessage-CvJnQM2S.js.br +0 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js.br +0 -0
- package/dist/Field-Ce6P6QCM.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js.br +0 -0
- package/dist/_-Csc-2ekB.js +0 -5
- package/dist/giftCard-Dx--Stye.js.br +0 -0
- package/dist/masonry.plugin-CPsNk-yp.js.br +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as de, ah as ru, a9 as Xc, aa as Zc, i as Re, C as Yn, o as rr, M as Er, V as iu, c as Q, ai as go, W as Dl, aj as Jc, J as Te, I as ir, ak as Xa, al as yo, am as Qc, s as ni, O as ef, d as Nt, Q as au, a as me, b as kt, n as Rt, g as Se, f as ar, e as Ce, t as xt, j as We, v as at, Y as Gr, F as bo, a2 as ri, w as Or, ac as tf, u as nf, G as Ar, an as rf, ao as af, h as _o, B as Hi, K as ou, a0 as Pt, a1 as Ft, z as Il, a3 as Za, ap as of, H as zl, T as lf } from "./mitt-BGszhQ2P.js";
|
|
2
2
|
import { c as Xe, g as lu } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
3
3
|
function su(e) {
|
|
4
4
|
return Xc() ? (Zc(e), !0) : !1;
|
|
@@ -20,7 +20,7 @@ function ff(e, n) {
|
|
|
20
20
|
}
|
|
21
21
|
const uu = (e) => e();
|
|
22
22
|
function df(e = uu) {
|
|
23
|
-
const n =
|
|
23
|
+
const n = de(!0);
|
|
24
24
|
function t() {
|
|
25
25
|
n.value = !1;
|
|
26
26
|
}
|
|
@@ -79,7 +79,7 @@ function vf(e, n = !0, t) {
|
|
|
79
79
|
function gf(e, n, t = {}) {
|
|
80
80
|
const {
|
|
81
81
|
immediate: r = !0
|
|
82
|
-
} = t, i =
|
|
82
|
+
} = t, i = de(!1);
|
|
83
83
|
let a = null;
|
|
84
84
|
function o() {
|
|
85
85
|
a && (clearTimeout(a), a = null);
|
|
@@ -128,7 +128,7 @@ function Tr(...e) {
|
|
|
128
128
|
return su(h), h;
|
|
129
129
|
}
|
|
130
130
|
function bf() {
|
|
131
|
-
const e =
|
|
131
|
+
const e = de(!1), n = iu();
|
|
132
132
|
return n && rr(() => {
|
|
133
133
|
e.value = !0;
|
|
134
134
|
}, n), e;
|
|
@@ -173,7 +173,7 @@ function _f(e = {}) {
|
|
|
173
173
|
source: r,
|
|
174
174
|
copiedDuring: i = 1500,
|
|
175
175
|
legacy: a = !1
|
|
176
|
-
} = e, o = du(() => n && "clipboard" in n), l = jl("clipboard-read"), v = jl("clipboard-write"), h = Q(() => o.value || a), p =
|
|
176
|
+
} = e, o = du(() => n && "clipboard" in n), l = jl("clipboard-read"), v = jl("clipboard-write"), h = Q(() => o.value || a), p = de(""), c = de(!1), u = gf(() => c.value = !1, i);
|
|
177
177
|
function f() {
|
|
178
178
|
o.value && d(l.value) ? n.clipboard.readText().then((s) => {
|
|
179
179
|
p.value = s;
|
|
@@ -260,7 +260,7 @@ function Fe(e, n, t, r = {}) {
|
|
|
260
260
|
console.error(T);
|
|
261
261
|
},
|
|
262
262
|
initOnMounted: b
|
|
263
|
-
} = r, y = (p ? go :
|
|
263
|
+
} = r, y = (p ? go : de)(typeof n == "function" ? n() : n);
|
|
264
264
|
if (!t)
|
|
265
265
|
try {
|
|
266
266
|
t = wf("getDefaultStorage", () => {
|
|
@@ -3660,7 +3660,7 @@ Me.getAdapter = Hu.getAdapter;
|
|
|
3660
3660
|
Me.HttpStatusCode = zo;
|
|
3661
3661
|
Me.default = Me;
|
|
3662
3662
|
const Cr = ir("alert", () => {
|
|
3663
|
-
const e =
|
|
3663
|
+
const e = de(""), n = de("default"), t = de("NotActive"), r = de(NaN), i = de("global");
|
|
3664
3664
|
function a({ message: o, type: l = "default" }) {
|
|
3665
3665
|
e.value = o, n.value = l, t.value !== "NotActive" ? (t.value = "KeepActive", clearTimeout(r.value), r.value = window.setTimeout(() => {
|
|
3666
3666
|
t.value = "NotActive";
|
|
@@ -4030,26 +4030,26 @@ const nc = ir("tracking", () => {
|
|
|
4030
4030
|
viewItemList: a
|
|
4031
4031
|
};
|
|
4032
4032
|
}), kr = ir("utilities", () => {
|
|
4033
|
-
const e = ic(), n = nc(), { display: t } = Cr(), r = Fe("k_utils_settings", {}, void 0, { serializer: je.object }), i =
|
|
4034
|
-
let
|
|
4035
|
-
return (
|
|
4033
|
+
const e = ic(), n = nc(), { display: t } = Cr(), r = Fe("k_utils_settings", {}, void 0, { serializer: je.object }), i = de([]), a = de({}), o = Q(() => (W) => i.value[W] ? !i.value[W].disableChildSelection : !0), l = Q(() => (W) => i.value[W] ? !i.value[W].hideArrivalDepartureInputs : !1), v = Q(() => (W) => i.value[W] ? !i.value[W].disableArrivalUserSelection : !1), h = Q(() => (W) => i.value[W] ? !i.value[W].disableDepartureUserSelection : !1), p = Q(() => (W) => i.value[W].arrivalEarliest), c = Q(() => (W) => i.value[W].arrivalDefault), u = Q(() => (W) => i.value[W].arrivalLatest), f = Q(() => (W) => i.value[W].departureEarliest), b = Q(() => (W) => i.value[W].departureDefault), y = Q(() => (W) => i.value[W].departureLatest), g = Q(() => r.value.maximumNightsAvailable), d = Q(() => r.value.enableTracking), s = Q(() => r.value.googleApiKey), _ = Q(() => r.value.recaptchaSiteKey), m = Q(() => r.value.defaultAdultAmount), A = Q(() => r.value.defaultChildAmount), k = Q(() => r.value.maxAdultAmount), S = Q(() => r.value.maxChildAmount), N = Q(() => r.value.firstSelectableDateOffset), C = Q(() => r.value.lastSelectableDateOffset), T = Q(() => r.value.hideTitle), w = Q(() => r.value.headerHeight), E = Q(() => r.value.enableStickyHeader), L = Q(() => r.value.disableNamePrefix), M = Q(() => r.value.disableGiftCardVoucher), z = Q(() => r.value.disableDiscountVoucher), H = Q(() => r.value.disablePricesFrom), F = Q(() => r.value.hideAvailableRoomAmount), Z = Q(() => r.value.disableNewsletterSignup), $ = Q(() => r.value.disableTravelingFor), D = Q(() => r.value.disableTravelingForBleasure), P = Q(() => r.value.disableCompanyField), I = Q(() => r.value.hideEventLength), j = Q(() => r.value.autoSelectRateId), V = Q(() => r.value.splitBookingCalendar), q = de(""), R = de(!1), U = Q(() => `Bearer ${q.value}`), K = Q(() => a.value && a.value.hotels), G = Q(() => K.value ? a.value.hotels[0].currency.currencyCode : ""), ee = Q(() => K.value ? a.value.hotels[0].currency.id : NaN), ae = Q(() => K.value ? a.value.hotels[0].name : ""), ue = Q(() => K.value && a.value.hotels[0].paymentGatewayId || Wn.None), he = Q(() => {
|
|
4034
|
+
let W = !0;
|
|
4035
|
+
return (ue.value === Wn.None || ue.value === Wn.AskForCreditCard) && (W = !1), W;
|
|
4036
4036
|
});
|
|
4037
|
-
function
|
|
4038
|
-
|
|
4037
|
+
function pe(W) {
|
|
4038
|
+
q.value = W;
|
|
4039
4039
|
}
|
|
4040
|
-
async function
|
|
4040
|
+
async function Ae(W = "none") {
|
|
4041
4041
|
try {
|
|
4042
|
-
if (
|
|
4043
|
-
const
|
|
4042
|
+
if (W !== "none") {
|
|
4043
|
+
const X = (await Me.get(`https://production.hotel-service.konnectio.com/api/${W}/metadata`, {
|
|
4044
4044
|
params: {
|
|
4045
4045
|
language: Pn()
|
|
4046
4046
|
},
|
|
4047
4047
|
headers: {
|
|
4048
|
-
Authorization:
|
|
4048
|
+
Authorization: U.value,
|
|
4049
4049
|
Accept: "application/json"
|
|
4050
4050
|
}
|
|
4051
4051
|
})).data;
|
|
4052
|
-
a.value =
|
|
4052
|
+
a.value = X, X.success !== void 0 ? R.value = !X.success : R.value = !1;
|
|
4053
4053
|
}
|
|
4054
4054
|
} catch {
|
|
4055
4055
|
t({
|
|
@@ -4058,22 +4058,22 @@ const nc = ir("tracking", () => {
|
|
|
4058
4058
|
});
|
|
4059
4059
|
}
|
|
4060
4060
|
}
|
|
4061
|
-
async function
|
|
4061
|
+
async function Ie() {
|
|
4062
4062
|
await Me.get("https://production.hotel-service.konnectio.com/api/utility/get-settings-and-translations", {
|
|
4063
4063
|
headers: {
|
|
4064
|
-
Authorization:
|
|
4064
|
+
Authorization: U.value,
|
|
4065
4065
|
Accept: "application/json"
|
|
4066
4066
|
}
|
|
4067
|
-
}).then((
|
|
4068
|
-
const { settings:
|
|
4069
|
-
r.value =
|
|
4067
|
+
}).then((W) => {
|
|
4068
|
+
const { settings: X, hotelSettings: ne, translations: ie } = W.data;
|
|
4069
|
+
r.value = X, i.value = ne, isNaN(e.adults) && (e.adults = X.defaultAdultAmount), isNaN(e.children) && (e.children = X.defaultChildAmount), Qc(ie), n.setup();
|
|
4070
4070
|
});
|
|
4071
4071
|
}
|
|
4072
|
-
const
|
|
4072
|
+
const xe = Q(() => !!_.value);
|
|
4073
4073
|
return {
|
|
4074
|
-
setAccessToken:
|
|
4075
|
-
fetchUtilities:
|
|
4076
|
-
fetchMetadata:
|
|
4074
|
+
setAccessToken: pe,
|
|
4075
|
+
fetchUtilities: Ie,
|
|
4076
|
+
fetchMetadata: Ae,
|
|
4077
4077
|
hasChildSelection: o,
|
|
4078
4078
|
hasArrivalDepartureInputs: l,
|
|
4079
4079
|
hasUserArrivalSelection: v,
|
|
@@ -4085,21 +4085,21 @@ const nc = ir("tracking", () => {
|
|
|
4085
4085
|
defaultDepartureTime: b,
|
|
4086
4086
|
latestDepartureTime: y,
|
|
4087
4087
|
hotelSettings: i,
|
|
4088
|
-
splitBookingCalendar:
|
|
4089
|
-
autoSelectRateId:
|
|
4090
|
-
hideEventLength:
|
|
4091
|
-
disableDiscountVoucher:
|
|
4092
|
-
disableTravelingForBleasure:
|
|
4093
|
-
enableStickyHeader:
|
|
4094
|
-
hasPaymentGateway:
|
|
4095
|
-
hasError:
|
|
4096
|
-
name:
|
|
4097
|
-
hasMetadata:
|
|
4098
|
-
paymentGatewayId:
|
|
4088
|
+
splitBookingCalendar: V,
|
|
4089
|
+
autoSelectRateId: j,
|
|
4090
|
+
hideEventLength: I,
|
|
4091
|
+
disableDiscountVoucher: z,
|
|
4092
|
+
disableTravelingForBleasure: D,
|
|
4093
|
+
enableStickyHeader: E,
|
|
4094
|
+
hasPaymentGateway: he,
|
|
4095
|
+
hasError: R,
|
|
4096
|
+
name: ae,
|
|
4097
|
+
hasMetadata: K,
|
|
4098
|
+
paymentGatewayId: ue,
|
|
4099
4099
|
metaData: a,
|
|
4100
|
-
currency:
|
|
4101
|
-
currencyId:
|
|
4102
|
-
bearerToken:
|
|
4100
|
+
currency: G,
|
|
4101
|
+
currencyId: ee,
|
|
4102
|
+
bearerToken: U,
|
|
4103
4103
|
maximumNightsAvailable: g,
|
|
4104
4104
|
enableTracking: d,
|
|
4105
4105
|
googleApiKey: s,
|
|
@@ -4110,20 +4110,19 @@ const nc = ir("tracking", () => {
|
|
|
4110
4110
|
maxChildAmount: S,
|
|
4111
4111
|
firstSelectableDateOffset: N,
|
|
4112
4112
|
lastSelectableDateOffset: C,
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
isRecaptchaEnabled: X
|
|
4113
|
+
hideTitle: T,
|
|
4114
|
+
headerHeight: w,
|
|
4115
|
+
disableNamePrefix: L,
|
|
4116
|
+
disableGiftCardVoucher: M,
|
|
4117
|
+
disablePricesFrom: H,
|
|
4118
|
+
hideAvailableRoomAmount: F,
|
|
4119
|
+
disableNewsletterSignup: Z,
|
|
4120
|
+
disableTravelingFor: $,
|
|
4121
|
+
disableCompanyField: P,
|
|
4122
|
+
isRecaptchaEnabled: xe
|
|
4124
4123
|
};
|
|
4125
4124
|
}), oh = ir("applyGiftCard", () => {
|
|
4126
|
-
const { display: e } = Cr(), { bearerToken: n } = ni(kr()), t =
|
|
4125
|
+
const { display: e } = Cr(), { bearerToken: n } = ni(kr()), t = de(0), r = de(""), i = de(""), a = de(""), o = de(!1), l = de(!1);
|
|
4127
4126
|
async function v() {
|
|
4128
4127
|
r.value !== "" ? (l.value = !0, await Me.get("https://production.hotel-service.konnectio.com/api/gift-card/validate", {
|
|
4129
4128
|
params: {
|
|
@@ -4133,7 +4132,7 @@ const nc = ir("tracking", () => {
|
|
|
4133
4132
|
headers: {
|
|
4134
4133
|
Authorization: n.value,
|
|
4135
4134
|
Accept: "application/json",
|
|
4136
|
-
"Fresh-Booking-Ver": "4.0.
|
|
4135
|
+
"Fresh-Booking-Ver": "4.0.94"
|
|
4137
4136
|
}
|
|
4138
4137
|
}).then((p) => {
|
|
4139
4138
|
const {
|
|
@@ -4171,7 +4170,7 @@ const nc = ir("tracking", () => {
|
|
|
4171
4170
|
reset: h
|
|
4172
4171
|
};
|
|
4173
4172
|
}), lh = ir("payment", () => {
|
|
4174
|
-
const { display: e } = Cr(), { paymentGatewayId: n, bearerToken: t } = ni(kr()), r =
|
|
4173
|
+
const { display: e } = Cr(), { paymentGatewayId: n, bearerToken: t } = ni(kr()), r = de({}), i = de(), a = Q(() => n.value !== Wn.None), o = Q(() => r.value && r.value.guest ? r.value.guest.name : ""), l = Q(() => r.value && r.value.guest ? r.value.guest.email : ""), v = Q(() => r.value && r.value.guest ? r.value.guest.phone : ""), h = Q(() => r.value.adults), p = Q(() => r.value.children), c = Q(() => r.value.totalPrice || 0), u = Q(() => r.value.totalVAT || 0), f = Q(() => r.value.offerDate), b = Q(() => c.value - u.value), y = Q(() => r.value.orderLines), g = Q(() => y.value ? y.value.length > 0 : !1);
|
|
4175
4174
|
function d() {
|
|
4176
4175
|
Me.put("https://production.hotel-service.konnectio.com/api/capture/confirm", {
|
|
4177
4176
|
confirmationId: i.value
|
|
@@ -4261,7 +4260,7 @@ const nc = ir("tracking", () => {
|
|
|
4261
4260
|
const e = ic(), n = nc(), t = lh(), { voucher: r, amount: i } = ni(oh()), { display: a } = Cr(), {
|
|
4262
4261
|
metaData: o,
|
|
4263
4262
|
bearerToken: l
|
|
4264
|
-
} = ni(kr()), v = kr(), h =
|
|
4263
|
+
} = ni(kr()), v = kr(), h = de({}), p = Q(() => {
|
|
4265
4264
|
const oe = [];
|
|
4266
4265
|
for (const se in h.value) {
|
|
4267
4266
|
const Oe = parseInt(se), Ee = z.value.roomGroups.find((wt) => wt.id === Oe), nt = Ee?.title || "", lt = {
|
|
@@ -4379,15 +4378,15 @@ const nc = ir("tracking", () => {
|
|
|
4379
4378
|
oe = p.value.flatMap(({ variants: Ee }) => Ee).flatMap(({ rooms: Ee }) => Ee).flatMap(({ roomAddons: Ee }) => Ee).reduce((Ee, { totalPrice: nt }) => Ee + nt, Oe);
|
|
4380
4379
|
}
|
|
4381
4380
|
return oe;
|
|
4382
|
-
}), s = Q(() => tt.value ? tt.value.weekendFee : 0), _ = Q(() => p.value.flatMap(({ variants: oe }) => oe).flatMap(({ rooms: oe }) => oe)), m = Q(() => te.value ? 1 : _.value.length), A = Q(() => te.value ? C.value : _.value.reduce((oe, { adultsCount: se }) => oe + se, 0)), k = Q(() => te.value ? T.value : _.value.reduce((oe, { childrenCount: se }) => oe + se, 0)), S =
|
|
4381
|
+
}), s = Q(() => tt.value ? tt.value.weekendFee : 0), _ = Q(() => p.value.flatMap(({ variants: oe }) => oe).flatMap(({ rooms: oe }) => oe)), m = Q(() => te.value ? 1 : _.value.length), A = Q(() => te.value ? C.value : _.value.reduce((oe, { adultsCount: se }) => oe + se, 0)), k = Q(() => te.value ? T.value : _.value.reduce((oe, { childrenCount: se }) => oe + se, 0)), S = de(e.arrivalDate), N = de(e.departureDate), C = de(e.adults), T = de(e.children), w = de(e.location), E = Q(() => S.value !== e.arrivalDate && N.value !== e.departureDate), L = Q(() => w.value !== e.location), M = Q(() => E.value || L.value), z = de({}), H = de(!0), F = de(
|
|
4383
4382
|
0
|
|
4384
4383
|
/* InitialState */
|
|
4385
|
-
), Z =
|
|
4384
|
+
), Z = de(NaN), $ = de({}), D = de(NaN), P = de(""), I = de(""), j = de(""), V = de(""), q = de(""), R = Fe("konnectio_name", "", void 0, { serializer: je.string }), U = Fe("konnectio_nameTitle", 2, void 0, { serializer: je.number }), K = Fe("konnectio_email", "", void 0, { serializer: je.string }), G = Fe("konnectio_phone", "", void 0, { serializer: je.string }), ee = Fe("konnectio_company", "", void 0, { serializer: je.string }), ae = Fe("konnectio_postal", "", void 0, { serializer: je.string }), ue = Fe("konnectio_city", "", void 0, { serializer: je.string }), he = Fe("konnectio_country", 57, void 0, { serializer: je.number }), pe = Fe("konnectio_address", "", void 0, { serializer: je.string }), Ie = Fe("konnectio_sortingKeys", {
|
|
4386
4385
|
pricesFrom: !1
|
|
4387
|
-
}, void 0, { serializer: je.object }), xe =
|
|
4386
|
+
}, void 0, { serializer: je.object }), xe = de(""), W = de(""), X = de(!1), ne = de(!1), ie = de(!1), te = Q(() => !isNaN(Z.value)), ge = Q(() => v.metaData.hotels.findIndex((oe) => oe.id === e.location) || 0), ce = Q(() => v.metaData.hotels[ge.value]), ve = Q(() => v.metaData.hotels && v.metaData.hotels.length > 1), Ke = Q(() => v.metaData.hotels ? v.metaData.hotels.flatMap((oe) => ({
|
|
4388
4387
|
id: oe.id,
|
|
4389
4388
|
name: oe.name
|
|
4390
|
-
})) : []), qe = Q(() => ce.value.termsOfService ? ce.value.termsOfService : ""), ke = Q(() => qe.value !== ""), Gt = Q(() => ce.value.country ? ce.value.country.name : ""), we = Q(() => v.metaData.countries ? v.metaData.countries : []), et = Q(() => ce.value.name ? ce.value.name : ""), or = Q(() => v.metaData && Object.keys(v.metaData).length !== 0), lr = Q(() => Object.keys(z.value).length !== 0), Dn = Q(() => !(!R.value[1] || !K.value || !(
|
|
4389
|
+
})) : []), qe = Q(() => ce.value.termsOfService ? ce.value.termsOfService : ""), ke = Q(() => qe.value !== ""), Gt = Q(() => ce.value.country ? ce.value.country.name : ""), we = Q(() => v.metaData.countries ? v.metaData.countries : []), et = Q(() => ce.value.name ? ce.value.name : ""), or = Q(() => v.metaData && Object.keys(v.metaData).length !== 0), lr = Q(() => Object.keys(z.value).length !== 0), Dn = Q(() => !(!R.value[1] || !K.value || !(G.value.length >= 5) || !ae.value || !ue.value || !pe.value)), dn = Q(() => F.value === 1 && H.value), sr = Q(() => F.value === 3 && H.value), Yt = Q(() => lr.value ? z.value.templates.concat(z.value.specialTemplates) : []), tt = Q(() => {
|
|
4391
4390
|
if (Yt.value.length > 0)
|
|
4392
4391
|
return Yt.value.find(
|
|
4393
4392
|
(oe) => oe.id === Z.value
|
|
@@ -4416,7 +4415,7 @@ const nc = ir("tracking", () => {
|
|
|
4416
4415
|
}
|
|
4417
4416
|
function Zt(oe, se) {
|
|
4418
4417
|
return `[REMARKS]: ${xe.value} \r
|
|
4419
|
-
[ALLERGIES]: ${
|
|
4418
|
+
[ALLERGIES]: ${W.value} \r
|
|
4420
4419
|
[REQUESTED ARRIVAL]: ${oe} \r
|
|
4421
4420
|
[REQUESTED DEPARTURE]: ${se}`;
|
|
4422
4421
|
}
|
|
@@ -4500,7 +4499,7 @@ const nc = ir("tracking", () => {
|
|
|
4500
4499
|
childrenCount: Jt,
|
|
4501
4500
|
guest: {
|
|
4502
4501
|
name: R.value,
|
|
4503
|
-
phone:
|
|
4502
|
+
phone: G.value,
|
|
4504
4503
|
email: K.value
|
|
4505
4504
|
},
|
|
4506
4505
|
roomAddons: Qt
|
|
@@ -4519,8 +4518,8 @@ const nc = ir("tracking", () => {
|
|
|
4519
4518
|
guestID: 0,
|
|
4520
4519
|
name: R.value,
|
|
4521
4520
|
email: K.value,
|
|
4522
|
-
phone:
|
|
4523
|
-
newsmails:
|
|
4521
|
+
phone: G.value,
|
|
4522
|
+
newsmails: X.value
|
|
4524
4523
|
}
|
|
4525
4524
|
});
|
|
4526
4525
|
let Oe = w.value;
|
|
@@ -4537,12 +4536,12 @@ const nc = ir("tracking", () => {
|
|
|
4537
4536
|
name: R.value,
|
|
4538
4537
|
email: K.value,
|
|
4539
4538
|
firmName: ee.value,
|
|
4540
|
-
phone:
|
|
4541
|
-
country:
|
|
4539
|
+
phone: G.value,
|
|
4540
|
+
country: he.value,
|
|
4542
4541
|
address1: pe.value,
|
|
4543
4542
|
postal: String(ae.value),
|
|
4544
4543
|
city: ue.value,
|
|
4545
|
-
newsmails:
|
|
4544
|
+
newsmails: X.value
|
|
4546
4545
|
},
|
|
4547
4546
|
giftCardCode: r.value,
|
|
4548
4547
|
discountCode: oe ? q.value : V.value,
|
|
@@ -4556,7 +4555,7 @@ const nc = ir("tracking", () => {
|
|
|
4556
4555
|
termsOfserviceURL: window.location.origin
|
|
4557
4556
|
};
|
|
4558
4557
|
}
|
|
4559
|
-
const ot =
|
|
4558
|
+
const ot = de(), mn = de(!1);
|
|
4560
4559
|
async function Rr() {
|
|
4561
4560
|
V.value !== "" ? (mn.value = !0, Me.post("https://production.hotel-service.konnectio.com/api/hotel/validate-discount-code", mt(), {
|
|
4562
4561
|
headers: {
|
|
@@ -4695,15 +4694,15 @@ const nc = ir("tracking", () => {
|
|
|
4695
4694
|
name: R,
|
|
4696
4695
|
nameTitle: U,
|
|
4697
4696
|
email: K,
|
|
4698
|
-
phone:
|
|
4697
|
+
phone: G,
|
|
4699
4698
|
firmName: ee,
|
|
4700
4699
|
postal: ae,
|
|
4701
4700
|
city: ue,
|
|
4702
|
-
country:
|
|
4701
|
+
country: he,
|
|
4703
4702
|
address: pe,
|
|
4704
4703
|
remark: xe,
|
|
4705
|
-
allergies:
|
|
4706
|
-
newsMails:
|
|
4704
|
+
allergies: W,
|
|
4705
|
+
newsMails: X,
|
|
4707
4706
|
roomDisplay: p,
|
|
4708
4707
|
isPaymentInitialized: ne,
|
|
4709
4708
|
hotelCountry: Gt,
|
|
@@ -4735,7 +4734,7 @@ const nc = ir("tracking", () => {
|
|
|
4735
4734
|
weekendFee: s
|
|
4736
4735
|
};
|
|
4737
4736
|
}), ys = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), bs = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), _s = () => /* @__PURE__ */ new Date(), Os = () => new Date((/* @__PURE__ */ new Date()).getTime() + 12 * 60 * 60 * 1e3), ic = ir("availability", () => {
|
|
4738
|
-
const e = ef("emitter"), n = rc(), t = kr(), { display: r } = Cr(), i =
|
|
4737
|
+
const e = ef("emitter"), n = rc(), t = kr(), { display: r } = Cr(), i = de({}), a = Fe("k_avail_expiry", Os(), void 0, { serializer: je.date }), o = Q(() => a.value === void 0 ? !1 : a.value < /* @__PURE__ */ new Date()), l = Fe("k_hotel_adults", NaN, void 0, { serializer: je.number }), v = Fe("k_hotel_children", NaN, void 0, { serializer: je.number }), h = Fe("k_hotel_arrival", ys(), void 0, { serializer: je.date }), p = Fe("k_hotel_departure", bs(), void 0, { serializer: je.date }), c = Fe("k_hotel_loc", void 0, void 0, { serializer: je.number }), u = Fe("k_hotel_loc_c", NaN, void 0, { serializer: je.number }), f = Fe("k_hotel_has_selected_loc", !1, void 0, { serializer: je.boolean }), b = Q(() => Object.keys(i.value).length > 0), y = Q(() => b.value && i.value.hotels.length > 1), g = Q(() => i.value ? i.value.hotels : []), d = Q(() => Ou(h.value, p.value));
|
|
4739
4738
|
function s(F) {
|
|
4740
4739
|
if (b.value)
|
|
4741
4740
|
return i.value.hotels.some((Z) => Z.id === F);
|
|
@@ -9541,16 +9540,16 @@ var Fc = { exports: {} };
|
|
|
9541
9540
|
}, {
|
|
9542
9541
|
key: "formatLine",
|
|
9543
9542
|
value: function(P, I, j, V, q) {
|
|
9544
|
-
var R = this, U = void 0, K = F(P, I, j, V, q),
|
|
9545
|
-
return P =
|
|
9543
|
+
var R = this, U = void 0, K = F(P, I, j, V, q), G = o(K, 4);
|
|
9544
|
+
return P = G[0], I = G[1], U = G[2], q = G[3], H.call(this, function() {
|
|
9546
9545
|
return R.editor.formatLine(P, I, U);
|
|
9547
9546
|
}, q, P, 0);
|
|
9548
9547
|
}
|
|
9549
9548
|
}, {
|
|
9550
9549
|
key: "formatText",
|
|
9551
9550
|
value: function(P, I, j, V, q) {
|
|
9552
|
-
var R = this, U = void 0, K = F(P, I, j, V, q),
|
|
9553
|
-
return P =
|
|
9551
|
+
var R = this, U = void 0, K = F(P, I, j, V, q), G = o(K, 4);
|
|
9552
|
+
return P = G[0], I = G[1], U = G[2], q = G[3], H.call(this, function() {
|
|
9554
9553
|
return R.editor.formatText(P, I, U);
|
|
9555
9554
|
}, q, P, 0);
|
|
9556
9555
|
}
|
|
@@ -9640,8 +9639,8 @@ var Fc = { exports: {} };
|
|
|
9640
9639
|
}, {
|
|
9641
9640
|
key: "insertText",
|
|
9642
9641
|
value: function(P, I, j, V, q) {
|
|
9643
|
-
var R = this, U = void 0, K = F(P, 0, j, V, q),
|
|
9644
|
-
return P =
|
|
9642
|
+
var R = this, U = void 0, K = F(P, 0, j, V, q), G = o(K, 4);
|
|
9643
|
+
return P = G[0], U = G[2], q = G[3], H.call(this, function() {
|
|
9645
9644
|
return R.editor.insertText(P, I, U);
|
|
9646
9645
|
}, q, P, I.length);
|
|
9647
9646
|
}
|
|
@@ -9794,13 +9793,13 @@ var Fc = { exports: {} };
|
|
|
9794
9793
|
if ($ == null) return null;
|
|
9795
9794
|
var j = void 0, V = void 0;
|
|
9796
9795
|
if (D instanceof h.default) {
|
|
9797
|
-
var q = [$.index, $.index + $.length].map(function(
|
|
9798
|
-
return D.transformPosition(
|
|
9796
|
+
var q = [$.index, $.index + $.length].map(function(G) {
|
|
9797
|
+
return D.transformPosition(G, I !== f.default.sources.USER);
|
|
9799
9798
|
}), R = o(q, 2);
|
|
9800
9799
|
j = R[0], V = R[1];
|
|
9801
9800
|
} else {
|
|
9802
|
-
var U = [$.index, $.index + $.length].map(function(
|
|
9803
|
-
return
|
|
9801
|
+
var U = [$.index, $.index + $.length].map(function(G) {
|
|
9802
|
+
return G < D || G === D && I === f.default.sources.USER ? G : P >= 0 ? G + P : Math.max(D, G + P);
|
|
9804
9803
|
}), K = o(U, 2);
|
|
9805
9804
|
j = K[0], V = K[1];
|
|
9806
9805
|
}
|
|
@@ -10380,25 +10379,25 @@ var Fc = { exports: {} };
|
|
|
10380
10379
|
var U = R.retain || R.delete || R.insert.length || 1, K = R.attributes || {};
|
|
10381
10380
|
if (R.insert != null) {
|
|
10382
10381
|
if (typeof R.insert == "string") {
|
|
10383
|
-
var
|
|
10384
|
-
|
|
10385
|
-
`) && j && (j = !1,
|
|
10386
|
-
`) && (j = !0), I.scroll.insertAt(q,
|
|
10387
|
-
var ee = I.scroll.line(q), ae = o(ee, 2), ue = ae[0],
|
|
10382
|
+
var G = R.insert;
|
|
10383
|
+
G.endsWith(`
|
|
10384
|
+
`) && j && (j = !1, G = G.slice(0, -1)), q >= V && !G.endsWith(`
|
|
10385
|
+
`) && (j = !0), I.scroll.insertAt(q, G);
|
|
10386
|
+
var ee = I.scroll.line(q), ae = o(ee, 2), ue = ae[0], he = ae[1], pe = (0, w.default)({}, (0, s.bubbleFormats)(ue));
|
|
10388
10387
|
if (ue instanceof _.default) {
|
|
10389
|
-
var Ae = ue.descendant(f.default.Leaf,
|
|
10388
|
+
var Ae = ue.descendant(f.default.Leaf, he), Ie = o(Ae, 1), xe = Ie[0];
|
|
10390
10389
|
pe = (0, w.default)(pe, (0, s.bubbleFormats)(xe));
|
|
10391
10390
|
}
|
|
10392
10391
|
K = c.default.attributes.diff(pe, K) || {};
|
|
10393
10392
|
} else if (a(R.insert) === "object") {
|
|
10394
|
-
var
|
|
10395
|
-
if (
|
|
10396
|
-
I.scroll.insertAt(q,
|
|
10393
|
+
var W = Object.keys(R.insert)[0];
|
|
10394
|
+
if (W == null) return q;
|
|
10395
|
+
I.scroll.insertAt(q, W, R.insert[W]);
|
|
10397
10396
|
}
|
|
10398
10397
|
V += U;
|
|
10399
10398
|
}
|
|
10400
|
-
return Object.keys(K).forEach(function(
|
|
10401
|
-
I.scroll.formatAt(q, U,
|
|
10399
|
+
return Object.keys(K).forEach(function(X) {
|
|
10400
|
+
I.scroll.formatAt(q, U, X, K[X]);
|
|
10402
10401
|
}), q + U;
|
|
10403
10402
|
}, 0), P.reduce(function(q, R) {
|
|
10404
10403
|
return typeof R.delete == "number" ? (I.scroll.deleteAt(q, R.delete), q) : q + (R.retain || R.insert.length || 1);
|
|
@@ -10417,14 +10416,14 @@ var Fc = { exports: {} };
|
|
|
10417
10416
|
if (!(j.scroll.whitelist != null && !j.scroll.whitelist[q])) {
|
|
10418
10417
|
var R = j.scroll.lines(P, Math.max(I, 1)), U = I;
|
|
10419
10418
|
R.forEach(function(K) {
|
|
10420
|
-
var
|
|
10419
|
+
var G = K.length();
|
|
10421
10420
|
if (!(K instanceof y.default))
|
|
10422
10421
|
K.format(q, V[q]);
|
|
10423
10422
|
else {
|
|
10424
10423
|
var ee = P - K.offset(j.scroll), ae = K.newlineIndex(ee + U) - ee + 1;
|
|
10425
10424
|
K.formatAt(ee, ae, q, V[q]);
|
|
10426
10425
|
}
|
|
10427
|
-
U -=
|
|
10426
|
+
U -= G;
|
|
10428
10427
|
});
|
|
10429
10428
|
}
|
|
10430
10429
|
}), this.scroll.optimize(), this.update(new h.default().retain(P).retain(I, (0, S.default)(V)));
|
|
@@ -10503,10 +10502,10 @@ var Fc = { exports: {} };
|
|
|
10503
10502
|
}, {
|
|
10504
10503
|
key: "removeFormat",
|
|
10505
10504
|
value: function(P, I) {
|
|
10506
|
-
var j = this.getText(P, I), V = this.scroll.line(P + I), q = o(V, 2), R = q[0], U = q[1], K = 0,
|
|
10507
|
-
R != null && (R instanceof y.default ? K = R.newlineIndex(U) - U + 1 : K = R.length() - U,
|
|
10505
|
+
var j = this.getText(P, I), V = this.scroll.line(P + I), q = o(V, 2), R = q[0], U = q[1], K = 0, G = new h.default();
|
|
10506
|
+
R != null && (R instanceof y.default ? K = R.newlineIndex(U) - U + 1 : K = R.length() - U, G = R.delta().slice(U, U + K - 1).insert(`
|
|
10508
10507
|
`));
|
|
10509
|
-
var ee = this.getContents(P, I + K), ae = ee.diff(new h.default().insert(j).concat(
|
|
10508
|
+
var ee = this.getContents(P, I + K), ae = ee.diff(new h.default().insert(j).concat(G)), ue = new h.default().retain(P).concat(ae);
|
|
10510
10509
|
return this.applyDelta(ue);
|
|
10511
10510
|
}
|
|
10512
10511
|
}, {
|
|
@@ -10514,9 +10513,9 @@ var Fc = { exports: {} };
|
|
|
10514
10513
|
value: function(P) {
|
|
10515
10514
|
var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], j = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, V = this.delta;
|
|
10516
10515
|
if (I.length === 1 && I[0].type === "characterData" && I[0].target.data.match(z) && f.default.find(I[0].target)) {
|
|
10517
|
-
var q = f.default.find(I[0].target), R = (0, s.bubbleFormats)(q), U = q.offset(this.scroll), K = I[0].oldValue.replace(d.default.CONTENTS, ""),
|
|
10518
|
-
P = ae.reduce(function(ue,
|
|
10519
|
-
return
|
|
10516
|
+
var q = f.default.find(I[0].target), R = (0, s.bubbleFormats)(q), U = q.offset(this.scroll), K = I[0].oldValue.replace(d.default.CONTENTS, ""), G = new h.default().insert(K), ee = new h.default().insert(q.value()), ae = new h.default().retain(U).concat(G.diff(ee, j));
|
|
10517
|
+
P = ae.reduce(function(ue, he) {
|
|
10518
|
+
return he.insert ? ue.insert(he.insert, R) : ue.push(he);
|
|
10520
10519
|
}, new h.default()), this.delta = V.compose(P);
|
|
10521
10520
|
} else
|
|
10522
10521
|
this.delta = this.getDelta(), (!P || !(0, C.default)(V.compose(P), this.delta)) && (P = V.diff(this.delta, j));
|
|
@@ -11581,20 +11580,20 @@ var Fc = { exports: {} };
|
|
|
11581
11580
|
return R && typeof Symbol == "function" && R.constructor === Symbol && R !== Symbol.prototype ? "symbol" : typeof R;
|
|
11582
11581
|
}, o = /* @__PURE__ */ function() {
|
|
11583
11582
|
function R(U, K) {
|
|
11584
|
-
var
|
|
11583
|
+
var G = [], ee = !0, ae = !1, ue = void 0;
|
|
11585
11584
|
try {
|
|
11586
|
-
for (var
|
|
11585
|
+
for (var he = U[Symbol.iterator](), pe; !(ee = (pe = he.next()).done) && (G.push(pe.value), !(K && G.length === K)); ee = !0)
|
|
11587
11586
|
;
|
|
11588
11587
|
} catch (Ae) {
|
|
11589
11588
|
ae = !0, ue = Ae;
|
|
11590
11589
|
} finally {
|
|
11591
11590
|
try {
|
|
11592
|
-
!ee &&
|
|
11591
|
+
!ee && he.return && he.return();
|
|
11593
11592
|
} finally {
|
|
11594
11593
|
if (ae) throw ue;
|
|
11595
11594
|
}
|
|
11596
11595
|
}
|
|
11597
|
-
return
|
|
11596
|
+
return G;
|
|
11598
11597
|
}
|
|
11599
11598
|
return function(U, K) {
|
|
11600
11599
|
if (Array.isArray(U))
|
|
@@ -11605,13 +11604,13 @@ var Fc = { exports: {} };
|
|
|
11605
11604
|
};
|
|
11606
11605
|
}(), l = /* @__PURE__ */ function() {
|
|
11607
11606
|
function R(U, K) {
|
|
11608
|
-
for (var
|
|
11609
|
-
var ee = K[
|
|
11607
|
+
for (var G = 0; G < K.length; G++) {
|
|
11608
|
+
var ee = K[G];
|
|
11610
11609
|
ee.enumerable = ee.enumerable || !1, ee.configurable = !0, "value" in ee && (ee.writable = !0), Object.defineProperty(U, ee.key, ee);
|
|
11611
11610
|
}
|
|
11612
11611
|
}
|
|
11613
|
-
return function(U, K,
|
|
11614
|
-
return K && R(U.prototype, K),
|
|
11612
|
+
return function(U, K, G) {
|
|
11613
|
+
return K && R(U.prototype, K), G && R(U, G), U;
|
|
11615
11614
|
};
|
|
11616
11615
|
}(), v = i(21), h = T(v), p = i(11), c = T(p), u = i(3), f = T(u), b = i(2), y = T(b), g = i(20), d = T(g), s = i(0), _ = T(s), m = i(5), A = T(m), k = i(10), S = T(k), N = i(9), C = T(N);
|
|
11617
11616
|
function T(R) {
|
|
@@ -11637,15 +11636,15 @@ var Fc = { exports: {} };
|
|
|
11637
11636
|
var z = (0, S.default)("quill:keyboard"), H = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", F = function(R) {
|
|
11638
11637
|
M(U, R), l(U, null, [{
|
|
11639
11638
|
key: "match",
|
|
11640
|
-
value: function(
|
|
11639
|
+
value: function(G, ee) {
|
|
11641
11640
|
return ee = q(ee), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(ae) {
|
|
11642
|
-
return !!ee[ae] !==
|
|
11643
|
-
}) ? !1 : ee.key === (
|
|
11641
|
+
return !!ee[ae] !== G[ae] && ee[ae] !== null;
|
|
11642
|
+
}) ? !1 : ee.key === (G.which || G.keyCode);
|
|
11644
11643
|
}
|
|
11645
11644
|
}]);
|
|
11646
|
-
function U(K,
|
|
11645
|
+
function U(K, G) {
|
|
11647
11646
|
E(this, U);
|
|
11648
|
-
var ee = L(this, (U.__proto__ || Object.getPrototypeOf(U)).call(this, K,
|
|
11647
|
+
var ee = L(this, (U.__proto__ || Object.getPrototypeOf(U)).call(this, K, G));
|
|
11649
11648
|
return ee.bindings = {}, Object.keys(ee.options.bindings).forEach(function(ae) {
|
|
11650
11649
|
ae === "list autofill" && K.scroll.whitelist != null && !K.scroll.whitelist.list || ee.options.bindings[ae] && ee.addBinding(ee.options.bindings[ae]);
|
|
11651
11650
|
}), ee.addBinding({ key: U.keys.ENTER, shiftKey: null }, I), ee.addBinding({ key: U.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
|
|
@@ -11653,8 +11652,8 @@ var Fc = { exports: {} };
|
|
|
11653
11652
|
}
|
|
11654
11653
|
return l(U, [{
|
|
11655
11654
|
key: "addBinding",
|
|
11656
|
-
value: function(
|
|
11657
|
-
var ee = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, ae = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, ue = q(
|
|
11655
|
+
value: function(G) {
|
|
11656
|
+
var ee = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, ae = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, ue = q(G);
|
|
11658
11657
|
if (ue == null || ue.key == null)
|
|
11659
11658
|
return z.warn("Attempted to add invalid keyboard binding", ue);
|
|
11660
11659
|
typeof ee == "function" && (ee = { handler: ee }), typeof ae == "function" && (ae = { handler: ae }), ue = (0, f.default)(ue, ee, ae), this.bindings[ue.key] = this.bindings[ue.key] || [], this.bindings[ue.key].push(ue);
|
|
@@ -11662,19 +11661,19 @@ var Fc = { exports: {} };
|
|
|
11662
11661
|
}, {
|
|
11663
11662
|
key: "listen",
|
|
11664
11663
|
value: function() {
|
|
11665
|
-
var
|
|
11664
|
+
var G = this;
|
|
11666
11665
|
this.quill.root.addEventListener("keydown", function(ee) {
|
|
11667
11666
|
if (!ee.defaultPrevented) {
|
|
11668
|
-
var ae = ee.which || ee.keyCode, ue = (
|
|
11667
|
+
var ae = ee.which || ee.keyCode, ue = (G.bindings[ae] || []).filter(function(we) {
|
|
11669
11668
|
return U.match(ee, we);
|
|
11670
11669
|
});
|
|
11671
11670
|
if (ue.length !== 0) {
|
|
11672
|
-
var
|
|
11673
|
-
if (!(
|
|
11674
|
-
var pe =
|
|
11675
|
-
collapsed:
|
|
11676
|
-
empty:
|
|
11677
|
-
format:
|
|
11671
|
+
var he = G.quill.getSelection();
|
|
11672
|
+
if (!(he == null || !G.quill.hasFocus())) {
|
|
11673
|
+
var pe = G.quill.getLine(he.index), Ae = o(pe, 2), Ie = Ae[0], xe = Ae[1], W = G.quill.getLeaf(he.index), X = o(W, 2), ne = X[0], ie = X[1], te = he.length === 0 ? [ne, ie] : G.quill.getLeaf(he.index + he.length), ge = o(te, 2), ce = ge[0], ve = ge[1], Ke = ne instanceof _.default.Text ? ne.value().slice(0, ie) : "", qe = ce instanceof _.default.Text ? ce.value().slice(ve) : "", ke = {
|
|
11674
|
+
collapsed: he.length === 0,
|
|
11675
|
+
empty: he.length === 0 && Ie.length() <= 1,
|
|
11676
|
+
format: G.quill.getFormat(he),
|
|
11678
11677
|
offset: xe,
|
|
11679
11678
|
prefix: Ke,
|
|
11680
11679
|
suffix: qe
|
|
@@ -11689,7 +11688,7 @@ var Fc = { exports: {} };
|
|
|
11689
11688
|
return we.format[et] === !0 ? ke.format[et] != null : we.format[et] === !1 ? ke.format[et] == null : (0, c.default)(we.format[et], ke.format[et]);
|
|
11690
11689
|
}))
|
|
11691
11690
|
return !1;
|
|
11692
|
-
return we.prefix != null && !we.prefix.test(ke.prefix) || we.suffix != null && !we.suffix.test(ke.suffix) ? !1 : we.handler.call(
|
|
11691
|
+
return we.prefix != null && !we.prefix.test(ke.prefix) || we.suffix != null && !we.suffix.test(ke.suffix) ? !1 : we.handler.call(G, he, ke) !== !0;
|
|
11693
11692
|
});
|
|
11694
11693
|
Gt && ee.preventDefault();
|
|
11695
11694
|
}
|
|
@@ -11779,9 +11778,9 @@ var Fc = { exports: {} };
|
|
|
11779
11778
|
collapsed: !0,
|
|
11780
11779
|
format: { list: "checked" },
|
|
11781
11780
|
handler: function(U) {
|
|
11782
|
-
var K = this.quill.getLine(U.index),
|
|
11781
|
+
var K = this.quill.getLine(U.index), G = o(K, 2), ee = G[0], ae = G[1], ue = (0, f.default)({}, ee.formats(), { list: "checked" }), he = new y.default().retain(U.index).insert(`
|
|
11783
11782
|
`, ue).retain(ee.length() - ae - 1).retain(1, { list: "unchecked" });
|
|
11784
|
-
this.quill.updateContents(
|
|
11783
|
+
this.quill.updateContents(he, A.default.sources.USER), this.quill.setSelection(U.index + 1, A.default.sources.SILENT), this.quill.scrollIntoView();
|
|
11785
11784
|
}
|
|
11786
11785
|
},
|
|
11787
11786
|
"header enter": {
|
|
@@ -11790,9 +11789,9 @@ var Fc = { exports: {} };
|
|
|
11790
11789
|
format: ["header"],
|
|
11791
11790
|
suffix: /^$/,
|
|
11792
11791
|
handler: function(U, K) {
|
|
11793
|
-
var
|
|
11792
|
+
var G = this.quill.getLine(U.index), ee = o(G, 2), ae = ee[0], ue = ee[1], he = new y.default().retain(U.index).insert(`
|
|
11794
11793
|
`, K.format).retain(ae.length() - ue - 1).retain(1, { header: null });
|
|
11795
|
-
this.quill.updateContents(
|
|
11794
|
+
this.quill.updateContents(he, A.default.sources.USER), this.quill.setSelection(U.index + 1, A.default.sources.SILENT), this.quill.scrollIntoView();
|
|
11796
11795
|
}
|
|
11797
11796
|
},
|
|
11798
11797
|
"list autofill": {
|
|
@@ -11801,8 +11800,8 @@ var Fc = { exports: {} };
|
|
|
11801
11800
|
format: { list: !1 },
|
|
11802
11801
|
prefix: /^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,
|
|
11803
11802
|
handler: function(U, K) {
|
|
11804
|
-
var
|
|
11805
|
-
if (
|
|
11803
|
+
var G = K.prefix.length, ee = this.quill.getLine(U.index), ae = o(ee, 2), ue = ae[0], he = ae[1];
|
|
11804
|
+
if (he > G) return !0;
|
|
11806
11805
|
var pe = void 0;
|
|
11807
11806
|
switch (K.prefix.trim()) {
|
|
11808
11807
|
case "[]":
|
|
@@ -11820,8 +11819,8 @@ var Fc = { exports: {} };
|
|
|
11820
11819
|
pe = "ordered";
|
|
11821
11820
|
}
|
|
11822
11821
|
this.quill.insertText(U.index, " ", A.default.sources.USER), this.quill.history.cutoff();
|
|
11823
|
-
var Ae = new y.default().retain(U.index -
|
|
11824
|
-
this.quill.updateContents(Ae, A.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(U.index -
|
|
11822
|
+
var Ae = new y.default().retain(U.index - he).delete(G + 1).retain(ue.length() - 2 - he).retain(1, { list: pe });
|
|
11823
|
+
this.quill.updateContents(Ae, A.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(U.index - G, A.default.sources.SILENT);
|
|
11825
11824
|
}
|
|
11826
11825
|
},
|
|
11827
11826
|
"code exit": {
|
|
@@ -11831,7 +11830,7 @@ var Fc = { exports: {} };
|
|
|
11831
11830
|
prefix: /\n\n$/,
|
|
11832
11831
|
suffix: /^\s+$/,
|
|
11833
11832
|
handler: function(U) {
|
|
11834
|
-
var K = this.quill.getLine(U.index),
|
|
11833
|
+
var K = this.quill.getLine(U.index), G = o(K, 2), ee = G[0], ae = G[1], ue = new y.default().retain(U.index + ee.length() - ae - 2).retain(1, { "code-block": null }).delete(1);
|
|
11835
11834
|
this.quill.updateContents(ue, A.default.sources.USER);
|
|
11836
11835
|
}
|
|
11837
11836
|
},
|
|
@@ -11842,23 +11841,23 @@ var Fc = { exports: {} };
|
|
|
11842
11841
|
}
|
|
11843
11842
|
};
|
|
11844
11843
|
function Z(R, U) {
|
|
11845
|
-
var K,
|
|
11844
|
+
var K, G = R === F.keys.LEFT ? "prefix" : "suffix";
|
|
11846
11845
|
return K = {
|
|
11847
11846
|
key: R,
|
|
11848
11847
|
shiftKey: U,
|
|
11849
11848
|
altKey: null
|
|
11850
|
-
}, w(K,
|
|
11849
|
+
}, w(K, G, /^$/), w(K, "handler", function(ae) {
|
|
11851
11850
|
var ue = ae.index;
|
|
11852
11851
|
R === F.keys.RIGHT && (ue += ae.length + 1);
|
|
11853
|
-
var
|
|
11852
|
+
var he = this.quill.getLeaf(ue), pe = o(he, 1), Ae = pe[0];
|
|
11854
11853
|
return Ae instanceof _.default.Embed ? (R === F.keys.LEFT ? U ? this.quill.setSelection(ae.index - 1, ae.length + 1, A.default.sources.USER) : this.quill.setSelection(ae.index - 1, A.default.sources.USER) : U ? this.quill.setSelection(ae.index, ae.length + 1, A.default.sources.USER) : this.quill.setSelection(ae.index + ae.length + 1, A.default.sources.USER), !1) : !0;
|
|
11855
11854
|
}), K;
|
|
11856
11855
|
}
|
|
11857
11856
|
function $(R, U) {
|
|
11858
11857
|
if (!(R.index === 0 || this.quill.getLength() <= 1)) {
|
|
11859
|
-
var K = this.quill.getLine(R.index),
|
|
11858
|
+
var K = this.quill.getLine(R.index), G = o(K, 1), ee = G[0], ae = {};
|
|
11860
11859
|
if (U.offset === 0) {
|
|
11861
|
-
var ue = this.quill.getLine(R.index - 1),
|
|
11860
|
+
var ue = this.quill.getLine(R.index - 1), he = o(ue, 1), pe = he[0];
|
|
11862
11861
|
if (pe != null && pe.length() > 1) {
|
|
11863
11862
|
var Ae = ee.formats(), Ie = this.quill.getFormat(R.index - 1, 1);
|
|
11864
11863
|
ae = d.default.attributes.diff(Ae, Ie) || {};
|
|
@@ -11871,34 +11870,34 @@ var Fc = { exports: {} };
|
|
|
11871
11870
|
function D(R, U) {
|
|
11872
11871
|
var K = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(U.suffix) ? 2 : 1;
|
|
11873
11872
|
if (!(R.index >= this.quill.getLength() - K)) {
|
|
11874
|
-
var
|
|
11875
|
-
if (U.offset >=
|
|
11873
|
+
var G = {}, ee = 0, ae = this.quill.getLine(R.index), ue = o(ae, 1), he = ue[0];
|
|
11874
|
+
if (U.offset >= he.length() - 1) {
|
|
11876
11875
|
var pe = this.quill.getLine(R.index + 1), Ae = o(pe, 1), Ie = Ae[0];
|
|
11877
11876
|
if (Ie) {
|
|
11878
|
-
var xe =
|
|
11879
|
-
|
|
11877
|
+
var xe = he.formats(), W = this.quill.getFormat(R.index, 1);
|
|
11878
|
+
G = d.default.attributes.diff(xe, W) || {}, ee = Ie.length();
|
|
11880
11879
|
}
|
|
11881
11880
|
}
|
|
11882
|
-
this.quill.deleteText(R.index, K, A.default.sources.USER), Object.keys(
|
|
11881
|
+
this.quill.deleteText(R.index, K, A.default.sources.USER), Object.keys(G).length > 0 && this.quill.formatLine(R.index + ee - 1, K, G, A.default.sources.USER);
|
|
11883
11882
|
}
|
|
11884
11883
|
}
|
|
11885
11884
|
function P(R) {
|
|
11886
11885
|
var U = this.quill.getLines(R), K = {};
|
|
11887
11886
|
if (U.length > 1) {
|
|
11888
|
-
var
|
|
11889
|
-
K = d.default.attributes.diff(ee,
|
|
11887
|
+
var G = U[0].formats(), ee = U[U.length - 1].formats();
|
|
11888
|
+
K = d.default.attributes.diff(ee, G) || {};
|
|
11890
11889
|
}
|
|
11891
11890
|
this.quill.deleteText(R, A.default.sources.USER), Object.keys(K).length > 0 && this.quill.formatLine(R.index, 1, K, A.default.sources.USER), this.quill.setSelection(R.index, A.default.sources.SILENT), this.quill.focus();
|
|
11892
11891
|
}
|
|
11893
11892
|
function I(R, U) {
|
|
11894
11893
|
var K = this;
|
|
11895
11894
|
R.length > 0 && this.quill.scroll.deleteAt(R.index, R.length);
|
|
11896
|
-
var
|
|
11895
|
+
var G = Object.keys(U.format).reduce(function(ee, ae) {
|
|
11897
11896
|
return _.default.query(ae, _.default.Scope.BLOCK) && !Array.isArray(U.format[ae]) && (ee[ae] = U.format[ae]), ee;
|
|
11898
11897
|
}, {});
|
|
11899
11898
|
this.quill.insertText(R.index, `
|
|
11900
|
-
`,
|
|
11901
|
-
|
|
11899
|
+
`, G, A.default.sources.USER), this.quill.setSelection(R.index + 1, A.default.sources.SILENT), this.quill.focus(), Object.keys(U.format).forEach(function(ee) {
|
|
11900
|
+
G[ee] == null && (Array.isArray(U.format[ee]) || ee !== "link" && K.quill.format(ee, U.format[ee], A.default.sources.USER));
|
|
11902
11901
|
});
|
|
11903
11902
|
}
|
|
11904
11903
|
function j(R) {
|
|
@@ -11907,12 +11906,12 @@ var Fc = { exports: {} };
|
|
|
11907
11906
|
shiftKey: !R,
|
|
11908
11907
|
format: { "code-block": !0 },
|
|
11909
11908
|
handler: function(K) {
|
|
11910
|
-
var
|
|
11909
|
+
var G = _.default.query("code-block"), ee = K.index, ae = K.length, ue = this.quill.scroll.descendant(G, ee), he = o(ue, 2), pe = he[0], Ae = he[1];
|
|
11911
11910
|
if (pe != null) {
|
|
11912
|
-
var Ie = this.quill.getIndex(pe), xe = pe.newlineIndex(Ae, !0) + 1,
|
|
11911
|
+
var Ie = this.quill.getIndex(pe), xe = pe.newlineIndex(Ae, !0) + 1, W = pe.newlineIndex(Ie + Ae + ae), X = pe.domNode.textContent.slice(xe, W).split(`
|
|
11913
11912
|
`);
|
|
11914
|
-
Ae = 0,
|
|
11915
|
-
R ? (pe.insertAt(xe + Ae,
|
|
11913
|
+
Ae = 0, X.forEach(function(ne, ie) {
|
|
11914
|
+
R ? (pe.insertAt(xe + Ae, G.TAB), Ae += G.TAB.length, ie === 0 ? ee += G.TAB.length : ae += G.TAB.length) : ne.startsWith(G.TAB) && (pe.deleteAt(xe + Ae, G.TAB.length), Ae -= G.TAB.length, ie === 0 ? ee -= G.TAB.length : ae -= G.TAB.length), Ae += ne.length + 1;
|
|
11916
11915
|
}), this.quill.update(A.default.sources.USER), this.quill.setSelection(ee, ae, A.default.sources.SILENT);
|
|
11917
11916
|
}
|
|
11918
11917
|
}
|
|
@@ -11922,8 +11921,8 @@ var Fc = { exports: {} };
|
|
|
11922
11921
|
return {
|
|
11923
11922
|
key: R[0].toUpperCase(),
|
|
11924
11923
|
shortKey: !0,
|
|
11925
|
-
handler: function(K,
|
|
11926
|
-
this.quill.format(R, !
|
|
11924
|
+
handler: function(K, G) {
|
|
11925
|
+
this.quill.format(R, !G.format[R], A.default.sources.USER);
|
|
11927
11926
|
}
|
|
11928
11927
|
};
|
|
11929
11928
|
}
|
|
@@ -13166,11 +13165,11 @@ var Fc = { exports: {} };
|
|
|
13166
13165
|
E(j, I);
|
|
13167
13166
|
function j(V, q) {
|
|
13168
13167
|
T(this, j);
|
|
13169
|
-
var R = w(this, (j.__proto__ || Object.getPrototypeOf(j)).call(this, V, q)), U = function K(
|
|
13168
|
+
var R = w(this, (j.__proto__ || Object.getPrototypeOf(j)).call(this, V, q)), U = function K(G) {
|
|
13170
13169
|
if (!document.body.contains(V.root))
|
|
13171
13170
|
return document.body.removeEventListener("click", K);
|
|
13172
|
-
R.tooltip != null && !R.tooltip.root.contains(
|
|
13173
|
-
ee.container.contains(
|
|
13171
|
+
R.tooltip != null && !R.tooltip.root.contains(G.target) && document.activeElement !== R.tooltip.textbox && !R.quill.hasFocus() && R.tooltip.hide(), R.pickers != null && R.pickers.forEach(function(ee) {
|
|
13172
|
+
ee.container.contains(G.target) || ee.close();
|
|
13174
13173
|
});
|
|
13175
13174
|
};
|
|
13176
13175
|
return V.emitter.listenDOM("click", document.body, U), R;
|
|
@@ -13186,15 +13185,15 @@ var Fc = { exports: {} };
|
|
|
13186
13185
|
value: function(q, R) {
|
|
13187
13186
|
q.forEach(function(U) {
|
|
13188
13187
|
var K = U.getAttribute("class") || "";
|
|
13189
|
-
K.split(/\s+/).forEach(function(
|
|
13190
|
-
if (
|
|
13191
|
-
if (
|
|
13192
|
-
U.innerHTML = R[
|
|
13193
|
-
else if (typeof R[
|
|
13194
|
-
U.innerHTML = R[
|
|
13188
|
+
K.split(/\s+/).forEach(function(G) {
|
|
13189
|
+
if (G.startsWith("ql-") && (G = G.slice(3), R[G] != null))
|
|
13190
|
+
if (G === "direction")
|
|
13191
|
+
U.innerHTML = R[G][""] + R[G].rtl;
|
|
13192
|
+
else if (typeof R[G] == "string")
|
|
13193
|
+
U.innerHTML = R[G];
|
|
13195
13194
|
else {
|
|
13196
13195
|
var ee = U.value || "";
|
|
13197
|
-
ee != null && R[
|
|
13196
|
+
ee != null && R[G][ee] && (U.innerHTML = R[G][ee]);
|
|
13198
13197
|
}
|
|
13199
13198
|
});
|
|
13200
13199
|
});
|
|
@@ -13203,14 +13202,14 @@ var Fc = { exports: {} };
|
|
|
13203
13202
|
key: "buildPickers",
|
|
13204
13203
|
value: function(q, R) {
|
|
13205
13204
|
var U = this;
|
|
13206
|
-
this.pickers = q.map(function(
|
|
13207
|
-
if (
|
|
13208
|
-
return
|
|
13209
|
-
if (
|
|
13210
|
-
var ee =
|
|
13211
|
-
return
|
|
13205
|
+
this.pickers = q.map(function(G) {
|
|
13206
|
+
if (G.classList.contains("ql-align"))
|
|
13207
|
+
return G.querySelector("option") == null && P(G, L), new m.default(G, R.align);
|
|
13208
|
+
if (G.classList.contains("ql-background") || G.classList.contains("ql-color")) {
|
|
13209
|
+
var ee = G.classList.contains("ql-background") ? "background" : "color";
|
|
13210
|
+
return G.querySelector("option") == null && P(G, M, ee === "background" ? "#ffffff" : "#000000"), new s.default(G, R[ee]);
|
|
13212
13211
|
} else
|
|
13213
|
-
return
|
|
13212
|
+
return G.querySelector("option") == null && (G.classList.contains("ql-font") ? P(G, z) : G.classList.contains("ql-header") ? P(G, H) : G.classList.contains("ql-size") && P(G, F)), new k.default(G);
|
|
13214
13213
|
});
|
|
13215
13214
|
var K = function() {
|
|
13216
13215
|
U.pickers.forEach(function(ee) {
|
|
@@ -14069,15 +14068,15 @@ var Fc = { exports: {} };
|
|
|
14069
14068
|
Object.defineProperty(r, "__esModule", {
|
|
14070
14069
|
value: !0
|
|
14071
14070
|
}), r.matchText = r.matchSpacing = r.matchNewline = r.matchBlot = r.matchAttributor = r.default = void 0;
|
|
14072
|
-
var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
14073
|
-
return typeof
|
|
14074
|
-
} : function(
|
|
14075
|
-
return
|
|
14071
|
+
var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(W) {
|
|
14072
|
+
return typeof W;
|
|
14073
|
+
} : function(W) {
|
|
14074
|
+
return W && typeof Symbol == "function" && W.constructor === Symbol && W !== Symbol.prototype ? "symbol" : typeof W;
|
|
14076
14075
|
}, o = /* @__PURE__ */ function() {
|
|
14077
|
-
function X
|
|
14076
|
+
function W(X, ne) {
|
|
14078
14077
|
var ie = [], te = !0, ge = !1, ce = void 0;
|
|
14079
14078
|
try {
|
|
14080
|
-
for (var ve =
|
|
14079
|
+
for (var ve = X[Symbol.iterator](), Ke; !(te = (Ke = ve.next()).done) && (ie.push(Ke.value), !(ne && ie.length === ne)); te = !0)
|
|
14081
14080
|
;
|
|
14082
14081
|
} catch (qe) {
|
|
14083
14082
|
ge = !0, ce = qe;
|
|
@@ -14090,59 +14089,59 @@ var Fc = { exports: {} };
|
|
|
14090
14089
|
}
|
|
14091
14090
|
return ie;
|
|
14092
14091
|
}
|
|
14093
|
-
return function(
|
|
14094
|
-
if (Array.isArray(
|
|
14095
|
-
return
|
|
14096
|
-
if (Symbol.iterator in Object(
|
|
14097
|
-
return X
|
|
14092
|
+
return function(X, ne) {
|
|
14093
|
+
if (Array.isArray(X))
|
|
14094
|
+
return X;
|
|
14095
|
+
if (Symbol.iterator in Object(X))
|
|
14096
|
+
return W(X, ne);
|
|
14098
14097
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
14099
14098
|
};
|
|
14100
14099
|
}(), l = /* @__PURE__ */ function() {
|
|
14101
|
-
function X
|
|
14100
|
+
function W(X, ne) {
|
|
14102
14101
|
for (var ie = 0; ie < ne.length; ie++) {
|
|
14103
14102
|
var te = ne[ie];
|
|
14104
|
-
te.enumerable = te.enumerable || !1, te.configurable = !0, "value" in te && (te.writable = !0), Object.defineProperty(
|
|
14103
|
+
te.enumerable = te.enumerable || !1, te.configurable = !0, "value" in te && (te.writable = !0), Object.defineProperty(X, te.key, te);
|
|
14105
14104
|
}
|
|
14106
14105
|
}
|
|
14107
|
-
return function(
|
|
14108
|
-
return ne && X
|
|
14106
|
+
return function(X, ne, ie) {
|
|
14107
|
+
return ne && W(X.prototype, ne), ie && W(X, ie), X;
|
|
14109
14108
|
};
|
|
14110
14109
|
}(), v = i(3), h = E(v), p = i(2), c = E(p), u = i(0), f = E(u), b = i(5), y = E(b), g = i(10), d = E(g), s = i(9), _ = E(s), m = i(36), A = i(37), k = i(13), S = E(k), N = i(26), C = i(38), T = i(39), w = i(40);
|
|
14111
|
-
function E(
|
|
14112
|
-
return
|
|
14110
|
+
function E(W) {
|
|
14111
|
+
return W && W.__esModule ? W : { default: W };
|
|
14113
14112
|
}
|
|
14114
|
-
function L(
|
|
14115
|
-
return
|
|
14113
|
+
function L(W, X, ne) {
|
|
14114
|
+
return X in W ? Object.defineProperty(W, X, { value: ne, enumerable: !0, configurable: !0, writable: !0 }) : W[X] = ne, W;
|
|
14116
14115
|
}
|
|
14117
|
-
function M(
|
|
14118
|
-
if (!(
|
|
14116
|
+
function M(W, X) {
|
|
14117
|
+
if (!(W instanceof X))
|
|
14119
14118
|
throw new TypeError("Cannot call a class as a function");
|
|
14120
14119
|
}
|
|
14121
|
-
function z(
|
|
14122
|
-
if (!
|
|
14120
|
+
function z(W, X) {
|
|
14121
|
+
if (!W)
|
|
14123
14122
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
14124
|
-
return
|
|
14123
|
+
return X && (typeof X == "object" || typeof X == "function") ? X : W;
|
|
14125
14124
|
}
|
|
14126
|
-
function H(
|
|
14127
|
-
if (typeof
|
|
14128
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
14129
|
-
|
|
14125
|
+
function H(W, X) {
|
|
14126
|
+
if (typeof X != "function" && X !== null)
|
|
14127
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof X);
|
|
14128
|
+
W.prototype = Object.create(X && X.prototype, { constructor: { value: W, enumerable: !1, writable: !0, configurable: !0 } }), X && (Object.setPrototypeOf ? Object.setPrototypeOf(W, X) : W.__proto__ = X);
|
|
14130
14129
|
}
|
|
14131
|
-
var F = (0, d.default)("quill:clipboard"), Z = "__ql-matcher", $ = [[Node.TEXT_NODE, xe], [Node.TEXT_NODE, pe], ["br", ae], [Node.ELEMENT_NODE, pe], [Node.ELEMENT_NODE, ee], [Node.ELEMENT_NODE, Ae], [Node.ELEMENT_NODE,
|
|
14132
|
-
return X
|
|
14133
|
-
}, {}), P = [m.AlignStyle, A.BackgroundStyle, N.ColorStyle, C.DirectionStyle, T.FontStyle, w.SizeStyle].reduce(function(
|
|
14134
|
-
return X
|
|
14135
|
-
}, {}), I = function(
|
|
14136
|
-
H(
|
|
14137
|
-
function
|
|
14138
|
-
M(this,
|
|
14139
|
-
var te = z(this, (
|
|
14130
|
+
var F = (0, d.default)("quill:clipboard"), Z = "__ql-matcher", $ = [[Node.TEXT_NODE, xe], [Node.TEXT_NODE, pe], ["br", ae], [Node.ELEMENT_NODE, pe], [Node.ELEMENT_NODE, ee], [Node.ELEMENT_NODE, Ae], [Node.ELEMENT_NODE, G], [Node.ELEMENT_NODE, Ie], ["li", he], ["b", K.bind(K, "bold")], ["i", K.bind(K, "italic")], ["style", ue]], D = [m.AlignAttribute, C.DirectionAttribute].reduce(function(W, X) {
|
|
14131
|
+
return W[X.keyName] = X, W;
|
|
14132
|
+
}, {}), P = [m.AlignStyle, A.BackgroundStyle, N.ColorStyle, C.DirectionStyle, T.FontStyle, w.SizeStyle].reduce(function(W, X) {
|
|
14133
|
+
return W[X.keyName] = X, W;
|
|
14134
|
+
}, {}), I = function(W) {
|
|
14135
|
+
H(X, W);
|
|
14136
|
+
function X(ne, ie) {
|
|
14137
|
+
M(this, X);
|
|
14138
|
+
var te = z(this, (X.__proto__ || Object.getPrototypeOf(X)).call(this, ne, ie));
|
|
14140
14139
|
return te.quill.root.addEventListener("paste", te.onPaste.bind(te)), te.container = te.quill.addContainer("ql-clipboard"), te.container.setAttribute("contenteditable", !0), te.container.setAttribute("tabindex", -1), te.matchers = [], $.concat(te.options.matchers).forEach(function(ge) {
|
|
14141
14140
|
var ce = o(ge, 2), ve = ce[0], Ke = ce[1];
|
|
14142
14141
|
!ie.matchVisual && Ke === Ae || te.addMatcher(ve, Ke);
|
|
14143
14142
|
}), te;
|
|
14144
14143
|
}
|
|
14145
|
-
return l(
|
|
14144
|
+
return l(X, [{
|
|
14146
14145
|
key: "addMatcher",
|
|
14147
14146
|
value: function(ie, te) {
|
|
14148
14147
|
this.matchers.push([ie, te]);
|
|
@@ -14204,119 +14203,119 @@ var Fc = { exports: {} };
|
|
|
14204
14203
|
}
|
|
14205
14204
|
}), [te, ge];
|
|
14206
14205
|
}
|
|
14207
|
-
}]),
|
|
14206
|
+
}]), X;
|
|
14208
14207
|
}(_.default);
|
|
14209
14208
|
I.DEFAULTS = {
|
|
14210
14209
|
matchers: [],
|
|
14211
14210
|
matchVisual: !0
|
|
14212
14211
|
};
|
|
14213
|
-
function j(
|
|
14214
|
-
return (typeof
|
|
14215
|
-
return j(ie, te,
|
|
14216
|
-
},
|
|
14217
|
-
return te.attributes && te.attributes[
|
|
14212
|
+
function j(W, X, ne) {
|
|
14213
|
+
return (typeof X > "u" ? "undefined" : a(X)) === "object" ? Object.keys(X).reduce(function(ie, te) {
|
|
14214
|
+
return j(ie, te, X[te]);
|
|
14215
|
+
}, W) : W.reduce(function(ie, te) {
|
|
14216
|
+
return te.attributes && te.attributes[X] ? ie.push(te) : ie.insert(te.insert, (0, h.default)({}, L({}, X, ne), te.attributes));
|
|
14218
14217
|
}, new c.default());
|
|
14219
14218
|
}
|
|
14220
|
-
function V(
|
|
14221
|
-
if (
|
|
14222
|
-
var
|
|
14223
|
-
return X
|
|
14219
|
+
function V(W) {
|
|
14220
|
+
if (W.nodeType !== Node.ELEMENT_NODE) return {};
|
|
14221
|
+
var X = "__ql-computed-style";
|
|
14222
|
+
return W[X] || (W[X] = window.getComputedStyle(W));
|
|
14224
14223
|
}
|
|
14225
|
-
function q(
|
|
14226
|
-
for (var ne = "", ie =
|
|
14227
|
-
var te =
|
|
14224
|
+
function q(W, X) {
|
|
14225
|
+
for (var ne = "", ie = W.ops.length - 1; ie >= 0 && ne.length < X.length; --ie) {
|
|
14226
|
+
var te = W.ops[ie];
|
|
14228
14227
|
if (typeof te.insert != "string") break;
|
|
14229
14228
|
ne = te.insert + ne;
|
|
14230
14229
|
}
|
|
14231
|
-
return ne.slice(-1 *
|
|
14230
|
+
return ne.slice(-1 * X.length) === X;
|
|
14232
14231
|
}
|
|
14233
|
-
function R(
|
|
14234
|
-
if (
|
|
14235
|
-
var
|
|
14236
|
-
return ["block", "list-item"].indexOf(
|
|
14232
|
+
function R(W) {
|
|
14233
|
+
if (W.childNodes.length === 0) return !1;
|
|
14234
|
+
var X = V(W);
|
|
14235
|
+
return ["block", "list-item"].indexOf(X.display) > -1;
|
|
14237
14236
|
}
|
|
14238
|
-
function U(
|
|
14239
|
-
return
|
|
14240
|
-
return te(
|
|
14241
|
-
}, new c.default()) :
|
|
14242
|
-
var ge = U(te,
|
|
14243
|
-
return te.nodeType ===
|
|
14237
|
+
function U(W, X, ne) {
|
|
14238
|
+
return W.nodeType === W.TEXT_NODE ? ne.reduce(function(ie, te) {
|
|
14239
|
+
return te(W, ie);
|
|
14240
|
+
}, new c.default()) : W.nodeType === W.ELEMENT_NODE ? [].reduce.call(W.childNodes || [], function(ie, te) {
|
|
14241
|
+
var ge = U(te, X, ne);
|
|
14242
|
+
return te.nodeType === W.ELEMENT_NODE && (ge = X.reduce(function(ce, ve) {
|
|
14244
14243
|
return ve(te, ce);
|
|
14245
14244
|
}, ge), ge = (te[Z] || []).reduce(function(ce, ve) {
|
|
14246
14245
|
return ve(te, ce);
|
|
14247
14246
|
}, ge)), ie.concat(ge);
|
|
14248
14247
|
}, new c.default()) : new c.default();
|
|
14249
14248
|
}
|
|
14250
|
-
function K(
|
|
14251
|
-
return j(ne,
|
|
14249
|
+
function K(W, X, ne) {
|
|
14250
|
+
return j(ne, W, !0);
|
|
14252
14251
|
}
|
|
14253
|
-
function W
|
|
14254
|
-
var ne = f.default.Attributor.Attribute.keys(
|
|
14252
|
+
function G(W, X) {
|
|
14253
|
+
var ne = f.default.Attributor.Attribute.keys(W), ie = f.default.Attributor.Class.keys(W), te = f.default.Attributor.Style.keys(W), ge = {};
|
|
14255
14254
|
return ne.concat(ie).concat(te).forEach(function(ce) {
|
|
14256
14255
|
var ve = f.default.query(ce, f.default.Scope.ATTRIBUTE);
|
|
14257
|
-
ve != null && (ge[ve.attrName] = ve.value(
|
|
14258
|
-
}), Object.keys(ge).length > 0 && (
|
|
14256
|
+
ve != null && (ge[ve.attrName] = ve.value(W), ge[ve.attrName]) || (ve = D[ce], ve != null && (ve.attrName === ce || ve.keyName === ce) && (ge[ve.attrName] = ve.value(W) || void 0), ve = P[ce], ve != null && (ve.attrName === ce || ve.keyName === ce) && (ve = P[ce], ge[ve.attrName] = ve.value(W) || void 0));
|
|
14257
|
+
}), Object.keys(ge).length > 0 && (X = j(X, ge)), X;
|
|
14259
14258
|
}
|
|
14260
|
-
function ee(
|
|
14261
|
-
var ne = f.default.query(
|
|
14262
|
-
if (ne == null) return
|
|
14259
|
+
function ee(W, X) {
|
|
14260
|
+
var ne = f.default.query(W);
|
|
14261
|
+
if (ne == null) return X;
|
|
14263
14262
|
if (ne.prototype instanceof f.default.Embed) {
|
|
14264
|
-
var ie = {}, te = ne.value(
|
|
14265
|
-
te != null && (ie[ne.blotName] = te,
|
|
14266
|
-
} else typeof ne.formats == "function" && (
|
|
14267
|
-
return
|
|
14263
|
+
var ie = {}, te = ne.value(W);
|
|
14264
|
+
te != null && (ie[ne.blotName] = te, X = new c.default().insert(ie, ne.formats(W)));
|
|
14265
|
+
} else typeof ne.formats == "function" && (X = j(X, ne.blotName, ne.formats(W)));
|
|
14266
|
+
return X;
|
|
14268
14267
|
}
|
|
14269
|
-
function ae(
|
|
14270
|
-
return q(
|
|
14271
|
-
`) ||
|
|
14272
|
-
`),
|
|
14268
|
+
function ae(W, X) {
|
|
14269
|
+
return q(X, `
|
|
14270
|
+
`) || X.insert(`
|
|
14271
|
+
`), X;
|
|
14273
14272
|
}
|
|
14274
14273
|
function ue() {
|
|
14275
14274
|
return new c.default();
|
|
14276
14275
|
}
|
|
14277
|
-
function
|
|
14278
|
-
var ne = f.default.query(
|
|
14279
|
-
if (ne == null || ne.blotName !== "list-item" || !q(
|
|
14276
|
+
function he(W, X) {
|
|
14277
|
+
var ne = f.default.query(W);
|
|
14278
|
+
if (ne == null || ne.blotName !== "list-item" || !q(X, `
|
|
14280
14279
|
`))
|
|
14281
|
-
return
|
|
14282
|
-
for (var ie = -1, te =
|
|
14280
|
+
return X;
|
|
14281
|
+
for (var ie = -1, te = W.parentNode; !te.classList.contains("ql-clipboard"); )
|
|
14283
14282
|
(f.default.query(te) || {}).blotName === "list" && (ie += 1), te = te.parentNode;
|
|
14284
|
-
return ie <= 0 ?
|
|
14283
|
+
return ie <= 0 ? X : X.compose(new c.default().retain(X.length() - 1).retain(1, { indent: ie }));
|
|
14285
14284
|
}
|
|
14286
|
-
function pe(
|
|
14287
|
-
return q(
|
|
14288
|
-
`) || (R(
|
|
14289
|
-
`),
|
|
14285
|
+
function pe(W, X) {
|
|
14286
|
+
return q(X, `
|
|
14287
|
+
`) || (R(W) || X.length() > 0 && W.nextSibling && R(W.nextSibling)) && X.insert(`
|
|
14288
|
+
`), X;
|
|
14290
14289
|
}
|
|
14291
|
-
function Ae(
|
|
14292
|
-
if (R(
|
|
14290
|
+
function Ae(W, X) {
|
|
14291
|
+
if (R(W) && W.nextElementSibling != null && !q(X, `
|
|
14293
14292
|
|
|
14294
14293
|
`)) {
|
|
14295
|
-
var ne =
|
|
14296
|
-
|
|
14294
|
+
var ne = W.offsetHeight + parseFloat(V(W).marginTop) + parseFloat(V(W).marginBottom);
|
|
14295
|
+
W.nextElementSibling.offsetTop > W.offsetTop + ne * 1.5 && X.insert(`
|
|
14297
14296
|
`);
|
|
14298
14297
|
}
|
|
14299
|
-
return
|
|
14298
|
+
return X;
|
|
14300
14299
|
}
|
|
14301
|
-
function Ie(
|
|
14302
|
-
var ne = {}, ie =
|
|
14303
|
-
return ie.fontStyle && V(
|
|
14300
|
+
function Ie(W, X) {
|
|
14301
|
+
var ne = {}, ie = W.style || {};
|
|
14302
|
+
return ie.fontStyle && V(W).fontStyle === "italic" && (ne.italic = !0), ie.fontWeight && (V(W).fontWeight.startsWith("bold") || parseInt(V(W).fontWeight) >= 700) && (ne.bold = !0), Object.keys(ne).length > 0 && (X = j(X, ne)), parseFloat(ie.textIndent || 0) > 0 && (X = new c.default().insert(" ").concat(X)), X;
|
|
14304
14303
|
}
|
|
14305
|
-
function xe(
|
|
14306
|
-
var ne =
|
|
14307
|
-
if (
|
|
14308
|
-
return
|
|
14309
|
-
if (ne.trim().length === 0 &&
|
|
14310
|
-
return
|
|
14311
|
-
if (!V(
|
|
14304
|
+
function xe(W, X) {
|
|
14305
|
+
var ne = W.data;
|
|
14306
|
+
if (W.parentNode.tagName === "O:P")
|
|
14307
|
+
return X.insert(ne.trim());
|
|
14308
|
+
if (ne.trim().length === 0 && W.parentNode.classList.contains("ql-clipboard"))
|
|
14309
|
+
return X;
|
|
14310
|
+
if (!V(W.parentNode).whiteSpace.startsWith("pre")) {
|
|
14312
14311
|
var ie = function(ge, ce) {
|
|
14313
14312
|
return ce = ce.replace(/[^\u00a0]/g, ""), ce.length < 1 && ge ? " " : ce;
|
|
14314
14313
|
};
|
|
14315
|
-
ne = ne.replace(/\r\n/g, " ").replace(/\n/g, " "), ne = ne.replace(/\s\s+/g, ie.bind(ie, !0)), (
|
|
14314
|
+
ne = ne.replace(/\r\n/g, " ").replace(/\n/g, " "), ne = ne.replace(/\s\s+/g, ie.bind(ie, !0)), (W.previousSibling == null && R(W.parentNode) || W.previousSibling != null && R(W.previousSibling)) && (ne = ne.replace(/^\s+/, ie.bind(ie, !1))), (W.nextSibling == null && R(W.parentNode) || W.nextSibling != null && R(W.nextSibling)) && (ne = ne.replace(/\s+$/, ie.bind(ie, !1)));
|
|
14316
14315
|
}
|
|
14317
|
-
return
|
|
14316
|
+
return X.insert(ne);
|
|
14318
14317
|
}
|
|
14319
|
-
r.default = I, r.matchAttributor =
|
|
14318
|
+
r.default = I, r.matchAttributor = G, r.matchBlot = ee, r.matchNewline = pe, r.matchSpacing = Ae, r.matchText = xe;
|
|
14320
14319
|
},
|
|
14321
14320
|
/* 56 */
|
|
14322
14321
|
/***/
|
|
@@ -14955,7 +14954,7 @@ var Fc = { exports: {} };
|
|
|
14955
14954
|
Object.defineProperty(r, "__esModule", {
|
|
14956
14955
|
value: !0
|
|
14957
14956
|
});
|
|
14958
|
-
var a = i(29), o = te(a), l = i(36), v = i(38), h = i(64), p = i(65), c = te(p), u = i(66), f = te(u), b = i(67), y = te(b), g = i(37), d = i(26), s = i(39), _ = i(40), m = i(56), A = te(m), k = i(68), S = te(k), N = i(27), C = te(N), T = i(69), w = te(T), E = i(70), L = te(E), M = i(71), z = te(M), H = i(72), F = te(H), Z = i(73), $ = te(Z), D = i(13), P = te(D), I = i(74), j = te(I), V = i(75), q = te(V), R = i(57), U = te(R), K = i(41),
|
|
14957
|
+
var a = i(29), o = te(a), l = i(36), v = i(38), h = i(64), p = i(65), c = te(p), u = i(66), f = te(u), b = i(67), y = te(b), g = i(37), d = i(26), s = i(39), _ = i(40), m = i(56), A = te(m), k = i(68), S = te(k), N = i(27), C = te(N), T = i(69), w = te(T), E = i(70), L = te(E), M = i(71), z = te(M), H = i(72), F = te(H), Z = i(73), $ = te(Z), D = i(13), P = te(D), I = i(74), j = te(I), V = i(75), q = te(V), R = i(57), U = te(R), K = i(41), G = te(K), ee = i(28), ae = te(ee), ue = i(59), he = te(ue), pe = i(60), Ae = te(pe), Ie = i(61), xe = te(Ie), W = i(108), X = te(W), ne = i(62), ie = te(ne);
|
|
14959
14958
|
function te(ge) {
|
|
14960
14959
|
return ge && ge.__esModule ? ge : { default: ge };
|
|
14961
14960
|
}
|
|
@@ -14998,12 +14997,12 @@ var Fc = { exports: {} };
|
|
|
14998
14997
|
"modules/formula": j.default,
|
|
14999
14998
|
"modules/syntax": q.default,
|
|
15000
14999
|
"modules/toolbar": U.default,
|
|
15001
|
-
"themes/bubble":
|
|
15000
|
+
"themes/bubble": X.default,
|
|
15002
15001
|
"themes/snow": ie.default,
|
|
15003
|
-
"ui/icons":
|
|
15002
|
+
"ui/icons": G.default,
|
|
15004
15003
|
"ui/picker": ae.default,
|
|
15005
15004
|
"ui/icon-picker": Ae.default,
|
|
15006
|
-
"ui/color-picker":
|
|
15005
|
+
"ui/color-picker": he.default,
|
|
15007
15006
|
"ui/tooltip": xe.default
|
|
15008
15007
|
}, !0), r.default = o.default;
|
|
15009
15008
|
},
|
|
@@ -16402,7 +16401,7 @@ Sa.exports;
|
|
|
16402
16401
|
function K(O, x) {
|
|
16403
16402
|
return O.add(x), O;
|
|
16404
16403
|
}
|
|
16405
|
-
function
|
|
16404
|
+
function G(O, x) {
|
|
16406
16405
|
for (var B = -1, J = O ? O.length : 0; ++B < J && x(O[B], B, O) !== !1; )
|
|
16407
16406
|
;
|
|
16408
16407
|
return O;
|
|
@@ -16422,7 +16421,7 @@ Sa.exports;
|
|
|
16422
16421
|
J[B] = x(B);
|
|
16423
16422
|
return J;
|
|
16424
16423
|
}
|
|
16425
|
-
function
|
|
16424
|
+
function he(O, x) {
|
|
16426
16425
|
return O?.[x];
|
|
16427
16426
|
}
|
|
16428
16427
|
function pe(O) {
|
|
@@ -16451,12 +16450,12 @@ Sa.exports;
|
|
|
16451
16450
|
B[++x] = J;
|
|
16452
16451
|
}), B;
|
|
16453
16452
|
}
|
|
16454
|
-
var
|
|
16453
|
+
var W = Array.prototype, X = Function.prototype, ne = Object.prototype, ie = j["__core-js_shared__"], te = function() {
|
|
16455
16454
|
var O = /[^.]+$/.exec(ie && ie.keys && ie.keys.IE_PROTO || "");
|
|
16456
16455
|
return O ? "Symbol(src)_1." + O : "";
|
|
16457
|
-
}(), ge =
|
|
16456
|
+
}(), ge = X.toString, ce = ne.hasOwnProperty, ve = ne.toString, Ke = RegExp(
|
|
16458
16457
|
"^" + ge.call(ce).replace(H, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
16459
|
-
), qe = R ? j.Buffer : void 0, ke = j.Symbol, Gt = j.Uint8Array, we = Ie(Object.getPrototypeOf, Object), et = Object.create, or = ne.propertyIsEnumerable, lr =
|
|
16458
|
+
), qe = R ? j.Buffer : void 0, ke = j.Symbol, Gt = j.Uint8Array, we = Ie(Object.getPrototypeOf, Object), et = Object.create, or = ne.propertyIsEnumerable, lr = W.splice, Dn = Object.getOwnPropertySymbols, dn = qe ? qe.isBuffer : void 0, sr = Ie(Object.keys, Object), Yt = Lt(j, "DataView"), tt = Lt(j, "Map"), pt = Lt(j, "Promise"), At = Lt(j, "Set"), hn = Lt(j, "WeakMap"), Xt = Lt(Object, "create"), In = rt(Yt), Zt = rt(tt), pn = rt(pt), zn = rt(At), jn = rt(hn), It = ke ? ke.prototype : void 0, Bn = It ? It.valueOf : void 0;
|
|
16460
16459
|
function mt(O) {
|
|
16461
16460
|
var x = -1, B = O ? O.length : 0;
|
|
16462
16461
|
for (this.clear(); ++x < B; ) {
|
|
@@ -16619,7 +16618,7 @@ Sa.exports;
|
|
|
16619
16618
|
return ut;
|
|
16620
16619
|
if (Le.set(O, Ne), !Ue)
|
|
16621
16620
|
var Ve = B ? qa(O) : Vr(O);
|
|
16622
|
-
return
|
|
16621
|
+
return G(Ve || O, function(Je, Ge) {
|
|
16623
16622
|
Ve && (Ge = Je, Je = O[Ge]), yn(Ne, Ge, bn(Je, x, B, J, Ge, O, Le));
|
|
16624
16623
|
}), Ne;
|
|
16625
16624
|
}
|
|
@@ -16705,7 +16704,7 @@ Sa.exports;
|
|
|
16705
16704
|
return Va(x) ? B[typeof x == "string" ? "string" : "hash"] : B.map;
|
|
16706
16705
|
}
|
|
16707
16706
|
function Lt(O, x) {
|
|
16708
|
-
var B =
|
|
16707
|
+
var B = he(O, x);
|
|
16709
16708
|
return dr(B) ? B : void 0;
|
|
16710
16709
|
}
|
|
16711
16710
|
var rn = Dn ? Ie(Dn, Object) : Ga, an = qn;
|
|
@@ -16840,12 +16839,12 @@ ka.exports;
|
|
|
16840
16839
|
(function(e, n) {
|
|
16841
16840
|
var t = 200, r = "__lodash_hash_undefined__", i = 1, a = 2, o = 9007199254740991, l = "[object Arguments]", v = "[object Array]", h = "[object AsyncFunction]", p = "[object Boolean]", c = "[object Date]", u = "[object Error]", f = "[object Function]", b = "[object GeneratorFunction]", y = "[object Map]", g = "[object Number]", d = "[object Null]", s = "[object Object]", _ = "[object Promise]", m = "[object Proxy]", A = "[object RegExp]", k = "[object Set]", S = "[object String]", N = "[object Symbol]", C = "[object Undefined]", T = "[object WeakMap]", w = "[object ArrayBuffer]", E = "[object DataView]", L = "[object Float32Array]", M = "[object Float64Array]", z = "[object Int8Array]", H = "[object Int16Array]", F = "[object Int32Array]", Z = "[object Uint8Array]", $ = "[object Uint8ClampedArray]", D = "[object Uint16Array]", P = "[object Uint32Array]", I = /[\\^$.*+?()[\]{}|]/g, j = /^\[object .+?Constructor\]$/, V = /^(?:0|[1-9]\d*)$/, q = {};
|
|
16842
16841
|
q[L] = q[M] = q[z] = q[H] = q[F] = q[Z] = q[$] = q[D] = q[P] = !0, q[l] = q[v] = q[w] = q[p] = q[E] = q[c] = q[u] = q[f] = q[y] = q[g] = q[s] = q[A] = q[k] = q[S] = q[T] = !1;
|
|
16843
|
-
var R = typeof Xe == "object" && Xe && Xe.Object === Object && Xe, U = typeof self == "object" && self && self.Object === Object && self, K = R || U || Function("return this")(),
|
|
16842
|
+
var R = typeof Xe == "object" && Xe && Xe.Object === Object && Xe, U = typeof self == "object" && self && self.Object === Object && self, K = R || U || Function("return this")(), G = n && !n.nodeType && n, ee = G && !0 && e && !e.nodeType && e, ae = ee && ee.exports === G, ue = ae && R.process, he = function() {
|
|
16844
16843
|
try {
|
|
16845
16844
|
return ue && ue.binding && ue.binding("util");
|
|
16846
16845
|
} catch {
|
|
16847
16846
|
}
|
|
16848
|
-
}(), pe =
|
|
16847
|
+
}(), pe = he && he.isTypedArray;
|
|
16849
16848
|
function Ae(O, x) {
|
|
16850
16849
|
for (var B = -1, J = O == null ? 0 : O.length, ye = 0, fe = []; ++B < J; ) {
|
|
16851
16850
|
var Le = O[B];
|
|
@@ -16864,12 +16863,12 @@ ka.exports;
|
|
|
16864
16863
|
return !0;
|
|
16865
16864
|
return !1;
|
|
16866
16865
|
}
|
|
16867
|
-
function
|
|
16866
|
+
function W(O, x) {
|
|
16868
16867
|
for (var B = -1, J = Array(O); ++B < O; )
|
|
16869
16868
|
J[B] = x(B);
|
|
16870
16869
|
return J;
|
|
16871
16870
|
}
|
|
16872
|
-
function
|
|
16871
|
+
function X(O) {
|
|
16873
16872
|
return function(x) {
|
|
16874
16873
|
return O(x);
|
|
16875
16874
|
};
|
|
@@ -17033,7 +17032,7 @@ ka.exports;
|
|
|
17033
17032
|
}
|
|
17034
17033
|
Et.prototype.clear = bn, Et.prototype.delete = fr, Et.prototype.get = tn, Et.prototype.has = qn, Et.prototype.set = dr;
|
|
17035
17034
|
function hr(O, x) {
|
|
17036
|
-
var B = mr(O), J = !B && _i(O), ye = !B && !J && vr(O), fe = !B && !J && !ye && wi(O), Le = B || J || ye || fe, Ne = Le ?
|
|
17035
|
+
var B = mr(O), J = !B && _i(O), ye = !B && !J && vr(O), fe = !B && !J && !ye && wi(O), Le = B || J || ye || fe, Ne = Le ? W(O.length, String) : [], Ue = Ne.length;
|
|
17037
17036
|
for (var Pe in O)
|
|
17038
17037
|
we.call(O, Pe) && !(Le && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
17039
17038
|
(Pe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -17301,7 +17300,7 @@ ka.exports;
|
|
|
17301
17300
|
function Bt(O) {
|
|
17302
17301
|
return O != null && typeof O == "object";
|
|
17303
17302
|
}
|
|
17304
|
-
var wi = pe ?
|
|
17303
|
+
var wi = pe ? X(pe) : Fr;
|
|
17305
17304
|
function Vr(O) {
|
|
17306
17305
|
return Hr(O) ? hr(O) : qr(O);
|
|
17307
17306
|
}
|
|
@@ -17720,7 +17719,7 @@ const Js = {
|
|
|
17720
17719
|
t = null;
|
|
17721
17720
|
});
|
|
17722
17721
|
let t, r;
|
|
17723
|
-
const i =
|
|
17722
|
+
const i = de(), a = () => {
|
|
17724
17723
|
var w;
|
|
17725
17724
|
if (i.value) {
|
|
17726
17725
|
if (r = o(), e.modules)
|
|
@@ -17768,7 +17767,7 @@ const Js = {
|
|
|
17768
17767
|
return !1;
|
|
17769
17768
|
}, c = (w, E, L) => {
|
|
17770
17769
|
h = l(s()), p(e.content) || n.emit("update:content", h), n.emit("textChange", { delta: w, oldContents: E, source: L });
|
|
17771
|
-
}, u =
|
|
17770
|
+
}, u = de(), f = (w, E, L) => {
|
|
17772
17771
|
u.value = !!t?.hasFocus(), n.emit("selectionChange", { range: w, oldRange: E, source: L });
|
|
17773
17772
|
};
|
|
17774
17773
|
Yn(u, (w) => {
|
|
@@ -17883,9 +17882,9 @@ const Js = {
|
|
|
17883
17882
|
},
|
|
17884
17883
|
emits: ["update:modelValue"],
|
|
17885
17884
|
setup(e, { emit: n }) {
|
|
17886
|
-
const t = n, { t: r } = nf(), i = e, a =
|
|
17885
|
+
const t = n, { t: r } = nf(), i = e, a = de(), o = de(), l = i.id || La(), v = () => {
|
|
17887
17886
|
t("update:modelValue", o.value.getHTML());
|
|
17888
|
-
}, h =
|
|
17887
|
+
}, h = de({
|
|
17889
17888
|
placeholder: i.placeholder,
|
|
17890
17889
|
readOnly: i.readonly,
|
|
17891
17890
|
theme: "snow"
|
|
@@ -18812,7 +18811,7 @@ const n6 = /* @__PURE__ */ Ml(U4, [["render", t6]]), _6 = /* @__PURE__ */ Nt({
|
|
|
18812
18811
|
},
|
|
18813
18812
|
emits: ["update:modelValue", "changed"],
|
|
18814
18813
|
setup(e, { emit: n }) {
|
|
18815
|
-
const t = e, r = t.id || La(), i = n, a =
|
|
18814
|
+
const t = e, r = t.id || La(), i = n, a = de();
|
|
18816
18815
|
function o(h) {
|
|
18817
18816
|
i("changed", h);
|
|
18818
18817
|
}
|
|
@@ -18911,4 +18910,4 @@ export {
|
|
|
18911
18910
|
s6 as y,
|
|
18912
18911
|
Ou as z
|
|
18913
18912
|
};
|
|
18914
|
-
//# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-
|
|
18913
|
+
//# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js.map
|