@das-fed/ui 7.0.2-beta.2 → 7.0.2-beta.4

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.
@@ -5,12 +5,12 @@ import { getVar as ut, setThemeRule as _i } from "@das-fed/web/packages/theme/in
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 oe, openBlock as z, markRaw as Ci, shallowReactive as Oi, resolveComponent as Ai, resolveDirective as zi, withDirectives as Se, createElementBlock as X, normalizeClass as ce, createCommentVNode as G, createVNode as ki, renderSlot as he, resolveDynamicComponent as Ft, 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 Rt, defineComponent as Mi, useCssVars as xi, createElementVNode as Ce, toDisplayString as Oe, unref as E, createTextVNode as Le } from "vue";
8
+ import { pushScopeId as Di, popScopeId as Ii, nextTick as et, withScopeId as Ti, createBlock as oe, openBlock as k, markRaw as Ci, shallowReactive as Oi, resolveComponent as Ai, resolveDirective as zi, withDirectives as Se, createElementBlock as X, normalizeClass as ce, createCommentVNode as K, 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 D, createTextVNode as Le } from "vue";
9
9
  import { vDasTooltip as ct } from "@das-fed/ui/packages/components/text-tooltip/index";
10
10
  import { DasButton as Vi } from "@das-fed/ui/packages/components/button/index";
11
- import { vOverlay as Fi } from "@das-fed/ui/packages/components/overlay/index";
11
+ import { vOverlay as Ri } from "@das-fed/ui/packages/components/overlay/index";
12
12
  import { DasIconClose2 as dt } from "@das-fed/ui/packages/icons/close-2/index";
13
- import { DasIconDrag as Ri } from "@das-fed/ui/packages/icons/drag/index";
13
+ import { DasIconDrag as Fi } from "@das-fed/ui/packages/icons/drag/index";
14
14
  import { useModelValue as Qt } from "@das-fed/utils/vue";
15
15
  import { SizeWatcher as Hi } from "@das-fed/utils/size-watcher";
16
16
  import "@das-fed/ui/packages/global/theme";
@@ -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) => (z(), oe("div", Yi)));
88
+ const Xi = /* @__PURE__ */ Bi((t, e, i, n, r, o) => (k(), oe("div", Yi)));
89
89
  at.render = Xi;
90
90
  at.__scopeId = "data-v-b329ee4c";
91
91
  at.__file = "src/components/ResizeObserver.vue";
@@ -147,8 +147,8 @@ function Qi(t, e) {
147
147
  for (var u = arguments.length, c = new Array(u > 1 ? u - 1 : 0), h = 1; h < u; h++)
148
148
  c[h - 1] = arguments[h];
149
149
  if (o = c, !(n && a === r)) {
150
- var g = i.leading;
151
- typeof g == "function" && (g = g(a, r)), (!n || a !== r) && g && t.apply(void 0, [a].concat(Ht(o))), r = a, clearTimeout(n), n = setTimeout(function() {
150
+ var p = i.leading;
151
+ typeof p == "function" && (p = p(a, r)), (!n || a !== r) && p && t.apply(void 0, [a].concat(Ht(o))), r = a, clearTimeout(n), n = setTimeout(function() {
152
152
  t.apply(void 0, [a].concat(Ht(o))), n = 0;
153
153
  }, e);
154
154
  }
@@ -506,72 +506,72 @@ var Pt = {
506
506
  })) : this.$emit("hidden"));
507
507
  },
