ss-component-new 1.3.263 → 1.3.265

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/{MTLLoader-Di_vHXvU.cjs → MTLLoader-BRfS13hK.cjs} +1 -1
  2. package/dist/{MTLLoader-CMHj3O6V.js → MTLLoader-D8VMNtGp.js} +1 -1
  3. package/dist/{OrbitControls-BafesYOu.js → OrbitControls-BvLzK-Di.js} +1 -1
  4. package/dist/{OrbitControls-Dm84cbvs.cjs → OrbitControls-BxF-qiPO.cjs} +1 -1
  5. package/dist/{URDFLoader-RpVi-sG9.js → URDFLoader-ConNNaVO.js} +2 -2
  6. package/dist/{URDFLoader-BbO2ANmG.cjs → URDFLoader-gjI3v2LR.cjs} +1 -1
  7. package/dist/{animationData-Dx5mlcwZ.cjs → animationData-BhJXWLhV.cjs} +1 -1
  8. package/dist/{animationData-U9Ahgu5Q.js → animationData-CJS9oyum.js} +3 -3
  9. package/dist/{array-eoEZosoh.js → array-CO-1w6WF.js} +94 -94
  10. package/dist/{array-Dran49KI.cjs → array-Do8KzaU2.cjs} +1 -1
  11. package/dist/clone-BP7V3hfh.cjs +1 -0
  12. package/dist/{clone-B213wVHW.js → clone-D7E5hREr.js} +1 -1
  13. package/dist/{eleIcon-CKmHXMMs.cjs → eleIcon-C11KaYQa.cjs} +1 -1
  14. package/dist/{eleIcon-B9v9qivK.js → eleIcon-Qs-IhlZG.js} +1 -1
  15. package/dist/{iconfont-Ad0qAXrD.js → iconfont-C1RXSbUW.js} +2 -2
  16. package/dist/{iconfont-CdUY4jGY.cjs → iconfont-DC_0E2eX.cjs} +1 -1
  17. package/dist/{index-C8iHedd-.cjs → index-7XL99-I7.cjs} +1 -1
  18. package/dist/{index-tR1QzToB.cjs → index-BFh4Zgbo.cjs} +1 -1
  19. package/dist/{index-BzcWcIFK.cjs → index-BJFdzcu-.cjs} +1 -1
  20. package/dist/{index-DZ3VfxFJ.js → index-BJQRsidd.js} +27 -27
  21. package/dist/{index-C3Ptg78M.cjs → index-BKrFs-sr.cjs} +1 -1
  22. package/dist/{index-4153BFWl.cjs → index-BO6uJOQU.cjs} +1 -1
  23. package/dist/{index-B1hvIsWF.cjs → index-BOiOA0aY.cjs} +1 -1
  24. package/dist/{index-BAfClAl7.cjs → index-BWFaeJP2.cjs} +1 -1
  25. package/dist/{index-CaefM49R.js → index-BZlTMv49.js} +308 -312
  26. package/dist/{index-8WGtmbRz.cjs → index-BbSn9a8D.cjs} +1 -1
  27. package/dist/{index-BNICiMKI.js → index-BfJGUzJg.js} +1 -1
  28. package/dist/{index-Cv-caPmS.js → index-Bkb9eoPQ.js} +3 -3
  29. package/dist/{index-BMKOhAua.js → index-BofZR5RH.js} +2 -2
  30. package/dist/{index-CWePfaws.js → index-Bpy_AyO6.js} +4177 -4096
  31. package/dist/{index-Cp4vuXJ2.js → index-BvSxcyl4.js} +1380 -1379
  32. package/dist/{index-DiRRa2aL.cjs → index-BzhbKt4T.cjs} +1 -1
  33. package/dist/{index-jU-5AL6b.cjs → index-C4Y7wcXY.cjs} +1 -1
  34. package/dist/{index-CPkQWJ4L.cjs → index-C595AB38.cjs} +1 -1
  35. package/dist/{index-CuXU0jDA.cjs → index-C8ao-G6c.cjs} +1 -1
  36. package/dist/{index-C6TMhjBL.js → index-CFDR92ln.js} +1 -1
  37. package/dist/{index-CFQ2i3H-.js → index-CKD1gD0J.js} +2 -2
  38. package/dist/{index-CDIharql.cjs → index-CLmX_Tff.cjs} +1 -1
  39. package/dist/{index-BHbbxGc-.js → index-CU-e0rmf.js} +1 -1
  40. package/dist/{index-DY-ufi0D.js → index-CafTV2An.js} +2 -2
  41. package/dist/{index-CR0p1rBc.js → index-Cavn-YZm.js} +10 -10
  42. package/dist/{index-DTCwgUtZ.cjs → index-CdTt_3JS.cjs} +1 -1
  43. package/dist/{index-CYMg6uja.cjs → index-Cf4IsSFa.cjs} +1 -1
  44. package/dist/{index-y8S00w40.js → index-ChhoW6TZ.js} +1 -1
  45. package/dist/{index-vzXAzEFZ.js → index-Chwd-jFh.js} +1 -1
  46. package/dist/{index-Gsgko7hZ.cjs → index-CmHq3tFQ.cjs} +1 -1
  47. package/dist/{index-D3GXDtyf.js → index-CmNUI9Dx.js} +4 -4
  48. package/dist/{index-BScuBbm4.js → index-Cxf4L2C4.js} +1 -1
  49. package/dist/{index-BEYWVksD.cjs → index-CyeEgU-n.cjs} +1 -1
  50. package/dist/{index-BBMjIUUH.js → index-D7qyfjt3.js} +2 -2
  51. package/dist/{index-BaZZkDhO.js → index-D7sije4o.js} +5 -5
  52. package/dist/{index-nm88GmCB.cjs → index-DCG57Oaz.cjs} +1 -1
  53. package/dist/{index-BEIhV9SX.js → index-DHzkGq3t.js} +4 -4
  54. package/dist/{index-BZaGEU1N.js → index-DK0qUFSH.js} +3 -3
  55. package/dist/{index-CS-flako.js → index-DPpmke3g.js} +11 -11
  56. package/dist/{index-CwH35J8v.js → index-DUZrxSPf.js} +2 -2
  57. package/dist/{index-CqSs1WV7.cjs → index-DV5lzA9Q.cjs} +1 -1
  58. package/dist/{index-D2U6CU-M.js → index-DVDjoRsO.js} +9 -9
  59. package/dist/index-DYYEj539.cjs +1 -0
  60. package/dist/{index-CkCH4z-k.js → index-DYz0ZI-L.js} +2 -2
  61. package/dist/{index-Bl3A_LXg.cjs → index-DgW4sDF7.cjs} +1 -1
  62. package/dist/{index-D8Mby6nK.cjs → index-DhfYAy_9.cjs} +1 -1
  63. package/dist/{index-C2veg6vn.cjs → index-Dl4HowOE.cjs} +1 -1
  64. package/dist/{index-D1QwVcxQ.js → index-DmO1nv0b.js} +4 -4
  65. package/dist/{index-uvNkzWF3.js → index-Dr3OIHpL.js} +6 -6
  66. package/dist/{index-CRZHUWpC.js → index-DuO-4UHD.js} +4 -4
  67. package/dist/{index-BT9aMk1B.cjs → index-DvJs92nq.cjs} +1 -1
  68. package/dist/index-DvP-61i9.cjs +25 -0
  69. package/dist/{index-Bz81pzIe.cjs → index-DxG5XEpB.cjs} +1 -1
  70. package/dist/{index-BzPHIMQx.js → index-DxisqTQD.js} +2 -2
  71. package/dist/{index-B8C1fJsm.js → index-HINEykmd.js} +2 -2
  72. package/dist/{index-DsTdVkqf.cjs → index-JhrF__bR.cjs} +1 -1
  73. package/dist/{index-CmV4n5g0.js → index-Sn8IBb_S.js} +2 -2
  74. package/dist/{index-MKPfUvIM.cjs → index-U3fT_6OJ.cjs} +1 -1
  75. package/dist/{index-Bb7RsNv1.cjs → index-ef_JkQ_m.cjs} +1 -1
  76. package/dist/{index-Bw2EYWc_.js → index-exGY0x5Q.js} +1 -1
  77. package/dist/{index-BMJrv3M8.js → index-g7SNeY5K.js} +3 -3
  78. package/dist/{index-CDAD78uL.cjs → index-j6fW0QJu.cjs} +1 -1
  79. package/dist/{index-Cm-U9tfu.cjs → index-kHutaAUM.cjs} +1 -1
  80. package/dist/index-y1vX8Bel.cjs +15 -0
  81. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-QdQaZtjW.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Agf6lYax.js} +6 -6
  82. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DpyjUeBm.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CmAhf3IM.cjs} +2 -2
  83. package/dist/{isString-BHK7vN98.js → isString-5gdZqrH_.js} +3 -3
  84. package/dist/{isString-Jc6FCt92.cjs → isString-Dnr13OoL.cjs} +1 -1
  85. package/dist/{main-rVXsTF8F.cjs → main-BG8jFyLW.cjs} +1 -1
  86. package/dist/{main-NwPOo-yo.js → main-gnkUq3Tg.js} +4 -4
  87. package/dist/{menuIndex-C-KEoRiC.js → menuIndex--SYWTQkJ.js} +1 -1
  88. package/dist/{menuIndex-zfzmkCa8.cjs → menuIndex-C4yFm5YT.cjs} +1 -1
  89. package/dist/{request-BBDPqFah.cjs → request-D7fe_DR0.cjs} +6 -6
  90. package/dist/{request-DeDL4lsA.js → request-jbRhtseH.js} +75 -73
  91. package/dist/ss-component.cjs +1 -1
  92. package/dist/ss-component.css +2 -2
  93. package/dist/ss-component.js +12 -12
  94. package/dist/ss-component2.cjs +1 -1
  95. package/dist/ss-component2.js +13 -13
  96. package/dist/{threeModel-CSaOx5lv.js → threeModel-B0Uia8ZI.js} +5 -5
  97. package/dist/{threeModel-eVInH7HH.cjs → threeModel-BQsHSk0V.cjs} +1 -1
  98. package/dist/{threePreview-BYlnXcXx.js → threePreview-BIyY9BEI.js} +5 -5
  99. package/dist/{threePreview-CtxHQbWO.cjs → threePreview-BnQQdRAk.cjs} +1 -1
  100. package/dist/{threeSceneView-BGJJb7MR.js → threeSceneView-BDZfUrOx.js} +12 -12
  101. package/dist/{threeSceneView-DjOeIm6C.cjs → threeSceneView-DR7Lpd4V.cjs} +1 -1
  102. package/dist/{threeSceneViewForCPMPIP-DRuYDJgc.js → threeSceneViewForCPMPIP-Bkg9mJ4o.js} +9 -9
  103. package/dist/{threeSceneViewForCPMPIP-BimvMbbp.cjs → threeSceneViewForCPMPIP-EdQPv11A.cjs} +1 -1
  104. package/dist/{threeTrackPathView-DW3j8iWv.cjs → threeTrackPathView-BHtoT2fJ.cjs} +1 -1
  105. package/dist/{threeTrackPathView-DZikD8gq.js → threeTrackPathView-pK2CNU6U.js} +6 -6
  106. package/dist/{threeViewerHost-BDeO3Dsm.js → threeViewerHost-BDUjZjRT.js} +3 -3
  107. package/dist/{threeViewerHost-CtuY-X_d.cjs → threeViewerHost-CFIUA0KH.cjs} +1 -1
  108. package/dist/{urdfTree-CGYdreFc.js → urdfTree-Ch4bMDN_.js} +1 -1
  109. package/dist/{urdfTree-BdN94tte.cjs → urdfTree-D4xJ2Tm1.cjs} +1 -1
  110. package/dist/{workpieceTreePanel-Dz5kCzkH.js → workpieceTreePanel-BaKNnSn7.js} +4 -4
  111. package/dist/{workpieceTreePanel-CJe7DqlA.cjs → workpieceTreePanel-CfLpfmqR.cjs} +1 -1
  112. package/package.json +1 -1
  113. package/dist/clone-DkmYhMPj.cjs +0 -1
  114. package/dist/index-CHq0b-zB.cjs +0 -1
  115. package/dist/index-ClouXXMe.cjs +0 -25
  116. package/dist/index-DgroST_b.cjs +0 -15
