ljs-tools 0.8.16 → 0.8.17

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/index.js CHANGED
@@ -3,13 +3,13 @@ var co = (e, n, r) => n in e ? lo(e, n, { enumerable: !0, configurable: !0, writ
3
3
  var St = (e, n, r) => (co(e, typeof n != "symbol" ? n + "" : n, r), r);
4
4
  import { getCurrentInstance as He, inject as Be, ref as ie, computed as H, unref as R, shallowRef as Rt, watchEffect as ba, readonly as uo, getCurrentScope as fo, onScopeDispose as _a, onMounted as qe, nextTick as Ee, watch as De, isRef as Ca, warn as xo, provide as bn, defineComponent as se, openBlock as $, createElementBlock as V, mergeProps as $t, renderSlot as me, createElementVNode as Y, toRef as n0, onUnmounted as vo, useAttrs as po, useSlots as Ea, normalizeClass as U, normalizeStyle as pe, createCommentVNode as ee, Fragment as $e, createBlock as re, withCtx as oe, resolveDynamicComponent as ke, withModifiers as Pt, createVNode as ve, toDisplayString as ce, onBeforeUnmount as Nt, Text as ho, reactive as Ba, h as mo, markRaw as r0, toRefs as go, resolveComponent as Se, Transition as _n, withDirectives as b0, withKeys as Wt, createTextVNode as Jt, vShow as _0, isVNode as Da, render as Aa, Teleport as wa, renderList as x0, pushScopeId as Cn, popScopeId as En } from "vue";
5
5
  const yo = () => {
6
- J.colorLog({ content: ["", "******************************************"] }), J.colorLog({ content: ["Core Dependencies:", "ljs-tools"] }), J.colorLog({ content: ["Author:", "LJS"] }), J.colorLog({ content: ["API", "https://ljs-y.github.io/ljs-vue3"], color: [
6
+ X.colorLog({ content: ["", "******************************************"] }), X.colorLog({ content: ["Core Dependencies:", "ljs-tools"] }), X.colorLog({ content: ["Author:", "LJS"] }), X.colorLog({ content: ["API", "https://ljs-y.github.io/ljs-vue3"], color: [
7
7
  "background: #666666; color: #fff; border-radius: 4px 0 0 4px; padding: 3px 6px;",
8
8
  "background: #FFF; border: 1px solid #666666; color: #fff; border-radius: 0 4px 4px 0; padding: 2px 6px;"
9
- ] }), J.colorLog({ content: ["", "******************************************"] });
9
+ ] }), X.colorLog({ content: ["", "******************************************"] });
10
10
  };
11
11
  function Bn(e) {
12
- if (J.fieldCheck(e))
12
+ if (X.fieldCheck(e))
13
13
  return null;
14
14
  const n = {};
15
15
  let r = e.split("?");
@@ -30,13 +30,13 @@ function bo(e, n = location.search) {
30
30
  return e in t ? t[e] : null;
31
31
  }
32
32
  function _o(e, n = !0) {
33
- if (J.fieldCheck(e))
33
+ if (X.fieldCheck(e))
34
34
  return null;
35
35
  let r = e.lastIndexOf(".");
36
36
  return r === -1 ? null : (r = n ? r : r + 1, e.slice(r, e.length));
37
37
  }
38
38
  function Co(e, n = !1) {
39
- if (J.fieldCheck(e))
39
+ if (X.fieldCheck(e))
40
40
  return null;
41
41
  const r = e.lastIndexOf("/"), t = e.lastIndexOf("\\");
42
42
  let a = r > t ? r : t;
@@ -204,7 +204,7 @@ function Po(e, n) {
204
204
  t[a] = r[a];
205
205
  return t;
206
206
  }
207
- const J = {
207
+ const X = {
208
208
  fieldCheck: Bo,
209
209
  deepCopy: a0,
210
210
  getTreeParents: Ia,
@@ -225,7 +225,7 @@ function Mo(e) {
225
225
  r.address = t, e.commit("SET_menuNowOpen", r), e.commit("SET_menuOpenList", [r]);
226
226
  }
227
227
  function Pa({ data: e, value: n, key: r = "url" }) {
228
- const t = J.getTreeParents({ data: e, value: n, key: r }), a = [];
228
+ const t = X.getTreeParents({ data: e, value: n, key: r }), a = [];
229
229
  return t.forEach((i) => {
230
230
  const o = {
231
231
  title: i.title,
@@ -241,11 +241,11 @@ function Ma({ menuList: e }) {
241
241
  return {};
242
242
  let n = {};
243
243
  return e.forEach((r, t) => {
244
- t === 0 && (!J.fieldCheck(r.children) && r.children.length > 0 ? (r.open = !0, n = Ma({ menuList: r.children })) : n = r);
244
+ t === 0 && (!X.fieldCheck(r.children) && r.children.length > 0 ? (r.open = !0, n = Ma({ menuList: r.children })) : n = r);
245
245
  }), n;
246
246
  }
247
247
  function Ro({ store: e, path: n }) {
248
- const r = e.getters.menuList, t = J.handleTreeList(r), a = t.length;
248
+ const r = e.getters.menuList, t = X.handleTreeList(r), a = t.length;
249
249
  for (let i = 0; i < a; i++) {
250
250
  const o = t[i];
251
251
  if (o.url === n)
@@ -258,11 +258,11 @@ function zo({ store: e, run: n, path: r, query: t = {} }) {
258
258
  }
259
259
  function Ra({ store: e, run: n, menuObj: r, query: t }) {
260
260
  let a = e.getters.menuList;
261
- if (J.fieldCheck(r.children) && (r.children = []), r.children.length > 0) {
261
+ if (X.fieldCheck(r.children) && (r.children = []), r.children.length > 0) {
262
262
  if (r.open)
263
263
  r.open = !r.open;
264
264
  else {
265
- const i = J.getTreeParents({
265
+ const i = X.getTreeParents({
266
266
  data: a,
267
267
  value: r.menuId,
268
268
  key: "menuId"
@@ -271,7 +271,7 @@ function Ra({ store: e, run: n, menuObj: r, query: t }) {
271
271
  }
272
272
  e.commit("SET_menuList", a);
273
273
  } else {
274
- if (!J.fieldCheck(r.isFrame) && r.isFrame === !0) {
274
+ if (!X.fieldCheck(r.isFrame) && r.isFrame === !0) {
275
275
  za(r.url);
276
276
  return;
277
277
  }
@@ -281,7 +281,7 @@ function Ra({ store: e, run: n, menuObj: r, query: t }) {
281
281
  return;
282
282
  r.address = Pa({ data: e.getters.menuList, value: r.url });
283
283
  let l = r;
284
- if (r.choose = !r.choose, e.commit("SET_menuNowOpen", l), !J.fieldCheck(r.openType) && r.openType === "2") {
284
+ if (r.choose = !r.choose, e.commit("SET_menuNowOpen", l), X.fieldCheck(r.openType) || !X.fieldCheck(r.openType) && r.openType === "1") {
285
285
  const c = o.length;
286
286
  let s = !1;
287
287
  for (let u = 0; u < c; u++)
@@ -392,7 +392,7 @@ const ne = {
392
392
  averageNum: No
393
393
  };
394
394
  function le(e, n) {
395
- if (J.fieldCheck(e))
395
+ if (X.fieldCheck(e))
396
396
  return e;
397
397
  const r = new Date(e), t = n || "{y}-{m}-{d} {h}:{i}:{s}", a = {
398
398
  y: r.getFullYear(),
@@ -406,7 +406,7 @@ function le(e, n) {
406
406
  return t.replace(/{(y|m|d|h|i|s|MS)+}/g, (i, o) => a[o]);
407
407
  }
408
408
  function Vo(e, n, r = 0) {
409
- if (J.fieldCheck(e))
409
+ if (X.fieldCheck(e))
410
410
  return e;
411
411
  if (r === 0) {
412
412
  let t = new Date(e).getTime();
@@ -691,7 +691,7 @@ const as = {}, is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
691
691
  default: as
692
692
  }, Symbol.toStringTag, { value: "Module" })), os = /* @__PURE__ */ ns(is);
693
693
  var er;
694
- function X() {
694
+ function J() {
695
695
  return er || (er = 1, function(e, n) {
696
696
  (function(r, t) {
697
697
  e.exports = t();
@@ -1195,7 +1195,7 @@ var E0 = { exports: {} }, tr;
1195
1195
  function p0() {
1196
1196
  return tr || (tr = 1, function(e, n) {
1197
1197
  (function(r, t) {
1198
- e.exports = t(X());
1198
+ e.exports = t(J());
1199
1199
  })(j, function(r) {
1200
1200
  return function(t) {
1201
1201
  var a = r, i = a.lib, o = i.Base, l = i.WordArray, c = a.x64 = {};
@@ -1425,7 +1425,7 @@ var B0 = { exports: {} }, nr;
1425
1425
  function ss() {
1426
1426
  return nr || (nr = 1, function(e, n) {
1427
1427
  (function(r, t) {
1428
- e.exports = t(X());
1428
+ e.exports = t(J());
1429
1429
  })(j, function(r) {
1430
1430
  return function() {
1431
1431
  if (typeof ArrayBuffer == "function") {
@@ -1447,7 +1447,7 @@ var D0 = { exports: {} }, rr;
1447
1447
  function ls() {
1448
1448
  return rr || (rr = 1, function(e, n) {
1449
1449
  (function(r, t) {
1450
- e.exports = t(X());
1450
+ e.exports = t(J());
1451
1451
  })(j, function(r) {
1452
1452
  return function() {
1453
1453
  var t = r, a = t.lib, i = a.WordArray, o = t.enc;
@@ -1541,7 +1541,7 @@ var A0 = { exports: {} }, ar;
1541
1541
  function dt() {
1542
1542
  return ar || (ar = 1, function(e, n) {
1543
1543
  (function(r, t) {
1544
- e.exports = t(X());
1544
+ e.exports = t(J());
1545
1545
  })(j, function(r) {
1546
1546
  return function() {
1547
1547
  var t = r, a = t.lib, i = a.WordArray, o = t.enc;
@@ -1616,7 +1616,7 @@ var w0 = { exports: {} }, ir;
1616
1616
  function cs() {
1617
1617
  return ir || (ir = 1, function(e, n) {
1618
1618
  (function(r, t) {
1619
- e.exports = t(X());
1619
+ e.exports = t(J());
1620
1620
  })(j, function(r) {
1621
1621
  return function() {
1622
1622
  var t = r, a = t.lib, i = a.WordArray, o = t.enc;
@@ -1698,7 +1698,7 @@ var F0 = { exports: {} }, or;
1698
1698
  function ft() {
1699
1699
  return or || (or = 1, function(e, n) {
1700
1700
  (function(r, t) {
1701
- e.exports = t(X());
1701
+ e.exports = t(J());
1702
1702
  })(j, function(r) {
1703
1703
  return function(t) {
1704
1704
  var a = r, i = a.lib, o = i.WordArray, l = i.Hasher, c = a.algo, s = [];
@@ -1764,7 +1764,7 @@ var S0 = { exports: {} }, sr;
1764
1764
  function Na() {
1765
1765
  return sr || (sr = 1, function(e, n) {
1766
1766
  (function(r, t) {
1767
- e.exports = t(X());
1767
+ e.exports = t(J());
1768
1768
  })(j, function(r) {
1769
1769
  return function() {
1770
1770
  var t = r, a = t.lib, i = a.WordArray, o = a.Hasher, l = t.algo, c = [], s = l.SHA1 = o.extend({
@@ -1808,7 +1808,7 @@ var k0 = { exports: {} }, lr;
1808
1808
  function An() {
1809
1809
  return lr || (lr = 1, function(e, n) {
1810
1810
  (function(r, t) {
1811
- e.exports = t(X());
1811
+ e.exports = t(J());
1812
1812
  })(j, function(r) {
1813
1813
  return function(t) {
1814
1814
  var a = r, i = a.lib, o = i.WordArray, l = i.Hasher, c = a.algo, s = [], u = [];
@@ -1860,7 +1860,7 @@ var T0 = { exports: {} }, cr;
1860
1860
  function us() {
1861
1861
  return cr || (cr = 1, function(e, n) {
1862
1862
  (function(r, t, a) {
1863
- e.exports = t(X(), An());
1863
+ e.exports = t(J(), An());
1864
1864
  })(j, function(r) {
1865
1865
  return function() {
1866
1866
  var t = r, a = t.lib, i = a.WordArray, o = t.algo, l = o.SHA256, c = o.SHA224 = l.extend({
@@ -1890,7 +1890,7 @@ var I0 = { exports: {} }, ur;
1890
1890
  function Va() {
1891
1891
  return ur || (ur = 1, function(e, n) {
1892
1892
  (function(r, t, a) {
1893
- e.exports = t(X(), p0());
1893
+ e.exports = t(J(), p0());
1894
1894
  })(j, function(r) {
1895
1895
  return function() {
1896
1896
  var t = r, a = t.lib, i = a.Hasher, o = t.x64, l = o.Word, c = o.WordArray, s = t.algo;
@@ -2031,7 +2031,7 @@ var P0 = { exports: {} }, dr;
2031
2031
  function ds() {
2032
2032
  return dr || (dr = 1, function(e, n) {
2033
2033
  (function(r, t, a) {
2034
- e.exports = t(X(), p0(), Va());
2034
+ e.exports = t(J(), p0(), Va());
2035
2035
  })(j, function(r) {
2036
2036
  return function() {
2037
2037
  var t = r, a = t.x64, i = a.Word, o = a.WordArray, l = t.algo, c = l.SHA512, s = l.SHA384 = c.extend({
@@ -2061,7 +2061,7 @@ var M0 = { exports: {} }, fr;
2061
2061
  function fs() {
2062
2062
  return fr || (fr = 1, function(e, n) {
2063
2063
  (function(r, t, a) {
2064
- e.exports = t(X(), p0());
2064
+ e.exports = t(J(), p0());
2065
2065
  })(j, function(r) {
2066
2066
  return function(t) {
2067
2067
  var a = r, i = a.lib, o = i.WordArray, l = i.Hasher, c = a.x64, s = c.Word, u = a.algo, m = [], f = [], h = [];
@@ -2171,7 +2171,7 @@ var R0 = { exports: {} }, xr;
2171
2171
  function xs() {
2172
2172
  return xr || (xr = 1, function(e, n) {
2173
2173
  (function(r, t) {
2174
- e.exports = t(X());
2174
+ e.exports = t(J());
2175
2175
  })(j, function(r) {
2176
2176
  /** @preserve
2177
2177
  (c) 2012 by Cédric Mesnil. All rights reserved.
@@ -2564,7 +2564,7 @@ var z0 = { exports: {} }, vr;
2564
2564
  function wn() {
2565
2565
  return vr || (vr = 1, function(e, n) {
2566
2566
  (function(r, t) {
2567
- e.exports = t(X());
2567
+ e.exports = t(J());
2568
2568
  })(j, function(r) {
2569
2569
  (function() {
2570
2570
  var t = r, a = t.lib, i = a.Base, o = t.enc, l = o.Utf8, c = t.algo;
@@ -2642,7 +2642,7 @@ var $0 = { exports: {} }, pr;
2642
2642
  function vs() {
2643
2643
  return pr || (pr = 1, function(e, n) {
2644
2644
  (function(r, t, a) {
2645
- e.exports = t(X(), An(), wn());
2645
+ e.exports = t(J(), An(), wn());
2646
2646
  })(j, function(r) {
2647
2647
  return function() {
2648
2648
  var t = r, a = t.lib, i = a.Base, o = a.WordArray, l = t.algo, c = l.SHA256, s = l.HMAC, u = l.PBKDF2 = i.extend({
@@ -2709,7 +2709,7 @@ var L0 = { exports: {} }, hr;
2709
2709
  function nt() {
2710
2710
  return hr || (hr = 1, function(e, n) {
2711
2711
  (function(r, t, a) {
2712
- e.exports = t(X(), Na(), wn());
2712
+ e.exports = t(J(), Na(), wn());
2713
2713
  })(j, function(r) {
2714
2714
  return function() {
2715
2715
  var t = r, a = t.lib, i = a.Base, o = a.WordArray, l = t.algo, c = l.MD5, s = l.EvpKDF = i.extend({
@@ -2772,7 +2772,7 @@ var O0 = { exports: {} }, mr;
2772
2772
  function ue() {
2773
2773
  return mr || (mr = 1, function(e, n) {
2774
2774
  (function(r, t, a) {
2775
- e.exports = t(X(), nt());
2775
+ e.exports = t(J(), nt());
2776
2776
  })(j, function(r) {
2777
2777
  r.lib.Cipher || function(t) {
2778
2778
  var a = r, i = a.lib, o = i.Base, l = i.WordArray, c = i.BufferedBlockAlgorithm, s = a.enc;
@@ -3310,7 +3310,7 @@ var H0 = { exports: {} }, gr;
3310
3310
  function ps() {
3311
3311
  return gr || (gr = 1, function(e, n) {
3312
3312
  (function(r, t, a) {
3313
- e.exports = t(X(), ue());
3313
+ e.exports = t(J(), ue());
3314
3314
  })(j, function(r) {
3315
3315
  return r.mode.CFB = function() {
3316
3316
  var t = r.lib.BlockCipherMode.extend();
@@ -3340,7 +3340,7 @@ var N0 = { exports: {} }, yr;
3340
3340
  function hs() {
3341
3341
  return yr || (yr = 1, function(e, n) {
3342
3342
  (function(r, t, a) {
3343
- e.exports = t(X(), ue());
3343
+ e.exports = t(J(), ue());
3344
3344
  })(j, function(r) {
3345
3345
  return r.mode.CTR = function() {
3346
3346
  var t = r.lib.BlockCipherMode.extend(), a = t.Encryptor = t.extend({
@@ -3362,7 +3362,7 @@ var V0 = { exports: {} }, br;
3362
3362
  function ms() {
3363
3363
  return br || (br = 1, function(e, n) {
3364
3364
  (function(r, t, a) {
3365
- e.exports = t(X(), ue());
3365
+ e.exports = t(J(), ue());
3366
3366
  })(j, function(r) {
3367
3367
  /** @preserve
3368
3368
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
@@ -3401,7 +3401,7 @@ var q0 = { exports: {} }, _r;
3401
3401
  function gs() {
3402
3402
  return _r || (_r = 1, function(e, n) {
3403
3403
  (function(r, t, a) {
3404
- e.exports = t(X(), ue());
3404
+ e.exports = t(J(), ue());
3405
3405
  })(j, function(r) {
3406
3406
  return r.mode.OFB = function() {
3407
3407
  var t = r.lib.BlockCipherMode.extend(), a = t.Encryptor = t.extend({
@@ -3421,7 +3421,7 @@ var W0 = { exports: {} }, Cr;
3421
3421
  function ys() {
3422
3422
  return Cr || (Cr = 1, function(e, n) {
3423
3423
  (function(r, t, a) {
3424
- e.exports = t(X(), ue());
3424
+ e.exports = t(J(), ue());
3425
3425
  })(j, function(r) {
3426
3426
  return r.mode.ECB = function() {
3427
3427
  var t = r.lib.BlockCipherMode.extend();
@@ -3442,7 +3442,7 @@ var Y0 = { exports: {} }, Er;
3442
3442
  function bs() {
3443
3443
  return Er || (Er = 1, function(e, n) {
3444
3444
  (function(r, t, a) {
3445
- e.exports = t(X(), ue());
3445
+ e.exports = t(J(), ue());
3446
3446
  })(j, function(r) {
3447
3447
  return r.pad.AnsiX923 = {
3448
3448
  pad: function(t, a) {
@@ -3461,7 +3461,7 @@ var U0 = { exports: {} }, Br;
3461
3461
  function _s() {
3462
3462
  return Br || (Br = 1, function(e, n) {
3463
3463
  (function(r, t, a) {
3464
- e.exports = t(X(), ue());
3464
+ e.exports = t(J(), ue());
3465
3465
  })(j, function(r) {
3466
3466
  return r.pad.Iso10126 = {
3467
3467
  pad: function(t, a) {
@@ -3480,7 +3480,7 @@ var K0 = { exports: {} }, Dr;
3480
3480
  function Cs() {
3481
3481
  return Dr || (Dr = 1, function(e, n) {
3482
3482
  (function(r, t, a) {
3483
- e.exports = t(X(), ue());
3483
+ e.exports = t(J(), ue());
3484
3484
  })(j, function(r) {
3485
3485
  return r.pad.Iso97971 = {
3486
3486
  pad: function(t, a) {
@@ -3497,7 +3497,7 @@ var j0 = { exports: {} }, Ar;
3497
3497
  function Es() {
3498
3498
  return Ar || (Ar = 1, function(e, n) {
3499
3499
  (function(r, t, a) {
3500
- e.exports = t(X(), ue());
3500
+ e.exports = t(J(), ue());
3501
3501
  })(j, function(r) {
3502
3502
  return r.pad.ZeroPadding = {
3503
3503
  pad: function(t, a) {
@@ -3519,7 +3519,7 @@ var G0 = { exports: {} }, wr;
3519
3519
  function Bs() {
3520
3520
  return wr || (wr = 1, function(e, n) {
3521
3521
  (function(r, t, a) {
3522
- e.exports = t(X(), ue());
3522
+ e.exports = t(J(), ue());
3523
3523
  })(j, function(r) {
3524
3524
  return r.pad.NoPadding = {
3525
3525
  pad: function() {
@@ -3534,7 +3534,7 @@ var X0 = { exports: {} }, Fr;
3534
3534
  function Ds() {
3535
3535
  return Fr || (Fr = 1, function(e, n) {
3536
3536
  (function(r, t, a) {
3537
- e.exports = t(X(), ue());
3537
+ e.exports = t(J(), ue());
3538
3538
  })(j, function(r) {
3539
3539
  return function(t) {
3540
3540
  var a = r, i = a.lib, o = i.CipherParams, l = a.enc, c = l.Hex, s = a.format;
@@ -3581,7 +3581,7 @@ var J0 = { exports: {} }, Sr;
3581
3581
  function As() {
3582
3582
  return Sr || (Sr = 1, function(e, n) {
3583
3583
  (function(r, t, a) {
3584
- e.exports = t(X(), dt(), ft(), nt(), ue());
3584
+ e.exports = t(J(), dt(), ft(), nt(), ue());
3585
3585
  })(j, function(r) {
3586
3586
  return function() {
3587
3587
  var t = r, a = t.lib, i = a.BlockCipher, o = t.algo, l = [], c = [], s = [], u = [], m = [], f = [], h = [], d = [], x = [], v = [];
@@ -3641,7 +3641,7 @@ var Z0 = { exports: {} }, kr;
3641
3641
  function ws() {
3642
3642
  return kr || (kr = 1, function(e, n) {
3643
3643
  (function(r, t, a) {
3644
- e.exports = t(X(), dt(), ft(), nt(), ue());
3644
+ e.exports = t(J(), dt(), ft(), nt(), ue());
3645
3645
  })(j, function(r) {
3646
3646
  return function() {
3647
3647
  var t = r, a = t.lib, i = a.WordArray, o = a.BlockCipher, l = t.algo, c = [
@@ -4361,7 +4361,7 @@ var Q0 = { exports: {} }, Tr;
4361
4361
  function Fs() {
4362
4362
  return Tr || (Tr = 1, function(e, n) {
4363
4363
  (function(r, t, a) {
4364
- e.exports = t(X(), dt(), ft(), nt(), ue());
4364
+ e.exports = t(J(), dt(), ft(), nt(), ue());
4365
4365
  })(j, function(r) {
4366
4366
  return function() {
4367
4367
  var t = r, a = t.lib, i = a.StreamCipher, o = t.algo, l = o.RC4 = i.extend({
@@ -4415,7 +4415,7 @@ var en = { exports: {} }, Ir;
4415
4415
  function Ss() {
4416
4416
  return Ir || (Ir = 1, function(e, n) {
4417
4417
  (function(r, t, a) {
4418
- e.exports = t(X(), dt(), ft(), nt(), ue());
4418
+ e.exports = t(J(), dt(), ft(), nt(), ue());
4419
4419
  })(j, function(r) {
4420
4420
  return function() {
4421
4421
  var t = r, a = t.lib, i = a.StreamCipher, o = t.algo, l = [], c = [], s = [], u = o.Rabbit = i.extend({
@@ -4481,7 +4481,7 @@ var tn = { exports: {} }, Pr;
4481
4481
  function ks() {
4482
4482
  return Pr || (Pr = 1, function(e, n) {
4483
4483
  (function(r, t, a) {
4484
- e.exports = t(X(), dt(), ft(), nt(), ue());
4484
+ e.exports = t(J(), dt(), ft(), nt(), ue());
4485
4485
  })(j, function(r) {
4486
4486
  return function() {
4487
4487
  var t = r, a = t.lib, i = a.StreamCipher, o = t.algo, l = [], c = [], s = [], u = o.RabbitLegacy = i.extend({
@@ -4545,7 +4545,7 @@ var nn = { exports: {} }, Mr;
4545
4545
  function Ts() {
4546
4546
  return Mr || (Mr = 1, function(e, n) {
4547
4547
  (function(r, t, a) {
4548
- e.exports = t(X(), dt(), ft(), nt(), ue());
4548
+ e.exports = t(J(), dt(), ft(), nt(), ue());
4549
4549
  })(j, function(r) {
4550
4550
  return function() {
4551
4551
  var t = r, a = t.lib, i = a.BlockCipher, o = t.algo;
@@ -5665,7 +5665,7 @@ function Ts() {
5665
5665
  }
5666
5666
  (function(e, n) {
5667
5667
  (function(r, t, a) {
5668
- e.exports = t(X(), p0(), ss(), ls(), dt(), cs(), ft(), Na(), An(), us(), Va(), ds(), fs(), xs(), wn(), vs(), nt(), ue(), ps(), hs(), ms(), gs(), ys(), bs(), _s(), Cs(), Es(), Bs(), Ds(), As(), ws(), Fs(), Ss(), ks(), Ts());
5668
+ e.exports = t(J(), p0(), ss(), ls(), dt(), cs(), ft(), Na(), An(), us(), Va(), ds(), fs(), xs(), wn(), vs(), nt(), ue(), ps(), hs(), ms(), gs(), ys(), bs(), _s(), Cs(), Es(), Bs(), Ds(), As(), ws(), Fs(), Ss(), ks(), Ts());
5669
5669
  })(j, function(r) {
5670
5670
  return r;
5671
5671
  });
@@ -9318,7 +9318,7 @@ Vn.set = (e, n, r, t = 500) => {
9318
9318
  };
9319
9319
  };
9320
9320
  function Xf(e) {
9321
- if (J.fieldCheck(e))
9321
+ if (X.fieldCheck(e))
9322
9322
  return e;
9323
9323
  const n = e.length;
9324
9324
  if (n === 2)
@@ -9330,7 +9330,7 @@ function Xf(e) {
9330
9330
  return e;
9331
9331
  }
9332
9332
  function Jf(e, n = 4) {
9333
- if (J.fieldCheck(e))
9333
+ if (X.fieldCheck(e))
9334
9334
  return e;
9335
9335
  e = e + "";
9336
9336
  const r = e.length;
@@ -9361,7 +9361,7 @@ function Zf({
9361
9361
  maskChar: t = "*",
9362
9362
  maskLength: a = 4
9363
9363
  }) {
9364
- if (J.fieldCheck(e))
9364
+ if (X.fieldCheck(e))
9365
9365
  return e;
9366
9366
  if (!e || e.length < n + r)
9367
9367
  return e + t.repeat(a);
@@ -9905,7 +9905,7 @@ const Vi = /* @__PURE__ */ We(vx, [["render", mx], ["__scopeId", "data-v-5475b4d
9905
9905
  break;
9906
9906
  }
9907
9907
  }
9908
- }), this.date_type = e), !J.fieldCheck(this.date) && this.date.length === 2 && (this.opts.startDate = this.date[0], this.opts.endDate = this.date[1]), this.dateTypeF(this.dateType);
9908
+ }), this.date_type = e), !X.fieldCheck(this.date) && this.date.length === 2 && (this.opts.startDate = this.date[0], this.opts.endDate = this.date[1]), this.dateTypeF(this.dateType);
9909
9909
  },
9910
9910
  // 日期类型切换
9911
9911
  dateTypeF(e) {
@@ -9925,7 +9925,7 @@ const Vi = /* @__PURE__ */ We(vx, [["render", mx], ["__scopeId", "data-v-5475b4d
9925
9925
  this.opts.dateType = "year", this.opts.valueFormat = "YYYY";
9926
9926
  break;
9927
9927
  }
9928
- if (!J.fieldCheck(this.date) && this.date.length === 2) {
9928
+ if (!X.fieldCheck(this.date) && this.date.length === 2) {
9929
9929
  switch (this.dateSwitchRule === 0 ? r = [this.date[0], this.date[1]] : this.dateSwitchRule === 1 && (r = de.initSearchDateQj(this.opts.dateType)), e) {
9930
9930
  case this.dateTypeKeyValue[3]:
9931
9931
  this.opts.startDate = de.formatTime(r[0], "{y}-{m}-{d} {h}:{i}:{s}"), this.opts.endDate = de.formatTime(r[1], "{y}-{m}-{d} {h}:{i}:{s}");
@@ -10089,7 +10089,7 @@ const qi = /* @__PURE__ */ We(yx, [["render", Ex], ["__scopeId", "data-v-1e7c37e
10089
10089
  watch: {
10090
10090
  modelValue: {
10091
10091
  handler(e) {
10092
- !J.fieldCheck(this.modelValue) && this.modelValue.length >= 1 ? (this.opts.startDate = this.modelValue[0], this.opts.endDate = this.modelValue[1]) : (this.opts.startDate = null, this.opts.endDate = null);
10092
+ !X.fieldCheck(this.modelValue) && this.modelValue.length >= 1 ? (this.opts.startDate = this.modelValue[0], this.opts.endDate = this.modelValue[1]) : (this.opts.startDate = null, this.opts.endDate = null);
10093
10093
  },
10094
10094
  deep: !0,
10095
10095
  immediate: !0
@@ -10207,7 +10207,7 @@ function Sx(e, n = 30, r) {
10207
10207
  function kx(e, n, r, t) {
10208
10208
  if (t)
10209
10209
  n.tempDate = e.date;
10210
- else if (!J.fieldCheck(e.date) && e.date.length > 0 && !J.fieldCheck(e.date[0]) && !J.fieldCheck(e.date[1])) {
10210
+ else if (!X.fieldCheck(e.date) && e.date.length > 0 && !X.fieldCheck(e.date[0]) && !X.fieldCheck(e.date[1])) {
10211
10211
  let a = new Date(e.date[0]).getTime(), i = new Date(e.date[1]).getTime();
10212
10212
  Math.abs(a - i) / yt >= r && (n.tempDate[1] === e.date[1] ? e.date[1] = de.formatTime(a + yt * (r - 1), "{y}-{m}-{d}") : e.date[0] = de.formatTime(i - yt * (r - 1), "{y}-{m}-{d}"));
10213
10213
  }
@@ -10215,7 +10215,7 @@ function kx(e, n, r, t) {
10215
10215
  function Tx(e, n, r, t) {
10216
10216
  if (t)
10217
10217
  n.tempDate = e.date;
10218
- else if (!J.fieldCheck(e.date) && e.date.length > 0 && !J.fieldCheck(e.date[0]) && !J.fieldCheck(e.date[1])) {
10218
+ else if (!X.fieldCheck(e.date) && e.date.length > 0 && !X.fieldCheck(e.date[0]) && !X.fieldCheck(e.date[1])) {
10219
10219
  let a = new Date(e.date[0]).getTime(), i = new Date(e.date[1]).getTime();
10220
10220
  Math.abs(a - i) / yt >= r && (n.tempDate[0] === e.date[0] ? e.date[0] = de.formatTime(i - yt * (r - 1), "{y}-{m}-{d}") : e.date[1] = de.formatTime(a + yt * (r - 1), "{y}-{m}-{d}"));
10221
10221
  }
@@ -11106,14 +11106,14 @@ let It = null;
11106
11106
  function Qx(e, n = null, r) {
11107
11107
  if ("WebSocket" in window) {
11108
11108
  e = e1(e);
11109
- const t = J.fieldCheck(n) ? [] : [n];
11109
+ const t = X.fieldCheck(n) ? [] : [n];
11110
11110
  return It = new WebSocket(e, t), It.onopen = function() {
11111
- J.colorLog({ content: ["websocket", "已连接,正在接收数据...."] });
11111
+ X.colorLog({ content: ["websocket", "已连接,正在接收数据...."] });
11112
11112
  }, It.onmessage = function(a) {
11113
11113
  let i = a.data;
11114
11114
  r(JSON.parse(i));
11115
11115
  }, It.onclose = function() {
11116
- J.colorLog({ content: ["websocket", "已关闭!"] });
11116
+ X.colorLog({ content: ["websocket", "已关闭!"] });
11117
11117
  }, It;
11118
11118
  } else
11119
11119
  console.info("您的浏览器不支持 WebSocket!");
@@ -11262,7 +11262,7 @@ const r1 = {
11262
11262
  // html转pdf
11263
11263
  }, a1 = [
11264
11264
  { type: "function", name: "menu", entity: $a },
11265
- { type: "function", name: "base", entity: J },
11265
+ { type: "function", name: "base", entity: X },
11266
11266
  { type: "function", name: "num", entity: ne },
11267
11267
  { type: "function", name: "date", entity: de },
11268
11268
  { type: "function", name: "fc", entity: v0 },
@@ -11317,7 +11317,7 @@ const r1 = {
11317
11317
  LJSprivacy: Li,
11318
11318
  // 方法
11319
11319
  LJSmenu: $a,
11320
- LJSbase: J,
11320
+ LJSbase: X,
11321
11321
  LJSnum: ne,
11322
11322
  LJSdate: de,
11323
11323
  LJSfc: v0,