@syzh-syzh/base 0.0.1

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.
Files changed (202) hide show
  1. package/dist/assets/icons/svg/404.svg +1 -0
  2. package/dist/assets/icons/svg/bug.svg +1 -0
  3. package/dist/assets/icons/svg/build.svg +1 -0
  4. package/dist/assets/icons/svg/button.svg +1 -0
  5. package/dist/assets/icons/svg/cascader.svg +1 -0
  6. package/dist/assets/icons/svg/chart.svg +1 -0
  7. package/dist/assets/icons/svg/checkbox.svg +1 -0
  8. package/dist/assets/icons/svg/clipboard.svg +1 -0
  9. package/dist/assets/icons/svg/code.svg +1 -0
  10. package/dist/assets/icons/svg/color.svg +1 -0
  11. package/dist/assets/icons/svg/component.svg +1 -0
  12. package/dist/assets/icons/svg/dashboard.svg +1 -0
  13. package/dist/assets/icons/svg/date-range.svg +1 -0
  14. package/dist/assets/icons/svg/date.svg +1 -0
  15. package/dist/assets/icons/svg/dict.svg +1 -0
  16. package/dist/assets/icons/svg/documentation.svg +1 -0
  17. package/dist/assets/icons/svg/download.svg +1 -0
  18. package/dist/assets/icons/svg/drag.svg +1 -0
  19. package/dist/assets/icons/svg/druid.svg +1 -0
  20. package/dist/assets/icons/svg/edit.svg +1 -0
  21. package/dist/assets/icons/svg/education.svg +1 -0
  22. package/dist/assets/icons/svg/email.svg +1 -0
  23. package/dist/assets/icons/svg/enter.svg +1 -0
  24. package/dist/assets/icons/svg/example.svg +1 -0
  25. package/dist/assets/icons/svg/excel.svg +1 -0
  26. package/dist/assets/icons/svg/exit-fullscreen.svg +1 -0
  27. package/dist/assets/icons/svg/eye-open.svg +1 -0
  28. package/dist/assets/icons/svg/eye.svg +1 -0
  29. package/dist/assets/icons/svg/form.svg +1 -0
  30. package/dist/assets/icons/svg/fullscreen.svg +1 -0
  31. package/dist/assets/icons/svg/github.svg +1 -0
  32. package/dist/assets/icons/svg/guide.svg +1 -0
  33. package/dist/assets/icons/svg/icon.svg +1 -0
  34. package/dist/assets/icons/svg/input.svg +1 -0
  35. package/dist/assets/icons/svg/international.svg +1 -0
  36. package/dist/assets/icons/svg/job.svg +1 -0
  37. package/dist/assets/icons/svg/language.svg +1 -0
  38. package/dist/assets/icons/svg/link.svg +1 -0
  39. package/dist/assets/icons/svg/list.svg +1 -0
  40. package/dist/assets/icons/svg/lock.svg +1 -0
  41. package/dist/assets/icons/svg/log.svg +1 -0
  42. package/dist/assets/icons/svg/logininfor.svg +1 -0
  43. package/dist/assets/icons/svg/message.svg +1 -0
  44. package/dist/assets/icons/svg/money.svg +1 -0
  45. package/dist/assets/icons/svg/monitor.svg +2 -0
  46. package/dist/assets/icons/svg/moon.svg +1 -0
  47. package/dist/assets/icons/svg/more-up.svg +1 -0
  48. package/dist/assets/icons/svg/nested.svg +1 -0
  49. package/dist/assets/icons/svg/number.svg +1 -0
  50. package/dist/assets/icons/svg/online.svg +1 -0
  51. package/dist/assets/icons/svg/password.svg +1 -0
  52. package/dist/assets/icons/svg/pdf.svg +1 -0
  53. package/dist/assets/icons/svg/people.svg +1 -0
  54. package/dist/assets/icons/svg/peoples.svg +1 -0
  55. package/dist/assets/icons/svg/phone.svg +1 -0
  56. package/dist/assets/icons/svg/post.svg +1 -0
  57. package/dist/assets/icons/svg/qq.svg +1 -0
  58. package/dist/assets/icons/svg/question.svg +1 -0
  59. package/dist/assets/icons/svg/radio.svg +1 -0
  60. package/dist/assets/icons/svg/rate.svg +1 -0
  61. package/dist/assets/icons/svg/redis-list.svg +2 -0
  62. package/dist/assets/icons/svg/redis.svg +1 -0
  63. package/dist/assets/icons/svg/row.svg +1 -0
  64. package/dist/assets/icons/svg/search.svg +1 -0
  65. package/dist/assets/icons/svg/select.svg +1 -0
  66. package/dist/assets/icons/svg/server.svg +1 -0
  67. package/dist/assets/icons/svg/shopping.svg +1 -0
  68. package/dist/assets/icons/svg/size.svg +1 -0
  69. package/dist/assets/icons/svg/skill.svg +1 -0
  70. package/dist/assets/icons/svg/slider.svg +1 -0
  71. package/dist/assets/icons/svg/star.svg +1 -0
  72. package/dist/assets/icons/svg/sunny.svg +1 -0
  73. package/dist/assets/icons/svg/swagger.svg +1 -0
  74. package/dist/assets/icons/svg/switch.svg +1 -0
  75. package/dist/assets/icons/svg/system.svg +2 -0
  76. package/dist/assets/icons/svg/tab.svg +1 -0
  77. package/dist/assets/icons/svg/table.svg +1 -0
  78. package/dist/assets/icons/svg/textarea.svg +1 -0
  79. package/dist/assets/icons/svg/theme.svg +1 -0
  80. package/dist/assets/icons/svg/time-range.svg +1 -0
  81. package/dist/assets/icons/svg/time.svg +1 -0
  82. package/dist/assets/icons/svg/tool.svg +1 -0
  83. package/dist/assets/icons/svg/tree-table.svg +1 -0
  84. package/dist/assets/icons/svg/tree.svg +1 -0
  85. package/dist/assets/icons/svg/upload.svg +1 -0
  86. package/dist/assets/icons/svg/user.svg +1 -0
  87. package/dist/assets/icons/svg/validCode.svg +1 -0
  88. package/dist/assets/icons/svg/wechat.svg +1 -0
  89. package/dist/assets/icons/svg/zip.svg +1 -0
  90. package/dist/chunks/401-CL4u0r_c.js +66 -0
  91. package/dist/chunks/404-kPZw9FCc.js +35 -0
  92. package/dist/chunks/daibanevent-C8JNsrlI.js +65 -0
  93. package/dist/chunks/dayjs.min-B97rgn_L.js +283 -0
  94. package/dist/chunks/dict-C49Ogd-n.js +57009 -0
  95. package/dist/chunks/eventfb-BTFXb03d.js +51 -0
  96. package/dist/chunks/eventsource--BhatYsm.js +91 -0
  97. package/dist/chunks/gaopinevent-B-5K3OFp.js +132 -0
  98. package/dist/chunks/index-BJS7Ejqq.js +768 -0
  99. package/dist/chunks/index-CLnO5o1_.js +1446 -0
  100. package/dist/chunks/index-D8_MkquB.js +762 -0
  101. package/dist/chunks/index-DCeOtd-T.js +651 -0
  102. package/dist/chunks/index-DOll2JRT.js +1106 -0
  103. package/dist/chunks/index-DWhfjjo6.js +31 -0
  104. package/dist/chunks/index-VyUXzwqh.js +426 -0
  105. package/dist/chunks/index-gKvU35v8.js +1617 -0
  106. package/dist/chunks/lazyTree-MjyLwMcY.js +89 -0
  107. package/dist/chunks/login-pu41rAd1.js +173 -0
  108. package/dist/chunks/lv-B7X90WVW.js +5 -0
  109. package/dist/chunks/numberbox-tQsb4wgY.js +29 -0
  110. package/dist/chunks/shangbaoevent-Veamh7z3.js +451 -0
  111. package/dist/chunks/shangbaoeventfl-BJoXH_B5.js +259 -0
  112. package/dist/chunks/sysright-manage-BmiSkG44.js +474 -0
  113. package/dist/chunks/title-NwJCTLeC.js +25 -0
  114. package/dist/chunks/weather-ptB2uA3s.js +65 -0
  115. package/dist/config/dict.json +189 -0
  116. package/dist/config/sys-config.json +40 -0
  117. package/dist/images/weather_icon/0@1x.png +0 -0
  118. package/dist/images/weather_icon/0@2x.png +0 -0
  119. package/dist/images/weather_icon/10@1x.png +0 -0
  120. package/dist/images/weather_icon/10@2x.png +0 -0
  121. package/dist/images/weather_icon/11@1x.png +0 -0
  122. package/dist/images/weather_icon/11@2x.png +0 -0
  123. package/dist/images/weather_icon/12@1x.png +0 -0
  124. package/dist/images/weather_icon/12@2x.png +0 -0
  125. package/dist/images/weather_icon/13@1x.png +0 -0
  126. package/dist/images/weather_icon/13@2x.png +0 -0
  127. package/dist/images/weather_icon/14@1x.png +0 -0
  128. package/dist/images/weather_icon/14@2x.png +0 -0
  129. package/dist/images/weather_icon/15@1x.png +0 -0
  130. package/dist/images/weather_icon/15@2x.png +0 -0
  131. package/dist/images/weather_icon/16@1x.png +0 -0
  132. package/dist/images/weather_icon/16@2x.png +0 -0
  133. package/dist/images/weather_icon/17@1x.png +0 -0
  134. package/dist/images/weather_icon/17@2x.png +0 -0
  135. package/dist/images/weather_icon/18@1x.png +0 -0
  136. package/dist/images/weather_icon/18@2x.png +0 -0
  137. package/dist/images/weather_icon/19@1x.png +0 -0
  138. package/dist/images/weather_icon/19@2x.png +0 -0
  139. package/dist/images/weather_icon/1@1x.png +0 -0
  140. package/dist/images/weather_icon/1@2x.png +0 -0
  141. package/dist/images/weather_icon/20@1x.png +0 -0
  142. package/dist/images/weather_icon/20@2x.png +0 -0
  143. package/dist/images/weather_icon/21@1x.png +0 -0
  144. package/dist/images/weather_icon/21@2x.png +0 -0
  145. package/dist/images/weather_icon/22@1x.png +0 -0
  146. package/dist/images/weather_icon/22@2x.png +0 -0
  147. package/dist/images/weather_icon/23@1x.png +0 -0
  148. package/dist/images/weather_icon/23@2x.png +0 -0
  149. package/dist/images/weather_icon/24@1x.png +0 -0
  150. package/dist/images/weather_icon/24@2x.png +0 -0
  151. package/dist/images/weather_icon/25@1x.png +0 -0
  152. package/dist/images/weather_icon/25@2x.png +0 -0
  153. package/dist/images/weather_icon/26@1x.png +0 -0
  154. package/dist/images/weather_icon/26@2x.png +0 -0
  155. package/dist/images/weather_icon/27@1x.png +0 -0
  156. package/dist/images/weather_icon/27@2x.png +0 -0
  157. package/dist/images/weather_icon/28@1x.png +0 -0
  158. package/dist/images/weather_icon/28@2x.png +0 -0
  159. package/dist/images/weather_icon/29@1x.png +0 -0
  160. package/dist/images/weather_icon/29@2x.png +0 -0
  161. package/dist/images/weather_icon/2@1x.png +0 -0
  162. package/dist/images/weather_icon/2@2x.png +0 -0
  163. package/dist/images/weather_icon/30@1x.png +0 -0
  164. package/dist/images/weather_icon/30@2x.png +0 -0
  165. package/dist/images/weather_icon/31@1x.png +0 -0
  166. package/dist/images/weather_icon/31@2x.png +0 -0
  167. package/dist/images/weather_icon/32@1x.png +0 -0
  168. package/dist/images/weather_icon/32@2x.png +0 -0
  169. package/dist/images/weather_icon/33@1x.png +0 -0
  170. package/dist/images/weather_icon/33@2x.png +0 -0
  171. package/dist/images/weather_icon/34@1x.png +0 -0
  172. package/dist/images/weather_icon/34@2x.png +0 -0
  173. package/dist/images/weather_icon/35@1x.png +0 -0
  174. package/dist/images/weather_icon/35@2x.png +0 -0
  175. package/dist/images/weather_icon/36@1x.png +0 -0
  176. package/dist/images/weather_icon/36@2x.png +0 -0
  177. package/dist/images/weather_icon/37@1x.png +0 -0
  178. package/dist/images/weather_icon/37@2x.png +0 -0
  179. package/dist/images/weather_icon/38@1x.png +0 -0
  180. package/dist/images/weather_icon/38@2x.png +0 -0
  181. package/dist/images/weather_icon/3@1x.png +0 -0
  182. package/dist/images/weather_icon/3@2x.png +0 -0
  183. package/dist/images/weather_icon/4@1x.png +0 -0
  184. package/dist/images/weather_icon/4@2x.png +0 -0
  185. package/dist/images/weather_icon/5@1x.png +0 -0
  186. package/dist/images/weather_icon/5@2x.png +0 -0
  187. package/dist/images/weather_icon/6@1x.png +0 -0
  188. package/dist/images/weather_icon/6@2x.png +0 -0
  189. package/dist/images/weather_icon/7@1x.png +0 -0
  190. package/dist/images/weather_icon/7@2x.png +0 -0
  191. package/dist/images/weather_icon/8@1x.png +0 -0
  192. package/dist/images/weather_icon/8@2x.png +0 -0
  193. package/dist/images/weather_icon/99@1x.png +0 -0
  194. package/dist/images/weather_icon/99@2x.png +0 -0
  195. package/dist/images/weather_icon/9@1x.png +0 -0
  196. package/dist/images/weather_icon/9@2x.png +0 -0
  197. package/dist/resolver.js +24 -0
  198. package/dist/sybase.css +1 -0
  199. package/dist/sybase.js +2748 -0
  200. package/dist/views.js +92 -0
  201. package/dist/vite.svg +1 -0
  202. package/package.json +93 -0
