ss-component-new 1.1.972 → 1.1.974
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/{animationData-O4B-3wRw.js → animationData-CmvwjX9z.js} +3 -3
- package/dist/{animationData-BReamBe-.cjs → animationData-DpFB9bbC.cjs} +1 -1
- package/dist/{array-CAtuJ0Ce.cjs → array-DecM9H4l.cjs} +1 -1
- package/dist/{array-CJ3NaEEf.js → array-NKfRbH0h.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-CPP8rTCw.js → index-3QT1UnyH.js} +11 -11
- package/dist/{index-CYhfJZ5v.js → index-B39shW3q.js} +1 -1
- package/dist/{index-B_VboMQ_.cjs → index-B4u3jrPZ.cjs} +1 -1
- package/dist/{index-BBRY1Y3Q.js → index-BB-i98vA.js} +2 -2
- package/dist/{index-vbyUS75x.cjs → index-BJwLg7vV.cjs} +1 -1
- package/dist/{index-BoXAueqF.cjs → index-BMDMssNc.cjs} +1 -1
- package/dist/{index-DRTFRXRa.js → index-BNbgnFHv.js} +1 -1
- package/dist/{index-CHXHGHkT.cjs → index-BX3lmquX.cjs} +1 -1
- package/dist/{index-D-JlQE1w.js → index-BZxo3Hdu.js} +1 -1
- package/dist/{index-CxVxl0Nb.cjs → index-BcaSZFV3.cjs} +2 -2
- package/dist/{index-CiqoPZ2t.js → index-Bg8Nwu9t.js} +2 -2
- package/dist/{index-Cc2Lw4bd.js → index-BjE9Sjx0.js} +4 -4
- package/dist/{index-6B8kjxQ4.js → index-BjgoSGqH.js} +3 -3
- package/dist/{index-F5_xMdeW.js → index-BorcNMOS.js} +6 -6
- package/dist/{index-BrxavaCI.js → index-BrZPtVmt.js} +19 -19
- package/dist/{index-iVsY4FxU.cjs → index-C8HXGfBC.cjs} +1 -1
- package/dist/{index-QuOtHtfC.js → index-C8__pTWP.js} +2 -2
- package/dist/{index-BQHrzmCG.cjs → index-C8ofBLOO.cjs} +1 -1
- package/dist/{index-BbMDuJmZ.cjs → index-CGvVD-vN.cjs} +1 -1
- package/dist/{index-DKUUYMq4.cjs → index-CHyYHZBB.cjs} +1 -1
- package/dist/{index-C9-Qdrsz.cjs → index-CRqLwjgX.cjs} +1 -1
- package/dist/{index-ByMn9eKc.js → index-CRyQ4mj2.js} +6 -6
- package/dist/{index-8_hsrH9p.js → index-CXYZ0Zgu.js} +3 -3
- package/dist/{index-BNvrvkbV.js → index-CZuSa8mC.js} +2 -2
- package/dist/{index-Qmte46lm.js → index-C_pyLFK-.js} +2 -2
- package/dist/{index-DaACb5wK.js → index-Ca62dB2H.js} +6 -6
- package/dist/{index-BFtTmQXF.js → index-CaBhnbFt.js} +5 -5
- package/dist/{index-G5qTn8L5.cjs → index-CfQXws7l.cjs} +1 -1
- package/dist/{index-CuyvVpH1.cjs → index-CffsWHhA.cjs} +1 -1
- package/dist/{index-C6Jr1le6.js → index-Chz3EXUs.js} +6 -6
- package/dist/{index-Ce5rj5gu.js → index-CisKS5pX.js} +1 -1
- package/dist/{index-DIj8RZMh.cjs → index-Cjl3Jf9H.cjs} +1 -1
- package/dist/{index-DZlw_KrF.js → index-Cjn9oKtj.js} +3 -3
- package/dist/{index-MZuvqdmV.js → index-ClwlXBKj.js} +2 -2
- package/dist/{index-BxGHSUPl.cjs → index-CmSvv5sz.cjs} +1 -1
- package/dist/{index-B6SS1Bmw.js → index-CtFW037j.js} +1 -1
- package/dist/{index-C887anL0.js → index-CtbOt_Nk.js} +2 -2
- package/dist/{index-B7Q3Letc.cjs → index-D-Z3xYdO.cjs} +1 -1
- package/dist/{index-C-Jkc_wD.cjs → index-D1A1pDLr.cjs} +1 -1
- package/dist/{index-DpfKbRPo.cjs → index-D3Y4Zqd9.cjs} +1 -1
- package/dist/{index-CCM10Lf1.cjs → index-DFmc0JVG.cjs} +1 -1
- package/dist/{index-hE9KtrST.js → index-DFve7bft.js} +2 -2
- package/dist/{index-BaaOo-zI.cjs → index-DHMhKP6p.cjs} +1 -1
- package/dist/{index-t2B7BpH6.cjs → index-DI6kl_Lj.cjs} +1 -1
- package/dist/{index-qbk1qk1-.js → index-DJyru49A.js} +3 -3
- package/dist/{index-v23xB-cF.cjs → index-DOTWm_EM.cjs} +1 -1
- package/dist/{index-DDtgJ2by.cjs → index-DS_m062d.cjs} +1 -1
- package/dist/{index-C1g0aji1.cjs → index-DTaJ4gVT.cjs} +1 -1
- package/dist/{index-CWlkQGmT.cjs → index-DUkdDfc3.cjs} +1 -1
- package/dist/{index-B3iZsZcy.js → index-DZ84AUPj.js} +3 -3
- package/dist/{index-DNi1qonN.js → index-Do1ljIU7.js} +2 -2
- package/dist/{index-x-j1smHg.cjs → index-DuQHeRpA.cjs} +1 -1
- package/dist/{index-CYpxW-dm.js → index-DvYCBNod.js} +7 -7
- package/dist/{index-CQCva4Ta.cjs → index-Dx3dEPdQ.cjs} +1 -1
- package/dist/{index-Ccs2bpVO.js → index-M7K--lqQ.js} +471 -471
- package/dist/index-QwBMPcxh.cjs +1 -0
- package/dist/{index-CPYv41KH.js → index-T0kZOYJD.js} +1 -1
- package/dist/{index-BxSy_5mj.cjs → index-pQ5nkbiz.cjs} +1 -1
- package/dist/{index-JbyMxMvu.cjs → index-q7u9L53_.cjs} +1 -1
- package/dist/{index-DSpgoajc.cjs → index-uuFHdz4o.cjs} +1 -1
- package/dist/{index-d4L_TP9P.cjs → index-vOR2dAC_.cjs} +1 -1
- package/dist/{index-DeEiYpgQ.js → index-wvNWsI_x.js} +10 -10
- package/dist/{index-BFvpyMge.js → index-x-4Dfj9t.js} +4 -4
- package/dist/{index-BXJj2OEN.cjs → index-zGQlOFUA.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DFhIPynz.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRIsUUl0.js} +1715 -1720
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DOoVvPt7.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DsvyIMv7.cjs} +57 -57
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DbhV81v2.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-B5B8le6b.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BHp3niBL.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DcDFa4AH.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DCZciTJz.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BhxDIJOv.js} +14 -14
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DzpDXbHI.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BshgKB24.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-DvsgtVRW.cjs → index.vue_vue_type_style_index_1_lang--u2MmF3E.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-DUCxV5IA.js → index.vue_vue_type_style_index_1_lang-BfGgJeyd.js} +274 -271
- package/dist/{index.vue_vue_type_style_index_1_lang-C5F2nLGQ.cjs → index.vue_vue_type_style_index_1_lang-HRpmt5lq.cjs} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-yk6zgYbw.js → index.vue_vue_type_style_index_1_lang-glk3IQGC.js} +3 -3
- package/dist/{isString-DRPPYOfx.js → isString-BMd91i2E.js} +1 -1
- package/dist/{isString-9uUnZx8o.cjs → isString-CS7YCv9X.cjs} +1 -1
- package/dist/{isUndefined-0SDwo3OT.js → isUndefined-BAPZm5c1.js} +1 -1
- package/dist/{isUndefined-BMUWuDCd.cjs → isUndefined-CkboWss0.cjs} +1 -1
- package/dist/{main-C7IcDqBJ.cjs → main-CHOLoXp6.cjs} +1 -1
- package/dist/{main-CaDSw7ht.js → main-Huj73lq-.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/{threeLatheView-Cl8GUa8O.js → threeLatheView-CGZqDSj2.js} +2 -2
- package/dist/{threeLatheView-Cb6XoiGJ.cjs → threeLatheView-CP5CCsIg.cjs} +1 -1
- package/dist/{threeModel-D45uG9EB.js → threeModel-BPaSCSWs.js} +3 -3
- package/dist/{threeModel-NFSrnKLr.cjs → threeModel-C0gqdgfa.cjs} +1 -1
- package/dist/{threePreview-CCPOdEt6.js → threePreview-1VkG7-qJ.js} +1 -1
- package/dist/{threePreview-D8GMBJD2.cjs → threePreview-BuRwDPP-.cjs} +1 -1
- package/dist/{threeSceneView-BjNtRYtx.js → threeSceneView-B7Rhsk9D.js} +8 -8
- package/dist/{threeSceneView-B104b9wS.cjs → threeSceneView-pUfBqAJt.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-UYIy-8pB.cjs → threeSceneViewForCPMPIP-CY1F4DU2.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-uokbzYl_.js → threeSceneViewForCPMPIP-DzSSSKGh.js} +3 -3
- package/dist/{threeViewerHost-BOPeS1rV.cjs → threeViewerHost-BPQR4HHB.cjs} +1 -1
- package/dist/{threeViewerHost-CAsPnJcP.js → threeViewerHost-CK6pz6TA.js} +4 -4
- package/package.json +1 -1
- package/public/config.js +1 -1
- package/dist/index-CqrDqoAP.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-BfGgJeyd.js";
|
|
2
2
|
import { r as K, u as S } from "./URDFLoader-CWayVfX0.js";
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
4
|
-
import { c as P } from "./index-
|
|
3
|
+
import { d as I } from "./threeViewerHost-CK6pz6TA.js";
|
|
4
|
+
import { c as P } from "./index-BNbgnFHv.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|
|
7
7
|
const c = new URL(r).pathname, s = c.substring(c.lastIndexOf("/") + 1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-HRpmt5lq.cjs"),x=require("./URDFLoader-C6HnI6A2.cjs"),_=require("./threeViewerHost-BPQR4HHB.cjs"),T=require("./index-DuQHeRpA.cjs");function P(r){try{const c=new URL(r).pathname,i=c.substring(c.lastIndexOf("/")+1);return decodeURIComponent(i)}catch(c){return console.error("无法解析URL以提取文件名:",r,c),"未知文件名"}}function S(r){if(!r)return;const c=r.match(/filename\*\s*=\s*([^;]+)/i);if(c){let n=c[1].trim();n=n.replace(/^"(.*)"$/,"$1");const h=n.split("''");if(h.length===2){const m=h[0].toUpperCase(),f=h[1];try{if(m==="UTF-8")return decodeURIComponent(f)}catch{}return f}try{return decodeURIComponent(n)}catch{return n}}const i=r.match(/filename\s*=\s*("?)([^";]+)\1/i);if(i)return i[2].trim()}async function K(r){let c,i;if(/^https?:\/\//.test(r))try{const n=await fetch(r,{method:"GET",cache:"no-store"});if(!n.ok)throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);c=await n.blob(),i=P(r)}catch(n){throw console.error("使用 fetch 下载文件时出错:",n),n}else try{const n=await _.downloadAvatarApi({url:r});if(n.status!==200)throw new Error(`下载失败: ${n.status}`);const h=n.headers["content-disposition"];i=S(h)||"无文件名",c=n.data}catch(n){throw console.error("通过 API 下载文件时出错:",n),n}return new File([c],i,{type:c.type})}function N(r){return new Promise((c,i)=>{const n=new FileReader;n.onload=h=>{var m;try{const f=(m=h.target)==null?void 0:m.result,u=x.readSync(f,{type:"array"}),C=u.Sheets[u.SheetNames[0]],E=x.utils.sheet_to_json(C);c(E)}catch(f){i(f)}},n.readAsArrayBuffer(r)})}const V=async()=>{const r="弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const C=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let $=["夹持长度"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度;console.log("夹持长度",k,g);const I=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let A=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),F=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));F==null||F.forEach(t=>{A.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=A,w[e.name+"Content"]=e}});const U=T.cloneDeep(w);return c={initialPipeLength:C,pipeRadius:E,clampLength:I,animationData:U},c},q=async()=>{const r="双弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const C=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let $=["夹持位置"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置;console.log("夹持长度",k,g);const I=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let A=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),F=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));F==null||F.forEach(t=>{A.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=A,w[e.name+"Content"]=e}});const U=T.cloneDeep(w);return c={initialPipeLength:C,pipeRadius:E,clampLength:I,animationData:U},c},B=async r=>await K(r),j=async r=>await N(r),X=async r=>{const c=await B(r);return await j(c)};exports.fetchDoubleRobotAnimationData=q;exports.fetchSingleRobotAnimationData=V;exports.initXYZBCList=X;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const z=require("vue"),i=require("./index-x-j1smHg.cjs"),Me=typeof window<"u";var le;Me&&((le=window==null?void 0:window.navigator)!=null&&le.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ue(e){return e==null}function Ee(){}const Le=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Le)));function We(){const e=new Map;return{on(t,r){const n=e.get(t);n!=null&&n.add(r)||e.set(t,new Set([r]))},off(t,r){const n=e.get(t);n&&n.delete(r)},clear(t){const r=e.get(t);r&&r.clear()},clearAll(){e.clear()},emit(t,...r){const n=e.get(t);n&&n.forEach(o=>{o(...r)})}}}function Ve(e,t=16){if(typeof e!="function")return Ee;const r=(...a)=>{e(...a)};if(t<=0)return Oe(r);let n=0,o;return function(...a){const l=Date.now(),s=l-n;clearTimeout(o),s>=t?(n=l,r(...a)):o=setTimeout(()=>{n=Date.now(),r(...a)},Math.max(0,t-s))}}function Je(e,t=100){if(typeof e!="function")return Ee;const r=(...o)=>{e(...o)};if(t<=0)return Oe(r);let n;return function(...o){clearTimeout(n),n=setTimeout(()=>{r(...o)},t)}}function Oe(e){if(typeof e!="function")return e;let t=!1,r,n;return function(...o){return r=o,t||(t=!0,n=Promise.resolve().then(()=>(t=!1,n=void 0,e(...r)))),n}}const U=new Set,Te=new WeakMap;function Ie(){U.forEach(e=>{e(...Te.get(e))}),U.clear()}function Ge(e,...t){if(typeof e!="function")return e;Te.set(e,t),!U.has(e)&&(U.add(e),U.size===1&&Promise.resolve().then(Ie))}const q=typeof window<"u";var ie;q&&(ie=window==null?void 0:window.navigator)!=null&&ie.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function se(e){return e!=null}function ce(){}const Xe=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Xe)));const Ze=q&&("ontouchstart"in window||Ke()>0),He=Ze?"pointerdown":"click";function Ke(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Ye(e,t,r=window.Event){const{type:n,bubbles:o=!1,cancelable:a=!1,...l}=t;if(!se(n)||n==="")return!1;let s;return se(r)?s=new r(n,{bubbles:o,cancelable:a}):(s=document.createEvent("HTMLEvents"),s.initEvent(n,o,a)),Object.assign(s,l),e.dispatchEvent(s)}const Qe="clickoutside",et=new Set;q&&document.addEventListener(He,e=>{const t=e.target,r=e.composedPath&&e.composedPath();et.forEach(n=>{n!==t&&(r?!r.includes(n):!n.contains(t))&&(!n.__transferElement||n.__transferElement!==t&&!n.__transferElement.contains(t))&&Ye(n,{type:Qe})})},!0);const tt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let H;if(q){for(const e of tt)if(e[1]in document){H=e;break}}z.computed(()=>!1);const rt=new Set,nt=new WeakMap;if(q&&H){const e=H[2],t=H[4];document.addEventListener(t,()=>{if(rt.forEach(r=>{r.value=!1}),document[e]){const r=nt.get(document[e]);r&&(r.value=!0)}},!1)}const De=new Map;De.set("x",0);De.set("y",0);var N=[],ot=function(){return N.some(function(e){return e.activeTargets.length>0})},at=function(){return N.some(function(e){return e.skippedTargets.length>0})},fe="ResizeObserver loop completed with undelivered notifications.",lt=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:fe}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=fe),window.dispatchEvent(e)},W;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(W||(W={}));var $=function(e){return Object.freeze(e)},it=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,$(this)}return e}(),Se=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,l=t.bottom,s=t.left,m=t.width,f=t.height;return{x:r,y:n,top:o,right:a,bottom:l,left:s,width:m,height:f}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ae=function(e){return e instanceof SVGElement&&"getBBox"in e},Ae=function(e){if(ae(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,l=o.offsetHeight;return!(a||l||e.getClientRects().length)},ue=function(e){var t;if(e instanceof Element)return!0;var r=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},st=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},L=typeof window<"u"?window:{},I=new WeakMap,de=/auto|scroll/,ct=/^tb|vertical/,ft=/msie|trident/i.test(L.navigator&&L.navigator.userAgent),S=function(e){return parseFloat(e||"0")},C=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new it((r?t:e)||0,(r?e:t)||0)},pe=$({devicePixelContentBoxSize:C(),borderBoxSize:C(),contentBoxSize:C(),contentRect:new Se(0,0,0,0)}),Be=function(e,t){if(t===void 0&&(t=!1),I.has(e)&&!t)return I.get(e);if(Ae(e))return I.set(e,pe),pe;var r=getComputedStyle(e),n=ae(e)&&e.ownerSVGElement&&e.getBBox(),o=!ft&&r.boxSizing==="border-box",a=ct.test(r.writingMode||""),l=!n&&de.test(r.overflowY||""),s=!n&&de.test(r.overflowX||""),m=n?0:S(r.paddingTop),f=n?0:S(r.paddingRight),A=n?0:S(r.paddingBottom),c=n?0:S(r.paddingLeft),x=n?0:S(r.borderTopWidth),u=n?0:S(r.borderRightWidth),d=n?0:S(r.borderBottomWidth),T=n?0:S(r.borderLeftWidth),y=c+f,p=m+A,g=T+u,b=x+d,_=s?e.offsetHeight-b-e.clientHeight:0,j=l?e.offsetWidth-g-e.clientWidth:0,F=o?y+g:0,R=o?p+b:0,D=n?n.width:S(r.width)-F-j,B=n?n.height:S(r.height)-R-_,V=D+y+j+g,J=B+p+_+b,P=$({devicePixelContentBoxSize:C(Math.round(D*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:C(V,J,a),contentBoxSize:C(D,B,a),contentRect:new Se(c,m,D,B)});return I.set(e,P),P},_e=function(e,t,r){var n=Be(e,r),o=n.borderBoxSize,a=n.contentBoxSize,l=n.devicePixelContentBoxSize;switch(t){case W.DEVICE_PIXEL_CONTENT_BOX:return l;case W.BORDER_BOX:return o;default:return a}},ut=function(){function e(t){var r=Be(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=$([r.borderBoxSize]),this.contentBoxSize=$([r.contentBoxSize]),this.devicePixelContentBoxSize=$([r.devicePixelContentBoxSize])}return e}(),je=function(e){if(Ae(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},dt=function(){var e=1/0,t=[];N.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(s){var m=new ut(s.target),f=je(s.target);l.push(m),s.lastReportedSize=_e(s.target,s.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e},he=function(e){N.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(je(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},pt=function(){var e=0;for(he(e);ot();)e=dt(),he(e);return at()&<(),e>0},ee,Fe=[],ht=function(){return Fe.splice(0).forEach(function(e){return e()})},gt=function(e){if(!ee){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return ht()}).observe(r,n),ee=function(){r.textContent="".concat(t?t--:t++)}}Fe.push(e),ee()},bt=function(e){gt(function(){requestAnimationFrame(e)})},K=0,mt=function(){return!!K},yt=250,vt={attributes:!0,characterData:!0,childList:!0,subtree:!0},ge=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],be=function(e){return e===void 0&&(e=0),Date.now()+e},te=!1,kt=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=yt),!te){te=!0;var n=be(t);bt(function(){var o=!1;try{o=pt()}finally{if(te=!1,t=n-be(),!mt())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,vt)};document.body?r():L.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ge.forEach(function(r){return L.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ge.forEach(function(r){return L.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),oe=new kt,me=function(e){!K&&e>0&&oe.start(),K+=e,!K&&oe.stop()},wt=function(e){return!ae(e)&&!st(e)&&getComputedStyle(e).display==="inline"},zt=function(){function e(t,r){this.target=t,this.observedBox=r||W.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=_e(this.target,this.observedBox,!0);return wt(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),xt=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),G=new WeakMap,ye=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},X=function(){function e(){}return e.connect=function(t,r){var n=new xt(t,r);G.set(t,n)},e.observe=function(t,r,n){var o=G.get(t),a=o.observationTargets.length===0;ye(o.observationTargets,r)<0&&(a&&N.push(o),o.observationTargets.push(new zt(r,n&&n.box)),me(1),oe.schedule())},e.unobserve=function(t,r){var n=G.get(t),o=ye(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&N.splice(N.indexOf(n),1),n.observationTargets.splice(o,1),me(-1))},e.disconnect=function(t){var r=this,n=G.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Et=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");X.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");X.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");X.unobserve(this,t)},e.prototype.disconnect=function(){X.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Q=new WeakMap;function Ot(e){var t;for(let r=0,n=e.length;r<n;++r){const o=e[r],a=Q.get(o.target);if(typeof a=="function"){const{inlineSize:l,blockSize:s}=((t=o.borderBoxSize)==null?void 0:t[0])??{},{offsetWidth:m,offsetHeight:f}=o.target;a(Object.assign(o,{offsetWidth:m,offsetHeight:f,width:l??m,height:s??f}))}}}const Re=new(q&&window.ResizeObserver||Et)(Ot);function ve(e,t){Q.set(e,t),Re.observe(e)}function ke(e){Q.has(e)&&(Re.unobserve(e),Q.delete(e))}function Tt(e={}){let t=ce;const r=z.watch(()=>z.unref(e.target),o=>{t(),!(!o||typeof e.onResize!="function")&&(ve(o,e.onResize),t=()=>{ke(o),t=ce})},{immediate:!0}),n=()=>{r(),t()};return z.getCurrentScope()&&z.onScopeDispose(n),{observeResize:ve,unobserveResize:ke,unobserve:n}}const Dt=z.ref(!1);z.computed(()=>Dt.value);const we="__theme_style__",re="__theme_observer__",ze=z.reactive(new Map),xe=new Map;z.watch(ze,()=>{if(!q)return;xe.clear();const e=document.head.querySelector(`#${we}`);e&&document.head.removeChild(e);const t=document.createElement("style");let r=`.${re} { width: 1px }`,n=1;for(const[o,[a,l]]of ze.entries())r+=` html.${a} .${re}, .${l} .${re} { width: ${++n}px }`,xe.set(n,o);t.textContent=r,t.id=we,document.head.appendChild(t)});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();const w=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],k=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];z.ref(0);const Ne=e=>{var t,r;if(Array.isArray(Object.keys(e))&&((t=Object.keys(e))==null?void 0:t.length)>0){let n=[];return(r=Object.entries(e))==null||r.forEach(([o,a])=>{var s,m;let l=[];if(l.push(o),((s=Object.keys(a))==null?void 0:s.length)>0){let f=[];(m=Ne(a))==null||m.forEach(A=>{f.push(A)}),f==null||f.forEach(A=>{l.push(A)})}n.push(l)}),n}},St=(e,t)=>{var n;let r=t;return Array.isArray(Object.keys(e))&&((n=Object.entries(e))==null||n.forEach(([o,a])=>{let l=[o];if(typeof a=="object"&&a!==null){let s=Ne(a);s==null||s.forEach(m=>{l.push(m)})}r.push(l)})),r},At=e=>{const t={};return e.forEach(n=>{const o=n.split("/");let a=t;o.forEach(l=>{a[l]||(a[l]={}),a=a[l]})}),St(t,[])},Bt=e=>At(e);z.ref(0);z.ref(1);const $e=e=>{let t;e.replaceAll(" ",`\r
|
|
1
|
+
"use strict";const z=require("vue"),i=require("./index-DuQHeRpA.cjs"),Me=typeof window<"u";var le;Me&&((le=window==null?void 0:window.navigator)!=null&&le.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ue(e){return e==null}function Ee(){}const Le=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Le)));function We(){const e=new Map;return{on(t,r){const n=e.get(t);n!=null&&n.add(r)||e.set(t,new Set([r]))},off(t,r){const n=e.get(t);n&&n.delete(r)},clear(t){const r=e.get(t);r&&r.clear()},clearAll(){e.clear()},emit(t,...r){const n=e.get(t);n&&n.forEach(o=>{o(...r)})}}}function Ve(e,t=16){if(typeof e!="function")return Ee;const r=(...a)=>{e(...a)};if(t<=0)return Oe(r);let n=0,o;return function(...a){const l=Date.now(),s=l-n;clearTimeout(o),s>=t?(n=l,r(...a)):o=setTimeout(()=>{n=Date.now(),r(...a)},Math.max(0,t-s))}}function Je(e,t=100){if(typeof e!="function")return Ee;const r=(...o)=>{e(...o)};if(t<=0)return Oe(r);let n;return function(...o){clearTimeout(n),n=setTimeout(()=>{r(...o)},t)}}function Oe(e){if(typeof e!="function")return e;let t=!1,r,n;return function(...o){return r=o,t||(t=!0,n=Promise.resolve().then(()=>(t=!1,n=void 0,e(...r)))),n}}const U=new Set,Te=new WeakMap;function Ie(){U.forEach(e=>{e(...Te.get(e))}),U.clear()}function Ge(e,...t){if(typeof e!="function")return e;Te.set(e,t),!U.has(e)&&(U.add(e),U.size===1&&Promise.resolve().then(Ie))}const q=typeof window<"u";var ie;q&&(ie=window==null?void 0:window.navigator)!=null&&ie.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function se(e){return e!=null}function ce(){}const Xe=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Xe)));const Ze=q&&("ontouchstart"in window||Ke()>0),He=Ze?"pointerdown":"click";function Ke(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Ye(e,t,r=window.Event){const{type:n,bubbles:o=!1,cancelable:a=!1,...l}=t;if(!se(n)||n==="")return!1;let s;return se(r)?s=new r(n,{bubbles:o,cancelable:a}):(s=document.createEvent("HTMLEvents"),s.initEvent(n,o,a)),Object.assign(s,l),e.dispatchEvent(s)}const Qe="clickoutside",et=new Set;q&&document.addEventListener(He,e=>{const t=e.target,r=e.composedPath&&e.composedPath();et.forEach(n=>{n!==t&&(r?!r.includes(n):!n.contains(t))&&(!n.__transferElement||n.__transferElement!==t&&!n.__transferElement.contains(t))&&Ye(n,{type:Qe})})},!0);const tt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let H;if(q){for(const e of tt)if(e[1]in document){H=e;break}}z.computed(()=>!1);const rt=new Set,nt=new WeakMap;if(q&&H){const e=H[2],t=H[4];document.addEventListener(t,()=>{if(rt.forEach(r=>{r.value=!1}),document[e]){const r=nt.get(document[e]);r&&(r.value=!0)}},!1)}const De=new Map;De.set("x",0);De.set("y",0);var N=[],ot=function(){return N.some(function(e){return e.activeTargets.length>0})},at=function(){return N.some(function(e){return e.skippedTargets.length>0})},fe="ResizeObserver loop completed with undelivered notifications.",lt=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:fe}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=fe),window.dispatchEvent(e)},W;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(W||(W={}));var $=function(e){return Object.freeze(e)},it=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,$(this)}return e}(),Se=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,l=t.bottom,s=t.left,m=t.width,f=t.height;return{x:r,y:n,top:o,right:a,bottom:l,left:s,width:m,height:f}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ae=function(e){return e instanceof SVGElement&&"getBBox"in e},Ae=function(e){if(ae(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,l=o.offsetHeight;return!(a||l||e.getClientRects().length)},ue=function(e){var t;if(e instanceof Element)return!0;var r=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},st=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},L=typeof window<"u"?window:{},I=new WeakMap,de=/auto|scroll/,ct=/^tb|vertical/,ft=/msie|trident/i.test(L.navigator&&L.navigator.userAgent),S=function(e){return parseFloat(e||"0")},C=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new it((r?t:e)||0,(r?e:t)||0)},pe=$({devicePixelContentBoxSize:C(),borderBoxSize:C(),contentBoxSize:C(),contentRect:new Se(0,0,0,0)}),Be=function(e,t){if(t===void 0&&(t=!1),I.has(e)&&!t)return I.get(e);if(Ae(e))return I.set(e,pe),pe;var r=getComputedStyle(e),n=ae(e)&&e.ownerSVGElement&&e.getBBox(),o=!ft&&r.boxSizing==="border-box",a=ct.test(r.writingMode||""),l=!n&&de.test(r.overflowY||""),s=!n&&de.test(r.overflowX||""),m=n?0:S(r.paddingTop),f=n?0:S(r.paddingRight),A=n?0:S(r.paddingBottom),c=n?0:S(r.paddingLeft),x=n?0:S(r.borderTopWidth),u=n?0:S(r.borderRightWidth),d=n?0:S(r.borderBottomWidth),T=n?0:S(r.borderLeftWidth),y=c+f,p=m+A,g=T+u,b=x+d,_=s?e.offsetHeight-b-e.clientHeight:0,j=l?e.offsetWidth-g-e.clientWidth:0,F=o?y+g:0,R=o?p+b:0,D=n?n.width:S(r.width)-F-j,B=n?n.height:S(r.height)-R-_,V=D+y+j+g,J=B+p+_+b,P=$({devicePixelContentBoxSize:C(Math.round(D*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:C(V,J,a),contentBoxSize:C(D,B,a),contentRect:new Se(c,m,D,B)});return I.set(e,P),P},_e=function(e,t,r){var n=Be(e,r),o=n.borderBoxSize,a=n.contentBoxSize,l=n.devicePixelContentBoxSize;switch(t){case W.DEVICE_PIXEL_CONTENT_BOX:return l;case W.BORDER_BOX:return o;default:return a}},ut=function(){function e(t){var r=Be(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=$([r.borderBoxSize]),this.contentBoxSize=$([r.contentBoxSize]),this.devicePixelContentBoxSize=$([r.devicePixelContentBoxSize])}return e}(),je=function(e){if(Ae(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},dt=function(){var e=1/0,t=[];N.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(s){var m=new ut(s.target),f=je(s.target);l.push(m),s.lastReportedSize=_e(s.target,s.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e},he=function(e){N.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(je(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},pt=function(){var e=0;for(he(e);ot();)e=dt(),he(e);return at()&<(),e>0},ee,Fe=[],ht=function(){return Fe.splice(0).forEach(function(e){return e()})},gt=function(e){if(!ee){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return ht()}).observe(r,n),ee=function(){r.textContent="".concat(t?t--:t++)}}Fe.push(e),ee()},bt=function(e){gt(function(){requestAnimationFrame(e)})},K=0,mt=function(){return!!K},yt=250,vt={attributes:!0,characterData:!0,childList:!0,subtree:!0},ge=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],be=function(e){return e===void 0&&(e=0),Date.now()+e},te=!1,kt=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=yt),!te){te=!0;var n=be(t);bt(function(){var o=!1;try{o=pt()}finally{if(te=!1,t=n-be(),!mt())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,vt)};document.body?r():L.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ge.forEach(function(r){return L.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ge.forEach(function(r){return L.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),oe=new kt,me=function(e){!K&&e>0&&oe.start(),K+=e,!K&&oe.stop()},wt=function(e){return!ae(e)&&!st(e)&&getComputedStyle(e).display==="inline"},zt=function(){function e(t,r){this.target=t,this.observedBox=r||W.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=_e(this.target,this.observedBox,!0);return wt(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),xt=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),G=new WeakMap,ye=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},X=function(){function e(){}return e.connect=function(t,r){var n=new xt(t,r);G.set(t,n)},e.observe=function(t,r,n){var o=G.get(t),a=o.observationTargets.length===0;ye(o.observationTargets,r)<0&&(a&&N.push(o),o.observationTargets.push(new zt(r,n&&n.box)),me(1),oe.schedule())},e.unobserve=function(t,r){var n=G.get(t),o=ye(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&N.splice(N.indexOf(n),1),n.observationTargets.splice(o,1),me(-1))},e.disconnect=function(t){var r=this,n=G.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Et=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");X.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");X.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");X.unobserve(this,t)},e.prototype.disconnect=function(){X.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Q=new WeakMap;function Ot(e){var t;for(let r=0,n=e.length;r<n;++r){const o=e[r],a=Q.get(o.target);if(typeof a=="function"){const{inlineSize:l,blockSize:s}=((t=o.borderBoxSize)==null?void 0:t[0])??{},{offsetWidth:m,offsetHeight:f}=o.target;a(Object.assign(o,{offsetWidth:m,offsetHeight:f,width:l??m,height:s??f}))}}}const Re=new(q&&window.ResizeObserver||Et)(Ot);function ve(e,t){Q.set(e,t),Re.observe(e)}function ke(e){Q.has(e)&&(Re.unobserve(e),Q.delete(e))}function Tt(e={}){let t=ce;const r=z.watch(()=>z.unref(e.target),o=>{t(),!(!o||typeof e.onResize!="function")&&(ve(o,e.onResize),t=()=>{ke(o),t=ce})},{immediate:!0}),n=()=>{r(),t()};return z.getCurrentScope()&&z.onScopeDispose(n),{observeResize:ve,unobserveResize:ke,unobserve:n}}const Dt=z.ref(!1);z.computed(()=>Dt.value);const we="__theme_style__",re="__theme_observer__",ze=z.reactive(new Map),xe=new Map;z.watch(ze,()=>{if(!q)return;xe.clear();const e=document.head.querySelector(`#${we}`);e&&document.head.removeChild(e);const t=document.createElement("style");let r=`.${re} { width: 1px }`,n=1;for(const[o,[a,l]]of ze.entries())r+=` html.${a} .${re}, .${l} .${re} { width: ${++n}px }`,xe.set(n,o);t.textContent=r,t.id=we,document.head.appendChild(t)});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();const w=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],k=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];z.ref(0);const Ne=e=>{var t,r;if(Array.isArray(Object.keys(e))&&((t=Object.keys(e))==null?void 0:t.length)>0){let n=[];return(r=Object.entries(e))==null||r.forEach(([o,a])=>{var s,m;let l=[];if(l.push(o),((s=Object.keys(a))==null?void 0:s.length)>0){let f=[];(m=Ne(a))==null||m.forEach(A=>{f.push(A)}),f==null||f.forEach(A=>{l.push(A)})}n.push(l)}),n}},St=(e,t)=>{var n;let r=t;return Array.isArray(Object.keys(e))&&((n=Object.entries(e))==null||n.forEach(([o,a])=>{let l=[o];if(typeof a=="object"&&a!==null){let s=Ne(a);s==null||s.forEach(m=>{l.push(m)})}r.push(l)})),r},At=e=>{const t={};return e.forEach(n=>{const o=n.split("/");let a=t;o.forEach(l=>{a[l]||(a[l]={}),a=a[l]})}),St(t,[])},Bt=e=>At(e);z.ref(0);z.ref(1);const $e=e=>{let t;e.replaceAll(" ",`\r
|
|
2
2
|
`).replaceAll(`
|
|
3
3
|
`,`\r
|
|
4
4
|
`).includes(`\r
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watch as Ee, unref as Ue, getCurrentScope as Le, onScopeDispose as We, computed as Oe, ref as q, reactive as De } from "vue";
|
|
2
|
-
import { c as s } from "./index-
|
|
2
|
+
import { c as s } from "./index-BNbgnFHv.js";
|
|
3
3
|
const Je = typeof window < "u";
|
|
4
4
|
var ie;
|
|
5
5
|
Je && ((ie = window == null ? void 0 : window.navigator) != null && ie.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
package/dist/config.js
CHANGED
|
@@ -4,7 +4,7 @@ window.__env__ = {
|
|
|
4
4
|
"VITE_OPEN_CDN": "false",
|
|
5
5
|
"VITE_PUBLIC_PATH": "",
|
|
6
6
|
"VITE_SM_PUBLIC_KEY": "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312",
|
|
7
|
-
"VITE_API_URL": "http://222.92.178.198:
|
|
7
|
+
"VITE_API_URL": "http://222.92.178.198:62009",
|
|
8
8
|
"VITE_DEFAULT_USER": "",
|
|
9
9
|
"VITE_DEFAULT_USER_PASSWORD": ""
|
|
10
10
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { watch as u, onMounted as g, onUnmounted as C, resolveComponent as S, createElementBlock as v, openBlock as B, createVNode as I } from "vue";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { u as K } from "./index-
|
|
4
|
-
import "./array-
|
|
2
|
+
import "./index-M7K--lqQ.js";
|
|
3
|
+
import { u as K } from "./index-BNbgnFHv.js";
|
|
4
|
+
import "./array-NKfRbH0h.js";
|
|
5
5
|
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
7
|
-
import "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-B5B8le6b.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BhxDIJOv.js";
|
|
8
8
|
import "./index-BHtNKL1L.js";
|
|
9
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
9
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRIsUUl0.js";
|
|
10
10
|
import "./three-viewport-gizmo-B276WnhL.js";
|
|
11
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
12
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
13
|
-
import "./index-
|
|
11
|
+
import "./index.vue_vue_type_style_index_1_lang-BfGgJeyd.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_1_lang-glk3IQGC.js";
|
|
13
|
+
import "./index-CZuSa8mC.js";
|
|
14
14
|
import "vue-router";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
15
|
+
import "./index-CRyQ4mj2.js";
|
|
16
|
+
import "./index-C8__pTWP.js";
|
|
17
17
|
const j = {
|
|
18
18
|
__name: "index",
|
|
19
19
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, createElementBlock as v, openBlock as _, createElementVNode as b, createVNode as u, withCtx as c, Fragment as w, renderList as A, createBlock as B, createTextVNode as F } from "vue";
|
|
2
|
-
import { g as I, E as g } from "./index-
|
|
2
|
+
import { g as I, E as g } from "./index-BNbgnFHv.js";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
4
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-CfQXws7l.cjs"),k=require("./threeViewerHost-BPQR4HHB.cjs"),C=require("./index-DuQHeRpA.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-BcaSZFV3.cjs"),S=require("./index-BpPyaNFa.cjs"),V={class:"avatar-model-wrap"},N={key:0},E=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(s,{emit:w}){const u=s,i=w,m=e.computed(()=>"http://222.92.178.198:62009"),d=e.ref(""),h=e.ref(""),b=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const _=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});b.value=f}catch(o){throw new Error(o)}},B=async o=>{var f,g,t,n,c;try{const r=await k.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(h.value=m.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),d.value=(c=(n=r.data)==null?void 0:n.result)==null?void 0:c.url,i("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},y=async()=>{try{if(!h.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(I.ssAvatar,{avatarUrl:h.value,avatarBlob:b.value,size:s.size,onClickAvatar:_,onSubmitImage:B,onDeleteImage:y},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=s.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=s.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size"]),s.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=s.userInfo)==null?void 0:g.account)||((t=s.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-882723d5"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(s,{emit:w}){const u=s,i=e.ref({}),m=e.ref([]),d=w,h=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{i.value.dialogShow=!1,d("beforeDestroy")},_=e.computed(()=>"http://222.92.178.198:62009"),B=t=>{var a;const n=t.split(","),c=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let l=r.length;const v=new Uint8Array(l);for(;l--;)v[l]=r.charCodeAt(l);return new Blob([v],{type:c})},y=async t=>{var n,c,r;try{const l=await k.uploadFile(t);((n=l==null?void 0:l.data)==null?void 0:n.code)===200&&d("clickSubmitSign",(r=(c=l.data)==null?void 0:c.result)==null?void 0:r.url)}catch(l){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,i.value.dialogShow=!1;const n=new FormData,c=B(t);n.append("file",c,"image.png"),y(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),y(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var c,r,l,v;o.value="",(c=i.value)!=null&&c.dialogShow&&(i.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),i.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,m.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const c=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),l=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:i.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=i.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:_.value+"/"+((p=s.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,a=>{var p;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(p=a.label)!=null&&p.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>h(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=x._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
3
|
-
import { g as d, c as _ } from "./index-
|
|
2
|
+
import { s as m } from "./index-wvNWsI_x.js";
|
|
3
|
+
import { g as d, c as _ } from "./index-DFve7bft.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
6
6
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-q7u9L53_.cjs"),n=require("./index-DFmc0JVG.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|