@cling-se/widget 0.22.4 → 0.23.0
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/CHANGELOG.md +16 -0
- package/dist/{AddClientCallout-DNZHh9aJ.js → AddClientCallout-Bv6IKK40.js} +6 -6
- package/dist/AnswerModal-BH7HUCFy.js +4511 -0
- package/dist/{AttachmentItem-D6b6WSIC.js → AttachmentItem-DVVxOm2E.js} +6 -6
- package/dist/{BaseUpload-DW7wAWia.js → BaseUpload-B8k82P27.js} +2 -2
- package/dist/{BlockMedia-CIz6WbRP.js → BlockMedia-BcvfBi4G.js} +4 -4
- package/dist/{CCallout-BuWA9vQi.js → CCallout-BbBdzwkb.js} +3 -3
- package/dist/{CCurrencyDropdown-rIQOA7zf.js → CCurrencyDropdown-2PRaeJHp.js} +5 -5
- package/dist/{CDropdownItem-DA4QbI32.js → CDropdownItem-CFTdvAJc.js} +13 -13
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-qFddDazf.js → CFormField.vue_vue_type_script_setup_true_lang-B0HHxy2B.js} +7 -7
- package/dist/{CPhoneFormat-CvkaRSKJ.js → CPhoneFormat-D__bIItZ.js} +1 -1
- package/dist/{regions-BdZt9Srn.js → CPhoneInput-DPqzQOjR.js} +205 -3
- package/dist/{CPriceInput-C5r9iilu.js → CPriceInput-BJ1hmANq.js} +4 -4
- package/dist/{CSelect-GoTrnuJR.js → CSelect-GhGdyQzt.js} +4 -4
- package/dist/{CSkeleton-C4jNQwG5.js → CSkeleton-Ro7hmy5_.js} +5 -5
- package/dist/{ClientAutocomplete-BMbBwVkp.js → ClientAutocomplete-Ci08U3Eg.js} +10 -10
- package/dist/{ClientModal-cLE2g03X.js → ClientModal-CZjzCgw_.js} +253 -223
- package/dist/{ColorPicker-DephKZ2W.js → ColorPicker-Bdev0Tci.js} +27 -27
- package/dist/{CompanyModal-BLF26B1Y.js → CompanyModal-vZnMCWG-.js} +8 -8
- package/dist/{ContentWrapper-DqH_Tg4O.js → ContentWrapper-CAlHzSsP.js} +18 -18
- package/dist/{CoverBlockSettings-CjLkmC3R.js → CoverBlockSettings-CRG8Q2mD.js} +42 -42
- package/dist/{DocAnswer-BOCE0iTj.js → DocAnswer-DHVVPZff.js} +2 -2
- package/dist/{DocDetails-BNzZbHuR.js → DocDetails-W4sRFsQP.js} +8 -8
- package/dist/{DocForm-DATslViB.js → DocForm-B0HWL32c.js} +853 -757
- package/dist/{DocFormSend-TrpwDUwL.js → DocFormSend-BHjoq88x.js} +2 -2
- package/dist/{DocLinks-COu3hrrY.js → DocLinks-BKJ_usNd.js} +2 -2
- package/dist/{DocModalBase-1C2Kgo0U.js → DocModalBase-Z1ZEPL_z.js} +1 -1
- package/dist/{DocPrint-D0C1wkRv.js → DocPrint-W53zklGf.js} +3 -3
- package/dist/{DocReceipt-DuCwfC4c.js → DocReceipt-CG954L85.js} +10 -10
- package/dist/{DocSendReminder-CIuktfcG.js → DocSendReminder-rE0hlFaZ.js} +3 -3
- package/dist/{DocTextEditor-D3GXD6oS.js → DocTextEditor-DwYMXhZv.js} +9 -9
- package/dist/{DocTimeline-DFRH0ZoY.js → DocTimeline-BsvUw4lW.js} +17 -17
- package/dist/{DocumentClient-C-x_FhRo.js → DocumentClient-DeDGrmbP.js} +5 -5
- package/dist/{DocumentLayout-CG3CMORs.js → DocumentLayout-DdXflWEb.js} +28 -28
- package/dist/{DocumentLogotype-Dzg56cWX.js → DocumentLogotype-eSStO83t.js} +3 -3
- package/dist/{DocumentVoided-BwR0opXX.js → DocumentVoided-CF_snlgf.js} +1 -1
- package/dist/{EmbedInput-BsE3t6-g.js → EmbedInput-C6zvXcOu.js} +5 -5
- package/dist/{EmbedSettings-D-9KP6m4.js → EmbedSettings-BO0wk_Mz.js} +3 -3
- package/dist/{ErrorCallout-B_mC-Fe1.js → ErrorCallout-BX44gJMR.js} +1 -1
- package/dist/{FilePreviewModal-BvjuHHjm.js → FilePreviewModal-Dl9kL1D4.js} +2 -2
- package/dist/{Flag-DPAkxgnZ.js → Flag-CUjMh16L.js} +1 -1
- package/dist/{HeaderSettings-BvSFZXCC.js → HeaderSettings-CGAKOOf2.js} +18 -18
- package/dist/{ImageSelectModal-dxT1FSSS.js → ImageSelectModal-CBJLdDWY.js} +3 -3
- package/dist/{ImageUploadWrapper-Nv2ER9An.js → ImageUploadWrapper-3iw_ifJm.js} +2 -2
- package/dist/{Index-CmW_KqwC.js → Index--LhQAU0e.js} +4 -4
- package/dist/{Index-C8TA-TOH.js → Index-B9IVTM-6.js} +4 -4
- package/dist/{Index-CfhN1h-r.js → Index-BHc8-EVf.js} +2 -2
- package/dist/{Index-B7qmjT-n.js → Index-BKdt7W1p.js} +11 -11
- package/dist/{Index-BYZV5v4f.js → Index-BQjcDZPz.js} +8 -8
- package/dist/{Index-CN-SsBzv.js → Index-BXgbccOo.js} +2 -2
- package/dist/{Index-Di3aqW-F.js → Index-Bc75-4Ee.js} +41 -41
- package/dist/{Index-D5ZQV_ag.js → Index-Bf6twTPv.js} +1 -1
- package/dist/{Index-D05kz85o.js → Index-BwyxrAfq.js} +2 -2
- package/dist/{Index-CM_86t2X.js → Index-CFk1oikV.js} +5 -5
- package/dist/{Index-D5hQ9Sjn.js → Index-CRPvQg7m.js} +4 -4
- package/dist/{Index-DAlIF7c_.js → Index-CZLo46BA.js} +2 -2
- package/dist/{Index-CXzCLl4Y.js → Index-Cay1MsI0.js} +4 -4
- package/dist/{Index-jRiyU4XJ.js → Index-CbJAROk-.js} +6 -6
- package/dist/{Index-Dlgu9gBy.js → Index-Ck3YMDt4.js} +14 -14
- package/dist/{Index-CeYtiMwu.js → Index-CmtHodVa.js} +7 -7
- package/dist/{Index-BYyYmGls.js → Index-Cv-ZmqIf.js} +19 -19
- package/dist/Index-D3GyeaZ3.js +4 -0
- package/dist/{Index-CUbEi910.js → Index-D3YAyImu.js} +3 -3
- package/dist/{Index-N8nTYiyd.js → Index-D48EyoXi.js} +4 -4
- package/dist/{Index-CjunFweP.js → Index-DDTMR3LI.js} +6 -6
- package/dist/{Index-DJAySS1C.js → Index-DExnFebC.js} +29 -29
- package/dist/{Index-xt53y9Zo.js → Index-DRNXEsk-.js} +5 -5
- package/dist/{Index-C5Fj3fR9.js → Index-DUvA8MIy.js} +3 -3
- package/dist/{Index-jle7V_kM.js → Index-DaOOJQM2.js} +3 -3
- package/dist/{Index-D5oFyd4s.js → Index-DlWc7i0k.js} +4 -4
- package/dist/{Index-C3Rh5cbz.js → Index-Dttziehp.js} +11 -11
- package/dist/{Index-D63aOUOW.js → Index-T6kXb5Sf.js} +5 -5
- package/dist/{Index-DckdXVR6.js → Index-_Xoo1bdc.js} +3 -3
- package/dist/{Index-BNIu3Ud9.js → Index-foC5v_3Y.js} +3 -3
- package/dist/{Index-DTVfouJF.js → Index-gLA2kURi.js} +4 -4
- package/dist/{Index-CNl8W0Qj.js → Index-gOnXhVx4.js} +7 -7
- package/dist/{Index-BzaWm4so.js → Index-j78ap3EU.js} +3 -3
- package/dist/{Index-DEcmLf1s.js → Index-qAnbtxTE.js} +7 -7
- package/dist/{Index.vue_vue_type_script_lang-CTwo2Vcj.js → Index.vue_vue_type_script_lang-DkStHbk0.js} +2 -2
- package/dist/{InputToggleRow-hhpru4Tk.js → InputToggleRow-COQQQaJS.js} +1 -1
- package/dist/{ManualPopover-DWHgPmo4.js → ManualPopover-2myYukDY.js} +3 -3
- package/dist/{MediaWrapper-DFQOWgIv.js → MediaWrapper-CzLU8HWj.js} +3 -3
- package/dist/{NotBindingText-C8nuYQyU.js → NotBindingText-Ds156Rs5.js} +2 -2
- package/dist/{PackageGroup-SphTfHuX.js → PackageGroup-wT1ri3ij.js} +9 -9
- package/dist/{PdfTerms-DBaBtDkV.js → PdfTerms-CcFpPx19.js} +2 -2
- package/dist/{PdfViewer-BAwmny53.js → PdfViewer-B7qdDox0.js} +24 -24
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-DCWzxQzX.js → PlainHtml.vue_vue_type_script_setup_true_lang-pAIAnHdh.js} +1 -1
- package/dist/{PriceHeader-WCjqK7Bi.js → PriceHeader-CdJspOjM.js} +12 -12
- package/dist/{SearchApi-D3No6Dqd.js → SearchApi-zTefPc4C.js} +15 -5
- package/dist/{SendForm-DRc7hoaV.js → SendForm-DWiNVIs2.js} +8 -8
- package/dist/{Setup-Cs6_giNI.js → Setup-D90T_HW3.js} +1 -1
- package/dist/{SmartList-B0PP_sSE.js → SmartList-mO6hykju.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-ZolW_Wsv.js → Sortable.vue_vue_type_script_setup_true_lang-D22AqpXY.js} +35 -35
- package/dist/{TermsSettings-D1gsuKfo.js → TermsSettings-CW4GvPBa.js} +14 -14
- package/dist/{ThemeColorRow-MBlQPvxx.js → ThemeColorRow-C9XPet4I.js} +5 -5
- package/dist/{ToggleBinding-8pGtAGC1.js → ToggleBinding-5Ewi_NNo.js} +5 -5
- package/dist/{UploadModal-Bjf1zHOJ.js → UploadModal-ChOeO-8_.js} +4 -4
- package/dist/{VideoPlayerInput-C47DpiP5.js → VideoPlayerInput-CtZi6yF_.js} +6 -6
- package/dist/{VideoPlayerSettings-4IkCJlQi.js → VideoPlayerSettings-Bg8IvjwK.js} +2 -2
- package/dist/{VideoSelectModal-Cqto80td.js → VideoSelectModal-E01NsD3K.js} +5 -5
- package/dist/{dom-DOcGU3-g.js → dom-B_lSczxY.js} +5 -6
- package/dist/{focusDrawerMixin-BKLMBRx9.js → focusDrawerMixin-DfuFLIV0.js} +1 -1
- package/dist/{formDrawerState-DLcwOQ4Q.js → formDrawerState-DlaQS_ZT.js} +1 -1
- package/dist/{fortnoxTheme-afOWlK_c.js → fortnoxTheme-CyUIkVuu.js} +1 -1
- package/dist/{helpers-DIwX03XH.js → helpers-B1vYJYc-.js} +1 -1
- package/dist/{index-DWh08PmG.js → index-BPR1VsLM.js} +1 -1
- package/dist/{index-Brm5io83.js → index-CBkI7Hc7.js} +28 -28
- package/dist/index-CXYvBw0i.js +107 -0
- package/dist/index-DK3w2fdd.js +896 -0
- package/dist/{index-1lAgEf-q.js → index-DOK_hQri.js} +28 -28
- package/dist/{index-C5Y--h93.js → index-DnMhYLAz.js} +1 -1
- package/dist/{index-Bx76J19m.js → index-hj2QoJyP.js} +8 -8
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +190 -219
- package/dist/{main-2P1is0vk.js → main-BnJTDeKH.js} +368 -392
- package/dist/{mapFormMixin-CwOdsAx8.js → mapFormMixin-sXjgYtfb.js} +2 -2
- package/dist/{omit-DRXgPscM.js → omit-DQlOTuQS.js} +1 -1
- package/dist/{splitpanes-BgdVTU0e.js → splitpanes-4FF5o_FM.js} +1 -1
- package/dist/{template-Dbh8Beut.js → template-dbF0t2om.js} +1 -1
- package/dist/{tippy.esm-BRo_GJ2r.js → tippy.esm-Bu14Lq2S.js} +50 -50
- package/dist/{useTermsModal-BoFP5jyd.js → useTermsModal-DKiiU8a4.js} +4 -4
- package/dist/{utils-BbQPVxxj.js → utils-Dn9pHgbx.js} +1 -1
- package/dist/{validation-B0Jd0etq.js → validation-D_KP2hMr.js} +3 -3
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/AnswerModal-Disz8n8v.js +0 -3653
- package/dist/CPhoneInput-DT0zBmee.js +0 -207
- package/dist/Index--uza8ciS.js +0 -4
- package/dist/anime.es-4wvNItHq.js +0 -862
- package/dist/index-BsFKTasH.js +0 -3590
- package/dist/index-_a-1nXaE.js +0 -149
- package/dist/validations-ohsJ5nBz.js +0 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { f as n, as as i } from "./main-
|
|
1
|
+
import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-pAIAnHdh.js";
|
|
2
|
+
import { f as n, as as i } from "./main-BnJTDeKH.js";
|
|
3
3
|
function r(t) {
|
|
4
4
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !i(t);
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as D } from "./mapFormMixin-
|
|
2
|
-
import { E as M } from "./ErrorCallout-
|
|
3
|
-
import { _ as T, u as F, bj as C, bk as W, bl as O, d as c, o as a, j as l, e as n, t as o, F as f, s as k, y as w, bm as q, b as v,
|
|
4
|
-
import { t as A } from "./template-
|
|
5
|
-
import { T as G } from "./DocTextEditor-
|
|
1
|
+
import { m as D } from "./mapFormMixin-sXjgYtfb.js";
|
|
2
|
+
import { E as M } from "./ErrorCallout-BX44gJMR.js";
|
|
3
|
+
import { _ as T, u as F, bj as C, bk as W, bl as O, d as c, o as a, j as l, e as n, t as o, F as f, s as k, y as w, bm as q, b as v, Y as z, v as I, q as P, c as _, ag as L, f as V, w as S, x as Z, Q as x, ae as b, bn as E, z as N, i as j } from "./main-BnJTDeKH.js";
|
|
4
|
+
import { t as A } from "./template-dbF0t2om.js";
|
|
5
|
+
import { T as G } from "./DocTextEditor-DwYMXhZv.js";
|
|
6
6
|
const $ = {
|
|
7
7
|
name: "ArticleItem",
|
|
8
8
|
mixins: [D([])],
|
|
@@ -136,14 +136,14 @@ const $ = {
|
|
|
136
136
|
}, H = { class: "article-text" }, Q = { class: "article-text-title hyphens-auto break-all" }, U = {
|
|
137
137
|
key: 0,
|
|
138
138
|
class: "article-text-sub"
|
|
139
|
-
}, R = { key: 0 },
|
|
139
|
+
}, R = { key: 0 }, Y = { key: 1 }, J = {
|
|
140
140
|
key: 2,
|
|
141
141
|
style: { margin: "0 4px" },
|
|
142
142
|
width: "6",
|
|
143
143
|
height: "6",
|
|
144
144
|
viewBox: "0 0 148 141",
|
|
145
145
|
xmlns: "http://www.w3.org/2000/svg"
|
|
146
|
-
}, K = { key: 3 },
|
|
146
|
+
}, K = { key: 3 }, X = { class: "article-price" }, ee = ["innerHTML"], te = {
|
|
147
147
|
key: 1,
|
|
148
148
|
class: "article-price-sub"
|
|
149
149
|
};
|
|
@@ -157,7 +157,7 @@ function ie(t, i, e, p, g, r) {
|
|
|
157
157
|
l("div", Q, o(e.title), 1),
|
|
158
158
|
r.showDetails ? (a(), c("div", U, [
|
|
159
159
|
e.priceType === "openAcc" || e.priceType === "markup" ? (a(), c("div", R, o(t._document.$t(`price.${e.priceType}`)) + " ", 1)) : n("", !0),
|
|
160
|
-
e.priceType !== "openAcc" && e.priceType !== "markup" ? (a(), c("div",
|
|
160
|
+
e.priceType !== "openAcc" && e.priceType !== "markup" ? (a(), c("div", Y, o(r.fixQuantity) + " " + o(r.articleUnitLabel(e.unitType, {
|
|
161
161
|
count: r.fixQuantity,
|
|
162
162
|
lng: t._document.language,
|
|
163
163
|
instance: t.$options.docLang
|
|
@@ -172,7 +172,7 @@ function ie(t, i, e, p, g, r) {
|
|
|
172
172
|
r.atPrice ? (a(), c("div", K, o(r.atPrice), 1)) : n("", !0)
|
|
173
173
|
])) : n("", !0)
|
|
174
174
|
]),
|
|
175
|
-
l("div",
|
|
175
|
+
l("div", X, [
|
|
176
176
|
e.showPrice ? (a(), c(f, { key: 0 }, [
|
|
177
177
|
e.discount ? (a(), c("div", {
|
|
178
178
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as l } from "./PdfViewer-
|
|
2
|
-
import {
|
|
1
|
+
import { V as l } from "./PdfViewer-B7qdDox0.js";
|
|
2
|
+
import { $ as d, I as o, aE as f, d as t, o as s, j as a, t as _, f as m, J as p, _ as u } from "./main-BnJTDeKH.js";
|
|
3
3
|
const v = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "root"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as A } from "./dom-
|
|
3
|
-
import { w as se } from "./CDropdownItem-
|
|
1
|
+
import { $ as H, B as h, W as O, E as T, X, H as W, d as v, o as m, O as Q, e as j, j as u, v as Y, y as z, J as C, bf as _, _ as K, b as G, f as P, ah as M, t as L, w as J, an as V, al as ee, k as R, bg as te, i as Z, M as U, s as S, F as $, c as q, q as ae, a5 as ne, aC as oe } from "./main-BnJTDeKH.js";
|
|
2
|
+
import { e as A } from "./dom-B_lSczxY.js";
|
|
3
|
+
import { w as se } from "./CDropdownItem-CFTdvAJc.js";
|
|
4
4
|
const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
5
5
|
__name: "PdfPage",
|
|
6
6
|
props: {
|
|
@@ -16,20 +16,20 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
16
16
|
emits: ["pagerendered", "link-clicked", "update:scale", "error"],
|
|
17
17
|
setup(t, { emit: e }) {
|
|
18
18
|
let s, r, f, d, n;
|
|
19
|
-
const l = e, w = h(!0), b =
|
|
20
|
-
|
|
19
|
+
const l = e, w = h(!0), b = O("container"), y = h(!1), p = h(null);
|
|
20
|
+
T(
|
|
21
21
|
() => t.scale,
|
|
22
22
|
(a) => {
|
|
23
23
|
x(a);
|
|
24
24
|
}
|
|
25
|
-
),
|
|
25
|
+
), T(
|
|
26
26
|
() => t.rotate,
|
|
27
27
|
(a) => {
|
|
28
28
|
n && (n.update({ scale: t.scale, rotation: a }), n.draw());
|
|
29
29
|
}
|
|
30
|
-
),
|
|
30
|
+
), X(() => {
|
|
31
31
|
s = window.pdfjsViewer.PDFFindController, r = window.pdfjsViewer.PDFLinkService, f = window.pdfjsViewer.PDFPageView, d = window.pdfjsViewer.EventBus, F();
|
|
32
|
-
}),
|
|
32
|
+
}), W(() => {
|
|
33
33
|
n && (n.destroy(), n = null);
|
|
34
34
|
});
|
|
35
35
|
function F() {
|
|
@@ -55,10 +55,10 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
55
55
|
textLayerMode: t.text ? 1 : 0,
|
|
56
56
|
annotationMode: t.annotation ? 1 : 0
|
|
57
57
|
}), n.setPdfPage(g);
|
|
58
|
-
const
|
|
58
|
+
const N = {
|
|
59
59
|
scrollPageIntoView: (E) => l("link-clicked", E)
|
|
60
60
|
};
|
|
61
|
-
return o.setDocument(t.pdf), o.setViewer(
|
|
61
|
+
return o.setDocument(t.pdf), o.setViewer(N), c.setDocument(t.pdf), x(t.scale);
|
|
62
62
|
}).catch((g) => {
|
|
63
63
|
l("error", g), w.value = !1;
|
|
64
64
|
});
|
|
@@ -85,7 +85,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
85
85
|
t.resize && !w.value && x("page-width");
|
|
86
86
|
}
|
|
87
87
|
return (a, o) => (m(), v("div", null, [
|
|
88
|
-
w.value ?
|
|
88
|
+
w.value ? Q(a.$slots, "loading", { key: 0 }) : j("", !0),
|
|
89
89
|
u("div", {
|
|
90
90
|
ref_key: "container",
|
|
91
91
|
ref: b,
|
|
@@ -241,7 +241,7 @@ function ve(t, e, s, r, f, d) {
|
|
|
241
241
|
], 2)
|
|
242
242
|
], 2);
|
|
243
243
|
}
|
|
244
|
-
const we = /* @__PURE__ */
|
|
244
|
+
const we = /* @__PURE__ */ K(ie, [["render", ve], ["__scopeId", "data-v-ab4be675"]]);
|
|
245
245
|
function be(t, e = {}) {
|
|
246
246
|
let s;
|
|
247
247
|
if (typeof t == "string")
|
|
@@ -266,14 +266,14 @@ const ye = { key: 0 }, Pe = {
|
|
|
266
266
|
emits: ["numPages", "rendered"],
|
|
267
267
|
setup(t, { emit: e }) {
|
|
268
268
|
let s = !1, r = null;
|
|
269
|
-
const f = e, d =
|
|
270
|
-
|
|
269
|
+
const f = e, d = R("isPdf", !1), n = R("fallbackMode", !1), l = te(null), w = h(!1), b = O("pageComponents"), y = h("page-width"), p = h(!0), F = h(1), k = h(void 0);
|
|
270
|
+
T(
|
|
271
271
|
() => n,
|
|
272
272
|
(a) => {
|
|
273
273
|
a && (y.value = 0.9);
|
|
274
274
|
},
|
|
275
275
|
{ immediate: !0 }
|
|
276
|
-
),
|
|
276
|
+
), T(
|
|
277
277
|
() => t.src,
|
|
278
278
|
async (a) => {
|
|
279
279
|
s || (await A(
|
|
@@ -283,20 +283,20 @@ const ye = { key: 0 }, Pe = {
|
|
|
283
283
|
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${Z.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.worker.min.mjs`, s = !0), B(a);
|
|
284
284
|
},
|
|
285
285
|
{ immediate: !0 }
|
|
286
|
-
),
|
|
286
|
+
), W(() => {
|
|
287
287
|
r && (r.disconnect(), r = null);
|
|
288
288
|
});
|
|
289
289
|
const B = async (a) => {
|
|
290
290
|
if (!a) return;
|
|
291
291
|
w.value = !0;
|
|
292
292
|
const o = be(a);
|
|
293
|
-
await
|
|
293
|
+
await U(), o.promise.then((c) => {
|
|
294
294
|
l.value = c, w.value = !1, k.value = c.numPages, f("numPages", c.numPages), f("rendered"), t.toolbar && (k.value ?? 0) > 1 && (r = new IntersectionObserver(
|
|
295
295
|
(i) => {
|
|
296
296
|
i.forEach((g) => {
|
|
297
|
-
var
|
|
297
|
+
var N;
|
|
298
298
|
if (g.isIntersecting) {
|
|
299
|
-
const E = Number((
|
|
299
|
+
const E = Number((N = g.target) == null ? void 0 : N.getAttribute("data-page"));
|
|
300
300
|
F.value = E;
|
|
301
301
|
}
|
|
302
302
|
});
|
|
@@ -305,7 +305,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
305
305
|
rootMargin: "0px",
|
|
306
306
|
threshold: 0.5
|
|
307
307
|
}
|
|
308
|
-
),
|
|
308
|
+
), U(() => {
|
|
309
309
|
var i;
|
|
310
310
|
(i = b.value) == null || i.forEach(
|
|
311
311
|
(g) => r.observe(g.$el)
|
|
@@ -336,8 +336,8 @@ const ye = { key: 0 }, Pe = {
|
|
|
336
336
|
u("div", null, "This page should have been replaced with URL: " + L(a.src), 1),
|
|
337
337
|
o[3] || (o[3] = S(`
|
|
338
338
|
`))
|
|
339
|
-
])) : (m(), v(
|
|
340
|
-
a.toolbar && !C(n) && !w.value ? (m(),
|
|
339
|
+
])) : (m(), v($, { key: 1 }, [
|
|
340
|
+
a.toolbar && !C(n) && !w.value ? (m(), q(we, {
|
|
341
341
|
key: 0,
|
|
342
342
|
scale: y.value,
|
|
343
343
|
"onUpdate:scale": o[0] || (o[0] = (i) => y.value = i),
|
|
@@ -361,7 +361,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
361
361
|
u("div", {
|
|
362
362
|
class: z({ "overflow-x-auto": !p.value })
|
|
363
363
|
}, [
|
|
364
|
-
(m(!0), v(
|
|
364
|
+
(m(!0), v($, null, ae(k.value, (i) => (m(), q(le, ne({ ref_for: !0 }, a.$attrs, {
|
|
365
365
|
ref_for: !0,
|
|
366
366
|
ref_key: "pageComponents",
|
|
367
367
|
ref: b,
|
|
@@ -392,7 +392,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
392
392
|
]);
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
|
-
}), Ve = /* @__PURE__ */
|
|
395
|
+
}), Ve = /* @__PURE__ */ K(ke, [["__scopeId", "data-v-c9caf7d5"]]);
|
|
396
396
|
export {
|
|
397
397
|
Ve as V
|
|
398
398
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as v } from "./mapFormMixin-
|
|
2
|
-
import { B as A } from "./BlockMedia-
|
|
3
|
-
import { _ as b, u as C,
|
|
4
|
-
import { u as B } from "./DocumentLayout-
|
|
5
|
-
import { t as D } from "./template-
|
|
6
|
-
import { s as L } from "./dom-
|
|
7
|
-
import { T as j } from "./DocTextEditor-
|
|
1
|
+
import { m as v } from "./mapFormMixin-sXjgYtfb.js";
|
|
2
|
+
import { B as A } from "./BlockMedia-BcvfBi4G.js";
|
|
3
|
+
import { _ as b, u as C, ae as u, d as s, o as n, j as a, y as f, e as l, Q as w, t as r, s as T, n as N, b as h, c as _, F as V, f as x, a5 as F, b4 as P } from "./main-BnJTDeKH.js";
|
|
4
|
+
import { u as B } from "./DocumentLayout-DdXflWEb.js";
|
|
5
|
+
import { t as D } from "./template-dbF0t2om.js";
|
|
6
|
+
import { s as L } from "./dom-B_lSczxY.js";
|
|
7
|
+
import { T as j } from "./DocTextEditor-DwYMXhZv.js";
|
|
8
8
|
import { i as M } from "./i18nMessages-Chz_lxGG.js";
|
|
9
9
|
const z = {
|
|
10
10
|
name: "SummaryBottom",
|
|
@@ -126,13 +126,13 @@ const z = {
|
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "flex w-full items-center justify-end",
|
|
128
128
|
style: { height: "108px" }
|
|
129
|
-
}, R = { style: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, G = { style: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } },
|
|
129
|
+
}, R = { style: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, G = { style: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, Q = { style: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, J = {
|
|
130
130
|
key: 0,
|
|
131
131
|
style: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" }
|
|
132
132
|
}, K = {
|
|
133
133
|
key: 1,
|
|
134
134
|
style: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" }
|
|
135
|
-
},
|
|
135
|
+
}, X = { style: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } };
|
|
136
136
|
function Y(e, o, t, c, d, i) {
|
|
137
137
|
return n(), s("section", I, [
|
|
138
138
|
a("div", {
|
|
@@ -153,9 +153,9 @@ function Y(e, o, t, c, d, i) {
|
|
|
153
153
|
a("div", G, r(e._document.$t("price.proposal")), 1),
|
|
154
154
|
a("div", null, r(e._document.$t("summaryBottom.chooseFrom")), 1)
|
|
155
155
|
]),
|
|
156
|
-
a("div",
|
|
156
|
+
a("div", Q, [
|
|
157
157
|
t.base ? (n(), s("div", K, [
|
|
158
|
-
a("div",
|
|
158
|
+
a("div", X, r(i.priceFormat(t.base.prices.total, {
|
|
159
159
|
currency: i.currency,
|
|
160
160
|
decimals: 2,
|
|
161
161
|
hideZeroDecimals: !0
|
|
@@ -224,7 +224,7 @@ const ee = /* @__PURE__ */ b(z, [["render", Y], ["__scopeId", "data-v-7b484c4b"]
|
|
|
224
224
|
components: {
|
|
225
225
|
TextEditor: j,
|
|
226
226
|
DocumentLogotype: N(
|
|
227
|
-
() => import("./DocumentLogotype-
|
|
227
|
+
() => import("./DocumentLogotype-eSStO83t.js")
|
|
228
228
|
)
|
|
229
229
|
},
|
|
230
230
|
emits: ["update:logotype", "update:doc-name"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as h,
|
|
1
|
+
import { _ as h, S as f, a as m, T as d, U as p, V as y, O as g } from "./main-BnJTDeKH.js";
|
|
2
2
|
const S = {
|
|
3
3
|
name: "SearchApi",
|
|
4
4
|
props: {
|
|
@@ -51,7 +51,11 @@ const S = {
|
|
|
51
51
|
return (this.typesToFetch || []).forEach((e) => {
|
|
52
52
|
o.includes(e) && c.push(
|
|
53
53
|
(async () => {
|
|
54
|
-
e === "document" ? s[e] = await this.fetchDocuments(n, r, i) : e === "extensionArticle" ? s[e] = await this.fetchExtensionArticles(
|
|
54
|
+
e === "document" ? s[e] = await this.fetchDocuments(n, r, i) : e === "extensionArticle" ? s[e] = await this.fetchExtensionArticles(
|
|
55
|
+
n,
|
|
56
|
+
r,
|
|
57
|
+
i
|
|
58
|
+
) : s[e] = await this.fetchType(e, n, r, i), a && a({ [e]: s[e] });
|
|
55
59
|
})()
|
|
56
60
|
);
|
|
57
61
|
}), await Promise.allSettled(c), Object.keys(s).every(
|
|
@@ -123,7 +127,13 @@ const S = {
|
|
|
123
127
|
})
|
|
124
128
|
), r;
|
|
125
129
|
},
|
|
126
|
-
triggerSearch: f(async function({
|
|
130
|
+
triggerSearch: f(async function({
|
|
131
|
+
q: r,
|
|
132
|
+
cb: i,
|
|
133
|
+
start: a,
|
|
134
|
+
end: s,
|
|
135
|
+
onResult: n = null
|
|
136
|
+
}) {
|
|
127
137
|
this.isLoading = !0;
|
|
128
138
|
try {
|
|
129
139
|
const c = await this.fetch({ query: r, start: a, end: s, onResult: n });
|
|
@@ -140,7 +150,7 @@ function A(t, r, i, a, s, n) {
|
|
|
140
150
|
isLoading: s.isLoading
|
|
141
151
|
});
|
|
142
152
|
}
|
|
143
|
-
const
|
|
153
|
+
const $ = /* @__PURE__ */ h(S, [["render", A]]);
|
|
144
154
|
export {
|
|
145
|
-
|
|
155
|
+
$ as S
|
|
146
156
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as Tt } from "./mapFormMixin-
|
|
2
|
-
import { _ as Nr, I as Lr, a as Ur } from "./index-
|
|
3
|
-
import { cn as Wr, co as Yr, cp as Hr, cq as jr, cr as zr, cs as Jr, ct as qr, cu as Ae, cv as Da, cw as Kr, cx as Mt, cy as Je, cz as ln, cA as yt, I as S, B as I, bg as Ca, E as Z, cB as xa, cC as _a, cD as We, J as f,
|
|
4
|
-
import {
|
|
5
|
-
import { E as wo } from "./ErrorCallout-
|
|
6
|
-
import { C as $o, a as Do } from "./ClientModal-
|
|
7
|
-
import { u as Ta } from "./index-
|
|
1
|
+
import { m as Tt } from "./mapFormMixin-sXjgYtfb.js";
|
|
2
|
+
import { _ as Nr, I as Lr, a as Ur } from "./index-DK3w2fdd.js";
|
|
3
|
+
import { cn as Wr, co as Yr, cp as Hr, cq as jr, cr as zr, cs as Jr, ct as qr, cu as Ae, cv as Da, cw as Kr, cx as Mt, cy as Je, cz as ln, cA as yt, I as S, B as I, bg as Ca, E as Z, cB as xa, cC as _a, cD as We, J as f, $ as P, c as D, o as h, w, O, a5 as q, f as M, bt as j, bu as z, s as N, t as C, az as Rt, G as Gr, k as Qr, X as Vt, ap as ka, j as x, ah as Nn, an as re, M as Se, A as Ne, aj as _t, cE as me, cF as Zr, bJ as Aa, bM as Xr, cG as Ln, e as F, bi as eo, d as A, Q as bn, aM as to, cH as no, cI as Sa, F as W, cJ as Ma, H as ao, r as Oa, cK as ro, cL as oo, cM as lo, p as io, aE as so, bh as uo, b as T, y as Ie, q as fe, _ as Le, a as wn, aq as co, v as ze, x as Ea, l as fo, cN as Un, al as mo, ae as Ot, cO as po, cP as Pa, aa as ho, P as vo, Y as Ba, cm as yo, aV as go } from "./main-BnJTDeKH.js";
|
|
4
|
+
import { b as Ia, a as Fa, C as bo } from "./CDropdownItem-CFTdvAJc.js";
|
|
5
|
+
import { E as wo } from "./ErrorCallout-BX44gJMR.js";
|
|
6
|
+
import { C as $o, a as Do } from "./ClientModal-CZjzCgw_.js";
|
|
7
|
+
import { u as Ta } from "./index-DnMhYLAz.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import Co from "./AddClientCallout-
|
|
9
|
+
import Co from "./AddClientCallout-Bv6IKK40.js";
|
|
10
10
|
function qe(e, t) {
|
|
11
11
|
return e - t * Math.floor(e / t);
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aP as Rt, aQ as kt, aR as Xt, aS as Yt, G as Bt, aT as st, M as Ht,
|
|
1
|
+
import { aP as Rt, aQ as kt, aR as Xt, aS as Yt, G as Bt, aT as st, M as Ht, $ as Wt, I as Gt, W as Lt, c as zt, o as ut, w as jt, d as $t, F as Vt, q as Ut, O as qt, Q as Kt, y as Qt, ap as Zt } from "./main-BnJTDeKH.js";
|
|
2
2
|
/**!
|
|
3
3
|
* Sortable 1.15.6
|
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -103,7 +103,7 @@ function Ye(n, e) {
|
|
|
103
103
|
function wt(n) {
|
|
104
104
|
return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function W(n, e, o, t) {
|
|
107
107
|
if (n) {
|
|
108
108
|
o = o || document;
|
|
109
109
|
do {
|
|
@@ -194,7 +194,7 @@ function ht(n, e, o) {
|
|
|
194
194
|
}
|
|
195
195
|
function de(n, e, o, t) {
|
|
196
196
|
for (var i = 0, r = 0, a = n.children; r < a.length; ) {
|
|
197
|
-
if (a[r].style.display !== "none" && a[r] !== p.ghost && (t || a[r] !== p.dragged) &&
|
|
197
|
+
if (a[r].style.display !== "none" && a[r] !== p.ghost && (t || a[r] !== p.dragged) && W(a[r], o.draggable, n, !1)) {
|
|
198
198
|
if (i === e)
|
|
199
199
|
return a[r];
|
|
200
200
|
i++;
|
|
@@ -282,7 +282,7 @@ function Ct(n, e, o) {
|
|
|
282
282
|
var t = {};
|
|
283
283
|
return Array.from(n.children).forEach(function(i) {
|
|
284
284
|
var r, a, l, s;
|
|
285
|
-
if (!(!
|
|
285
|
+
if (!(!W(i, e.draggable, n, !1) || i.animated || i === o)) {
|
|
286
286
|
var u = C(i);
|
|
287
287
|
t.left = Math.min((r = t.left) !== null && r !== void 0 ? r : 1 / 0, u.left), t.top = Math.min((a = t.top) !== null && a !== void 0 ? a : 1 / 0, u.top), t.right = Math.max((l = t.right) !== null && l !== void 0 ? l : -1 / 0, u.right), t.bottom = Math.max((s = t.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
|
|
288
288
|
}
|
|
@@ -467,7 +467,7 @@ function P(n) {
|
|
|
467
467
|
newDraggableIndex: Z
|
|
468
468
|
}, n));
|
|
469
469
|
}
|
|
470
|
-
var f, S, g, D, ae, Fe, _, J, fe, k, _e, Z, Ae, O, ue = !1, Be = !1, He = [], ie, H, $e, Ve, gt, mt, be, se, Se, Te = !1, Pe = !1, Re, I, Ue = [], Je = !1,
|
|
470
|
+
var f, S, g, D, ae, Fe, _, J, fe, k, _e, Z, Ae, O, ue = !1, Be = !1, He = [], ie, H, $e, Ve, gt, mt, be, se, Se, Te = !1, Pe = !1, Re, I, Ue = [], Je = !1, We = [], Le = typeof document < "u", xe = ot, vt = Ce || q ? "cssFloat" : "float", dn = Le && !yt && !ot && "draggable" in document.createElement("div"), Ot = function() {
|
|
471
471
|
if (Le) {
|
|
472
472
|
if (q)
|
|
473
473
|
return !1;
|
|
@@ -611,7 +611,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
611
611
|
_onTapStart: function(e) {
|
|
612
612
|
if (e.cancelable) {
|
|
613
613
|
var o = this, t = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, c = i.filter;
|
|
614
|
-
if (_n(t), !f && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && we && s && s.tagName.toUpperCase() === "SELECT") && (s =
|
|
614
|
+
if (_n(t), !f && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && we && s && s.tagName.toUpperCase() === "SELECT") && (s = W(s, i.draggable, t, !1), !(s && s.animated) && Fe !== s)) {
|
|
615
615
|
if (fe = X(s), _e = X(s, i.draggable), typeof c == "function") {
|
|
616
616
|
if (c.call(this, e, s, this)) {
|
|
617
617
|
P({
|
|
@@ -627,7 +627,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
627
627
|
return;
|
|
628
628
|
}
|
|
629
629
|
} else if (c && (c = c.split(",").some(function(d) {
|
|
630
|
-
if (d =
|
|
630
|
+
if (d = W(u, d.trim(), t, !1), d)
|
|
631
631
|
return P({
|
|
632
632
|
sortable: o,
|
|
633
633
|
rootEl: d,
|
|
@@ -642,7 +642,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
642
642
|
r && e.preventDefault();
|
|
643
643
|
return;
|
|
644
644
|
}
|
|
645
|
-
i.handle && !
|
|
645
|
+
i.handle && !W(u, i.handle, t, !1) || this._prepareDragStart(e, l, s);
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
648
|
},
|
|
@@ -827,7 +827,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
827
827
|
originalEvent: e
|
|
828
828
|
});
|
|
829
829
|
}
|
|
830
|
-
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), t =
|
|
830
|
+
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), t = W(t, l.draggable, o, !0), Y("dragOver"), p.eventCanceled) return E;
|
|
831
831
|
if (f.contains(e.target) || t.animated && t.animatingX && t.animatingY || y._ignoreWhileAnimating === t)
|
|
832
832
|
return A(!1);
|
|
833
833
|
if (Be = !1, u && !l.disabled && (c ? d || (a = S !== D) : O === this || (this.lastPutMode = Ae.checkPull(this, u, f, e)) && s.checkPut(this, u, f, e))) {
|
|
@@ -848,20 +848,20 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
848
848
|
return j(), o.insertBefore(f, te), S = o, B(), A(!0);
|
|
849
849
|
} else if (t.parentNode === o) {
|
|
850
850
|
r = C(t);
|
|
851
|
-
var
|
|
852
|
-
se !== t && (ne = r[pe], Te = !1, Pe = !F && l.invertSwap || he),
|
|
851
|
+
var G = 0, ne, he = f.parentNode !== o, F = !hn(f.animated && f.toRect || i, t.animated && t.toRect || r, w), pe = w ? "top" : "left", K = ht(t, "top", "top") || ht(f, "top", "top"), ge = K ? K.scrollTop : void 0;
|
|
852
|
+
se !== t && (ne = r[pe], Te = !1, Pe = !F && l.invertSwap || he), G = En(e, t, r, w, F ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Pe, se === t);
|
|
853
853
|
var $;
|
|
854
|
-
if (
|
|
854
|
+
if (G !== 0) {
|
|
855
855
|
var oe = X(f);
|
|
856
856
|
do
|
|
857
|
-
oe -=
|
|
857
|
+
oe -= G, $ = S.children[oe];
|
|
858
858
|
while ($ && (h($, "display") === "none" || $ === g));
|
|
859
859
|
}
|
|
860
|
-
if (
|
|
860
|
+
if (G === 0 || $ === t)
|
|
861
861
|
return A(!1);
|
|
862
|
-
se = t, Se =
|
|
862
|
+
se = t, Se = G;
|
|
863
863
|
var me = t.nextElementSibling, Q = !1;
|
|
864
|
-
Q =
|
|
864
|
+
Q = G === 1;
|
|
865
865
|
var Ie = Ne(D, o, f, i, t, r, e, Q);
|
|
866
866
|
if (Ie !== !1)
|
|
867
867
|
return (Ie === 1 || Ie === -1) && (Q = Ie === 1), Je = !0, setTimeout(vn, 30), j(), Q && !me ? o.appendChild(f) : t.parentNode.insertBefore(f, Q ? me : t), K && St(K, 0, ge - K.scrollTop), S = f.parentNode, ne !== void 0 && !Pe && (Re = Math.abs(ne - C(t)[pe])), B(), A(!0);
|
|
@@ -934,9 +934,9 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
934
934
|
}), this.save()))), this._nulling();
|
|
935
935
|
},
|
|
936
936
|
_nulling: function() {
|
|
937
|
-
x("nulling", this), D = f = S = g = ae = _ = Fe = J = ie = H = be = k = Z = fe = _e = se = Se = O = Ae = p.dragged = p.ghost = p.clone = p.active = null,
|
|
937
|
+
x("nulling", this), D = f = S = g = ae = _ = Fe = J = ie = H = be = k = Z = fe = _e = se = Se = O = Ae = p.dragged = p.ghost = p.clone = p.active = null, We.forEach(function(e) {
|
|
938
938
|
e.checked = !0;
|
|
939
|
-
}),
|
|
939
|
+
}), We.length = $e = Ve = 0;
|
|
940
940
|
},
|
|
941
941
|
handleEvent: function(e) {
|
|
942
942
|
switch (e.type) {
|
|
@@ -959,7 +959,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
959
959
|
*/
|
|
960
960
|
toArray: function() {
|
|
961
961
|
for (var e = [], o, t = this.el.children, i = 0, r = t.length, a = this.options; i < r; i++)
|
|
962
|
-
o = t[i],
|
|
962
|
+
o = t[i], W(o, a.draggable, this.el, !1) && e.push(o.getAttribute(a.dataIdAttr) || Dn(o));
|
|
963
963
|
return e;
|
|
964
964
|
},
|
|
965
965
|
/**
|
|
@@ -970,7 +970,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
970
970
|
var t = {}, i = this.el;
|
|
971
971
|
this.toArray().forEach(function(r, a) {
|
|
972
972
|
var l = i.children[a];
|
|
973
|
-
|
|
973
|
+
W(l, this.options.draggable, i, !1) && (t[r] = l);
|
|
974
974
|
}, this), o && this.captureAnimationState(), e.forEach(function(r) {
|
|
975
975
|
t[r] && (i.removeChild(t[r]), i.appendChild(t[r]));
|
|
976
976
|
}), o && this.animateAll();
|
|
@@ -989,7 +989,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
989
989
|
* @returns {HTMLElement|null}
|
|
990
990
|
*/
|
|
991
991
|
closest: function(e, o) {
|
|
992
|
-
return
|
|
992
|
+
return W(e, o || this.options.draggable, this.el, !1);
|
|
993
993
|
},
|
|
994
994
|
/**
|
|
995
995
|
* Set/get option
|
|
@@ -1077,10 +1077,10 @@ function Dn(n) {
|
|
|
1077
1077
|
return t.toString(36);
|
|
1078
1078
|
}
|
|
1079
1079
|
function _n(n) {
|
|
1080
|
-
|
|
1080
|
+
We.length = 0;
|
|
1081
1081
|
for (var e = n.getElementsByTagName("input"), o = e.length; o--; ) {
|
|
1082
1082
|
var t = e[o];
|
|
1083
|
-
t.checked &&
|
|
1083
|
+
t.checked && We.push(t);
|
|
1084
1084
|
}
|
|
1085
1085
|
}
|
|
1086
1086
|
function ke(n) {
|
|
@@ -1098,11 +1098,11 @@ p.utils = {
|
|
|
1098
1098
|
css: h,
|
|
1099
1099
|
find: Dt,
|
|
1100
1100
|
is: function(e, o) {
|
|
1101
|
-
return !!
|
|
1101
|
+
return !!W(e, o, e, !1);
|
|
1102
1102
|
},
|
|
1103
1103
|
extend: rn,
|
|
1104
1104
|
throttle: _t,
|
|
1105
|
-
closest:
|
|
1105
|
+
closest: W,
|
|
1106
1106
|
toggleClass: R,
|
|
1107
1107
|
clone: Tt,
|
|
1108
1108
|
index: X,
|
|
@@ -1128,7 +1128,7 @@ p.create = function(n, e) {
|
|
|
1128
1128
|
return new p(n, e);
|
|
1129
1129
|
};
|
|
1130
1130
|
p.version = nn;
|
|
1131
|
-
var T = [], ye, tt, nt = !1, Ke, Qe,
|
|
1131
|
+
var T = [], ye, tt, nt = !1, Ke, Qe, Ge, Ee;
|
|
1132
1132
|
function Sn() {
|
|
1133
1133
|
function n() {
|
|
1134
1134
|
this.defaults = {
|
|
@@ -1154,14 +1154,14 @@ function Sn() {
|
|
|
1154
1154
|
this.sortable.nativeDraggable ? m(document, "dragover", this._handleAutoScroll) : (m(document, "pointermove", this._handleFallbackAutoScroll), m(document, "touchmove", this._handleFallbackAutoScroll), m(document, "mousemove", this._handleFallbackAutoScroll)), bt(), Xe(), an();
|
|
1155
1155
|
},
|
|
1156
1156
|
nulling: function() {
|
|
1157
|
-
|
|
1157
|
+
Ge = tt = ye = nt = Ee = Ke = Qe = null, T.length = 0;
|
|
1158
1158
|
},
|
|
1159
1159
|
_handleFallbackAutoScroll: function(o) {
|
|
1160
1160
|
this._handleAutoScroll(o, !0);
|
|
1161
1161
|
},
|
|
1162
1162
|
_handleAutoScroll: function(o, t) {
|
|
1163
1163
|
var i = this, r = (o.touches ? o.touches[0] : o).clientX, a = (o.touches ? o.touches[0] : o).clientY, l = document.elementFromPoint(r, a);
|
|
1164
|
-
if (
|
|
1164
|
+
if (Ge = o, t || this.options.forceAutoScrollFallback || Ce || q || we) {
|
|
1165
1165
|
Ze(o, this.options, l, t);
|
|
1166
1166
|
var s = ee(l, !0);
|
|
1167
1167
|
nt && (!Ee || r !== Ke || a !== Qe) && (Ee && bt(), Ee = setInterval(function() {
|
|
@@ -1195,16 +1195,16 @@ var Ze = _t(function(n, e, o, t) {
|
|
|
1195
1195
|
tt !== o && (tt = o, Xe(), ye = e.scroll, c = e.scrollFn, ye === !0 && (ye = ee(o, !0)));
|
|
1196
1196
|
var d = 0, b = ye;
|
|
1197
1197
|
do {
|
|
1198
|
-
var w = b, y = C(w), E = y.top, Y = y.bottom, j = y.left, A = y.right, B = y.width, M = y.height, te = void 0,
|
|
1199
|
-
w === s ? (te = B < ne && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"),
|
|
1200
|
-
var ge = te && (Math.abs(A - i) <= a && pe + B < ne) - (Math.abs(j - i) <= a && !!pe), $ =
|
|
1198
|
+
var w = b, y = C(w), E = y.top, Y = y.bottom, j = y.left, A = y.right, B = y.width, M = y.height, te = void 0, G = void 0, ne = w.scrollWidth, he = w.scrollHeight, F = h(w), pe = w.scrollLeft, K = w.scrollTop;
|
|
1199
|
+
w === s ? (te = B < ne && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), G = M < he && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (te = B < ne && (F.overflowX === "auto" || F.overflowX === "scroll"), G = M < he && (F.overflowY === "auto" || F.overflowY === "scroll"));
|
|
1200
|
+
var ge = te && (Math.abs(A - i) <= a && pe + B < ne) - (Math.abs(j - i) <= a && !!pe), $ = G && (Math.abs(Y - r) <= a && K + M < he) - (Math.abs(E - r) <= a && !!K);
|
|
1201
1201
|
if (!T[d])
|
|
1202
1202
|
for (var oe = 0; oe <= d; oe++)
|
|
1203
1203
|
T[oe] || (T[oe] = {});
|
|
1204
1204
|
(T[d].vx != ge || T[d].vy != $ || T[d].el !== w) && (T[d].el = w, T[d].vx = ge, T[d].vy = $, clearInterval(T[d].pid), (ge != 0 || $ != 0) && (u = !0, T[d].pid = setInterval((function() {
|
|
1205
|
-
t && this.layer === 0 && p.active._onTouchMove(
|
|
1205
|
+
t && this.layer === 0 && p.active._onTouchMove(Ge);
|
|
1206
1206
|
var me = T[this.layer].vy ? T[this.layer].vy * l : 0, Q = T[this.layer].vx ? T[this.layer].vx * l : 0;
|
|
1207
|
-
typeof c == "function" && c.call(p.dragged.parentNode[N], Q, me, n,
|
|
1207
|
+
typeof c == "function" && c.call(p.dragged.parentNode[N], Q, me, n, Ge, T[this.layer].el) !== "continue" || St(T[this.layer].el, Q, me);
|
|
1208
1208
|
}).bind({
|
|
1209
1209
|
layer: d
|
|
1210
1210
|
}), 24))), d++;
|
|
@@ -1300,7 +1300,7 @@ function An(n, e, o) {
|
|
|
1300
1300
|
const t = n.slice(), i = t.splice(e, 1)[0];
|
|
1301
1301
|
return t.splice(o, 0, i), t;
|
|
1302
1302
|
}
|
|
1303
|
-
const Nn = /* @__PURE__ */
|
|
1303
|
+
const Nn = /* @__PURE__ */ Wt({
|
|
1304
1304
|
__name: "Sortable",
|
|
1305
1305
|
props: {
|
|
1306
1306
|
tag: { default: "div" },
|
|
@@ -1312,7 +1312,7 @@ const Nn = /* @__PURE__ */ Gt({
|
|
|
1312
1312
|
},
|
|
1313
1313
|
emits: ["update:modelValue"],
|
|
1314
1314
|
setup(n, { emit: e }) {
|
|
1315
|
-
const o = e, t =
|
|
1315
|
+
const o = e, t = Gt(() => n.modelValue || n.list), i = Lt("container");
|
|
1316
1316
|
return Tn(i, t, {
|
|
1317
1317
|
animation: 250,
|
|
1318
1318
|
onChoose(r) {
|