ss-component-new 1.2.2 → 1.2.4
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/OrbitControls-Co_9huz0.cjs +1 -0
- package/dist/OrbitControls-DA4VpOM_.js +458 -0
- package/dist/STLLoader-DmGTF0Nv.js +657 -0
- package/dist/STLLoader-RU7KqloS.cjs +6 -0
- package/dist/{animationData-BDq02_ir.js → animationData-9n1X4UvO.js} +4 -4
- package/dist/{animationData-BRDoJBuV.cjs → animationData-CfT99nMO.cjs} +1 -1
- package/dist/{array-BtZq8qON.cjs → array-BPHS7JFA.cjs} +1 -1
- package/dist/{array-A59WrroX.js → array-pg68Qbs1.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{iconfont-7cEds3Xj.js → iconfont-ljBfzBSE.js} +2 -2
- package/dist/{iconfont-CsuwJCas.cjs → iconfont-t5epssvu.cjs} +1 -1
- package/dist/{index-wq8KZGnQ.js → index---6UATT0.js} +3 -3
- package/dist/{index-D8S0DVkq.cjs → index-1DtctdYW.cjs} +1 -1
- package/dist/index-5hLZZ6t-.cjs +1 -0
- package/dist/{index-DygW4mGC.js → index-8CcD03tl.js} +6 -6
- package/dist/{index-C6Uddqal.js → index-B5gNufYw.js} +2 -2
- package/dist/{index-BgJn4mlV.js → index-B5srJr0o.js} +2 -2
- package/dist/{index-B_k7wRBo.cjs → index-B5vIeQUq.cjs} +1 -1
- package/dist/{index-DS3OziT5.cjs → index-B8J_v2Ky.cjs} +1 -1
- package/dist/{index-DQTI3BuS.cjs → index-B9nZeing.cjs} +1 -1
- package/dist/{index-BeqNCviq.js → index-BAj0dyBF.js} +152 -152
- package/dist/{index-BeTQ6ief.js → index-BEJOd_29.js} +4 -4
- package/dist/{index-Dn9I5-1H.cjs → index-BKhDFqMM.cjs} +1 -1
- package/dist/{index-Cz03X-rX.js → index-BNNxPuEV.js} +1 -1
- package/dist/{index-DmwVXfrE.cjs → index-BOVdAFDH.cjs} +1 -1
- package/dist/{index-Crd4LGue.cjs → index-Bi7yv8jC.cjs} +1 -1
- package/dist/{index-CFg3-0Tk.js → index-BjXcyVvp.js} +2 -2
- package/dist/{index-CxnH4vfV.cjs → index-BrsIZVyD.cjs} +1 -1
- package/dist/{index-BB6zZsmY.cjs → index-Bsdjuxq1.cjs} +1 -1
- package/dist/{index-C461j30b.js → index-BuKHInQb.js} +1 -1
- package/dist/{index-CJzA3AAO.cjs → index-Bx4qIiIa.cjs} +1 -1
- package/dist/{index-HFf3Z0Ft.cjs → index-C-AOuDkl.cjs} +1 -1
- package/dist/{index-C3CD2NW8.cjs → index-C0HHmjrg.cjs} +1 -1
- package/dist/{index-BTrjEMt1.js → index-C1lB8apW.js} +4 -4
- package/dist/{index-DqquxuCt.cjs → index-CAHYTZ1Q.cjs} +1 -1
- package/dist/{index-BdL8I_2i.cjs → index-CCIJ-P3X.cjs} +1 -1
- package/dist/{index-B9j8fCyS.js → index-CCsSOTaB.js} +2 -2
- package/dist/{index-YQnrEK_K.js → index-CDXq3gs4.js} +21 -21
- package/dist/{index-CrWFG4Wb.cjs → index-CK_O7QdV.cjs} +1 -1
- package/dist/{index-N7dEiXLQ.js → index-CLtFz5gE.js} +3 -3
- package/dist/{index-6t33eejU.cjs → index-CMlYJD5U.cjs} +1 -1
- package/dist/{index-BxPnA2or.js → index-CdPbJekh.js} +448 -448
- package/dist/{index-CjI5pDiU.cjs → index-CmlXlH2b.cjs} +1 -1
- package/dist/{index-C_VamYcq.js → index-CpE8hbs0.js} +6 -6
- package/dist/{index-CNJzNn6z.cjs → index-CxNBcsll.cjs} +1 -1
- package/dist/{index-BqCCREh3.js → index-CyP2hcVu.js} +6 -6
- package/dist/{index-gjDjqhNq.cjs → index-D-r_YKrq.cjs} +2 -2
- package/dist/{index-C23iUpXa.js → index-D0_4keB8.js} +5 -5
- package/dist/{index-db5CgGrA.js → index-DBScQH7L.js} +13 -13
- package/dist/{index-Cx302rHQ.cjs → index-DCf7Tz40.cjs} +1 -1
- package/dist/{index-DNE4QDIf.js → index-DEwcUkb-.js} +3 -3
- package/dist/{index-qoqka5Nb.js → index-DFg-bhPI.js} +1 -1
- package/dist/{index-CtPy-3S1.cjs → index-DJ1PTHpx.cjs} +1 -1
- package/dist/{index-DqaA5Rvx.cjs → index-DOlPMLvf.cjs} +1 -1
- package/dist/{index-Kg96Vvn5.cjs → index-DPaTtF3h.cjs} +1 -1
- package/dist/{index-CVl84S8B.cjs → index-DPyzaxnq.cjs} +1 -1
- package/dist/{index-DH0dVg0N.js → index-DS5z17Mc.js} +7 -7
- package/dist/{index-B35e4i9n.js → index-DSsZtYMz.js} +2 -2
- package/dist/{index-DVvt9_w0.js → index-Dk8D9SRm.js} +1 -1
- package/dist/{index-wHil9Fox.js → index-DsHRVZ0E.js} +2 -2
- package/dist/{index-DmB0dlGH.cjs → index-DszzdQnM.cjs} +1 -1
- package/dist/{index-BwjuTBrR.js → index-FxX6NP0J.js} +1 -1
- package/dist/{index-CtG-uyjY.cjs → index-LXb5DfDE.cjs} +1 -1
- package/dist/{index-byBdKAky.cjs → index-NFCeQcv4.cjs} +1 -1
- package/dist/{index-BvPC1LSv.js → index-PIEkAjRf.js} +12 -12
- package/dist/{index-CYp77kPp.js → index-UN4JU0ly.js} +1 -1
- package/dist/{index-CvEj4aiY.js → index-Y7MUJdPv.js} +2 -2
- package/dist/{index-aneoZx5F.js → index-bj8hK6Pe.js} +2 -2
- package/dist/{index-1z9RrjZc.cjs → index-d6tSWKtY.cjs} +1 -1
- package/dist/{index-DIm3MBK_.cjs → index-nUEWiqy9.cjs} +1 -1
- package/dist/{index-dqBbhGfy.js → index-pLeOyTaj.js} +6 -6
- package/dist/{index-nq9fleOT.js → index-xHEf6hcO.js} +2 -2
- package/dist/{index-XQxaEXgz.cjs → index-zQVJFawn.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dmm4yqcc.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BTu7I4mn.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CzcK5mCc.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cmc1oALS.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B0Ivzvcp.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-Bg_c-oAL.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-xm0hMPwT.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-C795GAHK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Czu5g16A.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-9kDr7Iek.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CMx9TLjC.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Bn5qXF4J.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-CXwGS60-.cjs → index.vue_vue_type_style_index_1_lang-Bn7P4fYM.cjs} +46 -45
- package/dist/{index.vue_vue_type_style_index_1_lang-BxEXAMMV.js → index.vue_vue_type_style_index_1_lang-D1n_3_F6.js} +5100 -5012
- package/dist/{index.vue_vue_type_style_index_1_lang-AXp5rRSK.js → index.vue_vue_type_style_index_1_lang-Exyt6qTf.js} +525 -525
- package/dist/{index.vue_vue_type_style_index_1_lang-j5HrYuvy.cjs → index.vue_vue_type_style_index_1_lang-zN5mc8b0.cjs} +2 -2
- package/dist/{isString-BNK38WbE.js → isString-BAN9KLwf.js} +1 -1
- package/dist/{isString-BmAegMGI.cjs → isString-ChvWbctO.cjs} +1 -1
- package/dist/{main-BgpAXuSa.cjs → main-BUEuCNq-.cjs} +1 -1
- package/dist/{main-t7yIujwl.js → main-Dk3BZDsa.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/three-viewport-gizmo-BHznJ6W3.js +26015 -0
- package/dist/three-viewport-gizmo-BV37JzRa.cjs +4197 -0
- package/dist/{threeLatheView-sTBlm0tt.js → threeLatheView-DcuDjVv0.js} +4 -4
- package/dist/{threeLatheView-BzHB-t_G.cjs → threeLatheView-DfSxRY8B.cjs} +1 -1
- package/dist/{threeModel-BudPgWiX.cjs → threeModel-DjjtL0-a.cjs} +1 -1
- package/dist/{threeModel-11Yk8w2d.js → threeModel-YRFvkgXU.js} +5 -5
- package/dist/threePreview-ByUYJkts.cjs +1 -0
- package/dist/threePreview-CyYfnbB6.js +1972 -0
- package/dist/{threeSceneView-DT-STxuj.cjs → threeSceneView-mhrcH0WG.cjs} +1 -1
- package/dist/{threeSceneView-Bwed326O.js → threeSceneView-zvyCHrp1.js} +24 -24
- package/dist/{threeSceneViewForCPMPIP-RRDb_tZ0.cjs → threeSceneViewForCPMPIP-DA-twBdG.cjs} +2 -2
- package/dist/{threeSceneViewForCPMPIP-PgPPGBxu.js → threeSceneViewForCPMPIP-axjwKt9X.js} +27 -27
- package/dist/{threeViewerHost-Brgx-J3Q.cjs → threeViewerHost-B02OtfCk.cjs} +1 -1
- package/dist/{threeViewerHost-k5I66uBW.js → threeViewerHost-D7L1FW__.js} +4 -4
- package/dist/{useRayCaster-TCYe6KMI.js → useRayCaster-CAqupK7D.js} +12 -12
- package/dist/{useRayCaster-CLcetetd.cjs → useRayCaster-ClcofJkf.cjs} +1 -1
- package/package.json +1 -1
- package/public/config.js +1 -1
- package/dist/OrbitControls-D1lM0xvz.cjs +0 -1
- package/dist/OrbitControls-DI8fa9gz.js +0 -419
- package/dist/STLLoader-KxFIlfhN.cjs +0 -6
- package/dist/STLLoader-memlq1bT.js +0 -609
- package/dist/index-TXrydBPq.cjs +0 -1
- package/dist/three-viewport-gizmo-BxFHxv_x.js +0 -18587
- package/dist/three-viewport-gizmo-CwaL5sMV.cjs +0 -4195
- package/dist/threePreview-Cy7NY-gw.cjs +0 -1
- package/dist/threePreview-DPyqhBkJ.js +0 -1873
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ait=Object.defineProperty;var oit=(r,e,t)=>e in r?ait(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Cr=(r,e,t)=>oit(r,typeof e!="symbol"?e+"":e,t);const Gg=require("./index.vue_vue_type_style_index_1_lang-j5HrYuvy.cjs"),li=require("./index-1z9RrjZc.cjs");function uW(r,e){return Gg.setToString(Gg.overRest(r,e,Gg.identity),r+"")}function sit(r,e,t){if(!li.isObject(t))return!1;var n=typeof e;return(n=="number"?li.isArrayLike(t)&&li.isIndex(e,t.length):n=="string"&&e in t)?li.eq(t[e],r):!1}function lit(r){return uW(function(e,t){var n=-1,i=t.length,a=i>1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(a=r.length>3&&typeof a=="function"?(i--,a):void 0,o&&sit(t[0],t[1],o)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var s=t[n];s&&r(e,s,n,a)}return e})}var uit="[object Object]",cit=Function.prototype,fit=Object.prototype,cW=cit.toString,hit=fit.hasOwnProperty,dit=cW.call(Object);function fW(r){if(!li.isObjectLike(r)||li.baseGetTag(r)!=uit)return!1;var e=li.getPrototype(r);if(e===null)return!0;var t=hit.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&cW.call(t)==dit}function pit(r){return function(e,t,n){for(var i=-1,a=Object(e),o=n(e),s=o.length;s--;){var l=o[++i];if(t(a[l],l,a)===!1)break}return e}}var hW=pit();function bE(r,e,t){(t!==void 0&&!li.eq(r[e],t)||t===void 0&&!(e in r))&&li.baseAssignValue(r,e,t)}function dW(r){return li.isObjectLike(r)&&li.isArrayLike(r)}function wE(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function vit(r){return li.copyObject(r,li.keysIn(r))}function git(r,e,t,n,i,a,o){var s=wE(r,t),l=wE(e,t),u=o.get(l);if(u){bE(r,t,u);return}var c=a?a(s,l,t+"",r,e,o):void 0,f=c===void 0;if(f){var h=li.isArray(l),d=!h&&li.isBuffer(l),p=!h&&!d&&li.isTypedArray(l);c=l,h||d||p?li.isArray(s)?c=s:dW(s)?c=li.copyArray(s):d?(f=!1,c=li.cloneBuffer(l,!0)):p?(f=!1,c=li.cloneTypedArray(l,!0)):c=[]:fW(l)||li.isArguments(l)?(c=s,li.isArguments(s)?c=vit(s):(!li.isObject(s)||li.isFunction$1(s))&&(c=li.initCloneObject(l))):f=!1}f&&(o.set(l,c),i(c,l,n,a,o),o.delete(l)),bE(r,t,c)}function pW(r,e,t,n,i){r!==e&&hW(e,function(a,o){if(i||(i=new li.Stack),li.isObject(a))git(r,e,o,t,pW,n,i);else{var s=n?n(wE(r,o),a,o+"",r,e,i):void 0;s===void 0&&(s=a),bE(r,o,s)}},li.keysIn)}var Zh=lit(function(r,e,t){pW(r,e,t)}),bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function m0(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function mit(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),t}var p4={exports:{}},yit=p4.exports,lO;function bit(){return lO||(lO=1,function(r,e){(function(t,n){r.exports=n()})(yit,function(){var t=1e3,n=6e4,i=36e5,a="millisecond",o="second",s="minute",l="hour",u="day",c="week",f="month",h="quarter",d="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(D){var T=["th","st","nd","rd"],A=D%100;return"["+D+(T[(A-20)%10]||T[A]||T[0])+"]"}},b=function(D,T,A){var I=String(D);return!I||I.length>=T?D:""+Array(T+1-I.length).join(A)+D},w={s:b,z:function(D){var T=-D.utcOffset(),A=Math.abs(T),I=Math.floor(A/60),M=A%60;return(T<=0?"+":"-")+b(I,2,"0")+":"+b(M,2,"0")},m:function D(T,A){if(T.date()<A.date())return-D(A,T);var I=12*(A.year()-T.year())+(A.month()-T.month()),M=T.clone().add(I,f),L=A-M<0,z=T.clone().add(I+(L?-1:1),f);return+(-(I+(A-M)/(L?M-z:z-M))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:f,y:d,w:c,d:u,D:p,h:l,m:s,s:o,ms:a,Q:h}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},_="en",x={};x[_]=v;var S="$isDayjsObject",k=function(D){return D instanceof F||!(!D||!D[S])},C=function D(T,A,I){var M;if(!T)return _;if(typeof T=="string"){var L=T.toLowerCase();x[L]&&(M=L),A&&(x[L]=A,M=L);var z=T.split("-");if(!M&&z.length>1)return D(z[0])}else{var N=T.name;x[N]=T,M=N}return!I&&M&&(_=M),M||!I&&_},B=function(D,T){if(k(D))return D.clone();var A=typeof T=="object"?T:{};return A.date=D,A.args=arguments,new F(A)},O=w;O.l=C,O.i=k,O.w=function(D,T){return B(D,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var F=function(){function D(A){this.$L=C(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[S]=!0}var T=D.prototype;return T.parse=function(A){this.$d=function(I){var M=I.date,L=I.utc;if(M===null)return new Date(NaN);if(O.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var z=M.match(m);if(z){var N=z[2]-1||0,U=(z[7]||"0").substring(0,3);return L?new Date(Date.UTC(z[1],N,z[3]||1,z[4]||0,z[5]||0,z[6]||0,U)):new Date(z[1],N,z[3]||1,z[4]||0,z[5]||0,z[6]||0,U)}}return new Date(M)}(A),this.init()},T.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},T.$utils=function(){return O},T.isValid=function(){return this.$d.toString()!==g},T.isSame=function(A,I){var M=B(A);return this.startOf(I)<=M&&M<=this.endOf(I)},T.isAfter=function(A,I){return B(A)<this.startOf(I)},T.isBefore=function(A,I){return this.endOf(I)<B(A)},T.$g=function(A,I,M){return O.u(A)?this[I]:this.set(M,A)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(A,I){var M=this,L=!!O.u(I)||I,z=O.p(A),N=function(pt,rt){var Y=O.w(M.$u?Date.UTC(M.$y,rt,pt):new Date(M.$y,rt,pt),M);return L?Y:Y.endOf(u)},U=function(pt,rt){return O.w(M.toDate()[pt].apply(M.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(rt)),M)},V=this.$W,G=this.$M,X=this.$D,tt="set"+(this.$u?"UTC":"");switch(z){case d:return L?N(1,0):N(31,11);case f:return L?N(1,G):N(0,G+1);case c:var yt=this.$locale().weekStart||0,ot=(V<yt?V+7:V)-yt;return N(L?X-ot:X+(6-ot),G);case u:case p:return U(tt+"Hours",0);case l:return U(tt+"Minutes",1);case s:return U(tt+"Seconds",2);case o:return U(tt+"Milliseconds",3);default:return this.clone()}},T.endOf=function(A){return this.startOf(A,!1)},T.$set=function(A,I){var M,L=O.p(A),z="set"+(this.$u?"UTC":""),N=(M={},M[u]=z+"Date",M[p]=z+"Date",M[f]=z+"Month",M[d]=z+"FullYear",M[l]=z+"Hours",M[s]=z+"Minutes",M[o]=z+"Seconds",M[a]=z+"Milliseconds",M)[L],U=L===u?this.$D+(I-this.$W):I;if(L===f||L===d){var V=this.clone().set(p,1);V.$d[N](U),V.init(),this.$d=V.set(p,Math.min(this.$D,V.daysInMonth())).$d}else N&&this.$d[N](U);return this.init(),this},T.set=function(A,I){return this.clone().$set(A,I)},T.get=function(A){return this[O.p(A)]()},T.add=function(A,I){var M,L=this;A=Number(A);var z=O.p(I),N=function(G){var X=B(L);return O.w(X.date(X.date()+Math.round(G*A)),L)};if(z===f)return this.set(f,this.$M+A);if(z===d)return this.set(d,this.$y+A);if(z===u)return N(1);if(z===c)return N(7);var U=(M={},M[s]=n,M[l]=i,M[o]=t,M)[z]||1,V=this.$d.getTime()+A*U;return O.w(V,this)},T.subtract=function(A,I){return this.add(-1*A,I)},T.format=function(A){var I=this,M=this.$locale();if(!this.isValid())return M.invalidDate||g;var L=A||"YYYY-MM-DDTHH:mm:ssZ",z=O.z(this),N=this.$H,U=this.$m,V=this.$M,G=M.weekdays,X=M.months,tt=M.meridiem,yt=function(rt,Y,et,ut){return rt&&(rt[Y]||rt(I,L))||et[Y].slice(0,ut)},ot=function(rt){return O.s(N%12||12,rt,"0")},pt=tt||function(rt,Y,et){var ut=rt<12?"AM":"PM";return et?ut.toLowerCase():ut};return L.replace(y,function(rt,Y){return Y||function(et){switch(et){case"YY":return String(I.$y).slice(-2);case"YYYY":return O.s(I.$y,4,"0");case"M":return V+1;case"MM":return O.s(V+1,2,"0");case"MMM":return yt(M.monthsShort,V,X,3);case"MMMM":return yt(X,V);case"D":return I.$D;case"DD":return O.s(I.$D,2,"0");case"d":return String(I.$W);case"dd":return yt(M.weekdaysMin,I.$W,G,2);case"ddd":return yt(M.weekdaysShort,I.$W,G,3);case"dddd":return G[I.$W];case"H":return String(N);case"HH":return O.s(N,2,"0");case"h":return ot(1);case"hh":return ot(2);case"a":return pt(N,U,!0);case"A":return pt(N,U,!1);case"m":return String(U);case"mm":return O.s(U,2,"0");case"s":return String(I.$s);case"ss":return O.s(I.$s,2,"0");case"SSS":return O.s(I.$ms,3,"0");case"Z":return z}return null}(rt)||z.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(A,I,M){var L,z=this,N=O.p(I),U=B(A),V=(U.utcOffset()-this.utcOffset())*n,G=this-U,X=function(){return O.m(z,U)};switch(N){case d:L=X()/12;break;case f:L=X();break;case h:L=X()/3;break;case c:L=(G-V)/6048e5;break;case u:L=(G-V)/864e5;break;case l:L=G/i;break;case s:L=G/n;break;case o:L=G/t;break;default:L=G}return M?L:O.a(L)},T.daysInMonth=function(){return this.endOf(f).$D},T.$locale=function(){return x[this.$L]},T.locale=function(A,I){if(!A)return this.$L;var M=this.clone(),L=C(A,I,!0);return L&&(M.$L=L),M},T.clone=function(){return O.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},D}(),E=F.prototype;return B.prototype=E,[["$ms",a],["$s",o],["$m",s],["$H",l],["$W",u],["$M",f],["$y",d],["$D",p]].forEach(function(D){E[D[1]]=function(T){return this.$g(T,D[0],D[1])}}),B.extend=function(D,T){return D.$i||(D(T,F,B),D.$i=!0),B},B.locale=C,B.isDayjs=k,B.unix=function(D){return B(1e3*D)},B.en=x[_],B.Ls=x,B.p={},B})}(p4)),p4.exports}var wit=bit();const _it=m0(wit),xit=li.useLoginState(li.pinia),{loginUserInfo:BT}=li.storeToRefs(xit),Sit=async r=>{var i,a,o,s,l,u,c,f,h,d,p,g,m,y,v,b,w,_;let e=[];(i=r==null?void 0:r.menuSelect)==null||i.forEach(x=>{});let t="";const n=await Gg.menuToParent(r==null?void 0:r.menuSelect);if(n==null||n.forEach(x=>{var S,k;(x==null?void 0:x.name)===(((k=(S=r==null?void 0:r.groupSelect)==null?void 0:S[0])==null?void 0:k.replaceAll("'",""))??"")&&(t=x==null?void 0:x.id)}),t!==""){const x=(s=(o=(a=n==null?void 0:n.find(C=>(C==null?void 0:C.id)===t))==null?void 0:a.compData)==null?void 0:o.find(C=>(C==null?void 0:C.key)==="header"))==null?void 0:s.contents;let S=0;x.every(C=>Array.isArray(C))?S=(l=x==null?void 0:x[0])==null?void 0:l.findIndex(C=>{var B,O,F;return(C==null?void 0:C.label)===((F=(O=(B=r==null?void 0:r.groupSelect)==null?void 0:B[1])==null?void 0:O.replaceAll("[",""))==null?void 0:F.replaceAll("]",""))}):S=x==null?void 0:x.findIndex(C=>{var B,O,F;return(C==null?void 0:C.label)===((F=(O=(B=r==null?void 0:r.groupSelect)==null?void 0:B[1])==null?void 0:O.replaceAll("[",""))==null?void 0:F.replaceAll("]",""))});let k=(h=(f=(c=(u=n==null?void 0:n.find(C=>(C==null?void 0:C.id)===t))==null?void 0:u.compData)==null?void 0:c.find(C=>(C==null?void 0:C.key)==="tableContents"))==null?void 0:f.contents)==null?void 0:h.map(C=>(C=C==null?void 0:C.filter(B=>!(B!=null&&B.id)),C));if((r==null?void 0:r.filter)!==""){let C={};C[(p=(d=r==null?void 0:r.filter)==null?void 0:d.split("#"))==null?void 0:p[0]]=(m=(g=r==null?void 0:r.filter)==null?void 0:g.split("#"))==null?void 0:m[1];let B=(v=(y=r==null?void 0:r.filter)==null?void 0:y.split("#"))==null?void 0:v[1];B==="@loginUser"&&(B=((b=BT.value)==null?void 0:b.姓名)||((w=BT.value)==null?void 0:w.account)||((_=BT.value)==null?void 0:_.账号));let O=x==null?void 0:x.findIndex(F=>{var E,D;return(F==null?void 0:F.prop)===((D=(E=Object.keys(C))==null?void 0:E[0])==null?void 0:D.replaceAll("'",""))});k=k==null?void 0:k.filter(F=>(F==null?void 0:F[O])===B)}k==null||k.forEach(C=>{e.push({label:C==null?void 0:C[S],value:C==null?void 0:C[S]})})}return e};/**!
|
|
1
|
+
"use strict";var ait=Object.defineProperty;var oit=(r,e,t)=>e in r?ait(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Cr=(r,e,t)=>oit(r,typeof e!="symbol"?e+"":e,t);const Gg=require("./index.vue_vue_type_style_index_1_lang-zN5mc8b0.cjs"),li=require("./index-d6tSWKtY.cjs");function uW(r,e){return Gg.setToString(Gg.overRest(r,e,Gg.identity),r+"")}function sit(r,e,t){if(!li.isObject(t))return!1;var n=typeof e;return(n=="number"?li.isArrayLike(t)&&li.isIndex(e,t.length):n=="string"&&e in t)?li.eq(t[e],r):!1}function lit(r){return uW(function(e,t){var n=-1,i=t.length,a=i>1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(a=r.length>3&&typeof a=="function"?(i--,a):void 0,o&&sit(t[0],t[1],o)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var s=t[n];s&&r(e,s,n,a)}return e})}var uit="[object Object]",cit=Function.prototype,fit=Object.prototype,cW=cit.toString,hit=fit.hasOwnProperty,dit=cW.call(Object);function fW(r){if(!li.isObjectLike(r)||li.baseGetTag(r)!=uit)return!1;var e=li.getPrototype(r);if(e===null)return!0;var t=hit.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&cW.call(t)==dit}function pit(r){return function(e,t,n){for(var i=-1,a=Object(e),o=n(e),s=o.length;s--;){var l=o[++i];if(t(a[l],l,a)===!1)break}return e}}var hW=pit();function bE(r,e,t){(t!==void 0&&!li.eq(r[e],t)||t===void 0&&!(e in r))&&li.baseAssignValue(r,e,t)}function dW(r){return li.isObjectLike(r)&&li.isArrayLike(r)}function wE(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function vit(r){return li.copyObject(r,li.keysIn(r))}function git(r,e,t,n,i,a,o){var s=wE(r,t),l=wE(e,t),u=o.get(l);if(u){bE(r,t,u);return}var c=a?a(s,l,t+"",r,e,o):void 0,f=c===void 0;if(f){var h=li.isArray(l),d=!h&&li.isBuffer(l),p=!h&&!d&&li.isTypedArray(l);c=l,h||d||p?li.isArray(s)?c=s:dW(s)?c=li.copyArray(s):d?(f=!1,c=li.cloneBuffer(l,!0)):p?(f=!1,c=li.cloneTypedArray(l,!0)):c=[]:fW(l)||li.isArguments(l)?(c=s,li.isArguments(s)?c=vit(s):(!li.isObject(s)||li.isFunction$1(s))&&(c=li.initCloneObject(l))):f=!1}f&&(o.set(l,c),i(c,l,n,a,o),o.delete(l)),bE(r,t,c)}function pW(r,e,t,n,i){r!==e&&hW(e,function(a,o){if(i||(i=new li.Stack),li.isObject(a))git(r,e,o,t,pW,n,i);else{var s=n?n(wE(r,o),a,o+"",r,e,i):void 0;s===void 0&&(s=a),bE(r,o,s)}},li.keysIn)}var Zh=lit(function(r,e,t){pW(r,e,t)}),bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function m0(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function mit(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),t}var p4={exports:{}},yit=p4.exports,lO;function bit(){return lO||(lO=1,function(r,e){(function(t,n){r.exports=n()})(yit,function(){var t=1e3,n=6e4,i=36e5,a="millisecond",o="second",s="minute",l="hour",u="day",c="week",f="month",h="quarter",d="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(D){var T=["th","st","nd","rd"],A=D%100;return"["+D+(T[(A-20)%10]||T[A]||T[0])+"]"}},b=function(D,T,A){var I=String(D);return!I||I.length>=T?D:""+Array(T+1-I.length).join(A)+D},w={s:b,z:function(D){var T=-D.utcOffset(),A=Math.abs(T),I=Math.floor(A/60),M=A%60;return(T<=0?"+":"-")+b(I,2,"0")+":"+b(M,2,"0")},m:function D(T,A){if(T.date()<A.date())return-D(A,T);var I=12*(A.year()-T.year())+(A.month()-T.month()),M=T.clone().add(I,f),L=A-M<0,z=T.clone().add(I+(L?-1:1),f);return+(-(I+(A-M)/(L?M-z:z-M))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:f,y:d,w:c,d:u,D:p,h:l,m:s,s:o,ms:a,Q:h}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},_="en",x={};x[_]=v;var S="$isDayjsObject",k=function(D){return D instanceof F||!(!D||!D[S])},C=function D(T,A,I){var M;if(!T)return _;if(typeof T=="string"){var L=T.toLowerCase();x[L]&&(M=L),A&&(x[L]=A,M=L);var z=T.split("-");if(!M&&z.length>1)return D(z[0])}else{var N=T.name;x[N]=T,M=N}return!I&&M&&(_=M),M||!I&&_},B=function(D,T){if(k(D))return D.clone();var A=typeof T=="object"?T:{};return A.date=D,A.args=arguments,new F(A)},O=w;O.l=C,O.i=k,O.w=function(D,T){return B(D,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var F=function(){function D(A){this.$L=C(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[S]=!0}var T=D.prototype;return T.parse=function(A){this.$d=function(I){var M=I.date,L=I.utc;if(M===null)return new Date(NaN);if(O.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var z=M.match(m);if(z){var N=z[2]-1||0,U=(z[7]||"0").substring(0,3);return L?new Date(Date.UTC(z[1],N,z[3]||1,z[4]||0,z[5]||0,z[6]||0,U)):new Date(z[1],N,z[3]||1,z[4]||0,z[5]||0,z[6]||0,U)}}return new Date(M)}(A),this.init()},T.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},T.$utils=function(){return O},T.isValid=function(){return this.$d.toString()!==g},T.isSame=function(A,I){var M=B(A);return this.startOf(I)<=M&&M<=this.endOf(I)},T.isAfter=function(A,I){return B(A)<this.startOf(I)},T.isBefore=function(A,I){return this.endOf(I)<B(A)},T.$g=function(A,I,M){return O.u(A)?this[I]:this.set(M,A)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(A,I){var M=this,L=!!O.u(I)||I,z=O.p(A),N=function(pt,rt){var Y=O.w(M.$u?Date.UTC(M.$y,rt,pt):new Date(M.$y,rt,pt),M);return L?Y:Y.endOf(u)},U=function(pt,rt){return O.w(M.toDate()[pt].apply(M.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(rt)),M)},V=this.$W,G=this.$M,X=this.$D,tt="set"+(this.$u?"UTC":"");switch(z){case d:return L?N(1,0):N(31,11);case f:return L?N(1,G):N(0,G+1);case c:var yt=this.$locale().weekStart||0,ot=(V<yt?V+7:V)-yt;return N(L?X-ot:X+(6-ot),G);case u:case p:return U(tt+"Hours",0);case l:return U(tt+"Minutes",1);case s:return U(tt+"Seconds",2);case o:return U(tt+"Milliseconds",3);default:return this.clone()}},T.endOf=function(A){return this.startOf(A,!1)},T.$set=function(A,I){var M,L=O.p(A),z="set"+(this.$u?"UTC":""),N=(M={},M[u]=z+"Date",M[p]=z+"Date",M[f]=z+"Month",M[d]=z+"FullYear",M[l]=z+"Hours",M[s]=z+"Minutes",M[o]=z+"Seconds",M[a]=z+"Milliseconds",M)[L],U=L===u?this.$D+(I-this.$W):I;if(L===f||L===d){var V=this.clone().set(p,1);V.$d[N](U),V.init(),this.$d=V.set(p,Math.min(this.$D,V.daysInMonth())).$d}else N&&this.$d[N](U);return this.init(),this},T.set=function(A,I){return this.clone().$set(A,I)},T.get=function(A){return this[O.p(A)]()},T.add=function(A,I){var M,L=this;A=Number(A);var z=O.p(I),N=function(G){var X=B(L);return O.w(X.date(X.date()+Math.round(G*A)),L)};if(z===f)return this.set(f,this.$M+A);if(z===d)return this.set(d,this.$y+A);if(z===u)return N(1);if(z===c)return N(7);var U=(M={},M[s]=n,M[l]=i,M[o]=t,M)[z]||1,V=this.$d.getTime()+A*U;return O.w(V,this)},T.subtract=function(A,I){return this.add(-1*A,I)},T.format=function(A){var I=this,M=this.$locale();if(!this.isValid())return M.invalidDate||g;var L=A||"YYYY-MM-DDTHH:mm:ssZ",z=O.z(this),N=this.$H,U=this.$m,V=this.$M,G=M.weekdays,X=M.months,tt=M.meridiem,yt=function(rt,Y,et,ut){return rt&&(rt[Y]||rt(I,L))||et[Y].slice(0,ut)},ot=function(rt){return O.s(N%12||12,rt,"0")},pt=tt||function(rt,Y,et){var ut=rt<12?"AM":"PM";return et?ut.toLowerCase():ut};return L.replace(y,function(rt,Y){return Y||function(et){switch(et){case"YY":return String(I.$y).slice(-2);case"YYYY":return O.s(I.$y,4,"0");case"M":return V+1;case"MM":return O.s(V+1,2,"0");case"MMM":return yt(M.monthsShort,V,X,3);case"MMMM":return yt(X,V);case"D":return I.$D;case"DD":return O.s(I.$D,2,"0");case"d":return String(I.$W);case"dd":return yt(M.weekdaysMin,I.$W,G,2);case"ddd":return yt(M.weekdaysShort,I.$W,G,3);case"dddd":return G[I.$W];case"H":return String(N);case"HH":return O.s(N,2,"0");case"h":return ot(1);case"hh":return ot(2);case"a":return pt(N,U,!0);case"A":return pt(N,U,!1);case"m":return String(U);case"mm":return O.s(U,2,"0");case"s":return String(I.$s);case"ss":return O.s(I.$s,2,"0");case"SSS":return O.s(I.$ms,3,"0");case"Z":return z}return null}(rt)||z.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(A,I,M){var L,z=this,N=O.p(I),U=B(A),V=(U.utcOffset()-this.utcOffset())*n,G=this-U,X=function(){return O.m(z,U)};switch(N){case d:L=X()/12;break;case f:L=X();break;case h:L=X()/3;break;case c:L=(G-V)/6048e5;break;case u:L=(G-V)/864e5;break;case l:L=G/i;break;case s:L=G/n;break;case o:L=G/t;break;default:L=G}return M?L:O.a(L)},T.daysInMonth=function(){return this.endOf(f).$D},T.$locale=function(){return x[this.$L]},T.locale=function(A,I){if(!A)return this.$L;var M=this.clone(),L=C(A,I,!0);return L&&(M.$L=L),M},T.clone=function(){return O.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},D}(),E=F.prototype;return B.prototype=E,[["$ms",a],["$s",o],["$m",s],["$H",l],["$W",u],["$M",f],["$y",d],["$D",p]].forEach(function(D){E[D[1]]=function(T){return this.$g(T,D[0],D[1])}}),B.extend=function(D,T){return D.$i||(D(T,F,B),D.$i=!0),B},B.locale=C,B.isDayjs=k,B.unix=function(D){return B(1e3*D)},B.en=x[_],B.Ls=x,B.p={},B})}(p4)),p4.exports}var wit=bit();const _it=m0(wit),xit=li.useLoginState(li.pinia),{loginUserInfo:BT}=li.storeToRefs(xit),Sit=async r=>{var i,a,o,s,l,u,c,f,h,d,p,g,m,y,v,b,w,_;let e=[];(i=r==null?void 0:r.menuSelect)==null||i.forEach(x=>{});let t="";const n=await Gg.menuToParent(r==null?void 0:r.menuSelect);if(n==null||n.forEach(x=>{var S,k;(x==null?void 0:x.name)===(((k=(S=r==null?void 0:r.groupSelect)==null?void 0:S[0])==null?void 0:k.replaceAll("'",""))??"")&&(t=x==null?void 0:x.id)}),t!==""){const x=(s=(o=(a=n==null?void 0:n.find(C=>(C==null?void 0:C.id)===t))==null?void 0:a.compData)==null?void 0:o.find(C=>(C==null?void 0:C.key)==="header"))==null?void 0:s.contents;let S=0;x.every(C=>Array.isArray(C))?S=(l=x==null?void 0:x[0])==null?void 0:l.findIndex(C=>{var B,O,F;return(C==null?void 0:C.label)===((F=(O=(B=r==null?void 0:r.groupSelect)==null?void 0:B[1])==null?void 0:O.replaceAll("[",""))==null?void 0:F.replaceAll("]",""))}):S=x==null?void 0:x.findIndex(C=>{var B,O,F;return(C==null?void 0:C.label)===((F=(O=(B=r==null?void 0:r.groupSelect)==null?void 0:B[1])==null?void 0:O.replaceAll("[",""))==null?void 0:F.replaceAll("]",""))});let k=(h=(f=(c=(u=n==null?void 0:n.find(C=>(C==null?void 0:C.id)===t))==null?void 0:u.compData)==null?void 0:c.find(C=>(C==null?void 0:C.key)==="tableContents"))==null?void 0:f.contents)==null?void 0:h.map(C=>(C=C==null?void 0:C.filter(B=>!(B!=null&&B.id)),C));if((r==null?void 0:r.filter)!==""){let C={};C[(p=(d=r==null?void 0:r.filter)==null?void 0:d.split("#"))==null?void 0:p[0]]=(m=(g=r==null?void 0:r.filter)==null?void 0:g.split("#"))==null?void 0:m[1];let B=(v=(y=r==null?void 0:r.filter)==null?void 0:y.split("#"))==null?void 0:v[1];B==="@loginUser"&&(B=((b=BT.value)==null?void 0:b.姓名)||((w=BT.value)==null?void 0:w.account)||((_=BT.value)==null?void 0:_.账号));let O=x==null?void 0:x.findIndex(F=>{var E,D;return(F==null?void 0:F.prop)===((D=(E=Object.keys(C))==null?void 0:E[0])==null?void 0:D.replaceAll("'",""))});k=k==null?void 0:k.filter(F=>(F==null?void 0:F[O])===B)}k==null||k.forEach(C=>{e.push({label:C==null?void 0:C[S],value:C==null?void 0:C[S]})})}return e};/**!
|
|
2
2
|
* Sortable 1.15.6
|
|
3
3
|
* @author RubaXa <trash@rubaxa.org>
|
|
4
4
|
* @author owenm <owen23355@gmail.com>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as ne, computed as D, onMounted as z, resolveComponent as le, createBlock as U, openBlock as V, withCtx as ae, resolveDynamicComponent as oe, defineComponent as ue, defineProps as ce, ref as g, watch as ie, reactive as pe } from "vue";
|
|
2
2
|
import { S as ge } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { bx as ve, p as he, s as fe, by as Me, g as me } from "./index-
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
5
|
-
import { u as Ce, a as ye, E as de } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { s as Ae } from "./index-
|
|
3
|
+
import { bx as ve, p as he, s as fe, by as Me, g as me } from "./index-UN4JU0ly.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BTu7I4mn.js";
|
|
5
|
+
import { u as Ce, a as ye, E as de } from "./index.vue_vue_type_style_index_1_lang-Exyt6qTf.js";
|
|
6
|
+
import { s as Ae } from "./index-Dk8D9SRm.js";
|
|
7
7
|
import { useRouter as we } from "vue-router";
|
|
8
8
|
import { e as Te, g as ke, h as Se, a as De, d as Pe } from "./index-C2usxP_Q.js";
|
|
9
|
-
import { g as _e } from "./index-
|
|
10
|
-
const b = ne(() => import("./index-
|
|
9
|
+
import { g as _e } from "./index-CdPbJekh.js";
|
|
10
|
+
const b = ne(() => import("./index-DS5z17Mc.js").then((p) => p.j));
|
|
11
11
|
b.install = (p) => {
|
|
12
12
|
p.component("ssMenu", b);
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("vue"),ne=require("./index-BpPyaNFa.cjs"),w=require("./index-
|
|
1
|
+
"use strict";const s=require("vue"),ne=require("./index-BpPyaNFa.cjs"),w=require("./index-d6tSWKtY.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cmc1oALS.cjs");const R=require("./index.vue_vue_type_style_index_1_lang-zN5mc8b0.cjs"),le=require("./index-CK_O7QdV.cjs"),oe=require("vue-router"),k=require("./index-9hspBVrQ.cjs"),ue=require("./index-5hLZZ6t-.cjs"),P=s.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-D-r_YKrq.cjs")).then(v=>v.index));P.install=v=>{v.component("ssMenu",P)};const U={__name:"index",props:{name:String},setup(v){const a=v,x=s.computed(()=>w.ElIcons[a.name]);return s.onMounted(()=>{}),(T,g)=>{const S=s.resolveComponent("el-icon");return s.openBlock(),s.createBlock(S,null,{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(x.value)))]),_:1})}}},ce=s.defineComponent({name:"menu",components:{SvgIcon:ne.SvgIcon,ssMenu:P,DynamicIcon:U,ssDialog:le.ssDialog},setup(){const v=s.defineProps({mode:{type:String,default:"vertical"}}),a=R.useMenuState(),x=R.useModelComp(w.pinia),T=s.ref(0),g=oe.useRouter(),{asideMenus:S,menuTriggerType:V,platform:z}=w.storeToRefs(a),H=s.computed(()=>v==null?void 0:v.mode),B=s.computed(()=>{let e=[...S.value];if((e==null?void 0:e.length)===0)return g.push("/"),[];const t=G(e,L.value);return t.isFlag||(e=t==null?void 0:t.data),e}),W=async e=>{x.setRouteToChildPath(""),a.setMenuTriggerType("click"),a.setActiveMenuPath(e==null?void 0:e.path),a.setActiveAsideMenu(e),e.isRouter?g.push(e.path):g.push("/")},J=async e=>{const t=w.findNodeByPropInTree(B.value,"path",e);a.setActiveAsideMenu(t),x.setRouteToChildPath(""),V.value==="click"?T.value===1?a.setActiveMenuPath(sessionStorage.getItem("pageKey")):a.setActiveMenuPath(e):(a.setMenuTriggerType("click"),a.setActiveMenuPath(e)),e!=null&&e.startsWith("/")?g.push(e):g.push("/"),T.value++},K=e=>{a.setActiveMenuPath(e)},h=e=>{const t=document.documentElement;e==null||e.forEach(o=>{t.style.setProperty(o.name,o.value)})};s.onMounted(()=>{T.value=1});const L=s.computed(()=>{const e=sessionStorage.getItem("authority");return e?JSON.parse(e):[]});s.watch(()=>z.value,e=>{e==="browser"?h(k.browserVerticalMenuClasses):e==="client"?(h(k.clientHorizontalMenuClasses),h(k.clientVerticalMenuClasses)):e==="three"&&(h(k.threeHorizontalMenuClasses),h(k.threeVerticalMenuClasses))},{immediate:!0});const j=(e,t)=>{function o(u){u==null||u.forEach(r=>{var f,C;const c=(f=r==null?void 0:r.path)!=null&&f.startsWith("/")?(C=r==null?void 0:r.path)==null?void 0:C.substring(1):r==null?void 0:r.path;r.show=t==null?void 0:t.some(d=>d==null?void 0:d.includes(c)),r.children&&o(r.children)})}return o(e),e},G=(e,t)=>{if(Array.isArray(t)){const o=Array.from(new Set(t==null?void 0:t.map(u=>u.substring(0,u.lastIndexOf("/")))));return{data:j(e,o),isFlag:!1}}else return{isFlag:(t==null?void 0:t.toUpperCase())==="SUPERADMIN"}},p=s.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),I=e=>ue.getComponent(e),Q=s.ref({}),F=s.ref([]),X=async(e,t,o)=>{var C,d,E;if(!(e!=null&&e.structureIds)||((C=e==null?void 0:e.structureIds)==null?void 0:C.length)===0)return;const u=(E=(d=e==null?void 0:e.structureIds)==null?void 0:d.filter(n=>(n==null?void 0:n.key)==="dialogConfig"))==null?void 0:E.map(n=>n==null?void 0:n.id);let r=u==null?void 0:u.map(n=>w.getInsofDataApi({id:n}));const c=await Promise.all(r);if(c==null?void 0:c.every(n=>{var l;return((l=n==null?void 0:n.data)==null?void 0:l.code)===200})){const n=c==null?void 0:c.map(l=>{var _,m,i,A,D,O,N;return{id:(i=(m=(_=l==null?void 0:l.data)==null?void 0:_.result)==null?void 0:m[0])==null?void 0:i.id,...(N=(O=(D=(A=l==null?void 0:l.data)==null?void 0:A.result)==null?void 0:D[0])==null?void 0:O.value)==null?void 0:N.pageData}});t==="create"&&(F.value=n),t==="update"&&(F.value=n==null?void 0:n.map(l=>{var _,m;return((_=l==null?void 0:l.comp)==null?void 0:_.toUpperCase())==="FORM"?{...l,compData:(m=l==null?void 0:l.compData)==null?void 0:m.map(i=>{var A;return(i==null?void 0:i.key)==="formContent"?{...i,contents:(A=i==null?void 0:i.contents)==null?void 0:A.map(D=>({...D,value:o==null?void 0:o.title}))}:i})}:l}))}},y=s.ref({}),M=s.ref({}),Y=e=>{switch(e){case"新增":return"create";case"编辑":return"update";case"删除":return"delete"}},b=s.ref({}),$=e=>{a.setCacheInputMenu({type:p.type,data:e}),a.setIsRefreshMenus(!0)},Z=async(e,t)=>{p.type=Y(t==null?void 0:t.operateType),await X(t,p.type,e),M.value=e,b.value=t,(t==null?void 0:t.operateType)!=="删除"?(p.show=(t==null?void 0:t.trigger)==="openDialog",p.title=(t==null?void 0:t.operateType)+"菜单"):R.ElMessageBox.confirm(`是否确认要删除【${e==null?void 0:e.title}】`,"",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{$(e)})},ee=()=>{p.show=!1},te=e=>e==null?void 0:e.filter(t=>t.allowInherit),se=()=>{var o,u,r,c,f;let e;p.type==="create"&&(e=((o=M.value)==null?void 0:o.path)+"/"+y.value[(u=y.value)==null?void 0:u.prop]),p.type==="update"&&(e=(r=M.value)==null?void 0:r.path);const t={...M.value,config:te((c=M.value)==null?void 0:c.config),children:[],childMenus:[],title:y.value[(f=y.value)==null?void 0:f.prop],path:e};console.log("clickSubmitForm",b.value,M.value,t),$(t),p.show=!1},re=e=>{var o,u;const t=(o=e==null?void 0:e.contents)==null?void 0:o.find(r=>r.key==="formContent");t&&(y.value=(u=t==null?void 0:t.contents)==null?void 0:u.reduce((r,c)=>(r[c.key]=c.value,r.prop=c.key,r),{}))},q=s.ref(!1);return{isCollapse:q,handleMenuCollapse:()=>{q.value=!q.value},handleCompChange:re,dialogForm:Q,dialogRenderComps:F,getComponents:I,clickSubmitForm:se,dialogInfo:p,beforeDialogDestroy:ee,clickMenuIcon:Z,mode:H,renderMenuList:B,clickMenu:W,openMenu:J,closeMenu:K,changeMenuStyle:h}}});exports._sfc_main=ce;exports._sfc_main$1=U;exports.ssMenu=P;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { a as Ey, s as $y } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
1
|
+
import { a as Ey, s as $y } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-Bg_c-oAL.js";
|
|
2
2
|
import { defineComponent as X, shallowRef as Wt, ref as P, computed as E, watch as ve, onMounted as ot, watchEffect as Mn, createElementBlock as z, openBlock as M, normalizeStyle as Ae, normalizeClass as _, unref as o, createElementVNode as Y, renderSlot as ae, nextTick as xe, useSlots as cn, toRef as Mt, createBlock as ue, Transition as _n, withCtx as te, withDirectives as nt, createCommentVNode as re, resolveDynamicComponent as ht, createTextVNode as wt, toDisplayString as be, Fragment as ze, createVNode as G, vShow as Ot, inject as Ie, onBeforeUnmount as Vt, withModifiers as je, provide as gt, reactive as _t, onActivated as gc, onUpdated as Yl, cloneVNode as Ty, Text as Ny, Comment as Qa, mergeProps as dt, getCurrentInstance as kt, Teleport as Oy, onBeforeMount as yc, readonly as Qp, onDeactivated as My, useAttrs as ra, withKeys as Pt, createSlots as Kn, renderList as ft, normalizeProps as Gn, guardReactiveProps as Fl, isVNode as fn, onUnmounted as Ia, toRaw as Hr, isRef as Jn, vModelCheckbox as Wr, toRefs as vn, vModelRadio as ev, h as Fe, resolveComponent as vt, onBeforeUpdate as _y, vModelText as gi, toHandlers as Iy, TransitionGroup as tv, markRaw as vs, effectScope as Ry, resolveDirective as yi, toHandlerKey as Py, render as jr, createApp as Ay, defineProps as Dy } from "vue";
|
|
3
|
-
import { n as nv, o as Ly, p as xy, q as bc, s as Vy, t as lv, S as By, v as Fy, C as it, w as wc, x as gn, y as Yd, z as la, A as Fs, B as av, D as zy, F as In, I as an, U as Ue, G as bi, H as Wn, J as On, K as ov, L as pn, M as go, N as Rn, O as sn, P as ln, Q as vl, R as ta, T as kl, V as Ky, W as kc, X as yr, Y as sv, Z as wi, _ as us, $ as Ra, a0 as Hy, a1 as Wy, a2 as rv, a3 as jy, a4 as iv, a5 as uv, a6 as Yy, a7 as ki, a8 as br, a9 as qd, aa as eo, ab as cv, ac as Ea, ad as Xl, ae as Ud, af as qy, ag as Uy, ah as Gy, ai as Xy, aj as Gd, ak as Jy, al as Xd, am as dv, E as Zy, u as Cc, an as Qy, ao as fv, ap as Zl, aq as Jd, k as fu, ar as Zd, as as eb, at as tb, a as nb, au as nl, j as Sc } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
-
import { h as Ec, j as pv, S as lb, i as vv, k as hv, l as mv, t as $c, m as en, n as gv, o as yv, q as bv, r as wv, v as ab, w as ob, x as Hi, y as sb, z as It, A as Le, B as me, C as oe, _ as ge, D as pe, F as rb, G as Qd, H as tn, I as zt, J as Zt, K as Qe, L as ib, M as Et, N as Ci, T as Yr, O as xt, P as Re, Q as ub, R as qt, U as Tt, V as Rt, W as wn, X as zs, Y as Sl, Z as Sn, $ as pu, a0 as Ks, a1 as Oe, a2 as ql, a3 as mt, a4 as _e, a5 as cb, a6 as vu, a7 as Tc, a8 as Je, a9 as yo, aa as Dt, ab as ia, ac as kv, ad as db, ae as St, af as Kt, ag as qn, ah as to, ai as zl, aj as En, ak as rn, al as Bn, am as Hs, an as fb, c as ce, ao as Tl, ap as Ws, aq as Si, ar as ws, as as Pa, at as Ml, au as pb, av as Jt, aw as sl, ax as vb, ay as Cv, az as hb, aA as Sv, aB as Ei, aC as ll, aD as aa, aE as oa, aF as Ev, aG as $v, aH as mb, aI as no, aJ as gb, aK as hs, aL as yb, aM as bb, aN as wb, aO as Tv, aP as kb, aQ as Cb, aR as Sb, aS as Nv, aT as Eb, aU as Nc, aV as Vl, aW as cl, aX as $b, aY as Tb, aZ as hu, a_ as mu, a$ as Ov, b0 as ef, b1 as Nb, b2 as Ob, b3 as Mb, b4 as Mv, b5 as _v, b6 as ar, b7 as _b, b8 as tf, b9 as Ib, ba as Rb, bb as Pb, bc as Ab, bd as Db, be as Lb, bf as xb, bg as Vb, bh as Bb, bi as Iv, bj as Fb, bk as zb, bl as Kb, bm as Rv, bn as Hb, bo as Wb, bp as jb, bq as Yb, br as qb, bs as Ub, E as gu, g as Un, d as Gb, bt as ks, f as qr, bu as Xb, e as Pv, bv as Jb, p as $i, s as Cs, u as Zb, bw as Qb } from "./index-
|
|
3
|
+
import { n as nv, o as Ly, p as xy, q as bc, s as Vy, t as lv, S as By, v as Fy, C as it, w as wc, x as gn, y as Yd, z as la, A as Fs, B as av, D as zy, F as In, I as an, U as Ue, G as bi, H as Wn, J as On, K as ov, L as pn, M as go, N as Rn, O as sn, P as ln, Q as vl, R as ta, T as kl, V as Ky, W as kc, X as yr, Y as sv, Z as wi, _ as us, $ as Ra, a0 as Hy, a1 as Wy, a2 as rv, a3 as jy, a4 as iv, a5 as uv, a6 as Yy, a7 as ki, a8 as br, a9 as qd, aa as eo, ab as cv, ac as Ea, ad as Xl, ae as Ud, af as qy, ag as Uy, ah as Gy, ai as Xy, aj as Gd, ak as Jy, al as Xd, am as dv, E as Zy, u as Cc, an as Qy, ao as fv, ap as Zl, aq as Jd, k as fu, ar as Zd, as as eb, at as tb, a as nb, au as nl, j as Sc } from "./index.vue_vue_type_style_index_1_lang-Exyt6qTf.js";
|
|
4
|
+
import { h as Ec, j as pv, S as lb, i as vv, k as hv, l as mv, t as $c, m as en, n as gv, o as yv, q as bv, r as wv, v as ab, w as ob, x as Hi, y as sb, z as It, A as Le, B as me, C as oe, _ as ge, D as pe, F as rb, G as Qd, H as tn, I as zt, J as Zt, K as Qe, L as ib, M as Et, N as Ci, T as Yr, O as xt, P as Re, Q as ub, R as qt, U as Tt, V as Rt, W as wn, X as zs, Y as Sl, Z as Sn, $ as pu, a0 as Ks, a1 as Oe, a2 as ql, a3 as mt, a4 as _e, a5 as cb, a6 as vu, a7 as Tc, a8 as Je, a9 as yo, aa as Dt, ab as ia, ac as kv, ad as db, ae as St, af as Kt, ag as qn, ah as to, ai as zl, aj as En, ak as rn, al as Bn, am as Hs, an as fb, c as ce, ao as Tl, ap as Ws, aq as Si, ar as ws, as as Pa, at as Ml, au as pb, av as Jt, aw as sl, ax as vb, ay as Cv, az as hb, aA as Sv, aB as Ei, aC as ll, aD as aa, aE as oa, aF as Ev, aG as $v, aH as mb, aI as no, aJ as gb, aK as hs, aL as yb, aM as bb, aN as wb, aO as Tv, aP as kb, aQ as Cb, aR as Sb, aS as Nv, aT as Eb, aU as Nc, aV as Vl, aW as cl, aX as $b, aY as Tb, aZ as hu, a_ as mu, a$ as Ov, b0 as ef, b1 as Nb, b2 as Ob, b3 as Mb, b4 as Mv, b5 as _v, b6 as ar, b7 as _b, b8 as tf, b9 as Ib, ba as Rb, bb as Pb, bc as Ab, bd as Db, be as Lb, bf as xb, bg as Vb, bh as Bb, bi as Iv, bj as Fb, bk as zb, bl as Kb, bm as Rv, bn as Hb, bo as Wb, bp as jb, bq as Yb, br as qb, bs as Ub, E as gu, g as Un, d as Gb, bt as ks, f as qr, bu as Xb, e as Pv, bv as Jb, p as $i, s as Cs, u as Zb, bw as Qb } from "./index-UN4JU0ly.js";
|
|
5
5
|
import { useRouter as e0 } from "vue-router";
|
|
6
6
|
import { e as t0, f as n0, g as l0, h as a0, a as o0, d as s0 } from "./index-C2usxP_Q.js";
|
|
7
|
-
import { E as r0, s as i0, g as nf } from "./index-
|
|
8
|
-
import { _ as u0 } from "./index-
|
|
7
|
+
import { E as r0, s as i0, g as nf } from "./index-DS5z17Mc.js";
|
|
8
|
+
import { _ as u0 } from "./index-Dk8D9SRm.js";
|
|
9
9
|
import { _ as c0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { t as Hn, u as d0, v as yu, w as Bl, x as bu, y as Kl, z as $a, A as Ta, B as f0, C as Wi, D as p0, E as v0 } from "./index-
|
|
11
|
-
import { b as h0, i as m0, a as g0, c as y0, d as Ze, g as ua, m as Av } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
12
|
-
import { u as b0, a as w0, g as wu, b as k0 } from "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { t as C0 } from "./index-
|
|
16
|
-
import { t as S0 } from "./index-
|
|
17
|
-
import { c as Dv, m as E0, g as $0, d as T0, p as N0 } from "./array-
|
|
10
|
+
import { t as Hn, u as d0, v as yu, w as Bl, x as bu, y as Kl, z as $a, A as Ta, B as f0, C as Wi, D as p0, E as v0 } from "./index-CdPbJekh.js";
|
|
11
|
+
import { b as h0, i as m0, a as g0, c as y0, d as Ze, g as ua, m as Av } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BTu7I4mn.js";
|
|
12
|
+
import { u as b0, a as w0, g as wu, b as k0 } from "./index-bj8hK6Pe.js";
|
|
13
|
+
import "./index-Y7MUJdPv.js";
|
|
14
|
+
import "./index-B5srJr0o.js";
|
|
15
|
+
import { t as C0 } from "./index-CLtFz5gE.js";
|
|
16
|
+
import { t as S0 } from "./index-FxX6NP0J.js";
|
|
17
|
+
import { c as Dv, m as E0, g as $0, d as T0, p as N0 } from "./array-pg68Qbs1.js";
|
|
18
18
|
function O0() {
|
|
19
19
|
}
|
|
20
20
|
function Lv(e, t, n, l) {
|