@anzusystems/common-admin 1.47.0-alpha33 → 1.47.0-alpha35
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/common-admin.es.d.ts +5 -0
- package/dist/common-admin.es.js +1 -1
- package/dist/{lib-gk_FDIqo.js → lib-amJ0xCN3.js} +125 -115
- package/dist/lib-amJ0xCN3.js.map +1 -0
- package/dist/{webfontloader-h5cT_bTg.js → webfontloader-cai9MmL3.js} +2 -2
- package/dist/{webfontloader-h5cT_bTg.js.map → webfontloader-cai9MmL3.js.map} +1 -1
- package/package.json +14 -14
- package/dist/lib-gk_FDIqo.js.map +0 -1
|
@@ -9,6 +9,7 @@ import { VAlert as qi } from "vuetify/lib/components/VAlert/index.mjs";
|
|
|
9
9
|
import { VIcon as re } from "vuetify/lib/components/VIcon/index.mjs";
|
|
10
10
|
import { VCard as ze, VCardText as ns, VCardActions as St, VCardItem as bo } from "vuetify/lib/components/VCard/index.mjs";
|
|
11
11
|
import { VAvatar as dn } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
12
|
+
import { VTooltip as ye } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
12
13
|
import { VProgressCircular as at } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
13
14
|
import { useEventBus as jt, useFetch as fm, watchDebounced as Tn, useClipboard as _d, useStorage as Sd, useIntervalFn as Vm, tryOnMounted as pm, tryOnScopeDispose as vm, unrefElement as hm, defaultDocument as Fm, toValue as ql, useDropZone as gm, useWebSocket as qm, useDebounceFn as Ym } from "@vueuse/core";
|
|
14
15
|
import { VTextField as si } from "vuetify/lib/components/VTextField/index.mjs";
|
|
@@ -17,7 +18,6 @@ import { VBtn as ie } from "vuetify/lib/components/VBtn/index.mjs";
|
|
|
17
18
|
import { VBtnToggle as jr } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
18
19
|
import { VList as ea, VListItem as Je, VListItemTitle as rs, VListItemSubtitle as Xm } from "vuetify/lib/components/VList/index.mjs";
|
|
19
20
|
import { VMenu as aa } from "vuetify/lib/components/VMenu/index.mjs";
|
|
20
|
-
import { VTooltip as Ce } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
21
21
|
import { VToolbar as ls, VToolbarTitle as Dd } from "vuetify/lib/components/VToolbar/index.mjs";
|
|
22
22
|
import { useRouter as En } from "vue-router";
|
|
23
23
|
import Hr from "axios";
|
|
@@ -227,7 +227,8 @@ const zm = { key: 1 }, $d = /* @__PURE__ */ W({
|
|
|
227
227
|
props: {
|
|
228
228
|
user: { default: void 0 },
|
|
229
229
|
size: { default: 36 },
|
|
230
|
-
containerClass: { default: "" }
|
|
230
|
+
containerClass: { default: "" },
|
|
231
|
+
tooltip: { default: void 0 }
|
|
231
232
|
},
|
|
232
233
|
setup(t) {
|
|
233
234
|
const a = t, e = S(() => {
|
|
@@ -251,7 +252,16 @@ const zm = { key: 1 }, $d = /* @__PURE__ */ W({
|
|
|
251
252
|
z("div", {
|
|
252
253
|
class: "d-inline-flex text-white font-weight-light",
|
|
253
254
|
style: $t({ fontSize: s.value })
|
|
254
|
-
}, I(i.value), 5)
|
|
255
|
+
}, I(i.value), 5),
|
|
256
|
+
r.tooltip ? (q(), E(ye, {
|
|
257
|
+
key: 0,
|
|
258
|
+
activator: "parent"
|
|
259
|
+
}, {
|
|
260
|
+
default: f(() => [
|
|
261
|
+
$(I(r.tooltip), 1)
|
|
262
|
+
]),
|
|
263
|
+
_: 1
|
|
264
|
+
})) : L("", !0)
|
|
255
265
|
]),
|
|
256
266
|
_: 1
|
|
257
267
|
}, 8, ["color", "class", "size"]),
|
|
@@ -889,7 +899,7 @@ const qf = {
|
|
|
889
899
|
}, {
|
|
890
900
|
default: f(() => [
|
|
891
901
|
m(re, { icon: "mdi-cog" }),
|
|
892
|
-
m(
|
|
902
|
+
m(ye, {
|
|
893
903
|
activator: "parent",
|
|
894
904
|
location: "bottom"
|
|
895
905
|
}, {
|
|
@@ -1824,7 +1834,7 @@ const hS = /* @__PURE__ */ W({
|
|
|
1824
1834
|
}, {
|
|
1825
1835
|
default: f(() => [
|
|
1826
1836
|
m(re, { icon: "mdi-dots-grid" }),
|
|
1827
|
-
m(
|
|
1837
|
+
m(ye, {
|
|
1828
1838
|
activator: "parent",
|
|
1829
1839
|
location: "top"
|
|
1830
1840
|
}, {
|
|
@@ -2654,7 +2664,7 @@ const fu = /* @__PURE__ */ W({
|
|
|
2654
2664
|
}, {
|
|
2655
2665
|
default: f(() => [
|
|
2656
2666
|
m(re, { icon: r.value }, null, 8, ["icon"]),
|
|
2657
|
-
m(
|
|
2667
|
+
m(ye, {
|
|
2658
2668
|
activator: "parent",
|
|
2659
2669
|
location: "bottom"
|
|
2660
2670
|
}, {
|
|
@@ -2719,7 +2729,7 @@ const fu = /* @__PURE__ */ W({
|
|
|
2719
2729
|
color: "grey darken-1",
|
|
2720
2730
|
icon: "mdi-filter-remove-outline"
|
|
2721
2731
|
}),
|
|
2722
|
-
m(
|
|
2732
|
+
m(ye, {
|
|
2723
2733
|
activator: "parent",
|
|
2724
2734
|
location: "bottom"
|
|
2725
2735
|
}, {
|
|
@@ -4783,7 +4793,7 @@ const GS = /* @__PURE__ */ W({
|
|
|
4783
4793
|
size: "x-small",
|
|
4784
4794
|
icon: "mdi-content-copy"
|
|
4785
4795
|
})) : L("", !0),
|
|
4786
|
-
m(
|
|
4796
|
+
m(ye, {
|
|
4787
4797
|
activator: "parent",
|
|
4788
4798
|
location: "bottom"
|
|
4789
4799
|
}, {
|
|
@@ -5172,7 +5182,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5172
5182
|
}, {
|
|
5173
5183
|
default: f(() => [
|
|
5174
5184
|
m(re, { icon: "mdi-account-details-outline" }),
|
|
5175
|
-
m(
|
|
5185
|
+
m(ye, {
|
|
5176
5186
|
anchor: "bottom",
|
|
5177
5187
|
activator: "parent",
|
|
5178
5188
|
text: p(h)("common.collab.moderatorManagement")
|
|
@@ -5352,7 +5362,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5352
5362
|
}, {
|
|
5353
5363
|
default: f(() => [
|
|
5354
5364
|
m(re, { icon: "mdi-account-switch" }),
|
|
5355
|
-
m(
|
|
5365
|
+
m(ye, {
|
|
5356
5366
|
anchor: "bottom",
|
|
5357
5367
|
activator: "parent",
|
|
5358
5368
|
text: p(h)("common.collab.requestToTakeModeration")
|
|
@@ -5573,7 +5583,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5573
5583
|
}, {
|
|
5574
5584
|
default: f(() => [
|
|
5575
5585
|
m(re, { icon: "mdi-close" }),
|
|
5576
|
-
m(
|
|
5586
|
+
m(ye, {
|
|
5577
5587
|
activator: "parent",
|
|
5578
5588
|
location: "bottom"
|
|
5579
5589
|
}, {
|
|
@@ -5621,7 +5631,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5621
5631
|
}, {
|
|
5622
5632
|
default: f(() => [
|
|
5623
5633
|
m(re, { icon: "mdi-content-save" }),
|
|
5624
|
-
m(
|
|
5634
|
+
m(ye, {
|
|
5625
5635
|
activator: "parent",
|
|
5626
5636
|
location: "bottom"
|
|
5627
5637
|
}, {
|
|
@@ -5711,7 +5721,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5711
5721
|
}, {
|
|
5712
5722
|
default: f(() => [
|
|
5713
5723
|
m(re, { icon: "mdi-trash-can-outline" }),
|
|
5714
|
-
m(
|
|
5724
|
+
m(ye, {
|
|
5715
5725
|
activator: "parent",
|
|
5716
5726
|
location: "bottom"
|
|
5717
5727
|
}, {
|
|
@@ -5834,7 +5844,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5834
5844
|
}, {
|
|
5835
5845
|
default: f(() => [
|
|
5836
5846
|
m(re, { icon: "mdi-content-save" }),
|
|
5837
|
-
m(
|
|
5847
|
+
m(ye, {
|
|
5838
5848
|
activator: "parent",
|
|
5839
5849
|
location: "bottom"
|
|
5840
5850
|
}, {
|
|
@@ -5893,7 +5903,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5893
5903
|
"main-icon": "mdi-content-save",
|
|
5894
5904
|
"secondary-icon": "mdi-close"
|
|
5895
5905
|
}),
|
|
5896
|
-
m(
|
|
5906
|
+
m(ye, {
|
|
5897
5907
|
activator: "parent",
|
|
5898
5908
|
location: "bottom"
|
|
5899
5909
|
}, {
|
|
@@ -5947,7 +5957,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
5947
5957
|
}, {
|
|
5948
5958
|
default: f(() => [
|
|
5949
5959
|
m(re, { icon: "mdi-content-save" }),
|
|
5950
|
-
m(
|
|
5960
|
+
m(ye, {
|
|
5951
5961
|
activator: "parent",
|
|
5952
5962
|
location: "bottom"
|
|
5953
5963
|
}, {
|
|
@@ -6010,7 +6020,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
6010
6020
|
"main-icon": "mdi-content-copy",
|
|
6011
6021
|
size: "small"
|
|
6012
6022
|
}, null, 8, ["secondary-text"]),
|
|
6013
|
-
m(
|
|
6023
|
+
m(ye, {
|
|
6014
6024
|
activator: "parent",
|
|
6015
6025
|
location: "bottom"
|
|
6016
6026
|
}, {
|
|
@@ -6047,7 +6057,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
6047
6057
|
}, {
|
|
6048
6058
|
default: f(() => [
|
|
6049
6059
|
m(re, { icon: "mdi-information-outline" }),
|
|
6050
|
-
m(
|
|
6060
|
+
m(ye, {
|
|
6051
6061
|
activator: "parent",
|
|
6052
6062
|
location: "bottom"
|
|
6053
6063
|
}, {
|
|
@@ -6084,7 +6094,7 @@ const Tp = { class: "ml-3" }, Ep = { class: "ml-1" }, ZS = /* @__PURE__ */ W({
|
|
|
6084
6094
|
}, {
|
|
6085
6095
|
default: f(() => [
|
|
6086
6096
|
m(re, { icon: "mdi-pencil" }),
|
|
6087
|
-
m(
|
|
6097
|
+
m(ye, {
|
|
6088
6098
|
activator: "parent",
|
|
6089
6099
|
location: "bottom"
|
|
6090
6100
|
}, {
|
|
@@ -6741,7 +6751,7 @@ const mv = { class: "text-center w-100 text-caption pb-1" }, dK = /* @__PURE__ *
|
|
|
6741
6751
|
size: 32,
|
|
6742
6752
|
user: s.currentUser
|
|
6743
6753
|
}, null, 8, ["user"]),
|
|
6744
|
-
m(
|
|
6754
|
+
m(ye, {
|
|
6745
6755
|
activator: "parent",
|
|
6746
6756
|
location: "top"
|
|
6747
6757
|
}, {
|
|
@@ -8329,7 +8339,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, Fh = { class
|
|
|
8329
8339
|
icon: "mdi-tune",
|
|
8330
8340
|
size: 16
|
|
8331
8341
|
}),
|
|
8332
|
-
m(
|
|
8342
|
+
m(ye, {
|
|
8333
8343
|
activator: "parent",
|
|
8334
8344
|
location: "bottom"
|
|
8335
8345
|
}, {
|
|
@@ -8353,7 +8363,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, Fh = { class
|
|
|
8353
8363
|
}, {
|
|
8354
8364
|
default: f(() => [
|
|
8355
8365
|
m(re, { icon: "mdi-view-compact" }),
|
|
8356
|
-
m(
|
|
8366
|
+
m(ye, {
|
|
8357
8367
|
activator: "parent",
|
|
8358
8368
|
location: "bottom"
|
|
8359
8369
|
}, {
|
|
@@ -8373,7 +8383,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, Fh = { class
|
|
|
8373
8383
|
}, {
|
|
8374
8384
|
default: f(() => [
|
|
8375
8385
|
m(re, { icon: "mdi-view-grid" }),
|
|
8376
|
-
m(
|
|
8386
|
+
m(ye, {
|
|
8377
8387
|
activator: "parent",
|
|
8378
8388
|
location: "bottom"
|
|
8379
8389
|
}, {
|
|
@@ -8393,7 +8403,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, Fh = { class
|
|
|
8393
8403
|
}, {
|
|
8394
8404
|
default: f(() => [
|
|
8395
8405
|
m(re, { icon: "mdi-view-headline" }),
|
|
8396
|
-
m(
|
|
8406
|
+
m(ye, {
|
|
8397
8407
|
activator: "parent",
|
|
8398
8408
|
location: "bottom"
|
|
8399
8409
|
}, {
|
|
@@ -8664,7 +8674,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, Fh = { class
|
|
|
8664
8674
|
}, {
|
|
8665
8675
|
default: f(() => [
|
|
8666
8676
|
m(re, { icon: "mdi-filter-remove-outline" }),
|
|
8667
|
-
m(
|
|
8677
|
+
m(ye, {
|
|
8668
8678
|
activator: "parent",
|
|
8669
8679
|
location: "bottom"
|
|
8670
8680
|
}, {
|
|
@@ -9008,7 +9018,7 @@ function Rt(t, a, e) {
|
|
|
9008
9018
|
t.className = (s + (e ? " " + a : "")).replace(Bl, " ");
|
|
9009
9019
|
}
|
|
9010
9020
|
}
|
|
9011
|
-
function
|
|
9021
|
+
function be(t, a, e) {
|
|
9012
9022
|
var s = t && t.style;
|
|
9013
9023
|
if (s) {
|
|
9014
9024
|
if (e === void 0)
|
|
@@ -9022,7 +9032,7 @@ function js(t, a) {
|
|
|
9022
9032
|
e = t;
|
|
9023
9033
|
else
|
|
9024
9034
|
do {
|
|
9025
|
-
var s =
|
|
9035
|
+
var s = be(t, "transform");
|
|
9026
9036
|
s && s !== "none" && (e = s + " " + e);
|
|
9027
9037
|
} while (!a && (t = t.parentNode));
|
|
9028
9038
|
var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
@@ -9047,9 +9057,9 @@ function ct(t, a, e, s, i) {
|
|
|
9047
9057
|
var r, o, l, n, d, c, u;
|
|
9048
9058
|
if (t !== window && t.parentNode && t !== Aa() ? (r = t.getBoundingClientRect(), o = r.top, l = r.left, n = r.bottom, d = r.right, c = r.height, u = r.width) : (o = 0, l = 0, n = window.innerHeight, d = window.innerWidth, c = window.innerHeight, u = window.innerWidth), (a || e) && t !== window && (i = i || t.parentNode, !ja))
|
|
9049
9059
|
do
|
|
9050
|
-
if (i && i.getBoundingClientRect && (
|
|
9060
|
+
if (i && i.getBoundingClientRect && (be(i, "transform") !== "none" || e && be(i, "position") !== "static")) {
|
|
9051
9061
|
var V = i.getBoundingClientRect();
|
|
9052
|
-
o -= V.top + parseInt(
|
|
9062
|
+
o -= V.top + parseInt(be(i, "border-top-width")), l -= V.left + parseInt(be(i, "border-left-width")), n = o + r.height, d = l + r.width;
|
|
9053
9063
|
break;
|
|
9054
9064
|
}
|
|
9055
9065
|
while (i = i.parentNode);
|
|
@@ -9080,7 +9090,7 @@ function Pl(t, a, e) {
|
|
|
9080
9090
|
}
|
|
9081
9091
|
function ti(t, a, e, s) {
|
|
9082
9092
|
for (var i = 0, r = 0, o = t.children; r < o.length; ) {
|
|
9083
|
-
if (o[r].style.display !== "none" && o[r] !==
|
|
9093
|
+
if (o[r].style.display !== "none" && o[r] !== Ce.ghost && (s || o[r] !== Ce.dragged) && ua(o[r], e.draggable, t, !1)) {
|
|
9084
9094
|
if (i === a)
|
|
9085
9095
|
return o[r];
|
|
9086
9096
|
i++;
|
|
@@ -9090,7 +9100,7 @@ function ti(t, a, e, s) {
|
|
|
9090
9100
|
return null;
|
|
9091
9101
|
}
|
|
9092
9102
|
function jn(t, a) {
|
|
9093
|
-
for (var e = t.lastElementChild; e && (e ===
|
|
9103
|
+
for (var e = t.lastElementChild; e && (e === Ce.ghost || be(e, "display") === "none" || a && !$r(e, a)); )
|
|
9094
9104
|
e = e.previousElementSibling;
|
|
9095
9105
|
return e || null;
|
|
9096
9106
|
}
|
|
@@ -9099,7 +9109,7 @@ function Qt(t, a) {
|
|
|
9099
9109
|
if (!t || !t.parentNode)
|
|
9100
9110
|
return -1;
|
|
9101
9111
|
for (; t = t.previousElementSibling; )
|
|
9102
|
-
t.nodeName.toUpperCase() !== "TEMPLATE" && t !==
|
|
9112
|
+
t.nodeName.toUpperCase() !== "TEMPLATE" && t !== Ce.clone && (!a || $r(t, a)) && e++;
|
|
9103
9113
|
return e;
|
|
9104
9114
|
}
|
|
9105
9115
|
function Ol(t) {
|
|
@@ -9126,7 +9136,7 @@ function as(t, a) {
|
|
|
9126
9136
|
var e = t, s = !1;
|
|
9127
9137
|
do
|
|
9128
9138
|
if (e.clientWidth < e.scrollWidth || e.clientHeight < e.scrollHeight) {
|
|
9129
|
-
var i =
|
|
9139
|
+
var i = be(e);
|
|
9130
9140
|
if (e.clientWidth < e.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || e.clientHeight < e.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
|
|
9131
9141
|
if (!e.getBoundingClientRect || e === document.body)
|
|
9132
9142
|
return Aa();
|
|
@@ -9186,7 +9196,7 @@ function aF() {
|
|
|
9186
9196
|
if (t = [], !!this.options.animation) {
|
|
9187
9197
|
var s = [].slice.call(this.el.children);
|
|
9188
9198
|
s.forEach(function(i) {
|
|
9189
|
-
if (!(
|
|
9199
|
+
if (!(be(i, "display") === "none" || i === Ce.ghost)) {
|
|
9190
9200
|
t.push({
|
|
9191
9201
|
target: i,
|
|
9192
9202
|
rect: ct(i)
|
|
@@ -9228,10 +9238,10 @@ function aF() {
|
|
|
9228
9238
|
},
|
|
9229
9239
|
animate: function(s, i, r, o) {
|
|
9230
9240
|
if (o) {
|
|
9231
|
-
|
|
9241
|
+
be(s, "transition", ""), be(s, "transform", "");
|
|
9232
9242
|
var l = js(this.el), n = l && l.a, d = l && l.d, c = (i.left - r.left) / (n || 1), u = (i.top - r.top) / (d || 1);
|
|
9233
|
-
s.animatingX = !!c, s.animatingY = !!u,
|
|
9234
|
-
|
|
9243
|
+
s.animatingX = !!c, s.animatingY = !!u, be(s, "transform", "translate3d(" + c + "px," + u + "px,0)"), this.forRepaintDummy = sF(s), be(s, "transition", "transform " + o + "ms" + (this.options.easing ? " " + this.options.easing : "")), be(s, "transform", "translate3d(0,0,0)"), typeof s.animated == "number" && clearTimeout(s.animated), s.animated = setTimeout(function() {
|
|
9244
|
+
be(s, "transition", ""), be(s, "transform", ""), s.animated = !1, s.animatingX = !1, s.animatingY = !1;
|
|
9235
9245
|
}, o);
|
|
9236
9246
|
}
|
|
9237
9247
|
}
|
|
@@ -9311,7 +9321,7 @@ function rF(t) {
|
|
|
9311
9321
|
}
|
|
9312
9322
|
var oF = ["evt"], Tt = function(a, e) {
|
|
9313
9323
|
var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = s.evt, r = Gh(s, oF);
|
|
9314
|
-
Ui.pluginEvent.bind(
|
|
9324
|
+
Ui.pluginEvent.bind(Ce)(a, e, Ca({
|
|
9315
9325
|
dragEl: oe,
|
|
9316
9326
|
parentEl: rt,
|
|
9317
9327
|
ghostEl: ke,
|
|
@@ -9322,7 +9332,7 @@ var oF = ["evt"], Tt = function(a, e) {
|
|
|
9322
9332
|
cloneHidden: Ja,
|
|
9323
9333
|
dragStarted: Yi,
|
|
9324
9334
|
putSortable: Yt,
|
|
9325
|
-
activeSortable:
|
|
9335
|
+
activeSortable: Ce.active,
|
|
9326
9336
|
originalEvent: i,
|
|
9327
9337
|
oldIndex: Os,
|
|
9328
9338
|
oldDraggableIndex: ki,
|
|
@@ -9365,7 +9375,7 @@ var oe, rt, ke, Qe, Cs, xr, st, Ja, Os, zt, ki, Za, ur, Yt, Ps = !1, Br = !1, Pr
|
|
|
9365
9375
|
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
9366
9376
|
}
|
|
9367
9377
|
}(), Wu = function(a, e) {
|
|
9368
|
-
var s =
|
|
9378
|
+
var s = be(a), i = parseInt(s.width) - parseInt(s.paddingLeft) - parseInt(s.paddingRight) - parseInt(s.borderLeftWidth) - parseInt(s.borderRightWidth), r = ti(a, 0, e), o = ti(a, 1, e), l = r && be(r), n = o && be(o), d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + ct(r).width, c = n && parseInt(n.marginLeft) + parseInt(n.marginRight) + ct(o).width;
|
|
9369
9379
|
if (s.display === "flex")
|
|
9370
9380
|
return s.flexDirection === "column" || s.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
9371
9381
|
if (s.display === "grid")
|
|
@@ -9409,9 +9419,9 @@ var oe, rt, ke, Qe, Cs, xr, st, Ja, Os, zt, ki, Za, ur, Yt, Ps = !1, Br = !1, Pr
|
|
|
9409
9419
|
name: i
|
|
9410
9420
|
}), s.name = i.name, s.checkPull = e(i.pull, !0), s.checkPut = e(i.put), s.revertClone = i.revertClone, a.group = s;
|
|
9411
9421
|
}, Zu = function() {
|
|
9412
|
-
!Hu && ke &&
|
|
9422
|
+
!Hu && ke && be(ke, "display", "none");
|
|
9413
9423
|
}, Ju = function() {
|
|
9414
|
-
!Hu && ke &&
|
|
9424
|
+
!Hu && ke && be(ke, "display", "");
|
|
9415
9425
|
};
|
|
9416
9426
|
mo && !Ou && document.addEventListener("click", function(t) {
|
|
9417
9427
|
if (Br)
|
|
@@ -9431,7 +9441,7 @@ var qs = function(a) {
|
|
|
9431
9441
|
}, uF = function(a) {
|
|
9432
9442
|
oe && oe.parentNode[Nt]._isOutsideThisEl(a.target);
|
|
9433
9443
|
};
|
|
9434
|
-
function
|
|
9444
|
+
function Ce(t, a) {
|
|
9435
9445
|
if (!(t && t.nodeType && t.nodeType === 1))
|
|
9436
9446
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
|
|
9437
9447
|
this.el = t, this.options = a = $a({}, a), t[Nt] = this;
|
|
@@ -9477,7 +9487,7 @@ function be(t, a) {
|
|
|
9477
9487
|
x: 0,
|
|
9478
9488
|
y: 0
|
|
9479
9489
|
},
|
|
9480
|
-
supportPointer:
|
|
9490
|
+
supportPointer: Ce.supportPointer !== !1 && "PointerEvent" in window && !xi,
|
|
9481
9491
|
emptyInsertThreshold: 5
|
|
9482
9492
|
};
|
|
9483
9493
|
Ui.initializePlugins(this, t, e);
|
|
@@ -9488,9 +9498,9 @@ function be(t, a) {
|
|
|
9488
9498
|
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
9489
9499
|
this.nativeDraggable = a.forceFallback ? !1 : nF, this.nativeDraggable && (this.options.touchStartThreshold = 1), a.supportPointer ? Pe(t, "pointerdown", this._onTapStart) : (Pe(t, "mousedown", this._onTapStart), Pe(t, "touchstart", this._onTapStart)), this.nativeDraggable && (Pe(t, "dragover", this), Pe(t, "dragenter", this)), Pr.push(this.el), a.store && a.store.get && this.sort(a.store.get(this) || []), $a(this, aF());
|
|
9490
9500
|
}
|
|
9491
|
-
|
|
9501
|
+
Ce.prototype = /** @lends Sortable.prototype */
|
|
9492
9502
|
{
|
|
9493
|
-
constructor:
|
|
9503
|
+
constructor: Ce,
|
|
9494
9504
|
_isOutsideThisEl: function(a) {
|
|
9495
9505
|
!this.el.contains(a) && a !== this.el && ($s = null);
|
|
9496
9506
|
},
|
|
@@ -9539,14 +9549,14 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9539
9549
|
var i = this, r = i.el, o = i.options, l = r.ownerDocument, n;
|
|
9540
9550
|
if (s && !oe && s.parentNode === r) {
|
|
9541
9551
|
var d = ct(s);
|
|
9542
|
-
if (Qe = r, oe = s, rt = oe.parentNode, Cs = oe.nextSibling, xr = s, ur = o.group,
|
|
9552
|
+
if (Qe = r, oe = s, rt = oe.parentNode, Cs = oe.nextSibling, xr = s, ur = o.group, Ce.dragged = oe, gs = {
|
|
9543
9553
|
target: oe,
|
|
9544
9554
|
clientX: (e || a).clientX,
|
|
9545
9555
|
clientY: (e || a).clientY
|
|
9546
9556
|
}, Rl = gs.clientX - d.left, zl = gs.clientY - d.top, this._lastX = (e || a).clientX, this._lastY = (e || a).clientY, oe.style["will-change"] = "all", n = function() {
|
|
9547
9557
|
if (Tt("delayEnded", i, {
|
|
9548
9558
|
evt: a
|
|
9549
|
-
}),
|
|
9559
|
+
}), Ce.eventCanceled) {
|
|
9550
9560
|
i._onDrop();
|
|
9551
9561
|
return;
|
|
9552
9562
|
}
|
|
@@ -9560,7 +9570,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9560
9570
|
}), Pe(l, "dragover", qs), Pe(l, "mousemove", qs), Pe(l, "touchmove", qs), Pe(l, "mouseup", i._onDrop), Pe(l, "touchend", i._onDrop), Pe(l, "touchcancel", i._onDrop), $l && this.nativeDraggable && (this.options.touchStartThreshold = 4, oe.draggable = !0), Tt("delayStart", this, {
|
|
9561
9571
|
evt: a
|
|
9562
9572
|
}), o.delay && (!o.delayOnTouchOnly || e) && (!this.nativeDraggable || !(Ni || ja))) {
|
|
9563
|
-
if (
|
|
9573
|
+
if (Ce.eventCanceled) {
|
|
9564
9574
|
this._onDrop();
|
|
9565
9575
|
return;
|
|
9566
9576
|
}
|
|
@@ -9595,7 +9605,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9595
9605
|
evt: e
|
|
9596
9606
|
}), this.nativeDraggable && Pe(document, "dragover", uF);
|
|
9597
9607
|
var s = this.options;
|
|
9598
|
-
!a && Rt(oe, s.dragClass, !1), Rt(oe, s.ghostClass, !0),
|
|
9608
|
+
!a && Rt(oe, s.dragClass, !1), Rt(oe, s.ghostClass, !0), Ce.active = this, a && this._appendGhost(), It({
|
|
9599
9609
|
sortable: this,
|
|
9600
9610
|
name: "start",
|
|
9601
9611
|
originalEvent: e
|
|
@@ -9628,7 +9638,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9628
9638
|
_onTouchMove: function(a) {
|
|
9629
9639
|
if (gs) {
|
|
9630
9640
|
var e = this.options, s = e.fallbackTolerance, i = e.fallbackOffset, r = a.touches ? a.touches[0] : a, o = ke && js(ke, !0), l = ke && o && o.a, n = ke && o && o.d, d = mr && xt && Ol(xt), c = (r.clientX - gs.clientX + i.x) / (l || 1) + (d ? d[0] - Oo[0] : 0) / (l || 1), u = (r.clientY - gs.clientY + i.y) / (n || 1) + (d ? d[1] - Oo[1] : 0) / (n || 1);
|
|
9631
|
-
if (!
|
|
9641
|
+
if (!Ce.active && !Ps) {
|
|
9632
9642
|
if (s && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < s)
|
|
9633
9643
|
return;
|
|
9634
9644
|
this._onDragStart(a, !0);
|
|
@@ -9643,7 +9653,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9643
9653
|
f: u
|
|
9644
9654
|
};
|
|
9645
9655
|
var V = "matrix(".concat(o.a, ",").concat(o.b, ",").concat(o.c, ",").concat(o.d, ",").concat(o.e, ",").concat(o.f, ")");
|
|
9646
|
-
|
|
9656
|
+
be(ke, "webkitTransform", V), be(ke, "mozTransform", V), be(ke, "msTransform", V), be(ke, "transform", V), Bo = c, Po = u, la = r;
|
|
9647
9657
|
}
|
|
9648
9658
|
a.cancelable && a.preventDefault();
|
|
9649
9659
|
}
|
|
@@ -9652,31 +9662,31 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9652
9662
|
if (!ke) {
|
|
9653
9663
|
var a = this.options.fallbackOnBody ? document.body : Qe, e = ct(oe, !0, mr, !0, a), s = this.options;
|
|
9654
9664
|
if (mr) {
|
|
9655
|
-
for (xt = a;
|
|
9665
|
+
for (xt = a; be(xt, "position") === "static" && be(xt, "transform") === "none" && xt !== document; )
|
|
9656
9666
|
xt = xt.parentNode;
|
|
9657
9667
|
xt !== document.body && xt !== document.documentElement ? (xt === document && (xt = Aa()), e.top += xt.scrollTop, e.left += xt.scrollLeft) : xt = Aa(), Oo = Ol(xt);
|
|
9658
9668
|
}
|
|
9659
|
-
ke = oe.cloneNode(!0), Rt(ke, s.ghostClass, !1), Rt(ke, s.fallbackClass, !0), Rt(ke, s.dragClass, !0),
|
|
9669
|
+
ke = oe.cloneNode(!0), Rt(ke, s.ghostClass, !1), Rt(ke, s.fallbackClass, !0), Rt(ke, s.dragClass, !0), be(ke, "transition", ""), be(ke, "transform", ""), be(ke, "box-sizing", "border-box"), be(ke, "margin", 0), be(ke, "top", e.top), be(ke, "left", e.left), be(ke, "width", e.width), be(ke, "height", e.height), be(ke, "opacity", "0.8"), be(ke, "position", mr ? "absolute" : "fixed"), be(ke, "zIndex", "100000"), be(ke, "pointerEvents", "none"), Ce.ghost = ke, a.appendChild(ke), be(ke, "transform-origin", Rl / parseInt(ke.style.width) * 100 + "% " + zl / parseInt(ke.style.height) * 100 + "%");
|
|
9660
9670
|
}
|
|
9661
9671
|
},
|
|
9662
9672
|
_onDragStart: function(a, e) {
|
|
9663
9673
|
var s = this, i = a.dataTransfer, r = s.options;
|
|
9664
9674
|
if (Tt("dragStart", this, {
|
|
9665
9675
|
evt: a
|
|
9666
|
-
}),
|
|
9676
|
+
}), Ce.eventCanceled) {
|
|
9667
9677
|
this._onDrop();
|
|
9668
9678
|
return;
|
|
9669
9679
|
}
|
|
9670
|
-
Tt("setupClone", this),
|
|
9671
|
-
Tt("clone", s), !
|
|
9680
|
+
Tt("setupClone", this), Ce.eventCanceled || (st = Uu(oe), st.removeAttribute("id"), st.draggable = !1, st.style["will-change"] = "", this._hideClone(), Rt(st, this.options.chosenClass, !1), Ce.clone = st), s.cloneId = kr(function() {
|
|
9681
|
+
Tt("clone", s), !Ce.eventCanceled && (s.options.removeCloneOnHide || Qe.insertBefore(st, oe), s._hideClone(), It({
|
|
9672
9682
|
sortable: s,
|
|
9673
9683
|
name: "clone"
|
|
9674
9684
|
}));
|
|
9675
|
-
}), !e && Rt(oe, r.dragClass, !0), e ? (Br = !0, s._loopId = setInterval(s._emulateDragOver, 50)) : (Be(document, "mouseup", s._onDrop), Be(document, "touchend", s._onDrop), Be(document, "touchcancel", s._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(s, i, oe)), Pe(document, "drop", s),
|
|
9685
|
+
}), !e && Rt(oe, r.dragClass, !0), e ? (Br = !0, s._loopId = setInterval(s._emulateDragOver, 50)) : (Be(document, "mouseup", s._onDrop), Be(document, "touchend", s._onDrop), Be(document, "touchcancel", s._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(s, i, oe)), Pe(document, "drop", s), be(oe, "transform", "translateZ(0)")), Ps = !0, s._dragStartId = kr(s._dragStarted.bind(s, e, a)), Pe(document, "selectstart", s), Yi = !0, xi && be(document.body, "user-select", "none");
|
|
9676
9686
|
},
|
|
9677
9687
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
9678
9688
|
_onDragOver: function(a) {
|
|
9679
|
-
var e = this.el, s = a.target, i, r, o, l = this.options, n = l.group, d =
|
|
9689
|
+
var e = this.el, s = a.target, i, r, o, l = this.options, n = l.group, d = Ce.active, c = ur === n, u = l.sort, V = Yt || d, Y, v = this, g = !1;
|
|
9680
9690
|
if (hn)
|
|
9681
9691
|
return;
|
|
9682
9692
|
function F(B, U) {
|
|
@@ -9703,7 +9713,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9703
9713
|
function h(B) {
|
|
9704
9714
|
return F("dragOverCompleted", {
|
|
9705
9715
|
insertion: B
|
|
9706
|
-
}), B && (c ? d._hideClone() : d._showClone(v), v !== V && (Rt(oe, Yt ? Yt.options.ghostClass : d.options.ghostClass, !1), Rt(oe, l.ghostClass, !0)), Yt !== v && v !==
|
|
9716
|
+
}), B && (c ? d._hideClone() : d._showClone(v), v !== V && (Rt(oe, Yt ? Yt.options.ghostClass : d.options.ghostClass, !1), Rt(oe, l.ghostClass, !0)), Yt !== v && v !== Ce.active ? Yt = v : v === Ce.active && Yt && (Yt = null), V === v && (v._ignoreWhileAnimating = s), v.animateAll(function() {
|
|
9707
9717
|
F("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
|
|
9708
9718
|
}), v !== V && (V.animateAll(), V._ignoreWhileAnimating = null)), (s === oe && !oe.animated || s === e && !s.animated) && ($s = null), !l.dragoverBubble && !a.rootEl && s !== document && (oe.parentNode[Nt]._isOutsideThisEl(a.target), !B && qs(a)), !l.dragoverBubble && a.stopPropagation && a.stopPropagation(), g = !0;
|
|
9709
9719
|
}
|
|
@@ -9717,15 +9727,15 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9717
9727
|
originalEvent: a
|
|
9718
9728
|
});
|
|
9719
9729
|
}
|
|
9720
|
-
if (a.preventDefault !== void 0 && a.cancelable && a.preventDefault(), s = ua(s, l.draggable, e, !0), F("dragOver"),
|
|
9730
|
+
if (a.preventDefault !== void 0 && a.cancelable && a.preventDefault(), s = ua(s, l.draggable, e, !0), F("dragOver"), Ce.eventCanceled)
|
|
9721
9731
|
return g;
|
|
9722
9732
|
if (oe.contains(a.target) || s.animated && s.animatingX && s.animatingY || v._ignoreWhileAnimating === s)
|
|
9723
9733
|
return h(!1);
|
|
9724
9734
|
if (Br = !1, d && !l.disabled && (c ? u || (o = rt !== Qe) : Yt === this || (this.lastPutMode = ur.checkPull(this, d, oe, a)) && n.checkPut(this, d, oe, a))) {
|
|
9725
|
-
if (Y = this._getDirection(a, s) === "vertical", i = ct(oe), F("dragOverValid"),
|
|
9735
|
+
if (Y = this._getDirection(a, s) === "vertical", i = ct(oe), F("dragOverValid"), Ce.eventCanceled)
|
|
9726
9736
|
return g;
|
|
9727
9737
|
if (o)
|
|
9728
|
-
return rt = Qe, b(), this._hideClone(), F("revert"),
|
|
9738
|
+
return rt = Qe, b(), this._hideClone(), F("revert"), Ce.eventCanceled || (Cs ? Qe.insertBefore(oe, Cs) : Qe.appendChild(oe)), h(!0);
|
|
9729
9739
|
var X = jn(e, l.draggable);
|
|
9730
9740
|
if (!X || VF(a, Y, this) && !X.animated) {
|
|
9731
9741
|
if (X === oe)
|
|
@@ -9747,7 +9757,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9747
9757
|
var w = Qt(oe);
|
|
9748
9758
|
do
|
|
9749
9759
|
w -= k, M = rt.children[w];
|
|
9750
|
-
while (M && (
|
|
9760
|
+
while (M && (be(M, "display") === "none" || M === ke));
|
|
9751
9761
|
}
|
|
9752
9762
|
if (k === 0 || M === s)
|
|
9753
9763
|
return h(!1);
|
|
@@ -9775,11 +9785,11 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9775
9785
|
var e = this.el, s = this.options;
|
|
9776
9786
|
if (zt = Qt(oe), Za = Qt(oe, s.draggable), Tt("drop", this, {
|
|
9777
9787
|
evt: a
|
|
9778
|
-
}), rt = oe && oe.parentNode, zt = Qt(oe), Za = Qt(oe, s.draggable),
|
|
9788
|
+
}), rt = oe && oe.parentNode, zt = Qt(oe), Za = Qt(oe, s.draggable), Ce.eventCanceled) {
|
|
9779
9789
|
this._nulling();
|
|
9780
9790
|
return;
|
|
9781
9791
|
}
|
|
9782
|
-
Ps = !1, cr = !1, _i = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Fn(this.cloneId), Fn(this._dragStartId), this.nativeDraggable && (Be(document, "drop", this), Be(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), xi &&
|
|
9792
|
+
Ps = !1, cr = !1, _i = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Fn(this.cloneId), Fn(this._dragStartId), this.nativeDraggable && (Be(document, "drop", this), Be(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), xi && be(document.body, "user-select", ""), be(oe, "transform", ""), a && (Yi && (a.cancelable && a.preventDefault(), !s.dropBubble && a.stopPropagation()), ke && ke.parentNode && ke.parentNode.removeChild(ke), (Qe === rt || Yt && Yt.lastPutMode !== "clone") && st && st.parentNode && st.parentNode.removeChild(st), oe && (this.nativeDraggable && Be(oe, "dragend", this), Ro(oe), oe.style["will-change"] = "", Yi && !Ps && Rt(oe, Yt ? Yt.options.ghostClass : this.options.ghostClass, !1), Rt(oe, this.options.chosenClass, !1), It({
|
|
9783
9793
|
sortable: this,
|
|
9784
9794
|
name: "unchoose",
|
|
9785
9795
|
toEl: rt,
|
|
@@ -9818,7 +9828,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9818
9828
|
name: "sort",
|
|
9819
9829
|
toEl: rt,
|
|
9820
9830
|
originalEvent: a
|
|
9821
|
-
})),
|
|
9831
|
+
})), Ce.active && ((zt == null || zt === -1) && (zt = Os, Za = ki), It({
|
|
9822
9832
|
sortable: this,
|
|
9823
9833
|
name: "end",
|
|
9824
9834
|
toEl: rt,
|
|
@@ -9826,7 +9836,7 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9826
9836
|
}), this.save()))), this._nulling();
|
|
9827
9837
|
},
|
|
9828
9838
|
_nulling: function() {
|
|
9829
|
-
Tt("nulling", this), Qe = oe = rt = ke = Cs = st = xr = Ja = gs = la = Yi = zt = Za = Os = ki = $s = Ii = Yt = ur =
|
|
9839
|
+
Tt("nulling", this), Qe = oe = rt = ke = Cs = st = xr = Ja = gs = la = Yi = zt = Za = Os = ki = $s = Ii = Yt = ur = Ce.dragged = Ce.ghost = Ce.clone = Ce.active = null, Or.forEach(function(a) {
|
|
9830
9840
|
a.checked = !0;
|
|
9831
9841
|
}), Or.length = Bo = Po = 0;
|
|
9832
9842
|
},
|
|
@@ -9908,9 +9918,9 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9908
9918
|
},
|
|
9909
9919
|
_hideClone: function() {
|
|
9910
9920
|
if (!Ja) {
|
|
9911
|
-
if (Tt("hideClone", this),
|
|
9921
|
+
if (Tt("hideClone", this), Ce.eventCanceled)
|
|
9912
9922
|
return;
|
|
9913
|
-
|
|
9923
|
+
be(st, "display", "none"), this.options.removeCloneOnHide && st.parentNode && st.parentNode.removeChild(st), Ja = !0;
|
|
9914
9924
|
}
|
|
9915
9925
|
},
|
|
9916
9926
|
_showClone: function(a) {
|
|
@@ -9919,9 +9929,9 @@ be.prototype = /** @lends Sortable.prototype */
|
|
|
9919
9929
|
return;
|
|
9920
9930
|
}
|
|
9921
9931
|
if (Ja) {
|
|
9922
|
-
if (Tt("showClone", this),
|
|
9932
|
+
if (Tt("showClone", this), Ce.eventCanceled)
|
|
9923
9933
|
return;
|
|
9924
|
-
oe.parentNode == Qe && !this.options.group.revertClone ? Qe.insertBefore(st, oe) : Cs ? Qe.insertBefore(st, Cs) : Qe.appendChild(st), this.options.group.revertClone && this.animate(oe, st),
|
|
9934
|
+
oe.parentNode == Qe && !this.options.group.revertClone ? Qe.insertBefore(st, oe) : Cs ? Qe.insertBefore(st, Cs) : Qe.appendChild(st), this.options.group.revertClone && this.animate(oe, st), be(st, "display", ""), Ja = !1;
|
|
9925
9935
|
}
|
|
9926
9936
|
}
|
|
9927
9937
|
};
|
|
@@ -9984,12 +9994,12 @@ function Fn(t) {
|
|
|
9984
9994
|
return clearTimeout(t);
|
|
9985
9995
|
}
|
|
9986
9996
|
mo && Pe(document, "touchmove", function(t) {
|
|
9987
|
-
(
|
|
9997
|
+
(Ce.active || Ps) && t.cancelable && t.preventDefault();
|
|
9988
9998
|
});
|
|
9989
|
-
|
|
9999
|
+
Ce.utils = {
|
|
9990
10000
|
on: Pe,
|
|
9991
10001
|
off: Be,
|
|
9992
|
-
css:
|
|
10002
|
+
css: be,
|
|
9993
10003
|
find: zu,
|
|
9994
10004
|
is: function(a, e) {
|
|
9995
10005
|
return !!ua(a, e, a, !1);
|
|
@@ -10005,22 +10015,22 @@ be.utils = {
|
|
|
10005
10015
|
detectDirection: Wu,
|
|
10006
10016
|
getChild: ti
|
|
10007
10017
|
};
|
|
10008
|
-
|
|
10018
|
+
Ce.get = function(t) {
|
|
10009
10019
|
return t[Nt];
|
|
10010
10020
|
};
|
|
10011
|
-
|
|
10021
|
+
Ce.mount = function() {
|
|
10012
10022
|
for (var t = arguments.length, a = new Array(t), e = 0; e < t; e++)
|
|
10013
10023
|
a[e] = arguments[e];
|
|
10014
10024
|
a[0].constructor === Array && (a = a[0]), a.forEach(function(s) {
|
|
10015
10025
|
if (!s.prototype || !s.prototype.constructor)
|
|
10016
10026
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(s));
|
|
10017
|
-
s.utils && (
|
|
10027
|
+
s.utils && (Ce.utils = Ca(Ca({}, Ce.utils), s.utils)), Ui.mount(s);
|
|
10018
10028
|
});
|
|
10019
10029
|
};
|
|
10020
|
-
|
|
10021
|
-
return new
|
|
10030
|
+
Ce.create = function(t, a) {
|
|
10031
|
+
return new Ce(t, a);
|
|
10022
10032
|
};
|
|
10023
|
-
|
|
10033
|
+
Ce.version = Zh;
|
|
10024
10034
|
var ut = [], Xi, gn, qn = !1, zo, Lo, Rr, Ai;
|
|
10025
10035
|
function gF() {
|
|
10026
10036
|
function t() {
|
|
@@ -10088,16 +10098,16 @@ var No = Lu(function(t, a, e, s) {
|
|
|
10088
10098
|
gn !== e && (gn = e, Ir(), Xi = a.scroll, c = a.scrollFn, Xi === !0 && (Xi = as(e, !0)));
|
|
10089
10099
|
var u = 0, V = Xi;
|
|
10090
10100
|
do {
|
|
10091
|
-
var Y = V, v = ct(Y), g = v.top, F = v.bottom, b = v.left, h = v.right, A = v.width, X = v.height, x = void 0, k = void 0, T = Y.scrollWidth, N = Y.scrollHeight, H =
|
|
10101
|
+
var Y = V, v = ct(Y), g = v.top, F = v.bottom, b = v.left, h = v.right, A = v.width, X = v.height, x = void 0, k = void 0, T = Y.scrollWidth, N = Y.scrollHeight, H = be(Y), j = Y.scrollLeft, _ = Y.scrollTop;
|
|
10092
10102
|
Y === n ? (x = A < T && (H.overflowX === "auto" || H.overflowX === "scroll" || H.overflowX === "visible"), k = X < N && (H.overflowY === "auto" || H.overflowY === "scroll" || H.overflowY === "visible")) : (x = A < T && (H.overflowX === "auto" || H.overflowX === "scroll"), k = X < N && (H.overflowY === "auto" || H.overflowY === "scroll"));
|
|
10093
10103
|
var O = x && (Math.abs(h - i) <= o && j + A < T) - (Math.abs(b - i) <= o && !!j), M = k && (Math.abs(F - r) <= o && _ + X < N) - (Math.abs(g - r) <= o && !!_);
|
|
10094
10104
|
if (!ut[u])
|
|
10095
10105
|
for (var w = 0; w <= u; w++)
|
|
10096
10106
|
ut[w] || (ut[w] = {});
|
|
10097
10107
|
(ut[u].vx != O || ut[u].vy != M || ut[u].el !== Y) && (ut[u].el = Y, ut[u].vx = O, ut[u].vy = M, clearInterval(ut[u].pid), (O != 0 || M != 0) && (d = !0, ut[u].pid = setInterval((function() {
|
|
10098
|
-
s && this.layer === 0 &&
|
|
10108
|
+
s && this.layer === 0 && Ce.active._onTouchMove(Rr);
|
|
10099
10109
|
var y = ut[this.layer].vy ? ut[this.layer].vy * l : 0, C = ut[this.layer].vx ? ut[this.layer].vx * l : 0;
|
|
10100
|
-
typeof c == "function" && c.call(
|
|
10110
|
+
typeof c == "function" && c.call(Ce.dragged.parentNode[Nt], C, y, t, Rr, ut[this.layer].el) !== "continue" || Nu(ut[this.layer].el, C, y);
|
|
10101
10111
|
}).bind({
|
|
10102
10112
|
layer: u
|
|
10103
10113
|
}), 24))), u++;
|
|
@@ -10147,8 +10157,8 @@ Wn.prototype = {
|
|
|
10147
10157
|
$a(Wn, {
|
|
10148
10158
|
pluginName: "removeOnSpill"
|
|
10149
10159
|
});
|
|
10150
|
-
|
|
10151
|
-
|
|
10160
|
+
Ce.mount(new gF());
|
|
10161
|
+
Ce.mount(Wn, Hn);
|
|
10152
10162
|
function Gn(t, a, e = {}) {
|
|
10153
10163
|
let s;
|
|
10154
10164
|
const { document: i = Fm, ...r } = e, o = {
|
|
@@ -10157,7 +10167,7 @@ function Gn(t, a, e = {}) {
|
|
|
10157
10167
|
}
|
|
10158
10168
|
}, l = () => {
|
|
10159
10169
|
const c = typeof t == "string" ? i == null ? void 0 : i.querySelector(t) : hm(t);
|
|
10160
|
-
!c || s !== void 0 || (s = new
|
|
10170
|
+
!c || s !== void 0 || (s = new Ce(c, { ...o, ...r }));
|
|
10161
10171
|
}, n = () => {
|
|
10162
10172
|
s == null || s.destroy(), s = void 0;
|
|
10163
10173
|
}, d = (c, u) => {
|
|
@@ -10462,7 +10472,7 @@ const Zn = "a-sortable-", CF = ["id"], xF = { class: "a-sortable-widget__before"
|
|
|
10462
10472
|
}, {
|
|
10463
10473
|
default: f(() => [
|
|
10464
10474
|
m(re, { icon: "mdi-pencil" }),
|
|
10465
|
-
m(
|
|
10475
|
+
m(ye, {
|
|
10466
10476
|
anchor: "bottom",
|
|
10467
10477
|
activator: "parent",
|
|
10468
10478
|
text: "Edit"
|
|
@@ -10480,7 +10490,7 @@ const Zn = "a-sortable-", CF = ["id"], xF = { class: "a-sortable-widget__before"
|
|
|
10480
10490
|
}, {
|
|
10481
10491
|
default: f(() => [
|
|
10482
10492
|
m(re, { icon: "mdi-trash-can-outline" }),
|
|
10483
|
-
m(
|
|
10493
|
+
m(ye, {
|
|
10484
10494
|
anchor: "bottom",
|
|
10485
10495
|
activator: "parent",
|
|
10486
10496
|
text: "Remove"
|
|
@@ -10498,7 +10508,7 @@ const Zn = "a-sortable-", CF = ["id"], xF = { class: "a-sortable-widget__before"
|
|
|
10498
10508
|
}, {
|
|
10499
10509
|
default: f(() => [
|
|
10500
10510
|
m(re, { icon: "mdi-dots-vertical" }),
|
|
10501
|
-
m(
|
|
10511
|
+
m(ye, {
|
|
10502
10512
|
anchor: "bottom",
|
|
10503
10513
|
activator: "parent",
|
|
10504
10514
|
text: "More options"
|
|
@@ -10881,7 +10891,7 @@ const EF = ["data-id"], MF = { class: "a-sortable-nested-widget__nested" }, $F =
|
|
|
10881
10891
|
}, {
|
|
10882
10892
|
default: f(() => [
|
|
10883
10893
|
m(re, { icon: "mdi-pencil" }),
|
|
10884
|
-
m(
|
|
10894
|
+
m(ye, {
|
|
10885
10895
|
anchor: "bottom",
|
|
10886
10896
|
activator: "parent",
|
|
10887
10897
|
text: p(c)("common.sortable.edit")
|
|
@@ -10899,7 +10909,7 @@ const EF = ["data-id"], MF = { class: "a-sortable-nested-widget__nested" }, $F =
|
|
|
10899
10909
|
}, {
|
|
10900
10910
|
default: f(() => [
|
|
10901
10911
|
m(re, { icon: "mdi-trash-can-outline" }),
|
|
10902
|
-
m(
|
|
10912
|
+
m(ye, {
|
|
10903
10913
|
anchor: "bottom",
|
|
10904
10914
|
activator: "parent",
|
|
10905
10915
|
text: p(c)("common.sortable.remove")
|
|
@@ -10917,7 +10927,7 @@ const EF = ["data-id"], MF = { class: "a-sortable-nested-widget__nested" }, $F =
|
|
|
10917
10927
|
}, {
|
|
10918
10928
|
default: f(() => [
|
|
10919
10929
|
m(re, { icon: "mdi-dots-vertical" }),
|
|
10920
|
-
m(
|
|
10930
|
+
m(ye, {
|
|
10921
10931
|
anchor: "bottom",
|
|
10922
10932
|
activator: "parent",
|
|
10923
10933
|
text: p(c)("common.sortable.more")
|
|
@@ -11294,7 +11304,7 @@ const EF = ["data-id"], MF = { class: "a-sortable-nested-widget__nested" }, $F =
|
|
|
11294
11304
|
icon: "mdi-tune",
|
|
11295
11305
|
size: 16
|
|
11296
11306
|
}),
|
|
11297
|
-
m(
|
|
11307
|
+
m(ye, {
|
|
11298
11308
|
activator: "parent",
|
|
11299
11309
|
location: "bottom"
|
|
11300
11310
|
}, {
|
|
@@ -11357,7 +11367,7 @@ const EF = ["data-id"], MF = { class: "a-sortable-nested-widget__nested" }, $F =
|
|
|
11357
11367
|
}, {
|
|
11358
11368
|
default: f(() => [
|
|
11359
11369
|
m(re, { icon: "mdi-filter-remove-outline" }),
|
|
11360
|
-
m(
|
|
11370
|
+
m(ye, {
|
|
11361
11371
|
activator: "parent",
|
|
11362
11372
|
location: "bottom"
|
|
11363
11373
|
}, {
|
|
@@ -14124,7 +14134,7 @@ const F7 = { class: "w-100 text-right" }, rl = /* @__PURE__ */ W({
|
|
|
14124
14134
|
return (s, i) => (q(), P("div", {
|
|
14125
14135
|
style: $t(e.value)
|
|
14126
14136
|
}, [
|
|
14127
|
-
m(
|
|
14137
|
+
m(ye, {
|
|
14128
14138
|
activator: "parent",
|
|
14129
14139
|
location: "bottom"
|
|
14130
14140
|
}, {
|
|
@@ -14492,7 +14502,7 @@ const w7 = /* @__PURE__ */ W({
|
|
|
14492
14502
|
}, {
|
|
14493
14503
|
default: f(() => [
|
|
14494
14504
|
m(re, { icon: "mdi-plus" }),
|
|
14495
|
-
m(
|
|
14505
|
+
m(ye, {
|
|
14496
14506
|
activator: "parent",
|
|
14497
14507
|
location: "bottom"
|
|
14498
14508
|
}, {
|
|
@@ -14939,7 +14949,7 @@ const B7 = /* @__PURE__ */ W({
|
|
|
14939
14949
|
}, {
|
|
14940
14950
|
default: f(() => [
|
|
14941
14951
|
m(re, { icon: "mdi-plus" }),
|
|
14942
|
-
m(
|
|
14952
|
+
m(ye, {
|
|
14943
14953
|
activator: "parent",
|
|
14944
14954
|
location: "bottom"
|
|
14945
14955
|
}, {
|
|
@@ -17360,7 +17370,7 @@ const sX = { class: "d-flex flex-column" }, iX = {
|
|
|
17360
17370
|
}, {
|
|
17361
17371
|
default: f(() => [
|
|
17362
17372
|
m(re, { icon: "mdi-information-outline" }),
|
|
17363
|
-
m(
|
|
17373
|
+
m(ye, {
|
|
17364
17374
|
activator: "parent",
|
|
17365
17375
|
location: "bottom"
|
|
17366
17376
|
}, {
|
|
@@ -17382,7 +17392,7 @@ const sX = { class: "d-flex flex-column" }, iX = {
|
|
|
17382
17392
|
}, {
|
|
17383
17393
|
default: f(() => [
|
|
17384
17394
|
m(re, { icon: "mdi-close" }),
|
|
17385
|
-
m(
|
|
17395
|
+
m(ye, {
|
|
17386
17396
|
activator: "parent",
|
|
17387
17397
|
location: "bottom"
|
|
17388
17398
|
}, {
|
|
@@ -17905,7 +17915,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ W({
|
|
|
17905
17915
|
}, {
|
|
17906
17916
|
default: f(() => [
|
|
17907
17917
|
m(re, { icon: "mdi-close" }),
|
|
17908
|
-
m(
|
|
17918
|
+
m(ye, {
|
|
17909
17919
|
activator: "parent",
|
|
17910
17920
|
location: "bottom"
|
|
17911
17921
|
}, {
|
|
@@ -18154,7 +18164,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ W({
|
|
|
18154
18164
|
}, {
|
|
18155
18165
|
default: f(() => [
|
|
18156
18166
|
m(re, { icon: "mdi-information-outline" }),
|
|
18157
|
-
m(
|
|
18167
|
+
m(ye, {
|
|
18158
18168
|
activator: "parent",
|
|
18159
18169
|
location: "bottom"
|
|
18160
18170
|
}, {
|
|
@@ -18720,7 +18730,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ W({
|
|
|
18720
18730
|
}, {
|
|
18721
18731
|
default: f(() => [
|
|
18722
18732
|
m(re, { icon: "mdi-dots-horizontal" }),
|
|
18723
|
-
m(
|
|
18733
|
+
m(ye, {
|
|
18724
18734
|
activator: "parent",
|
|
18725
18735
|
location: "top"
|
|
18726
18736
|
}, {
|
|
@@ -19192,7 +19202,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ W({
|
|
|
19192
19202
|
}, {
|
|
19193
19203
|
default: f(() => [
|
|
19194
19204
|
m(re, { icon: "mdi-close-circle-outline" }),
|
|
19195
|
-
m(
|
|
19205
|
+
m(ye, {
|
|
19196
19206
|
activator: "parent",
|
|
19197
19207
|
location: "bottom"
|
|
19198
19208
|
}, {
|
|
@@ -19385,7 +19395,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ W({
|
|
|
19385
19395
|
}, {
|
|
19386
19396
|
default: f(() => [
|
|
19387
19397
|
m(re, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
19388
|
-
m(
|
|
19398
|
+
m(ye, {
|
|
19389
19399
|
activator: "parent",
|
|
19390
19400
|
location: "bottom"
|
|
19391
19401
|
}, {
|
|
@@ -19405,7 +19415,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ W({
|
|
|
19405
19415
|
}, {
|
|
19406
19416
|
default: f(() => [
|
|
19407
19417
|
m(re, { icon: "mdi-file-replace-outline" }),
|
|
19408
|
-
m(
|
|
19418
|
+
m(ye, {
|
|
19409
19419
|
activator: "parent",
|
|
19410
19420
|
location: "bottom"
|
|
19411
19421
|
}, {
|
|
@@ -19584,7 +19594,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
19584
19594
|
}, {
|
|
19585
19595
|
default: f(() => [
|
|
19586
19596
|
m(re, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
19587
|
-
m(
|
|
19597
|
+
m(ye, {
|
|
19588
19598
|
activator: "parent",
|
|
19589
19599
|
location: "bottom"
|
|
19590
19600
|
}, {
|
|
@@ -19604,7 +19614,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
19604
19614
|
}, {
|
|
19605
19615
|
default: f(() => [
|
|
19606
19616
|
m(re, { icon: "mdi-file-replace-outline" }),
|
|
19607
|
-
m(
|
|
19617
|
+
m(ye, {
|
|
19608
19618
|
activator: "parent",
|
|
19609
19619
|
location: "bottom"
|
|
19610
19620
|
}, {
|
|
@@ -19659,7 +19669,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
19659
19669
|
}, {
|
|
19660
19670
|
default: f(() => [
|
|
19661
19671
|
m(re, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
19662
|
-
m(
|
|
19672
|
+
m(ye, {
|
|
19663
19673
|
activator: "parent",
|
|
19664
19674
|
location: "bottom"
|
|
19665
19675
|
}, {
|
|
@@ -19679,7 +19689,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
19679
19689
|
}, {
|
|
19680
19690
|
default: f(() => [
|
|
19681
19691
|
m(re, { icon: "mdi-file-replace-outline" }),
|
|
19682
|
-
m(
|
|
19692
|
+
m(ye, {
|
|
19683
19693
|
activator: "parent",
|
|
19684
19694
|
location: "bottom"
|
|
19685
19695
|
}, {
|
|
@@ -20003,7 +20013,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
20003
20013
|
}, {
|
|
20004
20014
|
default: f(() => [
|
|
20005
20015
|
m(re, { icon: "mdi-content-save" }),
|
|
20006
|
-
m(
|
|
20016
|
+
m(ye, {
|
|
20007
20017
|
activator: "parent",
|
|
20008
20018
|
location: "bottom"
|
|
20009
20019
|
}, {
|
|
@@ -20031,7 +20041,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
20031
20041
|
}, G), {
|
|
20032
20042
|
default: f(() => [
|
|
20033
20043
|
m(re, { icon: "mdi-plus" }),
|
|
20034
|
-
m(
|
|
20044
|
+
m(ye, {
|
|
20035
20045
|
activator: "parent",
|
|
20036
20046
|
location: "bottom"
|
|
20037
20047
|
}, {
|
|
@@ -20062,7 +20072,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
20062
20072
|
}, {
|
|
20063
20073
|
default: f(() => [
|
|
20064
20074
|
m(re, { icon: "mdi-tag-text-outline" }),
|
|
20065
|
-
m(
|
|
20075
|
+
m(ye, {
|
|
20066
20076
|
activator: "parent",
|
|
20067
20077
|
location: "bottom"
|
|
20068
20078
|
}, {
|
|
@@ -23347,7 +23357,7 @@ const UK = {
|
|
|
23347
23357
|
})
|
|
23348
23358
|
});
|
|
23349
23359
|
async function aD() {
|
|
23350
|
-
(await import("./webfontloader-
|
|
23360
|
+
(await import("./webfontloader-cai9MmL3.js").then((a) => a.w)).load({
|
|
23351
23361
|
google: {
|
|
23352
23362
|
families: ["Roboto:100,300,400,500,700,900&display=swap"]
|
|
23353
23363
|
}
|
|
@@ -24040,4 +24050,4 @@ export {
|
|
|
24040
24050
|
OS as y,
|
|
24041
24051
|
Us as z
|
|
24042
24052
|
};
|
|
24043
|
-
//# sourceMappingURL=lib-
|
|
24053
|
+
//# sourceMappingURL=lib-amJ0xCN3.js.map
|