508
508
  updateVisibleItems(t, e = !1) {
509
- const i = this.itemSize, n = this.gridItems || 1, r = this.itemSecondarySize || i, o = this.$_computedMinItemSize, l = this.typeField, s = this.simpleArray ? null : this.keyField, a = this.items, u = a.length, c = this.sizes, h = this.$_views, g = this.$_unusedViews, D = this.pool, _ = this.itemIndexByKey;
510
- let v, T, $, p, d;
509
+ const i = this.itemSize, n = this.gridItems || 1, r = this.itemSecondarySize || i, o = this.$_computedMinItemSize, l = this.typeField, s = this.simpleArray ? null : this.keyField, a = this.items, u = a.length, c = this.sizes, h = this.$_views, p = this.$_unusedViews, _ = this.pool, S = this.itemIndexByKey;
510
+ let m, I, y, d, C;
511
511
  if (!u)
512
- v = T = p = d = $ = 0;
512
+ m = I = d = C = y = 0;
513
513
  else if (this.$_prerender)
514
- v = p = 0, T = d = Math.min(this.prerender, a.length), $ = null;
514
+ m = d = 0, I = C = Math.min(this.prerender, a.length), y = null;
515
515
  else {
516
- const I = this.getScroll();
516
+ const T = this.getScroll();
517
517
  if (e) {
518
- let A = I.start - this.$_lastUpdateScrollPosition;
519
- if (A < 0 && (A = -A), i === null && A < o || A < i)
518
+ let z = T.start - this.$_lastUpdateScrollPosition;
519
+ if (z < 0 && (z = -z), i === null && z < o || z < i)
520
520
  return {
521
521
  continuous: !0
522
522
  };
523
523
  }
524
- this.$_lastUpdateScrollPosition = I.start;
524
+ this.$_lastUpdateScrollPosition = T.start;
525
525
  const x = this.buffer;
526
- I.start -= x, I.end += x;
527
- let P = 0;
528
- if (this.$refs.before && (P = this.$refs.before.scrollHeight, I.start -= P), this.$refs.after) {
529
- const A = this.$refs.after.scrollHeight;
530
- I.end += A;
526
+ T.start -= x, T.end += x;
527
+ let N = 0;
528
+ if (this.$refs.before && (N = this.$refs.before.scrollHeight, T.start -= N), this.$refs.after) {
529
+ const z = this.$refs.after.scrollHeight;
530
+ T.end += z;
531
531
  }
532
532
  if (i === null) {
533
- let A, J = 0, ue = u - 1, V = ~~(u / 2), me;
533
+ let z, J = 0, ue = u - 1, V = ~~(u / 2), me;
534
534
  do
535
- me = V, A = c[V].accumulator, A < I.start ? J = V : V < u - 1 && c[V + 1].accumulator > I.start && (ue = V), V = ~~((J + ue) / 2);
535
+ me = V, z = c[V].accumulator, z < T.start ? J = V : V < u - 1 && c[V + 1].accumulator > T.start && (ue = V), V = ~~((J + ue) / 2);
536
536
  while (V !== me);
537
- for (V < 0 && (V = 0), v = V, $ = c[u - 1].accumulator, T = V; T < u && c[T].accumulator < I.end; T++) ;
538
- for (T === -1 ? T = a.length - 1 : (T++, T > u && (T = u)), p = v; p < u && P + c[p].accumulator < I.start; p++) ;
539
- for (d = p; d < u && P + c[d].accumulator < I.end; d++) ;
537
+ for (V < 0 && (V = 0), m = V, y = c[u - 1].accumulator, I = V; I < u && c[I].accumulator < T.end; I++) ;
538
+ for (I === -1 ? I = a.length - 1 : (I++, I > u && (I = u)), d = m; d < u && N + c[d].accumulator < T.start; d++) ;
539
+ for (C = d; C < u && N + c[C].accumulator < T.end; C++) ;
540
540
  } else {
541
- v = ~~(I.start / i * n);
542
- const A = v % n;
543
- v -= A, T = Math.ceil(I.end / i * n), p = Math.max(0, Math.floor((I.start - P) / i * n)), d = Math.floor((I.end - P) / i * n), v < 0 && (v = 0), T > u && (T = u), p < 0 && (p = 0), d > u && (d = u), $ = Math.ceil(u / n) * i;
541
+ m = ~~(T.start / i * n);
542
+ const z = m % n;
543
+ m -= z, I = Math.ceil(T.end / i * n), d = Math.max(0, Math.floor((T.start - N) / i * n)), C = Math.floor((T.end - N) / i * n), m < 0 && (m = 0), I > u && (I = u), d < 0 && (d = 0), C > u && (C = u), y = Math.ceil(u / n) * i;
544
544
  }
545
545
  }
546
- T - v > rn.itemsLimit && this.itemsLimitError(), this.totalSize = $;
547
- let m;
548
- const W = v <= this.$_endIndex && T >= this.$_startIndex;
549
- if (W)
550
- for (let I = 0, x = D.length; I < x; I++)
551
- m = D[I], m.nr.used && (t && (m.nr.index = _[m.item[s]]), (m.nr.index == null || m.nr.index < v || m.nr.index >= T) && this.unuseView(m));
552
- const w = W ? null : /* @__PURE__ */ new Map();
553
- let F, L, B;
554
- for (let I = v; I < T; I++) {
555
- F = a[I];
556
- const x = s ? F[s] : F;
546
+ I - m > rn.itemsLimit && this.itemsLimitError(), this.totalSize = y;
547
+ let g;
548
+ const E = m <= this.$_endIndex && I >= this.$_startIndex;
549
+ if (E)
550
+ for (let T = 0, x = _.length; T < x; T++)
551
+ g = _[T], g.nr.used && (t && (g.nr.index = S[g.item[s]]), (g.nr.index == null || g.nr.index < m || g.nr.index >= I) && this.unuseView(g));
552
+ const L = E ? null : /* @__PURE__ */ new Map();
553
+ let H, G, B;
554
+ for (let T = m; T < I; T++) {
555
+ H = a[T];
556
+ const x = s ? H[s] : H;
557
557
  if (x == null)
558
558
  throw new Error(`Key is ${x} on item (keyField is '${s}')`);
559
- if (m = h.get(x), !i && !c[I].size) {
560
- m && this.unuseView(m);
559
+ if (g = h.get(x), !i && !c[T].size) {
560
+ g && this.unuseView(g);
561
561
  continue;
562
562
  }
563
- L = F[l];
564
- let P = g.get(L), A = !1;
565
- if (!m)
566
- W ? P && P.length ? m = P.pop() : m = this.addView(D, I, F, x, L) : (B = w.get(L) || 0, (!P || B >= P.length) && (m = this.addView(D, I, F, x, L), this.unuseView(m, !0), P = g.get(L)), m = P[B], w.set(L, B + 1)), h.delete(m.nr.key), m.nr.used = !0, m.nr.index = I, m.nr.key = x, m.nr.type = L, h.set(x, m), A = !0;
567
- else if (!m.nr.used && (m.nr.used = !0, A = !0, P)) {
568
- const J = P.indexOf(m);
569
- J !== -1 && P.splice(J, 1);
563
+ G = H[l];
564
+ let N = p.get(G), z = !1;
565
+ if (!g)
566
+ E ? N && N.length ? g = N.pop() : g = this.addView(_, T, H, x, G) : (B = L.get(G) || 0, (!N || B >= N.length) && (g = this.addView(_, T, H, x, G), this.unuseView(g, !0), N = p.get(G)), g = N[B], L.set(G, B + 1)), h.delete(g.nr.key), g.nr.used = !0, g.nr.index = T, g.nr.key = x, g.nr.type = G, h.set(x, g), z = !0;
567
+ else if (!g.nr.used && (g.nr.used = !0, z = !0, N)) {
568
+ const J = N.indexOf(g);
569
+ J !== -1 && N.splice(J, 1);
570
570
  }
571
- m.item = F, A && (I === a.length - 1 && this.$emit("scroll-end"), I === 0 && this.$emit("scroll-start")), i === null ? (m.position = c[I - 1].accumulator, m.offset = 0) : (m.position = Math.floor(I / n) * i, m.offset = I % n * r);
571
+ g.item = H, z && (T === a.length - 1 && this.$emit("scroll-end"), T === 0 && this.$emit("scroll-start")), i === null ? (g.position = c[T - 1].accumulator, g.offset = 0) : (g.position = Math.floor(T / n) * i, g.offset = T % n * r);
572
572
  }
573
- return this.$_startIndex = v, this.$_endIndex = T, this.emitUpdate && this.$emit("update", v, T, p, d), clearTimeout(this.$_sortTimer), this.$_sortTimer = setTimeout(this.sortViews, this.updateInterval + 300), {
574
- continuous: W
573
+ return this.$_startIndex = m, this.$_endIndex = I, this.emitUpdate && this.$emit("update", m, I, d, C), clearTimeout(this.$_sortTimer), this.$_sortTimer = setTimeout(this.sortViews, this.updateInterval + 300), {
574
+ continuous: E
575
575
  };
576
576
  },
577
577
  getListenerTarget() {
@@ -643,7 +643,7 @@ const fn = {
643
643
  };
644
644
  function pn(t, e, i, n, r, o) {
645
645
  const l = Ai("ResizeObserver"), s = zi("observe-visibility");
646
- return Se((z(), X(
646
+ return Se((k(), X(
647
647
  "div",
648
648
  {
649
649
  class: ce(["vue-recycle-scroller", {
@@ -654,7 +654,7 @@ function pn(t, e, i, n, r, o) {
654
654
  onScrollPassive: e[0] || (e[0] = (...a) => o.handleScroll && o.handleScroll(...a))
655
655
  },
656
656
  [
657
- t.$slots.before ? (z(), X(
657
+ t.$slots.before ? (k(), X(
658
658
  "div",
659
659
  fn,
660
660
  [
@@ -662,17 +662,17 @@ function pn(t, e, i, n, r, o) {
662
662
  ],
663
663
  512
664
664
  /* NEED_PATCH */
665
- )) : G("v-if", !0),
666
- (z(), oe(Ft(i.listTag), {
665
+ )) : K("v-if", !0),
666
+ (k(), oe(Rt(i.listTag), {
667
667
  ref: "wrapper",
668
668
  style: Jt({ [t.direction === "vertical" ? "minHeight" : "minWidth"]: r.totalSize + "px" }),
669
669
  class: ce(["vue-recycle-scroller__item-wrapper", i.listClass])
670
670
  }, {
671
671
  default: tt(() => [
672
- (z(!0), X(
672
+ (k(!0), X(
673
673
  _t,
674
674
  null,
675
- Et(r.pool, (a) => (z(), oe(Ft(i.itemTag), Pi({
675
+ Et(r.pool, (a) => (k(), oe(Rt(i.itemTag), Pi({
676
676
  key: a.nr.id,
677
677
  style: r.ready ? {
678
678
  transform: `translate${t.direction === "vertical" ? "Y" : "X"}(${a.position}px) translate${t.direction === "vertical" ? "X" : "Y"}(${a.offset}px)`,
@@ -711,7 +711,7 @@ function pn(t, e, i, n, r, o) {
711
711
  _: 3
712
712
  /* FORWARDED */
713
713
  }, 8, ["style", "class"])),
714
- t.$slots.after ? (z(), X(
714
+ t.$slots.after ? (k(), X(
715
715
  "div",
716
716
  hn,
717
717
  [
@@ -719,7 +719,7 @@ function pn(t, e, i, n, r, o) {
719
719
  ],
720
720
  512
721
721
  /* NEED_PATCH */
722
- )) : G("v-if", !0),
722
+ )) : K("v-if", !0),
723
723
  ki(l, { onNotify: o.handleResize }, null, 8, ["onNotify"])
724
724
  ],
725
725
  34
@@ -731,73 +731,61 @@ function pn(t, e, i, n, r, o) {
731
731
  Pt.render = pn;
732
732
  Pt.__file = "src/components/RecycleScroller.vue";
733
733
  const mn = (t, e) => {
734
- const i = Pe(), n = Pe(), r = Qt(t, "modelValue"), o = t.valueKey, l = Ne(() => t.selectedNum ? t.selectedNum : `${t.customTitle || je("das-select-list-selected").value}${je("das-select-list-parentheses-left").value}${r.value.length}${je("das-select-list-parentheses-right").value}`), s = Ne(() => ({ disabled: "disabled", ...t.props })), a = (p) => {
735
- if (t.closeable === void 0)
736
- return !0;
737
- if (typeof t.closeable == "boolean")
738
- return t.closeable;
739
- if (typeof t.closeable == "function") {
740
- const d = t.closeable(p);
741
- if (typeof d == "boolean")
742
- return d;
743
- }
744
- return !1;
745
- }, u = (p) => {
734
+ const i = Pe(), n = Pe(), r = Qt(t, "modelValue"), o = t.valueKey, l = Ne(() => t.selectedNum ? t.selectedNum : `${t.customTitle || je("das-select-list-selected").value}${je("das-select-list-parentheses-left").value}${r.value.length}${je("das-select-list-parentheses-right").value}`), s = Ne(() => ({ disabled: "disabled", ...t.props })), a = (y) => {
746
735
  let d = !1;
747
- return typeof s.value.disabled == "string" ? d = p[s.value.disabled] : d = s.value.disabled(p) ?? !1, d;
748
- }, c = Ne({
736
+ return typeof s.value.disabled == "string" ? d = y[s.value.disabled] : d = s.value.disabled(y) ?? !1, d;
737
+ }, u = Ne({
749
738
  get: () => t.selectdValue,
750
- set: (p) => {
751
- e("update:selectdValue", p);
739
+ set: (y) => {
740
+ e("update:selectdValue", y);
752
741
  }
753
- }), h = (p) => {
754
- t.isView || u(p) || (c.value = p[o], e("select-item", p));
755
- }, g = (p) => {
756
- const d = r.value.filter((m) => m[o] !== p[o]);
757
- e("item-remove", p), e("update:modelValue", d);
758
- }, D = () => {
759
- const p = r.value.filter((m) => !u(m) && a(m)), d = r.value.filter((m) => u(m) || !a(m));
760
- e("remove-all", p), e("update:modelValue", d);
742
+ }), c = (y) => {
743
+ t.isView || a(y) || (u.value = y[o], e("select-item", y));
744
+ }, h = (y) => {
745
+ const d = r.value.filter((C) => C[o] !== y[o]);
746
+ e("item-remove", y), e("update:modelValue", d);
747
+ }, p = () => {
748
+ const y = r.value.filter((C) => !a(C)), d = r.value.filter((C) => a(C));
749
+ e("remove-all", y), e("update:modelValue", d);
761
750
  }, _ = () => {
762
- t.infiniteScroll && t.infiniteScroll().then((p) => {
763
- if (p && p.length) {
751
+ t.infiniteScroll && t.infiniteScroll().then((y) => {
752
+ if (y && y.length) {
764
753
  let d = [];
765
- d = p, d = d.filter(
766
- (W) => !r.value.map((w) => w[t.valueKey]).includes(W[t.valueKey])
754
+ d = y, d = d.filter(
755
+ (g) => !r.value.map((E) => E[t.valueKey]).includes(g[t.valueKey])
767
756
  );
768
- const m = r.value.concat(d);
769
- e("update:modelValue", m);
757
+ const C = r.value.concat(d);
758
+ e("update:modelValue", C);
770
759
  }
771
760
  });
772
761
  };
773
- let v = 0;
774
- const T = (p) => {
775
- var m;
776
- const d = ((m = n.value) == null ? void 0 : m.offsetHeight) || 0;
777
- v !== 0 && p === 0 && _(), v = p, p !== 0 && p - d < 10 && _();
778
- }, $ = Pe();
762
+ let S = 0;
763
+ const m = (y) => {
764
+ var C;
765
+ const d = ((C = n.value) == null ? void 0 : C.offsetHeight) || 0;
766
+ S !== 0 && y === 0 && _(), S = y, y !== 0 && y - d < 10 && _();
767
+ }, I = Pe();
779
768
  return Zt(() => {
780
769
  var d;
781
770
  if (t.infiniteDisabled) return;
782
- const p = (d = n.value) == null ? void 0 : d.querySelector(".selected-group");
783
- $.value = Hi((m) => {
784
- T(m.height);
785
- }, p);
771
+ const y = (d = n.value) == null ? void 0 : d.querySelector(".selected-group");
772
+ I.value = Hi((C) => {
773
+ m(C.height);
774
+ }, y);
786
775
  }), $i(() => {
787
- var p;
788
- (p = $.value) == null || p.disconnect();
776
+ var y;
777
+ (y = I.value) == null || y.disconnect();
789
778
  }), {
790
779
  selectListRef: i,
791
780
  $list: n,
792
- disabledFlag: u,
781
+ disabledFlag: a,
793
782
  itemGroups: r,
794
783
  selectedLabel: l,
795
- itemRemove: g,
796
- removeAll: D,
797
- innerSelectdValue: c,
798
- selectItem: h,
799
- infiniteLoad: _,
800
- closeableFn: a
784
+ itemRemove: h,
785
+ removeAll: p,
786
+ innerSelectdValue: u,
787
+ selectItem: c,
788
+ infiniteLoad: _
801
789
  };
802
790
  };
803
791
  /**!
@@ -875,14 +863,14 @@ function le(t) {
875
863
  if (typeof window < "u" && window.navigator)
876
864
  return !!/* @__PURE__ */ navigator.userAgent.match(t);
877
865
  }
878
- var se = le(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Re = le(/Edge/i), Yt = le(/firefox/i), $e = le(/safari/i) && !le(/chrome/i) && !le(/android/i), Nt = le(/iP(ad|od|hone)/i), ri = le(/chrome/i) && le(/android/i), oi = {
866
+ var se = le(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fe = le(/Edge/i), Yt = le(/firefox/i), $e = le(/safari/i) && !le(/chrome/i) && !le(/android/i), Nt = le(/iP(ad|od|hone)/i), ri = le(/chrome/i) && le(/android/i), oi = {
879
867
  capture: !1,
880
868
  passive: !1
881
869
  };
882
- function O(t, e, i) {
870
+ function A(t, e, i) {
883
871
  t.addEventListener(e, i, !se && oi);
884
872
  }
885
- function C(t, e, i) {
873
+ function O(t, e, i) {
886
874
  t.removeEventListener(e, i, !se && oi);
887
875
  }
888
876
  function it(t, e) {
@@ -925,7 +913,7 @@ function Z(t, e, i) {
925
913
  t.className = (n + (i ? " " + e : "")).replace(Xt, " ");
926
914
  }
927
915
  }
928
- function b(t, e, i) {
916
+ function v(t, e, i) {
929
917
  var n = t && t.style;
930
918
  if (n) {
931
919
  if (i === void 0)
@@ -939,7 +927,7 @@ function De(t, e) {
939
927
  i = t;
940
928
  else
941
929
  do {
942
- var n = b(t, "transform");
930
+ var n = v(t, "transform");
943
931
  n && n !== "none" && (i = n + " " + i);
944
932
  } while (!e && (t = t.parentNode));
945
933
  var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
@@ -959,20 +947,20 @@ function ne() {
959
947
  var t = document.scrollingElement;
960
948
  return t || document.documentElement;
961
949
  }
962
- function H(t, e, i, n, r) {
950
+ function F(t, e, i, n, r) {
963
951
  if (!(!t.getBoundingClientRect && t !== window)) {
964
952
  var o, l, s, a, u, c, h;
965
953
  if (t !== window && t.parentNode && t !== ne() ? (o = t.getBoundingClientRect(), l = o.top, s = o.left, a = o.bottom, u = o.right, c = o.height, h = o.width) : (l = 0, s = 0, a = window.innerHeight, u = window.innerWidth, c = window.innerHeight, h = window.innerWidth), (e || i) && t !== window && (r = r || t.parentNode, !se))
966
954
  do
967
- if (r && r.getBoundingClientRect && (b(r, "transform") !== "none" || i && b(r, "position") !== "static")) {
968
- var g = r.getBoundingClientRect();
969
- l -= g.top + parseInt(b(r, "border-top-width")), s -= g.left + parseInt(b(r, "border-left-width")), a = l + o.height, u = s + o.width;
955
+ if (r && r.getBoundingClientRect && (v(r, "transform") !== "none" || i && v(r, "position") !== "static")) {
956
+ var p = r.getBoundingClientRect();
957
+ l -= p.top + parseInt(v(r, "border-top-width")), s -= p.left + parseInt(v(r, "border-left-width")), a = l + o.height, u = s + o.width;
970
958
  break;
971
959
  }
972
960
  while (r = r.parentNode);
973
961
  if (n && t !== window) {
974
- var D = De(r || t), _ = D && D.a, v = D && D.d;
975
- D && (l /= v, s /= _, h /= _, c /= v, a = l + c, u = s + h);
962
+ var _ = De(r || t), S = _ && _.a, m = _ && _.d;
963
+ _ && (l /= m, s /= S, h /= S, c /= m, a = l + c, u = s + h);
976
964
  }
977
965
  return {
978
966
  top: l,
@@ -985,8 +973,8 @@ function H(t, e, i, n, r) {
985
973
  }
986
974
  }
987
975
  function Wt(t, e, i) {
988
- for (var n = pe(t, !0), r = H(t)[e]; n; ) {
989
- var o = H(n)[i], l = void 0;
976
+ for (var n = pe(t, !0), r = F(t)[e]; n; ) {
977
+ var o = F(n)[i], l = void 0;
990
978
  if (l = r >= o, !l) return n;
991
979
  if (n === ne()) break;
992
980
  n = pe(n, !1);
@@ -995,7 +983,7 @@ function Wt(t, e, i) {
995
983
  }
996
984
  function Ie(t, e, i, n) {
997
985
  for (var r = 0, o = 0, l = t.children; o < l.length; ) {
998
- if (l[o].style.display !== "none" && l[o] !== y.ghost && (n || l[o] !== y.dragged) && ie(l[o], i.draggable, t, !1)) {
986
+ if (l[o].style.display !== "none" && l[o] !== b.ghost && (n || l[o] !== b.dragged) && ie(l[o], i.draggable, t, !1)) {
999
987
  if (r === e)
1000
988
  return l[o];
1001
989
  r++;
@@ -1005,7 +993,7 @@ function Ie(t, e, i, n) {
1005
993
  return null;
1006
994
  }
1007
995
  function $t(t, e) {
1008
- for (var i = t.lastElementChild; i && (i === y.ghost || b(i, "display") === "none" || e && !it(i, e)); )
996
+ for (var i = t.lastElementChild; i && (i === b.ghost || v(i, "display") === "none" || e && !it(i, e)); )
1009
997
  i = i.previousElementSibling;
1010
998
  return i || null;
1011
999
  }
@@ -1014,7 +1002,7 @@ function ee(t, e) {
1014
1002
  if (!t || !t.parentNode)
1015
1003
  return -1;
1016
1004
  for (; t = t.previousElementSibling; )
1017
- t.nodeName.toUpperCase() !== "TEMPLATE" && t !== y.clone && (!e || it(t, e)) && i++;
1005
+ t.nodeName.toUpperCase() !== "TEMPLATE" && t !== b.clone && (!e || it(t, e)) && i++;
1018
1006
  return i;
1019
1007
  }
1020
1008
  function jt(t) {
@@ -1039,7 +1027,7 @@ function pe(t, e) {
1039
1027
  var i = t, n = !1;
1040
1028
  do
1041
1029
  if (i.clientWidth < i.scrollWidth || i.clientHeight < i.scrollHeight) {
1042
- var r = b(i);
1030
+ var r = v(i);
1043
1031
  if (i.clientWidth < i.scrollWidth && (r.overflowX == "auto" || r.overflowX == "scroll") || i.clientHeight < i.scrollHeight && (r.overflowY == "auto" || r.overflowY == "scroll")) {
1044
1032
  if (!i.getBoundingClientRect || i === document.body) return ne();
1045
1033
  if (n || e) return i;
@@ -1084,7 +1072,7 @@ function di(t, e, i) {
1084
1072
  return Array.from(t.children).forEach(function(r) {
1085
1073
  var o, l, s, a;
1086
1074
  if (!(!ie(r, e.draggable, t, !1) || r.animated || r === i)) {
1087
- var u = H(r);
1075
+ var u = F(r);
1088
1076
  n.left = Math.min((o = n.left) !== null && o !== void 0 ? o : 1 / 0, u.left), n.top = Math.min((l = n.top) !== null && l !== void 0 ? l : 1 / 0, u.top), n.right = Math.max((s = n.right) !== null && s !== void 0 ? s : -1 / 0, u.right), n.bottom = Math.max((a = n.bottom) !== null && a !== void 0 ? a : -1 / 0, u.bottom);
1089
1077
  }
1090
1078
  }), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
@@ -1097,10 +1085,10 @@ function En() {
1097
1085
  if (t = [], !!this.options.animation) {
1098
1086
  var n = [].slice.call(this.el.children);
1099
1087
  n.forEach(function(r) {
1100
- if (!(b(r, "display") === "none" || r === y.ghost)) {
1088
+ if (!(v(r, "display") === "none" || r === b.ghost)) {
1101
1089
  t.push({
1102
1090
  target: r,
1103
- rect: H(r)
1091
+ rect: F(r)
1104
1092
  });
1105
1093
  var o = re({}, t[t.length - 1].rect);
1106
1094
  if (r.thisAnimationDuration) {
@@ -1128,9 +1116,9 @@ function En() {
1128
1116
  }
1129
1117
  var o = !1, l = 0;
1130
1118
  t.forEach(function(s) {
1131
- var a = 0, u = s.target, c = u.fromRect, h = H(u), g = u.prevFromRect, D = u.prevToRect, _ = s.rect, v = De(u, !0);
1132
- v && (h.top -= v.f, h.left -= v.e), u.toRect = h, u.thisAnimationDuration && ht(g, h) && !ht(c, h) && // Make sure animatingRect is on line between toRect & fromRect
1133
- (_.top - h.top) / (_.left - h.left) === (c.top - h.top) / (c.left - h.left) && (a = In(_, g, D, r.options)), ht(h, c) || (u.prevFromRect = c, u.prevToRect = h, a || (a = r.options.animation), r.animate(u, _, h, a)), a && (o = !0, l = Math.max(l, a), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
1119
+ var a = 0, u = s.target, c = u.fromRect, h = F(u), p = u.prevFromRect, _ = u.prevToRect, S = s.rect, m = De(u, !0);
1120
+ m && (h.top -= m.f, h.left -= m.e), u.toRect = h, u.thisAnimationDuration && ht(p, h) && !ht(c, h) && // Make sure animatingRect is on line between toRect & fromRect
1121
+ (S.top - h.top) / (S.left - h.left) === (c.top - h.top) / (c.left - h.left) && (a = In(S, p, _, r.options)), ht(h, c) || (u.prevFromRect = c, u.prevToRect = h, a || (a = r.options.animation), r.animate(u, S, h, a)), a && (o = !0, l = Math.max(l, a), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
1134
1122
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
1135
1123
  }, a), u.thisAnimationDuration = a);
1136
1124
  }), clearTimeout(e), o ? e = setTimeout(function() {
@@ -1139,10 +1127,10 @@ function En() {
1139
1127
  },
1140
1128
  animate: function(n, r, o, l) {
1141
1129
  if (l) {
1142
- b(n, "transition", ""), b(n, "transform", "");
1130
+ v(n, "transition", ""), v(n, "transform", "");
1143
1131
  var s = De(this.el), a = s && s.a, u = s && s.d, c = (r.left - o.left) / (a || 1), h = (r.top - o.top) / (u || 1);
1144
- n.animatingX = !!c, n.animatingY = !!h, b(n, "transform", "translate3d(" + c + "px," + h + "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() {
1145
- b(n, "transition", ""), b(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
1132
+ n.animatingX = !!c, n.animatingY = !!h, v(n, "transform", "translate3d(" + c + "px," + h + "px,0)"), this.forRepaintDummy = Dn(n), v(n, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), v(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1133
+ v(n, "transition", ""), v(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
1146
1134
  }, l);
1147
1135
  }
1148
1136
  }
@@ -1207,33 +1195,33 @@ var ye = [], pt = {
1207
1195
  }
1208
1196
  };
1209
1197
  function Tn(t) {
1210
- var e = t.sortable, i = t.rootEl, n = t.name, r = t.targetEl, o = t.cloneEl, l = t.toEl, s = t.fromEl, a = t.oldIndex, u = t.newIndex, c = t.oldDraggableIndex, h = t.newDraggableIndex, g = t.originalEvent, D = t.putSortable, _ = t.extraEventProperties;
1198
+ var e = t.sortable, i = t.rootEl, n = t.name, r = t.targetEl, o = t.cloneEl, l = t.toEl, s = t.fromEl, a = t.oldIndex, u = t.newIndex, c = t.oldDraggableIndex, h = t.newDraggableIndex, p = t.originalEvent, _ = t.putSortable, S = t.extraEventProperties;
1211
1199
  if (e = e || i && i[q], !!e) {
1212
- var v, T = e.options, $ = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1213
- window.CustomEvent && !se && !Re ? v = new CustomEvent(n, {
1200
+ var m, I = e.options, y = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1201
+ window.CustomEvent && !se && !Fe ? m = new CustomEvent(n, {
1214
1202
  bubbles: !0,
1215
1203
  cancelable: !0
1216
- }) : (v = document.createEvent("Event"), v.initEvent(n, !0, !0)), v.to = l || i, v.from = s || i, v.item = r || i, v.clone = o, v.oldIndex = a, v.newIndex = u, v.oldDraggableIndex = c, v.newDraggableIndex = h, v.originalEvent = g, v.pullMode = D ? D.lastPutMode : void 0;
1217
- var p = re(re({}, _), He.getEventProperties(n, e));
1218
- for (var d in p)
1219
- v[d] = p[d];
1220
- i && i.dispatchEvent(v), T[$] && T[$].call(e, v);
1204
+ }) : (m = document.createEvent("Event"), m.initEvent(n, !0, !0)), m.to = l || i, m.from = s || i, m.item = r || i, m.clone = o, m.oldIndex = a, m.newIndex = u, m.oldDraggableIndex = c, m.newDraggableIndex = h, m.originalEvent = p, m.pullMode = _ ? _.lastPutMode : void 0;
1205
+ var d = re(re({}, S), He.getEventProperties(n, e));
1206
+ for (var C in d)
1207
+ m[C] = d[C];
1208
+ i && i.dispatchEvent(m), I[y] && I[y].call(e, m);
1221
1209
  }
1222
1210
  }
1223
1211
  var Cn = ["evt"], U = function(e, i) {
1224
1212
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, o = bn(n, Cn);
1225
- He.pluginEvent.bind(y)(e, i, re({
1213
+ He.pluginEvent.bind(b)(e, i, re({
1226
1214
  dragEl: f,
1227
1215
  parentEl: M,
1228
- ghostEl: S,
1229
- rootEl: k,
1216
+ ghostEl: w,
1217
+ rootEl: P,
1230
1218
  nextEl: be,
1231
1219
  lastDownEl: qe,
1232
- cloneEl: N,
1220
+ cloneEl: $,
1233
1221
  cloneHidden: fe,
1234
1222
  dragStarted: Ae,
1235
1223
  putSortable: Y,
1236
- activeSortable: y.active,
1224
+ activeSortable: b.active,
1237
1225
  originalEvent: r,
1238
1226
  oldIndex: Ee,
1239
1227
  oldDraggableIndex: xe,
@@ -1248,7 +1236,7 @@ var Cn = ["evt"], U = function(e, i) {
1248
1236
  fe = !1;
1249
1237
  },
1250
1238
  dispatchSortableEvent: function(s) {
1251
- K({
1239
+ j({
1252
1240
  sortable: i,
1253
1241
  name: s,
1254
1242
  originalEvent: r
@@ -1256,19 +1244,19 @@ var Cn = ["evt"], U = function(e, i) {
1256
1244
  }
1257
1245
  }, o));
1258
1246
  };
1259
- function K(t) {
1247
+ function j(t) {
1260
1248
  Tn(re({
1261
1249
  putSortable: Y,
1262
- cloneEl: N,
1250
+ cloneEl: $,
1263
1251
  targetEl: f,
1264
- rootEl: k,
1252
+ rootEl: P,
1265
1253
  oldIndex: Ee,
1266
1254
  oldDraggableIndex: xe,
1267
1255
  newIndex: Q,
1268
1256
  newDraggableIndex: de
1269
1257
  }, t));
1270
1258
  }
1271
- var f, M, S, k, be, qe, N, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [], ge, te, mt, gt, Kt, Gt, Ae, we, Ve, Fe = !1, Ye = !1, Je, j, vt = [], Ot = !1, ot = [], st = typeof document < "u", Xe = Nt, Ut = Re || se ? "cssFloat" : "float", On = st && !ri && !Nt && "draggable" in document.createElement("div"), fi = function() {
1259
+ var f, M, w, P, be, qe, $, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [], ge, te, mt, gt, Kt, Gt, Ae, we, Ve, Re = !1, Ye = !1, Je, W, vt = [], Ot = !1, ot = [], st = typeof document < "u", Xe = Nt, Ut = Fe || se ? "cssFloat" : "float", On = st && !ri && !Nt && "draggable" in document.createElement("div"), fi = function() {
1272
1260
  if (st) {
1273
1261
  if (se)
1274
1262
  return !1;
@@ -1276,7 +1264,7 @@ var f, M, S, k, be, qe, N, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1276
1264
  return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
1277
1265
  }
1278
1266
  }(), hi = function(e, i) {
1279
- 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), s = o && b(o), a = l && b(l), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + H(o).width, c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + H(l).width;
1267
+ var n = v(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), s = o && v(o), a = l && v(l), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + F(o).width, c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + F(l).width;
1280
1268
  if (n.display === "flex")
1281
1269
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1282
1270
  if (n.display === "grid")
@@ -1294,7 +1282,7 @@ var f, M, S, k, be, qe, N, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1294
1282
  return rt.some(function(r) {
1295
1283
  var o = r[q].options.emptyInsertThreshold;
1296
1284
  if (!(!o || $t(r))) {
1297
- var l = H(r), s = e >= l.left - o && e <= l.right + o, a = i >= l.top - o && i <= l.bottom + o;
1285
+ var l = F(r), s = e >= l.left - o && e <= l.right + o, a = i >= l.top - o && i <= l.bottom + o;
1298
1286
  if (s && a)
1299
1287
  return n = r;
1300
1288
  }
@@ -1311,8 +1299,8 @@ var f, M, S, k, be, qe, N, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1311
1299
  return o;
1312
1300
  if (typeof o == "function")
1313
1301
  return i(o(s, a, u, c), l)(s, a, u, c);
1314
- var g = (l ? s : a).options.group.name;
1315
- return o === !0 || typeof o == "string" && o === g || o.join && o.indexOf(g) > -1;
1302
+ var p = (l ? s : a).options.group.name;
1303
+ return o === !0 || typeof o == "string" && o === p || o.join && o.indexOf(p) > -1;
1316
1304
  };
1317
1305
  }
1318
1306
  var n = {}, r = e.group;
@@ -1320,9 +1308,9 @@ var f, M, S, k, be, qe, N, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1320
1308
  name: r
1321
1309
  }), n.name = r.name, n.checkPull = i(r.pull, !0), n.checkPut = i(r.put), n.revertClone = r.revertClone, e.group = n;
1322
1310
  }, mi = function() {
1323
- !fi && S && b(S, "display", "none");
1311
+ !fi && w && v(w, "display", "none");
1324
1312
  }, gi = function() {
1325
- !fi && S && b(S, "display", "");
1313
+ !fi && w && v(w, "display", "");
1326
1314
  };
1327
1315
  st && !ri && document.addEventListener("click", function(t) {
1328
1316
  if (nt)
@@ -1342,7 +1330,7 @@ var ve = function(e) {
1342
1330
  }, kn = function(e) {
1343
1331
  f && f.parentNode[q]._isOutsideThisEl(e.target);
1344
1332
  };
1345
- function y(t, e) {
1333
+ function b(t, e) {
1346
1334
  if (!(t && t.nodeType && t.nodeType === 1))
1347
1335
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
1348
1336
  this.el = t, this.options = e = ae({}, e), t[q] = this;
@@ -1389,7 +1377,7 @@ function y(t, e) {
1389
1377
  y: 0
1390
1378
  },
1391
1379
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
1392
- supportPointer: y.supportPointer !== !1 && "PointerEvent" in window && (!$e || Nt),
1380
+ supportPointer: b.supportPointer !== !1 && "PointerEvent" in window && (!$e || Nt),
1393
1381
  emptyInsertThreshold: 5
1394
1382
  };
1395
1383
  He.initializePlugins(this, t, i);
@@ -1398,11 +1386,11 @@ function y(t, e) {
1398
1386
  pi(e);
1399
1387
  for (var r in this)
1400
1388
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
1401
- this.nativeDraggable = e.forceFallback ? !1 : On, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? O(t, "pointerdown", this._onTapStart) : (O(t, "mousedown", this._onTapStart), O(t, "touchstart", this._onTapStart)), this.nativeDraggable && (O(t, "dragover", this), O(t, "dragenter", this)), rt.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), ae(this, En());
1389
+ this.nativeDraggable = e.forceFallback ? !1 : On, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? A(t, "pointerdown", this._onTapStart) : (A(t, "mousedown", this._onTapStart), A(t, "touchstart", this._onTapStart)), this.nativeDraggable && (A(t, "dragover", this), A(t, "dragenter", this)), rt.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), ae(this, En());
1402
1390
  }
1403
- y.prototype = /** @lends Sortable.prototype */
1391
+ b.prototype = /** @lends Sortable.prototype */
1404
1392
  {
1405
- constructor: y,
1393
+ constructor: b,
1406
1394
  _isOutsideThisEl: function(e) {
1407
1395
  !this.el.contains(e) && e !== this.el && (we = null);
1408
1396
  },
@@ -1412,10 +1400,10 @@ y.prototype = /** @lends Sortable.prototype */
1412
1400
  _onTapStart: function(e) {
1413
1401
  if (e.cancelable) {
1414
1402
  var i = this, n = this.el, r = this.options, o = r.preventOnFilter, l = e.type, s = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, a = (s || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || a, c = r.filter;
1415
- if (Rn(n), !f && !(/mousedown|pointerdown/.test(l) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && $e && a && a.tagName.toUpperCase() === "SELECT") && (a = ie(a, r.draggable, n, !1), !(a && a.animated) && qe !== a)) {
1403
+ if (Fn(n), !f && !(/mousedown|pointerdown/.test(l) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && $e && a && a.tagName.toUpperCase() === "SELECT") && (a = ie(a, r.draggable, n, !1), !(a && a.animated) && qe !== a)) {
1416
1404
  if (Ee = ee(a), xe = ee(a, r.draggable), typeof c == "function") {
1417
1405
  if (c.call(this, e, a, this)) {
1418
- K({
1406
+ j({
1419
1407
  sortable: i,
1420
1408
  rootEl: u,
1421
1409
  name: "filter",
@@ -1429,7 +1417,7 @@ y.prototype = /** @lends Sortable.prototype */
1429
1417
  }
1430
1418
  } else if (c && (c = c.split(",").some(function(h) {
1431
1419
  if (h = ie(u, h.trim(), n, !1), h)
1432
- return K({
1420
+ return j({
1433
1421
  sortable: i,
1434
1422
  rootEl: h,
1435
1423
  name: "filter",
@@ -1450,33 +1438,33 @@ y.prototype = /** @lends Sortable.prototype */
1450
1438
  _prepareDragStart: function(e, i, n) {
1451
1439
  var r = this, o = r.el, l = r.options, s = o.ownerDocument, a;
1452
1440
  if (n && !f && n.parentNode === o) {
1453
- var u = H(n);
1454
- if (k = o, f = n, M = f.parentNode, be = f.nextSibling, qe = n, Be = l.group, y.dragged = f, ge = {
1441
+ var u = F(n);
1442
+ if (P = o, f = n, M = f.parentNode, be = f.nextSibling, qe = n, Be = l.group, b.dragged = f, ge = {
1455
1443
  target: f,
1456
1444
  clientX: (i || e).clientX,
1457
1445
  clientY: (i || e).clientY
1458
1446
  }, Kt = ge.clientX - u.left, Gt = ge.clientY - u.top, this._lastX = (i || e).clientX, this._lastY = (i || e).clientY, f.style["will-change"] = "all", a = function() {
1459
1447
  if (U("delayEnded", r, {
1460
1448
  evt: e
1461
- }), y.eventCanceled) {
1449
+ }), b.eventCanceled) {
1462
1450
  r._onDrop();
1463
1451
  return;
1464
1452
  }
1465
- r._disableDelayedDragEvents(), !Yt && r.nativeDraggable && (f.draggable = !0), r._triggerDragStart(e, i), K({
1453
+ r._disableDelayedDragEvents(), !Yt && r.nativeDraggable && (f.draggable = !0), r._triggerDragStart(e, i), j({
1466
1454
  sortable: r,
1467
1455
  name: "choose",
1468
1456
  originalEvent: e
1469
1457
  }), Z(f, l.chosenClass, !0);
1470
1458
  }, l.ignore.split(",").forEach(function(c) {
1471
1459
  ai(f, c.trim(), bt);
1472
- }), O(s, "dragover", ve), O(s, "mousemove", ve), O(s, "touchmove", ve), l.supportPointer ? (O(s, "pointerup", r._onDrop), !this.nativeDraggable && O(s, "pointercancel", r._onDrop)) : (O(s, "mouseup", r._onDrop), O(s, "touchend", r._onDrop), O(s, "touchcancel", r._onDrop)), Yt && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), U("delayStart", this, {
1460
+ }), A(s, "dragover", ve), A(s, "mousemove", ve), A(s, "touchmove", ve), l.supportPointer ? (A(s, "pointerup", r._onDrop), !this.nativeDraggable && A(s, "pointercancel", r._onDrop)) : (A(s, "mouseup", r._onDrop), A(s, "touchend", r._onDrop), A(s, "touchcancel", r._onDrop)), Yt && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), U("delayStart", this, {
1473
1461
  evt: e
1474
- }), l.delay && (!l.delayOnTouchOnly || i) && (!this.nativeDraggable || !(Re || se))) {
1475
- if (y.eventCanceled) {
1462
+ }), l.delay && (!l.delayOnTouchOnly || i) && (!this.nativeDraggable || !(Fe || se))) {
1463
+ if (b.eventCanceled) {
1476
1464
  this._onDrop();
1477
1465
  return;
1478
1466
  }
1479
- l.supportPointer ? (O(s, "pointerup", r._disableDelayedDrag), O(s, "pointercancel", r._disableDelayedDrag)) : (O(s, "mouseup", r._disableDelayedDrag), O(s, "touchend", r._disableDelayedDrag), O(s, "touchcancel", r._disableDelayedDrag)), O(s, "mousemove", r._delayedDragTouchMoveHandler), O(s, "touchmove", r._delayedDragTouchMoveHandler), l.supportPointer && O(s, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(a, l.delay);
1467
+ l.supportPointer ? (A(s, "pointerup", r._disableDelayedDrag), A(s, "pointercancel", r._disableDelayedDrag)) : (A(s, "mouseup", r._disableDelayedDrag), A(s, "touchend", r._disableDelayedDrag), A(s, "touchcancel", r._disableDelayedDrag)), A(s, "mousemove", r._delayedDragTouchMoveHandler), A(s, "touchmove", r._delayedDragTouchMoveHandler), l.supportPointer && A(s, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(a, l.delay);
1480
1468
  } else
1481
1469
  a();
1482
1470
  }
@@ -1490,10 +1478,10 @@ y.prototype = /** @lends Sortable.prototype */
1490
1478
  },
1491
1479
  _disableDelayedDragEvents: function() {
1492
1480
  var e = this.el.ownerDocument;
1493
- C(e, "mouseup", this._disableDelayedDrag), C(e, "touchend", this._disableDelayedDrag), C(e, "touchcancel", this._disableDelayedDrag), C(e, "pointerup", this._disableDelayedDrag), C(e, "pointercancel", this._disableDelayedDrag), C(e, "mousemove", this._delayedDragTouchMoveHandler), C(e, "touchmove", this._delayedDragTouchMoveHandler), C(e, "pointermove", this._delayedDragTouchMoveHandler);
1481
+ O(e, "mouseup", this._disableDelayedDrag), O(e, "touchend", this._disableDelayedDrag), O(e, "touchcancel", this._disableDelayedDrag), O(e, "pointerup", this._disableDelayedDrag), O(e, "pointercancel", this._disableDelayedDrag), O(e, "mousemove", this._delayedDragTouchMoveHandler), O(e, "touchmove", this._delayedDragTouchMoveHandler), O(e, "pointermove", this._delayedDragTouchMoveHandler);
1494
1482
  },
1495
1483
  _triggerDragStart: function(e, i) {
1496
- i = i || e.pointerType == "touch" && e, !this.nativeDraggable || i ? this.options.supportPointer ? O(document, "pointermove", this._onTouchMove) : i ? O(document, "touchmove", this._onTouchMove) : O(document, "mousemove", this._onTouchMove) : (O(f, "dragend", this), O(k, "dragstart", this._onDragStart));
1484
+ i = i || e.pointerType == "touch" && e, !this.nativeDraggable || i ? this.options.supportPointer ? A(document, "pointermove", this._onTouchMove) : i ? A(document, "touchmove", this._onTouchMove) : A(document, "mousemove", this._onTouchMove) : (A(f, "dragend", this), A(P, "dragstart", this._onDragStart));
1497
1485
  try {
1498
1486
  document.selection ? Ze(function() {
1499
1487
  document.selection.empty();
@@ -1502,12 +1490,12 @@ y.prototype = /** @lends Sortable.prototype */
1502
1490
  }
1503
1491
  },
1504
1492
  _dragStarted: function(e, i) {
1505
- if (_e = !1, k && f) {
1493
+ if (_e = !1, P && f) {
1506
1494
  U("dragStarted", this, {
1507
1495
  evt: i
1508
- }), this.nativeDraggable && O(document, "dragover", kn);
1496
+ }), this.nativeDraggable && A(document, "dragover", kn);
1509
1497
  var n = this.options;
1510
- !e && Z(f, n.dragClass, !1), Z(f, n.ghostClass, !0), y.active = this, e && this._appendGhost(), K({
1498
+ !e && Z(f, n.dragClass, !1), Z(f, n.ghostClass, !0), b.active = this, e && this._appendGhost(), j({
1511
1499
  sortable: this,
1512
1500
  name: "start",
1513
1501
  originalEvent: i
@@ -1539,13 +1527,13 @@ y.prototype = /** @lends Sortable.prototype */
1539
1527
  },
1540
1528
  _onTouchMove: function(e) {
1541
1529
  if (ge) {
1542
- var i = this.options, n = i.fallbackTolerance, r = i.fallbackOffset, o = e.touches ? e.touches[0] : e, l = S && De(S, !0), s = S && l && l.a, a = S && l && l.d, u = Xe && j && jt(j), c = (o.clientX - ge.clientX + r.x) / (s || 1) + (u ? u[0] - vt[0] : 0) / (s || 1), h = (o.clientY - ge.clientY + r.y) / (a || 1) + (u ? u[1] - vt[1] : 0) / (a || 1);
1543
- if (!y.active && !_e) {
1530
+ var i = this.options, n = i.fallbackTolerance, r = i.fallbackOffset, o = e.touches ? e.touches[0] : e, l = w && De(w, !0), s = w && l && l.a, a = w && l && l.d, u = Xe && W && jt(W), c = (o.clientX - ge.clientX + r.x) / (s || 1) + (u ? u[0] - vt[0] : 0) / (s || 1), h = (o.clientY - ge.clientY + r.y) / (a || 1) + (u ? u[1] - vt[1] : 0) / (a || 1);
1531
+ if (!b.active && !_e) {
1544
1532
  if (n && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < n)
1545
1533
  return;
1546
1534
  this._onDragStart(e, !0);
1547
1535
  }
1548
- if (S) {
1536
+ if (w) {
1549
1537
  l ? (l.e += c - (mt || 0), l.f += h - (gt || 0)) : l = {
1550
1538
  a: 1,
1551
1539
  b: 0,
@@ -1554,73 +1542,73 @@ y.prototype = /** @lends Sortable.prototype */
1554
1542
  e: c,
1555
1543
  f: h
1556
1544
  };
1557
- var g = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
1558
- b(S, "webkitTransform", g), b(S, "mozTransform", g), b(S, "msTransform", g), b(S, "transform", g), mt = c, gt = h, te = o;
1545
+ var p = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
1546
+ v(w, "webkitTransform", p), v(w, "mozTransform", p), v(w, "msTransform", p), v(w, "transform", p), mt = c, gt = h, te = o;
1559
1547
  }
1560
1548
  e.cancelable && e.preventDefault();
1561
1549
  }
1562
1550
  },
1563
1551
  _appendGhost: function() {
1564
- if (!S) {
1565
- var e = this.options.fallbackOnBody ? document.body : k, i = H(f, !0, Xe, !0, e), n = this.options;
1552
+ if (!w) {
1553
+ var e = this.options.fallbackOnBody ? document.body : P, i = F(f, !0, Xe, !0, e), n = this.options;
1566
1554
  if (Xe) {
1567
- for (j = e; b(j, "position") === "static" && b(j, "transform") === "none" && j !== document; )
1568
- j = j.parentNode;
1569
- j !== document.body && j !== document.documentElement ? (j === document && (j = ne()), i.top += j.scrollTop, i.left += j.scrollLeft) : j = ne(), vt = jt(j);
1555
+ for (W = e; v(W, "position") === "static" && v(W, "transform") === "none" && W !== document; )
1556
+ W = W.parentNode;
1557
+ W !== document.body && W !== document.documentElement ? (W === document && (W = ne()), i.top += W.scrollTop, i.left += W.scrollLeft) : W = ne(), vt = jt(W);
1570
1558
  }
1571
- S = f.cloneNode(!0), Z(S, n.ghostClass, !1), Z(S, n.fallbackClass, !0), Z(S, n.dragClass, !0), b(S, "transition", ""), b(S, "transform", ""), b(S, "box-sizing", "border-box"), b(S, "margin", 0), b(S, "top", i.top), b(S, "left", i.left), b(S, "width", i.width), b(S, "height", i.height), b(S, "opacity", "0.8"), b(S, "position", Xe ? "absolute" : "fixed"), b(S, "zIndex", "100000"), b(S, "pointerEvents", "none"), y.ghost = S, e.appendChild(S), b(S, "transform-origin", Kt / parseInt(S.style.width) * 100 + "% " + Gt / parseInt(S.style.height) * 100 + "%");
1559
+ w = f.cloneNode(!0), Z(w, n.ghostClass, !1), Z(w, n.fallbackClass, !0), Z(w, n.dragClass, !0), v(w, "transition", ""), v(w, "transform", ""), v(w, "box-sizing", "border-box"), v(w, "margin", 0), v(w, "top", i.top), v(w, "left", i.left), v(w, "width", i.width), v(w, "height", i.height), v(w, "opacity", "0.8"), v(w, "position", Xe ? "absolute" : "fixed"), v(w, "zIndex", "100000"), v(w, "pointerEvents", "none"), b.ghost = w, e.appendChild(w), v(w, "transform-origin", Kt / parseInt(w.style.width) * 100 + "% " + Gt / parseInt(w.style.height) * 100 + "%");
1572
1560
  }
1573
1561
  },
1574
1562
  _onDragStart: function(e, i) {
1575
1563
  var n = this, r = e.dataTransfer, o = n.options;
1576
1564
  if (U("dragStart", this, {
1577
1565
  evt: e
1578
- }), y.eventCanceled) {
1566
+ }), b.eventCanceled) {
1579
1567
  this._onDrop();
1580
1568
  return;
1581
1569
  }
1582
- U("setupClone", this), y.eventCanceled || (N = ci(f), N.removeAttribute("id"), N.draggable = !1, N.style["will-change"] = "", this._hideClone(), Z(N, this.options.chosenClass, !1), y.clone = N), n.cloneId = Ze(function() {
1583
- U("clone", n), !y.eventCanceled && (n.options.removeCloneOnHide || k.insertBefore(N, f), n._hideClone(), K({
1570
+ U("setupClone", this), b.eventCanceled || ($ = ci(f), $.removeAttribute("id"), $.draggable = !1, $.style["will-change"] = "", this._hideClone(), Z($, this.options.chosenClass, !1), b.clone = $), n.cloneId = Ze(function() {
1571
+ U("clone", n), !b.eventCanceled && (n.options.removeCloneOnHide || P.insertBefore($, f), n._hideClone(), j({
1584
1572
  sortable: n,
1585
1573
  name: "clone"
1586
1574
  }));
1587
- }), !i && Z(f, o.dragClass, !0), i ? (nt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (C(document, "mouseup", n._onDrop), C(document, "touchend", n._onDrop), C(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, f)), O(document, "drop", n), b(f, "transform", "translateZ(0)")), _e = !0, n._dragStartId = Ze(n._dragStarted.bind(n, i, e)), O(document, "selectstart", n), Ae = !0, window.getSelection().removeAllRanges(), $e && b(document.body, "user-select", "none");
1575
+ }), !i && Z(f, o.dragClass, !0), i ? (nt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (O(document, "mouseup", n._onDrop), O(document, "touchend", n._onDrop), O(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, f)), A(document, "drop", n), v(f, "transform", "translateZ(0)")), _e = !0, n._dragStartId = Ze(n._dragStarted.bind(n, i, e)), A(document, "selectstart", n), Ae = !0, window.getSelection().removeAllRanges(), $e && v(document.body, "user-select", "none");
1588
1576
  },
1589
1577
  // Returns true - if no further action is needed (either inserted or another condition)
1590
1578
  _onDragOver: function(e) {
1591
- var i = this.el, n = e.target, r, o, l, s = this.options, a = s.group, u = y.active, c = Be === a, h = s.sort, g = Y || u, D, _ = this, v = !1;
1579
+ var i = this.el, n = e.target, r, o, l, s = this.options, a = s.group, u = b.active, c = Be === a, h = s.sort, p = Y || u, _, S = this, m = !1;
1592
1580
  if (Ot) return;
1593
- function T(Te, bi) {
1594
- U(Te, _, re({
1581
+ function I(Te, bi) {
1582
+ U(Te, S, re({
1595
1583
  evt: e,
1596
1584
  isOwner: c,
1597
- axis: D ? "vertical" : "horizontal",
1585
+ axis: _ ? "vertical" : "horizontal",
1598
1586
  revert: l,
1599
1587
  dragRect: r,
1600
1588
  targetRect: o,
1601
1589
  canSort: h,
1602
- fromSortable: g,
1590
+ fromSortable: p,
1603
1591
  target: n,
1604
- completed: p,
1592
+ completed: d,
1605
1593
  onMove: function(Vt, yi) {
1606
- return We(k, i, f, r, Vt, H(Vt), e, yi);
1594
+ return We(P, i, f, r, Vt, F(Vt), e, yi);
1607
1595
  },
1608
- changed: d
1596
+ changed: C
1609
1597
  }, bi));
1610
1598
  }
1611
- function $() {
1612
- T("dragOverAnimationCapture"), _.captureAnimationState(), _ !== g && g.captureAnimationState();
1599
+ function y() {
1600
+ I("dragOverAnimationCapture"), S.captureAnimationState(), S !== p && p.captureAnimationState();
1613
1601
  }
1614
- function p(Te) {
1615
- return T("dragOverCompleted", {
1602
+ function d(Te) {
1603
+ return I("dragOverCompleted", {
1616
1604
  insertion: Te
1617
- }), Te && (c ? u._hideClone() : u._showClone(_), _ !== g && (Z(f, Y ? Y.options.ghostClass : u.options.ghostClass, !1), Z(f, s.ghostClass, !0)), Y !== _ && _ !== y.active ? Y = _ : _ === y.active && Y && (Y = null), g === _ && (_._ignoreWhileAnimating = n), _.animateAll(function() {
1618
- T("dragOverAnimationComplete"), _._ignoreWhileAnimating = null;
1619
- }), _ !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (n === f && !f.animated || n === i && !n.animated) && (we = null), !s.dragoverBubble && !e.rootEl && n !== document && (f.parentNode[q]._isOutsideThisEl(e.target), !Te && ve(e)), !s.dragoverBubble && e.stopPropagation && e.stopPropagation(), v = !0;
1605
+ }), Te && (c ? u._hideClone() : u._showClone(S), S !== p && (Z(f, Y ? Y.options.ghostClass : u.options.ghostClass, !1), Z(f, s.ghostClass, !0)), Y !== S && S !== b.active ? Y = S : S === b.active && Y && (Y = null), p === S && (S._ignoreWhileAnimating = n), S.animateAll(function() {
1606
+ I("dragOverAnimationComplete"), S._ignoreWhileAnimating = null;
1607
+ }), S !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === f && !f.animated || n === i && !n.animated) && (we = null), !s.dragoverBubble && !e.rootEl && n !== document && (f.parentNode[q]._isOutsideThisEl(e.target), !Te && ve(e)), !s.dragoverBubble && e.stopPropagation && e.stopPropagation(), m = !0;
1620
1608
  }
1621
- function d() {
1622
- Q = ee(f), de = ee(f, s.draggable), K({
1623
- sortable: _,
1609
+ function C() {
1610
+ Q = ee(f), de = ee(f, s.draggable), j({
1611
+ sortable: S,
1624
1612
  name: "change",
1625
1613
  toEl: i,
1626
1614
  newIndex: Q,
@@ -1628,106 +1616,106 @@ y.prototype = /** @lends Sortable.prototype */
1628
1616
  originalEvent: e
1629
1617
  });
1630
1618
  }
1631
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = ie(n, s.draggable, i, !0), T("dragOver"), y.eventCanceled) return v;
1632
- if (f.contains(e.target) || n.animated && n.animatingX && n.animatingY || _._ignoreWhileAnimating === n)
1633
- return p(!1);
1634
- if (nt = !1, u && !s.disabled && (c ? h || (l = M !== k) : Y === this || (this.lastPutMode = Be.checkPull(this, u, f, e)) && a.checkPut(this, u, f, e))) {
1635
- if (D = this._getDirection(e, n) === "vertical", r = H(f), T("dragOverValid"), y.eventCanceled) return v;
1619
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = ie(n, s.draggable, i, !0), I("dragOver"), b.eventCanceled) return m;
1620
+ if (f.contains(e.target) || n.animated && n.animatingX && n.animatingY || S._ignoreWhileAnimating === n)
1621
+ return d(!1);
1622
+ if (nt = !1, u && !s.disabled && (c ? h || (l = M !== P) : Y === this || (this.lastPutMode = Be.checkPull(this, u, f, e)) && a.checkPut(this, u, f, e))) {
1623
+ if (_ = this._getDirection(e, n) === "vertical", r = F(f), I("dragOverValid"), b.eventCanceled) return m;
1636
1624
  if (l)
1637
- return M = k, $(), this._hideClone(), T("revert"), y.eventCanceled || (be ? k.insertBefore(f, be) : k.appendChild(f)), p(!0);
1638
- var m = $t(i, s.draggable);
1639
- if (!m || Mn(e, D, this) && !m.animated) {
1640
- if (m === f)
1641
- return p(!1);
1642
- if (m && i === e.target && (n = m), n && (o = H(n)), We(k, i, f, r, n, o, e, !!n) !== !1)
1643
- return $(), m && m.nextSibling ? i.insertBefore(f, m.nextSibling) : i.appendChild(f), M = i, d(), p(!0);
1644
- } else if (m && $n(e, D, this)) {
1645
- var W = Ie(i, 0, s, !0);
1646
- if (W === f)
1647
- return p(!1);
1648
- if (n = W, o = H(n), We(k, i, f, r, n, o, e, !1) !== !1)
1649
- return $(), i.insertBefore(f, W), M = i, d(), p(!0);
1625
+ return M = P, y(), this._hideClone(), I("revert"), b.eventCanceled || (be ? P.insertBefore(f, be) : P.appendChild(f)), d(!0);
1626
+ var g = $t(i, s.draggable);
1627
+ if (!g || Mn(e, _, this) && !g.animated) {
1628
+ if (g === f)
1629
+ return d(!1);
1630
+ if (g && i === e.target && (n = g), n && (o = F(n)), We(P, i, f, r, n, o, e, !!n) !== !1)
1631
+ return y(), g && g.nextSibling ? i.insertBefore(f, g.nextSibling) : i.appendChild(f), M = i, C(), d(!0);
1632
+ } else if (g && $n(e, _, this)) {
1633
+ var E = Ie(i, 0, s, !0);
1634
+ if (E === f)
1635
+ return d(!1);
1636
+ if (n = E, o = F(n), We(P, i, f, r, n, o, e, !1) !== !1)
1637
+ return y(), i.insertBefore(f, E), M = i, C(), d(!0);
1650
1638
  } else if (n.parentNode === i) {
1651
- o = H(n);
1652
- var w = 0, F, L = f.parentNode !== i, B = !An(f.animated && f.toRect || r, n.animated && n.toRect || o, D), I = D ? "top" : "left", x = Wt(n, "top", "top") || Wt(f, "top", "top"), P = x ? x.scrollTop : void 0;
1653
- we !== n && (F = o[I], Fe = !1, Ye = !B && s.invertSwap || L), w = xn(e, n, o, D, B ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Ye, we === n);
1654
- var A;
1655
- if (w !== 0) {
1639
+ o = F(n);
1640
+ var L = 0, H, G = f.parentNode !== i, B = !An(f.animated && f.toRect || r, n.animated && n.toRect || o, _), T = _ ? "top" : "left", x = Wt(n, "top", "top") || Wt(f, "top", "top"), N = x ? x.scrollTop : void 0;
1641
+ we !== n && (H = o[T], Re = !1, Ye = !B && s.invertSwap || G), L = xn(e, n, o, _, B ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Ye, we === n);
1642
+ var z;
1643
+ if (L !== 0) {
1656
1644
  var J = ee(f);
1657
1645
  do
1658
- J -= w, A = M.children[J];
1659
- while (A && (b(A, "display") === "none" || A === S));
1646
+ J -= L, z = M.children[J];
1647
+ while (z && (v(z, "display") === "none" || z === w));
1660
1648
  }
1661
- if (w === 0 || A === n)
1662
- return p(!1);
1663
- we = n, Ve = w;
1649
+ if (L === 0 || z === n)
1650
+ return d(!1);
1651
+ we = n, Ve = L;
1664
1652
  var ue = n.nextElementSibling, V = !1;
1665
- V = w === 1;
1666
- var me = We(k, i, f, r, n, o, e, V);
1653
+ V = L === 1;
1654
+ var me = We(P, i, f, r, n, o, e, V);
1667
1655
  if (me !== !1)
1668
- return (me === 1 || me === -1) && (V = me === 1), Ot = !0, setTimeout(Nn, 30), $(), V && !ue ? i.appendChild(f) : n.parentNode.insertBefore(f, V ? ue : n), x && ui(x, 0, P - x.scrollTop), M = f.parentNode, F !== void 0 && !Ye && (Je = Math.abs(F - H(n)[I])), d(), p(!0);
1656
+ return (me === 1 || me === -1) && (V = me === 1), Ot = !0, setTimeout(Nn, 30), y(), V && !ue ? i.appendChild(f) : n.parentNode.insertBefore(f, V ? ue : n), x && ui(x, 0, N - x.scrollTop), M = f.parentNode, H !== void 0 && !Ye && (Je = Math.abs(H - F(n)[T])), C(), d(!0);
1669
1657
  }
1670
1658
  if (i.contains(f))
1671
- return p(!1);
1659
+ return d(!1);
1672
1660
  }
1673
1661
  return !1;
1674
1662
  },
1675
1663
  _ignoreWhileAnimating: null,
1676
1664
  _offMoveEvents: function() {
1677
- C(document, "mousemove", this._onTouchMove), C(document, "touchmove", this._onTouchMove), C(document, "pointermove", this._onTouchMove), C(document, "dragover", ve), C(document, "mousemove", ve), C(document, "touchmove", ve);
1665
+ O(document, "mousemove", this._onTouchMove), O(document, "touchmove", this._onTouchMove), O(document, "pointermove", this._onTouchMove), O(document, "dragover", ve), O(document, "mousemove", ve), O(document, "touchmove", ve);
1678
1666
  },
1679
1667
  _offUpEvents: function() {
1680
1668
  var e = this.el.ownerDocument;
1681
- C(e, "mouseup", this._onDrop), C(e, "touchend", this._onDrop), C(e, "pointerup", this._onDrop), C(e, "pointercancel", this._onDrop), C(e, "touchcancel", this._onDrop), C(document, "selectstart", this);
1669
+ O(e, "mouseup", this._onDrop), O(e, "touchend", this._onDrop), O(e, "pointerup", this._onDrop), O(e, "pointercancel", this._onDrop), O(e, "touchcancel", this._onDrop), O(document, "selectstart", this);
1682
1670
  },
1683
1671
  _onDrop: function(e) {
1684
1672
  var i = this.el, n = this.options;
1685
1673
  if (Q = ee(f), de = ee(f, n.draggable), U("drop", this, {
1686
1674
  evt: e
1687
- }), M = f && f.parentNode, Q = ee(f), de = ee(f, n.draggable), y.eventCanceled) {
1675
+ }), M = f && f.parentNode, Q = ee(f), de = ee(f, n.draggable), b.eventCanceled) {
1688
1676
  this._nulling();
1689
1677
  return;
1690
1678
  }
1691
- _e = !1, Ye = !1, Fe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), At(this.cloneId), At(this._dragStartId), this.nativeDraggable && (C(document, "drop", this), C(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), $e && b(document.body, "user-select", ""), b(f, "transform", ""), e && (Ae && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), S && S.parentNode && S.parentNode.removeChild(S), (k === M || Y && Y.lastPutMode !== "clone") && N && N.parentNode && N.parentNode.removeChild(N), f && (this.nativeDraggable && C(f, "dragend", this), bt(f), f.style["will-change"] = "", Ae && !_e && Z(f, Y ? Y.options.ghostClass : this.options.ghostClass, !1), Z(f, this.options.chosenClass, !1), K({
1679
+ _e = !1, Ye = !1, Re = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), At(this.cloneId), At(this._dragStartId), this.nativeDraggable && (O(document, "drop", this), O(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), $e && v(document.body, "user-select", ""), v(f, "transform", ""), e && (Ae && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (P === M || Y && Y.lastPutMode !== "clone") && $ && $.parentNode && $.parentNode.removeChild($), f && (this.nativeDraggable && O(f, "dragend", this), bt(f), f.style["will-change"] = "", Ae && !_e && Z(f, Y ? Y.options.ghostClass : this.options.ghostClass, !1), Z(f, this.options.chosenClass, !1), j({
1692
1680
  sortable: this,
1693
1681
  name: "unchoose",
1694
1682
  toEl: M,
1695
1683
  newIndex: null,
1696
1684
  newDraggableIndex: null,
1697
1685
  originalEvent: e
1698
- }), k !== M ? (Q >= 0 && (K({
1686
+ }), P !== M ? (Q >= 0 && (j({
1699
1687
  rootEl: M,
1700
1688
  name: "add",
1701
1689
  toEl: M,
1702
- fromEl: k,
1690
+ fromEl: P,
1703
1691
  originalEvent: e
1704
- }), K({
1692
+ }), j({
1705
1693
  sortable: this,
1706
1694
  name: "remove",
1707
1695
  toEl: M,
1708
1696
  originalEvent: e
1709
- }), K({
1697
+ }), j({
1710
1698
  rootEl: M,
1711
1699
  name: "sort",
1712
1700
  toEl: M,
1713
- fromEl: k,
1701
+ fromEl: P,
1714
1702
  originalEvent: e
1715
- }), K({
1703
+ }), j({
1716
1704
  sortable: this,
1717
1705
  name: "sort",
1718
1706
  toEl: M,
1719
1707
  originalEvent: e
1720
- })), Y && Y.save()) : Q !== Ee && Q >= 0 && (K({
1708
+ })), Y && Y.save()) : Q !== Ee && Q >= 0 && (j({
1721
1709
  sortable: this,
1722
1710
  name: "update",
1723
1711
  toEl: M,
1724
1712
  originalEvent: e
1725
- }), K({
1713
+ }), j({
1726
1714
  sortable: this,
1727
1715
  name: "sort",
1728
1716
  toEl: M,
1729
1717
  originalEvent: e
1730
- })), y.active && ((Q == null || Q === -1) && (Q = Ee, de = xe), K({
1718
+ })), b.active && ((Q == null || Q === -1) && (Q = Ee, de = xe), j({
1731
1719
  sortable: this,
1732
1720
  name: "end",
1733
1721
  toEl: M,
@@ -1735,7 +1723,7 @@ y.prototype = /** @lends Sortable.prototype */
1735
1723
  }), this.save()))), this._nulling();
1736
1724
  },
1737
1725
  _nulling: function() {
1738
- U("nulling", this), k = f = M = S = be = N = qe = fe = ge = te = Ae = Q = de = Ee = xe = we = Ve = Y = Be = y.dragged = y.ghost = y.clone = y.active = null, ot.forEach(function(e) {
1726
+ U("nulling", this), P = f = M = w = be = $ = qe = fe = ge = te = Ae = Q = de = Ee = xe = we = Ve = Y = Be = b.dragged = b.ghost = b.clone = b.active = null, ot.forEach(function(e) {
1739
1727
  e.checked = !0;
1740
1728
  }), ot.length = mt = gt = 0;
1741
1729
  },
@@ -1760,7 +1748,7 @@ y.prototype = /** @lends Sortable.prototype */
1760
1748
  */
1761
1749
  toArray: function() {
1762
1750
  for (var e = [], i, n = this.el.children, r = 0, o = n.length, l = this.options; r < o; r++)
1763
- i = n[r], ie(i, l.draggable, this.el, !1) && e.push(i.getAttribute(l.dataIdAttr) || Fn(i));
1751
+ i = n[r], ie(i, l.draggable, this.el, !1) && e.push(i.getAttribute(l.dataIdAttr) || Rn(i));
1764
1752
  return e;
1765
1753
  },
1766
1754
  /**
@@ -1811,14 +1799,14 @@ y.prototype = /** @lends Sortable.prototype */
1811
1799
  destroy: function() {
1812
1800
  U("destroy", this);
1813
1801
  var e = this.el;
1814
- e[q] = null, C(e, "mousedown", this._onTapStart), C(e, "touchstart", this._onTapStart), C(e, "pointerdown", this._onTapStart), this.nativeDraggable && (C(e, "dragover", this), C(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(i) {
1802
+ e[q] = null, O(e, "mousedown", this._onTapStart), O(e, "touchstart", this._onTapStart), O(e, "pointerdown", this._onTapStart), this.nativeDraggable && (O(e, "dragover", this), O(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(i) {
1815
1803
  i.removeAttribute("draggable");
1816
1804
  }), this._onDrop(), this._disableDelayedDragEvents(), rt.splice(rt.indexOf(this.el), 1), this.el = e = null;
1817
1805
  },
1818
1806
  _hideClone: function() {
1819
1807
  if (!fe) {
1820
- if (U("hideClone", this), y.eventCanceled) return;
1821
- b(N, "display", "none"), this.options.removeCloneOnHide && N.parentNode && N.parentNode.removeChild(N), fe = !0;
1808
+ if (U("hideClone", this), b.eventCanceled) return;
1809
+ v($, "display", "none"), this.options.removeCloneOnHide && $.parentNode && $.parentNode.removeChild($), fe = !0;
1822
1810
  }
1823
1811
  },
1824
1812
  _showClone: function(e) {
@@ -1827,8 +1815,8 @@ y.prototype = /** @lends Sortable.prototype */
1827
1815
  return;
1828
1816
  }
1829
1817
  if (fe) {
1830
- if (U("showClone", this), y.eventCanceled) return;
1831
- f.parentNode == k && !this.options.group.revertClone ? k.insertBefore(N, f) : be ? k.insertBefore(N, be) : k.appendChild(N), this.options.group.revertClone && this.animate(f, N), b(N, "display", ""), fe = !1;
1818
+ if (U("showClone", this), b.eventCanceled) return;
1819
+ f.parentNode == P && !this.options.group.revertClone ? P.insertBefore($, f) : be ? P.insertBefore($, be) : P.appendChild($), this.options.group.revertClone && this.animate(f, $), v($, "display", ""), fe = !1;
1832
1820
  }
1833
1821
  }
1834
1822
  };
@@ -1837,10 +1825,10 @@ function Pn(t) {
1837
1825
  }
1838
1826
  function We(t, e, i, n, r, o, l, s) {
1839
1827
  var a, u = t[q], c = u.options.onMove, h;
1840
- return window.CustomEvent && !se && !Re ? a = new CustomEvent("move", {
1828
+ return window.CustomEvent && !se && !Fe ? a = new CustomEvent("move", {
1841
1829
  bubbles: !0,
1842
1830
  cancelable: !0
1843
- }) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = e, a.from = t, a.dragged = i, a.draggedRect = n, a.related = r || e, a.relatedRect = o || H(e), a.willInsertAfter = s, a.originalEvent = l, t.dispatchEvent(a), c && (h = c.call(u, a, l)), h;
1831
+ }) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = e, a.from = t, a.dragged = i, a.draggedRect = n, a.related = r || e, a.relatedRect = o || F(e), a.willInsertAfter = s, a.originalEvent = l, t.dispatchEvent(a), c && (h = c.call(u, a, l)), h;
1844
1832
  }
1845
1833
  function bt(t) {
1846
1834
  t.draggable = !1;
@@ -1849,35 +1837,35 @@ function Nn() {
1849
1837
  Ot = !1;
1850
1838
  }
1851
1839
  function $n(t, e, i) {
1852
- var n = H(Ie(i.el, 0, i.options, !0)), r = di(i.el, i.options, S), o = 10;
1840
+ var n = F(Ie(i.el, 0, i.options, !0)), r = di(i.el, i.options, w), o = 10;
1853
1841
  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;
1854
1842
  }
1855
1843
  function Mn(t, e, i) {
1856
- var n = H($t(i.el, i.options.draggable)), r = di(i.el, i.options, S), o = 10;
1844
+ var n = F($t(i.el, i.options.draggable)), r = di(i.el, i.options, w), o = 10;
1857
1845
  return e ? t.clientX > r.right + o || t.clientY > n.bottom && t.clientX > n.left : t.clientY > r.bottom + o || t.clientX > n.right && t.clientY > n.top;
1858
1846
  }
1859
1847
  function xn(t, e, i, n, r, o, l, s) {
1860
- var a = n ? t.clientY : t.clientX, u = n ? i.height : i.width, c = n ? i.top : i.left, h = n ? i.bottom : i.right, g = !1;
1848
+ var a = n ? t.clientY : t.clientX, u = n ? i.height : i.width, c = n ? i.top : i.left, h = n ? i.bottom : i.right, p = !1;
1861
1849
  if (!l) {
1862
1850
  if (s && Je < u * r) {
1863
- if (!Fe && (Ve === 1 ? a > c + u * o / 2 : a < h - u * o / 2) && (Fe = !0), Fe)
1864
- g = !0;
1851
+ if (!Re && (Ve === 1 ? a > c + u * o / 2 : a < h - u * o / 2) && (Re = !0), Re)
1852
+ p = !0;
1865
1853
  else if (Ve === 1 ? a < c + Je : a > h - Je)
1866
1854
  return -Ve;
1867
1855
  } else if (a > c + u * (1 - r) / 2 && a < h - u * (1 - r) / 2)
1868
1856
  return Vn(e);
1869
1857
  }
1870
- return g = g || l, g && (a < c + u * o / 2 || a > h - u * o / 2) ? a > c + u / 2 ? 1 : -1 : 0;
1858
+ return p = p || l, p && (a < c + u * o / 2 || a > h - u * o / 2) ? a > c + u / 2 ? 1 : -1 : 0;
1871
1859
  }
1872
1860
  function Vn(t) {
1873
1861
  return ee(f) < ee(t) ? 1 : -1;
1874
1862
  }
1875
- function Fn(t) {
1863
+ function Rn(t) {
1876
1864
  for (var e = t.tagName + t.className + t.src + t.href + t.textContent, i = e.length, n = 0; i--; )
1877
1865
  n += e.charCodeAt(i);
1878
1866
  return n.toString(36);
1879
1867
  }
1880
- function Rn(t) {
1868
+ function Fn(t) {
1881
1869
  ot.length = 0;
1882
1870
  for (var e = t.getElementsByTagName("input"), i = e.length; i--; ) {
1883
1871
  var n = e[i];
@@ -1890,13 +1878,13 @@ function Ze(t) {
1890
1878
  function At(t) {
1891
1879
  return clearTimeout(t);
1892
1880
  }
1893
- st && O(document, "touchmove", function(t) {
1894
- (y.active || _e) && t.cancelable && t.preventDefault();
1881
+ st && A(document, "touchmove", function(t) {
1882
+ (b.active || _e) && t.cancelable && t.preventDefault();
1895
1883
  });
1896
- y.utils = {
1897
- on: O,
1898
- off: C,
1899
- css: b,
1884
+ b.utils = {
1885
+ on: A,
1886
+ off: O,
1887
+ css: v,
1900
1888
  find: ai,
1901
1889
  is: function(e, i) {
1902
1890
  return !!ie(e, i, e, !1);
@@ -1913,22 +1901,22 @@ y.utils = {
1913
1901
  getChild: Ie,
1914
1902
  expando: q
1915
1903
  };
1916
- y.get = function(t) {
1904
+ b.get = function(t) {
1917
1905
  return t[q];
1918
1906
  };
1919
- y.mount = function() {
1907
+ b.mount = function() {
1920
1908
  for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)
1921
1909
  e[i] = arguments[i];
1922
1910
  e[0].constructor === Array && (e = e[0]), e.forEach(function(n) {
1923
1911
  if (!n.prototype || !n.prototype.constructor)
1924
1912
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
1925
- n.utils && (y.utils = re(re({}, y.utils), n.utils)), He.mount(n);
1913
+ n.utils && (b.utils = re(re({}, b.utils), n.utils)), He.mount(n);
1926
1914
  });
1927
1915
  };
1928
- y.create = function(t, e) {
1929
- return new y(t, e);
1916
+ b.create = function(t, e) {
1917
+ return new b(t, e);
1930
1918
  };
1931
- y.version = yn;
1919
+ b.version = yn;
1932
1920
  var R = [], ze, zt, kt = !1, yt, wt, lt, ke;
1933
1921
  function Hn() {
1934
1922
  function t() {
@@ -1945,14 +1933,14 @@ function Hn() {
1945
1933
  return t.prototype = {
1946
1934
  dragStarted: function(i) {
1947
1935
  var n = i.originalEvent;
1948
- this.sortable.nativeDraggable ? O(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? O(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? O(document, "touchmove", this._handleFallbackAutoScroll) : O(document, "mousemove", this._handleFallbackAutoScroll);
1936
+ this.sortable.nativeDraggable ? A(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? A(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? A(document, "touchmove", this._handleFallbackAutoScroll) : A(document, "mousemove", this._handleFallbackAutoScroll);
1949
1937
  },
1950
1938
  dragOverCompleted: function(i) {
1951
1939
  var n = i.originalEvent;
1952
1940
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
1953
1941
  },
1954
1942
  drop: function() {
1955
- this.sortable.nativeDraggable ? C(document, "dragover", this._handleAutoScroll) : (C(document, "pointermove", this._handleFallbackAutoScroll), C(document, "touchmove", this._handleFallbackAutoScroll), C(document, "mousemove", this._handleFallbackAutoScroll)), qt(), Qe(), _n();
1943
+ this.sortable.nativeDraggable ? O(document, "dragover", this._handleAutoScroll) : (O(document, "pointermove", this._handleFallbackAutoScroll), O(document, "touchmove", this._handleFallbackAutoScroll), O(document, "mousemove", this._handleFallbackAutoScroll)), qt(), Qe(), _n();
1956
1944
  },
1957
1945
  nulling: function() {
1958
1946
  lt = zt = ze = kt = ke = yt = wt = null, R.length = 0;
@@ -1962,7 +1950,7 @@ function Hn() {
1962
1950
  },
1963
1951
  _handleAutoScroll: function(i, n) {
1964
1952
  var r = this, o = (i.touches ? i.touches[0] : i).clientX, l = (i.touches ? i.touches[0] : i).clientY, s = document.elementFromPoint(o, l);
1965
- if (lt = i, n || this.options.forceAutoScrollFallback || Re || se || $e) {
1953
+ if (lt = i, n || this.options.forceAutoScrollFallback || Fe || se || $e) {
1966
1954
  St(i, this.options, s, n);
1967
1955
  var a = pe(s, !0);
1968
1956
  kt && (!ke || o !== yt || l !== wt) && (ke && qt(), ke = setInterval(function() {
@@ -1994,22 +1982,22 @@ var St = si(function(t, e, i, n) {
1994
1982
  if (e.scroll) {
1995
1983
  var r = (t.touches ? t.touches[0] : t).clientX, o = (t.touches ? t.touches[0] : t).clientY, l = e.scrollSensitivity, s = e.scrollSpeed, a = ne(), u = !1, c;
1996
1984
  zt !== i && (zt = i, Qe(), ze = e.scroll, c = e.scrollFn, ze === !0 && (ze = pe(i, !0)));
1997
- var h = 0, g = ze;
1985
+ var h = 0, p = ze;
1998
1986
  do {
1999
- var D = g, _ = H(D), v = _.top, T = _.bottom, $ = _.left, p = _.right, d = _.width, m = _.height, W = void 0, w = void 0, F = D.scrollWidth, L = D.scrollHeight, B = b(D), I = D.scrollLeft, x = D.scrollTop;
2000
- D === a ? (W = d < F && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), w = m < L && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (W = d < F && (B.overflowX === "auto" || B.overflowX === "scroll"), w = m < L && (B.overflowY === "auto" || B.overflowY === "scroll"));
2001
- var P = W && (Math.abs(p - r) <= l && I + d < F) - (Math.abs($ - r) <= l && !!I), A = w && (Math.abs(T - o) <= l && x + m < L) - (Math.abs(v - o) <= l && !!x);
1987
+ var _ = p, S = F(_), m = S.top, I = S.bottom, y = S.left, d = S.right, C = S.width, g = S.height, E = void 0, L = void 0, H = _.scrollWidth, G = _.scrollHeight, B = v(_), T = _.scrollLeft, x = _.scrollTop;
1988
+ _ === a ? (E = C < H && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), L = g < G && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (E = C < H && (B.overflowX === "auto" || B.overflowX === "scroll"), L = g < G && (B.overflowY === "auto" || B.overflowY === "scroll"));
1989
+ var N = E && (Math.abs(d - r) <= l && T + C < H) - (Math.abs(y - r) <= l && !!T), z = L && (Math.abs(I - o) <= l && x + g < G) - (Math.abs(m - o) <= l && !!x);
2002
1990
  if (!R[h])
2003
1991
  for (var J = 0; J <= h; J++)
2004
1992
  R[J] || (R[J] = {});
2005
- (R[h].vx != P || R[h].vy != A || R[h].el !== D) && (R[h].el = D, R[h].vx = P, R[h].vy = A, clearInterval(R[h].pid), (P != 0 || A != 0) && (u = !0, R[h].pid = setInterval((function() {
2006
- n && this.layer === 0 && y.active._onTouchMove(lt);
1993
+ (R[h].vx != N || R[h].vy != z || R[h].el !== _) && (R[h].el = _, R[h].vx = N, R[h].vy = z, clearInterval(R[h].pid), (N != 0 || z != 0) && (u = !0, R[h].pid = setInterval((function() {
1994
+ n && this.layer === 0 && b.active._onTouchMove(lt);
2007
1995
  var ue = R[this.layer].vy ? R[this.layer].vy * s : 0, V = R[this.layer].vx ? R[this.layer].vx * s : 0;
2008
- typeof c == "function" && c.call(y.dragged.parentNode[q], V, ue, t, lt, R[this.layer].el) !== "continue" || ui(R[this.layer].el, V, ue);
1996
+ typeof c == "function" && c.call(b.dragged.parentNode[q], V, ue, t, lt, R[this.layer].el) !== "continue" || ui(R[this.layer].el, V, ue);
2009
1997
  }).bind({
2010
1998
  layer: h
2011
1999
  }), 24))), h++;
2012
- } while (e.bubbleScroll && g !== a && (g = pe(g, !1)));
2000
+ } while (e.bubbleScroll && p !== a && (p = pe(p, !1)));
2013
2001
  kt = u;
2014
2002
  }
2015
2003
  }, 30), vi = function(e) {
@@ -2055,12 +2043,12 @@ xt.prototype = {
2055
2043
  ae(xt, {
2056
2044
  pluginName: "removeOnSpill"
2057
2045
  });
2058
- y.mount(new Hn());
2059
- y.mount(xt, Mt);
2046
+ b.mount(new Hn());
2047
+ b.mount(xt, Mt);
2060
2048
  const Ln = (t, e, i, n) => {
2061
2049
  const r = Qt(t, "dragSort");
2062
2050
  let o = null, l = Pe(0);
2063
- Rt(
2051
+ Ft(
2064
2052
  r,
2065
2053
  (u) => {
2066
2054
  et(() => {
@@ -2070,24 +2058,24 @@ const Ln = (t, e, i, n) => {
2070
2058
  {
2071
2059
  immediate: !0
2072
2060
  }
2073
- ), Rt(n, (u, c) => {
2061
+ ), Ft(n, (u, c) => {
2074
2062
  et(() => {
2075
2063
  r.value ? s() : a();
2076
2064
  });
2077
2065
  });
2078
2066
  const s = () => {
2079
2067
  const u = i.value;
2080
- u.style.cursor = "move", o = y.create(u, {
2068
+ u.style.cursor = "move", o = b.create(u, {
2081
2069
  draggable: ".selected-item.enable",
2082
2070
  //指定样式类的元素才允许拖动
2083
2071
  animation: 300,
2084
2072
  //过渡动画时间
2085
2073
  //拖拽结束时事件
2086
2074
  onEnd: (c) => {
2087
- const h = JSON.parse(JSON.stringify(n.value)), g = JSON.parse(JSON.stringify(n.value));
2088
- g.splice(c.oldIndex, 1)[0];
2089
- const D = h[c.oldIndex];
2090
- g.splice(c.newIndex, 0, D), e("update:modelValue", g), l.value = Date.now(), e("sortEnd", h, g, c.oldIndex, c.newIndex);
2075
+ const h = JSON.parse(JSON.stringify(n.value)), p = JSON.parse(JSON.stringify(n.value));
2076
+ p.splice(c.oldIndex, 1)[0];
2077
+ const _ = h[c.oldIndex];
2078
+ p.splice(c.newIndex, 0, _), e("update:modelValue", p), l.value = Date.now(), e("sortEnd", h, p, c.oldIndex, c.newIndex);
2091
2079
  }
2092
2080
  });
2093
2081
  }, a = () => {
@@ -2110,7 +2098,7 @@ const Ln = (t, e, i, n) => {
2110
2098
  customStyle: {},
2111
2099
  dragSort: { type: Boolean },
2112
2100
  isView: { type: Boolean },
2113
- closeable: { type: [Boolean, Function], default: !0 },
2101
+ closeable: { type: Boolean, default: !0 },
2114
2102
  clearable: { type: Boolean, default: !0 },
2115
2103
  customTitle: { default: "" },
2116
2104
  selectedNum: {},
@@ -2124,7 +2112,7 @@ const Ln = (t, e, i, n) => {
2124
2112
  emits: ["update:modelValue", "update:selectdValue", "select-item", "item-remove", "remove-all", "sortEnd", "update:infiniteDisabled"],
2125
2113
  setup(t, { expose: e, emit: i }) {
2126
2114
  xi((d) => ({
2127
- "29d24cb2": o.value
2115
+ "24c7fbc6": o.value
2128
2116
  }));
2129
2117
  const n = t, r = i, o = Ne(() => n.itemHeight + "px"), l = Ne(() => n.dragSort || n.infiniteScroll ? !1 : n.virtual), {
2130
2118
  selectListRef: s,
@@ -2132,24 +2120,23 @@ const Ln = (t, e, i, n) => {
2132
2120
  disabledFlag: u,
2133
2121
  itemGroups: c,
2134
2122
  selectedLabel: h,
2135
- itemRemove: g,
2136
- removeAll: D,
2137
- innerSelectdValue: _,
2138
- selectItem: v,
2139
- infiniteLoad: T,
2140
- closeableFn: $
2123
+ itemRemove: p,
2124
+ removeAll: _,
2125
+ innerSelectdValue: S,
2126
+ selectItem: m,
2127
+ infiniteLoad: I
2141
2128
  } = mn(n, r);
2142
2129
  Ln(n, r, a, c);
2143
- const p = Pe(!0);
2130
+ const y = Pe(!0);
2144
2131
  return Zt(() => {
2145
- p.value = !1, setTimeout(() => {
2146
- p.value = !0;
2132
+ y.value = !1, setTimeout(() => {
2133
+ y.value = !0;
2147
2134
  }, 300);
2148
2135
  }), e({
2149
- infiniteLoad: T
2150
- }), (d, m) => {
2151
- const W = Ei;
2152
- return z(), X(
2136
+ infiniteLoad: I
2137
+ }), (d, C) => {
2138
+ const g = Ei;
2139
+ return k(), X(
2153
2140
  "div",
2154
2141
  {
2155
2142
  ref_key: "selectListRef",
@@ -2159,35 +2146,35 @@ const Ln = (t, e, i, n) => {
2159
2146
  },
2160
2147
  [
2161
2148
  he(d.$slots, "header", {}, () => [
2162
- d.hideHeader ? G("v-if", !0) : (z(), X("div", Bn, [
2149
+ d.hideHeader ? K("v-if", !0) : (k(), X("div", Bn, [
2163
2150
  Ce(
2164
2151
  "div",
2165
2152
  Yn,
2166
- Oe(E(h)),
2153
+ Oe(D(h)),
2167
2154
  1
2168
2155
  /* TEXT */
2169
2156
  ),
2170
- !d.isView && d.clearable ? (z(), oe(E(Vi), {
2157
+ !d.isView && d.clearable ? (k(), oe(D(Vi), {
2171
2158
  key: 0,
2172
2159
  "btn-type": "primary-text",
2173
2160
  block: "",
2174
- onClick: E(D),
2175
- disabled: !E(c) || !E(c).length
2161
+ onClick: D(_),
2162
+ disabled: !D(c) || !D(c).length
2176
2163
  }, {
2177
2164
  default: tt(() => [
2178
2165
  Le(
2179
- Oe(E(je)("das-select-list-removeAll").value),
2166
+ Oe(D(je)("das-select-list-removeAll").value),
2180
2167
  1
2181
2168
  /* TEXT */
2182
2169
  )
2183
2170
  ]),
2184
2171
  _: 1
2185
2172
  /* STABLE */
2186
- }, 8, ["onClick", "disabled"])) : G("v-if", !0)
2173
+ }, 8, ["onClick", "disabled"])) : K("v-if", !0)
2187
2174
  ]))
2188
2175
  ], !0),
2189
- G(" 普通 "),
2190
- !d.infiniteScroll && !l.value ? Se((z(), X(
2176
+ K(" 普通 "),
2177
+ !d.infiniteScroll && !l.value ? Se((k(), X(
2191
2178
  "div",
2192
2179
  {
2193
2180
  key: 0,
@@ -2196,45 +2183,45 @@ const Ln = (t, e, i, n) => {
2196
2183
  class: ce(["selected-container", { "hide-header": d.hideHeader }])
2197
2184
  },
2198
2185
  [
2199
- (z(!0), X(
2186
+ (k(!0), X(
2200
2187
  _t,
2201
2188
  null,
2202
- Et(E(c), (w, F) => (z(), X("div", {
2189
+ Et(D(c), (E, L) => (k(), X("div", {
2203
2190
  class: ce({
2204
2191
  "selected-item": !0,
2205
- disabled: !d.isView && E(u)(w),
2206
- enable: !d.isView && !E(u)(w),
2207
- active: E(_) === w[d.valueKey]
2192
+ disabled: !d.isView && D(u)(E),
2193
+ enable: !d.isView && !D(u)(E),
2194
+ active: D(S) === E[d.valueKey]
2208
2195
  }),
2209
- key: w[d.valueKey] + F,
2210
- onClick: (L) => E(v)(w)
2196
+ key: E[d.valueKey] + L,
2197
+ onClick: (H) => D(m)(E)
2211
2198
  }, [
2212
- d.dragSort ? (z(), oe(E(Ri), {
2199
+ d.dragSort ? (k(), oe(D(Fi), {
2213
2200
  key: 0,
2214
2201
  class: "drag-icon",
2215
2202
  size: "medium",
2216
2203
  style: { "margin-right": "8px" }
2217
- })) : G("v-if", !0),
2204
+ })) : K("v-if", !0),
2218
2205
  Ce("div", Wn, [
2219
- he(d.$slots, "default", { item: w }, () => [
2220
- Se((z(), X("div", null, [
2206
+ he(d.$slots, "default", { item: E }, () => [
2207
+ Se((k(), X("div", null, [
2221
2208
  Le(
2222
- Oe(w[d.labelKey]),
2209
+ Oe(E[d.labelKey]),
2223
2210
  1
2224
2211
  /* TEXT */
2225
2212
  )
2226
2213
  ])), [
2227
- [E(ct)]
2214
+ [D(ct)]
2228
2215
  ])
2229
2216
  ], !0)
2230
2217
  ]),
2231
- !d.isView && E($)(w) ? (z(), oe(E(dt), {
2218
+ !d.isView && d.closeable ? (k(), oe(D(dt), {
2232
2219
  key: 1,
2233
2220
  size: "small",
2234
2221
  class: "close-icon",
2235
- "icon-color": E(ut)("--das-ui-color-secondary"),
2236
- onClick: (L) => E(g)(w)
2237
- }, null, 8, ["icon-color", "onClick"])) : G("v-if", !0)
2222
+ "icon-color": D(ut)("--das-ui-color-secondary"),
2223
+ onClick: (H) => D(p)(E)
2224
+ }, null, 8, ["icon-color", "onClick"])) : K("v-if", !0)
2238
2225
  ], 10, Xn))),
2239
2226
  128
2240
2227
  /* KEYED_FRAGMENT */
@@ -2243,10 +2230,10 @@ const Ln = (t, e, i, n) => {
2243
2230
  2
2244
2231
  /* CLASS */
2245
2232
  )), [
2246
- [E(Fi), { usePrevOverlay: !0 }]
2247
- ]) : G("v-if", !0),
2248
- G(" 虚拟滚动 "),
2249
- !d.dragSort && l.value ? (z(), X(
2233
+ [D(Ri), { usePrevOverlay: !0 }]
2234
+ ]) : K("v-if", !0),
2235
+ K(" 虚拟滚动 "),
2236
+ !d.dragSort && l.value ? (k(), X(
2250
2237
  "div",
2251
2238
  {
2252
2239
  key: 1,
@@ -2255,55 +2242,55 @@ const Ln = (t, e, i, n) => {
2255
2242
  class: ce(["selected-container", { "hide-header": d.hideHeader }])
2256
2243
  },
2257
2244
  [
2258
- p.value && E(c).length > 0 ? (z(), oe(E(Pt), {
2259
- key: E(c).length,
2260
- items: E(c),
2245
+ y.value && D(c).length > 0 ? (k(), oe(D(Pt), {
2246
+ key: D(c).length,
2247
+ items: D(c),
2261
2248
  "item-size": d.itemHeight,
2262
2249
  "key-field": d.valueKey,
2263
2250
  class: "virtual-list"
2264
2251
  }, {
2265
- default: tt(({ item: w, index: F }) => [
2266
- (z(), X("div", {
2252
+ default: tt(({ item: E, index: L }) => [
2253
+ (k(), X("div", {
2267
2254
  class: ce({
2268
2255
  "selected-item": !0,
2269
- disabled: !d.isView && E(u)(w),
2270
- enable: !d.isView && !E(u)(w),
2271
- active: E(_) === w[d.valueKey]
2256
+ disabled: !d.isView && D(u)(E),
2257
+ enable: !d.isView && !D(u)(E),
2258
+ active: D(S) === E[d.valueKey]
2272
2259
  }),
2273
- key: w[d.valueKey],
2274
- onClick: (L) => E(v)(w)
2260
+ key: E[d.valueKey],
2261
+ onClick: (H) => D(m)(E)
2275
2262
  }, [
2276
2263
  Ce("div", Kn, [
2277
- he(d.$slots, "default", { item: w }, () => [
2278
- Se((z(), X("div", null, [
2264
+ he(d.$slots, "default", { item: E }, () => [
2265
+ Se((k(), X("div", null, [
2279
2266
  Le(
2280
- Oe(w[d.labelKey]),
2267
+ Oe(E[d.labelKey]),
2281
2268
  1
2282
2269
  /* TEXT */
2283
2270
  )
2284
2271
  ])), [
2285
- [E(ct)]
2272
+ [D(ct)]
2286
2273
  ])
2287
2274
  ], !0)
2288
2275
  ]),
2289
- !d.isView && E($)(w) ? (z(), oe(E(dt), {
2276
+ !d.isView && d.closeable ? (k(), oe(D(dt), {
2290
2277
  key: 0,
2291
2278
  size: "small",
2292
2279
  class: "close-icon",
2293
- "icon-color": E(ut)("--das-ui-color-secondary"),
2294
- onClick: (L) => E(g)(w)
2295
- }, null, 8, ["icon-color", "onClick"])) : G("v-if", !0)
2280
+ "icon-color": D(ut)("--das-ui-color-secondary"),
2281
+ onClick: (H) => D(p)(E)
2282
+ }, null, 8, ["icon-color", "onClick"])) : K("v-if", !0)
2296
2283
  ], 10, jn))
2297
2284
  ]),
2298
2285
  _: 3
2299
2286
  /* FORWARDED */
2300
- }, 8, ["items", "item-size", "key-field"])) : G("v-if", !0)
2287
+ }, 8, ["items", "item-size", "key-field"])) : K("v-if", !0)
2301
2288
  ],
2302
2289
  2
2303
2290
  /* CLASS */
2304
- )) : G("v-if", !0),
2305
- G(" 分页加载 "),
2306
- !d.dragSort && d.infiniteScroll ? Se((z(), X("div", {
2291
+ )) : K("v-if", !0),
2292
+ K(" 分页加载 "),
2293
+ !d.dragSort && d.infiniteScroll ? Se((k(), X("div", {
2307
2294
  key: 2,
2308
2295
  ref_key: "$list",
2309
2296
  ref: a,
@@ -2312,47 +2299,47 @@ const Ln = (t, e, i, n) => {
2312
2299
  style: { overflow: "overlay" }
2313
2300
  }, [
2314
2301
  Ce("div", Un, [
2315
- (z(!0), X(
2302
+ (k(!0), X(
2316
2303
  _t,
2317
2304
  null,
2318
- Et(E(c), (w) => (z(), X("div", {
2305
+ Et(D(c), (E) => (k(), X("div", {
2319
2306
  class: ce({
2320
2307
  "selected-item": !0,
2321
- disabled: !d.isView && E(u)(w),
2322
- enable: !d.isView && !E(u)(w),
2323
- active: E(_) === w[d.valueKey]
2308
+ disabled: !d.isView && D(u)(E),
2309
+ enable: !d.isView && !D(u)(E),
2310
+ active: D(S) === E[d.valueKey]
2324
2311
  }),
2325
- key: w[d.valueKey],
2326
- onClick: (F) => E(v)(w)
2312
+ key: E[d.valueKey],
2313
+ onClick: (L) => D(m)(E)
2327
2314
  }, [
2328
2315
  Ce("div", Jn, [
2329
- he(d.$slots, "default", { item: w }, () => [
2330
- Se((z(), X("div", null, [
2316
+ he(d.$slots, "default", { item: E }, () => [
2317
+ Se((k(), X("div", null, [
2331
2318
  Le(
2332
- Oe(w[d.labelKey]),
2319
+ Oe(E[d.labelKey]),
2333
2320
  1
2334
2321
  /* TEXT */
2335
2322
  )
2336
2323
  ])), [
2337
- [E(ct)]
2324
+ [D(ct)]
2338
2325
  ])
2339
2326
  ], !0)
2340
2327
  ]),
2341
- !d.isView && E($)(w) ? (z(), oe(E(dt), {
2328
+ !d.isView && d.closeable ? (k(), oe(D(dt), {
2342
2329
  key: 0,
2343
2330
  size: "small",
2344
2331
  class: "close-icon",
2345
- "icon-color": E(ut)("--das-ui-color-secondary"),
2346
- onClick: (F) => E(g)(w)
2347
- }, null, 8, ["icon-color", "onClick"])) : G("v-if", !0)
2332
+ "icon-color": D(ut)("--das-ui-color-secondary"),
2333
+ onClick: (L) => D(p)(E)
2334
+ }, null, 8, ["icon-color", "onClick"])) : K("v-if", !0)
2348
2335
  ], 10, qn))),
2349
2336
  128
2350
2337
  /* KEYED_FRAGMENT */
2351
2338
  ))
2352
2339
  ])
2353
2340
  ], 10, Gn)), [
2354
- [W, E(T)]
2355
- ]) : G("v-if", !0)
2341
+ [g, D(I)]
2342
+ ]) : K("v-if", !0)
2356
2343
  ],
2357
2344
  4
2358
2345
  /* STYLE */
@@ -2364,7 +2351,7 @@ const Ln = (t, e, i, n) => {
2364
2351
  for (const [n, r] of e)
2365
2352
  i[n] = r;
2366
2353
  return i;
2367
- }, er = /* @__PURE__ */ Qn(Zn, [["__scopeId", "data-v-ef9fb494"]]), tr = {
2354
+ }, er = /* @__PURE__ */ Qn(Zn, [["__scopeId", "data-v-59299368"]]), tr = {
2368
2355
  "das-select-list-removeAll": { "zh-CN": "清空", en: "Clear", _appCode: "framework" },
2369
2356
  "das-select-list-selected": { "zh-CN": "已选", en: "Selected", _appCode: "framework" },
2370
2357
  "das-select-list-parentheses-left": { "zh-CN": "(", en: "(", _appCode: "framework" },