@@ -1,10 +1,10 @@
1
1
  var r2e = Object.defineProperty;
2
2
  var n2e = (r, e, t) => e in r ? r2e(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var Wr = (r, e, t) => n2e(r, typeof e != "symbol" ? e + "" : e, t);
4
- import { G as i2e, H as a2e, I as s2e, J as hae, K as o2e, L as l2e, U as QG, M as ej, N as tj, O as B7, S as AM, P as dae, Q as u2e, R as c2e, T as pae, V as f2e, W as h2e, X as d2e, Y as rj, Z as p2e, s as Iw, b as U7, p as Lw, r as v2e, h as m2e, i as g2e, u as vae, j as y2e, _ as Eg, $ as b2e, a0 as xu, c as lw, a1 as x2e } from "./index-y8S00w40.js";
5
- import { e as nj, f as mae, h as w2e, i as _2e } from "./index-D1QwVcxQ.js";
6
- import { e as S2e } from "./index-CFQ2i3H-.js";
7
- import { i as T2e, h as Pw, j as tz, k as T6, l as E2e, M as A2e, S as ij, m as E6, r as k2e, n as C2e } from "./request-DeDL4lsA.js";
4
+ import { G as i2e, H as a2e, I as s2e, J as hae, K as o2e, L as l2e, U as QG, M as ej, N as tj, O as B7, S as AM, P as dae, Q as u2e, R as c2e, T as pae, V as f2e, W as h2e, X as d2e, Y as rj, Z as p2e, s as Iw, b as U7, p as Lw, r as v2e, h as m2e, i as g2e, u as vae, j as y2e, _ as Eg, $ as b2e, a0 as xu, c as lw, a1 as x2e } from "./index-ChhoW6TZ.js";
5
+ import { e as nj, f as mae, h as w2e, i as _2e } from "./index-DmO1nv0b.js";
6
+ import { e as S2e } from "./index-CKD1gD0J.js";
7
+ import { j as T2e, k as Pw, l as tz, m as T6, n as E2e, M as A2e, S as ij, o as E6, r as k2e, q as C2e } from "./request-jbRhtseH.js";
8
8
  var M2e = /\s/;
9
9
  function R2e(r) {
10
10
  for (var e = r.length; e-- && M2e.test(r.charAt(e)); )
@@ -451,9 +451,9 @@ const PS = /* @__PURE__ */ new Map(), Pxe = (r) => r == null ? void 0 : r.map((t
451
451
  platId: parseInt(u),
452
452
  pageName: l
453
453
  }), v = (f = p == null ? void 0 : p.data) == null ? void 0 : f.result, g = Pxe(v);
454
- (h = c.resolve) == null || h.call(c, g);
454
+ (h = c == null ? void 0 : c.resolve) == null || h.call(c, g);
455
455
  } catch (p) {
456
- (d = c.reject) == null || d.call(c, p);
456
+ (d = c == null ? void 0 : c.reject) == null || d.call(c, p);
457
457
  } finally {
458
458
  PS.delete(l);
459
459
  }
@@ -1,4 +1,4 @@
1
- "use strict";var c2e=Object.defineProperty;var u2e=(r,e,t)=>e in r?c2e(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Gr=(r,e,t)=>u2e(r,typeof e!="symbol"?e+"":e,t);const Rr=require("./index-jU-5AL6b.cjs"),fw=require("./index-Bb7RsNv1.cjs"),f2e=require("./index-CPkQWJ4L.cjs"),gs=require("./request-BBDPqFah.cjs");var h2e=/\s/;function d2e(r){for(var e=r.length;e--&&h2e.test(r.charAt(e)););return e}var p2e=/^\s+/;function v2e(r){return r&&r.slice(0,d2e(r)+1).replace(p2e,"")}var KG=NaN,m2e=/^[-+]0x[0-9a-f]+$/i,g2e=/^0b[01]+$/i,y2e=/^0o[0-7]+$/i,b2e=parseInt;function JG(r){if(typeof r=="number")return r;if(gs.isSymbol(r))return KG;if(gs.isObject(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=gs.isObject(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=v2e(r);var t=g2e.test(r);return t||y2e.test(r)?b2e(r.slice(2),t?2:8):m2e.test(r)?KG:+r}function x2e(r,e){return Rr.setToString(Rr.overRest(r,e,Rr.identity),r+"")}function w2e(r,e,t){if(!gs.isObject(t))return!1;var n=typeof e;return(n=="number"?Rr.isArrayLike(t)&&Rr.isIndex(e,t.length):n=="string"&&e in t)?gs.eq(t[e],r):!1}function _2e(r){return x2e(function(e,t){var n=-1,i=t.length,a=i>1?t[i-1]:void 0,s=i>2?t[2]:void 0;for(a=r.length>3&&typeof a=="function"?(i--,a):void 0,s&&w2e(t[0],t[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var o=t[n];o&&r(e,o,n,a)}return e})}var S2e="[object Object]",T2e=Function.prototype,E2e=Object.prototype,nae=T2e.toString,A2e=E2e.hasOwnProperty,k2e=nae.call(Object);function C2e(r){if(!gs.isObjectLike(r)||gs.baseGetTag(r)!=S2e)return!1;var e=Rr.getPrototype(r);if(e===null)return!0;var t=A2e.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&nae.call(t)==k2e}var M2e="__lodash_hash_undefined__";function R2e(r){return this.__data__.set(r,M2e),this}function D2e(r){return this.__data__.has(r)}function R6(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new gs.MapCache;++e<t;)this.add(r[e])}R6.prototype.add=R6.prototype.push=R2e;R6.prototype.has=D2e;function I2e(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function L2e(r,e){return r.has(e)}var P2e=1,N2e=2;function iae(r,e,t,n,i,a){var s=t&P2e,o=r.length,l=e.length;if(o!=l&&!(s&&l>o))return!1;var c=a.get(r),u=a.get(e);if(c&&u)return c==e&&u==r;var f=-1,h=!0,d=t&N2e?new R6:void 0;for(a.set(r,e),a.set(e,r);++f<o;){var p=r[f],v=e[f];if(n)var g=s?n(v,p,f,e,r,a):n(p,v,f,r,e,a);if(g!==void 0){if(g)continue;h=!1;break}if(d){if(!I2e(e,function(y,m){if(!L2e(d,m)&&(p===y||i(p,y,t,n,a)))return d.push(m)})){h=!1;break}}else if(!(p===v||i(p,v,t,n,a))){h=!1;break}}return a.delete(r),a.delete(e),h}function O2e(r){var e=-1,t=Array(r.size);return r.forEach(function(n,i){t[++e]=[i,n]}),t}function F2e(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var B2e=1,U2e=2,z2e="[object Boolean]",V2e="[object Date]",H2e="[object Error]",W2e="[object Map]",G2e="[object Number]",j2e="[object RegExp]",$2e="[object Set]",q2e="[object String]",X2e="[object Symbol]",Y2e="[object ArrayBuffer]",Z2e="[object DataView]",QG=gs.Symbol?gs.Symbol.prototype:void 0,QI=QG?QG.valueOf:void 0;function K2e(r,e,t,n,i,a,s){switch(t){case Z2e:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case Y2e:return!(r.byteLength!=e.byteLength||!a(new Rr.Uint8Array(r),new Rr.Uint8Array(e)));case z2e:case V2e:case G2e:return gs.eq(+r,+e);case H2e:return r.name==e.name&&r.message==e.message;case j2e:case q2e:return r==e+"";case W2e:var o=O2e;case $2e:var l=n&B2e;if(o||(o=F2e),r.size!=e.size&&!l)return!1;var c=s.get(r);if(c)return c==e;n|=U2e,s.set(r,e);var u=iae(o(r),o(e),n,i,a,s);return s.delete(r),u;case X2e:if(QI)return QI.call(r)==QI.call(e)}return!1}var J2e=1,Q2e=Object.prototype,exe=Q2e.hasOwnProperty;function txe(r,e,t,n,i,a){var s=t&J2e,o=Rr.getAllKeys(r),l=o.length,c=Rr.getAllKeys(e),u=c.length;if(l!=u&&!s)return!1;for(var f=l;f--;){var h=o[f];if(!(s?h in e:exe.call(e,h)))return!1}var d=a.get(r),p=a.get(e);if(d&&p)return d==e&&p==r;var v=!0;a.set(r,e),a.set(e,r);for(var g=s;++f<l;){h=o[f];var y=r[h],m=e[h];if(n)var b=s?n(m,y,h,e,r,a):n(y,m,h,r,e,a);if(!(b===void 0?y===m||i(y,m,t,n,a):b)){v=!1;break}g||(g=h=="constructor")}if(v&&!g){var x=r.constructor,w=e.constructor;x!=w&&"constructor"in r&&"constructor"in e&&!(typeof x=="function"&&x instanceof x&&typeof w=="function"&&w instanceof w)&&(v=!1)}return a.delete(r),a.delete(e),v}var rxe=1,ej="[object Arguments]",tj="[object Array]",Gk="[object Object]",nxe=Object.prototype,rj=nxe.hasOwnProperty;function ixe(r,e,t,n,i,a){var s=gs.isArray(r),o=gs.isArray(e),l=s?tj:Rr.getTag(r),c=o?tj:Rr.getTag(e);l=l==ej?Gk:l,c=c==ej?Gk:c;var u=l==Gk,f=c==Gk,h=l==c;if(h&&Rr.isBuffer(r)){if(!Rr.isBuffer(e))return!1;s=!0,u=!1}if(h&&!u)return a||(a=new Rr.Stack),s||Rr.isTypedArray(r)?iae(r,e,t,n,i,a):K2e(r,e,l,t,n,i,a);if(!(t&rxe)){var d=u&&rj.call(r,"__wrapped__"),p=f&&rj.call(e,"__wrapped__");if(d||p){var v=d?r.value():r,g=p?e.value():e;return a||(a=new Rr.Stack),i(v,g,t,n,a)}}return h?(a||(a=new Rr.Stack),txe(r,e,t,n,i,a)):!1}function aae(r,e,t,n,i){return r===e?!0:r==null||e==null||!gs.isObjectLike(r)&&!gs.isObjectLike(e)?r!==r&&e!==e:ixe(r,e,t,n,aae,i)}function axe(r){return function(e,t,n){for(var i=-1,a=Object(e),s=n(e),o=s.length;o--;){var l=s[++i];if(t(a[l],l,a)===!1)break}return e}}var sxe=axe(),eL=function(){return gs.root.Date.now()},oxe="Expected a function",lxe=Math.max,cxe=Math.min;function sae(r,e,t){var n,i,a,s,o,l,c=0,u=!1,f=!1,h=!0;if(typeof r!="function")throw new TypeError(oxe);e=JG(e)||0,gs.isObject(t)&&(u=!!t.leading,f="maxWait"in t,a=f?lxe(JG(t.maxWait)||0,e):a,h="trailing"in t?!!t.trailing:h);function d(_){var S=n,T=i;return n=i=void 0,c=_,s=r.apply(T,S),s}function p(_){return c=_,o=setTimeout(y,e),u?d(_):s}function v(_){var S=_-l,T=_-c,E=e-S;return f?cxe(E,a-T):E}function g(_){var S=_-l,T=_-c;return l===void 0||S>=e||S<0||f&&T>=a}function y(){var _=eL();if(g(_))return m(_);o=setTimeout(y,v(_))}function m(_){return o=void 0,h&&n?d(_):(n=i=void 0,s)}function b(){o!==void 0&&clearTimeout(o),c=0,n=l=i=o=void 0}function x(){return o===void 0?s:m(eL())}function w(){var _=eL(),S=g(_);if(n=arguments,i=this,l=_,S){if(o===void 0)return p(l);if(f)return clearTimeout(o),o=setTimeout(y,e),d(l)}return o===void 0&&(o=setTimeout(y,e)),s}return w.cancel=b,w.flush=x,w}function z7(r,e,t){(t!==void 0&&!gs.eq(r[e],t)||t===void 0&&!(e in r))&&Rr.baseAssignValue(r,e,t)}function uxe(r){return gs.isObjectLike(r)&&Rr.isArrayLike(r)}function V7(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function fxe(r){return Rr.copyObject(r,Rr.keysIn(r))}function hxe(r,e,t,n,i,a,s){var o=V7(r,t),l=V7(e,t),c=s.get(l);if(c){z7(r,t,c);return}var u=a?a(o,l,t+"",r,e,s):void 0,f=u===void 0;if(f){var h=gs.isArray(l),d=!h&&Rr.isBuffer(l),p=!h&&!d&&Rr.isTypedArray(l);u=l,h||d||p?gs.isArray(o)?u=o:uxe(o)?u=Rr.copyArray(o):d?(f=!1,u=Rr.cloneBuffer(l,!0)):p?(f=!1,u=Rr.cloneTypedArray(l,!0)):u=[]:C2e(l)||Rr.isArguments(l)?(u=o,Rr.isArguments(o)?u=fxe(o):(!gs.isObject(o)||gs.isFunction(o))&&(u=Rr.initCloneObject(l))):f=!1}f&&(s.set(l,u),i(u,l,n,a,s),s.delete(l)),z7(r,t,u)}function oae(r,e,t,n,i){r!==e&&sxe(e,function(a,s){if(i||(i=new Rr.Stack),gs.isObject(a))hxe(r,e,s,t,oae,n,i);else{var o=n?n(V7(r,s),a,s+"",r,e,i):void 0;o===void 0&&(o=a),z7(r,s,o)}},Rr.keysIn)}function TR(r,e){return aae(r,e)}var eg=_2e(function(r,e,t){oae(r,e,t)});const dxe=(r,e)=>{let t;r.replaceAll(" ",`\r
1
+ "use strict";var c2e=Object.defineProperty;var u2e=(r,e,t)=>e in r?c2e(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Gr=(r,e,t)=>u2e(r,typeof e!="symbol"?e+"":e,t);const Rr=require("./index-C4Y7wcXY.cjs"),fw=require("./index-ef_JkQ_m.cjs"),f2e=require("./index-C595AB38.cjs"),gs=require("./request-D7fe_DR0.cjs");var h2e=/\s/;function d2e(r){for(var e=r.length;e--&&h2e.test(r.charAt(e)););return e}var p2e=/^\s+/;function v2e(r){return r&&r.slice(0,d2e(r)+1).replace(p2e,"")}var KG=NaN,m2e=/^[-+]0x[0-9a-f]+$/i,g2e=/^0b[01]+$/i,y2e=/^0o[0-7]+$/i,b2e=parseInt;function JG(r){if(typeof r=="number")return r;if(gs.isSymbol(r))return KG;if(gs.isObject(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=gs.isObject(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=v2e(r);var t=g2e.test(r);return t||y2e.test(r)?b2e(r.slice(2),t?2:8):m2e.test(r)?KG:+r}function x2e(r,e){return Rr.setToString(Rr.overRest(r,e,Rr.identity),r+"")}function w2e(r,e,t){if(!gs.isObject(t))return!1;var n=typeof e;return(n=="number"?Rr.isArrayLike(t)&&Rr.isIndex(e,t.length):n=="string"&&e in t)?gs.eq(t[e],r):!1}function _2e(r){return x2e(function(e,t){var n=-1,i=t.length,a=i>1?t[i-1]:void 0,s=i>2?t[2]:void 0;for(a=r.length>3&&typeof a=="function"?(i--,a):void 0,s&&w2e(t[0],t[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var o=t[n];o&&r(e,o,n,a)}return e})}var S2e="[object Object]",T2e=Function.prototype,E2e=Object.prototype,nae=T2e.toString,A2e=E2e.hasOwnProperty,k2e=nae.call(Object);function C2e(r){if(!gs.isObjectLike(r)||gs.baseGetTag(r)!=S2e)return!1;var e=Rr.getPrototype(r);if(e===null)return!0;var t=A2e.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&nae.call(t)==k2e}var M2e="__lodash_hash_undefined__";function R2e(r){return this.__data__.set(r,M2e),this}function D2e(r){return this.__data__.has(r)}function R6(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new gs.MapCache;++e<t;)this.add(r[e])}R6.prototype.add=R6.prototype.push=R2e;R6.prototype.has=D2e;function I2e(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function L2e(r,e){return r.has(e)}var P2e=1,N2e=2;function iae(r,e,t,n,i,a){var s=t&P2e,o=r.length,l=e.length;if(o!=l&&!(s&&l>o))return!1;var c=a.get(r),u=a.get(e);if(c&&u)return c==e&&u==r;var f=-1,h=!0,d=t&N2e?new R6:void 0;for(a.set(r,e),a.set(e,r);++f<o;){var p=r[f],v=e[f];if(n)var g=s?n(v,p,f,e,r,a):n(p,v,f,r,e,a);if(g!==void 0){if(g)continue;h=!1;break}if(d){if(!I2e(e,function(y,m){if(!L2e(d,m)&&(p===y||i(p,y,t,n,a)))return d.push(m)})){h=!1;break}}else if(!(p===v||i(p,v,t,n,a))){h=!1;break}}return a.delete(r),a.delete(e),h}function O2e(r){var e=-1,t=Array(r.size);return r.forEach(function(n,i){t[++e]=[i,n]}),t}function F2e(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var B2e=1,U2e=2,z2e="[object Boolean]",V2e="[object Date]",H2e="[object Error]",W2e="[object Map]",G2e="[object Number]",j2e="[object RegExp]",$2e="[object Set]",q2e="[object String]",X2e="[object Symbol]",Y2e="[object ArrayBuffer]",Z2e="[object DataView]",QG=gs.Symbol?gs.Symbol.prototype:void 0,QI=QG?QG.valueOf:void 0;function K2e(r,e,t,n,i,a,s){switch(t){case Z2e:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case Y2e:return!(r.byteLength!=e.byteLength||!a(new Rr.Uint8Array(r),new Rr.Uint8Array(e)));case z2e:case V2e:case G2e:return gs.eq(+r,+e);case H2e:return r.name==e.name&&r.message==e.message;case j2e:case q2e:return r==e+"";case W2e:var o=O2e;case $2e:var l=n&B2e;if(o||(o=F2e),r.size!=e.size&&!l)return!1;var c=s.get(r);if(c)return c==e;n|=U2e,s.set(r,e);var u=iae(o(r),o(e),n,i,a,s);return s.delete(r),u;case X2e:if(QI)return QI.call(r)==QI.call(e)}return!1}var J2e=1,Q2e=Object.prototype,exe=Q2e.hasOwnProperty;function txe(r,e,t,n,i,a){var s=t&J2e,o=Rr.getAllKeys(r),l=o.length,c=Rr.getAllKeys(e),u=c.length;if(l!=u&&!s)return!1;for(var f=l;f--;){var h=o[f];if(!(s?h in e:exe.call(e,h)))return!1}var d=a.get(r),p=a.get(e);if(d&&p)return d==e&&p==r;var v=!0;a.set(r,e),a.set(e,r);for(var g=s;++f<l;){h=o[f];var y=r[h],m=e[h];if(n)var b=s?n(m,y,h,e,r,a):n(y,m,h,r,e,a);if(!(b===void 0?y===m||i(y,m,t,n,a):b)){v=!1;break}g||(g=h=="constructor")}if(v&&!g){var x=r.constructor,w=e.constructor;x!=w&&"constructor"in r&&"constructor"in e&&!(typeof x=="function"&&x instanceof x&&typeof w=="function"&&w instanceof w)&&(v=!1)}return a.delete(r),a.delete(e),v}var rxe=1,ej="[object Arguments]",tj="[object Array]",Gk="[object Object]",nxe=Object.prototype,rj=nxe.hasOwnProperty;function ixe(r,e,t,n,i,a){var s=gs.isArray(r),o=gs.isArray(e),l=s?tj:Rr.getTag(r),c=o?tj:Rr.getTag(e);l=l==ej?Gk:l,c=c==ej?Gk:c;var u=l==Gk,f=c==Gk,h=l==c;if(h&&Rr.isBuffer(r)){if(!Rr.isBuffer(e))return!1;s=!0,u=!1}if(h&&!u)return a||(a=new Rr.Stack),s||Rr.isTypedArray(r)?iae(r,e,t,n,i,a):K2e(r,e,l,t,n,i,a);if(!(t&rxe)){var d=u&&rj.call(r,"__wrapped__"),p=f&&rj.call(e,"__wrapped__");if(d||p){var v=d?r.value():r,g=p?e.value():e;return a||(a=new Rr.Stack),i(v,g,t,n,a)}}return h?(a||(a=new Rr.Stack),txe(r,e,t,n,i,a)):!1}function aae(r,e,t,n,i){return r===e?!0:r==null||e==null||!gs.isObjectLike(r)&&!gs.isObjectLike(e)?r!==r&&e!==e:ixe(r,e,t,n,aae,i)}function axe(r){return function(e,t,n){for(var i=-1,a=Object(e),s=n(e),o=s.length;o--;){var l=s[++i];if(t(a[l],l,a)===!1)break}return e}}var sxe=axe(),eL=function(){return gs.root.Date.now()},oxe="Expected a function",lxe=Math.max,cxe=Math.min;function sae(r,e,t){var n,i,a,s,o,l,c=0,u=!1,f=!1,h=!0;if(typeof r!="function")throw new TypeError(oxe);e=JG(e)||0,gs.isObject(t)&&(u=!!t.leading,f="maxWait"in t,a=f?lxe(JG(t.maxWait)||0,e):a,h="trailing"in t?!!t.trailing:h);function d(_){var S=n,T=i;return n=i=void 0,c=_,s=r.apply(T,S),s}function p(_){return c=_,o=setTimeout(y,e),u?d(_):s}function v(_){var S=_-l,T=_-c,E=e-S;return f?cxe(E,a-T):E}function g(_){var S=_-l,T=_-c;return l===void 0||S>=e||S<0||f&&T>=a}function y(){var _=eL();if(g(_))return m(_);o=setTimeout(y,v(_))}function m(_){return o=void 0,h&&n?d(_):(n=i=void 0,s)}function b(){o!==void 0&&clearTimeout(o),c=0,n=l=i=o=void 0}function x(){return o===void 0?s:m(eL())}function w(){var _=eL(),S=g(_);if(n=arguments,i=this,l=_,S){if(o===void 0)return p(l);if(f)return clearTimeout(o),o=setTimeout(y,e),d(l)}return o===void 0&&(o=setTimeout(y,e)),s}return w.cancel=b,w.flush=x,w}function z7(r,e,t){(t!==void 0&&!gs.eq(r[e],t)||t===void 0&&!(e in r))&&Rr.baseAssignValue(r,e,t)}function uxe(r){return gs.isObjectLike(r)&&Rr.isArrayLike(r)}function V7(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function fxe(r){return Rr.copyObject(r,Rr.keysIn(r))}function hxe(r,e,t,n,i,a,s){var o=V7(r,t),l=V7(e,t),c=s.get(l);if(c){z7(r,t,c);return}var u=a?a(o,l,t+"",r,e,s):void 0,f=u===void 0;if(f){var h=gs.isArray(l),d=!h&&Rr.isBuffer(l),p=!h&&!d&&Rr.isTypedArray(l);u=l,h||d||p?gs.isArray(o)?u=o:uxe(o)?u=Rr.copyArray(o):d?(f=!1,u=Rr.cloneBuffer(l,!0)):p?(f=!1,u=Rr.cloneTypedArray(l,!0)):u=[]:C2e(l)||Rr.isArguments(l)?(u=o,Rr.isArguments(o)?u=fxe(o):(!gs.isObject(o)||gs.isFunction(o))&&(u=Rr.initCloneObject(l))):f=!1}f&&(s.set(l,u),i(u,l,n,a,s),s.delete(l)),z7(r,t,u)}function oae(r,e,t,n,i){r!==e&&sxe(e,function(a,s){if(i||(i=new Rr.Stack),gs.isObject(a))hxe(r,e,s,t,oae,n,i);else{var o=n?n(V7(r,s),a,s+"",r,e,i):void 0;o===void 0&&(o=a),z7(r,s,o)}},Rr.keysIn)}function TR(r,e){return aae(r,e)}var eg=_2e(function(r,e,t){oae(r,e,t)});const dxe=(r,e)=>{let t;r.replaceAll(" ",`\r
2
2
  `).replaceAll(`
3
3
  `,`\r
4
4
  `).includes(`\r
@@ -8,7 +8,7 @@
8
8
  `).split(`\r
9
9
  `).filter(s=>s.trim()!==""):t=r.replaceAll(" ",`\r
10
10
  `).split(`
11
- `).filter(s=>s.trim()!==""),t=t==null?void 0:t.map(s=>(s=s==null?void 0:s.replaceAll("\r",""),s));const n=[];let i="",a=0;for(const s of t)a=a+1,s.includes("{")||i.includes("{")||s.includes("[")||i.includes("[")||s.includes("【")||i.includes("【")||s.includes("(")||i.includes("(")||s.includes("(")||i.includes("(")||s.includes("/*")||i.includes("/*")?(i+=s.trim(),i.split("{").length-1===i.split("}").length-1&&i.split("【").length-1===i.split("】").length-1&&i.split("[").length-1===i.split("]").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("/*").length-1===i.split("*/").length-1&&!(e!=null&&e.find(o=>o===i[i.length-1]))&&!(e!=null&&e.find(o=>{var l;return o===((l=t==null?void 0:t[a])==null?void 0:l[0])}))?(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):i!=null&&i.includes("*/")&&(i=i.replace(/\/\*[\s\S]*?\*\//g,""))):e!=null&&e.find(o=>o===s[s.length-1])?i+=s.trim():n.push(s.trim().replace(/\/\*[\s\S]*?\*\//g,""));return n},lae=(r,e)=>{var s,o;let t=r;const n=[];let i="",a=0;for(const l of t)a++,l.includes("{")||i.includes("{")||l.includes("[")||i.includes("[")||l.includes("【")||i.includes("【")||l.includes("(")||i.includes("(")||l.includes("(")||i.includes("(")||l.includes("/*")||i.includes("/*")?(i+=l.trim(),i.split("{").length-1===i.split("}").length-1&&i.split("【").length-1===i.split("】").length-1&&i.split("[").length-1===i.split("]").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("/*").length-1===i.split("*/").length-1&&i[i.length-1]===e&&(i.split("'").length%2===1||((s=i.split("'"))==null?void 0:s.length)===1)?(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):a===(r==null?void 0:r.length)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i="")):(i+=l.trim(),(i==null?void 0:i[(i==null?void 0:i.length)-1])===e&&(i.split("'").length%2===1||((o=i.split("'"))==null?void 0:o.length)===1)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""));return(i==null?void 0:i.length)!==0&&n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),n},pxe=(r,e)=>r===e||r.length===e.length&&r.every((t,n)=>t===e[n]),vxe=r=>r.reduce((e,t)=>{var i;const n=(((i=e.at(-1))==null?void 0:i.total)??0)+t;return e.push({key:t,total:n}),e},[]),mxe=r=>{for(let e=r.length-1;e>0;e--){const t=Math.floor(Math.random()*(e+1));[r[e],r[t]]=[r[t],r[e]]}return r},gxe=(r,e=2)=>{const t=[];for(let n=0;n<r.length;n+=e)t.push(r.slice(n,n+e));return t},yxe=r=>!r||r.length===0?[]:r.length===1?r[0].map(e=>[e]):r.reduce((e,t)=>{const n=[];return e.forEach(i=>{t.forEach(a=>{i&&n.push(Object.assign(i,a))})}),n}),bxe=r=>typeof r=="number",xxe=Rr.useUnit(Rr.pinia),{selectTitle:tL}=Rr.storeToRefs(xxe),wxe=Rr.useMenuState(Rr.pinia),{currentMenuPath:I2}=Rr.storeToRefs(wxe);let tm="$R";const PS=new Map,_xe=r=>r==null?void 0:r.map(t=>{var o,l,c,u,f,h,d,p,v,g,y,m,b,x,w,_,S,T,E,M,R,O,k,D,A,C,L,I,P,z,F;let n=(u=(c=(l=(o=t==null?void 0:t.contents)==null?void 0:o.find(V=>{var U;return(U=V==null?void 0:V.key)==null?void 0:U.includes("struct")}))==null?void 0:l.value)==null?void 0:c[0])==null?void 0:u.类型,i=Object.values(t==null?void 0:t.name);i=i==null?void 0:i.reverse();let a=(f=t==null?void 0:t.contents)==null?void 0:f.map(V=>V==null?void 0:V.key),s={comp:n,isShow:t==null?void 0:t.is_show,name:i==null?void 0:i[0],id:t==null?void 0:t.object_id,relatedTables:a};for(let V in i)parseInt(V)>=1&&(s[`name${parseInt(V)-1}`]=i[V]);if(n==="Table"){let V=(h=t==null?void 0:t.contents)==null?void 0:h.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("content")}),U=[];V.value=(d=V==null?void 0:V.value)==null?void 0:d.sort((q,J)=>parseInt(q==null?void 0:q.id)-parseInt(J==null?void 0:J.id)),U.push({key:"tableContents",contents:V==null?void 0:V.value});let G=(m=(y=(g=(v=(p=t==null?void 0:t.contents)==null?void 0:p.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:v.value)==null?void 0:g[0])==null?void 0:y.结构)==null?void 0:m.contents;U.push({key:"header",contents:G}),U.push({key:"filter",contents:(S=(_=(w=(x=(b=t==null?void 0:t.contents)==null?void 0:b.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:x.value)==null?void 0:w[0])==null?void 0:_.引用)==null?void 0:S.contents}),s.compData=U}else if(n==="Form"){let V=[],U=(M=(E=(T=t==null?void 0:t.contents)==null?void 0:T.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("content")}))==null?void 0:E.value)==null?void 0:M[0],G=(C=(A=(D=(k=(O=(R=t==null?void 0:t.contents)==null?void 0:R.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:O.value)==null?void 0:k[0])==null?void 0:D.结构)==null?void 0:A.contents)==null?void 0:C.map(q=>(q.value=U==null?void 0:U[q==null?void 0:q.prop],q));V.push({key:"filter",contents:(F=(z=(P=(I=(L=t==null?void 0:t.contents)==null?void 0:L.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:I.value)==null?void 0:P[0])==null?void 0:z.引用)==null?void 0:F.contents}),V.push({key:"formContent",contents:G}),s.compData=V}return s}),DM=async r=>new Promise((e,t)=>{var s,o;const n=Rr.useLoginState(Rr.pinia),{loginUserInfo:i}=Rr.storeToRefs(n);if(PS.has(r)){const l=PS.get(r);l.resolve=e,l.reject=t,l.debouncedFn(r,(s=i==null?void 0:i.value)==null?void 0:s.plat_id);return}const a=sae(async(l,c)=>{var f,h,d;const u=PS.get(l);try{const p=await Rr.getPageDataApi({platId:parseInt(c),pageName:l}),v=(f=p==null?void 0:p.data)==null?void 0:f.result,g=_xe(v);(h=u.resolve)==null||h.call(u,g)}catch(p){(d=u.reject)==null||d.call(u,p)}finally{PS.delete(l)}},10);PS.set(r,{debouncedFn:a,resolve:e,reject:t,timer:null}),a(r,(o=i==null?void 0:i.value)==null?void 0:o.plat_id)}),Sxe=async r=>{var l,c,u,f,h,d,p,v,g,y,m,b,x,w,_,S,T,E,M,R,O,k,D,A,C,L,I,P,z,F,V,U,G,q,J,de,ie,he,re,Q,K,fe,X,oe,se,le,j,te,ue,Ce,Oe,Y,ae,Ee,ge,pe,ne,be;let e=(l=r==null?void 0:r.menus)==null?void 0:l.join("/"),t=r==null?void 0:r.relatedWords;if((e==null?void 0:e[(e==null?void 0:e.length)-1])==="/")if(r!=null&&r.isMainPath){let ce=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1),ye=await DM(ce);ye=ye==null?void 0:ye.filter(_e=>(_e==null?void 0:_e.comp)==="Table");let Te=r==null?void 0:r.words;Te=Te==null?void 0:Te.join(".");let Ae=(g=(v=(p=ye==null?void 0:ye[0])==null?void 0:p.compData)==null?void 0:v.find(_e=>(_e==null?void 0:_e.key)==="tableContents"))==null?void 0:g.contents;if(r!=null&&r.filter&&((y=r==null?void 0:r.filter)!=null&&y.includes("@Filter"))){let _e=((x=(b=(m=r==null?void 0:r.filter)==null?void 0:m.split(","))==null?void 0:b.filter(Re=>Re==null?void 0:Re.includes("@Filter")))==null?void 0:x[0])??"";if(_e&&_e!==""){(_e==null?void 0:_e[(_e==null?void 0:_e.length)-1])===","&&(_e=_e==null?void 0:_e.slice(0,(_e==null?void 0:_e.length)-1)),_e=(_=(w=_e==null?void 0:_e.replace("(",tm))==null?void 0:w.split(tm))==null?void 0:_[1],_e=_e==null?void 0:_e.slice(0,(_e==null?void 0:_e.length)-1),(_e==null?void 0:_e[0])==="*"&&(_e="{"+((T=(S=_e==null?void 0:_e.replace("{",tm))==null?void 0:S.split(tm))==null?void 0:T[1])),_e=(E=_e==null?void 0:_e.replaceAll("{",""))==null?void 0:E.replaceAll("}","");let Re=fw.calculatorAndToOr(_e);Re=Re==null?void 0:Re[0];for(let Ve in Re)Ae=(M=Ae==null?void 0:Ae.map(Qe=>{if((Qe==null?void 0:Qe[Ve])===(Re==null?void 0:Re[Ve]))return Qe;for(let Ge in Qe)if(Ge!=null&&Ge.includes(Ve)&&(Qe==null?void 0:Qe[Ge])===(Re==null?void 0:Re[Ve]))return Qe;return""}))==null?void 0:M.filter(Qe=>Qe!=="")}}(Te==null?void 0:Te[(Te==null?void 0:Te.length)-1])==="."&&(Te=Te==null?void 0:Te.slice(0,(Te==null?void 0:Te.length)-1));let Le;return t&&Array.isArray(t)&&(t==null?void 0:t.length)>0?Le=Ae==null?void 0:Ae.map(_e=>{let Re="",Ve=Object.keys(_e);return t==null||t.forEach(Qe=>{var Ge,yt,at,St;if(Ve!=null&&Ve.find(_t=>{var dt,kt;return _t==null?void 0:_t.includes("."+((kt=Qe==null?void 0:Qe.split("."))==null?void 0:kt[((dt=Qe==null?void 0:Qe.split("."))==null?void 0:dt.length)-1]))})){let _t=Ve==null?void 0:Ve.find(dt=>{var kt,Mt;return dt==null?void 0:dt.includes("."+((Mt=Qe==null?void 0:Qe.split("."))==null?void 0:Mt[((kt=Qe==null?void 0:Qe.split("."))==null?void 0:kt.length)-1]))});Re=Re===""?Re+((_e==null?void 0:_e[_t])??""):Re+" "+((_e==null?void 0:_e[_t])??"")}else Re=Re===""?Re+((_e==null?void 0:_e[Qe])??(_e==null?void 0:_e[(yt=Qe==null?void 0:Qe.split("."))==null?void 0:yt[((Ge=Qe==null?void 0:Qe.split("."))==null?void 0:Ge.length)-1]])):Re+" "+((_e==null?void 0:_e[Qe])??(_e==null?void 0:_e[(St=Qe==null?void 0:Qe.split("."))==null?void 0:St[((at=Qe==null?void 0:Qe.split("."))==null?void 0:at.length)-1]])??"")}),{label:Re,value:Re}}):Le=Ae==null?void 0:Ae.map(_e=>({label:_e==null?void 0:_e[Te],value:_e==null?void 0:_e[Te]})),Le=Le==null?void 0:Le.filter(_e=>_e.label),Le}else if(r!=null&&r.endChildMenu&&(r==null?void 0:r.endChildMenu)!=="")e=e+((u=(c=r==null?void 0:r.endChildMenu)==null?void 0:c.split(" "))==null?void 0:u[0]);else{let ce=(f=tL.value)==null?void 0:f.filter(ye=>(ye==null?void 0:ye.condition)==="child");((h=ce==null?void 0:ce[0])==null?void 0:h.parentContent)+"/"===e?e=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1):(ce=(d=ce==null?void 0:ce[0])==null?void 0:d.value,e=e+ce)}let n=await DM(e),i=r==null?void 0:r.groups,a=r==null?void 0:r.words;n=n==null?void 0:n.filter(ce=>(ce==null?void 0:ce.name)===(i==null?void 0:i[(i==null?void 0:i.length)-1]));let s;if((k=(O=(R=n==null?void 0:n[0])==null?void 0:R.compData)==null?void 0:O.find(ce=>(ce==null?void 0:ce.key)==="tableContents"))!=null&&k.contents)s=(C=(A=(D=n==null?void 0:n[0])==null?void 0:D.compData)==null?void 0:A.find(ce=>(ce==null?void 0:ce.key)==="tableContents"))==null?void 0:C.contents;else{let ce={};(z=(P=(I=(L=n==null?void 0:n[0])==null?void 0:L.compData)==null?void 0:I.find(ye=>(ye==null?void 0:ye.key)==="formContent"))==null?void 0:P.contents)==null||z.forEach(ye=>{ce[ye.prop]=ye.value}),s=[ce]}if(r!=null&&r.filter&&(r==null?void 0:r.filter)!==""){let ce=lae(r==null?void 0:r.filter,",");if(ce=((F=ce==null?void 0:ce.filter(ye=>ye==null?void 0:ye.includes("@Filter")))==null?void 0:F[0])??"",ce&&ce!==""){(ce==null?void 0:ce[(ce==null?void 0:ce.length)-1])===","&&(ce=ce==null?void 0:ce.slice(0,(ce==null?void 0:ce.length)-1)),ce=(U=(V=ce==null?void 0:ce.replace("(",tm))==null?void 0:V.split(tm))==null?void 0:U[1],ce=ce==null?void 0:ce.slice(0,(ce==null?void 0:ce.length)-1),(ce==null?void 0:ce[0])==="*"&&(ce="{"+((q=(G=ce==null?void 0:ce.replace("{",tm))==null?void 0:G.split(tm))==null?void 0:q[1])),ce=(J=ce==null?void 0:ce.replaceAll("{",""))==null?void 0:J.replaceAll("}","");let ye=fw.calculatorAndToOr(ce);ye=ye==null?void 0:ye[0];let Te;if((de=Object.values(ye))!=null&&de.some(Ae=>(Ae==null?void 0:Ae[0])==="*")){let Ae=(he=(ie=tL.value)==null?void 0:ie.find(Le=>(Le==null?void 0:Le.condition)==="child"))!=null&&he.value?(I2==null?void 0:I2.value)+"/"+((Q=(re=tL.value)==null?void 0:re.find(Le=>(Le==null?void 0:Le.condition)==="child"))==null?void 0:Q.value):I2==null?void 0:I2.value;Te=await DM(Ae)}for(let Ae in ye)if(((K=ye==null?void 0:ye[Ae])==null?void 0:K[0])==="*"){let Le=(se=(oe=(X=ye[Ae])==null?void 0:X.slice(1,(fe=ye[Ae])==null?void 0:fe.length))==null?void 0:oe.split(":"))==null?void 0:se[0],_e=(j=(le=ye[Ae])==null?void 0:le.split(":"))==null?void 0:j[1],Re=(te=Te==null?void 0:Te.filter(Ve=>(Ve==null?void 0:Ve.name)===Le))==null?void 0:te[0];Re=(Ce=(ue=Re==null?void 0:Re.compData)==null?void 0:ue.find(Ve=>(Ve==null?void 0:Ve.key)==="tableContents"))==null?void 0:Ce.contents,Re=(Oe=Re==null?void 0:Re[0])==null?void 0:Oe[_e],ye[Ae]=Re}for(let Ae in ye)s=(Y=s==null?void 0:s.map(Le=>{var _e,Re;if((Le==null?void 0:Le[Ae])===(ye==null?void 0:ye[Ae])||r!=null&&r.endChildMenu)return Le;for(let Ve in Le)if(((Re=Ve==null?void 0:Ve.split("."))==null?void 0:Re[((_e=Ve==null?void 0:Ve.split("."))==null?void 0:_e.length)-1])===Ae&&Le[Ve]===(ye==null?void 0:ye[Ae]))return Le}))==null?void 0:Y.filter(Le=>Le)}}if(e==="系统管理/角色管理"){const ce=Rr.useLoginState(Rr.pinia),{loginUserInfo:ye}=Rr.storeToRefs(ce);n=await Rr.getAllTables({platId:parseInt((ae=ye==null?void 0:ye.value)==null?void 0:ae.plat_id),tableNames:["role"]}),n=((ge=(Ee=n==null?void 0:n.data)==null?void 0:Ee.result)==null?void 0:ge[0])??[],s=n}if(e==="系统管理/部门管理"){const ce=Rr.useLoginState(Rr.pinia),{loginUserInfo:ye}=Rr.storeToRefs(ce),Te=(pe=ye==null?void 0:ye.value)==null?void 0:pe.plat_id;n=await f2e.getDepartmentOptions(Te),n=((ne=n==null?void 0:n.data)==null?void 0:ne.result)||[],s=n}a=(be=a==null?void 0:a.join("."))==null?void 0:be.replaceAll("'",""),(a==null?void 0:a[(a==null?void 0:a.length)-1])==="."&&(a=a==null?void 0:a.slice(0,(a==null?void 0:a.length)-1));let o;return t&&Array.isArray(t)&&(t==null?void 0:t.length)>0?o=s==null?void 0:s.map(ce=>{let ye="",Te=Object.keys(ce);return t==null||t.forEach(Ae=>{if(Te!=null&&Te.find(Le=>{var _e,Re;return Le==null?void 0:Le.includes("."+((Re=Ae==null?void 0:Ae.split("."))==null?void 0:Re[((_e=Ae==null?void 0:Ae.split("."))==null?void 0:_e.length)-1]))})){let Le=Te==null?void 0:Te.find(_e=>{var Re,Ve;return _e==null?void 0:_e.includes("."+((Ve=Ae==null?void 0:Ae.split("."))==null?void 0:Ve[((Re=Ae==null?void 0:Ae.split("."))==null?void 0:Re.length)-1]))});ye=ye===""?ye+((ce==null?void 0:ce[Le])??""):ye+" "+((ce==null?void 0:ce[Le])??"")}else ye=ye===""?ye+(ce==null?void 0:ce[Ae]):ye+" "+(ce==null?void 0:ce[Ae])}),{label:ye,value:ye}}):o=s==null?void 0:s.map(ce=>({label:ce==null?void 0:ce[a],value:ce==null?void 0:ce[a]})),o=o==null?void 0:o.filter(ce=>ce.label),o};/**!
11
+ `).filter(s=>s.trim()!==""),t=t==null?void 0:t.map(s=>(s=s==null?void 0:s.replaceAll("\r",""),s));const n=[];let i="",a=0;for(const s of t)a=a+1,s.includes("{")||i.includes("{")||s.includes("[")||i.includes("[")||s.includes("【")||i.includes("【")||s.includes("(")||i.includes("(")||s.includes("(")||i.includes("(")||s.includes("/*")||i.includes("/*")?(i+=s.trim(),i.split("{").length-1===i.split("}").length-1&&i.split("【").length-1===i.split("】").length-1&&i.split("[").length-1===i.split("]").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("/*").length-1===i.split("*/").length-1&&!(e!=null&&e.find(o=>o===i[i.length-1]))&&!(e!=null&&e.find(o=>{var l;return o===((l=t==null?void 0:t[a])==null?void 0:l[0])}))?(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):i!=null&&i.includes("*/")&&(i=i.replace(/\/\*[\s\S]*?\*\//g,""))):e!=null&&e.find(o=>o===s[s.length-1])?i+=s.trim():n.push(s.trim().replace(/\/\*[\s\S]*?\*\//g,""));return n},lae=(r,e)=>{var s,o;let t=r;const n=[];let i="",a=0;for(const l of t)a++,l.includes("{")||i.includes("{")||l.includes("[")||i.includes("[")||l.includes("【")||i.includes("【")||l.includes("(")||i.includes("(")||l.includes("(")||i.includes("(")||l.includes("/*")||i.includes("/*")?(i+=l.trim(),i.split("{").length-1===i.split("}").length-1&&i.split("【").length-1===i.split("】").length-1&&i.split("[").length-1===i.split("]").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("/*").length-1===i.split("*/").length-1&&i[i.length-1]===e&&(i.split("'").length%2===1||((s=i.split("'"))==null?void 0:s.length)===1)?(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):a===(r==null?void 0:r.length)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i="")):(i+=l.trim(),(i==null?void 0:i[(i==null?void 0:i.length)-1])===e&&(i.split("'").length%2===1||((o=i.split("'"))==null?void 0:o.length)===1)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""));return(i==null?void 0:i.length)!==0&&n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),n},pxe=(r,e)=>r===e||r.length===e.length&&r.every((t,n)=>t===e[n]),vxe=r=>r.reduce((e,t)=>{var i;const n=(((i=e.at(-1))==null?void 0:i.total)??0)+t;return e.push({key:t,total:n}),e},[]),mxe=r=>{for(let e=r.length-1;e>0;e--){const t=Math.floor(Math.random()*(e+1));[r[e],r[t]]=[r[t],r[e]]}return r},gxe=(r,e=2)=>{const t=[];for(let n=0;n<r.length;n+=e)t.push(r.slice(n,n+e));return t},yxe=r=>!r||r.length===0?[]:r.length===1?r[0].map(e=>[e]):r.reduce((e,t)=>{const n=[];return e.forEach(i=>{t.forEach(a=>{i&&n.push(Object.assign(i,a))})}),n}),bxe=r=>typeof r=="number",xxe=Rr.useUnit(Rr.pinia),{selectTitle:tL}=Rr.storeToRefs(xxe),wxe=Rr.useMenuState(Rr.pinia),{currentMenuPath:I2}=Rr.storeToRefs(wxe);let tm="$R";const PS=new Map,_xe=r=>r==null?void 0:r.map(t=>{var o,l,c,u,f,h,d,p,v,g,y,m,b,x,w,_,S,T,E,M,R,O,k,D,A,C,L,I,P,z,F;let n=(u=(c=(l=(o=t==null?void 0:t.contents)==null?void 0:o.find(V=>{var U;return(U=V==null?void 0:V.key)==null?void 0:U.includes("struct")}))==null?void 0:l.value)==null?void 0:c[0])==null?void 0:u.类型,i=Object.values(t==null?void 0:t.name);i=i==null?void 0:i.reverse();let a=(f=t==null?void 0:t.contents)==null?void 0:f.map(V=>V==null?void 0:V.key),s={comp:n,isShow:t==null?void 0:t.is_show,name:i==null?void 0:i[0],id:t==null?void 0:t.object_id,relatedTables:a};for(let V in i)parseInt(V)>=1&&(s[`name${parseInt(V)-1}`]=i[V]);if(n==="Table"){let V=(h=t==null?void 0:t.contents)==null?void 0:h.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("content")}),U=[];V.value=(d=V==null?void 0:V.value)==null?void 0:d.sort((q,J)=>parseInt(q==null?void 0:q.id)-parseInt(J==null?void 0:J.id)),U.push({key:"tableContents",contents:V==null?void 0:V.value});let G=(m=(y=(g=(v=(p=t==null?void 0:t.contents)==null?void 0:p.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:v.value)==null?void 0:g[0])==null?void 0:y.结构)==null?void 0:m.contents;U.push({key:"header",contents:G}),U.push({key:"filter",contents:(S=(_=(w=(x=(b=t==null?void 0:t.contents)==null?void 0:b.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:x.value)==null?void 0:w[0])==null?void 0:_.引用)==null?void 0:S.contents}),s.compData=U}else if(n==="Form"){let V=[],U=(M=(E=(T=t==null?void 0:t.contents)==null?void 0:T.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("content")}))==null?void 0:E.value)==null?void 0:M[0],G=(C=(A=(D=(k=(O=(R=t==null?void 0:t.contents)==null?void 0:R.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:O.value)==null?void 0:k[0])==null?void 0:D.结构)==null?void 0:A.contents)==null?void 0:C.map(q=>(q.value=U==null?void 0:U[q==null?void 0:q.prop],q));V.push({key:"filter",contents:(F=(z=(P=(I=(L=t==null?void 0:t.contents)==null?void 0:L.find(q=>{var J;return(J=q==null?void 0:q.key)==null?void 0:J.includes("struct")}))==null?void 0:I.value)==null?void 0:P[0])==null?void 0:z.引用)==null?void 0:F.contents}),V.push({key:"formContent",contents:G}),s.compData=V}return s}),DM=async r=>new Promise((e,t)=>{var s,o;const n=Rr.useLoginState(Rr.pinia),{loginUserInfo:i}=Rr.storeToRefs(n);if(PS.has(r)){const l=PS.get(r);l.resolve=e,l.reject=t,l.debouncedFn(r,(s=i==null?void 0:i.value)==null?void 0:s.plat_id);return}const a=sae(async(l,c)=>{var f,h,d;const u=PS.get(l);try{const p=await Rr.getPageDataApi({platId:parseInt(c),pageName:l}),v=(f=p==null?void 0:p.data)==null?void 0:f.result,g=_xe(v);(h=u==null?void 0:u.resolve)==null||h.call(u,g)}catch(p){(d=u==null?void 0:u.reject)==null||d.call(u,p)}finally{PS.delete(l)}},10);PS.set(r,{debouncedFn:a,resolve:e,reject:t,timer:null}),a(r,(o=i==null?void 0:i.value)==null?void 0:o.plat_id)}),Sxe=async r=>{var l,c,u,f,h,d,p,v,g,y,m,b,x,w,_,S,T,E,M,R,O,k,D,A,C,L,I,P,z,F,V,U,G,q,J,de,ie,he,re,Q,K,fe,X,oe,se,le,j,te,ue,Ce,Oe,Y,ae,Ee,ge,pe,ne,be;let e=(l=r==null?void 0:r.menus)==null?void 0:l.join("/"),t=r==null?void 0:r.relatedWords;if((e==null?void 0:e[(e==null?void 0:e.length)-1])==="/")if(r!=null&&r.isMainPath){let ce=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1),ye=await DM(ce);ye=ye==null?void 0:ye.filter(_e=>(_e==null?void 0:_e.comp)==="Table");let Te=r==null?void 0:r.words;Te=Te==null?void 0:Te.join(".");let Ae=(g=(v=(p=ye==null?void 0:ye[0])==null?void 0:p.compData)==null?void 0:v.find(_e=>(_e==null?void 0:_e.key)==="tableContents"))==null?void 0:g.contents;if(r!=null&&r.filter&&((y=r==null?void 0:r.filter)!=null&&y.includes("@Filter"))){let _e=((x=(b=(m=r==null?void 0:r.filter)==null?void 0:m.split(","))==null?void 0:b.filter(Re=>Re==null?void 0:Re.includes("@Filter")))==null?void 0:x[0])??"";if(_e&&_e!==""){(_e==null?void 0:_e[(_e==null?void 0:_e.length)-1])===","&&(_e=_e==null?void 0:_e.slice(0,(_e==null?void 0:_e.length)-1)),_e=(_=(w=_e==null?void 0:_e.replace("(",tm))==null?void 0:w.split(tm))==null?void 0:_[1],_e=_e==null?void 0:_e.slice(0,(_e==null?void 0:_e.length)-1),(_e==null?void 0:_e[0])==="*"&&(_e="{"+((T=(S=_e==null?void 0:_e.replace("{",tm))==null?void 0:S.split(tm))==null?void 0:T[1])),_e=(E=_e==null?void 0:_e.replaceAll("{",""))==null?void 0:E.replaceAll("}","");let Re=fw.calculatorAndToOr(_e);Re=Re==null?void 0:Re[0];for(let Ve in Re)Ae=(M=Ae==null?void 0:Ae.map(Qe=>{if((Qe==null?void 0:Qe[Ve])===(Re==null?void 0:Re[Ve]))return Qe;for(let Ge in Qe)if(Ge!=null&&Ge.includes(Ve)&&(Qe==null?void 0:Qe[Ge])===(Re==null?void 0:Re[Ve]))return Qe;return""}))==null?void 0:M.filter(Qe=>Qe!=="")}}(Te==null?void 0:Te[(Te==null?void 0:Te.length)-1])==="."&&(Te=Te==null?void 0:Te.slice(0,(Te==null?void 0:Te.length)-1));let Le;return t&&Array.isArray(t)&&(t==null?void 0:t.length)>0?Le=Ae==null?void 0:Ae.map(_e=>{let Re="",Ve=Object.keys(_e);return t==null||t.forEach(Qe=>{var Ge,yt,at,St;if(Ve!=null&&Ve.find(_t=>{var dt,kt;return _t==null?void 0:_t.includes("."+((kt=Qe==null?void 0:Qe.split("."))==null?void 0:kt[((dt=Qe==null?void 0:Qe.split("."))==null?void 0:dt.length)-1]))})){let _t=Ve==null?void 0:Ve.find(dt=>{var kt,Mt;return dt==null?void 0:dt.includes("."+((Mt=Qe==null?void 0:Qe.split("."))==null?void 0:Mt[((kt=Qe==null?void 0:Qe.split("."))==null?void 0:kt.length)-1]))});Re=Re===""?Re+((_e==null?void 0:_e[_t])??""):Re+" "+((_e==null?void 0:_e[_t])??"")}else Re=Re===""?Re+((_e==null?void 0:_e[Qe])??(_e==null?void 0:_e[(yt=Qe==null?void 0:Qe.split("."))==null?void 0:yt[((Ge=Qe==null?void 0:Qe.split("."))==null?void 0:Ge.length)-1]])):Re+" "+((_e==null?void 0:_e[Qe])??(_e==null?void 0:_e[(St=Qe==null?void 0:Qe.split("."))==null?void 0:St[((at=Qe==null?void 0:Qe.split("."))==null?void 0:at.length)-1]])??"")}),{label:Re,value:Re}}):Le=Ae==null?void 0:Ae.map(_e=>({label:_e==null?void 0:_e[Te],value:_e==null?void 0:_e[Te]})),Le=Le==null?void 0:Le.filter(_e=>_e.label),Le}else if(r!=null&&r.endChildMenu&&(r==null?void 0:r.endChildMenu)!=="")e=e+((u=(c=r==null?void 0:r.endChildMenu)==null?void 0:c.split(" "))==null?void 0:u[0]);else{let ce=(f=tL.value)==null?void 0:f.filter(ye=>(ye==null?void 0:ye.condition)==="child");((h=ce==null?void 0:ce[0])==null?void 0:h.parentContent)+"/"===e?e=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1):(ce=(d=ce==null?void 0:ce[0])==null?void 0:d.value,e=e+ce)}let n=await DM(e),i=r==null?void 0:r.groups,a=r==null?void 0:r.words;n=n==null?void 0:n.filter(ce=>(ce==null?void 0:ce.name)===(i==null?void 0:i[(i==null?void 0:i.length)-1]));let s;if((k=(O=(R=n==null?void 0:n[0])==null?void 0:R.compData)==null?void 0:O.find(ce=>(ce==null?void 0:ce.key)==="tableContents"))!=null&&k.contents)s=(C=(A=(D=n==null?void 0:n[0])==null?void 0:D.compData)==null?void 0:A.find(ce=>(ce==null?void 0:ce.key)==="tableContents"))==null?void 0:C.contents;else{let ce={};(z=(P=(I=(L=n==null?void 0:n[0])==null?void 0:L.compData)==null?void 0:I.find(ye=>(ye==null?void 0:ye.key)==="formContent"))==null?void 0:P.contents)==null||z.forEach(ye=>{ce[ye.prop]=ye.value}),s=[ce]}if(r!=null&&r.filter&&(r==null?void 0:r.filter)!==""){let ce=lae(r==null?void 0:r.filter,",");if(ce=((F=ce==null?void 0:ce.filter(ye=>ye==null?void 0:ye.includes("@Filter")))==null?void 0:F[0])??"",ce&&ce!==""){(ce==null?void 0:ce[(ce==null?void 0:ce.length)-1])===","&&(ce=ce==null?void 0:ce.slice(0,(ce==null?void 0:ce.length)-1)),ce=(U=(V=ce==null?void 0:ce.replace("(",tm))==null?void 0:V.split(tm))==null?void 0:U[1],ce=ce==null?void 0:ce.slice(0,(ce==null?void 0:ce.length)-1),(ce==null?void 0:ce[0])==="*"&&(ce="{"+((q=(G=ce==null?void 0:ce.replace("{",tm))==null?void 0:G.split(tm))==null?void 0:q[1])),ce=(J=ce==null?void 0:ce.replaceAll("{",""))==null?void 0:J.replaceAll("}","");let ye=fw.calculatorAndToOr(ce);ye=ye==null?void 0:ye[0];let Te;if((de=Object.values(ye))!=null&&de.some(Ae=>(Ae==null?void 0:Ae[0])==="*")){let Ae=(he=(ie=tL.value)==null?void 0:ie.find(Le=>(Le==null?void 0:Le.condition)==="child"))!=null&&he.value?(I2==null?void 0:I2.value)+"/"+((Q=(re=tL.value)==null?void 0:re.find(Le=>(Le==null?void 0:Le.condition)==="child"))==null?void 0:Q.value):I2==null?void 0:I2.value;Te=await DM(Ae)}for(let Ae in ye)if(((K=ye==null?void 0:ye[Ae])==null?void 0:K[0])==="*"){let Le=(se=(oe=(X=ye[Ae])==null?void 0:X.slice(1,(fe=ye[Ae])==null?void 0:fe.length))==null?void 0:oe.split(":"))==null?void 0:se[0],_e=(j=(le=ye[Ae])==null?void 0:le.split(":"))==null?void 0:j[1],Re=(te=Te==null?void 0:Te.filter(Ve=>(Ve==null?void 0:Ve.name)===Le))==null?void 0:te[0];Re=(Ce=(ue=Re==null?void 0:Re.compData)==null?void 0:ue.find(Ve=>(Ve==null?void 0:Ve.key)==="tableContents"))==null?void 0:Ce.contents,Re=(Oe=Re==null?void 0:Re[0])==null?void 0:Oe[_e],ye[Ae]=Re}for(let Ae in ye)s=(Y=s==null?void 0:s.map(Le=>{var _e,Re;if((Le==null?void 0:Le[Ae])===(ye==null?void 0:ye[Ae])||r!=null&&r.endChildMenu)return Le;for(let Ve in Le)if(((Re=Ve==null?void 0:Ve.split("."))==null?void 0:Re[((_e=Ve==null?void 0:Ve.split("."))==null?void 0:_e.length)-1])===Ae&&Le[Ve]===(ye==null?void 0:ye[Ae]))return Le}))==null?void 0:Y.filter(Le=>Le)}}if(e==="系统管理/角色管理"){const ce=Rr.useLoginState(Rr.pinia),{loginUserInfo:ye}=Rr.storeToRefs(ce);n=await Rr.getAllTables({platId:parseInt((ae=ye==null?void 0:ye.value)==null?void 0:ae.plat_id),tableNames:["role"]}),n=((ge=(Ee=n==null?void 0:n.data)==null?void 0:Ee.result)==null?void 0:ge[0])??[],s=n}if(e==="系统管理/部门管理"){const ce=Rr.useLoginState(Rr.pinia),{loginUserInfo:ye}=Rr.storeToRefs(ce),Te=(pe=ye==null?void 0:ye.value)==null?void 0:pe.plat_id;n=await f2e.getDepartmentOptions(Te),n=((ne=n==null?void 0:n.data)==null?void 0:ne.result)||[],s=n}a=(be=a==null?void 0:a.join("."))==null?void 0:be.replaceAll("'",""),(a==null?void 0:a[(a==null?void 0:a.length)-1])==="."&&(a=a==null?void 0:a.slice(0,(a==null?void 0:a.length)-1));let o;return t&&Array.isArray(t)&&(t==null?void 0:t.length)>0?o=s==null?void 0:s.map(ce=>{let ye="",Te=Object.keys(ce);return t==null||t.forEach(Ae=>{if(Te!=null&&Te.find(Le=>{var _e,Re;return Le==null?void 0:Le.includes("."+((Re=Ae==null?void 0:Ae.split("."))==null?void 0:Re[((_e=Ae==null?void 0:Ae.split("."))==null?void 0:_e.length)-1]))})){let Le=Te==null?void 0:Te.find(_e=>{var Re,Ve;return _e==null?void 0:_e.includes("."+((Ve=Ae==null?void 0:Ae.split("."))==null?void 0:Ve[((Re=Ae==null?void 0:Ae.split("."))==null?void 0:Re.length)-1]))});ye=ye===""?ye+((ce==null?void 0:ce[Le])??""):ye+" "+((ce==null?void 0:ce[Le])??"")}else ye=ye===""?ye+(ce==null?void 0:ce[Ae]):ye+" "+(ce==null?void 0:ce[Ae])}),{label:ye,value:ye}}):o=s==null?void 0:s.map(ce=>({label:ce==null?void 0:ce[a],value:ce==null?void 0:ce[a]})),o=o==null?void 0:o.filter(ce=>ce.label),o};/**!
12
12
  * Sortable 1.15.6
13
13
  * @author RubaXa <trash@rubaxa.org>
14
14
  * @author owenm <owen23355@gmail.com>
@@ -1,8 +1,8 @@
1
- import { k as t, m as i, l as s } from "./request-DeDL4lsA.js";
1
+ import { m as t, o as i, n as s } from "./request-jbRhtseH.js";
2
2
  var n = "[object String]";
3
- function g(r) {
3
+ function a(r) {
4
4
  return typeof r == "string" || !i(r) && t(r) && s(r) == n;
5
5
  }
6
6
  export {
7
- g as i
7
+ a as i
8
8
  };
@@ -1 +1 @@
1
- "use strict";const r=require("./request-BBDPqFah.cjs");var i="[object String]";function s(t){return typeof t=="string"||!r.isArray(t)&&r.isObjectLike(t)&&r.baseGetTag(t)==i}exports.isString=s;
1
+ "use strict";const r=require("./request-D7fe_DR0.cjs");var i="[object String]";function s(t){return typeof t=="string"||!r.isArray(t)&&r.isObjectLike(t)&&r.baseGetTag(t)==i}exports.isString=s;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),G=require("./array-Dran49KI.cjs"),r=require("./index-jU-5AL6b.cjs"),ne=require("./index-ClouXXMe.cjs"),T=require("./index-Bb7RsNv1.cjs"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),F=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"}],A=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"LineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"}];n.ref(0);n.ref(0);n.ref(1);const le=s=>{let d;s.replaceAll(" ",`\r
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),G=require("./array-Do8KzaU2.cjs"),r=require("./index-C4Y7wcXY.cjs"),ne=require("./index-DvP-61i9.cjs"),T=require("./index-ef_JkQ_m.cjs"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),F=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"}],A=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"LineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"}];n.ref(0);n.ref(0);n.ref(1);const le=s=>{let d;s.replaceAll(" ",`\r
2
2
  `).replaceAll(`
3
3
  `,`\r
4
4
  `).includes(`\r
@@ -1,8 +1,8 @@
1
1
  import { ref as U, watch as v, createElementBlock as E, createCommentVNode as q, openBlock as I, Fragment as de, renderList as fe, createElementVNode as S, createBlock as se, toDisplayString as oe, resolveDynamicComponent as ye, onMounted as he, onUnmounted as ke, createVNode as te } from "vue";
2
- import { m as ge, a as _e, b as Ce, c as be } from "./array-eoEZosoh.js";
3
- import { c, a as ce, p as re, s as ue, u as Oe } from "./index-y8S00w40.js";
4
- import { g as Ae } from "./index-Cp4vuXJ2.js";
5
- import { v as H, a as K } from "./index-D1QwVcxQ.js";
2
+ import { m as ge, a as _e, b as Ce, c as be } from "./array-CO-1w6WF.js";
3
+ import { c, a as ce, p as re, s as ue, u as Oe } from "./index-ChhoW6TZ.js";
4
+ import { g as Ae } from "./index-BvSxcyl4.js";
5
+ import { v as H, a as K } from "./index-DmO1nv0b.js";
6
6
  import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const B = [
8
8
  {
@@ -1,4 +1,4 @@
1
- import { c as b } from "./index-y8S00w40.js";
1
+ import { c as b } from "./index-ChhoW6TZ.js";
2
2
  function E(s, e, n, r = "children") {
3
3
  var l;
4
4
  for (const i of s) {
@@ -1 +1 @@
1
- "use strict";const R=require("./index-jU-5AL6b.cjs");function g(s,e,n,r="children"){var i;for(const l of s){if(l[e]===n)return l;if(l[r]&&((i=l[r])==null?void 0:i.length)>0){const u=g(l[r],e,n);if(u)return u}}return null}function B(s,e){const n=e.split("/");let r=s,i=null;for(let l of n){const u=r.find(t=>t.title===l);if(!u)return null;i||(i=u),r=u.children??[]}return i}const I=s=>{var n;const e=s;return e.children=(n=e.children)==null?void 0:n.map(r=>{var i;return(i=r==null?void 0:r.title)!=null&&i.children?r==null?void 0:r.title:r}),e},M=s=>{var e,n,r;return Array.isArray(s==null?void 0:s.title)&&((e=s==null?void 0:s.title)==null?void 0:e.length)===((r=(n=s==null?void 0:s.title)==null?void 0:n.filter(i=>i.title))==null?void 0:r.length)?s==null?void 0:s.title:Array.isArray(s==null?void 0:s.children)?I(s):s},y=(s,e)=>{const n=e,r=[];s==null||s.forEach(l=>{Array.isArray(l)?r.push({children:y(l,[])}):r.push({title:l})});let i=r.reduce((l,u)=>(Object.entries(u).forEach(([t,h])=>{l[t]===void 0?h!=null&&h.title?l[t]=[h]:l[t]=h:(Array.isArray(l[t])||(l[t]=[{title:l[t]}]),h!=null&&h.title||Array.isArray(h)?l[t].push(h):l[t].push({title:h}))}),l),{});return i=M(R.cloneDeep(i)),n.push(i),Array.isArray(n)&&(n==null?void 0:n.length)>1?n:n==null?void 0:n[0]},F=s=>{let e=[],n=[];return s==null||s.forEach(r=>{e=y(r,n)}),e},O=(s,e)=>{const n={};return Object.keys(s).forEach(r=>{e.includes(r)||(n[r]=s[r]),r==="id"&&(n.prop=s.id)}),n},N=(s,e)=>!s||!Array.isArray(s)?[]:s.map(n=>{const r=O(n,e);return r.children&&Array.isArray(r.children)&&(r.children=N(r.children,e)),r}),T=(s,e=0)=>s==null?void 0:s.map(n=>{const r={...n,level:e};return r.children&&r.children.length>0&&(r.children=T(r.children,e+1)),r}),j=(s,e="id",n="path",r="name")=>{if(!s||!Array.isArray(s)||s.length===0)return[];const i=new Map,l=new Map;s.forEach(h=>{const d={...h,children:[]};i.set(h[e],d),h[n]&&l.set(h[n],d)});const u=[...s].sort((h,d)=>{var f,o;const a=(((f=h[n])==null?void 0:f.match(/\//g))||[]).length,p=(((o=d[n])==null?void 0:o.match(/\//g))||[]).length;return a-p}),t=[];return u.forEach(h=>{const d=i.get(h[e]),a=h[n],p=h[r];if(!a||a===p){t.push(d);return}const f=a.split("/");let o=null;for(let c=f.length-1;c>0;c--){const A=f.slice(0,c).join("/");if(o=l.get(A),o)break}if(!o&&f.length>1){const c=f[f.length-2],A=s.find(w=>w[r]===c);A&&(o=i.get(A[e]))}o?o.children.push(d):t.push(d)}),T(t)},E=(s,e)=>{var n;return Array.isArray(s)?(n=s==null?void 0:s.map(r=>{const i={...r};return i.children&&Array.isArray(i.children)&&(i.children=E(i.children,e)),i}))==null?void 0:n.filter(r=>!((r==null?void 0:r[e])&&Array.isArray(r==null?void 0:r[e])&&(r==null?void 0:r[e].length)>0)):[]},b=(s,e,n="id",r="children")=>{if(!Array.isArray(s))return null;for(const i of s)if(i[r]&&Array.isArray(i[r])){if(i[r].find(t=>t[n]===e))return i;const u=b(i[r],e,n,r);if(u)return u}return null};exports.buildTreeFromPath=j;exports.cleanTreeData=N;exports.convertRawToTree=F;exports.filterEmptyColumns=E;exports.findNodeByPropInTree=g;exports.findRootNodeByPath=B;exports.getParentNode=b;
1
+ "use strict";const R=require("./index-C4Y7wcXY.cjs");function g(s,e,n,r="children"){var i;for(const l of s){if(l[e]===n)return l;if(l[r]&&((i=l[r])==null?void 0:i.length)>0){const u=g(l[r],e,n);if(u)return u}}return null}function B(s,e){const n=e.split("/");let r=s,i=null;for(let l of n){const u=r.find(t=>t.title===l);if(!u)return null;i||(i=u),r=u.children??[]}return i}const I=s=>{var n;const e=s;return e.children=(n=e.children)==null?void 0:n.map(r=>{var i;return(i=r==null?void 0:r.title)!=null&&i.children?r==null?void 0:r.title:r}),e},M=s=>{var e,n,r;return Array.isArray(s==null?void 0:s.title)&&((e=s==null?void 0:s.title)==null?void 0:e.length)===((r=(n=s==null?void 0:s.title)==null?void 0:n.filter(i=>i.title))==null?void 0:r.length)?s==null?void 0:s.title:Array.isArray(s==null?void 0:s.children)?I(s):s},y=(s,e)=>{const n=e,r=[];s==null||s.forEach(l=>{Array.isArray(l)?r.push({children:y(l,[])}):r.push({title:l})});let i=r.reduce((l,u)=>(Object.entries(u).forEach(([t,h])=>{l[t]===void 0?h!=null&&h.title?l[t]=[h]:l[t]=h:(Array.isArray(l[t])||(l[t]=[{title:l[t]}]),h!=null&&h.title||Array.isArray(h)?l[t].push(h):l[t].push({title:h}))}),l),{});return i=M(R.cloneDeep(i)),n.push(i),Array.isArray(n)&&(n==null?void 0:n.length)>1?n:n==null?void 0:n[0]},F=s=>{let e=[],n=[];return s==null||s.forEach(r=>{e=y(r,n)}),e},O=(s,e)=>{const n={};return Object.keys(s).forEach(r=>{e.includes(r)||(n[r]=s[r]),r==="id"&&(n.prop=s.id)}),n},N=(s,e)=>!s||!Array.isArray(s)?[]:s.map(n=>{const r=O(n,e);return r.children&&Array.isArray(r.children)&&(r.children=N(r.children,e)),r}),T=(s,e=0)=>s==null?void 0:s.map(n=>{const r={...n,level:e};return r.children&&r.children.length>0&&(r.children=T(r.children,e+1)),r}),j=(s,e="id",n="path",r="name")=>{if(!s||!Array.isArray(s)||s.length===0)return[];const i=new Map,l=new Map;s.forEach(h=>{const d={...h,children:[]};i.set(h[e],d),h[n]&&l.set(h[n],d)});const u=[...s].sort((h,d)=>{var f,o;const a=(((f=h[n])==null?void 0:f.match(/\//g))||[]).length,p=(((o=d[n])==null?void 0:o.match(/\//g))||[]).length;return a-p}),t=[];return u.forEach(h=>{const d=i.get(h[e]),a=h[n],p=h[r];if(!a||a===p){t.push(d);return}const f=a.split("/");let o=null;for(let c=f.length-1;c>0;c--){const A=f.slice(0,c).join("/");if(o=l.get(A),o)break}if(!o&&f.length>1){const c=f[f.length-2],A=s.find(w=>w[r]===c);A&&(o=i.get(A[e]))}o?o.children.push(d):t.push(d)}),T(t)},E=(s,e)=>{var n;return Array.isArray(s)?(n=s==null?void 0:s.map(r=>{const i={...r};return i.children&&Array.isArray(i.children)&&(i.children=E(i.children,e)),i}))==null?void 0:n.filter(r=>!((r==null?void 0:r[e])&&Array.isArray(r==null?void 0:r[e])&&(r==null?void 0:r[e].length)>0)):[]},b=(s,e,n="id",r="children")=>{if(!Array.isArray(s))return null;for(const i of s)if(i[r]&&Array.isArray(i[r])){if(i[r].find(t=>t[n]===e))return i;const u=b(i[r],e,n,r);if(u)return u}return null};exports.buildTreeFromPath=j;exports.cleanTreeData=N;exports.convertRawToTree=F;exports.filterEmptyColumns=E;exports.findNodeByPropInTree=g;exports.findRootNodeByPath=B;exports.getParentNode=b;