@gx-design-vue/pro-utils 0.2.0-beta.1 → 0.2.0-beta.10

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.
@@ -1,162 +1,135 @@
1
- import { defineComponent as z, ref as F, computed as k, createVNode as a, isVNode as E, Fragment as H } from "vue";
2
- import { createTypes as _ } from "vue-types";
3
- import { CloseOutlined as q, DownOutlined as W, InfoCircleOutlined as J } from "@ant-design/icons-vue";
4
- import { cloneDeep as X } from "lodash-es";
5
- import { Tooltip as V } from "ant-design-vue";
6
- const x = typeof window > "u";
1
+ import { isVNode as T } from "vue";
2
+ import { cloneDeep as L } from "lodash-es";
3
+ const w = typeof window > "u";
7
4
  process.env.NODE_ENV !== "production" && Object.freeze({});
8
5
  process.env.NODE_ENV !== "production" && Object.freeze([]);
9
- const G = (e) => {
6
+ const D = (e) => {
10
7
  const t = /* @__PURE__ */ Object.create(null);
11
- return (n) => t[n] || (t[n] = e(n));
12
- }, Y = /-(\w)/g, Q = G((e) => e.replace(Y, (t, n) => n ? n.toUpperCase() : "")), S = function(e, t) {
13
- var n;
14
- if (x || !e || !t)
8
+ return (r) => t[r] || (t[r] = e(r));
9
+ }, I = /-(\w)/g, U = D((e) => e.replace(I, (t, r) => r ? r.toUpperCase() : "")), y = function(e, t) {
10
+ var r;
11
+ if (w || !e || !t)
15
12
  return "";
16
- t = Q(t), t === "float" && (t = "cssFloat");
13
+ t = U(t), t === "float" && (t = "cssFloat");
17
14
  try {
18
- const i = e.style[t];
19
- if (i)
20
- return i;
21
- const r = (n = document == null ? void 0 : document.defaultView) == null ? void 0 : n.getComputedStyle(e, "");
22
- return r ? r[t] : "";
15
+ const n = e.style[t];
16
+ if (n)
17
+ return n;
18
+ const i = (r = document == null ? void 0 : document.defaultView) == null ? void 0 : r.getComputedStyle(e, "");
19
+ return i ? i[t] : "";
23
20
  } catch {
24
21
  return e.style[t];
25
22
  }
26
- }, Z = (e, t) => x ? void 0 : (t == null ? S(e, "overflow") : t ? S(e, "overflow-y") : S(e, "overflow-x")).match(/(scroll|auto|overlay)/), xe = (e, t) => {
27
- if (x)
23
+ }, B = (e, t) => w ? void 0 : (t == null ? y(e, "overflow") : t ? y(e, "overflow-y") : y(e, "overflow-x")).match(/(scroll|auto|overlay)/), G = (e, t) => {
24
+ if (w)
28
25
  return;
29
- let n = e;
30
- for (; n; ) {
31
- if ([window, document, document.documentElement].includes(n))
26
+ let r = e;
27
+ for (; r; ) {
28
+ if ([window, document, document.documentElement].includes(r))
32
29
  return window;
33
- if (Z(n, t))
34
- return n;
35
- n = n.parentNode;
30
+ if (B(r, t))
31
+ return r;
32
+ r = r.parentNode;
36
33
  }
37
- return n;
38
- }, ve = (e, t) => {
39
- if (x || !e || !t)
34
+ return r;
35
+ }, Q = (e, t) => {
36
+ if (w || !e || !t)
40
37
  return !1;
41
- const n = e.getBoundingClientRect();
42
- let i;
43
- return [window, document, document.documentElement, null, void 0].includes(t) ? i = {
38
+ const r = e.getBoundingClientRect();
39
+ let n;
40
+ return [window, document, document.documentElement, null, void 0].includes(t) ? n = {
44
41
  top: 0,
45
42
  right: window.innerWidth,
46
43
  bottom: window.innerHeight,
47
44
  left: 0
48
- } : i = t.getBoundingClientRect(), n.top < i.bottom && n.bottom > i.top && n.right > i.left && n.left < i.right;
49
- }, K = Object.prototype.toString;
50
- function L(e, t) {
51
- return K.call(e) === `[object ${t}]`;
45
+ } : n = t.getBoundingClientRect(), r.top < n.bottom && r.bottom > n.top && r.right > n.left && r.left < n.right;
46
+ }, C = Object.prototype.toString;
47
+ function b(e, t) {
48
+ return C.call(e) === `[object ${t}]`;
52
49
  }
53
- function I(e) {
54
- return L(e, "Boolean");
50
+ function R(e) {
51
+ return b(e, "Boolean");
55
52
  }
56
- function Se(e) {
53
+ function Z(e) {
57
54
  return typeof e == "number";
58
55
  }
59
- function ee(e) {
56
+ function E(e) {
60
57
  return typeof Array.isArray > "u" ? Object.prototype.toString.call(e) === "[object Array]" : Array.isArray(e);
61
58
  }
62
- function h(e) {
63
- return e !== null && L(e, "Object");
59
+ function g(e) {
60
+ return e !== null && b(e, "Object");
64
61
  }
65
- function te(e) {
62
+ function P(e) {
66
63
  return typeof e == "string" || e instanceof String;
67
64
  }
68
- function be(e) {
65
+ function K(e) {
69
66
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Function]";
70
67
  }
71
- function ne(...e) {
68
+ function M(...e) {
72
69
  const t = [];
73
- for (let n = 0; n < e.length; n++) {
74
- const i = e[n];
75
- if (i) {
76
- if (te(i))
77
- t.push(i);
78
- else if (ee(i))
79
- for (let r = 0; r < i.length; r++) {
80
- const o = ne(i[r]);
70
+ for (let r = 0; r < e.length; r++) {
71
+ const n = e[r];
72
+ if (n) {
73
+ if (P(n))
74
+ t.push(n);
75
+ else if (E(n))
76
+ for (let i = 0; i < n.length; i++) {
77
+ const o = M(n[i]);
81
78
  o && t.push(o);
82
79
  }
83
- else if (h(i))
84
- for (const r in i)
85
- i[r] && t.push(r);
80
+ else if (g(n))
81
+ for (const i in n)
82
+ n[i] && t.push(i);
86
83
  }
87
84
  }
88
- return t.filter((n) => n).join(" ");
89
- }
90
- let ie = 0;
91
- const m = {};
92
- function w(e, t = 1) {
93
- const n = ie++;
94
- let i = t;
95
- function r() {
96
- i -= 1, i <= 0 ? (e(), delete m[n]) : m[n] = requestAnimationFrame(r);
85
+ return t.filter((r) => r).join(" ");
86
+ }
87
+ let N = 0;
88
+ const a = {};
89
+ function h(e, t = 1) {
90
+ const r = N++;
91
+ let n = t;
92
+ function i() {
93
+ n -= 1, n <= 0 ? (e(), delete a[r]) : a[r] = requestAnimationFrame(i);
97
94
  }
98
- return m[n] = requestAnimationFrame(r), n;
95
+ return a[r] = requestAnimationFrame(i), r;
99
96
  }
100
- w.cancel = function(t) {
101
- t !== void 0 && (cancelAnimationFrame(m[t]), delete m[t]);
97
+ h.cancel = function(t) {
98
+ t !== void 0 && (cancelAnimationFrame(a[t]), delete a[t]);
102
99
  };
103
- w.ids = m;
104
- function O(e) {
100
+ h.ids = a;
101
+ function S(e) {
105
102
  return e != null && e === e.window;
106
103
  }
107
- function re(e, t) {
108
- var r;
104
+ function $(e, t) {
105
+ var i;
109
106
  if (typeof window > "u")
110
107
  return 0;
111
- const n = t ? "scrollTop" : "scrollLeft";
112
- let i = 0;
113
- return O(e) ? i = e[t ? "pageYOffset" : "pageXOffset"] : e instanceof Document ? i = e.documentElement[n] : e && (i = e[n]), e && !O(e) && typeof i != "number" && (i = (r = (e.ownerDocument || e).documentElement) == null ? void 0 : r[n]), i;
114
- }
115
- function oe(e, t, n, i) {
116
- const r = n - t;
117
- return e /= i / 2, e < 1 ? r / 2 * e * e * e + t : r / 2 * ((e -= 2) * e * e + 2) + t;
118
- }
119
- function Ae(e, t = {}) {
120
- const { getContainer: n = () => window, callback: i, duration: r = 450 } = t, o = n(), l = re(o, !0), c = Date.now(), u = () => {
121
- const f = Date.now() - c, g = oe(f > r ? r : f, l, e, r);
122
- O(o) ? o.scrollTo(window.pageXOffset, g) : o instanceof HTMLDocument || o.constructor.name === "HTMLDocument" ? o.documentElement.scrollTop = g : o.scrollTop = g, f < r ? w(u) : typeof i == "function" && i();
108
+ const r = t ? "scrollTop" : "scrollLeft";
109
+ let n = 0;
110
+ return S(e) ? n = e[t ? "pageYOffset" : "pageXOffset"] : e instanceof Document ? n = e.documentElement[r] : e && (n = e[r]), e && !S(e) && typeof n != "number" && (n = (i = (e.ownerDocument || e).documentElement) == null ? void 0 : i[r]), n;
111
+ }
112
+ function V(e, t, r, n) {
113
+ const i = r - t;
114
+ return e /= n / 2, e < 1 ? i / 2 * e * e * e + t : i / 2 * ((e -= 2) * e * e + 2) + t;
115
+ }
116
+ function ee(e, t = {}) {
117
+ const { getContainer: r = () => window, callback: n, duration: i = 450 } = t, o = r(), c = $(o, !0), u = Date.now(), f = () => {
118
+ const s = Date.now() - u, l = V(s > i ? i : s, c, e, i);
119
+ S(o) ? o.scrollTo(window.pageXOffset, l) : o instanceof HTMLDocument || o.constructor.name === "HTMLDocument" ? o.documentElement.scrollTop = l : o.scrollTop = l, s < i ? h(f) : typeof n == "function" && n();
123
120
  };
124
- w(u);
121
+ h(f);
125
122
  }
126
- function Oe(e) {
123
+ function te(e) {
127
124
  let t;
128
- const n = (r) => () => {
129
- t = null, e(...r);
130
- }, i = (...r) => {
131
- t == null && (t = requestAnimationFrame(n(r)));
125
+ const r = (i) => () => {
126
+ t = null, e(...i);
127
+ }, n = (...i) => {
128
+ t == null && (t = requestAnimationFrame(r(i)));
132
129
  };
133
- return i.cancel = () => cancelAnimationFrame(t), i;
134
- }
135
- var B = _({
136
- func: void 0,
137
- bool: void 0,
138
- string: void 0,
139
- number: void 0,
140
- array: void 0,
141
- object: void 0,
142
- integer: void 0
143
- });
144
- B.extend([{
145
- name: "looseBool",
146
- getter: !0,
147
- type: Boolean,
148
- default: void 0
149
- }, {
150
- name: "style",
151
- getter: !0,
152
- type: [String, Object],
153
- default: void 0
154
- }, {
155
- name: "VueNode",
156
- getter: !0,
157
- type: null
158
- }]);
159
- const b = B, p = {
130
+ return n.cancel = () => cancelAnimationFrame(t), n;
131
+ }
132
+ const p = {
160
133
  videoAllowType: [
161
134
  "mp4",
162
135
  "webm",
@@ -184,519 +157,406 @@ const b = B, p = {
184
157
  "m3u8"
185
158
  ],
186
159
  audioType: ["mp3", "mpeg", "aac", "wav", "wma", "mp2", "flac", "midi", "ra", "ape", "aac", "cda"]
187
- }, D = ({ suffixCls: e, customizePrefixCls: t, isPor: n, className: i }) => {
188
- const r = i || (n ? "gx-pro" : "gx");
189
- return t || (e ? `${r}-${e}` : r);
190
- }, Te = (e, t) => e ? Array.isArray(e) ? e.join("-") : e.toString() : `${t}`;
191
- function Ce(e, { align: t, showIndex: n }) {
192
- const i = X(e);
193
- if (n && e.length && e.every((r) => r.dataIndex !== "sortIndex")) {
194
- const r = e[0];
195
- i.unshift({
160
+ }, ne = (...e) => {
161
+ const t = {}, r = e.length;
162
+ let n, i = 0;
163
+ for (; i < r; i += 1)
164
+ for (n in e[i])
165
+ e[i].hasOwnProperty(n) && (typeof t[n] == "object" && typeof e[i][n] == "object" && t[n] !== void 0 && t[n] !== null && !Array.isArray(t[n]) && !Array.isArray(e[i][n]) ? t[n] = {
166
+ ...t[n],
167
+ ...e[i][n]
168
+ } : t[n] = e[i][n]);
169
+ return t;
170
+ };
171
+ function x(e, t, r, n) {
172
+ if (e === t)
173
+ return !0;
174
+ if (e && t && typeof e == "object" && typeof t == "object") {
175
+ if (e.constructor !== t.constructor)
176
+ return !1;
177
+ let i, o, c;
178
+ if (Array.isArray(e)) {
179
+ if (i = e.length, i != t.length)
180
+ return !1;
181
+ for (o = i; o-- !== 0; )
182
+ if (!x(e[o], t[o], r, n))
183
+ return !1;
184
+ return !0;
185
+ }
186
+ if (e instanceof Map && t instanceof Map) {
187
+ if (e.size !== t.size)
188
+ return !1;
189
+ for (o of e.entries())
190
+ if (!t.has(o[0]))
191
+ return !1;
192
+ for (o of e.entries())
193
+ if (!x(o[1], t.get(o[0]), r, n))
194
+ return !1;
195
+ return !0;
196
+ }
197
+ if (e instanceof Set && t instanceof Set) {
198
+ if (e.size !== t.size)
199
+ return !1;
200
+ for (o of e.entries())
201
+ if (!t.has(o[0]))
202
+ return !1;
203
+ return !0;
204
+ }
205
+ if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
206
+ if (i = e.length, i != t.length)
207
+ return !1;
208
+ for (o = i; o-- !== 0; )
209
+ if (e[o] !== t[o])
210
+ return !1;
211
+ return !0;
212
+ }
213
+ if (e.constructor === RegExp)
214
+ return e.source === t.source && e.flags === t.flags;
215
+ if (e.valueOf !== Object.prototype.valueOf && e.valueOf)
216
+ return e.valueOf() === t.valueOf();
217
+ if (e.toString !== Object.prototype.toString && e.toString)
218
+ return e.toString() === t.toString();
219
+ if (c = Object.keys(e), i = c.length, i !== Object.keys(t).length)
220
+ return !1;
221
+ for (o = i; o-- !== 0; )
222
+ if (!Object.prototype.hasOwnProperty.call(t, c[o]))
223
+ return !1;
224
+ for (o = i; o-- !== 0; ) {
225
+ const u = c[o];
226
+ if (!(r != null && r.includes(u)) && !(u === "_owner" && e.$$typeof) && !x(e[u], t[u], r, n))
227
+ return n && console.log(u), !1;
228
+ }
229
+ return !0;
230
+ }
231
+ return e !== e && t !== t;
232
+ }
233
+ const z = (
234
+ // @ts-ignore
235
+ typeof process < "u" && process.versions != null && process.versions.node != null
236
+ ), re = () => process.env.NODE_ENV === "TEST" ? !0 : typeof window < "u" && typeof window.document < "u" && typeof window.matchMedia < "u" && !z, ie = (e) => {
237
+ if (e && e !== !0)
238
+ return e;
239
+ }, oe = (e) => {
240
+ const t = {};
241
+ if (Object.keys(e || {}).forEach((r) => {
242
+ e[r] !== void 0 && (t[r] = e[r]);
243
+ }), !(Object.keys(t).length < 1))
244
+ return t;
245
+ }, H = (e) => e.length === 1 && (String(e[0].type) === String(Symbol("Comment")) || String(e[0].type) === String(Symbol("Fragment")) || String(e[0].type) === String(Symbol()));
246
+ function ce(e) {
247
+ return e && E(e) && H(e) ? T(e[0].children) ? e[0].children : e : [];
248
+ }
249
+ function ue(e, t, r = "default") {
250
+ return t[r] === !1 ? !1 : R(t[r]) && t[r] ? (e == null ? void 0 : e[r]) || t[r] : t[r] || e[r];
251
+ }
252
+ function k(e, t, r = "default") {
253
+ var n, i;
254
+ return t[r] === !1 ? !1 : R(t[r]) && t[r] ? ((n = e == null ? void 0 : e[r]) == null ? void 0 : n.call(e)) || t[r] : t[r] || ((i = e[r]) == null ? void 0 : i.call(e));
255
+ }
256
+ function fe(e, t, r) {
257
+ const n = {};
258
+ return e.forEach((i) => {
259
+ n[i] = k(t, r, i);
260
+ }), n;
261
+ }
262
+ const se = ({ suffixCls: e, customizePrefixCls: t, isPor: r, className: n }) => {
263
+ const i = n || (r ? "gx-pro" : "gx");
264
+ return t || (e ? `${i}-${e}` : i);
265
+ }, le = (e, t) => e ? Array.isArray(e) ? e.join("-") : e.toString() : `${t}`;
266
+ function ae(e, { align: t, showIndex: r }) {
267
+ const n = L(e);
268
+ if (r && e.length && e.every((i) => i.dataIndex !== "sortIndex")) {
269
+ const i = e[0];
270
+ n.unshift({
196
271
  title: "序号",
197
272
  align: t,
198
- fixed: r.fixed,
273
+ fixed: i.fixed,
199
274
  width: 60,
200
- uuid: le().uuid(15),
275
+ uuid: q().uuid(15),
201
276
  dataIndex: "sortIndex",
202
277
  key: "sortIndex"
203
278
  });
204
279
  } else
205
- i.filter((r) => r.dataIndex !== "sortIndex");
206
- return i;
280
+ n.filter((i) => i.dataIndex !== "sortIndex");
281
+ return n;
207
282
  }
208
- function $e(e, ...t) {
283
+ function de(e, ...t) {
209
284
  return typeof e == "function" ? e(...t) : e;
210
285
  }
211
- function U(e) {
286
+ function j(e) {
212
287
  return JSON.parse(JSON.stringify(e));
213
288
  }
214
- function je(e, t) {
215
- if (h(e)) {
216
- const { pageSize: n = 10, total: i = 0 } = e;
217
- let { current: r = 1 } = e;
218
- return i - t <= n * (r - 1) && (r = r - 1), r === 0 ? 1 : r;
289
+ function me(e, t) {
290
+ if (g(e)) {
291
+ const { pageSize: r = 10, total: n = 0 } = e;
292
+ let { current: i = 1 } = e;
293
+ return n - t <= r * (i - 1) && (i = i - 1), i === 0 ? 1 : i;
219
294
  }
220
295
  return 1;
221
296
  }
222
- function Fe(e = [], t, n = "children") {
223
- function i(r, o) {
224
- return o.map((l, c) => {
225
- const u = `${r}-${c + 1}`;
226
- return l[n] && (l[n] = i(u, l[n])), l.sortIndex = u, l;
297
+ function pe(e = [], t, r = "children") {
298
+ function n(i, o) {
299
+ return o.map((c, u) => {
300
+ const f = `${i}-${u + 1}`;
301
+ return c[r] && (c[r] = n(f, c[r])), c.sortIndex = f, c;
227
302
  });
228
303
  }
229
- return U(e).map((r, o) => {
230
- let l = o;
231
- const c = h(t) && t.current || 1, u = h(t) && t.pageSize || 10;
232
- return l = c ? (c - 1) * u + (o + 1) : o + 1, r[n] && (r[n] = i(`${l}`, r[n])), r.sortIndex = l, r;
304
+ return j(e).map((i, o) => {
305
+ let c = o;
306
+ const u = g(t) && t.current || 1, f = g(t) && t.pageSize || 10;
307
+ return c = u ? (u - 1) * f + (o + 1) : o + 1, i[r] && (i[r] = n(`${c}`, i[r])), i.sortIndex = c, i;
233
308
  });
234
309
  }
235
- function Re(e, t, n, i) {
236
- const r = e[n], o = t[n];
237
- let l = 0;
238
- return r < o ? l = i === 0 ? -1 : 0 : r > o && (l = i === 0 ? 0 : -1), l;
310
+ function ge(e, t, r, n) {
311
+ const i = e[r], o = t[r];
312
+ let c = 0;
313
+ return i < o ? c = n === 0 ? -1 : 0 : i > o && (c = n === 0 ? 0 : -1), c;
239
314
  }
240
- function Ee(e) {
241
- let t = U(e);
242
- const n = new Set(t);
243
- return t = Array.from(n), t;
315
+ function he(e) {
316
+ let t = j(e);
317
+ const r = new Set(t);
318
+ return t = Array.from(r), t;
244
319
  }
245
- function Le(e, t) {
246
- const n = ["null", "undefined"];
247
- let i = !0;
248
- return e === 0 ? i = !0 : n.includes(e) ? i = !1 : e || (i = !1), i ? {
320
+ function we(e, t) {
321
+ const r = ["null", "undefined"];
322
+ let n = !0;
323
+ return e === 0 ? n = !0 : r.includes(e) ? n = !1 : e || (n = !1), n ? {
249
324
  value: e,
250
- success: i
325
+ success: n
251
326
  } : {
252
327
  value: t === "" ? t : t || "-",
253
- success: i
328
+ success: n
254
329
  };
255
330
  }
256
- function Ie(e) {
331
+ function ye(e) {
257
332
  let t = "";
258
333
  if (e > -1) {
259
- const n = Math.floor(e / 3600), i = Math.floor(e / 60) % 60, r = parseInt(String(e % 60));
260
- n < 10 ? t = "0" + n + ":" : t = n + ":", i < 10 && (t += "0"), t += i + ":", r < 10 && (t += "0"), t += r;
334
+ const r = Math.floor(e / 3600), n = Math.floor(e / 60) % 60, i = parseInt(String(e % 60));
335
+ r < 10 ? t = "0" + r + ":" : t = r + ":", n < 10 && (t += "0"), t += n + ":", i < 10 && (t += "0"), t += i;
261
336
  }
262
337
  return t.split(":")[0] === "00" ? `${t.split(":")[1]}:${t.split(":")[2]}` : t;
263
338
  }
264
- function le() {
339
+ function q() {
265
340
  const e = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
266
341
  return {
267
- uuid(t, n) {
268
- const i = e, r = [], o = n || i.length;
269
- let l, c;
342
+ uuid(t, r) {
343
+ const n = e, i = [], o = r || n.length;
344
+ let c, u;
270
345
  if (t)
271
- for (l = 0; l < t; l += 1)
272
- r[l] = i[parseInt(String(Math.random() * o))];
346
+ for (c = 0; c < t; c += 1)
347
+ i[c] = n[parseInt(String(Math.random() * o))];
273
348
  else
274
- for (r[8] = "-", r[13] = "-", r[18] = "-", r[23] = "-", r[14] = "4", l = 0; l < 36; l += 1)
275
- r[l] || (c = Math.random() * 16, r[l] = i[l === 19 ? c && 3 || 8 : c]);
276
- return r.join("");
349
+ for (i[8] = "-", i[13] = "-", i[18] = "-", i[23] = "-", i[14] = "4", c = 0; c < 36; c += 1)
350
+ i[c] || (u = Math.random() * 16, i[c] = n[c === 19 ? u && 3 || 8 : u]);
351
+ return i.join("");
277
352
  },
278
353
  uuidFast() {
279
- const t = e, n = new Array(36);
280
- let i = 0, r, o;
354
+ const t = e, r = new Array(36);
355
+ let n = 0, i, o;
281
356
  for (o = 0; o < 36; o += 1)
282
- o === 8 || o === 13 || o === 18 || o === 23 ? n[o] = "-" : o === 14 ? n[o] = "4" : (i <= 2 && (i = 33554432 + Math.random() * 16777216 || 0), r = i && 15, i = i > 4, n[o] = t[o === 19 ? r && 3 || 8 : r]);
283
- return n.join("");
357
+ o === 8 || o === 13 || o === 18 || o === 23 ? r[o] = "-" : o === 14 ? r[o] = "4" : (n <= 2 && (n = 33554432 + Math.random() * 16777216 || 0), i = n && 15, n = n > 4, r[o] = t[o === 19 ? i && 3 || 8 : i]);
358
+ return r.join("");
284
359
  },
285
360
  uuidString() {
286
361
  return this.uuidFast().replace(new RegExp("-", "g"), "");
287
362
  },
288
363
  uuidCompact() {
289
364
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (t) => {
290
- const n = Math.random() * 16 || 0;
291
- return (t === "x" ? n : n && 3 || 8).toString(16);
365
+ const r = Math.random() * 16 || 0;
366
+ return (t === "x" ? r : r && 3 || 8).toString(16);
292
367
  });
293
368
  }
294
369
  };
295
370
  }
296
- function Be(e = []) {
371
+ function xe(e = []) {
297
372
  let t = 0;
298
- function n(i = [], r) {
299
- i.forEach((o) => {
300
- o.floor = r, r > t && (t = r), o.children && o.children.length > 0 && n(o.children, r + 1);
373
+ function r(n = [], i) {
374
+ n.forEach((o) => {
375
+ o.floor = i, i > t && (t = i), o.children && o.children.length > 0 && r(o.children, i + 1);
301
376
  });
302
377
  }
303
- return n(e, 1), t;
378
+ return r(e, 1), t;
304
379
  }
305
- function ce(e, t = "children") {
306
- let n = [];
307
- return e.forEach((i) => {
308
- n.push(i), i[t] && i[t].length > 0 && (n = n.concat(ce(i[t])));
309
- }), n;
380
+ function W(e, t = "children") {
381
+ let r = [];
382
+ return e.forEach((n) => {
383
+ r.push(n), n[t] && n[t].length > 0 && (r = r.concat(W(n[t])));
384
+ }), r;
310
385
  }
311
- function De(e, t, n, i, r) {
312
- t = t || "id", n = n || "parentId", i = i || "children", r = r || 0;
386
+ function Se(e, t, r, n, i) {
387
+ t = t || "id", r = r || "parentId", n = n || "children", i = i || 0;
313
388
  const o = JSON.parse(JSON.stringify(e));
314
- return o.filter((l) => {
315
- const c = o.filter((u) => l[t] === u[n || "parentId"]);
316
- return c.length > 0 ? l[i || "children"] = c : delete l[i || "children"], l[n || "parentId"] === r;
389
+ return o.filter((c) => {
390
+ const u = o.filter((f) => c[t] === f[r || "parentId"]);
391
+ return u.length > 0 ? c[n || "children"] = u : delete c[n || "children"], c[r || "parentId"] === i;
317
392
  });
318
393
  }
319
- function Ue(e) {
394
+ function ve(e) {
320
395
  return URL.createObjectURL(e);
321
396
  }
322
- function Pe(e) {
323
- return new Promise((t, n) => {
324
- const i = new FileReader();
325
- i.readAsDataURL(e), i.onload = () => t(i.result), i.onerror = (r) => n(r);
397
+ function Ae(e) {
398
+ return new Promise((t, r) => {
399
+ const n = new FileReader();
400
+ n.readAsDataURL(e), n.onload = () => t(n.result), n.onerror = (i) => r(i);
326
401
  });
327
402
  }
328
- function Me(e) {
329
- const t = e.split(","), n = t[0].match(/:(.*?);/)[1], i = atob(t[1]);
330
- let r = i.length;
331
- const o = new Uint8Array(r);
332
- for (; r--; )
333
- o[r] = i.charCodeAt(r);
334
- return new Blob([o], { type: n });
335
- }
336
- function Ne(e, t) {
337
- const n = e.split(","), i = n[0].match(/:(.*?);/)[1], r = atob(n[1]);
338
- let o = r.length;
339
- const l = new Uint8Array(o);
403
+ function Oe(e) {
404
+ const t = e.split(","), r = t[0].match(/:(.*?);/)[1], n = atob(t[1]);
405
+ let i = n.length;
406
+ const o = new Uint8Array(i);
407
+ for (; i--; )
408
+ o[i] = n.charCodeAt(i);
409
+ return new Blob([o], { type: r });
410
+ }
411
+ function be(e, t) {
412
+ const r = e.split(","), n = r[0].match(/:(.*?);/)[1], i = atob(r[1]);
413
+ let o = i.length;
414
+ const c = new Uint8Array(o);
340
415
  for (; o--; )
341
- l[o] = r.charCodeAt(o);
342
- return new File([l], t, { type: i });
416
+ c[o] = i.charCodeAt(o);
417
+ return new File([c], t, { type: n });
343
418
  }
344
- function ze(e, t, n) {
345
- return new window.File([e], t, { type: n });
419
+ function Re(e, t, r) {
420
+ return new window.File([e], t, { type: r });
346
421
  }
347
- function ue(e = "") {
422
+ function J(e = "") {
348
423
  const t = e.indexOf("?");
349
424
  return t > 0 ? `${e.substring(0, t)}` : e;
350
425
  }
351
- function T(e = "") {
352
- e = ue(e);
426
+ function v(e = "") {
427
+ e = J(e);
353
428
  const t = e.lastIndexOf(".");
354
429
  return t > 0 ? `${e.substring(t).split("?")[0]}`.split(".")[1] : "";
355
430
  }
356
- function y(e, t) {
431
+ function m(e, t) {
357
432
  if (t)
358
433
  return t;
359
434
  if (!e || e === "data:")
360
435
  return "4";
361
- let n = "4";
362
- return C(e) ? e.includes("data:image/") ? n = "png" : e.includes("data:video/") ? n = "mp4" : e.includes("data:audio/") && (n = "mp3") : e instanceof Blob ? (e = String(e), e.includes("image") ? n = "png" : e.includes("video") ? n = "mp4" : e.includes("audio") && (n = "mp3")) : n = T(e).toLowerCase(), p.imageType.includes(n) ? "1" : p.videoType.includes(n) ? "3" : p.audioType.includes(n) ? "2" : "4";
436
+ let r = "4";
437
+ return A(e) ? e.includes("data:image/") ? r = "png" : e.includes("data:video/") ? r = "mp4" : e.includes("data:audio/") && (r = "mp3") : e instanceof Blob ? (e = String(e), e.includes("image") ? r = "png" : e.includes("video") ? r = "mp4" : e.includes("audio") && (r = "mp3")) : r = v(e).toLowerCase(), p.imageType.includes(r) ? "1" : p.videoType.includes(r) ? "3" : p.audioType.includes(r) ? "2" : "4";
363
438
  }
364
- function se(e) {
365
- const { url: t = "", fileType: n = "1" } = e;
366
- let i = "";
367
- return t instanceof File ? i = URL.createObjectURL(t) : C(t) ? i = t : t instanceof Blob ? i = URL.createObjectURL(t) : (t.includes("https") || t.includes("http")) && (i = t), new Promise(function(r) {
439
+ function _(e) {
440
+ const { url: t = "", fileType: r = "1" } = e;
441
+ let n = "";
442
+ return t instanceof File ? n = URL.createObjectURL(t) : A(t) ? n = t : t instanceof Blob ? n = URL.createObjectURL(t) : (t.includes("https") || t.includes("http")) && (n = t), new Promise(function(i) {
368
443
  let o;
369
- n === "1" ? (o = document.createElement("img"), o.src = i) : n === "2" ? (o = document.createElement("audio"), o.src = i) : n === "3" && (o = document.createElement("video"), o.src = i), n === "1" ? o.onload = function() {
370
- r({
444
+ r === "1" ? (o = document.createElement("img"), o.src = n) : r === "2" ? (o = document.createElement("audio"), o.src = n) : r === "3" && (o = document.createElement("video"), o.src = n), r === "1" ? o.onload = function() {
445
+ i({
371
446
  play: !0,
372
447
  width: o.width || 0,
373
448
  height: o.height || 0
374
449
  }), o = null;
375
450
  } : o.oncanplay = function() {
376
- r({
451
+ i({
377
452
  play: !0,
378
453
  duration: o.duration,
379
454
  width: (o == null ? void 0 : o.videoWidth) || 0,
380
455
  height: (o == null ? void 0 : o.videoHeight) || 0
381
456
  }), o = null;
382
457
  }, o.onerror = function() {
383
- r({
458
+ i({
384
459
  play: !1
385
460
  }), o = null;
386
461
  };
387
462
  });
388
463
  }
389
- async function ke(e) {
390
- const { url: t = "", currentTime: n, videoSuffix: i = "", vidoeAllowPlay: r = !1 } = e;
391
- let o = "", l = i, c = "1", u;
392
- return t instanceof File ? (o = URL.createObjectURL(t), l = T(t.name), c = y(t.name)) : t instanceof Blob ? (o = URL.createObjectURL(t), c = y(t)) : C(t) ? (o = t, c = y(t)) : (t.includes("https") || t.includes("http")) && (o = t, l = T(t), c = y(t)), (l ? p.videoAllowType.includes(l.toLowerCase()) : !1) ? r ? R(o, n) : (u = await se({
464
+ async function Ee(e) {
465
+ const { url: t = "", currentTime: r, videoSuffix: n = "", vidoeAllowPlay: i = !1 } = e;
466
+ let o = "", c = n, u = "1", f;
467
+ return t instanceof File ? (o = URL.createObjectURL(t), c = v(t.name), u = m(t.name)) : t instanceof Blob ? (o = URL.createObjectURL(t), u = m(t)) : A(t) ? (o = t, u = m(t)) : (t.includes("https") || t.includes("http")) && (o = t, c = v(t), u = m(t)), (c ? p.videoAllowType.includes(c.toLowerCase()) : !1) ? i ? O(o, r) : (f = await _({
393
468
  url: o,
394
- fileType: c
395
- }), u.play ? R(o, n) : new Promise(function(f) {
396
- f("");
397
- })) : new Promise(function(f) {
398
- f("");
469
+ fileType: u
470
+ }), f.play ? O(o, r) : new Promise(function(s) {
471
+ s("");
472
+ })) : new Promise(function(s) {
473
+ s("");
399
474
  });
400
475
  }
401
- async function R(e, t) {
402
- let n = document.createElement("video");
403
- n.style.display = "none", n.controls = !0, n.muted = !0, t && (n.currentTime = t), n.setAttribute("src", e), n.setAttribute("muted", String(!0)), n.setAttribute("crossorigin", "anonymous"), n.setAttribute("autoplay", String(!0));
404
- const i = document.createElement("canvas"), r = 0.8, o = 100, l = i.getContext("2d");
405
- return new Promise(function(c) {
406
- n && n.addEventListener("canplay", function() {
407
- setTimeout(function() {
408
- const u = (n == null ? void 0 : n.videoWidth) || 0 * r, s = (n == null ? void 0 : n.videoHeight) || 0 * r, f = 0;
409
- i.width = (n == null ? void 0 : n.videoWidth) || 0 * r, i.height = (n == null ? void 0 : n.videoHeight) || 0 * r, l.drawImage(n, 0, 0, u + f, s + f), n = null, c(u === 0 || s === 0 ? "" : i.toDataURL("image/png", 1));
410
- }, o);
411
- }, !1);
476
+ async function O(e, t = 0) {
477
+ return new Promise(function(r) {
478
+ let n = document.createElement("video");
479
+ n.controls = !0, n.muted = !0, n.setAttribute("src", e), n.setAttribute("muted", String(!0)), n.setAttribute("crossorigin", "anonymous"), n.setAttribute("autoplay", String(!0)), n && n.addEventListener("loadeddata", async function() {
480
+ let i;
481
+ n == null || n.addEventListener("seeked", async function() {
482
+ i && i();
483
+ });
484
+ const o = (n == null ? void 0 : n.duration) || 0;
485
+ for (; t < o; ) {
486
+ n && (n.currentTime = t), await new Promise((F) => i = F);
487
+ const c = document.createElement("canvas"), u = 0.8, f = c.getContext("2d"), d = (n == null ? void 0 : n.videoWidth) || 0 * u, s = (n == null ? void 0 : n.videoHeight) || 0 * u, l = 0;
488
+ c.width = (n == null ? void 0 : n.videoWidth) || 0 * u, c.height = (n == null ? void 0 : n.videoHeight) || 0 * u, f.drawImage(n, 0, 0, d + l, s + l), n = null, r(d === 0 || s === 0 ? "" : c.toDataURL("image/png", 1));
489
+ }
490
+ });
412
491
  });
413
492
  }
414
- function C(e = "") {
493
+ function A(e = "") {
415
494
  return !!(e && [
416
495
  "data:image/",
417
496
  "data:video/",
418
497
  "data:audio/"
419
- ].find((n) => e.includes(n)));
420
- }
421
- function He(e, t, n, i = !1) {
422
- e && t && n && e.addEventListener(t, n, i);
423
- }
424
- function _e(e, t, n, i = !1) {
425
- e && t && n && e.removeEventListener(t, n, i);
426
- }
427
- const qe = /* @__PURE__ */ z({
428
- props: {
429
- id: b.string,
430
- style: b.style,
431
- size: {
432
- type: String,
433
- default: "middle"
434
- },
435
- label: Object,
436
- placeholder: [Object, String],
437
- class: String,
438
- ellipsis: Boolean,
439
- allowClear: {
440
- type: Boolean,
441
- default: !0
442
- },
443
- bordered: Boolean,
444
- expanded: Boolean,
445
- disabled: Boolean,
446
- onClear: Function,
447
- onLabelClick: Function,
448
- formatter: Function,
449
- value: b.any
450
- },
451
- setup(e, {
452
- expose: t
453
- }) {
454
- const n = D({
455
- suffixCls: "core-field-label",
456
- isPor: !0
457
- }), i = F(), r = F(), o = k(() => e.allowClear || !0);
458
- t({
459
- labelRef: i,
460
- clearRef: r
461
- });
462
- const l = (u) => e.formatter ? e.formatter(u) : Array.isArray(u) ? u.join(",") : String(u), c = (u, s) => {
463
- var f, g;
464
- if (s != null && s !== "" && (!Array.isArray(s) || s.length)) {
465
- const v = E(s), $ = u ? a("span", {
466
- onClick: e.onLabelClick,
467
- class: `${n}-text`
468
- }, [u, ": "]) : "", d = v ? "" : l(s);
469
- if (!e.ellipsis)
470
- return a("span", {
471
- style: {
472
- display: "inline-flex",
473
- alignItems: "center"
474
- }
475
- }, [$, v ? s : l(s)]);
476
- const j = 41, P = (() => {
477
- const M = Array.isArray(s) && s.length > 1, N = "项";
478
- return typeof d == "string" && d.length > j && M ? `...${s.length}${N}` : "";
479
- })();
480
- return a("span", {
481
- title: v ? "" : d,
482
- style: {
483
- display: "inline-flex",
484
- alignItems: "center"
485
- }
486
- }, [$, a("span", {
487
- style: {
488
- paddingInlineStart: 4
489
- }
490
- }, [typeof d == "string" ? (g = (f = d == null ? void 0 : d.toString()) == null ? void 0 : f.substr) == null ? void 0 : g.call(f, 0, j) : s]), P]);
491
- }
492
- return u || e.placeholder;
493
- };
494
- return () => a("span", {
495
- class: {
496
- [`${n}`]: !0,
497
- [`${n}-${e.size}`]: e.size,
498
- [`${n}-active`]: !!e.value || e.value === 0,
499
- [`${n}-disabled`]: e.disabled,
500
- [`${n}-bordered`]: e.bordered,
501
- [`${n}-allow-clear`]: o.value,
502
- [`${e.class}`]: e.class
503
- },
504
- style: e.style,
505
- ref: i
506
- }, [c(e.label, e.value), (e.value || e.value === 0) && o.value && a(q, {
507
- role: "button",
508
- title: "清除",
509
- class: [`${n}-icon`, `${n}-close`],
510
- onClick: (u) => {
511
- e.onClear && !e.disabled && e.onClear(), u.stopPropagation();
512
- },
513
- ref: r
514
- }, null), a(W, {
515
- class: [`${n}-icon`, `${n}-arrow`]
516
- }, null)]);
517
- }
518
- });
519
- const We = (e) => {
520
- if (!e.tooltip && !e.subTitle)
521
- return a(H, null, [e.label]);
522
- const t = D({
523
- suffixCls: "core-label-tip",
524
- isPor: !0
525
- }), n = typeof e.tooltip == "string" ? {
526
- title: e.tooltip
527
- } : e.tooltip, i = (n == null ? void 0 : n.icon) || a(J, null, null);
528
- return a("div", {
529
- class: t,
530
- onMousedown: (r) => r.stopPropagation(),
531
- onMouseleave: (r) => r.stopPropagation(),
532
- onMousemove: (r) => r.stopPropagation()
533
- }, [a("div", {
534
- class: {
535
- [`${t}-title`]: !0,
536
- [`${t}-title-ellipsis`]: e.ellipsis
537
- }
538
- }, [e.label]), e.subTitle && a("div", {
539
- class: `${t}-subtitle`
540
- }, [e.subTitle]), e.tooltip && a(V, n, {
541
- default: () => [a("span", {
542
- class: `${t}-icon`
543
- }, [i])]
544
- })]);
545
- }, Je = (...e) => {
546
- const t = {}, n = e.length;
547
- let i, r = 0;
548
- for (; r < n; r += 1)
549
- for (i in e[r])
550
- e[r].hasOwnProperty(i) && (typeof t[i] == "object" && typeof e[r][i] == "object" && t[i] !== void 0 && t[i] !== null && !Array.isArray(t[i]) && !Array.isArray(e[r][i]) ? t[i] = {
551
- ...t[i],
552
- ...e[r][i]
553
- } : t[i] = e[r][i]);
554
- return t;
555
- };
556
- function A(e, t, n, i) {
557
- if (e === t)
558
- return !0;
559
- if (e && t && typeof e == "object" && typeof t == "object") {
560
- if (e.constructor !== t.constructor)
561
- return !1;
562
- let r, o, l;
563
- if (Array.isArray(e)) {
564
- if (r = e.length, r != t.length)
565
- return !1;
566
- for (o = r; o-- !== 0; )
567
- if (!A(e[o], t[o], n, i))
568
- return !1;
569
- return !0;
570
- }
571
- if (e instanceof Map && t instanceof Map) {
572
- if (e.size !== t.size)
573
- return !1;
574
- for (o of e.entries())
575
- if (!t.has(o[0]))
576
- return !1;
577
- for (o of e.entries())
578
- if (!A(o[1], t.get(o[0]), n, i))
579
- return !1;
580
- return !0;
581
- }
582
- if (e instanceof Set && t instanceof Set) {
583
- if (e.size !== t.size)
584
- return !1;
585
- for (o of e.entries())
586
- if (!t.has(o[0]))
587
- return !1;
588
- return !0;
589
- }
590
- if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
591
- if (r = e.length, r != t.length)
592
- return !1;
593
- for (o = r; o-- !== 0; )
594
- if (e[o] !== t[o])
595
- return !1;
596
- return !0;
597
- }
598
- if (e.constructor === RegExp)
599
- return e.source === t.source && e.flags === t.flags;
600
- if (e.valueOf !== Object.prototype.valueOf && e.valueOf)
601
- return e.valueOf() === t.valueOf();
602
- if (e.toString !== Object.prototype.toString && e.toString)
603
- return e.toString() === t.toString();
604
- if (l = Object.keys(e), r = l.length, r !== Object.keys(t).length)
605
- return !1;
606
- for (o = r; o-- !== 0; )
607
- if (!Object.prototype.hasOwnProperty.call(t, l[o]))
608
- return !1;
609
- for (o = r; o-- !== 0; ) {
610
- const c = l[o];
611
- if (!(n != null && n.includes(c)) && !(c === "_owner" && e.$$typeof) && !A(e[c], t[c], n, i))
612
- return i && console.log(c), !1;
613
- }
614
- return !0;
615
- }
616
- return e !== e && t !== t;
617
- }
618
- const fe = typeof process < "u" && process.versions != null && process.versions.node != null, Xe = () => process.env.NODE_ENV === "TEST" ? !0 : typeof window < "u" && typeof window.document < "u" && typeof window.matchMedia < "u" && !fe, Ve = (e) => {
619
- if (e && e !== !0)
620
- return e;
621
- }, Ge = (e) => {
622
- const t = {};
623
- if (Object.keys(e || {}).forEach((n) => {
624
- e[n] !== void 0 && (t[n] = e[n]);
625
- }), !(Object.keys(t).length < 1))
626
- return t;
627
- }, ae = (e) => e.length === 1 && (String(e[0].type) === String(Symbol("Comment")) || String(e[0].type) === String(Symbol("Fragment")) || String(e[0].type) === String(Symbol()));
628
- function Ye(e) {
629
- return ae(e) && E(e[0].children) ? e[0].children : e;
630
- }
631
- function Qe(e, t, n = "default") {
632
- return t[n] === !1 ? !1 : I(t[n]) && t[n] ? (e == null ? void 0 : e[n]) || t[n] : t[n] || e[n];
498
+ ].find((r) => e.includes(r)));
633
499
  }
634
- function de(e, t, n = "default") {
635
- var i, r;
636
- return t[n] === !1 ? !1 : I(t[n]) && t[n] ? ((i = e == null ? void 0 : e[n]) == null ? void 0 : i.call(e)) || t[n] : t[n] || ((r = e[n]) == null ? void 0 : r.call(e));
500
+ function je(e, t, r, n = !1) {
501
+ e && t && r && e.addEventListener(t, r, n);
637
502
  }
638
- function Ze(e, t, n) {
639
- const i = {};
640
- return e.forEach((r) => {
641
- i[r] = de(t, n, r);
642
- }), i;
503
+ function Fe(e, t, r, n = !1) {
504
+ e && t && r && e.removeEventListener(t, r, n);
643
505
  }
644
506
  export {
645
- qe as FieldLabel,
646
- We as LabelIconTip,
647
- Ee as arrayRepeat,
648
- ze as blobToDataURL,
649
- y as checkFileType,
650
- ne as classNames,
651
- Re as compareArray,
652
- Me as dataURLtoBlob,
653
- Ne as dataURLtoFile,
654
- U as deepCopy,
655
- Ie as formatDuraton,
656
- Te as genColumnKey,
657
- R as generateVidoePicture,
658
- Pe as getBase64,
659
- Ue as getBlobUrl,
660
- T as getFileSuffix,
661
- ce as getLevelData,
662
- Be as getMaxFloor,
663
- se as getMediaInfos,
664
- D as getPrefixCls,
665
- le as getRandomNumber,
666
- Ye as getRealVNode,
667
- re as getScroll,
668
- xe as getScrollContainer,
669
- Qe as getSlot,
670
- de as getSlotVNode,
671
- Ze as getSlotsProps,
672
- Fe as getSortIndex,
673
- ke as getVideoCoverPicture,
674
- ue as getVideoFileUrl,
507
+ he as arrayRepeat,
508
+ Re as blobToDataURL,
509
+ m as checkFileType,
510
+ M as classNames,
511
+ ge as compareArray,
512
+ Oe as dataURLtoBlob,
513
+ be as dataURLtoFile,
514
+ j as deepCopy,
515
+ ye as formatDuraton,
516
+ le as genColumnKey,
517
+ O as generateVidoePicture,
518
+ Ae as getBase64,
519
+ ve as getBlobUrl,
520
+ v as getFileSuffix,
521
+ W as getLevelData,
522
+ xe as getMaxFloor,
523
+ _ as getMediaInfos,
524
+ se as getPrefixCls,
525
+ q as getRandomNumber,
526
+ ce as getRealVNode,
527
+ $ as getScroll,
528
+ G as getScrollContainer,
529
+ ue as getSlot,
530
+ k as getSlotVNode,
531
+ fe as getSlotsProps,
532
+ pe as getSortIndex,
533
+ Ee as getVideoCoverPicture,
534
+ J as getVideoFileUrl,
675
535
  p as globalConfig,
676
- je as handleCurrentPage,
677
- Ce as handleShowIndex,
678
- Le as hanndleField,
679
- L as is,
680
- ee as isArray,
681
- C as isBase64,
682
- I as isBoolean,
683
- Xe as isBrowser,
684
- A as isDeepEqualReact,
685
- be as isFunction,
686
- ve as isInContainer,
687
- Se as isNumber,
688
- h as isObject,
689
- Z as isScroll,
690
- x as isServer,
691
- ae as isSlotFragment,
692
- te as isString,
693
- Je as merge,
694
- _e as off,
695
- Ve as omitBoolean,
696
- Ge as omitUndefined,
697
- He as on,
698
- $e as runFunction,
699
- Ae as scrollTo,
700
- Oe as throttleByAnimationFrame,
701
- De as treeData
536
+ me as handleCurrentPage,
537
+ ae as handleShowIndex,
538
+ we as hanndleField,
539
+ b as is,
540
+ E as isArray,
541
+ A as isBase64,
542
+ R as isBoolean,
543
+ re as isBrowser,
544
+ x as isDeepEqualReact,
545
+ K as isFunction,
546
+ Q as isInContainer,
547
+ Z as isNumber,
548
+ g as isObject,
549
+ B as isScroll,
550
+ w as isServer,
551
+ H as isSlotFragment,
552
+ P as isString,
553
+ ne as merge,
554
+ Fe as off,
555
+ ie as omitBoolean,
556
+ oe as omitUndefined,
557
+ je as on,
558
+ de as runFunction,
559
+ ee as scrollTo,
560
+ te as throttleByAnimationFrame,
561
+ Se as treeData
702
562
  };