@cling-se/widget 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -22
- package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-7LpWNu29.js} +11 -16
- package/dist/{AnswerModal-7c83d608.js → AnswerModal-DnTU4eo8.js} +1931 -1948
- package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-DcwbrFUh.js} +15 -18
- package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BpyeJH3N.js} +139 -142
- package/dist/{BaseInput-2ca68242.js → BaseInput-DJreiE5M.js} +77 -56
- package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-iosxX2-N.js} +208 -212
- package/dist/{BlockMedia-9fa610ce.js → BlockMedia-DnbdVEZz.js} +6 -8
- package/dist/{CCallout-4c253200.js → CCallout-CgviPbdr.js} +26 -16
- package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CTJ55d4m.js} +51 -50
- package/dist/{CField-823448be.js → CField-FGP7ehRq.js} +75 -58
- package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-8u5dmTPd.js} +5 -7
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js} +6 -8
- package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-hcl0bJxO.js} +11 -13
- package/dist/{ClientModal-c5ee3885.js → ClientModal-B8PkUqY2.js} +25 -32
- package/dist/{ColorPicker-65a47379.js → ColorPicker-6AIHrfJ5.js} +5 -7
- package/dist/{CompanyModal-564e2b35.js → CompanyModal-H4hHfy7Y.js} +28 -30
- package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-CHZtfhFI.js} +25 -43
- package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-etwL5N5l.js} +20 -31
- package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-Udn1ItYd.js} +5 -12
- package/dist/{DocDetails-6522bb1b.js → DocDetails-BQz-is7P.js} +47 -59
- package/dist/{DocForm-983d41f5.js → DocForm-Cvuxr89v.js} +4869 -4944
- package/dist/{DocFormSend-787ce614.js → DocFormSend-Bo6YPSMr.js} +15 -33
- package/dist/DocLinks-DlWyanFQ.js +38 -0
- package/dist/{DocModalBase-60c69c7f.js → DocModalBase-BnuOPozg.js} +8 -10
- package/dist/{DocPrint-78c501ca.js → DocPrint-Uw8zz2tr.js} +6 -10
- package/dist/{DocReceipt-ac44b93f.js → DocReceipt-DsRzRjD8.js} +11 -15
- package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-BEEEh-L9.js} +2 -6
- package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-qeLSQa.js} +2509 -2529
- package/dist/{DocTimeline-35106a94.js → DocTimeline-Bz29bHJu.js} +26 -37
- package/dist/{DocumentClient-eda56a3c.js → DocumentClient-1O7wxh-X.js} +15 -22
- package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BrN5peVY.js} +4510 -4527
- package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-Bbas4MsY.js} +20 -22
- package/dist/DocumentVoided-Dy-pp_ng.js +25 -0
- package/dist/{EmbedInput-8c301d27.js → EmbedInput-bXXwMP4u.js} +9 -12
- package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-BA2THNrd.js} +6 -9
- package/dist/ErrorCallout-Dvy9895L.js +28 -0
- package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-r84Ah3lE.js} +8 -14
- package/dist/{Flag-a6b545e0.js → Flag-CDN9A_59.js} +18 -20
- package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-DoDFhLcR.js} +34 -49
- package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-D6ifkvIw.js} +12 -20
- package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-K0-MmL-L.js} +356 -384
- package/dist/{Index-071b97c8.js → Index-3p6X7Ln-.js} +24 -26
- package/dist/{Index-c049a6e2.js → Index-B26J4tXQ.js} +7 -9
- package/dist/{Index-8f237754.js → Index-B6gB5CD3.js} +6 -8
- package/dist/{Index-b56a2d94.js → Index-B6u3OUGH.js} +20 -23
- package/dist/{Index-ecbffb52.js → Index-BN64idjX.js} +18 -31
- package/dist/{Index-a52df5e2.js → Index-BNGaREiU.js} +14 -21
- package/dist/{Index-4298f3e2.js → Index-BNeg0lcx.js} +13 -15
- package/dist/{Index-56e4127a.js → Index-BQVjSt_5.js} +29 -29
- package/dist/Index-BVNgUe07.js +21 -0
- package/dist/{Index-3f02e8ca.js → Index-Be-J2RvQ.js} +8 -11
- package/dist/{Index-848bb05c.js → Index-Btlub0dK.js} +11 -13
- package/dist/{Index-4f119d80.js → Index-BtzGGZEN.js} +459 -510
- package/dist/{Index-8ea1a895.js → Index-ByCpvqCC.js} +16 -21
- package/dist/{Index-5bf8b9b7.js → Index-CSg7HLqX.js} +8 -10
- package/dist/{Index-54f457ee.js → Index-CUZJomAi.js} +10 -12
- package/dist/{Index-63aea2b8.js → Index-Cj_3udAp.js} +12 -21
- package/dist/{Index-6b66b9ff.js → Index-CnOdi4ux.js} +4 -6
- package/dist/{Index-8e82da74.js → Index-DT9AWIQ2.js} +12 -15
- package/dist/Index-DWHl_jys.js +24 -0
- package/dist/{Index-fe0e805b.js → Index-Di3ibm8r.js} +51 -58
- package/dist/Index-Dk-kPbWy.js +52 -0
- package/dist/Index-Dl87oWQa.js +49 -0
- package/dist/{Index-a3920b7b.js → Index-DnDY3FUU.js} +9 -11
- package/dist/{Index-8ebe3371.js → Index-DoKh3I_O.js} +19 -26
- package/dist/{Index-c349151b.js → Index-DvA5sZ1U.js} +7 -9
- package/dist/{Index-01224b38.js → Index-DwlzPadK.js} +233 -273
- package/dist/{Index-b2de3af8.js → Index-ID37TIgR.js} +2 -4
- package/dist/Index-TPRXPN4a.js +26 -0
- package/dist/{Index-8cfeac73.js → Index-YdyeCcFX.js} +80 -90
- package/dist/{Index-97c18be1.js → Index-b0dDsObZ.js} +5 -9
- package/dist/{Index-caebb616.js → Index-bIYFzizT.js} +4 -6
- package/dist/{Index-4b09d0fa.js → Index-d5iMi4y5.js} +116 -118
- package/dist/{Index-ea1e223d.js → Index-oYQ9EfP9.js} +16 -18
- package/dist/{Index-f1bf6520.js → Index-phsroK51.js} +6 -8
- package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-ClHkgn7s.js} +3 -5
- package/dist/{ManualPopover-d7c2a780.js → ManualPopover-DrhgZvGC.js} +1 -3
- package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-BxNEJOT7.js} +3 -6
- package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BhKMdYBN.js} +5 -7
- package/dist/{PackageGroup-95d99d03.js → PackageGroup--pDNkIMj.js} +35 -59
- package/dist/{PdfTerms-4a6d6067.js → PdfTerms-BL34ex7f.js} +11 -18
- package/dist/{PdfViewer-8d7f2143.js → PdfViewer-CPSINxc8.js} +25 -29
- package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-Dc76U4EV.js} +5 -7
- package/dist/{PriceHeader-f2cb6529.js → PriceHeader-CEGF-DO3.js} +113 -130
- package/dist/SearchApi-D4yY2KZj.js +161 -0
- package/dist/{Setup-74c47337.js → Setup-BJIY_mWN.js} +9 -11
- package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-DM4pvL-n.js} +6 -12
- package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-D7TCU3ap.js} +8 -10
- package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-CSgFUF6o.js} +7 -9
- package/dist/{UploadModal-d2757015.js → UploadModal-Cz7o7DeT.js} +16 -19
- package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-Db0RRtb5.js} +6 -8
- package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-BgbNuWbP.js} +7 -11
- package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-BIKeCzUZ.js} +20 -28
- package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-Bqg9Of1S.js} +5 -5
- package/dist/{debounce-f8aeabc5.js → debounce-DceKdgy2.js} +3 -3
- package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
- package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-Cx41U1xU.js} +1 -1
- package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-CWgaR4yB.js} +1198 -1171
- package/dist/{formDrawerState-b99be3a7.js → formDrawerState-DLCSwrgc.js} +1 -1
- package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-CsLym0iM.js} +2 -2
- package/dist/{index-b2348f09.js → index-0kj8-T7-.js} +39 -44
- package/dist/{index-9d1ade78.js → index-4MqvoLi4.js} +3 -5
- package/dist/{index-96e9db00.js → index-By9c7IPL.js} +41 -59
- package/dist/{index-d35e9363.js → index-C16hoSRM.js} +5 -3
- package/dist/{index-c9186403.js → index-C6C4uskP.js} +14 -16
- package/dist/{IsPremiumPreStep-27645ee9.js → index-Cp7dG8Zm.js} +531 -566
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1019 -1028
- package/dist/{main-b9ea9725.js → main-DBw231uy.js} +21733 -21943
- package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-BrtcYsT9.js} +1 -2
- package/dist/{vuedraggable.umd-1b113186.js → omit-DQqb9hkZ.js} +143 -133
- package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-BysO0Mzz.js} +1 -1
- package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
- package/dist/style.css +2 -2
- package/dist/{throttle-53a6c735.js → throttle-DKrISvLg.js} +2 -2
- package/dist/{tinycolor-071e269c.js → tinycolor-Be3bF6zy.js} +6 -6
- package/dist/{tippy.esm-1b89bf69.js → tippy.esm-yjYH8SnL.js} +226 -232
- package/dist/{utils-44a35f52.js → utils-DP30AdJH.js} +1 -1
- package/package.json +2 -2
- package/dist/DocLinks-d6b1b080.js +0 -41
- package/dist/DocumentVoided-fe1bd505.js +0 -27
- package/dist/ErrorCallout-87033b39.js +0 -30
- package/dist/Index-6bfbbbd2.js +0 -61
- package/dist/Index-6c21af02.js +0 -28
- package/dist/Index-cbd0f3f6.js +0 -23
- package/dist/Index-f006e9fe.js +0 -26
- package/dist/Index-fc0516f6.js +0 -54
- package/dist/SearchApi-2a59cdc7.js +0 -167
- package/dist/index-3671e1b7.js +0 -14
- package/dist/index-805c56e4.js +0 -4
- /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
- /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
- /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
- /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
- /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var pn = rn;
|
|
3
|
-
function gn(o) {
|
|
4
|
-
return pn(o) ? void 0 : o;
|
|
5
|
-
}
|
|
6
|
-
var vn = gn, mn = an, bn = fn, yn = sn, xn = cn, Sn = ln, En = vn, On = on, Dn = un, Tn = 1, Cn = 2, wn = 4, In = On(function(o, n) {
|
|
7
|
-
var r = {};
|
|
8
|
-
if (o == null)
|
|
9
|
-
return r;
|
|
10
|
-
var t = !1;
|
|
11
|
-
n = mn(n, function(e) {
|
|
12
|
-
return e = xn(e, o), t || (t = e.length > 1), e;
|
|
13
|
-
}), Sn(o, Dn(o), r), t && (r = bn(r, Tn | Cn | wn, En));
|
|
14
|
-
for (var a = n.length; a--; )
|
|
15
|
-
yn(r, n[a]);
|
|
16
|
-
return r;
|
|
17
|
-
}), An = In;
|
|
18
|
-
const dr = /* @__PURE__ */ We(An);
|
|
1
|
+
import { a7 as rn, Y as on, k as We, a8 as an, a9 as sn, aa as ln, ab as un, ac as fn, ad as cn, ae as dn, af as hn, ag as pn, ah as gn } from "./main-DBw231uy.js";
|
|
19
2
|
var Ye = { exports: {} };
|
|
20
3
|
/**!
|
|
21
4
|
* Sortable 1.10.2
|
|
@@ -30,7 +13,7 @@ function ee(o) {
|
|
|
30
13
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
31
14
|
}, ee(o);
|
|
32
15
|
}
|
|
33
|
-
function
|
|
16
|
+
function vn(o, n, r) {
|
|
34
17
|
return n in o ? Object.defineProperty(o, n, {
|
|
35
18
|
value: r,
|
|
36
19
|
enumerable: !0,
|
|
@@ -54,12 +37,12 @@ function Ct(o) {
|
|
|
54
37
|
typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(r).filter(function(a) {
|
|
55
38
|
return Object.getOwnPropertyDescriptor(r, a).enumerable;
|
|
56
39
|
}))), t.forEach(function(a) {
|
|
57
|
-
|
|
40
|
+
vn(o, a, r[a]);
|
|
58
41
|
});
|
|
59
42
|
}
|
|
60
43
|
return o;
|
|
61
44
|
}
|
|
62
|
-
function
|
|
45
|
+
function mn(o, n) {
|
|
63
46
|
if (o == null)
|
|
64
47
|
return {};
|
|
65
48
|
var r = {}, t = Object.keys(o), a, e;
|
|
@@ -67,10 +50,10 @@ function Mn(o, n) {
|
|
|
67
50
|
a = t[e], !(n.indexOf(a) >= 0) && (r[a] = o[a]);
|
|
68
51
|
return r;
|
|
69
52
|
}
|
|
70
|
-
function
|
|
53
|
+
function bn(o, n) {
|
|
71
54
|
if (o == null)
|
|
72
55
|
return {};
|
|
73
|
-
var r =
|
|
56
|
+
var r = mn(o, n), t, a;
|
|
74
57
|
if (Object.getOwnPropertySymbols) {
|
|
75
58
|
var e = Object.getOwnPropertySymbols(o);
|
|
76
59
|
for (a = 0; a < e.length; a++)
|
|
@@ -78,29 +61,29 @@ function Nn(o, n) {
|
|
|
78
61
|
}
|
|
79
62
|
return r;
|
|
80
63
|
}
|
|
81
|
-
function
|
|
82
|
-
return
|
|
64
|
+
function yn(o) {
|
|
65
|
+
return xn(o) || Sn(o) || En();
|
|
83
66
|
}
|
|
84
|
-
function
|
|
67
|
+
function xn(o) {
|
|
85
68
|
if (Array.isArray(o)) {
|
|
86
69
|
for (var n = 0, r = new Array(o.length); n < o.length; n++)
|
|
87
70
|
r[n] = o[n];
|
|
88
71
|
return r;
|
|
89
72
|
}
|
|
90
73
|
}
|
|
91
|
-
function
|
|
74
|
+
function Sn(o) {
|
|
92
75
|
if (Symbol.iterator in Object(o) || Object.prototype.toString.call(o) === "[object Arguments]")
|
|
93
76
|
return Array.from(o);
|
|
94
77
|
}
|
|
95
|
-
function
|
|
78
|
+
function En() {
|
|
96
79
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
97
80
|
}
|
|
98
|
-
var
|
|
81
|
+
var On = "1.10.2";
|
|
99
82
|
function St(o) {
|
|
100
83
|
if (typeof window < "u" && window.navigator)
|
|
101
84
|
return !!/* @__PURE__ */ navigator.userAgent.match(o);
|
|
102
85
|
}
|
|
103
|
-
var Et = St(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Kt = St(/Edge/i), je = St(/firefox/i), De = St(/safari/i) && !St(/chrome/i) && !St(/android/i), Ve = St(/iP(ad|od|hone)/i),
|
|
86
|
+
var Et = St(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Kt = St(/Edge/i), je = St(/firefox/i), De = St(/safari/i) && !St(/chrome/i) && !St(/android/i), Ve = St(/iP(ad|od|hone)/i), Dn = St(/chrome/i) && St(/android/i), ze = {
|
|
104
87
|
capture: !1,
|
|
105
88
|
passive: !1
|
|
106
89
|
};
|
|
@@ -126,7 +109,7 @@ function ae(o, n) {
|
|
|
126
109
|
return !1;
|
|
127
110
|
}
|
|
128
111
|
}
|
|
129
|
-
function
|
|
112
|
+
function Tn(o) {
|
|
130
113
|
return o.host && o !== document && o.host.nodeType ? o.host : o.parentNode;
|
|
131
114
|
}
|
|
132
115
|
function bt(o, n, r, t) {
|
|
@@ -137,7 +120,7 @@ function bt(o, n, r, t) {
|
|
|
137
120
|
return o;
|
|
138
121
|
if (o === r)
|
|
139
122
|
break;
|
|
140
|
-
} while (o =
|
|
123
|
+
} while (o = Tn(o));
|
|
141
124
|
}
|
|
142
125
|
return null;
|
|
143
126
|
}
|
|
@@ -213,7 +196,7 @@ function k(o, n, r, t, a) {
|
|
|
213
196
|
function Re(o, n, r) {
|
|
214
197
|
for (var t = Tt(o, !0), a = k(o)[n]; t; ) {
|
|
215
198
|
var e = k(t)[r], i = void 0;
|
|
216
|
-
if (
|
|
199
|
+
if (i = a >= e, !i)
|
|
217
200
|
return t;
|
|
218
201
|
if (t === xt())
|
|
219
202
|
break;
|
|
@@ -254,7 +237,7 @@ function Fe(o) {
|
|
|
254
237
|
} while (o !== t && (o = o.parentNode));
|
|
255
238
|
return [n, r];
|
|
256
239
|
}
|
|
257
|
-
function
|
|
240
|
+
function Cn(o, n) {
|
|
258
241
|
for (var r in o)
|
|
259
242
|
if (o.hasOwnProperty(r)) {
|
|
260
243
|
for (var t in n)
|
|
@@ -281,7 +264,7 @@ function Tt(o, n) {
|
|
|
281
264
|
while (r = r.parentNode);
|
|
282
265
|
return xt();
|
|
283
266
|
}
|
|
284
|
-
function
|
|
267
|
+
function wn(o, n) {
|
|
285
268
|
if (o && n)
|
|
286
269
|
for (var r in n)
|
|
287
270
|
n.hasOwnProperty(r) && (o[r] = n[r]);
|
|
@@ -291,7 +274,7 @@ function he(o, n) {
|
|
|
291
274
|
return Math.round(o.top) === Math.round(n.top) && Math.round(o.left) === Math.round(n.left) && Math.round(o.height) === Math.round(n.height) && Math.round(o.width) === Math.round(n.width);
|
|
292
275
|
}
|
|
293
276
|
var Wt;
|
|
294
|
-
function
|
|
277
|
+
function Je(o, n) {
|
|
295
278
|
return function() {
|
|
296
279
|
if (!Wt) {
|
|
297
280
|
var r = arguments, t = this;
|
|
@@ -301,10 +284,10 @@ function Ze(o, n) {
|
|
|
301
284
|
}
|
|
302
285
|
};
|
|
303
286
|
}
|
|
304
|
-
function
|
|
287
|
+
function In() {
|
|
305
288
|
clearTimeout(Wt), Wt = void 0;
|
|
306
289
|
}
|
|
307
|
-
function
|
|
290
|
+
function Ze(o, n, r) {
|
|
308
291
|
o.scrollLeft += n, o.scrollTop += r;
|
|
309
292
|
}
|
|
310
293
|
function Pe(o) {
|
|
@@ -318,7 +301,7 @@ function pe(o) {
|
|
|
318
301
|
S(o, "position", ""), S(o, "top", ""), S(o, "left", ""), S(o, "width", ""), S(o, "height", "");
|
|
319
302
|
}
|
|
320
303
|
var st = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
321
|
-
function
|
|
304
|
+
function An() {
|
|
322
305
|
var o = [], n;
|
|
323
306
|
return {
|
|
324
307
|
captureAnimationState: function() {
|
|
@@ -344,7 +327,7 @@ function Wn() {
|
|
|
344
327
|
o.push(t);
|
|
345
328
|
},
|
|
346
329
|
removeAnimationState: function(t) {
|
|
347
|
-
o.splice(
|
|
330
|
+
o.splice(Cn(o, {
|
|
348
331
|
target: t
|
|
349
332
|
}), 1);
|
|
350
333
|
},
|
|
@@ -358,7 +341,7 @@ function Wn() {
|
|
|
358
341
|
o.forEach(function(s) {
|
|
359
342
|
var l = 0, u = s.target, f = u.fromRect, c = k(u), d = u.prevFromRect, b = u.prevToRect, g = s.rect, p = Pt(u, !0);
|
|
360
343
|
p && (c.top -= p.f, c.left -= p.e), u.toRect = c, u.thisAnimationDuration && he(d, c) && !he(f, c) && // Make sure animatingRect is on line between toRect & fromRect
|
|
361
|
-
(g.top - c.top) / (g.left - c.left) === (f.top - c.top) / (f.left - c.left) && (l =
|
|
344
|
+
(g.top - c.top) / (g.left - c.left) === (f.top - c.top) / (f.left - c.left) && (l = Mn(g, d, b, a.options)), he(c, f) || (u.prevFromRect = f, u.prevToRect = c, l || (l = a.options.animation), a.animate(u, g, c, l)), l && (e = !0, i = Math.max(i, l), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
362
345
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
363
346
|
}, l), u.thisAnimationDuration = l);
|
|
364
347
|
}), clearTimeout(n), e ? n = setTimeout(function() {
|
|
@@ -369,22 +352,22 @@ function Wn() {
|
|
|
369
352
|
if (i) {
|
|
370
353
|
S(t, "transition", ""), S(t, "transform", "");
|
|
371
354
|
var s = Pt(this.el), l = s && s.a, u = s && s.d, f = (a.left - e.left) / (l || 1), c = (a.top - e.top) / (u || 1);
|
|
372
|
-
t.animatingX = !!f, t.animatingY = !!c, S(t, "transform", "translate3d(" + f + "px," + c + "px,0)"),
|
|
355
|
+
t.animatingX = !!f, t.animatingY = !!c, S(t, "transform", "translate3d(" + f + "px," + c + "px,0)"), Pn(t), S(t, "transition", "transform " + i + "ms" + (this.options.easing ? " " + this.options.easing : "")), S(t, "transform", "translate3d(0,0,0)"), typeof t.animated == "number" && clearTimeout(t.animated), t.animated = setTimeout(function() {
|
|
373
356
|
S(t, "transition", ""), S(t, "transform", ""), t.animated = !1, t.animatingX = !1, t.animatingY = !1;
|
|
374
357
|
}, i);
|
|
375
358
|
}
|
|
376
359
|
}
|
|
377
360
|
};
|
|
378
361
|
}
|
|
379
|
-
function
|
|
362
|
+
function Pn(o) {
|
|
380
363
|
return o.offsetWidth;
|
|
381
364
|
}
|
|
382
|
-
function
|
|
365
|
+
function Mn(o, n, r, t) {
|
|
383
366
|
return Math.sqrt(Math.pow(n.top - o.top, 2) + Math.pow(n.left - o.left, 2)) / Math.sqrt(Math.pow(n.top - r.top, 2) + Math.pow(n.left - r.left, 2)) * t.animation;
|
|
384
367
|
}
|
|
385
368
|
var Rt = [], ge = {
|
|
386
369
|
initializeByDefault: !0
|
|
387
|
-
},
|
|
370
|
+
}, Jt = {
|
|
388
371
|
mount: function(n) {
|
|
389
372
|
for (var r in ge)
|
|
390
373
|
ge.hasOwnProperty(r) && !(r in n) && (n[r] = ge[r]);
|
|
@@ -439,22 +422,22 @@ function Bt(o) {
|
|
|
439
422
|
bubbles: !0,
|
|
440
423
|
cancelable: !0
|
|
441
424
|
}) : (p = document.createEvent("Event"), p.initEvent(t, !0, !0)), p.to = i || r, p.from = s || r, p.item = a || r, p.clone = e, p.oldIndex = l, p.newIndex = u, p.oldDraggableIndex = f, p.newDraggableIndex = c, p.originalEvent = d, p.pullMode = b ? b.lastPutMode : void 0;
|
|
442
|
-
var C = Ct({}, g,
|
|
425
|
+
var C = Ct({}, g, Jt.getEventProperties(t, n));
|
|
443
426
|
for (var D in C)
|
|
444
427
|
p[D] = C[D];
|
|
445
428
|
r && r.dispatchEvent(p), y[T] && y[T].call(n, p);
|
|
446
429
|
}
|
|
447
430
|
}
|
|
448
431
|
var ut = function(n, r) {
|
|
449
|
-
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = t.evt, e =
|
|
450
|
-
|
|
432
|
+
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = t.evt, e = bn(t, ["evt"]);
|
|
433
|
+
Jt.pluginEvent.bind(w)(n, r, Ct({
|
|
451
434
|
dragEl: x,
|
|
452
435
|
parentEl: et,
|
|
453
436
|
ghostEl: N,
|
|
454
437
|
rootEl: z,
|
|
455
438
|
nextEl: At,
|
|
456
439
|
lastDownEl: ne,
|
|
457
|
-
cloneEl:
|
|
440
|
+
cloneEl: Z,
|
|
458
441
|
cloneHidden: Dt,
|
|
459
442
|
dragStarted: Ht,
|
|
460
443
|
putSortable: ot,
|
|
@@ -484,7 +467,7 @@ var ut = function(n, r) {
|
|
|
484
467
|
function lt(o) {
|
|
485
468
|
Bt(Ct({
|
|
486
469
|
putSortable: ot,
|
|
487
|
-
cloneEl:
|
|
470
|
+
cloneEl: Z,
|
|
488
471
|
targetEl: x,
|
|
489
472
|
rootEl: z,
|
|
490
473
|
oldIndex: Lt,
|
|
@@ -493,7 +476,7 @@ function lt(o) {
|
|
|
493
476
|
newDraggableIndex: Ot
|
|
494
477
|
}, o));
|
|
495
478
|
}
|
|
496
|
-
var x, et, N, z, At, ne,
|
|
479
|
+
var x, et, N, z, At, ne, Z, Dt, Lt, ht, Yt, Ot, Qt, ot, jt = !1, le = !1, ue = [], wt, vt, ve, me, Ge, Be, Ht, Mt, Vt, zt = !1, kt = !1, re, at, be = [], Te = !1, fe = [], de = typeof document < "u", qt = Ve, He = Kt || Et ? "cssFloat" : "float", Nn = de && !Dn && !Ve && "draggable" in document.createElement("div"), Qe = function() {
|
|
497
480
|
if (de) {
|
|
498
481
|
if (Et)
|
|
499
482
|
return !1;
|
|
@@ -511,10 +494,10 @@ var x, et, N, z, At, ne, J, Dt, Lt, ht, Yt, Ot, Qt, ot, jt = !1, le = !1, ue = [
|
|
|
511
494
|
return i && (l.clear === "both" || l.clear === c) ? "vertical" : "horizontal";
|
|
512
495
|
}
|
|
513
496
|
return e && (s.display === "block" || s.display === "flex" || s.display === "table" || s.display === "grid" || u >= a && t[He] === "none" || i && t[He] === "none" && u + f > a) ? "vertical" : "horizontal";
|
|
514
|
-
},
|
|
497
|
+
}, jn = function(n, r, t) {
|
|
515
498
|
var a = t ? n.left : n.top, e = t ? n.right : n.bottom, i = t ? n.width : n.height, s = t ? r.left : r.top, l = t ? r.right : r.bottom, u = t ? r.width : r.height;
|
|
516
499
|
return a === s || e === l || a + i / 2 === s + u / 2;
|
|
517
|
-
},
|
|
500
|
+
}, Ln = function(n, r) {
|
|
518
501
|
var t;
|
|
519
502
|
return ue.some(function(a) {
|
|
520
503
|
if (!Ae(a)) {
|
|
@@ -555,7 +538,7 @@ de && document.addEventListener("click", function(o) {
|
|
|
555
538
|
var It = function(n) {
|
|
556
539
|
if (x) {
|
|
557
540
|
n = n.touches ? n.touches[0] : n;
|
|
558
|
-
var r =
|
|
541
|
+
var r = Ln(n.clientX, n.clientY);
|
|
559
542
|
if (r) {
|
|
560
543
|
var t = {};
|
|
561
544
|
for (var a in n)
|
|
@@ -563,7 +546,7 @@ var It = function(n) {
|
|
|
563
546
|
t.target = t.rootEl = r, t.preventDefault = void 0, t.stopPropagation = void 0, r[st]._onDragOver(t);
|
|
564
547
|
}
|
|
565
548
|
}
|
|
566
|
-
},
|
|
549
|
+
}, Rn = function(n) {
|
|
567
550
|
x && x.parentNode[st]._isOutsideThisEl(n.target);
|
|
568
551
|
};
|
|
569
552
|
function w(o, n) {
|
|
@@ -615,13 +598,13 @@ function w(o, n) {
|
|
|
615
598
|
supportPointer: w.supportPointer !== !1 && "PointerEvent" in window,
|
|
616
599
|
emptyInsertThreshold: 5
|
|
617
600
|
};
|
|
618
|
-
|
|
601
|
+
Jt.initializePlugins(this, o, r);
|
|
619
602
|
for (var t in r)
|
|
620
603
|
!(t in n) && (n[t] = r[t]);
|
|
621
604
|
qe(n);
|
|
622
605
|
for (var a in this)
|
|
623
606
|
a.charAt(0) === "_" && typeof this[a] == "function" && (this[a] = this[a].bind(this));
|
|
624
|
-
this.nativeDraggable = n.forceFallback ? !1 :
|
|
607
|
+
this.nativeDraggable = n.forceFallback ? !1 : Nn, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? $(o, "pointerdown", this._onTapStart) : ($(o, "mousedown", this._onTapStart), $(o, "touchstart", this._onTapStart)), this.nativeDraggable && ($(o, "dragover", this), $(o, "dragenter", this)), ue.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), gt(this, An());
|
|
625
608
|
}
|
|
626
609
|
w.prototype = /** @lends Sortable.prototype */
|
|
627
610
|
{
|
|
@@ -635,7 +618,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
635
618
|
_onTapStart: function(n) {
|
|
636
619
|
if (n.cancelable) {
|
|
637
620
|
var r = this, t = this.el, a = this.options, e = a.preventOnFilter, i = n.type, s = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, l = (s || n).target, u = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || l, f = a.filter;
|
|
638
|
-
if (
|
|
621
|
+
if (Xn(t), !x && !(/mousedown|pointerdown/.test(i) && n.button !== 0 || a.disabled) && !u.isContentEditable && (l = bt(l, a.draggable, t, !1), !(l && l.animated) && ne !== l)) {
|
|
639
622
|
if (Lt = Q(l), Yt = Q(l, a.draggable), typeof f == "function") {
|
|
640
623
|
if (f.call(this, n, l, this)) {
|
|
641
624
|
lt({
|
|
@@ -728,7 +711,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
728
711
|
if (jt = !1, z && x) {
|
|
729
712
|
ut("dragStarted", this, {
|
|
730
713
|
evt: r
|
|
731
|
-
}), this.nativeDraggable && $(document, "dragover",
|
|
714
|
+
}), this.nativeDraggable && $(document, "dragover", Rn);
|
|
732
715
|
var t = this.options;
|
|
733
716
|
!n && K(x, t.dragClass, !1), K(x, t.ghostClass, !0), w.active = this, n && this._appendGhost(), lt({
|
|
734
717
|
sortable: this,
|
|
@@ -802,8 +785,8 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
802
785
|
this._onDrop();
|
|
803
786
|
return;
|
|
804
787
|
}
|
|
805
|
-
ut("setupClone", this), w.eventCanceled || (
|
|
806
|
-
ut("clone", t), !w.eventCanceled && (t.options.removeCloneOnHide || z.insertBefore(
|
|
788
|
+
ut("setupClone", this), w.eventCanceled || (Z = Pe(x), Z.draggable = !1, Z.style["will-change"] = "", this._hideClone(), K(Z, this.options.chosenClass, !1), w.clone = Z), t.cloneId = oe(function() {
|
|
789
|
+
ut("clone", t), !w.eventCanceled && (t.options.removeCloneOnHide || z.insertBefore(Z, x), t._hideClone(), lt({
|
|
807
790
|
sortable: t,
|
|
808
791
|
name: "clone"
|
|
809
792
|
}));
|
|
@@ -862,30 +845,30 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
862
845
|
if (i)
|
|
863
846
|
return et = z, T(), this._hideClone(), y("revert"), w.eventCanceled || (At ? z.insertBefore(x, At) : z.appendChild(x)), C(!0);
|
|
864
847
|
var O = Ae(r, s.draggable);
|
|
865
|
-
if (!O ||
|
|
848
|
+
if (!O || Gn(n, b, this) && !O.animated) {
|
|
866
849
|
if (O === x)
|
|
867
850
|
return C(!1);
|
|
868
851
|
if (O && r === n.target && (t = O), t && (e = k(t)), ye(z, r, x, a, t, e, n, !!t) !== !1)
|
|
869
852
|
return T(), r.appendChild(x), et = r, D(), C(!0);
|
|
870
853
|
} else if (t.parentNode === r) {
|
|
871
854
|
e = k(t);
|
|
872
|
-
var F = 0, B, H = x.parentNode !== r, A = !
|
|
873
|
-
Mt !== t && (B = e[M], zt = !1, kt = !A && s.invertSwap || H), F =
|
|
874
|
-
var
|
|
855
|
+
var F = 0, B, H = x.parentNode !== r, A = !jn(x.animated && x.toRect || a, t.animated && t.toRect || e, b), M = b ? "top" : "left", I = Re(t, "top", "top") || Re(x, "top", "top"), G = I ? I.scrollTop : void 0;
|
|
856
|
+
Mt !== t && (B = e[M], zt = !1, kt = !A && s.invertSwap || H), F = Bn(n, t, e, b, A ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, kt, Mt === t);
|
|
857
|
+
var J;
|
|
875
858
|
if (F !== 0) {
|
|
876
859
|
var tt = Q(x);
|
|
877
860
|
do
|
|
878
|
-
tt -= F,
|
|
879
|
-
while (
|
|
861
|
+
tt -= F, J = et.children[tt];
|
|
862
|
+
while (J && (S(J, "display") === "none" || J === N));
|
|
880
863
|
}
|
|
881
|
-
if (F === 0 ||
|
|
864
|
+
if (F === 0 || J === t)
|
|
882
865
|
return C(!1);
|
|
883
866
|
Mt = t, Vt = F;
|
|
884
867
|
var q = t.nextElementSibling, W = !1;
|
|
885
868
|
W = F === 1;
|
|
886
869
|
var U = ye(z, r, x, a, t, e, n, W);
|
|
887
870
|
if (U !== !1)
|
|
888
|
-
return (U === 1 || U === -1) && (W = U === 1), Te = !0, setTimeout(
|
|
871
|
+
return (U === 1 || U === -1) && (W = U === 1), Te = !0, setTimeout($n, 30), T(), W && !q ? r.appendChild(x) : t.parentNode.insertBefore(x, W ? q : t), I && Ze(I, 0, G - I.scrollTop), et = x.parentNode, B !== void 0 && !kt && (re = Math.abs(B - k(t)[M])), D(), C(!0);
|
|
889
872
|
}
|
|
890
873
|
if (r.contains(x))
|
|
891
874
|
return C(!1);
|
|
@@ -908,7 +891,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
908
891
|
this._nulling();
|
|
909
892
|
return;
|
|
910
893
|
}
|
|
911
|
-
jt = !1, kt = !1, zt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ce(this.cloneId), Ce(this._dragStartId), this.nativeDraggable && (R(document, "drop", this), R(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), De && S(document.body, "user-select", ""), S(x, "transform", ""), n && (Ht && (n.cancelable && n.preventDefault(), !t.dropBubble && n.stopPropagation()), N && N.parentNode && N.parentNode.removeChild(N), (z === et || ot && ot.lastPutMode !== "clone") &&
|
|
894
|
+
jt = !1, kt = !1, zt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ce(this.cloneId), Ce(this._dragStartId), this.nativeDraggable && (R(document, "drop", this), R(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), De && S(document.body, "user-select", ""), S(x, "transform", ""), n && (Ht && (n.cancelable && n.preventDefault(), !t.dropBubble && n.stopPropagation()), N && N.parentNode && N.parentNode.removeChild(N), (z === et || ot && ot.lastPutMode !== "clone") && Z && Z.parentNode && Z.parentNode.removeChild(Z), x && (this.nativeDraggable && R(x, "dragend", this), xe(x), x.style["will-change"] = "", Ht && !jt && K(x, ot ? ot.options.ghostClass : this.options.ghostClass, !1), K(x, this.options.chosenClass, !1), lt({
|
|
912
895
|
sortable: this,
|
|
913
896
|
name: "unchoose",
|
|
914
897
|
toEl: et,
|
|
@@ -955,7 +938,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
955
938
|
}), this.save()))), this._nulling();
|
|
956
939
|
},
|
|
957
940
|
_nulling: function() {
|
|
958
|
-
ut("nulling", this), z = x = et = N = At =
|
|
941
|
+
ut("nulling", this), z = x = et = N = At = Z = ne = Dt = wt = vt = Ht = ht = Ot = Lt = Yt = Mt = Vt = ot = Qt = w.dragged = w.ghost = w.clone = w.active = null, fe.forEach(function(n) {
|
|
959
942
|
n.checked = !0;
|
|
960
943
|
}), fe.length = ve = me = 0;
|
|
961
944
|
},
|
|
@@ -967,7 +950,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
967
950
|
break;
|
|
968
951
|
case "dragenter":
|
|
969
952
|
case "dragover":
|
|
970
|
-
x && (this._onDragOver(n),
|
|
953
|
+
x && (this._onDragOver(n), Fn(n));
|
|
971
954
|
break;
|
|
972
955
|
case "selectstart":
|
|
973
956
|
n.preventDefault();
|
|
@@ -980,7 +963,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
980
963
|
*/
|
|
981
964
|
toArray: function() {
|
|
982
965
|
for (var n = [], r, t = this.el.children, a = 0, e = t.length, i = this.options; a < e; a++)
|
|
983
|
-
r = t[a], bt(r, i.draggable, this.el, !1) && n.push(r.getAttribute(i.dataIdAttr) ||
|
|
966
|
+
r = t[a], bt(r, i.draggable, this.el, !1) && n.push(r.getAttribute(i.dataIdAttr) || Un(r));
|
|
984
967
|
return n;
|
|
985
968
|
},
|
|
986
969
|
/**
|
|
@@ -1022,7 +1005,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
1022
1005
|
var t = this.options;
|
|
1023
1006
|
if (r === void 0)
|
|
1024
1007
|
return t[n];
|
|
1025
|
-
var a =
|
|
1008
|
+
var a = Jt.modifyOption(this, n, r);
|
|
1026
1009
|
typeof a < "u" ? t[n] = a : t[n] = r, n === "group" && qe(t);
|
|
1027
1010
|
},
|
|
1028
1011
|
/**
|
|
@@ -1039,7 +1022,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
1039
1022
|
if (!Dt) {
|
|
1040
1023
|
if (ut("hideClone", this), w.eventCanceled)
|
|
1041
1024
|
return;
|
|
1042
|
-
S(
|
|
1025
|
+
S(Z, "display", "none"), this.options.removeCloneOnHide && Z.parentNode && Z.parentNode.removeChild(Z), Dt = !0;
|
|
1043
1026
|
}
|
|
1044
1027
|
},
|
|
1045
1028
|
_showClone: function(n) {
|
|
@@ -1050,11 +1033,11 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
1050
1033
|
if (Dt) {
|
|
1051
1034
|
if (ut("showClone", this), w.eventCanceled)
|
|
1052
1035
|
return;
|
|
1053
|
-
z.contains(x) && !this.options.group.revertClone ? z.insertBefore(
|
|
1036
|
+
z.contains(x) && !this.options.group.revertClone ? z.insertBefore(Z, x) : At ? z.insertBefore(Z, At) : z.appendChild(Z), this.options.group.revertClone && this.animate(x, Z), S(Z, "display", ""), Dt = !1;
|
|
1054
1037
|
}
|
|
1055
1038
|
}
|
|
1056
1039
|
};
|
|
1057
|
-
function
|
|
1040
|
+
function Fn(o) {
|
|
1058
1041
|
o.dataTransfer && (o.dataTransfer.dropEffect = "move"), o.cancelable && o.preventDefault();
|
|
1059
1042
|
}
|
|
1060
1043
|
function ye(o, n, r, t, a, e, i, s) {
|
|
@@ -1067,14 +1050,14 @@ function ye(o, n, r, t, a, e, i, s) {
|
|
|
1067
1050
|
function xe(o) {
|
|
1068
1051
|
o.draggable = !1;
|
|
1069
1052
|
}
|
|
1070
|
-
function
|
|
1053
|
+
function $n() {
|
|
1071
1054
|
Te = !1;
|
|
1072
1055
|
}
|
|
1073
|
-
function
|
|
1056
|
+
function Gn(o, n, r) {
|
|
1074
1057
|
var t = k(Ae(r.el, r.options.draggable)), a = 10;
|
|
1075
1058
|
return n ? o.clientX > t.right + a || o.clientX <= t.right && o.clientY > t.bottom && o.clientX >= t.left : o.clientX > t.right && o.clientY > t.top || o.clientX <= t.right && o.clientY > t.bottom + a;
|
|
1076
1059
|
}
|
|
1077
|
-
function
|
|
1060
|
+
function Bn(o, n, r, t, a, e, i, s) {
|
|
1078
1061
|
var l = t ? o.clientY : o.clientX, u = t ? r.height : r.width, f = t ? r.top : r.left, c = t ? r.bottom : r.right, d = !1;
|
|
1079
1062
|
if (!i) {
|
|
1080
1063
|
if (s && re < u * a) {
|
|
@@ -1083,19 +1066,19 @@ function _n(o, n, r, t, a, e, i, s) {
|
|
|
1083
1066
|
else if (Vt === 1 ? l < f + re : l > c - re)
|
|
1084
1067
|
return -Vt;
|
|
1085
1068
|
} else if (l > f + u * (1 - a) / 2 && l < c - u * (1 - a) / 2)
|
|
1086
|
-
return
|
|
1069
|
+
return Hn(n);
|
|
1087
1070
|
}
|
|
1088
1071
|
return d = d || i, d && (l < f + u * e / 2 || l > c - u * e / 2) ? l > f + u / 2 ? 1 : -1 : 0;
|
|
1089
1072
|
}
|
|
1090
|
-
function
|
|
1073
|
+
function Hn(o) {
|
|
1091
1074
|
return Q(x) < Q(o) ? 1 : -1;
|
|
1092
1075
|
}
|
|
1093
|
-
function
|
|
1076
|
+
function Un(o) {
|
|
1094
1077
|
for (var n = o.tagName + o.className + o.src + o.href + o.textContent, r = n.length, t = 0; r--; )
|
|
1095
1078
|
t += n.charCodeAt(r);
|
|
1096
1079
|
return t.toString(36);
|
|
1097
1080
|
}
|
|
1098
|
-
function
|
|
1081
|
+
function Xn(o) {
|
|
1099
1082
|
fe.length = 0;
|
|
1100
1083
|
for (var n = o.getElementsByTagName("input"), r = n.length; r--; ) {
|
|
1101
1084
|
var t = n[r];
|
|
@@ -1119,8 +1102,8 @@ w.utils = {
|
|
|
1119
1102
|
is: function(n, r) {
|
|
1120
1103
|
return !!bt(n, r, n, !1);
|
|
1121
1104
|
},
|
|
1122
|
-
extend:
|
|
1123
|
-
throttle:
|
|
1105
|
+
extend: wn,
|
|
1106
|
+
throttle: Je,
|
|
1124
1107
|
closest: bt,
|
|
1125
1108
|
toggleClass: K,
|
|
1126
1109
|
clone: Pe,
|
|
@@ -1139,15 +1122,15 @@ w.mount = function() {
|
|
|
1139
1122
|
n[0].constructor === Array && (n = n[0]), n.forEach(function(t) {
|
|
1140
1123
|
if (!t.prototype || !t.prototype.constructor)
|
|
1141
1124
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));
|
|
1142
|
-
t.utils && (w.utils = Ct({}, w.utils, t.utils)),
|
|
1125
|
+
t.utils && (w.utils = Ct({}, w.utils, t.utils)), Jt.mount(t);
|
|
1143
1126
|
});
|
|
1144
1127
|
};
|
|
1145
1128
|
w.create = function(o, n) {
|
|
1146
1129
|
return new w(o, n);
|
|
1147
1130
|
};
|
|
1148
|
-
w.version =
|
|
1131
|
+
w.version = On;
|
|
1149
1132
|
var nt = [], Ut, we, Ie = !1, Se, Ee, ce, Xt;
|
|
1150
|
-
function
|
|
1133
|
+
function Wn() {
|
|
1151
1134
|
function o() {
|
|
1152
1135
|
this.defaults = {
|
|
1153
1136
|
scroll: !0,
|
|
@@ -1168,7 +1151,7 @@ function rr() {
|
|
|
1168
1151
|
!this.options.dragOverBubble && !t.rootEl && this._handleAutoScroll(t);
|
|
1169
1152
|
},
|
|
1170
1153
|
drop: function() {
|
|
1171
|
-
this.sortable.nativeDraggable ? R(document, "dragover", this._handleAutoScroll) : (R(document, "pointermove", this._handleFallbackAutoScroll), R(document, "touchmove", this._handleFallbackAutoScroll), R(document, "mousemove", this._handleFallbackAutoScroll)), Ue(), ie(),
|
|
1154
|
+
this.sortable.nativeDraggable ? R(document, "dragover", this._handleAutoScroll) : (R(document, "pointermove", this._handleFallbackAutoScroll), R(document, "touchmove", this._handleFallbackAutoScroll), R(document, "mousemove", this._handleFallbackAutoScroll)), Ue(), ie(), In();
|
|
1172
1155
|
},
|
|
1173
1156
|
nulling: function() {
|
|
1174
1157
|
ce = we = Ut = Ie = Xt = Se = Ee = null, nt.length = 0;
|
|
@@ -1206,7 +1189,7 @@ function ie() {
|
|
|
1206
1189
|
function Ue() {
|
|
1207
1190
|
clearInterval(Xt);
|
|
1208
1191
|
}
|
|
1209
|
-
var Oe =
|
|
1192
|
+
var Oe = Je(function(o, n, r, t) {
|
|
1210
1193
|
if (n.scroll) {
|
|
1211
1194
|
var a = (o.touches ? o.touches[0] : o).clientX, e = (o.touches ? o.touches[0] : o).clientY, i = n.scrollSensitivity, s = n.scrollSpeed, l = xt(), u = !1, f;
|
|
1212
1195
|
we !== r && (we = r, ie(), Ut = n.scroll, f = n.scrollFn, Ut === !0 && (Ut = Tt(r, !0)));
|
|
@@ -1214,15 +1197,15 @@ var Oe = Ze(function(o, n, r, t) {
|
|
|
1214
1197
|
do {
|
|
1215
1198
|
var b = d, g = k(b), p = g.top, y = g.bottom, T = g.left, C = g.right, D = g.width, O = g.height, F = void 0, B = void 0, H = b.scrollWidth, A = b.scrollHeight, M = S(b), I = b.scrollLeft, G = b.scrollTop;
|
|
1216
1199
|
b === l ? (F = D < H && (M.overflowX === "auto" || M.overflowX === "scroll" || M.overflowX === "visible"), B = O < A && (M.overflowY === "auto" || M.overflowY === "scroll" || M.overflowY === "visible")) : (F = D < H && (M.overflowX === "auto" || M.overflowX === "scroll"), B = O < A && (M.overflowY === "auto" || M.overflowY === "scroll"));
|
|
1217
|
-
var
|
|
1200
|
+
var J = F && (Math.abs(C - a) <= i && I + D < H) - (Math.abs(T - a) <= i && !!I), tt = B && (Math.abs(y - e) <= i && G + O < A) - (Math.abs(p - e) <= i && !!G);
|
|
1218
1201
|
if (!nt[c])
|
|
1219
1202
|
for (var q = 0; q <= c; q++)
|
|
1220
1203
|
nt[q] || (nt[q] = {});
|
|
1221
|
-
(nt[c].vx !=
|
|
1204
|
+
(nt[c].vx != J || nt[c].vy != tt || nt[c].el !== b) && (nt[c].el = b, nt[c].vx = J, nt[c].vy = tt, clearInterval(nt[c].pid), (J != 0 || tt != 0) && (u = !0, nt[c].pid = setInterval((function() {
|
|
1222
1205
|
t && this.layer === 0 && w.active._onTouchMove(ce);
|
|
1223
1206
|
var W = nt[this.layer].vy ? nt[this.layer].vy * s : 0, U = nt[this.layer].vx ? nt[this.layer].vx * s : 0;
|
|
1224
|
-
typeof f == "function" && f.call(w.dragged.parentNode[st], U, W, o, ce, nt[this.layer].el) !== "continue" ||
|
|
1225
|
-
}.bind({
|
|
1207
|
+
typeof f == "function" && f.call(w.dragged.parentNode[st], U, W, o, ce, nt[this.layer].el) !== "continue" || Ze(nt[this.layer].el, U, W);
|
|
1208
|
+
}).bind({
|
|
1226
1209
|
layer: c
|
|
1227
1210
|
}), 24))), c++;
|
|
1228
1211
|
} while (n.bubbleScroll && d !== l && (d = Tt(d, !1)));
|
|
@@ -1272,7 +1255,7 @@ gt(Ne, {
|
|
|
1272
1255
|
pluginName: "removeOnSpill"
|
|
1273
1256
|
});
|
|
1274
1257
|
var pt;
|
|
1275
|
-
function
|
|
1258
|
+
function Yn() {
|
|
1276
1259
|
function o() {
|
|
1277
1260
|
this.defaults = {
|
|
1278
1261
|
swapClass: "sortable-swap-highlight"
|
|
@@ -1296,7 +1279,7 @@ function or() {
|
|
|
1296
1279
|
},
|
|
1297
1280
|
drop: function(r) {
|
|
1298
1281
|
var t = r.activeSortable, a = r.putSortable, e = r.dragEl, i = a || this.sortable, s = this.options;
|
|
1299
|
-
pt && K(pt, s.swapClass, !1), pt && (s.swap || a && a.options.swap) && e !== pt && (i.captureAnimationState(), i !== t && t.captureAnimationState(),
|
|
1282
|
+
pt && K(pt, s.swapClass, !1), pt && (s.swap || a && a.options.swap) && e !== pt && (i.captureAnimationState(), i !== t && t.captureAnimationState(), Vn(e, pt), i.animateAll(), i !== t && t.animateAll());
|
|
1300
1283
|
},
|
|
1301
1284
|
nulling: function() {
|
|
1302
1285
|
pt = null;
|
|
@@ -1310,12 +1293,12 @@ function or() {
|
|
|
1310
1293
|
}
|
|
1311
1294
|
});
|
|
1312
1295
|
}
|
|
1313
|
-
function
|
|
1296
|
+
function Vn(o, n) {
|
|
1314
1297
|
var r = o.parentNode, t = n.parentNode, a, e;
|
|
1315
1298
|
!r || !t || r.isEqualNode(n) || t.isEqualNode(o) || (a = Q(o), e = Q(n), r.isEqualNode(t) && a < e && e++, r.insertBefore(n, r.children[a]), t.insertBefore(o, t.children[e]));
|
|
1316
1299
|
}
|
|
1317
1300
|
var P = [], dt = [], Ft, mt, $t = !1, ct = !1, Nt = !1, Y, Gt, _t;
|
|
1318
|
-
function
|
|
1301
|
+
function zn() {
|
|
1319
1302
|
function o(n) {
|
|
1320
1303
|
for (var r in this)
|
|
1321
1304
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
@@ -1403,7 +1386,7 @@ function ar() {
|
|
|
1403
1386
|
target: s,
|
|
1404
1387
|
rect: ct ? k(s) : i
|
|
1405
1388
|
}), pe(s), s.fromRect = i, t.removeAnimationState(s);
|
|
1406
|
-
}), ct = !1,
|
|
1389
|
+
}), ct = !1, Kn(!this.options.removeCloneOnHide, a));
|
|
1407
1390
|
},
|
|
1408
1391
|
dragOverCompleted: function(r) {
|
|
1409
1392
|
var t = r.sortable, a = r.isOwner, e = r.insertion, i = r.activeSortable, s = r.parentEl, l = r.putSortable, u = this.options;
|
|
@@ -1569,7 +1552,7 @@ function ar() {
|
|
|
1569
1552
|
index: i
|
|
1570
1553
|
});
|
|
1571
1554
|
}), {
|
|
1572
|
-
items:
|
|
1555
|
+
items: yn(P),
|
|
1573
1556
|
clones: [].concat(dt),
|
|
1574
1557
|
oldIndicies: t,
|
|
1575
1558
|
newIndicies: a
|
|
@@ -1582,7 +1565,7 @@ function ar() {
|
|
|
1582
1565
|
}
|
|
1583
1566
|
});
|
|
1584
1567
|
}
|
|
1585
|
-
function
|
|
1568
|
+
function Kn(o, n) {
|
|
1586
1569
|
P.forEach(function(r, t) {
|
|
1587
1570
|
var a = n.children[r.sortableIndex + (o ? Number(t) : 0)];
|
|
1588
1571
|
a ? n.insertBefore(r, a) : n.appendChild(r);
|
|
@@ -1599,19 +1582,19 @@ function te() {
|
|
|
1599
1582
|
o !== Y && o.parentNode && o.parentNode.removeChild(o);
|
|
1600
1583
|
});
|
|
1601
1584
|
}
|
|
1602
|
-
w.mount(new
|
|
1585
|
+
w.mount(new Wn());
|
|
1603
1586
|
w.mount(Ne, Me);
|
|
1604
|
-
const
|
|
1587
|
+
const Jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1605
1588
|
__proto__: null,
|
|
1606
|
-
MultiDrag:
|
|
1589
|
+
MultiDrag: zn,
|
|
1607
1590
|
Sortable: w,
|
|
1608
|
-
Swap:
|
|
1591
|
+
Swap: Yn,
|
|
1609
1592
|
default: w
|
|
1610
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1593
|
+
}, Symbol.toStringTag, { value: "Module" })), Zn = /* @__PURE__ */ rn(Jn);
|
|
1611
1594
|
(function(o, n) {
|
|
1612
1595
|
(function(t, a) {
|
|
1613
|
-
o.exports = a(
|
|
1614
|
-
})(typeof self < "u" ? self :
|
|
1596
|
+
o.exports = a(Zn);
|
|
1597
|
+
})(typeof self < "u" ? self : on, function(r) {
|
|
1615
1598
|
return (
|
|
1616
1599
|
/******/
|
|
1617
1600
|
function(t) {
|
|
@@ -1640,9 +1623,9 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1640
1623
|
var l = /* @__PURE__ */ Object.create(null);
|
|
1641
1624
|
if (e.r(l), Object.defineProperty(l, "default", { enumerable: !0, value: i }), s & 2 && typeof i != "string")
|
|
1642
1625
|
for (var u in i)
|
|
1643
|
-
e.d(l, u, function(f) {
|
|
1626
|
+
e.d(l, u, (function(f) {
|
|
1644
1627
|
return i[f];
|
|
1645
|
-
}.bind(null, u));
|
|
1628
|
+
}).bind(null, u));
|
|
1646
1629
|
return l;
|
|
1647
1630
|
}, e.n = function(i) {
|
|
1648
1631
|
var s = i && i.__esModule ? (
|
|
@@ -1686,10 +1669,10 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1686
1669
|
return function() {
|
|
1687
1670
|
return new B(this, v);
|
|
1688
1671
|
};
|
|
1689
|
-
},
|
|
1690
|
-
if (it && (h = b(it.call(new O())), h !== Object.prototype && h.next && (d(h,
|
|
1672
|
+
}, J = F + " Iterator", tt = A == C, q = !1, W = O.prototype, U = W[g] || W[y] || A && W[A], V = U || G(A), ft = A ? tt ? G("entries") : V : void 0, it = F == "Array" && W.entries || U, rt, m, h;
|
|
1673
|
+
if (it && (h = b(it.call(new O())), h !== Object.prototype && h.next && (d(h, J, !0), !i && typeof h[g] != "function" && u(h, g, D))), tt && U && U.name !== C && (q = !0, V = function() {
|
|
1691
1674
|
return U.call(this);
|
|
1692
|
-
}), (!i || I) && (p || q || !W[g]) && u(W, g, V), f[F] = V, f[
|
|
1675
|
+
}), (!i || I) && (p || q || !W[g]) && u(W, g, V), f[F] = V, f[J] = D, A)
|
|
1693
1676
|
if (rt = {
|
|
1694
1677
|
values: tt ? V : G(C),
|
|
1695
1678
|
keys: M ? V : G(T),
|
|
@@ -1798,8 +1781,8 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1798
1781
|
u,
|
|
1799
1782
|
C,
|
|
1800
1783
|
""[p],
|
|
1801
|
-
function(I, G,
|
|
1802
|
-
return G.exec === c ? D && !q ? { done: !0, value: F.call(G,
|
|
1784
|
+
function(I, G, J, tt, q) {
|
|
1785
|
+
return G.exec === c ? D && !q ? { done: !0, value: F.call(G, J, tt) } : { done: !0, value: I.call(J, G, tt) } : { done: !1 };
|
|
1803
1786
|
}
|
|
1804
1787
|
), H = B[0], A = B[1];
|
|
1805
1788
|
i(String.prototype, p, H), s(
|
|
@@ -1829,7 +1812,7 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1829
1812
|
"23c6": (
|
|
1830
1813
|
/***/
|
|
1831
1814
|
function(t, a, e) {
|
|
1832
|
-
var i = e("2d95"), s = e("2b4c")("toStringTag"), l = i(function() {
|
|
1815
|
+
var i = e("2d95"), s = e("2b4c")("toStringTag"), l = i(/* @__PURE__ */ function() {
|
|
1833
1816
|
return arguments;
|
|
1834
1817
|
}()) == "Arguments", u = function(f, c) {
|
|
1835
1818
|
try {
|
|
@@ -2348,8 +2331,8 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2348
2331
|
var M = F(O, H, this, A);
|
|
2349
2332
|
if (M.done)
|
|
2350
2333
|
return M.value;
|
|
2351
|
-
var I = i(H), G = String(this),
|
|
2352
|
-
|
|
2334
|
+
var I = i(H), G = String(this), J = typeof A == "function";
|
|
2335
|
+
J || (A = String(A));
|
|
2353
2336
|
var tt = I.global;
|
|
2354
2337
|
if (tt) {
|
|
2355
2338
|
var q = I.unicode;
|
|
@@ -2367,7 +2350,7 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2367
2350
|
for (var m = String(U[0]), h = d(b(u(U.index), G.length), 0), v = [], E = 1; E < U.length; E++)
|
|
2368
2351
|
v.push(T(U[E]));
|
|
2369
2352
|
var j = U.groups;
|
|
2370
|
-
if (
|
|
2353
|
+
if (J) {
|
|
2371
2354
|
var L = [m].concat(v, h, G);
|
|
2372
2355
|
j !== void 0 && L.push(j);
|
|
2373
2356
|
var X = String(A.apply(void 0, L));
|
|
@@ -2378,9 +2361,9 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2378
2361
|
return ft + G.slice(it);
|
|
2379
2362
|
}
|
|
2380
2363
|
];
|
|
2381
|
-
function B(H, A, M, I, G,
|
|
2364
|
+
function B(H, A, M, I, G, J) {
|
|
2382
2365
|
var tt = M + H.length, q = I.length, W = y;
|
|
2383
|
-
return G !== void 0 && (G = s(G), W = p), O.call(
|
|
2366
|
+
return G !== void 0 && (G = s(G), W = p), O.call(J, W, function(U, V) {
|
|
2384
2367
|
var ft;
|
|
2385
2368
|
switch (V.charAt(0)) {
|
|
2386
2369
|
case "$":
|
|
@@ -2570,7 +2553,7 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2570
2553
|
/***/
|
|
2571
2554
|
function(t, a) {
|
|
2572
2555
|
var e;
|
|
2573
|
-
e = function() {
|
|
2556
|
+
e = /* @__PURE__ */ function() {
|
|
2574
2557
|
return this;
|
|
2575
2558
|
}();
|
|
2576
2559
|
try {
|
|
@@ -2855,7 +2838,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2855
2838
|
function G(m, h, v) {
|
|
2856
2839
|
return m[v] || (h[v] ? h[v]() : void 0);
|
|
2857
2840
|
}
|
|
2858
|
-
function
|
|
2841
|
+
function J(m, h, v) {
|
|
2859
2842
|
var E = 0, j = 0, L = G(h, v, "header");
|
|
2860
2843
|
L && (E = L.length, m = m ? [].concat(y(L), y(m)) : y(L));
|
|
2861
2844
|
var X = G(h, v, "footer");
|
|
@@ -2866,12 +2849,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2866
2849
|
};
|
|
2867
2850
|
}
|
|
2868
2851
|
function tt(m, h) {
|
|
2869
|
-
var v = null, E = function(
|
|
2870
|
-
v = O(v,
|
|
2852
|
+
var v = null, E = function(Zt, nn) {
|
|
2853
|
+
v = O(v, Zt, nn);
|
|
2871
2854
|
}, j = Object.keys(m).filter(function(yt) {
|
|
2872
2855
|
return yt === "id" || yt.startsWith("data-");
|
|
2873
|
-
}).reduce(function(yt,
|
|
2874
|
-
return yt[
|
|
2856
|
+
}).reduce(function(yt, Zt) {
|
|
2857
|
+
return yt[Zt] = m[Zt], yt;
|
|
2875
2858
|
}, {});
|
|
2876
2859
|
if (E("attrs", j), !h)
|
|
2877
2860
|
return v;
|
|
@@ -2932,7 +2915,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2932
2915
|
render: function(h) {
|
|
2933
2916
|
var v = this.$slots.default;
|
|
2934
2917
|
this.transitionMode = I(v);
|
|
2935
|
-
var E =
|
|
2918
|
+
var E = J(v, this.$slots, this.$scopedSlots), j = E.children, L = E.headerOffset, X = E.footerOffset;
|
|
2936
2919
|
this.headerOffset = L, this.footerOffset = X;
|
|
2937
2920
|
var _ = tt(this.$attrs, this.componentData);
|
|
2938
2921
|
return h(this.getTag(), _, j);
|
|
@@ -3171,9 +3154,36 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3171
3154
|
);
|
|
3172
3155
|
});
|
|
3173
3156
|
})(Ye);
|
|
3174
|
-
var
|
|
3175
|
-
const
|
|
3157
|
+
var Qn = Ye.exports;
|
|
3158
|
+
const Er = /* @__PURE__ */ We(Qn);
|
|
3159
|
+
var kn = an;
|
|
3160
|
+
function qn(o) {
|
|
3161
|
+
return kn(o) ? void 0 : o;
|
|
3162
|
+
}
|
|
3163
|
+
var _n = qn, tr = sn;
|
|
3164
|
+
function er(o) {
|
|
3165
|
+
var n = o == null ? 0 : o.length;
|
|
3166
|
+
return n ? tr(o, 1) : [];
|
|
3167
|
+
}
|
|
3168
|
+
var nr = er, rr = nr, or = ln, ir = un;
|
|
3169
|
+
function ar(o) {
|
|
3170
|
+
return ir(or(o, void 0, rr), o + "");
|
|
3171
|
+
}
|
|
3172
|
+
var sr = ar, lr = fn, ur = pn, fr = cn, cr = gn, dr = dn, hr = _n, pr = sr, gr = hn, vr = 1, mr = 2, br = 4, yr = pr(function(o, n) {
|
|
3173
|
+
var r = {};
|
|
3174
|
+
if (o == null)
|
|
3175
|
+
return r;
|
|
3176
|
+
var t = !1;
|
|
3177
|
+
n = lr(n, function(e) {
|
|
3178
|
+
return e = cr(e, o), t || (t = e.length > 1), e;
|
|
3179
|
+
}), dr(o, gr(o), r), t && (r = ur(r, vr | mr | br, hr));
|
|
3180
|
+
for (var a = n.length; a--; )
|
|
3181
|
+
fr(r, n[a]);
|
|
3182
|
+
return r;
|
|
3183
|
+
}), xr = yr;
|
|
3184
|
+
const Or = /* @__PURE__ */ We(xr);
|
|
3176
3185
|
export {
|
|
3177
|
-
|
|
3178
|
-
|
|
3186
|
+
sr as _,
|
|
3187
|
+
Er as d,
|
|
3188
|
+
Or as o
|
|
3179
3189
|
};
|