@gx-design-vue/pro-utils 0.2.0-beta.28 → 0.2.0-beta.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/merge/index.d.ts +1 -1
- package/dist/omitUndefined/index.d.ts +1 -1
- package/dist/pro-utils.js +36 -29
- package/dist/pro-utils.umd.cjs +5 -1
- package/package.json +1 -1
package/dist/merge/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { OmitUndefined } from '../typings';
|
|
2
|
-
export declare const omitUndefined: <T
|
|
2
|
+
export declare const omitUndefined: <T extends Record<string, any>>(obj: T) => OmitUndefined<T>;
|
package/dist/pro-utils.js
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { isVNode as T } from "vue";
|
|
2
2
|
const y = typeof window > "u";
|
|
3
|
+
/**
|
|
4
|
+
* @vue/shared v3.5.1
|
|
5
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
6
|
+
* @license MIT
|
|
7
|
+
**/
|
|
3
8
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
4
9
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
5
10
|
const L = (e) => {
|
|
6
11
|
const t = /* @__PURE__ */ Object.create(null);
|
|
7
12
|
return (r) => t[r] || (t[r] = e(r));
|
|
8
|
-
}, I = /-(\w)/g, U = L(
|
|
13
|
+
}, I = /-(\w)/g, U = L(
|
|
14
|
+
(e) => e.replace(I, (t, r) => r ? r.toUpperCase() : "")
|
|
15
|
+
), x = function(e, t) {
|
|
9
16
|
var r;
|
|
10
17
|
if (y || !e || !t)
|
|
11
18
|
return "";
|
|
@@ -46,13 +53,13 @@ const L = (e) => {
|
|
|
46
53
|
function j(e, t) {
|
|
47
54
|
return C.call(e) === `[object ${t}]`;
|
|
48
55
|
}
|
|
49
|
-
function
|
|
56
|
+
function O(e) {
|
|
50
57
|
return j(e, "Boolean");
|
|
51
58
|
}
|
|
52
59
|
function Q(e) {
|
|
53
60
|
return typeof e == "number";
|
|
54
61
|
}
|
|
55
|
-
function
|
|
62
|
+
function g(e) {
|
|
56
63
|
return typeof Array.isArray > "u" ? Object.prototype.toString.call(e) === "[object Array]" : Array.isArray(e);
|
|
57
64
|
}
|
|
58
65
|
function h(e) {
|
|
@@ -71,7 +78,7 @@ function P(...e) {
|
|
|
71
78
|
if (n) {
|
|
72
79
|
if (B(n))
|
|
73
80
|
t.push(n);
|
|
74
|
-
else if (
|
|
81
|
+
else if (g(n))
|
|
75
82
|
for (let i = 0; i < n.length; i++) {
|
|
76
83
|
const o = P(n[i]);
|
|
77
84
|
o && t.push(o);
|
|
@@ -128,7 +135,7 @@ function ee(e) {
|
|
|
128
135
|
};
|
|
129
136
|
return n.cancel = () => cancelAnimationFrame(t), n;
|
|
130
137
|
}
|
|
131
|
-
const
|
|
138
|
+
const p = {
|
|
132
139
|
videoAllowType: [
|
|
133
140
|
"mp4",
|
|
134
141
|
"webm",
|
|
@@ -161,7 +168,7 @@ const g = {
|
|
|
161
168
|
let n, i = 0;
|
|
162
169
|
for (; i < r; i += 1)
|
|
163
170
|
for (n in e[i])
|
|
164
|
-
|
|
171
|
+
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] = {
|
|
165
172
|
...t[n],
|
|
166
173
|
...e[i][n]
|
|
167
174
|
} : t[n] = e[i][n]);
|
|
@@ -175,7 +182,7 @@ function S(e, t, r, n) {
|
|
|
175
182
|
return !1;
|
|
176
183
|
let i, o, c;
|
|
177
184
|
if (Array.isArray(e)) {
|
|
178
|
-
if (i = e.length, i
|
|
185
|
+
if (i = e.length, i != t.length)
|
|
179
186
|
return !1;
|
|
180
187
|
for (o = i; o-- !== 0; )
|
|
181
188
|
if (!S(e[o], t[o], r, n))
|
|
@@ -202,7 +209,7 @@ function S(e, t, r, n) {
|
|
|
202
209
|
return !0;
|
|
203
210
|
}
|
|
204
211
|
if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
|
|
205
|
-
if (i = e.length, i
|
|
212
|
+
if (i = e.length, i != t.length)
|
|
206
213
|
return !1;
|
|
207
214
|
for (o = i; o-- !== 0; )
|
|
208
215
|
if (e[o] !== t[o])
|
|
@@ -244,24 +251,24 @@ function z(e) {
|
|
|
244
251
|
}
|
|
245
252
|
const H = (e) => e.length === 1 && z(e == null ? void 0 : e[0]);
|
|
246
253
|
function oe(e) {
|
|
247
|
-
if (e &&
|
|
248
|
-
const t = H(e) ?
|
|
249
|
-
return
|
|
254
|
+
if (e && g(e)) {
|
|
255
|
+
const t = H(e) ? g(e[0].children) ? e[0].children : [] : e;
|
|
256
|
+
return g(t) ? t : [];
|
|
250
257
|
}
|
|
251
258
|
return e || [];
|
|
252
259
|
}
|
|
253
260
|
function ce(e, t, r = "default") {
|
|
254
|
-
return t[r] === !1 ? !1 :
|
|
261
|
+
return t[r] === !1 ? !1 : O(t[r]) && t[r] ? (e == null ? void 0 : e[r]) || t[r] : t[r] || e[r];
|
|
255
262
|
}
|
|
256
263
|
function k(e, t, r = "default") {
|
|
257
264
|
var n, i;
|
|
258
|
-
return t[r] === !1 ? !1 :
|
|
265
|
+
return t[r] === !1 ? !1 : O(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));
|
|
259
266
|
}
|
|
260
267
|
function ue(e, t, r) {
|
|
261
268
|
const n = {};
|
|
262
269
|
return e.forEach((i) => {
|
|
263
270
|
const o = k(t, r, i);
|
|
264
|
-
(
|
|
271
|
+
(O(o) || o) && (n[i] = o);
|
|
265
272
|
}), n;
|
|
266
273
|
}
|
|
267
274
|
const fe = ({ suffixCls: e, customizePrefixCls: t, isPor: r, className: n }) => {
|
|
@@ -312,12 +319,12 @@ function me(e = [], t, r = "children") {
|
|
|
312
319
|
return c = u ? (u - 1) * f + (o + 1) : o + 1, i[r] && (i[r] = n(`${c}`, i[r])), i.sortIndex = c, i;
|
|
313
320
|
});
|
|
314
321
|
}
|
|
315
|
-
function
|
|
322
|
+
function ge(e, t, r, n) {
|
|
316
323
|
const i = e[r], o = t[r];
|
|
317
324
|
let c = 0;
|
|
318
325
|
return i < o ? c = n === 0 ? -1 : 0 : i > o && (c = n === 0 ? 0 : -1), c;
|
|
319
326
|
}
|
|
320
|
-
function
|
|
327
|
+
function pe(e) {
|
|
321
328
|
let t = b(e);
|
|
322
329
|
const r = new Set(t);
|
|
323
330
|
return t = Array.from(r), t;
|
|
@@ -405,7 +412,7 @@ function ve(e) {
|
|
|
405
412
|
n.readAsDataURL(e), n.onload = () => t(n.result), n.onerror = (i) => r(i);
|
|
406
413
|
});
|
|
407
414
|
}
|
|
408
|
-
function
|
|
415
|
+
function Ae(e) {
|
|
409
416
|
const t = e.split(","), r = t[0].match(/:(.*?);/)[1], n = atob(t[1]);
|
|
410
417
|
let i = n.length;
|
|
411
418
|
const o = new Uint8Array(i);
|
|
@@ -413,7 +420,7 @@ function Oe(e) {
|
|
|
413
420
|
o[i] = n.charCodeAt(i);
|
|
414
421
|
return new Blob([o], { type: r });
|
|
415
422
|
}
|
|
416
|
-
function
|
|
423
|
+
function Oe(e, t) {
|
|
417
424
|
const r = e.split(","), n = r[0].match(/:(.*?);/)[1], i = atob(r[1]);
|
|
418
425
|
let o = i.length;
|
|
419
426
|
const c = new Uint8Array(o);
|
|
@@ -428,7 +435,7 @@ function _(e = "") {
|
|
|
428
435
|
const t = e.indexOf("?");
|
|
429
436
|
return t > 0 ? `${e.substring(0, t)}` : e;
|
|
430
437
|
}
|
|
431
|
-
function
|
|
438
|
+
function A(e = "") {
|
|
432
439
|
e = _(e);
|
|
433
440
|
const t = e.lastIndexOf(".");
|
|
434
441
|
return t > 0 ? `${e.substring(t).split("?")[0]}`.split(".")[1] : "";
|
|
@@ -439,7 +446,7 @@ function m(e, t) {
|
|
|
439
446
|
if (!e || e === "data:")
|
|
440
447
|
return "4";
|
|
441
448
|
let r = "4";
|
|
442
|
-
return E(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 =
|
|
449
|
+
return E(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 = A(e).toLowerCase(), p.imageType.includes(r) ? "1" : p.videoType.includes(r) ? "3" : p.audioType.includes(r) ? "2" : "4";
|
|
443
450
|
}
|
|
444
451
|
function J(e) {
|
|
445
452
|
const { url: t = "", fileType: r = "1" } = e;
|
|
@@ -469,7 +476,7 @@ function J(e) {
|
|
|
469
476
|
async function Ee(e) {
|
|
470
477
|
const { url: t = "", currentTime: r, videoSuffix: n = "", vidoeAllowPlay: i = !1 } = e;
|
|
471
478
|
let o = "", c = n, u = "1", f;
|
|
472
|
-
return t instanceof File ? (o = URL.createObjectURL(t), c =
|
|
479
|
+
return t instanceof File ? (o = URL.createObjectURL(t), c = A(t.name), u = m(t.name)) : t instanceof Blob ? (o = URL.createObjectURL(t), u = m(t)) : E(t) ? (o = t, u = m(t)) : (t.includes("https") || t.includes("http")) && (o = t, c = A(t), u = m(t)), (c ? p.videoAllowType.includes(c.toLowerCase()) : !1) ? i ? R(o, r) : (f = await J({
|
|
473
480
|
url: o,
|
|
474
481
|
fileType: u
|
|
475
482
|
}), f.play ? R(o, r) : new Promise((l) => {
|
|
@@ -509,20 +516,20 @@ function je(e, t, r, n = !1) {
|
|
|
509
516
|
e && t && r && e.removeEventListener(t, r, n);
|
|
510
517
|
}
|
|
511
518
|
export {
|
|
512
|
-
|
|
519
|
+
pe as arrayRepeat,
|
|
513
520
|
be as blobToDataURL,
|
|
514
521
|
m as checkFileType,
|
|
515
522
|
P as classNames,
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
523
|
+
ge as compareArray,
|
|
524
|
+
Ae as dataURLtoBlob,
|
|
525
|
+
Oe as dataURLtoFile,
|
|
519
526
|
b as deepCopy,
|
|
520
527
|
we as formatDuraton,
|
|
521
528
|
le as genColumnKey,
|
|
522
529
|
R as generateVidoePicture,
|
|
523
530
|
ve as getBase64,
|
|
524
531
|
Se as getBlobUrl,
|
|
525
|
-
|
|
532
|
+
A as getFileSuffix,
|
|
526
533
|
W as getLevelData,
|
|
527
534
|
ye as getMaxFloor,
|
|
528
535
|
J as getMediaInfos,
|
|
@@ -537,14 +544,14 @@ export {
|
|
|
537
544
|
me as getSortIndex,
|
|
538
545
|
Ee as getVideoCoverPicture,
|
|
539
546
|
_ as getVideoFileUrl,
|
|
540
|
-
|
|
547
|
+
p as globalConfig,
|
|
541
548
|
de as handleCurrentPage,
|
|
542
549
|
se as handleShowIndex,
|
|
543
550
|
he as hanndleField,
|
|
544
551
|
j as is,
|
|
545
|
-
|
|
552
|
+
g as isArray,
|
|
546
553
|
E as isBase64,
|
|
547
|
-
|
|
554
|
+
O as isBoolean,
|
|
548
555
|
ne as isBrowser,
|
|
549
556
|
S as isDeepEqualReact,
|
|
550
557
|
z as isEmptySlot,
|
package/dist/pro-utils.umd.cjs
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
(function(c,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],g):(c=typeof globalThis<"u"?globalThis:c||self,g(c.PorUtils={},c.vue))})(this,function(c,g){"use strict";const m=typeof window>"u";process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const z=e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))},k=/-(\w)/g,q=z(e=>e.replace(k,(t,i)=>i?i.toUpperCase():"")),T=function(e,t){var i;if(m||!e||!t)return"";t=q(t),t==="float"&&(t="cssFloat");try{const n=e.style[t];if(n)return n;const r=(i=document==null?void 0:document.defaultView)==null?void 0:i.getComputedStyle(e,"");return r?r[t]:""}catch{return e.style[t]}},U=(e,t)=>m?void 0:(t==null?T(e,"overflow"):t?T(e,"overflow-y"):T(e,"overflow-x")).match(/(scroll|auto|overlay)/),H=(e,t)=>{if(m)return;let i=e;for(;i;){if([window,document,document.documentElement].includes(i))return window;if(U(i,t))return i;i=i.parentNode}return i},W=(e,t)=>{if(m||!e||!t)return!1;const i=e.getBoundingClientRect();let n;return[window,document,document.documentElement,null,void 0].includes(t)?n={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:n=t.getBoundingClientRect(),i.top<n.bottom&&i.bottom>n.top&&i.right>n.left&&i.left<n.right},_=Object.prototype.toString;function j(e,t){return _.call(e)===`[object ${t}]`}function p(e){return j(e,"Boolean")}function J(e){return typeof e=="number"}function h(e){return typeof Array.isArray>"u"?Object.prototype.toString.call(e)==="[object Array]":Array.isArray(e)}function y(e){return e!==null&&j(e,"Object")}function B(e){return typeof e=="string"||e instanceof String}function X(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Function]"}function C(...e){const t=[];for(let i=0;i<e.length;i++){const n=e[i];if(n){if(B(n))t.push(n);else if(h(n))for(let r=0;r<n.length;r++){const o=C(n[r]);o&&t.push(o)}else if(y(n))for(const r in n)n[r]&&t.push(r)}}return t.filter(i=>i).join(" ")}let Y=0;const s={};function v(e,t=1){const i=Y++;let n=t;function r(){n-=1,n<=0?(e(),delete s[i]):s[i]=requestAnimationFrame(r)}return s[i]=requestAnimationFrame(r),i}v.cancel=function(t){t!==void 0&&(cancelAnimationFrame(s[t]),delete s[t])},v.ids=s;function E(e){return e!=null&&e===e.window}function D(e,t){var r;if(typeof window>"u")return 0;const i=t?"scrollTop":"scrollLeft";let n=0;return E(e)?n=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?n=e.documentElement[i]:e&&(n=e[i]),e&&!E(e)&&typeof n!="number"&&(n=(r=(e.ownerDocument||e).documentElement)==null?void 0:r[i]),n}function G(e,t,i,n){const r=i-t;return e/=n/2,e<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}function Q(e,t={}){const{getContainer:i=()=>window,callback:n,duration:r=450}=t,o=i(),u=D(o,!0),f=Date.now(),l=()=>{const a=Date.now()-f,d=G(a>r?r:a,u,e,r);E(o)?o.scrollTo(window.pageXOffset,d):o instanceof HTMLDocument||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=d:o.scrollTop=d,a<r?v(l):typeof n=="function"&&n()};v(l)}function Z(e){let t;const i=r=>()=>{t=null,e(...r)},n=(...r)=>{t==null&&(t=requestAnimationFrame(i(r)))};return n.cancel=()=>cancelAnimationFrame(t),n}const w={videoAllowType:["mp4","webm","ogg"],audioAllowType:["mp3"],imageType:["bmp","png","gif","jpg","jpeg","psd","tif"],videoType:["mp4","swf","rmvb","avi","flv","mpg","rm","mov","asf","3gp","mkv","ts","f4v","webm","m4v","3g2","m3u8"],audioType:["mp3","mpeg","aac","wav","wma","mp2","flac","midi","ra","ape","aac","cda"]},K=(...e)=>{const t={},i=e.length;let n,r=0;for(;r<i;r+=1)for(n in e[r])Object.prototype.hasOwnProperty.call(e[r],n)&&(typeof t[n]=="object"&&typeof e[r][n]=="object"&&t[n]!==void 0&&t[n]!==null&&!Array.isArray(t[n])&&!Array.isArray(e[r][n])?t[n]={...t[n],...e[r][n]}:t[n]=e[r][n]);return t};function b(e,t,i,n){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,o,u;if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!b(e[o],t[o],i,n))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!b(o[1],t.get(o[0]),i,n))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&e.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&e.toString)return e.toString()===t.toString();if(u=Object.keys(e),r=u.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,u[o]))return!1;for(o=r;o--!==0;){const f=u[o];if(!(i!=null&&i.includes(f))&&!(f==="_owner"&&e.$$typeof)&&!b(e[f],t[f],i,n))return n&&console.log(f),!1}return!0}return e!==e&&t!==t}const ee=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,te=()=>process.env.NODE_ENV==="TEST"?!0:typeof window<"u"&&typeof window.document<"u"&&typeof window.matchMedia<"u"&&!ee,ne=e=>{if(e&&e!==!0)return e},ie=e=>{const t={};if(Object.keys(e||{}).forEach(i=>{e[i]!==void 0&&(t[i]=e[i])}),!(Object.keys(t).length<1))return t};function I(e){return g.isVNode(e)?String(e.type)==="template"||String(e.type)===String(Symbol("Comment"))||String(e.type)===String(Symbol("Fragment"))||String(e.type)===String(Symbol("v-fgt"))||String(e.type)===String(Symbol("v-cmt"))||String(e.type)===String(Symbol()):!0}const P=e=>e.length===1&&I(e==null?void 0:e[0]);function re(e){if(e&&h(e)){const t=P(e)?h(e[0].children)?e[0].children:[]:e;return h(t)?t:[]}return e||[]}function oe(e,t,i="default"){return t[i]===!1?!1:p(t[i])&&t[i]?(e==null?void 0:e[i])||t[i]:t[i]||e[i]}function x(e,t,i="default"){var n,r;return t[i]===!1?!1:p(t[i])&&t[i]?((n=e==null?void 0:e[i])==null?void 0:n.call(e))||t[i]:t[i]||((r=e[i])==null?void 0:r.call(e))}function ce(e,t,i){const n={};return e.forEach(r=>{const o=x(t,i,r);(p(o)||o)&&(n[r]=o)}),n}const ue=({suffixCls:e,customizePrefixCls:t,isPor:i,className:n})=>{const r=n||(i?"gx-pro":"gx");return t||(e?`${r}-${e}`:r)},fe=(e,t)=>e?Array.isArray(e)?e.join("-"):e.toString():`${t}`;function le(e,{align:t,showIndex:i}){const n=A(e);if(i&&e.length&&e.every(r=>r.dataIndex!=="sortIndex")){const r=e[0];n.unshift({title:"序号",align:t,fixed:r.fixed,width:60,uuid:N().uuid(15),dataIndex:"sortIndex",key:"sortIndex"})}else n.filter(r=>r.dataIndex!=="sortIndex");return n}function ae(e,...t){return typeof e=="function"?e(...t):e}function A(e){return JSON.parse(JSON.stringify(e))}function se(e,t){if(y(e)){const{pageSize:i=10,total:n=0}=e;let{current:r=1}=e;return n-t<=i*(r-1)&&(r=r-1),r===0?1:r}return 1}function de(e=[],t,i="children"){function n(r,o){return o.map((u,f)=>{const l=`${r}-${f+1}`;return u[i]&&(u[i]=n(l,u[i])),u.sortIndex=l,u})}return A(e).map((r,o)=>{let u=o;const f=y(t)&&t.current||1,l=y(t)&&t.pageSize||10;return u=f?(f-1)*l+(o+1):o+1,r[i]&&(r[i]=n(`${u}`,r[i])),r.sortIndex=u,r})}function ge(e,t,i,n){const r=e[i],o=t[i];let u=0;return r<o?u=n===0?-1:0:r>o&&(u=n===0?0:-1),u}function me(e){let t=A(e);const i=new Set(t);return t=Array.from(i),t}function he(e,t){const i=["null","undefined"];let n=!0;return e===0?n=!0:i.includes(e)?n=!1:e||(n=!1),n?{value:e,success:n}:{value:t===""?t:t||"-",success:n}}function ye(e){let t="";if(e>-1){const i=Math.floor(e/3600),n=Math.floor(e/60)%60,r=Number.parseInt(String(e%60));i<10?t="0"+i+":":t=i+":",n<10&&(t+="0"),t+=n+":",r<10&&(t+="0"),t+=r}return t.split(":")[0]==="00"?`${t.split(":")[1]}:${t.split(":")[2]}`:t}function N(){const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");return{uuid(t,i){const n=e,r=[],o=i||n.length;let u,f;if(t)for(u=0;u<t;u+=1)r[u]=n[Number.parseInt(String(Math.random()*o))];else for(r[8]="-",r[13]="-",r[18]="-",r[23]="-",r[14]="4",u=0;u<36;u+=1)r[u]||(f=Math.random()*16,r[u]=n[u===19?f&&3||8:f]);return r.join("")},uuidFast(){const t=e,i=Array.from({length:36});let n=0,r,o;for(o=0;o<36;o+=1)o===8||o===13||o===18||o===23?i[o]="-":o===14?i[o]="4":(n<=2&&(n=33554432+Math.random()*16777216||0),r=n&&15,n=n>4,i[o]=t[o===19?r&&3||8:r]);return i.join("")},uuidString(){return this.uuidFast().replace(new RegExp("-","g"),"")},uuidCompact(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const i=Math.random()*16||0;return(t==="x"?i:i&&3||8).toString(16)})}}}function we(e=[]){let t=0;function i(n=[],r){n.forEach(o=>{o.floor=r,r>t&&(t=r),o.children&&o.children.length>0&&i(o.children,r+1)})}return i(e,1),t}function M(e,t="children"){let i=[];return e.forEach(n=>{i.push(n),n[t]&&n[t].length>0&&(i=i.concat(M(n[t])))}),i}function Se(e,t,i,n,r){t=t||"id",i=i||"parentId",n=n||"children",r=r||0;const o=JSON.parse(JSON.stringify(e));return o.filter(u=>{const f=o.filter(l=>u[t]===l[i||"parentId"]);return f.length>0?u[n||"children"]=f:delete u[n||"children"],u[i||"parentId"]===r})}function pe(e){return URL.createObjectURL(e)}function ve(e){return new Promise((t,i)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(n.result),n.onerror=r=>i(r)})}function be(e){const t=e.split(","),i=t[0].match(/:(.*?);/)[1],n=atob(t[1]);let r=n.length;const o=new Uint8Array(r);for(;r--;)o[r]=n.charCodeAt(r);return new Blob([o],{type:i})}function Ae(e,t){const i=e.split(","),n=i[0].match(/:(.*?);/)[1],r=atob(i[1]);let o=r.length;const u=new Uint8Array(o);for(;o--;)u[o]=r.charCodeAt(o);return new File([u],t,{type:n})}function Oe(e,t,i){return new window.File([e],t,{type:i})}function V(e=""){const t=e.indexOf("?");return t>0?`${e.substring(0,t)}`:e}function O(e=""){e=V(e);const t=e.lastIndexOf(".");return t>0?`${e.substring(t).split("?")[0]}`.split(".")[1]:""}function S(e,t){if(t)return t;if(!e||e==="data:")return"4";let i="4";return F(e)?e.includes("data:image/")?i="png":e.includes("data:video/")?i="mp4":e.includes("data:audio/")&&(i="mp3"):e instanceof Blob?(e=String(e),e.includes("image")?i="png":e.includes("video")?i="mp4":e.includes("audio")&&(i="mp3")):i=O(e).toLowerCase(),w.imageType.includes(i)?"1":w.videoType.includes(i)?"3":w.audioType.includes(i)?"2":"4"}function $(e){const{url:t="",fileType:i="1"}=e;let n="";return t instanceof File?n=URL.createObjectURL(t):F(t)?n=t:t instanceof Blob?n=URL.createObjectURL(t):(t.includes("https")||t.includes("http"))&&(n=t),new Promise(r=>{let o;i==="1"?(o=document.createElement("img"),o.src=n):i==="2"?(o=document.createElement("audio"),o.src=n):i==="3"&&(o=document.createElement("video"),o.src=n),i==="1"?o.onload=function(){r({play:!0,width:o.width||0,height:o.height||0}),o=null}:o.oncanplay=function(){r({play:!0,duration:o.duration,width:(o==null?void 0:o.videoWidth)||0,height:(o==null?void 0:o.videoHeight)||0}),o=null},o.onerror=function(){r({play:!1}),o=null}})}async function Fe(e){const{url:t="",currentTime:i,videoSuffix:n="",vidoeAllowPlay:r=!1}=e;let o="",u=n,f="1",l;return t instanceof File?(o=URL.createObjectURL(t),u=O(t.name),f=S(t.name)):t instanceof Blob?(o=URL.createObjectURL(t),f=S(t)):F(t)?(o=t,f=S(t)):(t.includes("https")||t.includes("http"))&&(o=t,u=O(t),f=S(t)),(u?w.videoAllowType.includes(u.toLowerCase()):!1)?r?L(o,i):(l=await $({url:o,fileType:f}),l.play?L(o,i):new Promise(a=>{a("")})):new Promise(a=>{a("")})}async function L(e,t=0){return new Promise(i=>{let n=document.createElement("video");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(){let r;n==null||n.addEventListener("seeked",async function(){r&&r()});const o=(n==null?void 0:n.duration)||0;for(;t<o;){n&&(n.currentTime=t),await new Promise(je=>r=je);const u=document.createElement("canvas"),f=.8,l=u.getContext("2d"),R=(n==null?void 0:n.videoWidth)||0*f,a=(n==null?void 0:n.videoHeight)||0*f,d=0;u.width=(n==null?void 0:n.videoWidth)||0*f,u.height=(n==null?void 0:n.videoHeight)||0*f,l.drawImage(n,0,0,R+d,a+d),n=null,i(R===0||a===0?"":u.toDataURL("image/png",1))}})})}function F(e=""){return!!(e&&["data:image/","data:video/","data:audio/"].find(i=>e.includes(i)))}function Re(e,t,i,n=!1){e&&t&&i&&e.addEventListener(t,i,n)}function Te(e,t,i,n=!1){e&&t&&i&&e.removeEventListener(t,i,n)}c.arrayRepeat=me,c.blobToDataURL=Oe,c.checkFileType=S,c.classNames=C,c.compareArray=ge,c.dataURLtoBlob=be,c.dataURLtoFile=Ae,c.deepCopy=A,c.formatDuraton=ye,c.genColumnKey=fe,c.generateVidoePicture=L,c.getBase64=ve,c.getBlobUrl=pe,c.getFileSuffix=O,c.getLevelData=M,c.getMaxFloor=we,c.getMediaInfos=$,c.getPrefixCls=ue,c.getRandomNumber=N,c.getRealVNode=re,c.getScroll=D,c.getScrollContainer=H,c.getSlot=oe,c.getSlotVNode=x,c.getSlotsProps=ce,c.getSortIndex=de,c.getVideoCoverPicture=Fe,c.getVideoFileUrl=V,c.globalConfig=w,c.handleCurrentPage=se,c.handleShowIndex=le,c.hanndleField=he,c.is=j,c.isArray=h,c.isBase64=F,c.isBoolean=p,c.isBrowser=te,c.isDeepEqualReact=b,c.isEmptySlot=I,c.isFunction=X,c.isInContainer=W,c.isNumber=J,c.isObject=y,c.isScroll=U,c.isServer=m,c.isSlotFragment=P,c.isString=B,c.merge=K,c.off=Te,c.omitBoolean=ne,c.omitUndefined=ie,c.on=Re,c.runFunction=ae,c.scrollTo=Q,c.throttleByAnimationFrame=Z,c.treeData=Se,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(c,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],g):(c=typeof globalThis<"u"?globalThis:c||self,g(c.PorUtils={},c.vue))})(this,function(c,g){"use strict";const m=typeof window>"u";/**
|
|
2
|
+
* @vue/shared v3.5.1
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const z=e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))},k=/-(\w)/g,q=z(e=>e.replace(k,(t,i)=>i?i.toUpperCase():"")),T=function(e,t){var i;if(m||!e||!t)return"";t=q(t),t==="float"&&(t="cssFloat");try{const n=e.style[t];if(n)return n;const r=(i=document==null?void 0:document.defaultView)==null?void 0:i.getComputedStyle(e,"");return r?r[t]:""}catch{return e.style[t]}},U=(e,t)=>m?void 0:(t==null?T(e,"overflow"):t?T(e,"overflow-y"):T(e,"overflow-x")).match(/(scroll|auto|overlay)/),H=(e,t)=>{if(m)return;let i=e;for(;i;){if([window,document,document.documentElement].includes(i))return window;if(U(i,t))return i;i=i.parentNode}return i},W=(e,t)=>{if(m||!e||!t)return!1;const i=e.getBoundingClientRect();let n;return[window,document,document.documentElement,null,void 0].includes(t)?n={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:n=t.getBoundingClientRect(),i.top<n.bottom&&i.bottom>n.top&&i.right>n.left&&i.left<n.right},_=Object.prototype.toString;function E(e,t){return _.call(e)===`[object ${t}]`}function p(e){return E(e,"Boolean")}function J(e){return typeof e=="number"}function h(e){return typeof Array.isArray>"u"?Object.prototype.toString.call(e)==="[object Array]":Array.isArray(e)}function y(e){return e!==null&&E(e,"Object")}function B(e){return typeof e=="string"||e instanceof String}function X(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Function]"}function C(...e){const t=[];for(let i=0;i<e.length;i++){const n=e[i];if(n){if(B(n))t.push(n);else if(h(n))for(let r=0;r<n.length;r++){const o=C(n[r]);o&&t.push(o)}else if(y(n))for(const r in n)n[r]&&t.push(r)}}return t.filter(i=>i).join(" ")}let Y=0;const s={};function v(e,t=1){const i=Y++;let n=t;function r(){n-=1,n<=0?(e(),delete s[i]):s[i]=requestAnimationFrame(r)}return s[i]=requestAnimationFrame(r),i}v.cancel=function(t){t!==void 0&&(cancelAnimationFrame(s[t]),delete s[t])},v.ids=s;function j(e){return e!=null&&e===e.window}function D(e,t){var r;if(typeof window>"u")return 0;const i=t?"scrollTop":"scrollLeft";let n=0;return j(e)?n=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?n=e.documentElement[i]:e&&(n=e[i]),e&&!j(e)&&typeof n!="number"&&(n=(r=(e.ownerDocument||e).documentElement)==null?void 0:r[i]),n}function G(e,t,i,n){const r=i-t;return e/=n/2,e<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}function Q(e,t={}){const{getContainer:i=()=>window,callback:n,duration:r=450}=t,o=i(),u=D(o,!0),f=Date.now(),l=()=>{const a=Date.now()-f,d=G(a>r?r:a,u,e,r);j(o)?o.scrollTo(window.pageXOffset,d):o instanceof HTMLDocument||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=d:o.scrollTop=d,a<r?v(l):typeof n=="function"&&n()};v(l)}function Z(e){let t;const i=r=>()=>{t=null,e(...r)},n=(...r)=>{t==null&&(t=requestAnimationFrame(i(r)))};return n.cancel=()=>cancelAnimationFrame(t),n}const w={videoAllowType:["mp4","webm","ogg"],audioAllowType:["mp3"],imageType:["bmp","png","gif","jpg","jpeg","psd","tif"],videoType:["mp4","swf","rmvb","avi","flv","mpg","rm","mov","asf","3gp","mkv","ts","f4v","webm","m4v","3g2","m3u8"],audioType:["mp3","mpeg","aac","wav","wma","mp2","flac","midi","ra","ape","aac","cda"]},K=(...e)=>{const t={},i=e.length;let n,r=0;for(;r<i;r+=1)for(n in e[r])e[r].hasOwnProperty(n)&&(typeof t[n]=="object"&&typeof e[r][n]=="object"&&t[n]!==void 0&&t[n]!==null&&!Array.isArray(t[n])&&!Array.isArray(e[r][n])?t[n]={...t[n],...e[r][n]}:t[n]=e[r][n]);return t};function b(e,t,i,n){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,o,u;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!b(e[o],t[o],i,n))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!b(o[1],t.get(o[0]),i,n))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&e.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&e.toString)return e.toString()===t.toString();if(u=Object.keys(e),r=u.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,u[o]))return!1;for(o=r;o--!==0;){const f=u[o];if(!(i!=null&&i.includes(f))&&!(f==="_owner"&&e.$$typeof)&&!b(e[f],t[f],i,n))return n&&console.log(f),!1}return!0}return e!==e&&t!==t}const ee=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,te=()=>process.env.NODE_ENV==="TEST"?!0:typeof window<"u"&&typeof window.document<"u"&&typeof window.matchMedia<"u"&&!ee,ne=e=>{if(e&&e!==!0)return e},ie=e=>{const t={};if(Object.keys(e||{}).forEach(i=>{e[i]!==void 0&&(t[i]=e[i])}),!(Object.keys(t).length<1))return t};function I(e){return g.isVNode(e)?String(e.type)==="template"||String(e.type)===String(Symbol("Comment"))||String(e.type)===String(Symbol("Fragment"))||String(e.type)===String(Symbol("v-fgt"))||String(e.type)===String(Symbol("v-cmt"))||String(e.type)===String(Symbol()):!0}const P=e=>e.length===1&&I(e==null?void 0:e[0]);function re(e){if(e&&h(e)){const t=P(e)?h(e[0].children)?e[0].children:[]:e;return h(t)?t:[]}return e||[]}function oe(e,t,i="default"){return t[i]===!1?!1:p(t[i])&&t[i]?(e==null?void 0:e[i])||t[i]:t[i]||e[i]}function x(e,t,i="default"){var n,r;return t[i]===!1?!1:p(t[i])&&t[i]?((n=e==null?void 0:e[i])==null?void 0:n.call(e))||t[i]:t[i]||((r=e[i])==null?void 0:r.call(e))}function ce(e,t,i){const n={};return e.forEach(r=>{const o=x(t,i,r);(p(o)||o)&&(n[r]=o)}),n}const ue=({suffixCls:e,customizePrefixCls:t,isPor:i,className:n})=>{const r=n||(i?"gx-pro":"gx");return t||(e?`${r}-${e}`:r)},fe=(e,t)=>e?Array.isArray(e)?e.join("-"):e.toString():`${t}`;function le(e,{align:t,showIndex:i}){const n=A(e);if(i&&e.length&&e.every(r=>r.dataIndex!=="sortIndex")){const r=e[0];n.unshift({title:"序号",align:t,fixed:r.fixed,width:60,uuid:N().uuid(15),dataIndex:"sortIndex",key:"sortIndex"})}else n.filter(r=>r.dataIndex!=="sortIndex");return n}function ae(e,...t){return typeof e=="function"?e(...t):e}function A(e){return JSON.parse(JSON.stringify(e))}function se(e,t){if(y(e)){const{pageSize:i=10,total:n=0}=e;let{current:r=1}=e;return n-t<=i*(r-1)&&(r=r-1),r===0?1:r}return 1}function de(e=[],t,i="children"){function n(r,o){return o.map((u,f)=>{const l=`${r}-${f+1}`;return u[i]&&(u[i]=n(l,u[i])),u.sortIndex=l,u})}return A(e).map((r,o)=>{let u=o;const f=y(t)&&t.current||1,l=y(t)&&t.pageSize||10;return u=f?(f-1)*l+(o+1):o+1,r[i]&&(r[i]=n(`${u}`,r[i])),r.sortIndex=u,r})}function ge(e,t,i,n){const r=e[i],o=t[i];let u=0;return r<o?u=n===0?-1:0:r>o&&(u=n===0?0:-1),u}function me(e){let t=A(e);const i=new Set(t);return t=Array.from(i),t}function he(e,t){const i=["null","undefined"];let n=!0;return e===0?n=!0:i.includes(e)?n=!1:e||(n=!1),n?{value:e,success:n}:{value:t===""?t:t||"-",success:n}}function ye(e){let t="";if(e>-1){const i=Math.floor(e/3600),n=Math.floor(e/60)%60,r=Number.parseInt(String(e%60));i<10?t="0"+i+":":t=i+":",n<10&&(t+="0"),t+=n+":",r<10&&(t+="0"),t+=r}return t.split(":")[0]==="00"?`${t.split(":")[1]}:${t.split(":")[2]}`:t}function N(){const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");return{uuid(t,i){const n=e,r=[],o=i||n.length;let u,f;if(t)for(u=0;u<t;u+=1)r[u]=n[Number.parseInt(String(Math.random()*o))];else for(r[8]="-",r[13]="-",r[18]="-",r[23]="-",r[14]="4",u=0;u<36;u+=1)r[u]||(f=Math.random()*16,r[u]=n[u===19?f&&3||8:f]);return r.join("")},uuidFast(){const t=e,i=Array.from({length:36});let n=0,r,o;for(o=0;o<36;o+=1)o===8||o===13||o===18||o===23?i[o]="-":o===14?i[o]="4":(n<=2&&(n=33554432+Math.random()*16777216||0),r=n&&15,n=n>4,i[o]=t[o===19?r&&3||8:r]);return i.join("")},uuidString(){return this.uuidFast().replace(new RegExp("-","g"),"")},uuidCompact(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const i=Math.random()*16||0;return(t==="x"?i:i&&3||8).toString(16)})}}}function we(e=[]){let t=0;function i(n=[],r){n.forEach(o=>{o.floor=r,r>t&&(t=r),o.children&&o.children.length>0&&i(o.children,r+1)})}return i(e,1),t}function M(e,t="children"){let i=[];return e.forEach(n=>{i.push(n),n[t]&&n[t].length>0&&(i=i.concat(M(n[t])))}),i}function Se(e,t,i,n,r){t=t||"id",i=i||"parentId",n=n||"children",r=r||0;const o=JSON.parse(JSON.stringify(e));return o.filter(u=>{const f=o.filter(l=>u[t]===l[i||"parentId"]);return f.length>0?u[n||"children"]=f:delete u[n||"children"],u[i||"parentId"]===r})}function pe(e){return URL.createObjectURL(e)}function ve(e){return new Promise((t,i)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(n.result),n.onerror=r=>i(r)})}function be(e){const t=e.split(","),i=t[0].match(/:(.*?);/)[1],n=atob(t[1]);let r=n.length;const o=new Uint8Array(r);for(;r--;)o[r]=n.charCodeAt(r);return new Blob([o],{type:i})}function Ae(e,t){const i=e.split(","),n=i[0].match(/:(.*?);/)[1],r=atob(i[1]);let o=r.length;const u=new Uint8Array(o);for(;o--;)u[o]=r.charCodeAt(o);return new File([u],t,{type:n})}function Oe(e,t,i){return new window.File([e],t,{type:i})}function V(e=""){const t=e.indexOf("?");return t>0?`${e.substring(0,t)}`:e}function O(e=""){e=V(e);const t=e.lastIndexOf(".");return t>0?`${e.substring(t).split("?")[0]}`.split(".")[1]:""}function S(e,t){if(t)return t;if(!e||e==="data:")return"4";let i="4";return F(e)?e.includes("data:image/")?i="png":e.includes("data:video/")?i="mp4":e.includes("data:audio/")&&(i="mp3"):e instanceof Blob?(e=String(e),e.includes("image")?i="png":e.includes("video")?i="mp4":e.includes("audio")&&(i="mp3")):i=O(e).toLowerCase(),w.imageType.includes(i)?"1":w.videoType.includes(i)?"3":w.audioType.includes(i)?"2":"4"}function $(e){const{url:t="",fileType:i="1"}=e;let n="";return t instanceof File?n=URL.createObjectURL(t):F(t)?n=t:t instanceof Blob?n=URL.createObjectURL(t):(t.includes("https")||t.includes("http"))&&(n=t),new Promise(r=>{let o;i==="1"?(o=document.createElement("img"),o.src=n):i==="2"?(o=document.createElement("audio"),o.src=n):i==="3"&&(o=document.createElement("video"),o.src=n),i==="1"?o.onload=function(){r({play:!0,width:o.width||0,height:o.height||0}),o=null}:o.oncanplay=function(){r({play:!0,duration:o.duration,width:(o==null?void 0:o.videoWidth)||0,height:(o==null?void 0:o.videoHeight)||0}),o=null},o.onerror=function(){r({play:!1}),o=null}})}async function Fe(e){const{url:t="",currentTime:i,videoSuffix:n="",vidoeAllowPlay:r=!1}=e;let o="",u=n,f="1",l;return t instanceof File?(o=URL.createObjectURL(t),u=O(t.name),f=S(t.name)):t instanceof Blob?(o=URL.createObjectURL(t),f=S(t)):F(t)?(o=t,f=S(t)):(t.includes("https")||t.includes("http"))&&(o=t,u=O(t),f=S(t)),(u?w.videoAllowType.includes(u.toLowerCase()):!1)?r?L(o,i):(l=await $({url:o,fileType:f}),l.play?L(o,i):new Promise(a=>{a("")})):new Promise(a=>{a("")})}async function L(e,t=0){return new Promise(i=>{let n=document.createElement("video");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(){let r;n==null||n.addEventListener("seeked",async function(){r&&r()});const o=(n==null?void 0:n.duration)||0;for(;t<o;){n&&(n.currentTime=t),await new Promise(Ee=>r=Ee);const u=document.createElement("canvas"),f=.8,l=u.getContext("2d"),R=(n==null?void 0:n.videoWidth)||0*f,a=(n==null?void 0:n.videoHeight)||0*f,d=0;u.width=(n==null?void 0:n.videoWidth)||0*f,u.height=(n==null?void 0:n.videoHeight)||0*f,l.drawImage(n,0,0,R+d,a+d),n=null,i(R===0||a===0?"":u.toDataURL("image/png",1))}})})}function F(e=""){return!!(e&&["data:image/","data:video/","data:audio/"].find(i=>e.includes(i)))}function Re(e,t,i,n=!1){e&&t&&i&&e.addEventListener(t,i,n)}function Te(e,t,i,n=!1){e&&t&&i&&e.removeEventListener(t,i,n)}c.arrayRepeat=me,c.blobToDataURL=Oe,c.checkFileType=S,c.classNames=C,c.compareArray=ge,c.dataURLtoBlob=be,c.dataURLtoFile=Ae,c.deepCopy=A,c.formatDuraton=ye,c.genColumnKey=fe,c.generateVidoePicture=L,c.getBase64=ve,c.getBlobUrl=pe,c.getFileSuffix=O,c.getLevelData=M,c.getMaxFloor=we,c.getMediaInfos=$,c.getPrefixCls=ue,c.getRandomNumber=N,c.getRealVNode=re,c.getScroll=D,c.getScrollContainer=H,c.getSlot=oe,c.getSlotVNode=x,c.getSlotsProps=ce,c.getSortIndex=de,c.getVideoCoverPicture=Fe,c.getVideoFileUrl=V,c.globalConfig=w,c.handleCurrentPage=se,c.handleShowIndex=le,c.hanndleField=he,c.is=E,c.isArray=h,c.isBase64=F,c.isBoolean=p,c.isBrowser=te,c.isDeepEqualReact=b,c.isEmptySlot=I,c.isFunction=X,c.isInContainer=W,c.isNumber=J,c.isObject=y,c.isScroll=U,c.isServer=m,c.isSlotFragment=P,c.isString=B,c.merge=K,c.off=Te,c.omitBoolean=ne,c.omitUndefined=ie,c.on=Re,c.runFunction=ae,c.scrollTo=Q,c.throttleByAnimationFrame=Z,c.treeData=Se,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
|