package/dist/sybase.js ADDED
@@ -0,0 +1,2748 @@
1
+ import { u as en, g as tn, a as nn, b as rn, h as on, c as an, r as sn } from "./chunks/index-CLnO5o1_.js";
2
+ import { i as Bs, d as Rs } from "./chunks/index-CLnO5o1_.js";
3
+ import { _ as ln, u as ve, a as dn, m as Y, g as un, b as Mt, c as fn, i as bt, d as Nt, e as qt, $ as a, f as cn, h as gn, j as pn, k as hn, l as mn, n as _n, o as vn, p as yn, q as bn, r as wn, s as En, t as Tn, v as Sn, w as zn, x as Dn, y as On, z as Pn, D as kn, E as Cn, A as xn, B as jn, C as In, F as Wn, G as Ln, H as An, I as Mn, J as Nn, K as qn, L as Gn, M as Bn, N as Rn, O as Fn, P as $n, Q as Hn, R as Xn, S as Yn, T as Un, U as Vn, V as Qn, W as Zn, X as Jn, Y as Kn, Z as er, a0 as tr, a1 as nr, a2 as rr, a3 as or, a4 as ir, a5 as ar, a6 as sr, a7 as lr, a8 as dr, a9 as ur, aa as fr, ab as cr, ac as gr } from "./chunks/dict-C49Ogd-n.js";
4
+ import { am as $s, an as Hs, aq as Xs, ao as Ys, ap as Us, al as Vs, ai as Qs, ad as Zs, aj as Js, ag as Ks, ak as el, as as tl, af as nl, ae as rl, ar as ol, ah as il } from "./chunks/dict-C49Ogd-n.js";
5
+ import { ref as ue, computed as pr, getCurrentInstance as hr, watch as mr, onMounted as _r, nextTick as vr, resolveComponent as We, createElementBlock as Le, openBlock as Ee, createVNode as et, createCommentVNode as Ae, createBlock as yr, normalizeClass as br, unref as ne, withCtx as wt, createTextVNode as Me, Fragment as Et, createElementVNode as Tt, toDisplayString as St } from "vue";
6
+ import * as zt from "@element-plus/icons-vue";
7
+ import { ElMessage as wr } from "element-plus";
8
+ function Be(e) {
9
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Be = function(t) {
10
+ return typeof t;
11
+ } : Be = function(t) {
12
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
13
+ }, Be(e);
14
+ }
15
+ function Er(e, t, n) {
16
+ return t in e ? Object.defineProperty(e, t, {
17
+ value: n,
18
+ enumerable: !0,
19
+ configurable: !0,
20
+ writable: !0
21
+ }) : e[t] = n, e;
22
+ }
23
+ function K() {
24
+ return K = Object.assign || function(e) {
25
+ for (var t = 1; t < arguments.length; t++) {
26
+ var n = arguments[t];
27
+ for (var r in n)
28
+ Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
29
+ }
30
+ return e;
31
+ }, K.apply(this, arguments);
32
+ }
33
+ function ae(e) {
34
+ for (var t = 1; t < arguments.length; t++) {
35
+ var n = arguments[t] != null ? arguments[t] : {}, r = Object.keys(n);
36
+ typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
37
+ return Object.getOwnPropertyDescriptor(n, o).enumerable;
38
+ }))), r.forEach(function(o) {
39
+ Er(e, o, n[o]);
40
+ });
41
+ }
42
+ return e;
43
+ }
44
+ function Tr(e, t) {
45
+ if (e == null) return {};
46
+ var n = {}, r = Object.keys(e), o, i;
47
+ for (i = 0; i < r.length; i++)
48
+ o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
49
+ return n;
50
+ }
51
+ function Sr(e, t) {
52
+ if (e == null) return {};
53
+ var n = Tr(e, t), r, o;
54
+ if (Object.getOwnPropertySymbols) {
55
+ var i = Object.getOwnPropertySymbols(e);
56
+ for (o = 0; o < i.length; o++)
57
+ r = i[o], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
58
+ }
59
+ return n;
60
+ }
61
+ var zr = "1.10.2";
62
+ function J(e) {
63
+ if (typeof window < "u" && window.navigator)
64
+ return !!/* @__PURE__ */ navigator.userAgent.match(e);
65
+ }
66
+ var ee = J(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), je = J(/Edge/i), Dt = J(/firefox/i), ft = J(/safari/i) && !J(/chrome/i) && !J(/android/i), Gt = J(/iP(ad|od|hone)/i), Dr = J(/chrome/i) && J(/android/i), Bt = {
67
+ capture: !1,
68
+ passive: !1
69
+ };
70
+ function D(e, t, n) {
71
+ e.addEventListener(t, n, !ee && Bt);
72
+ }
73
+ function z(e, t, n) {
74
+ e.removeEventListener(t, n, !ee && Bt);
75
+ }
76
+ function Ye(e, t) {
77
+ if (t) {
78
+ if (t[0] === ">" && (t = t.substring(1)), e)
79
+ try {
80
+ if (e.matches)
81
+ return e.matches(t);
82
+ if (e.msMatchesSelector)
83
+ return e.msMatchesSelector(t);
84
+ if (e.webkitMatchesSelector)
85
+ return e.webkitMatchesSelector(t);
86
+ } catch {
87
+ return !1;
88
+ }
89
+ return !1;
90
+ }
91
+ }
92
+ function Or(e) {
93
+ return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
94
+ }
95
+ function V(e, t, n, r) {
96
+ if (e) {
97
+ n = n || document;
98
+ do {
99
+ if (t != null && (t[0] === ">" ? e.parentNode === n && Ye(e, t) : Ye(e, t)) || r && e === n)
100
+ return e;
101
+ if (e === n) break;
102
+ } while (e = Or(e));
103
+ }
104
+ return null;
105
+ }
106
+ var Ot = /\s+/g;
107
+ function R(e, t, n) {
108
+ if (e && t)
109
+ if (e.classList)
110
+ e.classList[n ? "add" : "remove"](t);
111
+ else {
112
+ var r = (" " + e.className + " ").replace(Ot, " ").replace(" " + t + " ", " ");
113
+ e.className = (r + (n ? " " + t : "")).replace(Ot, " ");
114
+ }
115
+ }
116
+ function y(e, t, n) {
117
+ var r = e && e.style;
118
+ if (r) {
119
+ if (n === void 0)
120
+ return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(e, "") : e.currentStyle && (n = e.currentStyle), t === void 0 ? n : n[t];
121
+ !(t in r) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), r[t] = n + (typeof n == "string" ? "" : "px");
122
+ }
123
+ }
124
+ function be(e, t) {
125
+ var n = "";
126
+ if (typeof e == "string")
127
+ n = e;
128
+ else
129
+ do {
130
+ var r = y(e, "transform");
131
+ r && r !== "none" && (n = r + " " + n);
132
+ } while (!t && (e = e.parentNode));
133
+ var o = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
134
+ return o && new o(n);
135
+ }
136
+ function Rt(e, t, n) {
137
+ if (e) {
138
+ var r = e.getElementsByTagName(t), o = 0, i = r.length;
139
+ if (n)
140
+ for (; o < i; o++)
141
+ n(r[o], o);
142
+ return r;
143
+ }
144
+ return [];
145
+ }
146
+ function Q() {
147
+ var e = document.scrollingElement;
148
+ return e || document.documentElement;
149
+ }
150
+ function N(e, t, n, r, o) {
151
+ if (!(!e.getBoundingClientRect && e !== window)) {
152
+ var i, s, l, d, f, h, c;
153
+ if (e !== window && e !== Q() ? (i = e.getBoundingClientRect(), s = i.top, l = i.left, d = i.bottom, f = i.right, h = i.height, c = i.width) : (s = 0, l = 0, d = window.innerHeight, f = window.innerWidth, h = window.innerHeight, c = window.innerWidth), (t || n) && e !== window && (o = o || e.parentNode, !ee))
154
+ do
155
+ if (o && o.getBoundingClientRect && (y(o, "transform") !== "none" || n && y(o, "position") !== "static")) {
156
+ var E = o.getBoundingClientRect();
157
+ s -= E.top + parseInt(y(o, "border-top-width")), l -= E.left + parseInt(y(o, "border-left-width")), d = s + i.height, f = l + i.width;
158
+ break;
159
+ }
160
+ while (o = o.parentNode);
161
+ if (r && e !== window) {
162
+ var T = be(o || e), u = T && T.a, g = T && T.d;
163
+ T && (s /= g, l /= u, c /= u, h /= g, d = s + h, f = l + c);
164
+ }
165
+ return {
166
+ top: s,
167
+ left: l,
168
+ bottom: d,
169
+ right: f,
170
+ width: c,
171
+ height: h
172
+ };
173
+ }
174
+ }
175
+ function Pt(e, t, n) {
176
+ for (var r = ie(e, !0), o = N(e)[t]; r; ) {
177
+ var i = N(r)[n], s = void 0;
178
+ if (s = o >= i, !s) return r;
179
+ if (r === Q()) break;
180
+ r = ie(r, !1);
181
+ }
182
+ return !1;
183
+ }
184
+ function Ue(e, t, n) {
185
+ for (var r = 0, o = 0, i = e.children; o < i.length; ) {
186
+ if (i[o].style.display !== "none" && i[o] !== b.ghost && i[o] !== b.dragged && V(i[o], n.draggable, e, !1)) {
187
+ if (r === t)
188
+ return i[o];
189
+ r++;
190
+ }
191
+ o++;
192
+ }
193
+ return null;
194
+ }
195
+ function mt(e, t) {
196
+ for (var n = e.lastElementChild; n && (n === b.ghost || y(n, "display") === "none" || t && !Ye(n, t)); )
197
+ n = n.previousElementSibling;
198
+ return n || null;
199
+ }
200
+ function H(e, t) {
201
+ var n = 0;
202
+ if (!e || !e.parentNode)
203
+ return -1;
204
+ for (; e = e.previousElementSibling; )
205
+ e.nodeName.toUpperCase() !== "TEMPLATE" && e !== b.clone && (!t || Ye(e, t)) && n++;
206
+ return n;
207
+ }
208
+ function kt(e) {
209
+ var t = 0, n = 0, r = Q();
210
+ if (e)
211
+ do {
212
+ var o = be(e), i = o.a, s = o.d;
213
+ t += e.scrollLeft * i, n += e.scrollTop * s;
214
+ } while (e !== r && (e = e.parentNode));
215
+ return [t, n];
216
+ }
217
+ function Pr(e, t) {
218
+ for (var n in e)
219
+ if (e.hasOwnProperty(n)) {
220
+ for (var r in t)
221
+ if (t.hasOwnProperty(r) && t[r] === e[n][r]) return Number(n);
222
+ }
223
+ return -1;
224
+ }
225
+ function ie(e, t) {
226
+ if (!e || !e.getBoundingClientRect) return Q();
227
+ var n = e, r = !1;
228
+ do
229
+ if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
230
+ var o = y(n);
231
+ if (n.clientWidth < n.scrollWidth && (o.overflowX == "auto" || o.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (o.overflowY == "auto" || o.overflowY == "scroll")) {
232
+ if (!n.getBoundingClientRect || n === document.body) return Q();
233
+ if (r || t) return n;
234
+ r = !0;
235
+ }
236
+ }
237
+ while (n = n.parentNode);
238
+ return Q();
239
+ }
240
+ function kr(e, t) {
241
+ if (e && t)
242
+ for (var n in t)
243
+ t.hasOwnProperty(n) && (e[n] = t[n]);
244
+ return e;
245
+ }
246
+ function tt(e, t) {
247
+ return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
248
+ }
249
+ var Pe;
250
+ function Ft(e, t) {
251
+ return function() {
252
+ if (!Pe) {
253
+ var n = arguments, r = this;
254
+ n.length === 1 ? e.call(r, n[0]) : e.apply(r, n), Pe = setTimeout(function() {
255
+ Pe = void 0;
256
+ }, t);
257
+ }
258
+ };
259
+ }
260
+ function Cr() {
261
+ clearTimeout(Pe), Pe = void 0;
262
+ }
263
+ function $t(e, t, n) {
264
+ e.scrollLeft += t, e.scrollTop += n;
265
+ }
266
+ function Ht(e) {
267
+ var t = window.Polymer, n = window.jQuery || window.Zepto;
268
+ return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
269
+ }
270
+ var $ = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
271
+ function xr() {
272
+ var e = [], t;
273
+ return {
274
+ captureAnimationState: function() {
275
+ if (e = [], !!this.options.animation) {
276
+ var r = [].slice.call(this.el.children);
277
+ r.forEach(function(o) {
278
+ if (!(y(o, "display") === "none" || o === b.ghost)) {
279
+ e.push({
280
+ target: o,
281
+ rect: N(o)
282
+ });
283
+ var i = ae({}, e[e.length - 1].rect);
284
+ if (o.thisAnimationDuration) {
285
+ var s = be(o, !0);
286
+ s && (i.top -= s.f, i.left -= s.e);
287
+ }
288
+ o.fromRect = i;
289
+ }
290
+ });
291
+ }
292
+ },
293
+ addAnimationState: function(r) {
294
+ e.push(r);
295
+ },
296
+ removeAnimationState: function(r) {
297
+ e.splice(Pr(e, {
298
+ target: r
299
+ }), 1);
300
+ },
301
+ animateAll: function(r) {
302
+ var o = this;
303
+ if (!this.options.animation) {
304
+ clearTimeout(t), typeof r == "function" && r();
305
+ return;
306
+ }
307
+ var i = !1, s = 0;
308
+ e.forEach(function(l) {
309
+ var d = 0, f = l.target, h = f.fromRect, c = N(f), E = f.prevFromRect, T = f.prevToRect, u = l.rect, g = be(f, !0);
310
+ g && (c.top -= g.f, c.left -= g.e), f.toRect = c, f.thisAnimationDuration && tt(E, c) && !tt(h, c) && // Make sure animatingRect is on line between toRect & fromRect
311
+ (u.top - c.top) / (u.left - c.left) === (h.top - c.top) / (h.left - c.left) && (d = Ir(u, E, T, o.options)), tt(c, h) || (f.prevFromRect = h, f.prevToRect = c, d || (d = o.options.animation), o.animate(f, u, c, d)), d && (i = !0, s = Math.max(s, d), clearTimeout(f.animationResetTimer), f.animationResetTimer = setTimeout(function() {
312
+ f.animationTime = 0, f.prevFromRect = null, f.fromRect = null, f.prevToRect = null, f.thisAnimationDuration = null;
313
+ }, d), f.thisAnimationDuration = d);
314
+ }), clearTimeout(t), i ? t = setTimeout(function() {
315
+ typeof r == "function" && r();
316
+ }, s) : typeof r == "function" && r(), e = [];
317
+ },
318
+ animate: function(r, o, i, s) {
319
+ if (s) {
320
+ y(r, "transition", ""), y(r, "transform", "");
321
+ var l = be(this.el), d = l && l.a, f = l && l.d, h = (o.left - i.left) / (d || 1), c = (o.top - i.top) / (f || 1);
322
+ r.animatingX = !!h, r.animatingY = !!c, y(r, "transform", "translate3d(" + h + "px," + c + "px,0)"), jr(r), y(r, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), y(r, "transform", "translate3d(0,0,0)"), typeof r.animated == "number" && clearTimeout(r.animated), r.animated = setTimeout(function() {
323
+ y(r, "transition", ""), y(r, "transform", ""), r.animated = !1, r.animatingX = !1, r.animatingY = !1;
324
+ }, s);
325
+ }
326
+ }
327
+ };
328
+ }
329
+ function jr(e) {
330
+ return e.offsetWidth;
331
+ }
332
+ function Ir(e, t, n, r) {
333
+ return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * r.animation;
334
+ }
335
+ var Te = [], nt = {
336
+ initializeByDefault: !0
337
+ }, Ie = {
338
+ mount: function(t) {
339
+ for (var n in nt)
340
+ nt.hasOwnProperty(n) && !(n in t) && (t[n] = nt[n]);
341
+ Te.push(t);
342
+ },
343
+ pluginEvent: function(t, n, r) {
344
+ var o = this;
345
+ this.eventCanceled = !1, r.cancel = function() {
346
+ o.eventCanceled = !0;
347
+ };
348
+ var i = t + "Global";
349
+ Te.forEach(function(s) {
350
+ n[s.pluginName] && (n[s.pluginName][i] && n[s.pluginName][i](ae({
351
+ sortable: n
352
+ }, r)), n.options[s.pluginName] && n[s.pluginName][t] && n[s.pluginName][t](ae({
353
+ sortable: n
354
+ }, r)));
355
+ });
356
+ },
357
+ initializePlugins: function(t, n, r, o) {
358
+ Te.forEach(function(l) {
359
+ var d = l.pluginName;
360
+ if (!(!t.options[d] && !l.initializeByDefault)) {
361
+ var f = new l(t, n, t.options);
362
+ f.sortable = t, f.options = t.options, t[d] = f, K(r, f.defaults);
363
+ }
364
+ });
365
+ for (var i in t.options)
366
+ if (t.options.hasOwnProperty(i)) {
367
+ var s = this.modifyOption(t, i, t.options[i]);
368
+ typeof s < "u" && (t.options[i] = s);
369
+ }
370
+ },
371
+ getEventProperties: function(t, n) {
372
+ var r = {};
373
+ return Te.forEach(function(o) {
374
+ typeof o.eventProperties == "function" && K(r, o.eventProperties.call(n[o.pluginName], t));
375
+ }), r;
376
+ },
377
+ modifyOption: function(t, n, r) {
378
+ var o;
379
+ return Te.forEach(function(i) {
380
+ t[i.pluginName] && i.optionListeners && typeof i.optionListeners[n] == "function" && (o = i.optionListeners[n].call(t[i.pluginName], r));
381
+ }), o;
382
+ }
383
+ };
384
+ function Wr(e) {
385
+ var t = e.sortable, n = e.rootEl, r = e.name, o = e.targetEl, i = e.cloneEl, s = e.toEl, l = e.fromEl, d = e.oldIndex, f = e.newIndex, h = e.oldDraggableIndex, c = e.newDraggableIndex, E = e.originalEvent, T = e.putSortable, u = e.extraEventProperties;
386
+ if (t = t || n && n[$], !!t) {
387
+ var g, _ = t.options, O = "on" + r.charAt(0).toUpperCase() + r.substr(1);
388
+ window.CustomEvent && !ee && !je ? g = new CustomEvent(r, {
389
+ bubbles: !0,
390
+ cancelable: !0
391
+ }) : (g = document.createEvent("Event"), g.initEvent(r, !0, !0)), g.to = s || n, g.from = l || n, g.item = o || n, g.clone = i, g.oldIndex = d, g.newIndex = f, g.oldDraggableIndex = h, g.newDraggableIndex = c, g.originalEvent = E, g.pullMode = T ? T.lastPutMode : void 0;
392
+ var P = ae({}, u, Ie.getEventProperties(r, t));
393
+ for (var j in P)
394
+ g[j] = P[j];
395
+ n && n.dispatchEvent(g), _[O] && _[O].call(t, g);
396
+ }
397
+ }
398
+ var B = function(t, n) {
399
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = r.evt, i = Sr(r, ["evt"]);
400
+ Ie.pluginEvent.bind(b)(t, n, ae({
401
+ dragEl: p,
402
+ parentEl: W,
403
+ ghostEl: w,
404
+ rootEl: C,
405
+ nextEl: ge,
406
+ lastDownEl: Re,
407
+ cloneEl: x,
408
+ cloneHidden: oe,
409
+ dragStarted: Se,
410
+ putSortable: M,
411
+ activeSortable: b.active,
412
+ originalEvent: o,
413
+ oldIndex: ye,
414
+ oldDraggableIndex: ke,
415
+ newIndex: F,
416
+ newDraggableIndex: re,
417
+ hideGhostForTarget: Vt,
418
+ unhideGhostForTarget: Qt,
419
+ cloneNowHidden: function() {
420
+ oe = !0;
421
+ },
422
+ cloneNowShown: function() {
423
+ oe = !1;
424
+ },
425
+ dispatchSortableEvent: function(l) {
426
+ G({
427
+ sortable: n,
428
+ name: l,
429
+ originalEvent: o
430
+ });
431
+ }
432
+ }, i));
433
+ };
434
+ function G(e) {
435
+ Wr(ae({
436
+ putSortable: M,
437
+ cloneEl: x,
438
+ targetEl: p,
439
+ rootEl: C,
440
+ oldIndex: ye,
441
+ oldDraggableIndex: ke,
442
+ newIndex: F,
443
+ newDraggableIndex: re
444
+ }, e));
445
+ }
446
+ var p, W, w, C, ge, Re, x, oe, ye, F, ke, re, Ne, M, _e = !1, Ve = !1, Qe = [], fe, X, rt, ot, Ct, xt, Se, me, Ce, xe = !1, qe = !1, Fe, q, it = [], ct = !1, Ze = [], Ke = typeof document < "u", Ge = Gt, jt = je || ee ? "cssFloat" : "float", Lr = Ke && !Dr && !Gt && "draggable" in document.createElement("div"), Xt = (function() {
447
+ if (Ke) {
448
+ if (ee)
449
+ return !1;
450
+ var e = document.createElement("x");
451
+ return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
452
+ }
453
+ })(), Yt = function(t, n) {
454
+ var r = y(t), o = parseInt(r.width) - parseInt(r.paddingLeft) - parseInt(r.paddingRight) - parseInt(r.borderLeftWidth) - parseInt(r.borderRightWidth), i = Ue(t, 0, n), s = Ue(t, 1, n), l = i && y(i), d = s && y(s), f = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + N(i).width, h = d && parseInt(d.marginLeft) + parseInt(d.marginRight) + N(s).width;
455
+ if (r.display === "flex")
456
+ return r.flexDirection === "column" || r.flexDirection === "column-reverse" ? "vertical" : "horizontal";
457
+ if (r.display === "grid")
458
+ return r.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
459
+ if (i && l.float && l.float !== "none") {
460
+ var c = l.float === "left" ? "left" : "right";
461
+ return s && (d.clear === "both" || d.clear === c) ? "vertical" : "horizontal";
462
+ }
463
+ return i && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || f >= o && r[jt] === "none" || s && r[jt] === "none" && f + h > o) ? "vertical" : "horizontal";
464
+ }, Ar = function(t, n, r) {
465
+ var o = r ? t.left : t.top, i = r ? t.right : t.bottom, s = r ? t.width : t.height, l = r ? n.left : n.top, d = r ? n.right : n.bottom, f = r ? n.width : n.height;
466
+ return o === l || i === d || o + s / 2 === l + f / 2;
467
+ }, Mr = function(t, n) {
468
+ var r;
469
+ return Qe.some(function(o) {
470
+ if (!mt(o)) {
471
+ var i = N(o), s = o[$].options.emptyInsertThreshold, l = t >= i.left - s && t <= i.right + s, d = n >= i.top - s && n <= i.bottom + s;
472
+ if (s && l && d)
473
+ return r = o;
474
+ }
475
+ }), r;
476
+ }, Ut = function(t) {
477
+ function n(i, s) {
478
+ return function(l, d, f, h) {
479
+ var c = l.options.group.name && d.options.group.name && l.options.group.name === d.options.group.name;
480
+ if (i == null && (s || c))
481
+ return !0;
482
+ if (i == null || i === !1)
483
+ return !1;
484
+ if (s && i === "clone")
485
+ return i;
486
+ if (typeof i == "function")
487
+ return n(i(l, d, f, h), s)(l, d, f, h);
488
+ var E = (s ? l : d).options.group.name;
489
+ return i === !0 || typeof i == "string" && i === E || i.join && i.indexOf(E) > -1;
490
+ };
491
+ }
492
+ var r = {}, o = t.group;
493
+ (!o || Be(o) != "object") && (o = {
494
+ name: o
495
+ }), r.name = o.name, r.checkPull = n(o.pull, !0), r.checkPut = n(o.put), r.revertClone = o.revertClone, t.group = r;
496
+ }, Vt = function() {
497
+ !Xt && w && y(w, "display", "none");
498
+ }, Qt = function() {
499
+ !Xt && w && y(w, "display", "");
500
+ };
501
+ Ke && document.addEventListener("click", function(e) {
502
+ if (Ve)
503
+ return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Ve = !1, !1;
504
+ }, !0);
505
+ var ce = function(t) {
506
+ if (p) {
507
+ t = t.touches ? t.touches[0] : t;
508
+ var n = Mr(t.clientX, t.clientY);
509
+ if (n) {
510
+ var r = {};
511
+ for (var o in t)
512
+ t.hasOwnProperty(o) && (r[o] = t[o]);
513
+ r.target = r.rootEl = n, r.preventDefault = void 0, r.stopPropagation = void 0, n[$]._onDragOver(r);
514
+ }
515
+ }
516
+ }, Nr = function(t) {
517
+ p && p.parentNode[$]._isOutsideThisEl(t.target);
518
+ };
519
+ function b(e, t) {
520
+ if (!(e && e.nodeType && e.nodeType === 1))
521
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
522
+ this.el = e, this.options = t = K({}, t), e[$] = this;
523
+ var n = {
524
+ group: null,
525
+ sort: !0,
526
+ disabled: !1,
527
+ store: null,
528
+ handle: null,
529
+ draggable: /^[uo]l$/i.test(e.nodeName) ? ">li" : ">*",
530
+ swapThreshold: 1,
531
+ // percentage; 0 <= x <= 1
532
+ invertSwap: !1,
533
+ // invert always
534
+ invertedSwapThreshold: null,
535
+ // will be set to same as swapThreshold if default
536
+ removeCloneOnHide: !0,
537
+ direction: function() {
538
+ return Yt(e, this.options);
539
+ },
540
+ ghostClass: "sortable-ghost",
541
+ chosenClass: "sortable-chosen",
542
+ dragClass: "sortable-drag",
543
+ ignore: "a, img",
544
+ filter: null,
545
+ preventOnFilter: !0,
546
+ animation: 0,
547
+ easing: null,
548
+ setData: function(s, l) {
549
+ s.setData("Text", l.textContent);
550
+ },
551
+ dropBubble: !1,
552
+ dragoverBubble: !1,
553
+ dataIdAttr: "data-id",
554
+ delay: 0,
555
+ delayOnTouchOnly: !1,
556
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
557
+ forceFallback: !1,
558
+ fallbackClass: "sortable-fallback",
559
+ fallbackOnBody: !1,
560
+ fallbackTolerance: 0,
561
+ fallbackOffset: {
562
+ x: 0,
563
+ y: 0
564
+ },
565
+ supportPointer: b.supportPointer !== !1 && "PointerEvent" in window,
566
+ emptyInsertThreshold: 5
567
+ };
568
+ Ie.initializePlugins(this, e, n);
569
+ for (var r in n)
570
+ !(r in t) && (t[r] = n[r]);
571
+ Ut(t);
572
+ for (var o in this)
573
+ o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
574
+ this.nativeDraggable = t.forceFallback ? !1 : Lr, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? D(e, "pointerdown", this._onTapStart) : (D(e, "mousedown", this._onTapStart), D(e, "touchstart", this._onTapStart)), this.nativeDraggable && (D(e, "dragover", this), D(e, "dragenter", this)), Qe.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), K(this, xr());
575
+ }
576
+ b.prototype = /** @lends Sortable.prototype */
577
+ {
578
+ constructor: b,
579
+ _isOutsideThisEl: function(t) {
580
+ !this.el.contains(t) && t !== this.el && (me = null);
581
+ },
582
+ _getDirection: function(t, n) {
583
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, p) : this.options.direction;
584
+ },
585
+ _onTapStart: function(t) {
586
+ if (t.cancelable) {
587
+ var n = this, r = this.el, o = this.options, i = o.preventOnFilter, s = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, d = (l || t).target, f = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || d, h = o.filter;
588
+ if (Hr(r), !p && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || o.disabled) && !f.isContentEditable && (d = V(d, o.draggable, r, !1), !(d && d.animated) && Re !== d)) {
589
+ if (ye = H(d), ke = H(d, o.draggable), typeof h == "function") {
590
+ if (h.call(this, t, d, this)) {
591
+ G({
592
+ sortable: n,
593
+ rootEl: f,
594
+ name: "filter",
595
+ targetEl: d,
596
+ toEl: r,
597
+ fromEl: r
598
+ }), B("filter", n, {
599
+ evt: t
600
+ }), i && t.cancelable && t.preventDefault();
601
+ return;
602
+ }
603
+ } else if (h && (h = h.split(",").some(function(c) {
604
+ if (c = V(f, c.trim(), r, !1), c)
605
+ return G({
606
+ sortable: n,
607
+ rootEl: c,
608
+ name: "filter",
609
+ targetEl: d,
610
+ fromEl: r,
611
+ toEl: r
612
+ }), B("filter", n, {
613
+ evt: t
614
+ }), !0;
615
+ }), h)) {
616
+ i && t.cancelable && t.preventDefault();
617
+ return;
618
+ }
619
+ o.handle && !V(f, o.handle, r, !1) || this._prepareDragStart(t, l, d);
620
+ }
621
+ }
622
+ },
623
+ _prepareDragStart: function(t, n, r) {
624
+ var o = this, i = o.el, s = o.options, l = i.ownerDocument, d;
625
+ if (r && !p && r.parentNode === i) {
626
+ var f = N(r);
627
+ if (C = i, p = r, W = p.parentNode, ge = p.nextSibling, Re = r, Ne = s.group, b.dragged = p, fe = {
628
+ target: p,
629
+ clientX: (n || t).clientX,
630
+ clientY: (n || t).clientY
631
+ }, Ct = fe.clientX - f.left, xt = fe.clientY - f.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, p.style["will-change"] = "all", d = function() {
632
+ if (B("delayEnded", o, {
633
+ evt: t
634
+ }), b.eventCanceled) {
635
+ o._onDrop();
636
+ return;
637
+ }
638
+ o._disableDelayedDragEvents(), !Dt && o.nativeDraggable && (p.draggable = !0), o._triggerDragStart(t, n), G({
639
+ sortable: o,
640
+ name: "choose",
641
+ originalEvent: t
642
+ }), R(p, s.chosenClass, !0);
643
+ }, s.ignore.split(",").forEach(function(h) {
644
+ Rt(p, h.trim(), st);
645
+ }), D(l, "dragover", ce), D(l, "mousemove", ce), D(l, "touchmove", ce), D(l, "mouseup", o._onDrop), D(l, "touchend", o._onDrop), D(l, "touchcancel", o._onDrop), Dt && this.nativeDraggable && (this.options.touchStartThreshold = 4, p.draggable = !0), B("delayStart", this, {
646
+ evt: t
647
+ }), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(je || ee))) {
648
+ if (b.eventCanceled) {
649
+ this._onDrop();
650
+ return;
651
+ }
652
+ D(l, "mouseup", o._disableDelayedDrag), D(l, "touchend", o._disableDelayedDrag), D(l, "touchcancel", o._disableDelayedDrag), D(l, "mousemove", o._delayedDragTouchMoveHandler), D(l, "touchmove", o._delayedDragTouchMoveHandler), s.supportPointer && D(l, "pointermove", o._delayedDragTouchMoveHandler), o._dragStartTimer = setTimeout(d, s.delay);
653
+ } else
654
+ d();
655
+ }
656
+ },
657
+ _delayedDragTouchMoveHandler: function(t) {
658
+ var n = t.touches ? t.touches[0] : t;
659
+ Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
660
+ },
661
+ _disableDelayedDrag: function() {
662
+ p && st(p), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
663
+ },
664
+ _disableDelayedDragEvents: function() {
665
+ var t = this.el.ownerDocument;
666
+ z(t, "mouseup", this._disableDelayedDrag), z(t, "touchend", this._disableDelayedDrag), z(t, "touchcancel", this._disableDelayedDrag), z(t, "mousemove", this._delayedDragTouchMoveHandler), z(t, "touchmove", this._delayedDragTouchMoveHandler), z(t, "pointermove", this._delayedDragTouchMoveHandler);
667
+ },
668
+ _triggerDragStart: function(t, n) {
669
+ n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? D(document, "pointermove", this._onTouchMove) : n ? D(document, "touchmove", this._onTouchMove) : D(document, "mousemove", this._onTouchMove) : (D(p, "dragend", this), D(C, "dragstart", this._onDragStart));
670
+ try {
671
+ document.selection ? $e(function() {
672
+ document.selection.empty();
673
+ }) : window.getSelection().removeAllRanges();
674
+ } catch {
675
+ }
676
+ },
677
+ _dragStarted: function(t, n) {
678
+ if (_e = !1, C && p) {
679
+ B("dragStarted", this, {
680
+ evt: n
681
+ }), this.nativeDraggable && D(document, "dragover", Nr);
682
+ var r = this.options;
683
+ !t && R(p, r.dragClass, !1), R(p, r.ghostClass, !0), b.active = this, t && this._appendGhost(), G({
684
+ sortable: this,
685
+ name: "start",
686
+ originalEvent: n
687
+ });
688
+ } else
689
+ this._nulling();
690
+ },
691
+ _emulateDragOver: function() {
692
+ if (X) {
693
+ this._lastX = X.clientX, this._lastY = X.clientY, Vt();
694
+ for (var t = document.elementFromPoint(X.clientX, X.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(X.clientX, X.clientY), t !== n); )
695
+ n = t;
696
+ if (p.parentNode[$]._isOutsideThisEl(t), n)
697
+ do {
698
+ if (n[$]) {
699
+ var r = void 0;
700
+ if (r = n[$]._onDragOver({
701
+ clientX: X.clientX,
702
+ clientY: X.clientY,
703
+ target: t,
704
+ rootEl: n
705
+ }), r && !this.options.dragoverBubble)
706
+ break;
707
+ }
708
+ t = n;
709
+ } while (n = n.parentNode);
710
+ Qt();
711
+ }
712
+ },
713
+ _onTouchMove: function(t) {
714
+ if (fe) {
715
+ var n = this.options, r = n.fallbackTolerance, o = n.fallbackOffset, i = t.touches ? t.touches[0] : t, s = w && be(w, !0), l = w && s && s.a, d = w && s && s.d, f = Ge && q && kt(q), h = (i.clientX - fe.clientX + o.x) / (l || 1) + (f ? f[0] - it[0] : 0) / (l || 1), c = (i.clientY - fe.clientY + o.y) / (d || 1) + (f ? f[1] - it[1] : 0) / (d || 1);
716
+ if (!b.active && !_e) {
717
+ if (r && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < r)
718
+ return;
719
+ this._onDragStart(t, !0);
720
+ }
721
+ if (w) {
722
+ s ? (s.e += h - (rt || 0), s.f += c - (ot || 0)) : s = {
723
+ a: 1,
724
+ b: 0,
725
+ c: 0,
726
+ d: 1,
727
+ e: h,
728
+ f: c
729
+ };
730
+ var E = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
731
+ y(w, "webkitTransform", E), y(w, "mozTransform", E), y(w, "msTransform", E), y(w, "transform", E), rt = h, ot = c, X = i;
732
+ }
733
+ t.cancelable && t.preventDefault();
734
+ }
735
+ },
736
+ _appendGhost: function() {
737
+ if (!w) {
738
+ var t = this.options.fallbackOnBody ? document.body : C, n = N(p, !0, Ge, !0, t), r = this.options;
739
+ if (Ge) {
740
+ for (q = t; y(q, "position") === "static" && y(q, "transform") === "none" && q !== document; )
741
+ q = q.parentNode;
742
+ q !== document.body && q !== document.documentElement ? (q === document && (q = Q()), n.top += q.scrollTop, n.left += q.scrollLeft) : q = Q(), it = kt(q);
743
+ }
744
+ w = p.cloneNode(!0), R(w, r.ghostClass, !1), R(w, r.fallbackClass, !0), R(w, r.dragClass, !0), y(w, "transition", ""), y(w, "transform", ""), y(w, "box-sizing", "border-box"), y(w, "margin", 0), y(w, "top", n.top), y(w, "left", n.left), y(w, "width", n.width), y(w, "height", n.height), y(w, "opacity", "0.8"), y(w, "position", Ge ? "absolute" : "fixed"), y(w, "zIndex", "100000"), y(w, "pointerEvents", "none"), b.ghost = w, t.appendChild(w), y(w, "transform-origin", Ct / parseInt(w.style.width) * 100 + "% " + xt / parseInt(w.style.height) * 100 + "%");
745
+ }
746
+ },
747
+ _onDragStart: function(t, n) {
748
+ var r = this, o = t.dataTransfer, i = r.options;
749
+ if (B("dragStart", this, {
750
+ evt: t
751
+ }), b.eventCanceled) {
752
+ this._onDrop();
753
+ return;
754
+ }
755
+ B("setupClone", this), b.eventCanceled || (x = Ht(p), x.draggable = !1, x.style["will-change"] = "", this._hideClone(), R(x, this.options.chosenClass, !1), b.clone = x), r.cloneId = $e(function() {
756
+ B("clone", r), !b.eventCanceled && (r.options.removeCloneOnHide || C.insertBefore(x, p), r._hideClone(), G({
757
+ sortable: r,
758
+ name: "clone"
759
+ }));
760
+ }), !n && R(p, i.dragClass, !0), n ? (Ve = !0, r._loopId = setInterval(r._emulateDragOver, 50)) : (z(document, "mouseup", r._onDrop), z(document, "touchend", r._onDrop), z(document, "touchcancel", r._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(r, o, p)), D(document, "drop", r), y(p, "transform", "translateZ(0)")), _e = !0, r._dragStartId = $e(r._dragStarted.bind(r, n, t)), D(document, "selectstart", r), Se = !0, ft && y(document.body, "user-select", "none");
761
+ },
762
+ // Returns true - if no further action is needed (either inserted or another condition)
763
+ _onDragOver: function(t) {
764
+ var n = this.el, r = t.target, o, i, s, l = this.options, d = l.group, f = b.active, h = Ne === d, c = l.sort, E = M || f, T, u = this, g = !1;
765
+ if (ct) return;
766
+ function _(we, Jt) {
767
+ B(we, u, ae({
768
+ evt: t,
769
+ isOwner: h,
770
+ axis: T ? "vertical" : "horizontal",
771
+ revert: s,
772
+ dragRect: o,
773
+ targetRect: i,
774
+ canSort: c,
775
+ fromSortable: E,
776
+ target: r,
777
+ completed: P,
778
+ onMove: function(yt, Kt) {
779
+ return at(C, n, p, o, yt, N(yt), t, Kt);
780
+ },
781
+ changed: j
782
+ }, Jt));
783
+ }
784
+ function O() {
785
+ _("dragOverAnimationCapture"), u.captureAnimationState(), u !== E && E.captureAnimationState();
786
+ }
787
+ function P(we) {
788
+ return _("dragOverCompleted", {
789
+ insertion: we
790
+ }), we && (h ? f._hideClone() : f._showClone(u), u !== E && (R(p, M ? M.options.ghostClass : f.options.ghostClass, !1), R(p, l.ghostClass, !0)), M !== u && u !== b.active ? M = u : u === b.active && M && (M = null), E === u && (u._ignoreWhileAnimating = r), u.animateAll(function() {
791
+ _("dragOverAnimationComplete"), u._ignoreWhileAnimating = null;
792
+ }), u !== E && (E.animateAll(), E._ignoreWhileAnimating = null)), (r === p && !p.animated || r === n && !r.animated) && (me = null), !l.dragoverBubble && !t.rootEl && r !== document && (p.parentNode[$]._isOutsideThisEl(t.target), !we && ce(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), g = !0;
793
+ }
794
+ function j() {
795
+ F = H(p), re = H(p, l.draggable), G({
796
+ sortable: u,
797
+ name: "change",
798
+ toEl: n,
799
+ newIndex: F,
800
+ newDraggableIndex: re,
801
+ originalEvent: t
802
+ });
803
+ }
804
+ if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), r = V(r, l.draggable, n, !0), _("dragOver"), b.eventCanceled) return g;
805
+ if (p.contains(t.target) || r.animated && r.animatingX && r.animatingY || u._ignoreWhileAnimating === r)
806
+ return P(!1);
807
+ if (Ve = !1, f && !l.disabled && (h ? c || (s = !C.contains(p)) : M === this || (this.lastPutMode = Ne.checkPull(this, f, p, t)) && d.checkPut(this, f, p, t))) {
808
+ if (T = this._getDirection(t, r) === "vertical", o = N(p), _("dragOverValid"), b.eventCanceled) return g;
809
+ if (s)
810
+ return W = C, O(), this._hideClone(), _("revert"), b.eventCanceled || (ge ? C.insertBefore(p, ge) : C.appendChild(p)), P(!0);
811
+ var S = mt(n, l.draggable);
812
+ if (!S || Br(t, T, this) && !S.animated) {
813
+ if (S === p)
814
+ return P(!1);
815
+ if (S && n === t.target && (r = S), r && (i = N(r)), at(C, n, p, o, r, i, t, !!r) !== !1)
816
+ return O(), n.appendChild(p), W = n, j(), P(!0);
817
+ } else if (r.parentNode === n) {
818
+ i = N(r);
819
+ var m = 0, v, k = p.parentNode !== n, I = !Ar(p.animated && p.toRect || o, r.animated && r.toRect || i, T), A = T ? "top" : "left", U = Pt(r, "top", "top") || Pt(p, "top", "top"), se = U ? U.scrollTop : void 0;
820
+ me !== r && (v = i[A], xe = !1, qe = !I && l.invertSwap || k), m = Rr(t, r, i, T, I ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, qe, me === r);
821
+ var Z;
822
+ if (m !== 0) {
823
+ var he = H(p);
824
+ do
825
+ he -= m, Z = W.children[he];
826
+ while (Z && (y(Z, "display") === "none" || Z === w));
827
+ }
828
+ if (m === 0 || Z === r)
829
+ return P(!1);
830
+ me = r, Ce = m;
831
+ var le = r.nextElementSibling, te = !1;
832
+ te = m === 1;
833
+ var de = at(C, n, p, o, r, i, t, te);
834
+ if (de !== !1)
835
+ return (de === 1 || de === -1) && (te = de === 1), ct = !0, setTimeout(Gr, 30), O(), te && !le ? n.appendChild(p) : r.parentNode.insertBefore(p, te ? le : r), U && $t(U, 0, se - U.scrollTop), W = p.parentNode, v !== void 0 && !qe && (Fe = Math.abs(v - N(r)[A])), j(), P(!0);
836
+ }
837
+ if (n.contains(p))
838
+ return P(!1);
839
+ }
840
+ return !1;
841
+ },
842
+ _ignoreWhileAnimating: null,
843
+ _offMoveEvents: function() {
844
+ z(document, "mousemove", this._onTouchMove), z(document, "touchmove", this._onTouchMove), z(document, "pointermove", this._onTouchMove), z(document, "dragover", ce), z(document, "mousemove", ce), z(document, "touchmove", ce);
845
+ },
846
+ _offUpEvents: function() {
847
+ var t = this.el.ownerDocument;
848
+ z(t, "mouseup", this._onDrop), z(t, "touchend", this._onDrop), z(t, "pointerup", this._onDrop), z(t, "touchcancel", this._onDrop), z(document, "selectstart", this);
849
+ },
850
+ _onDrop: function(t) {
851
+ var n = this.el, r = this.options;
852
+ if (F = H(p), re = H(p, r.draggable), B("drop", this, {
853
+ evt: t
854
+ }), W = p && p.parentNode, F = H(p), re = H(p, r.draggable), b.eventCanceled) {
855
+ this._nulling();
856
+ return;
857
+ }
858
+ _e = !1, qe = !1, xe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), gt(this.cloneId), gt(this._dragStartId), this.nativeDraggable && (z(document, "drop", this), z(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ft && y(document.body, "user-select", ""), y(p, "transform", ""), t && (Se && (t.cancelable && t.preventDefault(), !r.dropBubble && t.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (C === W || M && M.lastPutMode !== "clone") && x && x.parentNode && x.parentNode.removeChild(x), p && (this.nativeDraggable && z(p, "dragend", this), st(p), p.style["will-change"] = "", Se && !_e && R(p, M ? M.options.ghostClass : this.options.ghostClass, !1), R(p, this.options.chosenClass, !1), G({
859
+ sortable: this,
860
+ name: "unchoose",
861
+ toEl: W,
862
+ newIndex: null,
863
+ newDraggableIndex: null,
864
+ originalEvent: t
865
+ }), C !== W ? (F >= 0 && (G({
866
+ rootEl: W,
867
+ name: "add",
868
+ toEl: W,
869
+ fromEl: C,
870
+ originalEvent: t
871
+ }), G({
872
+ sortable: this,
873
+ name: "remove",
874
+ toEl: W,
875
+ originalEvent: t
876
+ }), G({
877
+ rootEl: W,
878
+ name: "sort",
879
+ toEl: W,
880
+ fromEl: C,
881
+ originalEvent: t
882
+ }), G({
883
+ sortable: this,
884
+ name: "sort",
885
+ toEl: W,
886
+ originalEvent: t
887
+ })), M && M.save()) : F !== ye && F >= 0 && (G({
888
+ sortable: this,
889
+ name: "update",
890
+ toEl: W,
891
+ originalEvent: t
892
+ }), G({
893
+ sortable: this,
894
+ name: "sort",
895
+ toEl: W,
896
+ originalEvent: t
897
+ })), b.active && ((F == null || F === -1) && (F = ye, re = ke), G({
898
+ sortable: this,
899
+ name: "end",
900
+ toEl: W,
901
+ originalEvent: t
902
+ }), this.save()))), this._nulling();
903
+ },
904
+ _nulling: function() {
905
+ B("nulling", this), C = p = W = w = ge = x = Re = oe = fe = X = Se = F = re = ye = ke = me = Ce = M = Ne = b.dragged = b.ghost = b.clone = b.active = null, Ze.forEach(function(t) {
906
+ t.checked = !0;
907
+ }), Ze.length = rt = ot = 0;
908
+ },
909
+ handleEvent: function(t) {
910
+ switch (t.type) {
911
+ case "drop":
912
+ case "dragend":
913
+ this._onDrop(t);
914
+ break;
915
+ case "dragenter":
916
+ case "dragover":
917
+ p && (this._onDragOver(t), qr(t));
918
+ break;
919
+ case "selectstart":
920
+ t.preventDefault();
921
+ break;
922
+ }
923
+ },
924
+ /**
925
+ * Serializes the item into an array of string.
926
+ * @returns {String[]}
927
+ */
928
+ toArray: function() {
929
+ for (var t = [], n, r = this.el.children, o = 0, i = r.length, s = this.options; o < i; o++)
930
+ n = r[o], V(n, s.draggable, this.el, !1) && t.push(n.getAttribute(s.dataIdAttr) || $r(n));
931
+ return t;
932
+ },
933
+ /**
934
+ * Sorts the elements according to the array.
935
+ * @param {String[]} order order of the items
936
+ */
937
+ sort: function(t) {
938
+ var n = {}, r = this.el;
939
+ this.toArray().forEach(function(o, i) {
940
+ var s = r.children[i];
941
+ V(s, this.options.draggable, r, !1) && (n[o] = s);
942
+ }, this), t.forEach(function(o) {
943
+ n[o] && (r.removeChild(n[o]), r.appendChild(n[o]));
944
+ });
945
+ },
946
+ /**
947
+ * Save the current sorting
948
+ */
949
+ save: function() {
950
+ var t = this.options.store;
951
+ t && t.set && t.set(this);
952
+ },
953
+ /**
954
+ * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
955
+ * @param {HTMLElement} el
956
+ * @param {String} [selector] default: `options.draggable`
957
+ * @returns {HTMLElement|null}
958
+ */
959
+ closest: function(t, n) {
960
+ return V(t, n || this.options.draggable, this.el, !1);
961
+ },
962
+ /**
963
+ * Set/get option
964
+ * @param {string} name
965
+ * @param {*} [value]
966
+ * @returns {*}
967
+ */
968
+ option: function(t, n) {
969
+ var r = this.options;
970
+ if (n === void 0)
971
+ return r[t];
972
+ var o = Ie.modifyOption(this, t, n);
973
+ typeof o < "u" ? r[t] = o : r[t] = n, t === "group" && Ut(r);
974
+ },
975
+ /**
976
+ * Destroy
977
+ */
978
+ destroy: function() {
979
+ B("destroy", this);
980
+ var t = this.el;
981
+ t[$] = null, z(t, "mousedown", this._onTapStart), z(t, "touchstart", this._onTapStart), z(t, "pointerdown", this._onTapStart), this.nativeDraggable && (z(t, "dragover", this), z(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
982
+ n.removeAttribute("draggable");
983
+ }), this._onDrop(), this._disableDelayedDragEvents(), Qe.splice(Qe.indexOf(this.el), 1), this.el = t = null;
984
+ },
985
+ _hideClone: function() {
986
+ if (!oe) {
987
+ if (B("hideClone", this), b.eventCanceled) return;
988
+ y(x, "display", "none"), this.options.removeCloneOnHide && x.parentNode && x.parentNode.removeChild(x), oe = !0;
989
+ }
990
+ },
991
+ _showClone: function(t) {
992
+ if (t.lastPutMode !== "clone") {
993
+ this._hideClone();
994
+ return;
995
+ }
996
+ if (oe) {
997
+ if (B("showClone", this), b.eventCanceled) return;
998
+ C.contains(p) && !this.options.group.revertClone ? C.insertBefore(x, p) : ge ? C.insertBefore(x, ge) : C.appendChild(x), this.options.group.revertClone && this.animate(p, x), y(x, "display", ""), oe = !1;
999
+ }
1000
+ }
1001
+ };
1002
+ function qr(e) {
1003
+ e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
1004
+ }
1005
+ function at(e, t, n, r, o, i, s, l) {
1006
+ var d, f = e[$], h = f.options.onMove, c;
1007
+ return window.CustomEvent && !ee && !je ? d = new CustomEvent("move", {
1008
+ bubbles: !0,
1009
+ cancelable: !0
1010
+ }) : (d = document.createEvent("Event"), d.initEvent("move", !0, !0)), d.to = t, d.from = e, d.dragged = n, d.draggedRect = r, d.related = o || t, d.relatedRect = i || N(t), d.willInsertAfter = l, d.originalEvent = s, e.dispatchEvent(d), h && (c = h.call(f, d, s)), c;
1011
+ }
1012
+ function st(e) {
1013
+ e.draggable = !1;
1014
+ }
1015
+ function Gr() {
1016
+ ct = !1;
1017
+ }
1018
+ function Br(e, t, n) {
1019
+ var r = N(mt(n.el, n.options.draggable)), o = 10;
1020
+ return t ? e.clientX > r.right + o || e.clientX <= r.right && e.clientY > r.bottom && e.clientX >= r.left : e.clientX > r.right && e.clientY > r.top || e.clientX <= r.right && e.clientY > r.bottom + o;
1021
+ }
1022
+ function Rr(e, t, n, r, o, i, s, l) {
1023
+ var d = r ? e.clientY : e.clientX, f = r ? n.height : n.width, h = r ? n.top : n.left, c = r ? n.bottom : n.right, E = !1;
1024
+ if (!s) {
1025
+ if (l && Fe < f * o) {
1026
+ if (!xe && (Ce === 1 ? d > h + f * i / 2 : d < c - f * i / 2) && (xe = !0), xe)
1027
+ E = !0;
1028
+ else if (Ce === 1 ? d < h + Fe : d > c - Fe)
1029
+ return -Ce;
1030
+ } else if (d > h + f * (1 - o) / 2 && d < c - f * (1 - o) / 2)
1031
+ return Fr(t);
1032
+ }
1033
+ return E = E || s, E && (d < h + f * i / 2 || d > c - f * i / 2) ? d > h + f / 2 ? 1 : -1 : 0;
1034
+ }
1035
+ function Fr(e) {
1036
+ return H(p) < H(e) ? 1 : -1;
1037
+ }
1038
+ function $r(e) {
1039
+ for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, r = 0; n--; )
1040
+ r += t.charCodeAt(n);
1041
+ return r.toString(36);
1042
+ }
1043
+ function Hr(e) {
1044
+ Ze.length = 0;
1045
+ for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
1046
+ var r = t[n];
1047
+ r.checked && Ze.push(r);
1048
+ }
1049
+ }
1050
+ function $e(e) {
1051
+ return setTimeout(e, 0);
1052
+ }
1053
+ function gt(e) {
1054
+ return clearTimeout(e);
1055
+ }
1056
+ Ke && D(document, "touchmove", function(e) {
1057
+ (b.active || _e) && e.cancelable && e.preventDefault();
1058
+ });
1059
+ b.utils = {
1060
+ on: D,
1061
+ off: z,
1062
+ css: y,
1063
+ find: Rt,
1064
+ is: function(t, n) {
1065
+ return !!V(t, n, t, !1);
1066
+ },
1067
+ extend: kr,
1068
+ throttle: Ft,
1069
+ closest: V,
1070
+ toggleClass: R,
1071
+ clone: Ht,
1072
+ index: H,
1073
+ nextTick: $e,
1074
+ cancelNextTick: gt,
1075
+ detectDirection: Yt,
1076
+ getChild: Ue
1077
+ };
1078
+ b.get = function(e) {
1079
+ return e[$];
1080
+ };
1081
+ b.mount = function() {
1082
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1083
+ t[n] = arguments[n];
1084
+ t[0].constructor === Array && (t = t[0]), t.forEach(function(r) {
1085
+ if (!r.prototype || !r.prototype.constructor)
1086
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));
1087
+ r.utils && (b.utils = ae({}, b.utils, r.utils)), Ie.mount(r);
1088
+ });
1089
+ };
1090
+ b.create = function(e, t) {
1091
+ return new b(e, t);
1092
+ };
1093
+ b.version = zr;
1094
+ var L = [], ze, pt, ht = !1, lt, dt, Je, De;
1095
+ function Xr() {
1096
+ function e() {
1097
+ this.defaults = {
1098
+ scroll: !0,
1099
+ scrollSensitivity: 30,
1100
+ scrollSpeed: 10,
1101
+ bubbleScroll: !0
1102
+ };
1103
+ for (var t in this)
1104
+ t.charAt(0) === "_" && typeof this[t] == "function" && (this[t] = this[t].bind(this));
1105
+ }
1106
+ return e.prototype = {
1107
+ dragStarted: function(n) {
1108
+ var r = n.originalEvent;
1109
+ this.sortable.nativeDraggable ? D(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? D(document, "pointermove", this._handleFallbackAutoScroll) : r.touches ? D(document, "touchmove", this._handleFallbackAutoScroll) : D(document, "mousemove", this._handleFallbackAutoScroll);
1110
+ },
1111
+ dragOverCompleted: function(n) {
1112
+ var r = n.originalEvent;
1113
+ !this.options.dragOverBubble && !r.rootEl && this._handleAutoScroll(r);
1114
+ },
1115
+ drop: function() {
1116
+ this.sortable.nativeDraggable ? z(document, "dragover", this._handleAutoScroll) : (z(document, "pointermove", this._handleFallbackAutoScroll), z(document, "touchmove", this._handleFallbackAutoScroll), z(document, "mousemove", this._handleFallbackAutoScroll)), It(), He(), Cr();
1117
+ },
1118
+ nulling: function() {
1119
+ Je = pt = ze = ht = De = lt = dt = null, L.length = 0;
1120
+ },
1121
+ _handleFallbackAutoScroll: function(n) {
1122
+ this._handleAutoScroll(n, !0);
1123
+ },
1124
+ _handleAutoScroll: function(n, r) {
1125
+ var o = this, i = (n.touches ? n.touches[0] : n).clientX, s = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(i, s);
1126
+ if (Je = n, r || je || ee || ft) {
1127
+ ut(n, this.options, l, r);
1128
+ var d = ie(l, !0);
1129
+ ht && (!De || i !== lt || s !== dt) && (De && It(), De = setInterval(function() {
1130
+ var f = ie(document.elementFromPoint(i, s), !0);
1131
+ f !== d && (d = f, He()), ut(n, o.options, f, r);
1132
+ }, 10), lt = i, dt = s);
1133
+ } else {
1134
+ if (!this.options.bubbleScroll || ie(l, !0) === Q()) {
1135
+ He();
1136
+ return;
1137
+ }
1138
+ ut(n, this.options, ie(l, !1), !1);
1139
+ }
1140
+ }
1141
+ }, K(e, {
1142
+ pluginName: "scroll",
1143
+ initializeByDefault: !0
1144
+ });
1145
+ }
1146
+ function He() {
1147
+ L.forEach(function(e) {
1148
+ clearInterval(e.pid);
1149
+ }), L = [];
1150
+ }
1151
+ function It() {
1152
+ clearInterval(De);
1153
+ }
1154
+ var ut = Ft(function(e, t, n, r) {
1155
+ if (t.scroll) {
1156
+ var o = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, s = t.scrollSensitivity, l = t.scrollSpeed, d = Q(), f = !1, h;
1157
+ pt !== n && (pt = n, He(), ze = t.scroll, h = t.scrollFn, ze === !0 && (ze = ie(n, !0)));
1158
+ var c = 0, E = ze;
1159
+ do {
1160
+ var T = E, u = N(T), g = u.top, _ = u.bottom, O = u.left, P = u.right, j = u.width, S = u.height, m = void 0, v = void 0, k = T.scrollWidth, I = T.scrollHeight, A = y(T), U = T.scrollLeft, se = T.scrollTop;
1161
+ T === d ? (m = j < k && (A.overflowX === "auto" || A.overflowX === "scroll" || A.overflowX === "visible"), v = S < I && (A.overflowY === "auto" || A.overflowY === "scroll" || A.overflowY === "visible")) : (m = j < k && (A.overflowX === "auto" || A.overflowX === "scroll"), v = S < I && (A.overflowY === "auto" || A.overflowY === "scroll"));
1162
+ var Z = m && (Math.abs(P - o) <= s && U + j < k) - (Math.abs(O - o) <= s && !!U), he = v && (Math.abs(_ - i) <= s && se + S < I) - (Math.abs(g - i) <= s && !!se);
1163
+ if (!L[c])
1164
+ for (var le = 0; le <= c; le++)
1165
+ L[le] || (L[le] = {});
1166
+ (L[c].vx != Z || L[c].vy != he || L[c].el !== T) && (L[c].el = T, L[c].vx = Z, L[c].vy = he, clearInterval(L[c].pid), (Z != 0 || he != 0) && (f = !0, L[c].pid = setInterval((function() {
1167
+ r && this.layer === 0 && b.active._onTouchMove(Je);
1168
+ var te = L[this.layer].vy ? L[this.layer].vy * l : 0, de = L[this.layer].vx ? L[this.layer].vx * l : 0;
1169
+ typeof h == "function" && h.call(b.dragged.parentNode[$], de, te, e, Je, L[this.layer].el) !== "continue" || $t(L[this.layer].el, de, te);
1170
+ }).bind({
1171
+ layer: c
1172
+ }), 24))), c++;
1173
+ } while (t.bubbleScroll && E !== d && (E = ie(E, !1)));
1174
+ ht = f;
1175
+ }
1176
+ }, 30), Zt = function(t) {
1177
+ var n = t.originalEvent, r = t.putSortable, o = t.dragEl, i = t.activeSortable, s = t.dispatchSortableEvent, l = t.hideGhostForTarget, d = t.unhideGhostForTarget;
1178
+ if (n) {
1179
+ var f = r || i;
1180
+ l();
1181
+ var h = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, c = document.elementFromPoint(h.clientX, h.clientY);
1182
+ d(), f && !f.el.contains(c) && (s("spill"), this.onSpill({
1183
+ dragEl: o,
1184
+ putSortable: r
1185
+ }));
1186
+ }
1187
+ };
1188
+ function _t() {
1189
+ }
1190
+ _t.prototype = {
1191
+ startIndex: null,
1192
+ dragStart: function(t) {
1193
+ var n = t.oldDraggableIndex;
1194
+ this.startIndex = n;
1195
+ },
1196
+ onSpill: function(t) {
1197
+ var n = t.dragEl, r = t.putSortable;
1198
+ this.sortable.captureAnimationState(), r && r.captureAnimationState();
1199
+ var o = Ue(this.sortable.el, this.startIndex, this.options);
1200
+ o ? this.sortable.el.insertBefore(n, o) : this.sortable.el.appendChild(n), this.sortable.animateAll(), r && r.animateAll();
1201
+ },
1202
+ drop: Zt
1203
+ };
1204
+ K(_t, {
1205
+ pluginName: "revertOnSpill"
1206
+ });
1207
+ function vt() {
1208
+ }
1209
+ vt.prototype = {
1210
+ onSpill: function(t) {
1211
+ var n = t.dragEl, r = t.putSortable, o = r || this.sortable;
1212
+ o.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), o.animateAll();
1213
+ },
1214
+ drop: Zt
1215
+ };
1216
+ K(vt, {
1217
+ pluginName: "removeOnSpill"
1218
+ });
1219
+ b.mount(new Xr());
1220
+ b.mount(vt, _t);
1221
+ const Yr = { class: "component-upload-image" }, Ur = {
1222
+ key: 0,
1223
+ class: "el-upload__tip"
1224
+ }, Vr = { style: { color: "#f56c6c" } }, Qr = { style: { color: "#f56c6c" } }, Zr = {
1225
+ __name: "index",
1226
+ props: {
1227
+ modelValue: [String, Object, Array],
1228
+ // 上传接口地址
1229
+ action: {
1230
+ type: String,
1231
+ default: "/sys/sysfile/uploadfile"
1232
+ },
1233
+ // 上传携带的参数
1234
+ data: {
1235
+ type: Object
1236
+ },
1237
+ // 图片数量限制
1238
+ limit: {
1239
+ type: Number,
1240
+ default: 5
1241
+ },
1242
+ // 大小限制(MB)
1243
+ fileSize: {
1244
+ type: Number,
1245
+ default: 5
1246
+ },
1247
+ // 文件类型, 例如['png', 'jpg', 'jpeg']
1248
+ fileType: {
1249
+ type: Array,
1250
+ default: () => ["png", "jpg", "jpeg"]
1251
+ },
1252
+ // 是否显示提示
1253
+ isShowTip: {
1254
+ type: Boolean,
1255
+ default: !0
1256
+ },
1257
+ // 禁用组件(仅查看图片)
1258
+ disabled: {
1259
+ type: Boolean,
1260
+ default: !1
1261
+ },
1262
+ // 拖动排序
1263
+ drag: {
1264
+ type: Boolean,
1265
+ default: !0
1266
+ }
1267
+ },
1268
+ setup(e, { emit: t }) {
1269
+ const n = ve(), r = e, o = t, i = ue(0), s = ue([]), l = ue(0), d = ue(!1), f = ue("/prod-api" + r.action), h = ue({ Authorization: n.token }), c = ue([]), E = pr(
1270
+ () => r.isShowTip && (r.fileType || r.fileSize)
1271
+ ), { proxy: T } = hr();
1272
+ mr(
1273
+ () => r.modelValue,
1274
+ (m) => {
1275
+ if (m)
1276
+ c.value = m.map((v) => ({
1277
+ ...v,
1278
+ url: "/syDevelop/filesroot" + v.file_path + "?sid=" + n.token,
1279
+ name: v.file_name
1280
+ }));
1281
+ else
1282
+ return c.value = [], [];
1283
+ },
1284
+ { deep: !0, immediate: !0 }
1285
+ );
1286
+ function u(m) {
1287
+ let v = !1;
1288
+ if (r.fileType.length) {
1289
+ let k = "";
1290
+ m.name.lastIndexOf(".") > -1 && (k = m.name.slice(m.name.lastIndexOf(".") + 1)), v = r.fileType.some((I) => !!(m.type.indexOf(I) > -1 || k && k.indexOf(I) > -1));
1291
+ } else
1292
+ v = m.type.indexOf("image") > -1;
1293
+ if (!v)
1294
+ return Y.msgError(
1295
+ `文件格式不正确,请上传${r.fileType.join("/")}图片格式文件!`
1296
+ ), !1;
1297
+ if (m.name.includes(","))
1298
+ return Y.msgError("文件名不正确,不能包含英文逗号!"), !1;
1299
+ if (r.fileSize && !(m.size / 1024 / 1024 < r.fileSize))
1300
+ return Y.msgError(`上传头像图片大小不能超过 ${r.fileSize} MB!`), !1;
1301
+ Y.loading("正在上传图片,请稍候..."), i.value++;
1302
+ }
1303
+ function g() {
1304
+ Y.msgError(`上传文件数量不能超过 ${r.limit} 个!`);
1305
+ }
1306
+ function _(m, v) {
1307
+ if (m.code === 200) {
1308
+ const k = v.uid;
1309
+ c.value.some((A) => A.uid === k) || s.value.push({
1310
+ ...m.data,
1311
+ file_suffixid: m.data.file_suffixid,
1312
+ file_path: m.data.file_path,
1313
+ file_name: m.data.file_oldname,
1314
+ name: m.data.file_oldname,
1315
+ url: "/syDevelop/filesroot" + m.data.file_path + "?sid=" + n.token,
1316
+ // fileid: fileid,
1317
+ file_typeid: m.data.file_filetypeid
1318
+ }), P();
1319
+ } else
1320
+ i.value--, Y.closeLoading(), Y.msgError(m.msg), T.$refs.imageUpload.handleRemove(v), P();
1321
+ }
1322
+ function O(m) {
1323
+ const v = c.value.map((k) => k.name).indexOf(m.name);
1324
+ if (v > -1 && s.value.length === i.value)
1325
+ return c.value.splice(v, 1), o("update:modelValue", c.value), !1;
1326
+ }
1327
+ function P() {
1328
+ i.value > 0 && s.value.length === i.value && (c.value = c.value.filter((m) => m.url !== void 0).concat(s.value), s.value = [], i.value = 0, o(
1329
+ "update:modelValue",
1330
+ c.value.map((m) => m)
1331
+ ), Y.closeLoading());
1332
+ }
1333
+ function j() {
1334
+ Y.msgError("上传图片失败"), Y.closeLoading();
1335
+ }
1336
+ function S(m) {
1337
+ const { value: v } = dn(c, (k) => k.name === m.name);
1338
+ l.value = v, d.value = !0;
1339
+ }
1340
+ return _r(() => {
1341
+ r.drag && !r.disabled && vr(() => {
1342
+ const m = T.$refs.imageUpload?.$el?.querySelector(".el-upload-list");
1343
+ b.create(m, {
1344
+ onEnd: (v) => {
1345
+ const k = c.value.splice(v.oldIndex, 1)[0];
1346
+ c.value.splice(v.newIndex, 0, k), o("update:modelValue", s.value);
1347
+ }
1348
+ });
1349
+ });
1350
+ }), (m, v) => {
1351
+ const k = We("plus"), I = We("el-icon"), A = We("el-upload"), U = We("el-image-viewer");
1352
+ return Ee(), Le("div", Yr, [
1353
+ et(A, {
1354
+ multiple: "",
1355
+ disabled: e.disabled,
1356
+ action: ne(f),
1357
+ "list-type": "picture-card",
1358
+ "on-success": _,
1359
+ "before-upload": u,
1360
+ data: e.data,
1361
+ limit: e.limit,
1362
+ "on-error": j,
1363
+ "on-exceed": g,
1364
+ ref: "imageUpload",
1365
+ "before-remove": O,
1366
+ "show-file-list": !0,
1367
+ headers: ne(h),
1368
+ "file-list": ne(c),
1369
+ "on-preview": S,
1370
+ class: br({ hide: ne(c).length >= e.limit })
1371
+ }, {
1372
+ default: wt(() => [
1373
+ et(I, { class: "avatar-uploader-icon" }, {
1374
+ default: wt(() => [
1375
+ et(k)
1376
+ ]),
1377
+ _: 1
1378
+ })
1379
+ ]),
1380
+ _: 1
1381
+ }, 8, ["disabled", "action", "data", "limit", "headers", "file-list", "class"]),
1382
+ ne(E) && !e.disabled ? (Ee(), Le("div", Ur, [
1383
+ v[3] || (v[3] = Me(" 请上传 ", -1)),
1384
+ e.fileSize ? (Ee(), Le(Et, { key: 0 }, [
1385
+ v[1] || (v[1] = Me(" 大小不超过 ", -1)),
1386
+ Tt("b", Vr, St(e.fileSize) + "MB", 1)
1387
+ ], 64)) : Ae("", !0),
1388
+ e.fileType ? (Ee(), Le(Et, { key: 1 }, [
1389
+ v[2] || (v[2] = Me(" 格式为 ", -1)),
1390
+ Tt("b", Qr, St(e.fileType.join("/")), 1)
1391
+ ], 64)) : Ae("", !0),
1392
+ v[4] || (v[4] = Me(" 的文件 ", -1))
1393
+ ])) : Ae("", !0),
1394
+ ne(d) ? (Ee(), yr(U, {
1395
+ key: 1,
1396
+ "url-list": ne(c).map((se) => se.url),
1397
+ "show-progress": "",
1398
+ "initial-index": ne(l),
1399
+ onClose: v[0] || (v[0] = (se) => d.value = !1)
1400
+ }, null, 8, ["url-list", "initial-index"])) : Ae("", !0)
1401
+ ]);
1402
+ };
1403
+ }
1404
+ };
1405
+ var Is = /* @__PURE__ */ ln(Zr, [["__scopeId", "data-v-2b6ac34b"]]), Ws = {
1406
+ install: (e) => {
1407
+ for (const t in zt) {
1408
+ const n = zt[t];
1409
+ e.component(n.name, n);
1410
+ }
1411
+ }
1412
+ }, Jr = {
1413
+ mounted(e, t, n) {
1414
+ const { value: r } = t, o = "*:*:*", i = ve().permissions;
1415
+ if (r && r instanceof Array && r.length > 0) {
1416
+ const s = r;
1417
+ i.some((d) => o === d || s.includes(d)) || e.parentNode && e.parentNode.removeChild(e);
1418
+ } else
1419
+ throw new Error("请设置操作权限标签值");
1420
+ }
1421
+ }, Kr = {
1422
+ beforeMount(e, { value: t, arg: n }) {
1423
+ if (n === "callback")
1424
+ e.$copyCallback = t;
1425
+ else {
1426
+ e.$copyValue = t, e.style.cursor = "pointer";
1427
+ const r = () => {
1428
+ eo(e.$copyValue), e.$copyCallback ? e.$copyCallback(e.$copyValue) : Y.msgSuccess("复制成功:" + e.$copyValue);
1429
+ };
1430
+ e.addEventListener("click", r), e.$destroyCopy = () => e.removeEventListener("click", r);
1431
+ }
1432
+ }
1433
+ };
1434
+ function eo(e, { target: t = document.body } = {}) {
1435
+ const n = document.createElement("textarea"), r = document.activeElement;
1436
+ n.value = e, n.setAttribute("readonly", ""), n.style.contain = "strict", n.style.position = "absolute", n.style.left = "-9999px", n.style.fontSize = "12pt";
1437
+ const o = document.getSelection(), i = o.rangeCount > 0 && o.getRangeAt(0);
1438
+ t.append(n), n.select(), n.selectionStart = 0, n.selectionEnd = e.length;
1439
+ let s = !1;
1440
+ try {
1441
+ s = document.execCommand("copy");
1442
+ } catch {
1443
+ }
1444
+ return n.remove(), i && (o.removeAllRanges(), o.addRange(i)), r && r.focus(), s;
1445
+ }
1446
+ function Ls(e) {
1447
+ e.directive("hasPermi", Jr), e.directive("copyText", Kr);
1448
+ }
1449
+ var Xe = { exports: {} };
1450
+ var to = Xe.exports, Wt;
1451
+ function no() {
1452
+ return Wt || (Wt = 1, (function(e, t) {
1453
+ (function(n, r) {
1454
+ e.exports = r();
1455
+ })(to, function() {
1456
+ var n = {};
1457
+ n.version = "0.2.0";
1458
+ var r = n.settings = {
1459
+ minimum: 0.08,
1460
+ easing: "ease",
1461
+ positionUsing: "",
1462
+ speed: 200,
1463
+ trickle: !0,
1464
+ trickleRate: 0.02,
1465
+ trickleSpeed: 800,
1466
+ showSpinner: !0,
1467
+ barSelector: '[role="bar"]',
1468
+ spinnerSelector: '[role="spinner"]',
1469
+ parent: "body",
1470
+ template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
1471
+ };
1472
+ n.configure = function(u) {
1473
+ var g, _;
1474
+ for (g in u)
1475
+ _ = u[g], _ !== void 0 && u.hasOwnProperty(g) && (r[g] = _);
1476
+ return this;
1477
+ }, n.status = null, n.set = function(u) {
1478
+ var g = n.isStarted();
1479
+ u = o(u, r.minimum, 1), n.status = u === 1 ? null : u;
1480
+ var _ = n.render(!g), O = _.querySelector(r.barSelector), P = r.speed, j = r.easing;
1481
+ return _.offsetWidth, l(function(S) {
1482
+ r.positionUsing === "" && (r.positionUsing = n.getPositioningCSS()), d(O, s(u, P, j)), u === 1 ? (d(_, {
1483
+ transition: "none",
1484
+ opacity: 1
1485
+ }), _.offsetWidth, setTimeout(function() {
1486
+ d(_, {
1487
+ transition: "all " + P + "ms linear",
1488
+ opacity: 0
1489
+ }), setTimeout(function() {
1490
+ n.remove(), S();
1491
+ }, P);
1492
+ }, P)) : setTimeout(S, P);
1493
+ }), this;
1494
+ }, n.isStarted = function() {
1495
+ return typeof n.status == "number";
1496
+ }, n.start = function() {
1497
+ n.status || n.set(0);
1498
+ var u = function() {
1499
+ setTimeout(function() {
1500
+ n.status && (n.trickle(), u());
1501
+ }, r.trickleSpeed);
1502
+ };
1503
+ return r.trickle && u(), this;
1504
+ }, n.done = function(u) {
1505
+ return !u && !n.status ? this : n.inc(0.3 + 0.5 * Math.random()).set(1);
1506
+ }, n.inc = function(u) {
1507
+ var g = n.status;
1508
+ return g ? (typeof u != "number" && (u = (1 - g) * o(Math.random() * g, 0.1, 0.95)), g = o(g + u, 0, 0.994), n.set(g)) : n.start();
1509
+ }, n.trickle = function() {
1510
+ return n.inc(Math.random() * r.trickleRate);
1511
+ }, (function() {
1512
+ var u = 0, g = 0;
1513
+ n.promise = function(_) {
1514
+ return !_ || _.state() === "resolved" ? this : (g === 0 && n.start(), u++, g++, _.always(function() {
1515
+ g--, g === 0 ? (u = 0, n.done()) : n.set((u - g) / u);
1516
+ }), this);
1517
+ };
1518
+ })(), n.render = function(u) {
1519
+ if (n.isRendered()) return document.getElementById("nprogress");
1520
+ h(document.documentElement, "nprogress-busy");
1521
+ var g = document.createElement("div");
1522
+ g.id = "nprogress", g.innerHTML = r.template;
1523
+ var _ = g.querySelector(r.barSelector), O = u ? "-100" : i(n.status || 0), P = document.querySelector(r.parent), j;
1524
+ return d(_, {
1525
+ transition: "all 0 linear",
1526
+ transform: "translate3d(" + O + "%,0,0)"
1527
+ }), r.showSpinner || (j = g.querySelector(r.spinnerSelector), j && T(j)), P != document.body && h(P, "nprogress-custom-parent"), P.appendChild(g), g;
1528
+ }, n.remove = function() {
1529
+ c(document.documentElement, "nprogress-busy"), c(document.querySelector(r.parent), "nprogress-custom-parent");
1530
+ var u = document.getElementById("nprogress");
1531
+ u && T(u);
1532
+ }, n.isRendered = function() {
1533
+ return !!document.getElementById("nprogress");
1534
+ }, n.getPositioningCSS = function() {
1535
+ var u = document.body.style, g = "WebkitTransform" in u ? "Webkit" : "MozTransform" in u ? "Moz" : "msTransform" in u ? "ms" : "OTransform" in u ? "O" : "";
1536
+ return g + "Perspective" in u ? "translate3d" : g + "Transform" in u ? "translate" : "margin";
1537
+ };
1538
+ function o(u, g, _) {
1539
+ return u < g ? g : u > _ ? _ : u;
1540
+ }
1541
+ function i(u) {
1542
+ return (-1 + u) * 100;
1543
+ }
1544
+ function s(u, g, _) {
1545
+ var O;
1546
+ return r.positionUsing === "translate3d" ? O = { transform: "translate3d(" + i(u) + "%,0,0)" } : r.positionUsing === "translate" ? O = { transform: "translate(" + i(u) + "%,0)" } : O = { "margin-left": i(u) + "%" }, O.transition = "all " + g + "ms " + _, O;
1547
+ }
1548
+ var l = /* @__PURE__ */ (function() {
1549
+ var u = [];
1550
+ function g() {
1551
+ var _ = u.shift();
1552
+ _ && _(g);
1553
+ }
1554
+ return function(_) {
1555
+ u.push(_), u.length == 1 && g();
1556
+ };
1557
+ })(), d = /* @__PURE__ */ (function() {
1558
+ var u = ["Webkit", "O", "Moz", "ms"], g = {};
1559
+ function _(S) {
1560
+ return S.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(m, v) {
1561
+ return v.toUpperCase();
1562
+ });
1563
+ }
1564
+ function O(S) {
1565
+ var m = document.body.style;
1566
+ if (S in m) return S;
1567
+ for (var v = u.length, k = S.charAt(0).toUpperCase() + S.slice(1), I; v--; )
1568
+ if (I = u[v] + k, I in m) return I;
1569
+ return S;
1570
+ }
1571
+ function P(S) {
1572
+ return S = _(S), g[S] || (g[S] = O(S));
1573
+ }
1574
+ function j(S, m, v) {
1575
+ m = P(m), S.style[m] = v;
1576
+ }
1577
+ return function(S, m) {
1578
+ var v = arguments, k, I;
1579
+ if (v.length == 2)
1580
+ for (k in m)
1581
+ I = m[k], I !== void 0 && m.hasOwnProperty(k) && j(S, k, I);
1582
+ else
1583
+ j(S, v[1], v[2]);
1584
+ };
1585
+ })();
1586
+ function f(u, g) {
1587
+ var _ = typeof u == "string" ? u : E(u);
1588
+ return _.indexOf(" " + g + " ") >= 0;
1589
+ }
1590
+ function h(u, g) {
1591
+ var _ = E(u), O = _ + g;
1592
+ f(_, g) || (u.className = O.substring(1));
1593
+ }
1594
+ function c(u, g) {
1595
+ var _ = E(u), O;
1596
+ f(u, g) && (O = _.replace(" " + g + " ", " "), u.className = O.substring(1, O.length - 1));
1597
+ }
1598
+ function E(u) {
1599
+ return (" " + (u.className || "") + " ").replace(/\s+/gi, " ");
1600
+ }
1601
+ function T(u) {
1602
+ u && u.parentNode && u.parentNode.removeChild(u);
1603
+ }
1604
+ return n;
1605
+ });
1606
+ })(Xe)), Xe.exports;
1607
+ }
1608
+ var ro = no(), Oe = /* @__PURE__ */ un(ro);
1609
+ Oe.configure({ showSpinner: !1 });
1610
+ const oo = ["/login", "/register", "/test"], Lt = (e) => oo.some((t) => qt(t, e)), As = {
1611
+ install(e, t) {
1612
+ const n = {
1613
+ // 必填项 - 需要用户传入
1614
+ router: null,
1615
+ store: null,
1616
+ // 可选项 - 有默认值
1617
+ whiteList: ["/login"],
1618
+ loginPath: "/login",
1619
+ // 合并用户配置
1620
+ ...t
1621
+ };
1622
+ if (console.log("%c routerrouter", " color:violet;font-size:20px", t, n), !n.router) {
1623
+ console.error("Permission插件错误: router是必需的");
1624
+ return;
1625
+ }
1626
+ const { router: r, loginPath: o } = n;
1627
+ r.beforeEach((i, s, l) => {
1628
+ Oe.start(), Mt() ? (i.meta.title && fn().setTitle(i.meta.title), i.path === o ? (l({ path: "/" }), Oe.done()) : Lt(i.path) ? l() : ve().roles.length === 0 ? (bt.show = !0, ve().getInfo().then(() => {
1629
+ bt.show = !1, ve().getRights(), en().generateRoutes().then((d) => {
1630
+ d.forEach((f) => {
1631
+ if (!Nt(f.path))
1632
+ try {
1633
+ r.addRoute(f);
1634
+ } catch (h) {
1635
+ console.error(h);
1636
+ }
1637
+ }), l({ ...i, replace: !0 });
1638
+ });
1639
+ }).catch((d) => {
1640
+ ve().logOut().then(() => {
1641
+ wr.error(d), l({ path: "/" });
1642
+ });
1643
+ })) : l()) : Lt(i.path) ? l() : (l(`/login?redirect=${i.fullPath}`), Oe.done());
1644
+ }), r.afterEach(() => {
1645
+ Oe.done();
1646
+ });
1647
+ }
1648
+ }, io = (e) => a({
1649
+ url: "/sys/syscfgtype/getpagination",
1650
+ method: "get",
1651
+ params: e
1652
+ });
1653
+ var ao = /* @__PURE__ */ Object.freeze({
1654
+ __proto__: null,
1655
+ getSyscfgTypePagination: io
1656
+ });
1657
+ const so = (e) => a({
1658
+ url: "/wf/wfgrade/edit",
1659
+ method: "put",
1660
+ data: e
1661
+ }), lo = () => a({
1662
+ url: "/wf/wfgrade/refresh",
1663
+ method: "post"
1664
+ }), uo = (e) => a({
1665
+ url: "/wf/wfgrade/add",
1666
+ method: "post",
1667
+ data: e
1668
+ }), fo = (e) => a({
1669
+ url: "/wf/wfgrade/getpagination",
1670
+ method: "get",
1671
+ params: e
1672
+ }), co = (e) => a({
1673
+ url: `/wf/wfgrade/getbyid/${e}`,
1674
+ method: "get"
1675
+ }), go = (e) => a({
1676
+ url: "/wf/wfgrade/delete",
1677
+ method: "delete",
1678
+ data: e
1679
+ });
1680
+ var po = /* @__PURE__ */ Object.freeze({
1681
+ __proto__: null,
1682
+ addGradee: uo,
1683
+ deleteGradee: go,
1684
+ editGrade: so,
1685
+ getGradeById: co,
1686
+ getGradePagination: fo,
1687
+ refreshGrade: lo
1688
+ });
1689
+ const ho = (e) => a({
1690
+ url: "/biz/gridtypedept/getpagination",
1691
+ method: "get",
1692
+ params: e
1693
+ });
1694
+ function mo(e) {
1695
+ return a({
1696
+ url: "/biz/gridtypedept/add",
1697
+ method: "post",
1698
+ data: e
1699
+ });
1700
+ }
1701
+ function _o(e) {
1702
+ return a({
1703
+ url: "/biz/gridtypedept/edit",
1704
+ method: "put",
1705
+ data: e
1706
+ });
1707
+ }
1708
+ function vo(e) {
1709
+ return a({
1710
+ url: `/biz/gridtypedept/getbyid/${e}`,
1711
+ method: "get"
1712
+ });
1713
+ }
1714
+ const yo = (e) => a({
1715
+ url: "/biz/gridtypedept/delete",
1716
+ method: "delete",
1717
+ data: e
1718
+ });
1719
+ var bo = /* @__PURE__ */ Object.freeze({
1720
+ __proto__: null,
1721
+ addGridtypedept: mo,
1722
+ deleteGridtypedept: yo,
1723
+ getGridtypedept: vo,
1724
+ getGridtypedeptdeptPagination: ho,
1725
+ updateGridtypedept: _o
1726
+ });
1727
+ const wo = (e) => a({
1728
+ url: "/biz/gridgrid/getpagination",
1729
+ method: "get",
1730
+ params: e
1731
+ });
1732
+ function Eo(e) {
1733
+ return a({
1734
+ url: "/biz/gridgrid/add",
1735
+ method: "post",
1736
+ data: e
1737
+ });
1738
+ }
1739
+ function To(e) {
1740
+ return a({
1741
+ url: "/biz/gridgrid/edit",
1742
+ method: "put",
1743
+ data: e
1744
+ });
1745
+ }
1746
+ function So(e, t) {
1747
+ return a({
1748
+ url: `/biz/gridgrid/getbyid/${e}`,
1749
+ method: "get",
1750
+ params: t
1751
+ });
1752
+ }
1753
+ const zo = (e) => a({
1754
+ url: "/biz/gridgrid/delete",
1755
+ method: "delete",
1756
+ data: e
1757
+ }), Do = (e, t) => a({
1758
+ url: `/biz/gridgrid/getbyid/${e}`,
1759
+ method: "get",
1760
+ params: t
1761
+ }), Oo = (e) => a({
1762
+ url: "/biz/gridgrid/gettypeareadeptpagination",
1763
+ method: "get",
1764
+ params: e
1765
+ });
1766
+ var Po = /* @__PURE__ */ Object.freeze({
1767
+ __proto__: null,
1768
+ addGrid: Eo,
1769
+ deleteGrid: zo,
1770
+ getGrid: So,
1771
+ getGridgridbyid: Do,
1772
+ getGridgridpagination: wo,
1773
+ getGridgridtypeareadeptpagination: Oo,
1774
+ updateGrid: To
1775
+ });
1776
+ const ko = (e) => a({
1777
+ url: "/biz/gridtype/getpagination",
1778
+ method: "get",
1779
+ params: e
1780
+ });
1781
+ function Co(e) {
1782
+ return a({
1783
+ url: "/biz/gridtype/add",
1784
+ method: "post",
1785
+ data: e
1786
+ });
1787
+ }
1788
+ function xo(e) {
1789
+ return a({
1790
+ url: "/biz/gridtype/edit",
1791
+ method: "put",
1792
+ data: e
1793
+ });
1794
+ }
1795
+ function jo(e) {
1796
+ return a({
1797
+ url: `/biz/gridtype/getbyid/${e}`,
1798
+ method: "get"
1799
+ });
1800
+ }
1801
+ const Io = (e) => a({
1802
+ url: "/biz/gridtype/delete",
1803
+ method: "delete",
1804
+ data: e
1805
+ });
1806
+ var Wo = /* @__PURE__ */ Object.freeze({
1807
+ __proto__: null,
1808
+ addGridtype: Co,
1809
+ deleteGridtype: Io,
1810
+ getGridtype: jo,
1811
+ getGridtypePagination: ko,
1812
+ updateGridtype: xo
1813
+ });
1814
+ const Lo = (e) => a({
1815
+ url: "/log/loglogin/getpagination",
1816
+ method: "get",
1817
+ params: e
1818
+ }), Ao = (e) => a({
1819
+ url: `/log/loglogin/getbyid//${e}`,
1820
+ method: "get"
1821
+ });
1822
+ var Mo = /* @__PURE__ */ Object.freeze({
1823
+ __proto__: null,
1824
+ getByIdLogLogin: Ao,
1825
+ getLogLoginPagination: Lo
1826
+ });
1827
+ const No = (e) => a({
1828
+ url: "/log/logmqysmsg/getpagination",
1829
+ method: "get",
1830
+ params: e
1831
+ });
1832
+ var qo = /* @__PURE__ */ Object.freeze({
1833
+ __proto__: null,
1834
+ getLogMQysmsgPagination: No
1835
+ });
1836
+ const Go = (e) => a({
1837
+ url: "/log/logmsg/getpagination",
1838
+ method: "get",
1839
+ params: e
1840
+ }), Bo = (e) => a({
1841
+ url: `/log/logmsg/getbyid//${e}`,
1842
+ method: "get"
1843
+ });
1844
+ var Ro = /* @__PURE__ */ Object.freeze({
1845
+ __proto__: null,
1846
+ getByIdLogMsg: Bo,
1847
+ getLogMsgPagination: Go
1848
+ });
1849
+ const Fo = (e) => a({
1850
+ url: "/log/logquartz/getpagination",
1851
+ method: "get",
1852
+ params: e
1853
+ });
1854
+ var $o = /* @__PURE__ */ Object.freeze({
1855
+ __proto__: null,
1856
+ getLogQuartzPagination: Fo
1857
+ });
1858
+ const Ho = (e) => a({
1859
+ url: "/log/logmqerror/getpagination",
1860
+ method: "get",
1861
+ params: e
1862
+ });
1863
+ var Xo = /* @__PURE__ */ Object.freeze({
1864
+ __proto__: null,
1865
+ getLogMQErrorPagination: Ho
1866
+ });
1867
+ const Yo = (e) => a({
1868
+ url: "/log/logoperate/edit",
1869
+ method: "put",
1870
+ data: e
1871
+ }), Uo = (e) => a({
1872
+ url: "/log/logoperate/add",
1873
+ method: "post",
1874
+ data: e
1875
+ }), Vo = (e) => a({
1876
+ url: "/log/logoperate/getpagination",
1877
+ method: "get",
1878
+ params: e
1879
+ }), Qo = (e) => a({
1880
+ url: `/log/logoperate/getbyid//${e}`,
1881
+ method: "get"
1882
+ }), Zo = (e) => a({
1883
+ url: "/log/logoperate/delete",
1884
+ method: "delete",
1885
+ data: e
1886
+ });
1887
+ var Jo = /* @__PURE__ */ Object.freeze({
1888
+ __proto__: null,
1889
+ addLogOperate: Uo,
1890
+ delLogOperate: Zo,
1891
+ editLogOperate: Yo,
1892
+ getByIdLogoperate: Qo,
1893
+ getLogOperatePagination: Vo
1894
+ });
1895
+ const Ko = (e) => a({
1896
+ url: "/wf/wfoprtype/edit",
1897
+ method: "put",
1898
+ data: e
1899
+ }), ei = () => a({
1900
+ url: "/wf/wfoprtype/refresh",
1901
+ method: "post"
1902
+ }), ti = (e) => a({
1903
+ url: "/wf/wfoprtype/add",
1904
+ method: "post",
1905
+ data: e
1906
+ }), ni = (e) => a({
1907
+ url: "/wf/wfoprtype/getpagination",
1908
+ method: "get",
1909
+ params: e
1910
+ }), ri = (e) => a({
1911
+ url: `/wf/wfoprtype/getbyid/${e}`,
1912
+ method: "get"
1913
+ }), oi = (e) => a({
1914
+ url: "/wf/wfoprtype/delete",
1915
+ method: "delete",
1916
+ data: e
1917
+ });
1918
+ var ii = /* @__PURE__ */ Object.freeze({
1919
+ __proto__: null,
1920
+ addOprtypee: ti,
1921
+ deleteOprtypee: oi,
1922
+ editOprtype: Ko,
1923
+ getOprtypeById: ri,
1924
+ getOprtypePagination: ni,
1925
+ refreshOprtype: ei
1926
+ });
1927
+ const ai = (e) => a({
1928
+ url: "/wf/wfsource/edit",
1929
+ method: "put",
1930
+ data: e
1931
+ }), si = () => a({
1932
+ url: "/wf/wfsource/refresh",
1933
+ method: "post"
1934
+ }), li = (e) => a({
1935
+ url: "/wf/wfsource/add",
1936
+ method: "post",
1937
+ data: e
1938
+ }), di = (e) => a({
1939
+ url: "/wf/wfsource/getpagination",
1940
+ method: "get",
1941
+ params: e
1942
+ }), ui = (e) => a({
1943
+ url: `/wf/wfsource/getbyid/${e}`,
1944
+ method: "get"
1945
+ }), fi = (e) => a({
1946
+ url: "/wf/wfsource/delete",
1947
+ method: "delete",
1948
+ data: e
1949
+ });
1950
+ var ci = /* @__PURE__ */ Object.freeze({
1951
+ __proto__: null,
1952
+ addSource: li,
1953
+ deleteSource: fi,
1954
+ editSource: ai,
1955
+ getSourceById: ui,
1956
+ getSourcePagination: di,
1957
+ refreshSource: si
1958
+ });
1959
+ const gi = (e) => a({
1960
+ url: "/sys/sysholidays/edit",
1961
+ method: "put",
1962
+ data: e
1963
+ }), pi = (e) => a({
1964
+ url: "/sys/sysholidays/add",
1965
+ method: "post",
1966
+ data: e
1967
+ }), hi = (e) => a({
1968
+ url: "/sys/sysholidays/getpagination",
1969
+ method: "get",
1970
+ params: e
1971
+ }), mi = (e) => a({
1972
+ url: `/sys/sysholidays/getbyid/${e}`,
1973
+ method: "get"
1974
+ }), _i = (e) => a({
1975
+ url: "/sys/sysholidays/delete",
1976
+ method: "delete",
1977
+ data: e
1978
+ });
1979
+ var vi = /* @__PURE__ */ Object.freeze({
1980
+ __proto__: null,
1981
+ addHolidays: pi,
1982
+ delHolidays: _i,
1983
+ editHolidays: gi,
1984
+ getHolidaysPagination: hi,
1985
+ getHolidaysbyid: mi
1986
+ });
1987
+ const yi = (e) => a({
1988
+ url: "/biz/taskmatter/edit",
1989
+ method: "put",
1990
+ data: e
1991
+ }), bi = (e) => a({
1992
+ url: "/biz/taskmatter/add",
1993
+ method: "post",
1994
+ data: e
1995
+ }), wi = (e) => a({
1996
+ url: "/biz/taskmatter/getpagination",
1997
+ method: "get",
1998
+ params: e
1999
+ }), Ei = (e) => a({
2000
+ url: `/biz/taskmatter/getbyid/${e}`,
2001
+ method: "get"
2002
+ }), Ti = (e) => a({
2003
+ url: "/biz/taskmatter/delete",
2004
+ method: "delete",
2005
+ data: e
2006
+ });
2007
+ var Si = /* @__PURE__ */ Object.freeze({
2008
+ __proto__: null,
2009
+ addTaskMatter: bi,
2010
+ delTaskMatter: Ti,
2011
+ editMenuTaskMatter: yi,
2012
+ getTaskMatterPagination: wi,
2013
+ getTaskMatterbyid: Ei
2014
+ });
2015
+ const zi = (e) => a({
2016
+ url: "/biz/tasknode/edit",
2017
+ method: "put",
2018
+ data: e
2019
+ }), Di = (e) => a({
2020
+ url: "/biz/tasknode/add",
2021
+ method: "post",
2022
+ data: e
2023
+ }), Oi = (e) => a({
2024
+ url: "/biz/tasknode/getpagination",
2025
+ method: "get",
2026
+ params: e
2027
+ }), Pi = (e) => a({
2028
+ url: "/biz/tasknode/getmytasknodepagination",
2029
+ method: "get",
2030
+ params: e
2031
+ }), ki = (e) => a({
2032
+ url: "/biz/tasknode/getgxfwblqktasknodepagination",
2033
+ method: "get",
2034
+ params: e
2035
+ }), Ci = (e) => a({
2036
+ url: `/biz/tasknode/getbyid/${e.nodeid}`,
2037
+ method: "get",
2038
+ params: {
2039
+ tosrid: e.tosrid
2040
+ }
2041
+ }), xi = (e) => a({
2042
+ url: "/biz/tasknode/deletestate",
2043
+ method: "delete",
2044
+ data: e
2045
+ }), ji = (e) => a({
2046
+ url: "/biz/tasknode/delete",
2047
+ method: "delete",
2048
+ data: e
2049
+ });
2050
+ var Ii = /* @__PURE__ */ Object.freeze({
2051
+ __proto__: null,
2052
+ addTasknode: Di,
2053
+ deleteTasknode: ji,
2054
+ deletestateTasknode: xi,
2055
+ editTasknode: zi,
2056
+ getMyTasknodePagination: Pi,
2057
+ getMygxfwblqkTasknodePagination: ki,
2058
+ getTasknodeById: Ci,
2059
+ getTasknodePagination: Oi
2060
+ });
2061
+ const Wi = (e) => a({
2062
+ url: "/biz/tasknode/getgxfwblqktasknodepagination",
2063
+ method: "get",
2064
+ params: e
2065
+ }), Li = (e) => a({
2066
+ url: "/biz/tasknodelog/delete",
2067
+ method: "delete",
2068
+ data
2069
+ }), Ai = (e) => a({
2070
+ url: "/biz/tasknodelog/getpagination",
2071
+ method: "get",
2072
+ params: e
2073
+ }), Mi = (e) => a({
2074
+ url: `/biz/tasknodelog/getbyid/${e.nodelogid}`,
2075
+ method: "get",
2076
+ params: {
2077
+ tosrid: e.tosrid
2078
+ }
2079
+ });
2080
+ var Ni = /* @__PURE__ */ Object.freeze({
2081
+ __proto__: null,
2082
+ deleteTasknodeLog: Li,
2083
+ getTasknodeLogById: Mi,
2084
+ getTasknodeLogPagination: Ai,
2085
+ getgxfwblqkTasknodeLogPagination: Wi
2086
+ });
2087
+ const qi = (e) => a({
2088
+ url: "/biz/tasktype/edit",
2089
+ method: "put",
2090
+ data: e
2091
+ }), Gi = (e) => a({
2092
+ url: "/biz/tasktype/add",
2093
+ method: "post",
2094
+ data: e
2095
+ }), Bi = (e) => a({
2096
+ url: "/biz/tasktype/getpagination",
2097
+ method: "get",
2098
+ params: e
2099
+ }), Ri = (e) => a({
2100
+ url: `/biz/tasktype/getbyid/${e}`,
2101
+ method: "get"
2102
+ }), Fi = (e) => a({
2103
+ url: "/biz/tasktype/delete",
2104
+ method: "delete",
2105
+ data: e
2106
+ });
2107
+ var $i = /* @__PURE__ */ Object.freeze({
2108
+ __proto__: null,
2109
+ addTaskType: Gi,
2110
+ delTaskType: Fi,
2111
+ editTaskType: qi,
2112
+ getTaskTypePagination: Bi,
2113
+ getTaskTypebyid: Ri
2114
+ });
2115
+ const Hi = () => a({
2116
+ url: "/sys/sysright/getloginrightnolist",
2117
+ method: "get"
2118
+ });
2119
+ var Xi = /* @__PURE__ */ Object.freeze({
2120
+ __proto__: null,
2121
+ getCsrc: Hi
2122
+ });
2123
+ const Yi = (e) => a({
2124
+ url: "/biz/tzggtzgg/getpagination",
2125
+ method: "get",
2126
+ params: e
2127
+ });
2128
+ function Ui(e) {
2129
+ return a({
2130
+ url: "/biz/tzggtzgg/add",
2131
+ method: "post",
2132
+ data: e
2133
+ });
2134
+ }
2135
+ function Vi(e) {
2136
+ return a({
2137
+ url: "/biz/tzggtzgg/edit",
2138
+ method: "put",
2139
+ data: e
2140
+ });
2141
+ }
2142
+ function Qi(e) {
2143
+ return a({
2144
+ url: "/biz/tzggtzgg/deletestate",
2145
+ method: "put",
2146
+ data: e
2147
+ });
2148
+ }
2149
+ function Zi(e) {
2150
+ return a({
2151
+ url: "/biz/tzggtzgg/publish",
2152
+ method: "put",
2153
+ data: e
2154
+ });
2155
+ }
2156
+ function Ji(e) {
2157
+ return a({
2158
+ url: "/biz/tzggtzgg/unpublish",
2159
+ method: "put",
2160
+ data: e
2161
+ });
2162
+ }
2163
+ function Ki(e) {
2164
+ return a({
2165
+ url: `/biz/tzggtzgg/getbyid/${e}`,
2166
+ method: "get"
2167
+ });
2168
+ }
2169
+ const ea = (e) => a({
2170
+ url: "/biz/tzggtzgg/delete",
2171
+ method: "delete",
2172
+ data: e
2173
+ });
2174
+ var ta = /* @__PURE__ */ Object.freeze({
2175
+ __proto__: null,
2176
+ addTzggtzgg: Ui,
2177
+ deleteTzggtzgg: ea,
2178
+ deletestateTzggtzgg: Qi,
2179
+ getTzggtzgg: Ki,
2180
+ listTzggtzgg: Yi,
2181
+ publishTzggtzgg: Zi,
2182
+ unpublishTzggtzgg: Ji,
2183
+ updateTzggtzgg: Vi
2184
+ });
2185
+ const na = (e) => a({
2186
+ url: "/biz/tzggtype/getpagination",
2187
+ method: "get",
2188
+ params: e
2189
+ });
2190
+ function ra(e) {
2191
+ return a({
2192
+ url: "/biz/tzggtype/add",
2193
+ method: "post",
2194
+ data: e
2195
+ });
2196
+ }
2197
+ function oa(e) {
2198
+ return a({
2199
+ url: "/biz/tzggtype/edit",
2200
+ method: "put",
2201
+ data: e
2202
+ });
2203
+ }
2204
+ function ia(e) {
2205
+ return a({
2206
+ url: `/biz/tzggtype/getbyid/${e}`,
2207
+ method: "get"
2208
+ });
2209
+ }
2210
+ const aa = (e) => a({
2211
+ url: "/biz/tzggtype/delete",
2212
+ method: "delete",
2213
+ data: e
2214
+ });
2215
+ var sa = /* @__PURE__ */ Object.freeze({
2216
+ __proto__: null,
2217
+ addTzggtype: ra,
2218
+ deleteTzggtype: aa,
2219
+ getTzggtype: ia,
2220
+ listTzggtype: na,
2221
+ updateTzggtype: oa
2222
+ });
2223
+ const la = (e) => a({
2224
+ url: "/wf/wfevent/add",
2225
+ method: "post",
2226
+ data: e
2227
+ }), da = (e) => a({
2228
+ url: `/wf/wfevent/getbyid/${e}`,
2229
+ method: "get"
2230
+ }), ua = (e) => a({
2231
+ url: "/wf/wfevent/newstart",
2232
+ method: "POST",
2233
+ data: e
2234
+ });
2235
+ var fa = /* @__PURE__ */ Object.freeze({
2236
+ __proto__: null,
2237
+ addEvent: la,
2238
+ getEventByid: da,
2239
+ newStart: ua
2240
+ });
2241
+ const ca = (e) => a({
2242
+ url: "/wf/wfclass/edit",
2243
+ method: "put",
2244
+ data: e
2245
+ }), ga = (e) => a({
2246
+ url: "/wf/wfclass/add",
2247
+ method: "post",
2248
+ data: e
2249
+ }), pa = (e) => a({
2250
+ url: "/wf/wfclass/getpagination",
2251
+ method: "get",
2252
+ params: e
2253
+ }), ha = (e) => a({
2254
+ url: `/wf/wfclass/getbyid/${e}`,
2255
+ method: "get"
2256
+ }), ma = (e) => a({
2257
+ url: "/wf/wfclass/delete",
2258
+ method: "delete",
2259
+ data: e
2260
+ }), _a = () => a({
2261
+ url: "/wf/wfclass/refresh",
2262
+ method: "post"
2263
+ });
2264
+ var va = /* @__PURE__ */ Object.freeze({
2265
+ __proto__: null,
2266
+ addWfclasse: ga,
2267
+ deleteWfclasse: ma,
2268
+ editWfclass: ca,
2269
+ getWfclassById: ha,
2270
+ getWfclassPagination: pa,
2271
+ refreshWfclass: _a
2272
+ });
2273
+ function ya(e) {
2274
+ return a({
2275
+ url: "/wf/wfdef/getpagination",
2276
+ method: "get",
2277
+ params: e
2278
+ });
2279
+ }
2280
+ function ba(e) {
2281
+ return a({
2282
+ url: "/wf/wfdef/add",
2283
+ method: "post",
2284
+ data: e
2285
+ });
2286
+ }
2287
+ function wa(e) {
2288
+ return a({
2289
+ url: `/wf/wfdef/getbyid/${e}`,
2290
+ method: "get"
2291
+ });
2292
+ }
2293
+ function Ea() {
2294
+ return a({
2295
+ url: "/wf/wfdef/refresh",
2296
+ method: "post"
2297
+ });
2298
+ }
2299
+ function Ta(e) {
2300
+ return a({
2301
+ url: "/wf/wfdef/edit",
2302
+ method: "put",
2303
+ data: e
2304
+ });
2305
+ }
2306
+ function Sa(e) {
2307
+ return a({
2308
+ url: "/wf/wfdef/delete",
2309
+ method: "delete",
2310
+ data: e
2311
+ });
2312
+ }
2313
+ function za(e) {
2314
+ return a({
2315
+ url: `/wf/wfdef/getviewbyid/${e}`,
2316
+ method: "get"
2317
+ });
2318
+ }
2319
+ var Da = /* @__PURE__ */ Object.freeze({
2320
+ __proto__: null,
2321
+ addWfdef: ba,
2322
+ delWfdef: Sa,
2323
+ getViewWfdef: za,
2324
+ getWfdef: wa,
2325
+ listWfdef: ya,
2326
+ refreshWfdef: Ea,
2327
+ updateWfdef: Ta
2328
+ });
2329
+ const Oa = (e) => a({
2330
+ url: "/wf/wfeventall/getpagination",
2331
+ method: "get",
2332
+ params: e
2333
+ });
2334
+ var Pa = /* @__PURE__ */ Object.freeze({
2335
+ __proto__: null,
2336
+ getWfeventallPagination: Oa
2337
+ });
2338
+ const ka = (e) => a({
2339
+ url: "wf/wfeventdone/getchejianright",
2340
+ method: "get",
2341
+ params: e
2342
+ }), Ca = (e) => a({
2343
+ url: "wf/wfeventdone/getregpagination",
2344
+ method: "get",
2345
+ params: e
2346
+ }), xa = (e) => a({
2347
+ url: "/wf/wfeventdone/setchejian",
2348
+ method: "post",
2349
+ data: e
2350
+ });
2351
+ var ja = /* @__PURE__ */ Object.freeze({
2352
+ __proto__: null,
2353
+ chejian: xa,
2354
+ getEventDonePagination: Ca,
2355
+ getEventchejianright: ka
2356
+ });
2357
+ const Ia = (e) => a({
2358
+ url: "/wf/wfeventlog/getpagination",
2359
+ method: "get",
2360
+ params: e
2361
+ }), Wa = (e) => a({
2362
+ url: `/wf/wfeventlog/getbyid/${e}`,
2363
+ method: "get"
2364
+ });
2365
+ var La = /* @__PURE__ */ Object.freeze({
2366
+ __proto__: null,
2367
+ getEventLogByid: Wa,
2368
+ getEventLogPagination: Ia
2369
+ });
2370
+ function Aa(e) {
2371
+ return a({
2372
+ url: "/wf/wfeventlognext/getpagination",
2373
+ method: "get",
2374
+ params: e
2375
+ });
2376
+ }
2377
+ function Ma(e) {
2378
+ return a({
2379
+ url: `/wf/wfeventlognext/getbyid/${e}`,
2380
+ method: "get",
2381
+ params: e
2382
+ });
2383
+ }
2384
+ var Na = /* @__PURE__ */ Object.freeze({
2385
+ __proto__: null,
2386
+ listLogDetail: Ma,
2387
+ listLognext: Aa
2388
+ });
2389
+ const qa = (e) => a({
2390
+ url: "/wf/wfeventyqsqsp/addbysq",
2391
+ method: "post",
2392
+ data: e
2393
+ }), Ga = (e) => a({
2394
+ url: "/wf/wfeventyqsqsp/getyqsqsppagination",
2395
+ method: "get",
2396
+ params: e
2397
+ }), Ba = (e) => a({
2398
+ url: "/wf/wfeventyqsqsp/editbysp",
2399
+ method: "put",
2400
+ data: e
2401
+ });
2402
+ var Ra = /* @__PURE__ */ Object.freeze({
2403
+ __proto__: null,
2404
+ applysq: qa,
2405
+ editbysp: Ba,
2406
+ getYqsqsp: Ga
2407
+ });
2408
+ function Fa(e) {
2409
+ return a({
2410
+ url: "/wf/wfjixiao/getwfandtaskjixiaobymonth",
2411
+ method: "get",
2412
+ params: e
2413
+ });
2414
+ }
2415
+ var $a = /* @__PURE__ */ Object.freeze({
2416
+ __proto__: null,
2417
+ getperformance: Fa
2418
+ });
2419
+ function Ha(e) {
2420
+ return a({
2421
+ url: "/wf/wfnode/getpagination",
2422
+ method: "get",
2423
+ params: e
2424
+ });
2425
+ }
2426
+ function Xa(e) {
2427
+ return a({
2428
+ url: "/wf/wfnode/add",
2429
+ method: "post",
2430
+ data: e
2431
+ });
2432
+ }
2433
+ function Ya(e) {
2434
+ return a({
2435
+ url: `/wf/wfnode/getbyid/${e}`,
2436
+ method: "get"
2437
+ });
2438
+ }
2439
+ function Ua(e) {
2440
+ return a({
2441
+ url: "/wf/wfnode/edit",
2442
+ method: "put",
2443
+ data: e
2444
+ });
2445
+ }
2446
+ function Va(e) {
2447
+ return a({
2448
+ url: "/wf/wfnode/delete",
2449
+ method: "delete",
2450
+ data: e
2451
+ });
2452
+ }
2453
+ var Qa = /* @__PURE__ */ Object.freeze({
2454
+ __proto__: null,
2455
+ addWfnode: Xa,
2456
+ delWfnode: Va,
2457
+ getWfnode: Ya,
2458
+ listWfnode: Ha,
2459
+ updateWfnode: Ua
2460
+ });
2461
+ function Za(e) {
2462
+ return a({
2463
+ url: "/wf/wfopr/getpagination",
2464
+ method: "get",
2465
+ params: e
2466
+ });
2467
+ }
2468
+ function Ja(e) {
2469
+ return a({
2470
+ url: "/wf/wfopr/add",
2471
+ method: "post",
2472
+ data: e
2473
+ });
2474
+ }
2475
+ function Ka(e) {
2476
+ return a({
2477
+ url: `/wf/wfopr/getbyid/${e}`,
2478
+ method: "get"
2479
+ });
2480
+ }
2481
+ function es(e) {
2482
+ return a({
2483
+ url: "/wf/wfopr/edit",
2484
+ method: "put",
2485
+ data: e
2486
+ });
2487
+ }
2488
+ function ts(e) {
2489
+ return a({
2490
+ url: "/wf/wfopr/delete",
2491
+ method: "delete",
2492
+ data: e
2493
+ });
2494
+ }
2495
+ var ns = /* @__PURE__ */ Object.freeze({
2496
+ __proto__: null,
2497
+ addWfopr: Ja,
2498
+ delWfopr: ts,
2499
+ getWfopr: Ka,
2500
+ listWfopr: Za,
2501
+ updateWfopr: es
2502
+ });
2503
+ function rs(e) {
2504
+ return a({
2505
+ url: "/wf/wfoprauth/getpagination",
2506
+ method: "get",
2507
+ params: e
2508
+ });
2509
+ }
2510
+ function os(e) {
2511
+ return a({
2512
+ url: "/wf/wfoprauth/add",
2513
+ method: "post",
2514
+ data: e
2515
+ });
2516
+ }
2517
+ function is(e) {
2518
+ return a({
2519
+ url: `/wf/wfoprauth/getbyid/${e}`,
2520
+ method: "get"
2521
+ });
2522
+ }
2523
+ function as(e) {
2524
+ return a({
2525
+ url: "/wf/wfoprauth/edit",
2526
+ method: "put",
2527
+ data: e
2528
+ });
2529
+ }
2530
+ function ss(e) {
2531
+ return a({
2532
+ url: "/wf/wfoprauth/delete",
2533
+ method: "delete",
2534
+ data: e
2535
+ });
2536
+ }
2537
+ var ls = /* @__PURE__ */ Object.freeze({
2538
+ __proto__: null,
2539
+ addWfoprauth: os,
2540
+ delWfoprauth: ss,
2541
+ getWfoprauth: is,
2542
+ listWfoprauth: rs,
2543
+ updateWfoprauth: as
2544
+ });
2545
+ function ds(e) {
2546
+ return a({
2547
+ url: "/wf/wfoprcfg/getpagination",
2548
+ method: "get",
2549
+ params: e
2550
+ });
2551
+ }
2552
+ function us(e) {
2553
+ return a({
2554
+ url: "/wf/wfoprcfg/add",
2555
+ method: "post",
2556
+ data: e
2557
+ });
2558
+ }
2559
+ function fs(e) {
2560
+ return a({
2561
+ url: `/wf/wfoprcfg/getbyid/${e}`,
2562
+ method: "get"
2563
+ });
2564
+ }
2565
+ function cs(e) {
2566
+ return a({
2567
+ url: "/wf/wfoprcfg/edit",
2568
+ method: "put",
2569
+ data: e
2570
+ });
2571
+ }
2572
+ function gs(e) {
2573
+ return a({
2574
+ url: "/wf/wfoprcfg/delete",
2575
+ method: "delete",
2576
+ data: e
2577
+ });
2578
+ }
2579
+ var ps = /* @__PURE__ */ Object.freeze({
2580
+ __proto__: null,
2581
+ addWfoprcfg: us,
2582
+ delWfoprcfg: gs,
2583
+ getWfoprcfg: fs,
2584
+ listWfoprcfg: ds,
2585
+ updateWfoprcfg: cs
2586
+ });
2587
+ const hs = (e) => a({
2588
+ url: "/wf/wfyqsqcfg/getpagination",
2589
+ method: "get",
2590
+ params: e
2591
+ }), ms = (e) => a({
2592
+ url: "/wf/wfyqsqcfg/add",
2593
+ method: "post",
2594
+ data: e
2595
+ }), _s = (e) => a({
2596
+ url: "/wf/wfyqsqcfg/edit",
2597
+ method: "put",
2598
+ data: e
2599
+ }), vs = (e) => a({
2600
+ url: "/wf/wfyqsqcfg/delete",
2601
+ method: "delete",
2602
+ data: e
2603
+ });
2604
+ function ys(e) {
2605
+ return a({
2606
+ url: `/wf/wfyqsqcfg/getbyid/${e}`,
2607
+ method: "get"
2608
+ });
2609
+ }
2610
+ var bs = /* @__PURE__ */ Object.freeze({
2611
+ __proto__: null,
2612
+ addWfyqsqcfg: ms,
2613
+ deleteWfyqsqcfg: vs,
2614
+ editWfyqsqcfg: _s,
2615
+ getWfyqsqcfg: ys,
2616
+ getWfyqsqcfgPagination: hs
2617
+ });
2618
+ const ws = (e) => a({
2619
+ url: "/wf/wfzdy/edit",
2620
+ method: "put",
2621
+ data: e
2622
+ }), Es = (e) => a({
2623
+ url: "/wf/wfzdy/add",
2624
+ method: "post",
2625
+ data: e
2626
+ }), Ts = (e) => a({
2627
+ url: "/wf/wfzdy/getpagination",
2628
+ method: "get",
2629
+ params: e
2630
+ }), Ss = (e) => a({
2631
+ url: `/wf/wfzdy/getbyid/${e}`,
2632
+ method: "get"
2633
+ }), zs = (e) => a({
2634
+ url: "/wf/wfzdy/delete",
2635
+ method: "delete",
2636
+ data: e
2637
+ });
2638
+ var Ds = /* @__PURE__ */ Object.freeze({
2639
+ __proto__: null,
2640
+ addWfzdye: Es,
2641
+ deleteWfzdye: zs,
2642
+ editWfzdy: ws,
2643
+ getWfzdyById: Ss,
2644
+ getWfzdyPagination: Ts
2645
+ });
2646
+ const At = /* @__PURE__ */ Object.assign({ "/src/api/Cfg.js": Pn, "/src/api/Dept.js": On, "/src/api/Depttype.js": Dn, "/src/api/apps.js": zn, "/src/api/areadept.js": Sn, "/src/api/cfgtype.js": ao, "/src/api/deptgxfw.js": Tn, "/src/api/dict.js": En, "/src/api/grade.js": po, "/src/api/griddept.js": bo, "/src/api/gridgrid.js": Po, "/src/api/gridtype.js": Wo, "/src/api/home.js": wn, "/src/api/logLogin.js": Mo, "/src/api/logMqysmsg.js": qo, "/src/api/logMsg.js": Ro, "/src/api/logQuartz.js": $o, "/src/api/login.js": bn, "/src/api/logmqerror.js": Xo, "/src/api/logoperate.js": Jo, "/src/api/menu.js": yn, "/src/api/oprtype.js": ii, "/src/api/regions.js": vn, "/src/api/regionstype.js": _n, "/src/api/right.js": mn, "/src/api/role.js": hn, "/src/api/source.js": ci, "/src/api/sysholidays.js": vi, "/src/api/taskfx.js": pn, "/src/api/taskmatter.js": Si, "/src/api/tasknode.js": Ii, "/src/api/tasknodelog.js": Ni, "/src/api/tasktype.js": $i, "/src/api/test.js": Xi, "/src/api/tzgg.js": ta, "/src/api/tzggtype.js": sa, "/src/api/user.js": gn, "/src/api/wfEventAdd.js": fa, "/src/api/wfclass.js": va, "/src/api/wfdef.js": Da, "/src/api/wfeventall.js": Pa, "/src/api/wfeventdone.js": ja, "/src/api/wfeventlog.js": La, "/src/api/wfeventlognext.js": Na, "/src/api/wfeventtask.js": cn, "/src/api/wfeventyqsqsp.js": Ra, "/src/api/wfjixiao.js": $a, "/src/api/wfnode.js": Qa, "/src/api/wfopr.js": ns, "/src/api/wfoprauth.js": ls, "/src/api/wfoprcfg.js": ps, "/src/api/wfyqsqcfg.js": bs, "/src/api/wfzdy.js": Ds }), pe = {};
2647
+ Object.keys(At).forEach((e) => {
2648
+ if (e === "./index.js" || e.includes("/index.js")) return;
2649
+ const t = e.replace("/src/api/", "").replace(".js", ""), n = At[e];
2650
+ pe[t] = {}, Object.keys(n).forEach((r) => {
2651
+ typeof n[r] == "function" && (pe[t][r] = n[r]);
2652
+ }), n.default && typeof n.default == "object" && Object.keys(n.default).forEach((r) => {
2653
+ typeof n.default[r] == "function" && (pe[t][r] = n.default[r]);
2654
+ });
2655
+ });
2656
+ const Ms = () => Object.keys(pe), Os = () => {
2657
+ const e = {};
2658
+ return Object.keys(pe).forEach((t) => {
2659
+ Object.keys(pe[t]).forEach((n) => {
2660
+ e[n] = pe[t][n];
2661
+ });
2662
+ }), e;
2663
+ };
2664
+ Os();
2665
+ var Ns = /* @__PURE__ */ Object.freeze({
2666
+ __proto__: null,
2667
+ Decrypt: kn,
2668
+ Encrypt: Cn,
2669
+ Encrypt2: xn,
2670
+ _code_chars: jn,
2671
+ _code_color1: In,
2672
+ _code_color2: Wn,
2673
+ addDateRange: Ln,
2674
+ arrayToTree: An,
2675
+ blobValidate: Mn,
2676
+ checkS: Nn,
2677
+ flattenTree: qn,
2678
+ getColor: tn,
2679
+ getDarkColor: nn,
2680
+ getLightColor: rn,
2681
+ getNormalPath: Gn,
2682
+ getToken: Mt,
2683
+ handleThemeStyle: on,
2684
+ handleTree: Bn,
2685
+ hexToRgb: an,
2686
+ isArray: Rn,
2687
+ isEmpty: Fn,
2688
+ isExternal: $n,
2689
+ isHttp: Nt,
2690
+ isPathMatch: qt,
2691
+ isString: Hn,
2692
+ mergeRecursive: Xn,
2693
+ parseStrEmpty: Yn,
2694
+ parseTime: Un,
2695
+ removeToken: Vn,
2696
+ replaceSidContent: Qn,
2697
+ resetForm: Zn,
2698
+ resetSize: Jn,
2699
+ rgbToHex: sn,
2700
+ safeParse: Kn,
2701
+ scrollTo: er,
2702
+ selectDictLabel: tr,
2703
+ selectDictLabels: nr,
2704
+ setToken: rr,
2705
+ sprintf: or,
2706
+ tansParams: ir,
2707
+ useDict: ar,
2708
+ useDynamicTitle: sr,
2709
+ validAlphabets: lr,
2710
+ validEmail: dr,
2711
+ validLowerCase: ur,
2712
+ validURL: fr,
2713
+ validUpperCase: cr,
2714
+ validUsername: gr
2715
+ });
2716
+ export {
2717
+ a as $request,
2718
+ $s as Amap,
2719
+ Hs as DictTag,
2720
+ Xs as Echarts,
2721
+ Is as ImageUpload,
2722
+ Bs as Layout,
2723
+ Ys as Pagination,
2724
+ Us as RightToolbar,
2725
+ Vs as Verify,
2726
+ Qs as authdefault,
2727
+ Zs as axiosdefault,
2728
+ Ns as baseUtil,
2729
+ Js as cachedefault,
2730
+ Ks as changeBaseURL,
2731
+ Ls as directive,
2732
+ el as downloaddefault,
2733
+ Ws as elementIcons,
2734
+ tl as findAllByPath,
2735
+ nl as getDown,
2736
+ Ms as getModuleNames,
2737
+ Y as modaldefault,
2738
+ As as permissionPlugin,
2739
+ rl as postDown,
2740
+ ol as setupRouter,
2741
+ Os as structureAPI,
2742
+ pe as sybaseAPI,
2743
+ il as tabdefault,
2744
+ Rs as updateModules,
2745
+ en as usePermissionStore,
2746
+ fn as useSettingsStore,
2747
+ ve as useUserStore
2748
+ };