@das-fed/upf-ui 6.4.0-dev.125 → 6.4.0-dev.126
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/upf-ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.126",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/upf-ui": "6.4.0-dev.
|
|
29
|
+
"@das-fed/upf-ui": "6.4.0-dev.126",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/upf-cli": "6.4.0-dev.
|
|
60
|
-
"@das-fed/upf-utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/upf-web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/upf-cli": "6.4.0-dev.126",
|
|
60
|
+
"@das-fed/upf-utils": "6.4.0-dev.126",
|
|
61
|
+
"@das-fed/upf-web": "6.4.0-dev.126",
|
|
62
62
|
"@types/markdown-it": "^14.1.2",
|
|
63
63
|
"@wangeditor-next/editor": "5.6.31",
|
|
64
64
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -5,7 +5,7 @@ import { getVar as ut, setThemeRule as _i } from "@das-fed/upf-web/packages/them
|
|
|
5
5
|
import { ElInfiniteScroll as Ei } from "element-plus/es";
|
|
6
6
|
import "element-plus/es/components/base/style/css";
|
|
7
7
|
import "element-plus/es/components/infinite-scroll/style/css";
|
|
8
|
-
import { pushScopeId as Di, popScopeId as Ii, nextTick as et, withScopeId as Ti, createBlock as
|
|
8
|
+
import { pushScopeId as Di, popScopeId as Ii, nextTick as et, withScopeId as Ti, createBlock as le, openBlock as k, markRaw as Ci, shallowReactive as Oi, resolveComponent as Ai, resolveDirective as zi, withDirectives as Se, createElementBlock as W, normalizeClass as oe, createCommentVNode as G, createVNode as ki, renderSlot as he, resolveDynamicComponent as Rt, normalizeStyle as Jt, withCtx as tt, Fragment as _t, renderList as Et, mergeProps as Pi, toHandlers as Ni, ref as Pe, computed as Ne, onMounted as Zt, onBeforeUnmount as $i, watch as Ft, defineComponent as Mi, useCssVars as xi, createElementVNode as Ce, toDisplayString as Oe, unref as w, createTextVNode as Le } from "vue";
|
|
9
9
|
import { vDasTooltip as dt } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
10
10
|
import { DasButton as Vi } from "@das-fed/upf-ui/packages/components/button/index";
|
|
11
11
|
import { vOverlay as Ri } from "@das-fed/upf-ui/packages/components/overlay/index";
|
|
@@ -85,7 +85,7 @@ const Yi = {
|
|
|
85
85
|
tabindex: "-1"
|
|
86
86
|
};
|
|
87
87
|
Ii();
|
|
88
|
-
const Xi = /* @__PURE__ */ Bi((t, e, i, n, r, o) => (k(),
|
|
88
|
+
const Xi = /* @__PURE__ */ Bi((t, e, i, n, r, o) => (k(), le("div", Yi)));
|
|
89
89
|
at.render = Xi;
|
|
90
90
|
at.__scopeId = "data-v-b329ee4c";
|
|
91
91
|
at.__file = "src/components/ResizeObserver.vue";
|
|
@@ -530,10 +530,10 @@ var Pt = {
|
|
|
530
530
|
I.end += z;
|
|
531
531
|
}
|
|
532
532
|
if (i === null) {
|
|
533
|
-
let z, J = 0,
|
|
533
|
+
let z, J = 0, de = u - 1, F = ~~(u / 2), me;
|
|
534
534
|
do
|
|
535
|
-
|
|
536
|
-
while (F !==
|
|
535
|
+
me = F, z = c[F].accumulator, z < I.start ? J = F : F < u - 1 && c[F + 1].accumulator > I.start && (de = F), F = ~~((J + de) / 2);
|
|
536
|
+
while (F !== me);
|
|
537
537
|
for (F < 0 && (F = 0), g = F, V = c[u - 1].accumulator, D = F; D < u && c[D].accumulator < I.end; D++) ;
|
|
538
538
|
for (D === -1 ? D = s.length - 1 : (D++, D > u && (D = u)), O = g; O < u && N + c[O].accumulator < I.start; O++) ;
|
|
539
539
|
for (p = O; p < u && N + c[p].accumulator < I.end; p++) ;
|
|
@@ -643,10 +643,10 @@ const fn = {
|
|
|
643
643
|
};
|
|
644
644
|
function pn(t, e, i, n, r, o) {
|
|
645
645
|
const l = Ai("ResizeObserver"), a = zi("observe-visibility");
|
|
646
|
-
return
|
|
646
|
+
return Se((k(), W(
|
|
647
647
|
"div",
|
|
648
648
|
{
|
|
649
|
-
class:
|
|
649
|
+
class: oe(["vue-recycle-scroller", {
|
|
650
650
|
ready: r.ready,
|
|
651
651
|
"page-mode": i.pageMode,
|
|
652
652
|
[`direction-${t.direction}`]: !0
|
|
@@ -658,21 +658,21 @@ function pn(t, e, i, n, r, o) {
|
|
|
658
658
|
"div",
|
|
659
659
|
fn,
|
|
660
660
|
[
|
|
661
|
-
|
|
661
|
+
he(t.$slots, "before")
|
|
662
662
|
],
|
|
663
663
|
512
|
|
664
664
|
/* NEED_PATCH */
|
|
665
665
|
)) : G("v-if", !0),
|
|
666
|
-
(k(),
|
|
666
|
+
(k(), le(Rt(i.listTag), {
|
|
667
667
|
ref: "wrapper",
|
|
668
668
|
style: Jt({ [t.direction === "vertical" ? "minHeight" : "minWidth"]: r.totalSize + "px" }),
|
|
669
|
-
class:
|
|
669
|
+
class: oe(["vue-recycle-scroller__item-wrapper", i.listClass])
|
|
670
670
|
}, {
|
|
671
671
|
default: tt(() => [
|
|
672
672
|
(k(!0), W(
|
|
673
673
|
_t,
|
|
674
674
|
null,
|
|
675
|
-
Et(r.pool, (s) => (k(),
|
|
675
|
+
Et(r.pool, (s) => (k(), le(Rt(i.itemTag), Pi({
|
|
676
676
|
key: s.nr.id,
|
|
677
677
|
style: r.ready ? {
|
|
678
678
|
transform: `translate${t.direction === "vertical" ? "Y" : "X"}(${s.position}px) translate${t.direction === "vertical" ? "X" : "Y"}(${s.offset}px)`,
|
|
@@ -694,7 +694,7 @@ function pn(t, e, i, n, r, o) {
|
|
|
694
694
|
}
|
|
695
695
|
})), {
|
|
696
696
|
default: tt(() => [
|
|
697
|
-
|
|
697
|
+
he(t.$slots, "default", {
|
|
698
698
|
item: s.item,
|
|
699
699
|
index: s.nr.index,
|
|
700
700
|
active: s.nr.used
|
|
@@ -706,7 +706,7 @@ function pn(t, e, i, n, r, o) {
|
|
|
706
706
|
128
|
|
707
707
|
/* KEYED_FRAGMENT */
|
|
708
708
|
)),
|
|
709
|
-
|
|
709
|
+
he(t.$slots, "empty")
|
|
710
710
|
]),
|
|
711
711
|
_: 3
|
|
712
712
|
/* FORWARDED */
|
|
@@ -715,7 +715,7 @@ function pn(t, e, i, n, r, o) {
|
|
|
715
715
|
"div",
|
|
716
716
|
hn,
|
|
717
717
|
[
|
|
718
|
-
|
|
718
|
+
he(t.$slots, "after")
|
|
719
719
|
],
|
|
720
720
|
512
|
|
721
721
|
/* NEED_PATCH */
|
|
@@ -839,15 +839,15 @@ function gn(t, e, i) {
|
|
|
839
839
|
writable: !0
|
|
840
840
|
}) : t[e] = i, t;
|
|
841
841
|
}
|
|
842
|
-
function
|
|
843
|
-
return
|
|
842
|
+
function se() {
|
|
843
|
+
return se = Object.assign || function(t) {
|
|
844
844
|
for (var e = 1; e < arguments.length; e++) {
|
|
845
845
|
var i = arguments[e];
|
|
846
846
|
for (var n in i)
|
|
847
847
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
848
848
|
}
|
|
849
849
|
return t;
|
|
850
|
-
},
|
|
850
|
+
}, se.apply(this, arguments);
|
|
851
851
|
}
|
|
852
852
|
function vn(t, e) {
|
|
853
853
|
if (t == null) return {};
|
|
@@ -867,19 +867,19 @@ function bn(t, e) {
|
|
|
867
867
|
return i;
|
|
868
868
|
}
|
|
869
869
|
var yn = "1.15.6";
|
|
870
|
-
function
|
|
870
|
+
function ae(t) {
|
|
871
871
|
if (typeof window < "u" && window.navigator)
|
|
872
872
|
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
873
873
|
}
|
|
874
|
-
var
|
|
874
|
+
var ue = ae(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fe = ae(/Edge/i), Yt = ae(/firefox/i), $e = ae(/safari/i) && !ae(/chrome/i) && !ae(/android/i), Nt = ae(/iP(ad|od|hone)/i), ri = ae(/chrome/i) && ae(/android/i), oi = {
|
|
875
875
|
capture: !1,
|
|
876
876
|
passive: !1
|
|
877
877
|
};
|
|
878
878
|
function C(t, e, i) {
|
|
879
|
-
t.addEventListener(e, i, !
|
|
879
|
+
t.addEventListener(e, i, !ue && oi);
|
|
880
880
|
}
|
|
881
881
|
function T(t, e, i) {
|
|
882
|
-
t.removeEventListener(e, i, !
|
|
882
|
+
t.removeEventListener(e, i, !ue && oi);
|
|
883
883
|
}
|
|
884
884
|
function it(t, e) {
|
|
885
885
|
if (e) {
|
|
@@ -929,7 +929,7 @@ function b(t, e, i) {
|
|
|
929
929
|
!(e in n) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), n[e] = i + (typeof i == "string" ? "" : "px");
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
|
-
function
|
|
932
|
+
function De(t, e) {
|
|
933
933
|
var i = "";
|
|
934
934
|
if (typeof t == "string")
|
|
935
935
|
i = t;
|
|
@@ -958,7 +958,7 @@ function ne() {
|
|
|
958
958
|
function L(t, e, i, n, r) {
|
|
959
959
|
if (!(!t.getBoundingClientRect && t !== window)) {
|
|
960
960
|
var o, l, a, s, u, c, f;
|
|
961
|
-
if (t !== window && t.parentNode && t !== ne() ? (o = t.getBoundingClientRect(), l = o.top, a = o.left, s = o.bottom, u = o.right, c = o.height, f = o.width) : (l = 0, a = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, f = window.innerWidth), (e || i) && t !== window && (r = r || t.parentNode, !
|
|
961
|
+
if (t !== window && t.parentNode && t !== ne() ? (o = t.getBoundingClientRect(), l = o.top, a = o.left, s = o.bottom, u = o.right, c = o.height, f = o.width) : (l = 0, a = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, f = window.innerWidth), (e || i) && t !== window && (r = r || t.parentNode, !ue))
|
|
962
962
|
do
|
|
963
963
|
if (r && r.getBoundingClientRect && (b(r, "transform") !== "none" || i && b(r, "position") !== "static")) {
|
|
964
964
|
var m = r.getBoundingClientRect();
|
|
@@ -967,7 +967,7 @@ function L(t, e, i, n, r) {
|
|
|
967
967
|
}
|
|
968
968
|
while (r = r.parentNode);
|
|
969
969
|
if (n && t !== window) {
|
|
970
|
-
var E =
|
|
970
|
+
var E = De(r || t), _ = E && E.a, g = E && E.d;
|
|
971
971
|
E && (l /= g, a /= _, f /= _, c /= g, s = l + c, u = a + f);
|
|
972
972
|
}
|
|
973
973
|
return {
|
|
@@ -981,15 +981,15 @@ function L(t, e, i, n, r) {
|
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
983
|
function Wt(t, e, i) {
|
|
984
|
-
for (var n =
|
|
984
|
+
for (var n = pe(t, !0), r = L(t)[e]; n; ) {
|
|
985
985
|
var o = L(n)[i], l = void 0;
|
|
986
986
|
if (l = r >= o, !l) return n;
|
|
987
987
|
if (n === ne()) break;
|
|
988
|
-
n =
|
|
988
|
+
n = pe(n, !1);
|
|
989
989
|
}
|
|
990
990
|
return !1;
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Ie(t, e, i, n) {
|
|
993
993
|
for (var r = 0, o = 0, l = t.children; o < l.length; ) {
|
|
994
994
|
if (l[o].style.display !== "none" && l[o] !== y.ghost && (n || l[o] !== y.dragged) && ie(l[o], i.draggable, t, !1)) {
|
|
995
995
|
if (r === e)
|
|
@@ -1017,7 +1017,7 @@ function jt(t) {
|
|
|
1017
1017
|
var e = 0, i = 0, n = ne();
|
|
1018
1018
|
if (t)
|
|
1019
1019
|
do {
|
|
1020
|
-
var r =
|
|
1020
|
+
var r = De(t), o = r.a, l = r.d;
|
|
1021
1021
|
e += t.scrollLeft * o, i += t.scrollTop * l;
|
|
1022
1022
|
} while (t !== n && (t = t.parentNode));
|
|
1023
1023
|
return [e, i];
|
|
@@ -1030,7 +1030,7 @@ function wn(t, e) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
return -1;
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function pe(t, e) {
|
|
1034
1034
|
if (!t || !t.getBoundingClientRect) return ne();
|
|
1035
1035
|
var i = t, n = !1;
|
|
1036
1036
|
do
|
|
@@ -1100,7 +1100,7 @@ function En() {
|
|
|
1100
1100
|
});
|
|
1101
1101
|
var o = re({}, t[t.length - 1].rect);
|
|
1102
1102
|
if (r.thisAnimationDuration) {
|
|
1103
|
-
var l =
|
|
1103
|
+
var l = De(r, !0);
|
|
1104
1104
|
l && (o.top -= l.f, o.left -= l.e);
|
|
1105
1105
|
}
|
|
1106
1106
|
r.fromRect = o;
|
|
@@ -1124,7 +1124,7 @@ function En() {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
var o = !1, l = 0;
|
|
1126
1126
|
t.forEach(function(a) {
|
|
1127
|
-
var s = 0, u = a.target, c = u.fromRect, f = L(u), m = u.prevFromRect, E = u.prevToRect, _ = a.rect, g =
|
|
1127
|
+
var s = 0, u = a.target, c = u.fromRect, f = L(u), m = u.prevFromRect, E = u.prevToRect, _ = a.rect, g = De(u, !0);
|
|
1128
1128
|
g && (f.top -= g.f, f.left -= g.e), u.toRect = f, u.thisAnimationDuration && ht(m, f) && !ht(c, f) && // Make sure animatingRect is on line between toRect & fromRect
|
|
1129
1129
|
(_.top - f.top) / (_.left - f.left) === (c.top - f.top) / (c.left - f.left) && (s = In(_, m, E, r.options)), ht(f, c) || (u.prevFromRect = c, u.prevToRect = f, s || (s = r.options.animation), r.animate(u, _, f, s)), s && (o = !0, l = Math.max(l, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
1130
1130
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
@@ -1136,7 +1136,7 @@ function En() {
|
|
|
1136
1136
|
animate: function(n, r, o, l) {
|
|
1137
1137
|
if (l) {
|
|
1138
1138
|
b(n, "transition", ""), b(n, "transform", "");
|
|
1139
|
-
var a =
|
|
1139
|
+
var a = De(this.el), s = a && a.a, u = a && a.d, c = (r.left - o.left) / (s || 1), f = (r.top - o.top) / (u || 1);
|
|
1140
1140
|
n.animatingX = !!c, n.animatingY = !!f, b(n, "transform", "translate3d(" + c + "px," + f + "px,0)"), this.forRepaintDummy = Dn(n), b(n, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), b(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
|
|
1141
1141
|
b(n, "transition", ""), b(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
|
|
1142
1142
|
}, l);
|
|
@@ -1150,16 +1150,16 @@ function Dn(t) {
|
|
|
1150
1150
|
function In(t, e, i, n) {
|
|
1151
1151
|
return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - i.top, 2) + Math.pow(e.left - i.left, 2)) * n.animation;
|
|
1152
1152
|
}
|
|
1153
|
-
var
|
|
1153
|
+
var ye = [], pt = {
|
|
1154
1154
|
initializeByDefault: !0
|
|
1155
1155
|
}, He = {
|
|
1156
1156
|
mount: function(e) {
|
|
1157
1157
|
for (var i in pt)
|
|
1158
1158
|
pt.hasOwnProperty(i) && !(i in e) && (e[i] = pt[i]);
|
|
1159
|
-
|
|
1159
|
+
ye.forEach(function(n) {
|
|
1160
1160
|
if (n.pluginName === e.pluginName)
|
|
1161
1161
|
throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
|
|
1162
|
-
}),
|
|
1162
|
+
}), ye.push(e);
|
|
1163
1163
|
},
|
|
1164
1164
|
pluginEvent: function(e, i, n) {
|
|
1165
1165
|
var r = this;
|
|
@@ -1167,7 +1167,7 @@ var we = [], pt = {
|
|
|
1167
1167
|
r.eventCanceled = !0;
|
|
1168
1168
|
};
|
|
1169
1169
|
var o = e + "Global";
|
|
1170
|
-
|
|
1170
|
+
ye.forEach(function(l) {
|
|
1171
1171
|
i[l.pluginName] && (i[l.pluginName][o] && i[l.pluginName][o](re({
|
|
1172
1172
|
sortable: i
|
|
1173
1173
|
}, n)), i.options[l.pluginName] && i[l.pluginName][e] && i[l.pluginName][e](re({
|
|
@@ -1176,11 +1176,11 @@ var we = [], pt = {
|
|
|
1176
1176
|
});
|
|
1177
1177
|
},
|
|
1178
1178
|
initializePlugins: function(e, i, n, r) {
|
|
1179
|
-
|
|
1179
|
+
ye.forEach(function(a) {
|
|
1180
1180
|
var s = a.pluginName;
|
|
1181
1181
|
if (!(!e.options[s] && !a.initializeByDefault)) {
|
|
1182
1182
|
var u = new a(e, i, e.options);
|
|
1183
|
-
u.sortable = e, u.options = e.options, e[s] = u,
|
|
1183
|
+
u.sortable = e, u.options = e.options, e[s] = u, se(n, u.defaults);
|
|
1184
1184
|
}
|
|
1185
1185
|
});
|
|
1186
1186
|
for (var o in e.options)
|
|
@@ -1191,13 +1191,13 @@ var we = [], pt = {
|
|
|
1191
1191
|
},
|
|
1192
1192
|
getEventProperties: function(e, i) {
|
|
1193
1193
|
var n = {};
|
|
1194
|
-
return
|
|
1195
|
-
typeof r.eventProperties == "function" &&
|
|
1194
|
+
return ye.forEach(function(r) {
|
|
1195
|
+
typeof r.eventProperties == "function" && se(n, r.eventProperties.call(i[r.pluginName], e));
|
|
1196
1196
|
}), n;
|
|
1197
1197
|
},
|
|
1198
1198
|
modifyOption: function(e, i, n) {
|
|
1199
1199
|
var r;
|
|
1200
|
-
return
|
|
1200
|
+
return ye.forEach(function(o) {
|
|
1201
1201
|
e[o.pluginName] && o.optionListeners && typeof o.optionListeners[i] == "function" && (r = o.optionListeners[i].call(e[o.pluginName], n));
|
|
1202
1202
|
}), r;
|
|
1203
1203
|
}
|
|
@@ -1206,7 +1206,7 @@ function Tn(t) {
|
|
|
1206
1206
|
var e = t.sortable, i = t.rootEl, n = t.name, r = t.targetEl, o = t.cloneEl, l = t.toEl, a = t.fromEl, s = t.oldIndex, u = t.newIndex, c = t.oldDraggableIndex, f = t.newDraggableIndex, m = t.originalEvent, E = t.putSortable, _ = t.extraEventProperties;
|
|
1207
1207
|
if (e = e || i && i[q], !!e) {
|
|
1208
1208
|
var g, D = e.options, V = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
|
1209
|
-
window.CustomEvent && !
|
|
1209
|
+
window.CustomEvent && !ue && !Fe ? g = new CustomEvent(n, {
|
|
1210
1210
|
bubbles: !0,
|
|
1211
1211
|
cancelable: !0
|
|
1212
1212
|
}) : (g = document.createEvent("Event"), g.initEvent(n, !0, !0)), g.to = l || i, g.from = a || i, g.item = r || i, g.clone = o, g.oldIndex = s, g.newIndex = u, g.oldDraggableIndex = c, g.newDraggableIndex = f, g.originalEvent = m, g.pullMode = E ? E.lastPutMode : void 0;
|
|
@@ -1223,25 +1223,25 @@ var Cn = ["evt"], U = function(e, i) {
|
|
|
1223
1223
|
parentEl: x,
|
|
1224
1224
|
ghostEl: S,
|
|
1225
1225
|
rootEl: P,
|
|
1226
|
-
nextEl:
|
|
1226
|
+
nextEl: be,
|
|
1227
1227
|
lastDownEl: qe,
|
|
1228
1228
|
cloneEl: $,
|
|
1229
|
-
cloneHidden:
|
|
1229
|
+
cloneHidden: fe,
|
|
1230
1230
|
dragStarted: Ae,
|
|
1231
1231
|
putSortable: X,
|
|
1232
1232
|
activeSortable: y.active,
|
|
1233
1233
|
originalEvent: r,
|
|
1234
|
-
oldIndex:
|
|
1234
|
+
oldIndex: Ee,
|
|
1235
1235
|
oldDraggableIndex: xe,
|
|
1236
1236
|
newIndex: Q,
|
|
1237
|
-
newDraggableIndex:
|
|
1237
|
+
newDraggableIndex: ce,
|
|
1238
1238
|
hideGhostForTarget: mi,
|
|
1239
1239
|
unhideGhostForTarget: gi,
|
|
1240
1240
|
cloneNowHidden: function() {
|
|
1241
|
-
|
|
1241
|
+
fe = !0;
|
|
1242
1242
|
},
|
|
1243
1243
|
cloneNowShown: function() {
|
|
1244
|
-
|
|
1244
|
+
fe = !1;
|
|
1245
1245
|
},
|
|
1246
1246
|
dispatchSortableEvent: function(a) {
|
|
1247
1247
|
K({
|
|
@@ -1258,21 +1258,21 @@ function K(t) {
|
|
|
1258
1258
|
cloneEl: $,
|
|
1259
1259
|
targetEl: h,
|
|
1260
1260
|
rootEl: P,
|
|
1261
|
-
oldIndex:
|
|
1261
|
+
oldIndex: Ee,
|
|
1262
1262
|
oldDraggableIndex: xe,
|
|
1263
1263
|
newIndex: Q,
|
|
1264
|
-
newDraggableIndex:
|
|
1264
|
+
newDraggableIndex: ce
|
|
1265
1265
|
}, t));
|
|
1266
1266
|
}
|
|
1267
|
-
var h, x, S, P,
|
|
1267
|
+
var h, x, S, P, be, qe, $, fe, Ee, Q, xe, ce, Be, X, _e = !1, nt = !1, rt = [], ge, te, mt, gt, Kt, Gt, Ae, we, Ve, Re = !1, Ye = !1, Je, j, vt = [], Ot = !1, ot = [], st = typeof document < "u", Xe = Nt, Ut = Fe || ue ? "cssFloat" : "float", On = st && !ri && !Nt && "draggable" in document.createElement("div"), fi = function() {
|
|
1268
1268
|
if (st) {
|
|
1269
|
-
if (
|
|
1269
|
+
if (ue)
|
|
1270
1270
|
return !1;
|
|
1271
1271
|
var t = document.createElement("x");
|
|
1272
1272
|
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
1273
1273
|
}
|
|
1274
1274
|
}(), hi = function(e, i) {
|
|
1275
|
-
var n = b(e), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o =
|
|
1275
|
+
var n = b(e), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o = Ie(e, 0, i), l = Ie(e, 1, i), a = o && b(o), s = l && b(l), u = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + L(o).width, c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + L(l).width;
|
|
1276
1276
|
if (n.display === "flex")
|
|
1277
1277
|
return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
1278
1278
|
if (n.display === "grid")
|
|
@@ -1324,7 +1324,7 @@ st && !ri && document.addEventListener("click", function(t) {
|
|
|
1324
1324
|
if (nt)
|
|
1325
1325
|
return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), nt = !1, !1;
|
|
1326
1326
|
}, !0);
|
|
1327
|
-
var
|
|
1327
|
+
var ve = function(e) {
|
|
1328
1328
|
if (h) {
|
|
1329
1329
|
e = e.touches ? e.touches[0] : e;
|
|
1330
1330
|
var i = zn(e.clientX, e.clientY);
|
|
@@ -1341,7 +1341,7 @@ var be = function(e) {
|
|
|
1341
1341
|
function y(t, e) {
|
|
1342
1342
|
if (!(t && t.nodeType && t.nodeType === 1))
|
|
1343
1343
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
|
|
1344
|
-
this.el = t, this.options = e =
|
|
1344
|
+
this.el = t, this.options = e = se({}, e), t[q] = this;
|
|
1345
1345
|
var i = {
|
|
1346
1346
|
group: null,
|
|
1347
1347
|
sort: !0,
|
|
@@ -1394,13 +1394,13 @@ function y(t, e) {
|
|
|
1394
1394
|
pi(e);
|
|
1395
1395
|
for (var r in this)
|
|
1396
1396
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
1397
|
-
this.nativeDraggable = e.forceFallback ? !1 : On, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? C(t, "pointerdown", this._onTapStart) : (C(t, "mousedown", this._onTapStart), C(t, "touchstart", this._onTapStart)), this.nativeDraggable && (C(t, "dragover", this), C(t, "dragenter", this)), rt.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []),
|
|
1397
|
+
this.nativeDraggable = e.forceFallback ? !1 : On, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? C(t, "pointerdown", this._onTapStart) : (C(t, "mousedown", this._onTapStart), C(t, "touchstart", this._onTapStart)), this.nativeDraggable && (C(t, "dragover", this), C(t, "dragenter", this)), rt.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), se(this, En());
|
|
1398
1398
|
}
|
|
1399
1399
|
y.prototype = /** @lends Sortable.prototype */
|
|
1400
1400
|
{
|
|
1401
1401
|
constructor: y,
|
|
1402
1402
|
_isOutsideThisEl: function(e) {
|
|
1403
|
-
!this.el.contains(e) && e !== this.el && (
|
|
1403
|
+
!this.el.contains(e) && e !== this.el && (we = null);
|
|
1404
1404
|
},
|
|
1405
1405
|
_getDirection: function(e, i) {
|
|
1406
1406
|
return typeof this.options.direction == "function" ? this.options.direction.call(this, e, i, h) : this.options.direction;
|
|
@@ -1409,7 +1409,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1409
1409
|
if (e.cancelable) {
|
|
1410
1410
|
var i = this, n = this.el, r = this.options, o = r.preventOnFilter, l = e.type, a = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (a || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, c = r.filter;
|
|
1411
1411
|
if (Fn(n), !h && !(/mousedown|pointerdown/.test(l) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && $e && s && s.tagName.toUpperCase() === "SELECT") && (s = ie(s, r.draggable, n, !1), !(s && s.animated) && qe !== s)) {
|
|
1412
|
-
if (
|
|
1412
|
+
if (Ee = ee(s), xe = ee(s, r.draggable), typeof c == "function") {
|
|
1413
1413
|
if (c.call(this, e, s, this)) {
|
|
1414
1414
|
K({
|
|
1415
1415
|
sortable: i,
|
|
@@ -1447,11 +1447,11 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1447
1447
|
var r = this, o = r.el, l = r.options, a = o.ownerDocument, s;
|
|
1448
1448
|
if (n && !h && n.parentNode === o) {
|
|
1449
1449
|
var u = L(n);
|
|
1450
|
-
if (P = o, h = n, x = h.parentNode,
|
|
1450
|
+
if (P = o, h = n, x = h.parentNode, be = h.nextSibling, qe = n, Be = l.group, y.dragged = h, ge = {
|
|
1451
1451
|
target: h,
|
|
1452
1452
|
clientX: (i || e).clientX,
|
|
1453
1453
|
clientY: (i || e).clientY
|
|
1454
|
-
}, Kt =
|
|
1454
|
+
}, Kt = ge.clientX - u.left, Gt = ge.clientY - u.top, this._lastX = (i || e).clientX, this._lastY = (i || e).clientY, h.style["will-change"] = "all", s = function() {
|
|
1455
1455
|
if (U("delayEnded", r, {
|
|
1456
1456
|
evt: e
|
|
1457
1457
|
}), y.eventCanceled) {
|
|
@@ -1465,9 +1465,9 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1465
1465
|
}), Z(h, l.chosenClass, !0);
|
|
1466
1466
|
}, l.ignore.split(",").forEach(function(c) {
|
|
1467
1467
|
ai(h, c.trim(), bt);
|
|
1468
|
-
}), C(a, "dragover",
|
|
1468
|
+
}), C(a, "dragover", ve), C(a, "mousemove", ve), C(a, "touchmove", ve), l.supportPointer ? (C(a, "pointerup", r._onDrop), !this.nativeDraggable && C(a, "pointercancel", r._onDrop)) : (C(a, "mouseup", r._onDrop), C(a, "touchend", r._onDrop), C(a, "touchcancel", r._onDrop)), Yt && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), U("delayStart", this, {
|
|
1469
1469
|
evt: e
|
|
1470
|
-
}), l.delay && (!l.delayOnTouchOnly || i) && (!this.nativeDraggable || !(Fe ||
|
|
1470
|
+
}), l.delay && (!l.delayOnTouchOnly || i) && (!this.nativeDraggable || !(Fe || ue))) {
|
|
1471
1471
|
if (y.eventCanceled) {
|
|
1472
1472
|
this._onDrop();
|
|
1473
1473
|
return;
|
|
@@ -1498,7 +1498,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1498
1498
|
}
|
|
1499
1499
|
},
|
|
1500
1500
|
_dragStarted: function(e, i) {
|
|
1501
|
-
if (
|
|
1501
|
+
if (_e = !1, P && h) {
|
|
1502
1502
|
U("dragStarted", this, {
|
|
1503
1503
|
evt: i
|
|
1504
1504
|
}), this.nativeDraggable && C(document, "dragover", kn);
|
|
@@ -1534,9 +1534,9 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1534
1534
|
}
|
|
1535
1535
|
},
|
|
1536
1536
|
_onTouchMove: function(e) {
|
|
1537
|
-
if (
|
|
1538
|
-
var i = this.options, n = i.fallbackTolerance, r = i.fallbackOffset, o = e.touches ? e.touches[0] : e, l = S &&
|
|
1539
|
-
if (!y.active && !
|
|
1537
|
+
if (ge) {
|
|
1538
|
+
var i = this.options, n = i.fallbackTolerance, r = i.fallbackOffset, o = e.touches ? e.touches[0] : e, l = S && De(S, !0), a = S && l && l.a, s = S && l && l.d, u = Xe && j && jt(j), c = (o.clientX - ge.clientX + r.x) / (a || 1) + (u ? u[0] - vt[0] : 0) / (a || 1), f = (o.clientY - ge.clientY + r.y) / (s || 1) + (u ? u[1] - vt[1] : 0) / (s || 1);
|
|
1539
|
+
if (!y.active && !_e) {
|
|
1540
1540
|
if (n && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < n)
|
|
1541
1541
|
return;
|
|
1542
1542
|
this._onDragStart(e, !0);
|
|
@@ -1580,14 +1580,14 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1580
1580
|
sortable: n,
|
|
1581
1581
|
name: "clone"
|
|
1582
1582
|
}));
|
|
1583
|
-
}), !i && Z(h, o.dragClass, !0), i ? (nt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (T(document, "mouseup", n._onDrop), T(document, "touchend", n._onDrop), T(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, h)), C(document, "drop", n), b(h, "transform", "translateZ(0)")),
|
|
1583
|
+
}), !i && Z(h, o.dragClass, !0), i ? (nt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (T(document, "mouseup", n._onDrop), T(document, "touchend", n._onDrop), T(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, h)), C(document, "drop", n), b(h, "transform", "translateZ(0)")), _e = !0, n._dragStartId = Ze(n._dragStarted.bind(n, i, e)), C(document, "selectstart", n), Ae = !0, window.getSelection().removeAllRanges(), $e && b(document.body, "user-select", "none");
|
|
1584
1584
|
},
|
|
1585
1585
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1586
1586
|
_onDragOver: function(e) {
|
|
1587
1587
|
var i = this.el, n = e.target, r, o, l, a = this.options, s = a.group, u = y.active, c = Be === s, f = a.sort, m = X || u, E, _ = this, g = !1;
|
|
1588
1588
|
if (Ot) return;
|
|
1589
|
-
function D(
|
|
1590
|
-
U(
|
|
1589
|
+
function D(Te, bi) {
|
|
1590
|
+
U(Te, _, re({
|
|
1591
1591
|
evt: e,
|
|
1592
1592
|
isOwner: c,
|
|
1593
1593
|
axis: E ? "vertical" : "horizontal",
|
|
@@ -1607,20 +1607,20 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1607
1607
|
function V() {
|
|
1608
1608
|
D("dragOverAnimationCapture"), _.captureAnimationState(), _ !== m && m.captureAnimationState();
|
|
1609
1609
|
}
|
|
1610
|
-
function O(
|
|
1610
|
+
function O(Te) {
|
|
1611
1611
|
return D("dragOverCompleted", {
|
|
1612
|
-
insertion:
|
|
1613
|
-
}),
|
|
1612
|
+
insertion: Te
|
|
1613
|
+
}), Te && (c ? u._hideClone() : u._showClone(_), _ !== m && (Z(h, X ? X.options.ghostClass : u.options.ghostClass, !1), Z(h, a.ghostClass, !0)), X !== _ && _ !== y.active ? X = _ : _ === y.active && X && (X = null), m === _ && (_._ignoreWhileAnimating = n), _.animateAll(function() {
|
|
1614
1614
|
D("dragOverAnimationComplete"), _._ignoreWhileAnimating = null;
|
|
1615
|
-
}), _ !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (n === h && !h.animated || n === i && !n.animated) && (
|
|
1615
|
+
}), _ !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (n === h && !h.animated || n === i && !n.animated) && (we = null), !a.dragoverBubble && !e.rootEl && n !== document && (h.parentNode[q]._isOutsideThisEl(e.target), !Te && ve(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), g = !0;
|
|
1616
1616
|
}
|
|
1617
1617
|
function p() {
|
|
1618
|
-
Q = ee(h),
|
|
1618
|
+
Q = ee(h), ce = ee(h, a.draggable), K({
|
|
1619
1619
|
sortable: _,
|
|
1620
1620
|
name: "change",
|
|
1621
1621
|
toEl: i,
|
|
1622
1622
|
newIndex: Q,
|
|
1623
|
-
newDraggableIndex:
|
|
1623
|
+
newDraggableIndex: ce,
|
|
1624
1624
|
originalEvent: e
|
|
1625
1625
|
});
|
|
1626
1626
|
}
|
|
@@ -1630,7 +1630,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1630
1630
|
if (nt = !1, u && !a.disabled && (c ? f || (l = x !== P) : X === this || (this.lastPutMode = Be.checkPull(this, u, h, e)) && s.checkPut(this, u, h, e))) {
|
|
1631
1631
|
if (E = this._getDirection(e, n) === "vertical", r = L(h), D("dragOverValid"), y.eventCanceled) return g;
|
|
1632
1632
|
if (l)
|
|
1633
|
-
return x = P, V(), this._hideClone(), D("revert"), y.eventCanceled || (
|
|
1633
|
+
return x = P, V(), this._hideClone(), D("revert"), y.eventCanceled || (be ? P.insertBefore(h, be) : P.appendChild(h)), O(!0);
|
|
1634
1634
|
var d = $t(i, a.draggable);
|
|
1635
1635
|
if (!d || Mn(e, E, this) && !d.animated) {
|
|
1636
1636
|
if (d === h)
|
|
@@ -1638,7 +1638,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1638
1638
|
if (d && i === e.target && (n = d), n && (o = L(n)), We(P, i, h, r, n, o, e, !!n) !== !1)
|
|
1639
1639
|
return V(), d && d.nextSibling ? i.insertBefore(h, d.nextSibling) : i.appendChild(h), x = i, p(), O(!0);
|
|
1640
1640
|
} else if (d && $n(e, E, this)) {
|
|
1641
|
-
var A =
|
|
1641
|
+
var A = Ie(i, 0, a, !0);
|
|
1642
1642
|
if (A === h)
|
|
1643
1643
|
return O(!1);
|
|
1644
1644
|
if (n = A, o = L(n), We(P, i, h, r, n, o, e, !1) !== !1)
|
|
@@ -1646,7 +1646,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1646
1646
|
} else if (n.parentNode === i) {
|
|
1647
1647
|
o = L(n);
|
|
1648
1648
|
var Y = 0, v, B = h.parentNode !== i, M = !An(h.animated && h.toRect || r, n.animated && n.toRect || o, E), I = E ? "top" : "left", R = Wt(n, "top", "top") || Wt(h, "top", "top"), N = R ? R.scrollTop : void 0;
|
|
1649
|
-
|
|
1649
|
+
we !== n && (v = o[I], Re = !1, Ye = !M && a.invertSwap || B), Y = xn(e, n, o, E, M ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Ye, we === n);
|
|
1650
1650
|
var z;
|
|
1651
1651
|
if (Y !== 0) {
|
|
1652
1652
|
var J = ee(h);
|
|
@@ -1656,12 +1656,12 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1656
1656
|
}
|
|
1657
1657
|
if (Y === 0 || z === n)
|
|
1658
1658
|
return O(!1);
|
|
1659
|
-
|
|
1660
|
-
var
|
|
1659
|
+
we = n, Ve = Y;
|
|
1660
|
+
var de = n.nextElementSibling, F = !1;
|
|
1661
1661
|
F = Y === 1;
|
|
1662
|
-
var
|
|
1663
|
-
if (
|
|
1664
|
-
return (
|
|
1662
|
+
var me = We(P, i, h, r, n, o, e, F);
|
|
1663
|
+
if (me !== !1)
|
|
1664
|
+
return (me === 1 || me === -1) && (F = me === 1), Ot = !0, setTimeout(Nn, 30), V(), F && !de ? i.appendChild(h) : n.parentNode.insertBefore(h, F ? de : n), R && ui(R, 0, N - R.scrollTop), x = h.parentNode, v !== void 0 && !Ye && (Je = Math.abs(v - L(n)[I])), p(), O(!0);
|
|
1665
1665
|
}
|
|
1666
1666
|
if (i.contains(h))
|
|
1667
1667
|
return O(!1);
|
|
@@ -1670,7 +1670,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1670
1670
|
},
|
|
1671
1671
|
_ignoreWhileAnimating: null,
|
|
1672
1672
|
_offMoveEvents: function() {
|
|
1673
|
-
T(document, "mousemove", this._onTouchMove), T(document, "touchmove", this._onTouchMove), T(document, "pointermove", this._onTouchMove), T(document, "dragover",
|
|
1673
|
+
T(document, "mousemove", this._onTouchMove), T(document, "touchmove", this._onTouchMove), T(document, "pointermove", this._onTouchMove), T(document, "dragover", ve), T(document, "mousemove", ve), T(document, "touchmove", ve);
|
|
1674
1674
|
},
|
|
1675
1675
|
_offUpEvents: function() {
|
|
1676
1676
|
var e = this.el.ownerDocument;
|
|
@@ -1678,13 +1678,13 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1678
1678
|
},
|
|
1679
1679
|
_onDrop: function(e) {
|
|
1680
1680
|
var i = this.el, n = this.options;
|
|
1681
|
-
if (Q = ee(h),
|
|
1681
|
+
if (Q = ee(h), ce = ee(h, n.draggable), U("drop", this, {
|
|
1682
1682
|
evt: e
|
|
1683
|
-
}), x = h && h.parentNode, Q = ee(h),
|
|
1683
|
+
}), x = h && h.parentNode, Q = ee(h), ce = ee(h, n.draggable), y.eventCanceled) {
|
|
1684
1684
|
this._nulling();
|
|
1685
1685
|
return;
|
|
1686
1686
|
}
|
|
1687
|
-
|
|
1687
|
+
_e = !1, Ye = !1, Re = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), At(this.cloneId), At(this._dragStartId), this.nativeDraggable && (T(document, "drop", this), T(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), $e && b(document.body, "user-select", ""), b(h, "transform", ""), e && (Ae && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), S && S.parentNode && S.parentNode.removeChild(S), (P === x || X && X.lastPutMode !== "clone") && $ && $.parentNode && $.parentNode.removeChild($), h && (this.nativeDraggable && T(h, "dragend", this), bt(h), h.style["will-change"] = "", Ae && !_e && Z(h, X ? X.options.ghostClass : this.options.ghostClass, !1), Z(h, this.options.chosenClass, !1), K({
|
|
1688
1688
|
sortable: this,
|
|
1689
1689
|
name: "unchoose",
|
|
1690
1690
|
toEl: x,
|
|
@@ -1713,7 +1713,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1713
1713
|
name: "sort",
|
|
1714
1714
|
toEl: x,
|
|
1715
1715
|
originalEvent: e
|
|
1716
|
-
})), X && X.save()) : Q !==
|
|
1716
|
+
})), X && X.save()) : Q !== Ee && Q >= 0 && (K({
|
|
1717
1717
|
sortable: this,
|
|
1718
1718
|
name: "update",
|
|
1719
1719
|
toEl: x,
|
|
@@ -1723,7 +1723,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1723
1723
|
name: "sort",
|
|
1724
1724
|
toEl: x,
|
|
1725
1725
|
originalEvent: e
|
|
1726
|
-
})), y.active && ((Q == null || Q === -1) && (Q =
|
|
1726
|
+
})), y.active && ((Q == null || Q === -1) && (Q = Ee, ce = xe), K({
|
|
1727
1727
|
sortable: this,
|
|
1728
1728
|
name: "end",
|
|
1729
1729
|
toEl: x,
|
|
@@ -1731,7 +1731,7 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1731
1731
|
}), this.save()))), this._nulling();
|
|
1732
1732
|
},
|
|
1733
1733
|
_nulling: function() {
|
|
1734
|
-
U("nulling", this), P = h = x = S =
|
|
1734
|
+
U("nulling", this), P = h = x = S = be = $ = qe = fe = ge = te = Ae = Q = ce = Ee = xe = we = Ve = X = Be = y.dragged = y.ghost = y.clone = y.active = null, ot.forEach(function(e) {
|
|
1735
1735
|
e.checked = !0;
|
|
1736
1736
|
}), ot.length = mt = gt = 0;
|
|
1737
1737
|
},
|
|
@@ -1812,9 +1812,9 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1812
1812
|
}), this._onDrop(), this._disableDelayedDragEvents(), rt.splice(rt.indexOf(this.el), 1), this.el = e = null;
|
|
1813
1813
|
},
|
|
1814
1814
|
_hideClone: function() {
|
|
1815
|
-
if (!
|
|
1815
|
+
if (!fe) {
|
|
1816
1816
|
if (U("hideClone", this), y.eventCanceled) return;
|
|
1817
|
-
b($, "display", "none"), this.options.removeCloneOnHide && $.parentNode && $.parentNode.removeChild($),
|
|
1817
|
+
b($, "display", "none"), this.options.removeCloneOnHide && $.parentNode && $.parentNode.removeChild($), fe = !0;
|
|
1818
1818
|
}
|
|
1819
1819
|
},
|
|
1820
1820
|
_showClone: function(e) {
|
|
@@ -1822,9 +1822,9 @@ y.prototype = /** @lends Sortable.prototype */
|
|
|
1822
1822
|
this._hideClone();
|
|
1823
1823
|
return;
|
|
1824
1824
|
}
|
|
1825
|
-
if (
|
|
1825
|
+
if (fe) {
|
|
1826
1826
|
if (U("showClone", this), y.eventCanceled) return;
|
|
1827
|
-
h.parentNode == P && !this.options.group.revertClone ? P.insertBefore($, h) :
|
|
1827
|
+
h.parentNode == P && !this.options.group.revertClone ? P.insertBefore($, h) : be ? P.insertBefore($, be) : P.appendChild($), this.options.group.revertClone && this.animate(h, $), b($, "display", ""), fe = !1;
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
1830
|
};
|
|
@@ -1833,7 +1833,7 @@ function Pn(t) {
|
|
|
1833
1833
|
}
|
|
1834
1834
|
function We(t, e, i, n, r, o, l, a) {
|
|
1835
1835
|
var s, u = t[q], c = u.options.onMove, f;
|
|
1836
|
-
return window.CustomEvent && !
|
|
1836
|
+
return window.CustomEvent && !ue && !Fe ? s = new CustomEvent("move", {
|
|
1837
1837
|
bubbles: !0,
|
|
1838
1838
|
cancelable: !0
|
|
1839
1839
|
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = t, s.dragged = i, s.draggedRect = n, s.related = r || e, s.relatedRect = o || L(e), s.willInsertAfter = a, s.originalEvent = l, t.dispatchEvent(s), c && (f = c.call(u, s, l)), f;
|
|
@@ -1845,7 +1845,7 @@ function Nn() {
|
|
|
1845
1845
|
Ot = !1;
|
|
1846
1846
|
}
|
|
1847
1847
|
function $n(t, e, i) {
|
|
1848
|
-
var n = L(
|
|
1848
|
+
var n = L(Ie(i.el, 0, i.options, !0)), r = ci(i.el, i.options, S), o = 10;
|
|
1849
1849
|
return e ? t.clientX < r.left - o || t.clientY < n.top && t.clientX < n.right : t.clientY < r.top - o || t.clientY < n.bottom && t.clientX < n.left;
|
|
1850
1850
|
}
|
|
1851
1851
|
function Mn(t, e, i) {
|
|
@@ -1887,7 +1887,7 @@ function At(t) {
|
|
|
1887
1887
|
return clearTimeout(t);
|
|
1888
1888
|
}
|
|
1889
1889
|
st && C(document, "touchmove", function(t) {
|
|
1890
|
-
(y.active ||
|
|
1890
|
+
(y.active || _e) && t.cancelable && t.preventDefault();
|
|
1891
1891
|
});
|
|
1892
1892
|
y.utils = {
|
|
1893
1893
|
on: C,
|
|
@@ -1906,7 +1906,7 @@ y.utils = {
|
|
|
1906
1906
|
nextTick: Ze,
|
|
1907
1907
|
cancelNextTick: At,
|
|
1908
1908
|
detectDirection: hi,
|
|
1909
|
-
getChild:
|
|
1909
|
+
getChild: Ie,
|
|
1910
1910
|
expando: q
|
|
1911
1911
|
};
|
|
1912
1912
|
y.get = function(t) {
|
|
@@ -1958,22 +1958,22 @@ function Hn() {
|
|
|
1958
1958
|
},
|
|
1959
1959
|
_handleAutoScroll: function(i, n) {
|
|
1960
1960
|
var r = this, o = (i.touches ? i.touches[0] : i).clientX, l = (i.touches ? i.touches[0] : i).clientY, a = document.elementFromPoint(o, l);
|
|
1961
|
-
if (lt = i, n || this.options.forceAutoScrollFallback || Fe ||
|
|
1961
|
+
if (lt = i, n || this.options.forceAutoScrollFallback || Fe || ue || $e) {
|
|
1962
1962
|
St(i, this.options, a, n);
|
|
1963
|
-
var s =
|
|
1963
|
+
var s = pe(a, !0);
|
|
1964
1964
|
kt && (!ke || o !== yt || l !== wt) && (ke && qt(), ke = setInterval(function() {
|
|
1965
|
-
var u =
|
|
1965
|
+
var u = pe(document.elementFromPoint(o, l), !0);
|
|
1966
1966
|
u !== s && (s = u, Qe()), St(i, r.options, u, n);
|
|
1967
1967
|
}, 10), yt = o, wt = l);
|
|
1968
1968
|
} else {
|
|
1969
|
-
if (!this.options.bubbleScroll ||
|
|
1969
|
+
if (!this.options.bubbleScroll || pe(a, !0) === ne()) {
|
|
1970
1970
|
Qe();
|
|
1971
1971
|
return;
|
|
1972
1972
|
}
|
|
1973
|
-
St(i, this.options,
|
|
1973
|
+
St(i, this.options, pe(a, !1), !1);
|
|
1974
1974
|
}
|
|
1975
1975
|
}
|
|
1976
|
-
},
|
|
1976
|
+
}, se(t, {
|
|
1977
1977
|
pluginName: "scroll",
|
|
1978
1978
|
initializeByDefault: !0
|
|
1979
1979
|
});
|
|
@@ -1989,7 +1989,7 @@ function qt() {
|
|
|
1989
1989
|
var St = si(function(t, e, i, n) {
|
|
1990
1990
|
if (e.scroll) {
|
|
1991
1991
|
var r = (t.touches ? t.touches[0] : t).clientX, o = (t.touches ? t.touches[0] : t).clientY, l = e.scrollSensitivity, a = e.scrollSpeed, s = ne(), u = !1, c;
|
|
1992
|
-
zt !== i && (zt = i, Qe(), ze = e.scroll, c = e.scrollFn, ze === !0 && (ze =
|
|
1992
|
+
zt !== i && (zt = i, Qe(), ze = e.scroll, c = e.scrollFn, ze === !0 && (ze = pe(i, !0)));
|
|
1993
1993
|
var f = 0, m = ze;
|
|
1994
1994
|
do {
|
|
1995
1995
|
var E = m, _ = L(E), g = _.top, D = _.bottom, V = _.left, O = _.right, p = _.width, d = _.height, A = void 0, Y = void 0, v = E.scrollWidth, B = E.scrollHeight, M = b(E), I = E.scrollLeft, R = E.scrollTop;
|
|
@@ -2000,12 +2000,12 @@ var St = si(function(t, e, i, n) {
|
|
|
2000
2000
|
H[J] || (H[J] = {});
|
|
2001
2001
|
(H[f].vx != N || H[f].vy != z || H[f].el !== E) && (H[f].el = E, H[f].vx = N, H[f].vy = z, clearInterval(H[f].pid), (N != 0 || z != 0) && (u = !0, H[f].pid = setInterval((function() {
|
|
2002
2002
|
n && this.layer === 0 && y.active._onTouchMove(lt);
|
|
2003
|
-
var
|
|
2004
|
-
typeof c == "function" && c.call(y.dragged.parentNode[q], F,
|
|
2003
|
+
var de = H[this.layer].vy ? H[this.layer].vy * a : 0, F = H[this.layer].vx ? H[this.layer].vx * a : 0;
|
|
2004
|
+
typeof c == "function" && c.call(y.dragged.parentNode[q], F, de, t, lt, H[this.layer].el) !== "continue" || ui(H[this.layer].el, F, de);
|
|
2005
2005
|
}).bind({
|
|
2006
2006
|
layer: f
|
|
2007
2007
|
}), 24))), f++;
|
|
2008
|
-
} while (e.bubbleScroll && m !== s && (m =
|
|
2008
|
+
} while (e.bubbleScroll && m !== s && (m = pe(m, !1)));
|
|
2009
2009
|
kt = u;
|
|
2010
2010
|
}
|
|
2011
2011
|
}, 30), vi = function(e) {
|
|
@@ -2031,12 +2031,12 @@ Mt.prototype = {
|
|
|
2031
2031
|
onSpill: function(e) {
|
|
2032
2032
|
var i = e.dragEl, n = e.putSortable;
|
|
2033
2033
|
this.sortable.captureAnimationState(), n && n.captureAnimationState();
|
|
2034
|
-
var r =
|
|
2034
|
+
var r = Ie(this.sortable.el, this.startIndex, this.options);
|
|
2035
2035
|
r ? this.sortable.el.insertBefore(i, r) : this.sortable.el.appendChild(i), this.sortable.animateAll(), n && n.animateAll();
|
|
2036
2036
|
},
|
|
2037
2037
|
drop: vi
|
|
2038
2038
|
};
|
|
2039
|
-
|
|
2039
|
+
se(Mt, {
|
|
2040
2040
|
pluginName: "revertOnSpill"
|
|
2041
2041
|
});
|
|
2042
2042
|
function xt() {
|
|
@@ -2048,7 +2048,7 @@ xt.prototype = {
|
|
|
2048
2048
|
},
|
|
2049
2049
|
drop: vi
|
|
2050
2050
|
};
|
|
2051
|
-
|
|
2051
|
+
se(xt, {
|
|
2052
2052
|
pluginName: "removeOnSpill"
|
|
2053
2053
|
});
|
|
2054
2054
|
y.mount(new Hn());
|
|
@@ -2076,6 +2076,7 @@ const Ln = (t, e, i, n) => {
|
|
|
2076
2076
|
u.style.cursor = "move", o = y.create(u, {
|
|
2077
2077
|
draggable: ".selected-item.enable",
|
|
2078
2078
|
//指定样式类的元素才允许拖动
|
|
2079
|
+
filter: ".selected-item.disableDrag",
|
|
2079
2080
|
animation: 300,
|
|
2080
2081
|
//过渡动画时间
|
|
2081
2082
|
//拖拽结束时事件
|
|
@@ -2124,7 +2125,7 @@ const Ln = (t, e, i, n) => {
|
|
|
2124
2125
|
emits: ["update:modelValue", "update:selectdValue", "select-item", "item-remove", "remove-all", "sortEnd", "update:infiniteDisabled"],
|
|
2125
2126
|
setup(t, { expose: e, emit: i }) {
|
|
2126
2127
|
xi((d) => ({
|
|
2127
|
-
|
|
2128
|
+
f8f17bb8: o.value
|
|
2128
2129
|
}));
|
|
2129
2130
|
const n = t, r = i, o = Ne(() => n.itemHeight + "px"), l = Ne(() => n.dragSort || n.infiniteScroll ? !1 : n.virtual), {
|
|
2130
2131
|
selectListRef: a,
|
|
@@ -2159,16 +2160,16 @@ const Ln = (t, e, i, n) => {
|
|
|
2159
2160
|
style: Jt({ width: d.width, height: d.height, ...d.customStyle })
|
|
2160
2161
|
},
|
|
2161
2162
|
[
|
|
2162
|
-
|
|
2163
|
+
he(d.$slots, "header", {}, () => [
|
|
2163
2164
|
d.hideHeader ? G("v-if", !0) : (k(), W("div", Bn, [
|
|
2164
|
-
|
|
2165
|
+
Ce(
|
|
2165
2166
|
"div",
|
|
2166
2167
|
Yn,
|
|
2167
2168
|
Oe(w(E)),
|
|
2168
2169
|
1
|
|
2169
2170
|
/* TEXT */
|
|
2170
2171
|
),
|
|
2171
|
-
!d.isView && d.clearable ? (k(),
|
|
2172
|
+
!d.isView && d.clearable ? (k(), le(w(Vi), {
|
|
2172
2173
|
key: 0,
|
|
2173
2174
|
"btn-type": "primary-text",
|
|
2174
2175
|
block: "",
|
|
@@ -2188,45 +2189,38 @@ const Ln = (t, e, i, n) => {
|
|
|
2188
2189
|
]))
|
|
2189
2190
|
], !0),
|
|
2190
2191
|
G(" 普通 "),
|
|
2191
|
-
!d.infiniteScroll && !l.value ?
|
|
2192
|
+
!d.infiniteScroll && !l.value ? Se((k(), W(
|
|
2192
2193
|
"div",
|
|
2193
2194
|
{
|
|
2194
2195
|
key: 0,
|
|
2195
2196
|
ref_key: "$list",
|
|
2196
2197
|
ref: s,
|
|
2197
|
-
class:
|
|
2198
|
+
class: oe(["selected-container", { "hide-header": d.hideHeader }])
|
|
2198
2199
|
},
|
|
2199
2200
|
[
|
|
2200
|
-
A[0] || (A[0] = de(
|
|
2201
|
-
"h1",
|
|
2202
|
-
null,
|
|
2203
|
-
"普通",
|
|
2204
|
-
-1
|
|
2205
|
-
/* HOISTED */
|
|
2206
|
-
)),
|
|
2207
2201
|
(k(!0), W(
|
|
2208
2202
|
_t,
|
|
2209
2203
|
null,
|
|
2210
2204
|
Et(w(m), (v, B) => (k(), W("div", {
|
|
2211
|
-
class:
|
|
2205
|
+
class: oe({
|
|
2212
2206
|
"selected-item": !0,
|
|
2213
2207
|
disabled: !d.isView && w(u)(v),
|
|
2214
|
-
enable: !d.isView && !w(u)(v)
|
|
2208
|
+
enable: !d.isView && !w(u)(v),
|
|
2215
2209
|
disableDrag: !d.isView && w(c)(v),
|
|
2216
2210
|
active: w(D) === v[d.valueKey]
|
|
2217
2211
|
}),
|
|
2218
2212
|
key: v[d.valueKey] + B,
|
|
2219
2213
|
onClick: (M) => w(V)(v)
|
|
2220
2214
|
}, [
|
|
2221
|
-
d.dragSort ? (k(),
|
|
2215
|
+
d.dragSort ? (k(), le(w(Fi), {
|
|
2222
2216
|
key: 0,
|
|
2223
|
-
class: "drag-icon",
|
|
2217
|
+
class: oe({ "drag-icon": !0, "hide-drag-icon": w(c)(v) }),
|
|
2224
2218
|
size: "medium",
|
|
2225
2219
|
style: { "margin-right": "8px" }
|
|
2226
|
-
})) : G("v-if", !0),
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2220
|
+
}, null, 8, ["class"])) : G("v-if", !0),
|
|
2221
|
+
Ce("div", Wn, [
|
|
2222
|
+
he(d.$slots, "default", { item: v }, () => [
|
|
2223
|
+
Se((k(), W("div", null, [
|
|
2230
2224
|
Le(
|
|
2231
2225
|
Oe(v[d.labelKey]),
|
|
2232
2226
|
1
|
|
@@ -2237,7 +2231,7 @@ const Ln = (t, e, i, n) => {
|
|
|
2237
2231
|
])
|
|
2238
2232
|
], !0)
|
|
2239
2233
|
]),
|
|
2240
|
-
!d.isView && d.closeable && !w(f)(v) ? (k(),
|
|
2234
|
+
!d.isView && d.closeable && !w(f)(v) ? (k(), le(w(ct), {
|
|
2241
2235
|
key: 1,
|
|
2242
2236
|
size: "small",
|
|
2243
2237
|
class: "close-icon",
|
|
@@ -2261,17 +2255,10 @@ const Ln = (t, e, i, n) => {
|
|
|
2261
2255
|
key: 1,
|
|
2262
2256
|
ref_key: "$list",
|
|
2263
2257
|
ref: s,
|
|
2264
|
-
class:
|
|
2258
|
+
class: oe(["selected-container", { "hide-header": d.hideHeader }])
|
|
2265
2259
|
},
|
|
2266
2260
|
[
|
|
2267
|
-
|
|
2268
|
-
"h1",
|
|
2269
|
-
null,
|
|
2270
|
-
"虚拟滚动",
|
|
2271
|
-
-1
|
|
2272
|
-
/* HOISTED */
|
|
2273
|
-
)),
|
|
2274
|
-
p.value && w(m).length > 0 ? (k(), oe(w(Pt), {
|
|
2261
|
+
p.value && w(m).length > 0 ? (k(), le(w(Pt), {
|
|
2275
2262
|
key: w(m).length,
|
|
2276
2263
|
items: w(m),
|
|
2277
2264
|
"item-size": d.itemHeight,
|
|
@@ -2280,7 +2267,7 @@ const Ln = (t, e, i, n) => {
|
|
|
2280
2267
|
}, {
|
|
2281
2268
|
default: tt(({ item: v, index: B }) => [
|
|
2282
2269
|
(k(), W("div", {
|
|
2283
|
-
class:
|
|
2270
|
+
class: oe({
|
|
2284
2271
|
"selected-item": !0,
|
|
2285
2272
|
disabled: !d.isView && w(u)(v),
|
|
2286
2273
|
enable: !d.isView && !w(u)(v),
|
|
@@ -2289,9 +2276,9 @@ const Ln = (t, e, i, n) => {
|
|
|
2289
2276
|
key: v[d.valueKey],
|
|
2290
2277
|
onClick: (M) => w(V)(v)
|
|
2291
2278
|
}, [
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2279
|
+
Ce("div", Kn, [
|
|
2280
|
+
he(d.$slots, "default", { item: v }, () => [
|
|
2281
|
+
Se((k(), W("div", null, [
|
|
2295
2282
|
Le(
|
|
2296
2283
|
Oe(v[d.labelKey]),
|
|
2297
2284
|
1
|
|
@@ -2302,7 +2289,7 @@ const Ln = (t, e, i, n) => {
|
|
|
2302
2289
|
])
|
|
2303
2290
|
], !0)
|
|
2304
2291
|
]),
|
|
2305
|
-
!d.isView && d.closeable && !w(f)(v) ? (k(),
|
|
2292
|
+
!d.isView && d.closeable && !w(f)(v) ? (k(), le(w(ct), {
|
|
2306
2293
|
key: 0,
|
|
2307
2294
|
size: "small",
|
|
2308
2295
|
class: "close-icon",
|
|
@@ -2319,27 +2306,20 @@ const Ln = (t, e, i, n) => {
|
|
|
2319
2306
|
/* CLASS */
|
|
2320
2307
|
)) : G("v-if", !0),
|
|
2321
2308
|
G(" 分页加载 "),
|
|
2322
|
-
!d.dragSort && d.infiniteScroll ?
|
|
2309
|
+
!d.dragSort && d.infiniteScroll ? Se((k(), W("div", {
|
|
2323
2310
|
key: 2,
|
|
2324
2311
|
ref_key: "$list",
|
|
2325
2312
|
ref: s,
|
|
2326
|
-
class:
|
|
2313
|
+
class: oe(["selected-container selected-page-container", { "hide-header": d.hideHeader }]),
|
|
2327
2314
|
"infinite-scroll-disabled": d.infiniteDisabled,
|
|
2328
2315
|
style: { overflow: "overlay" }
|
|
2329
2316
|
}, [
|
|
2330
|
-
|
|
2331
|
-
"h1",
|
|
2332
|
-
null,
|
|
2333
|
-
"分页加载",
|
|
2334
|
-
-1
|
|
2335
|
-
/* HOISTED */
|
|
2336
|
-
)),
|
|
2337
|
-
de("div", Un, [
|
|
2317
|
+
Ce("div", Un, [
|
|
2338
2318
|
(k(!0), W(
|
|
2339
2319
|
_t,
|
|
2340
2320
|
null,
|
|
2341
2321
|
Et(w(m), (v) => (k(), W("div", {
|
|
2342
|
-
class:
|
|
2322
|
+
class: oe({
|
|
2343
2323
|
"selected-item": !0,
|
|
2344
2324
|
disabled: !d.isView && w(u)(v),
|
|
2345
2325
|
enable: !d.isView && !w(u)(v),
|
|
@@ -2348,9 +2328,9 @@ const Ln = (t, e, i, n) => {
|
|
|
2348
2328
|
key: v[d.valueKey],
|
|
2349
2329
|
onClick: (B) => w(V)(v)
|
|
2350
2330
|
}, [
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2331
|
+
Ce("div", Jn, [
|
|
2332
|
+
he(d.$slots, "default", { item: v }, () => [
|
|
2333
|
+
Se((k(), W("div", null, [
|
|
2354
2334
|
Le(
|
|
2355
2335
|
Oe(v[d.labelKey]),
|
|
2356
2336
|
1
|
|
@@ -2361,7 +2341,7 @@ const Ln = (t, e, i, n) => {
|
|
|
2361
2341
|
])
|
|
2362
2342
|
], !0)
|
|
2363
2343
|
]),
|
|
2364
|
-
!d.isView && d.closeable && !w(f)(v) ? (k(),
|
|
2344
|
+
!d.isView && d.closeable && !w(f)(v) ? (k(), le(w(ct), {
|
|
2365
2345
|
key: 0,
|
|
2366
2346
|
size: "small",
|
|
2367
2347
|
class: "close-icon",
|
|
@@ -2387,7 +2367,7 @@ const Ln = (t, e, i, n) => {
|
|
|
2387
2367
|
for (const [n, r] of e)
|
|
2388
2368
|
i[n] = r;
|
|
2389
2369
|
return i;
|
|
2390
|
-
}, er = /* @__PURE__ */ Qn(Zn, [["__scopeId", "data-v-
|
|
2370
|
+
}, er = /* @__PURE__ */ Qn(Zn, [["__scopeId", "data-v-b6eca987"]]), tr = {
|
|
2391
2371
|
"das-select-list-removeAll": { "zh-CN": "清空", en: "Clear", _appCode: "framework" },
|
|
2392
2372
|
"das-select-list-selected": { "zh-CN": "已选", en: "Selected", _appCode: "framework" },
|
|
2393
2373
|
"das-select-list-parentheses-left": { "zh-CN": "(", en: "(", _appCode: "framework" },
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.das-ui-select-list .selected-number-header[data-v-
|
|
1
|
+
.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.das-ui-select-list .selected-number-header[data-v-b6eca987]{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 12px}.das-ui-select-list .selected-number-header .selected-num[data-v-b6eca987]{font-size:12px;color:var(--das-ui-color-secondary);letter-spacing:0;font-weight:400;display:flex;align-items:center}.das-ui-select-list .virtual-list[data-v-b6eca987]{height:100%}.das-ui-select-list .virtual-list[data-v-b6eca987]::-webkit-scrollbar,.das-ui-select-list .selected-page-container[data-v-b6eca987]::-webkit-scrollbar{width:var(--das-ui-scrollbar-thumb-size);height:var(--das-ui-scrollbar-thumb-size)}.das-ui-select-list .virtual-list[data-v-b6eca987]::-webkit-scrollbar-thumb,.das-ui-select-list .selected-page-container[data-v-b6eca987]::-webkit-scrollbar-thumb{background:transparent}.das-ui-select-list .virtual-list[data-v-b6eca987]:hover::-webkit-scrollbar-thumb,.das-ui-select-list .selected-page-container[data-v-b6eca987]:hover::-webkit-scrollbar-thumb{background:var(--das-ui-scrollbar-thumb-color)}.das-ui-select-list .virtual-list[data-v-b6eca987]::-webkit-scrollbar-thumb:hover,.das-ui-select-list .selected-page-container[data-v-b6eca987]::-webkit-scrollbar-thumb:hover{background:var(--das-ui-scrollbar-thumb-hover-color)}.das-ui-select-list .selected-container[data-v-b6eca987]{width:100%;height:calc(100% - 32px)}.das-ui-select-list .selected-container.hide-header[data-v-b6eca987]{height:100%}.das-ui-select-list .selected-container .selected-group[data-v-b6eca987]{width:100%}.das-ui-select-list .selected-container .selected-item[data-v-b6eca987]{box-sizing:border-box;height:var(--f8f17bb8);width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 12px}.das-ui-select-list .selected-container .selected-item .drag-icon[data-v-b6eca987]{visibility:hidden}.das-ui-select-list .selected-container .selected-item .hide-drag-icon[data-v-b6eca987]{opacity:0}.das-ui-select-list .selected-container .selected-item.enable:hover .drag-icon[data-v-b6eca987]{visibility:visible}.das-ui-select-list .selected-container .selected-item.active[data-v-b6eca987]:not(.disabled){color:var(--das-ui-select-list-active-font-color);background-color:var(--das-ui-select-list-active-bg-color)}.das-ui-select-list .selected-container .selected-item.disableDrag[data-v-b6eca987]{cursor:initial}.das-ui-select-list .selected-container .selected-item[data-v-b6eca987]:hover{background-color:var(--das-ui-select-list-hover-bg)}.das-ui-select-list .selected-container .selected-item:hover .close-icon[data-v-b6eca987]{visibility:visible}.das-ui-select-list .selected-container .selected-item.disabled[data-v-b6eca987]{cursor:not-allowed}.das-ui-select-list .selected-container .selected-item.disabled .close-icon[data-v-b6eca987]{visibility:hidden}.das-ui-select-list .selected-container .selected-item .name[data-v-b6eca987]{flex:1;font-size:12px;color:var(--das-ui-color-normal);letter-spacing:0;min-width:0;text-align:left}.das-ui-select-list .selected-container .selected-item .close-icon[data-v-b6eca987]{margin-left:8px;visibility:hidden;cursor:pointer}.das-ui-select-list .selected-container .selected-item .close-icon[data-v-b6eca987]:hover{fill:var(--das-ui-select-list-close-btn-hover)}
|
|
Binary file
|