ss-component-new 1.1.995 → 1.1.997
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-CaCAFAbv.js → animationData-C5pi2lIy.js} +4 -4
- package/dist/{animationData-BupUPjJE.cjs → animationData-DDfGfAen.cjs} +1 -1
- package/dist/{array-DecM9H4l.cjs → array-BPHS7JFA.cjs} +1 -1
- package/dist/{array-C4pJynu_.js → array-DljC5ibo.js} +1 -1
- package/dist/{index-DyOwVzCi.js → index-6-Qtq-tt.js} +1 -1
- package/dist/{index-B16gYvdg.cjs → index-6ARMBbM_.cjs} +1 -1
- package/dist/{index-KtDgjuLm.cjs → index-6f0JMGW7.cjs} +1 -1
- package/dist/{index-CXLL78ug.cjs → index-B-0r0sPj.cjs} +1 -1
- package/dist/{index-Dd4ZjMYw.js → index-B14GRVkp.js} +6 -6
- package/dist/{index-BpNovq-8.js → index-B5a9osLI.js} +3 -3
- package/dist/index-BGXWbLdb.js +2629 -0
- package/dist/{index-D0IHrpO1.js → index-BH5m6pBR.js} +6 -6
- package/dist/{index-C9oOM-t8.js → index-BMB5oD_7.js} +2 -2
- package/dist/{index-D8aRTpnB.cjs → index-BP21mbz0.cjs} +1 -1
- package/dist/{index-6zeu0Lkj.cjs → index-BTe1FWs2.cjs} +1 -1
- package/dist/{index-BuVNn4t_.js → index-BcIfiOYx.js} +6 -6
- package/dist/{index-any8b3ao.js → index-BdATV9YU.js} +2 -2
- package/dist/{index-BKMQamZC.cjs → index-Bdq7wGzn.cjs} +1 -1
- package/dist/{index-xPKtXFE8.js → index-BhvnP2DD.js} +19 -19
- package/dist/{index-BosmV5b9.js → index-BiO7VTA4.js} +3 -3
- package/dist/{index-BnjnCrRz.cjs → index-BpMiG8Tm.cjs} +1 -1
- package/dist/{index-CHyYHZBB.cjs → index-BrsIZVyD.cjs} +1 -1
- package/dist/{index-CkwA3JjI.js → index-BsqTGGI6.js} +4 -4
- package/dist/{index-m3UZwZm9.cjs → index-C2QkjYno.cjs} +1 -1
- package/dist/{index-D0jLWFi8.js → index-C2h9-aiO.js} +2 -2
- package/dist/{index-BSyGvIiD.cjs → index-C9L2xhjA.cjs} +1 -1
- package/dist/{index-Dksi7L4T.cjs → index-CB5BE7bO.cjs} +1 -1
- package/dist/{index-DwbaipVf.cjs → index-CEu8J1XZ.cjs} +1 -1
- package/dist/{index-8mywhw38.js → index-CNeGYVKy.js} +278 -278
- package/dist/{index-w1PW-xkW.cjs → index-COIHDZfc.cjs} +1 -1
- package/dist/{index-BVWiF41p.cjs → index-CP0fLF82.cjs} +1 -1
- package/dist/{index-BlxybUsL.js → index-CPL-qpAH.js} +2 -2
- package/dist/{index-BZnSF11v.cjs → index-CQpcE7e8.cjs} +1 -1
- package/dist/{index-FQPAjbLE.js → index-CVxfKgua.js} +6 -6
- package/dist/{index-Qkud_fqh.js → index-CZEK1c2_.js} +196 -196
- package/dist/{index-RQhg2LUH.js → index-Cclskz5B.js} +5 -5
- package/dist/{index-Cy_f1mTy.js → index-Cdia862Y.js} +3 -3
- package/dist/{index-bWkXQUvo.cjs → index-ClxC8lez.cjs} +1 -1
- package/dist/{index-CmSvv5sz.cjs → index-CmlXlH2b.cjs} +1 -1
- package/dist/{index-DW5DQfh6.js → index-Ct-o4dTs.js} +2 -2
- package/dist/{index-BWX8xBea.js → index-DAal1b48.js} +4 -4
- package/dist/{index-6T0jyFyN.cjs → index-DAnKAtia.cjs} +1 -1
- package/dist/{index-CyWeeeJ_.cjs → index-DAxk-2Ui.cjs} +1 -1
- package/dist/{index-C6m0TLld.cjs → index-DBlHGdVm.cjs} +1 -1
- package/dist/{index-Dg8qfCyi.cjs → index-DL4abzUt.cjs} +1 -1
- package/dist/{index-CzX1u8GA.js → index-DRbgcYkj.js} +2 -2
- package/dist/{index-vb2ZNB8g.js → index-DRnMIZ-2.js} +2 -2
- package/dist/{index-DvF852iZ.cjs → index-DYefXbFi.cjs} +1 -1
- package/dist/{index-M9BAjA34.cjs → index-DiBID4hr.cjs} +1 -1
- package/dist/{index-9YPq7F0A.js → index-DmXN3-YT.js} +1 -1
- package/dist/{index-RMK5tNTx.cjs → index-DnjGtZMf.cjs} +1 -1
- package/dist/{index-CH5pZ6Fo.cjs → index-EYli-3qC.cjs} +1 -1
- package/dist/{index-Dc_0lj-J.js → index-EzJFQqXc.js} +11 -11
- package/dist/index-PJjwDyTM.cjs +1 -0
- package/dist/{index-BL5qYwRA.js → index-PS6IzlKo.js} +2 -2
- package/dist/{index-BnB6azK4.js → index-SQKn1cUq.js} +2 -2
- package/dist/index-TpocaFPp.cjs +1 -0
- package/dist/{index-fA9qe_LW.cjs → index-Tq2KsdEZ.cjs} +1 -1
- package/dist/{index-CqMC7AGj.js → index-ZuEk30HO.js} +3 -3
- package/dist/{index-DuQHeRpA.cjs → index-d6tSWKtY.cjs} +1 -1
- package/dist/{index-DT2xBFLD.js → index-ek5c8BWp.js} +4 -4
- package/dist/{index-Cz1ttXAz.cjs → index-jzJADvfY.cjs} +1 -1
- package/dist/{index-COcZS6hc.js → index-oNErZJKp.js} +1 -1
- package/dist/{index-B-vRvlJ6.js → index-pwBYCKmQ.js} +3 -3
- package/dist/{index-CpW8Jb3G.js → index-qRIYYnAI.js} +1 -1
- package/dist/{index-D30TlbuH.cjs → index-qSuYRehS.cjs} +1 -1
- package/dist/{index-ChIVHgoC.cjs → index-v110SKLt.cjs} +1 -1
- package/dist/{index-DL0lshN3.js → index-vYaP7sIx.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DrzfJZmf.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRn2png0.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dn-Dses0.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-jo10pZ20.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CUktv0DH.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Bz988JlQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CLennOzp.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-YZJ4CMDy.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-bmVgus0v.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-B9cnSzJY.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BrygTo-r.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DxtSedWY.js} +15 -15
- package/dist/{index.vue_vue_type_style_index_1_lang-BTmOeg-Z.js → index.vue_vue_type_style_index_1_lang-BIlRcspG.js} +1398 -1368
- package/dist/{index.vue_vue_type_style_index_1_lang-TSI9361V.cjs → index.vue_vue_type_style_index_1_lang-BLiejuEq.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_1_lang-D1arceZL.cjs +32 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-D7TS3toj.js → index.vue_vue_type_style_index_1_lang-HCuuWFKi.js} +3 -3
- package/dist/{isString-CS7YCv9X.cjs → isString-ChvWbctO.cjs} +1 -1
- package/dist/{isString-BfAYx3iW.js → isString-D3DhambW.js} +1 -1
- package/dist/{isUndefined-CkboWss0.cjs → isUndefined-7lpU02Ef.cjs} +1 -1
- package/dist/{isUndefined-De43EU2L.js → isUndefined-BqsKWawv.js} +1 -1
- package/dist/{main-CYi-epif.cjs → main-CfaBqevc.cjs} +1 -1
- package/dist/{main-BaM0ttWW.js → main-OntNtM7O.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-StFmUSsf.cjs → threeLatheView-DfSxRY8B.cjs} +1 -1
- package/dist/{threeLatheView-D-6c50VR.js → threeLatheView-Mc00lYo0.js} +2 -2
- package/dist/{threeModel-CwUqjhIy.cjs → threeModel-DE6_tsFz.cjs} +1 -1
- package/dist/{threeModel-BHBkfgAE.js → threeModel-IUDFJw0z.js} +3 -3
- package/dist/{threePreview-BuRwDPP-.cjs → threePreview-ByUYJkts.cjs} +1 -1
- package/dist/{threePreview-GjQaPTgE.js → threePreview-CkZ9LLXO.js} +1 -1
- package/dist/{threeSceneView-BXGepXbE.js → threeSceneView-Becn04pA.js} +9 -9
- package/dist/{threeSceneView-BRTGlyXW.cjs → threeSceneView-CcgzFYDz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-B2ms6rGs.js → threeSceneViewForCPMPIP-DEZwvbl5.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-Cf2YpBnQ.cjs → threeSceneViewForCPMPIP-DLAuZT3j.cjs} +1 -1
- package/dist/{threeViewerHost-Dc0xOUCO.cjs → threeViewerHost-Cx49qqyw.cjs} +1 -1
- package/dist/{threeViewerHost-D6Z3RYrg.js → threeViewerHost-K7PwuJuM.js} +4 -4
- package/dist/{useRayCaster-BxHTZXFp.js → useRayCaster-D0bkpJkY.js} +1 -1
- package/dist/{useRayCaster-DFxFb_gR.cjs → useRayCaster-OZWS-6aV.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B9_ITx0a.js +0 -2539
- package/dist/index-CFg686J-.cjs +0 -1
- package/dist/index-RDBvy9pN.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_1_lang-B5WJ79ZI.cjs +0 -32
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
-
import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
4
|
-
import { c as P } from "./index-
|
|
1
|
+
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-BIlRcspG.js";
|
|
2
|
+
import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-HCuuWFKi.js";
|
|
3
|
+
import { d as I } from "./threeViewerHost-K7PwuJuM.js";
|
|
4
|
+
import { c as P } from "./index-CZEK1c2_.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-D1arceZL.cjs"),I=require("./index.vue_vue_type_style_index_1_lang-BLiejuEq.cjs"),U=require("./threeViewerHost-Cx49qqyw.cjs"),T=require("./index-d6tSWKtY.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 U.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=I.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=I.utils.sheet_to_json(F);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 F=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 x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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 F=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 x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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-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
|
|
1
|
+
"use strict";const z=require("vue"),i=require("./index-d6tSWKtY.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-CZEK1c2_.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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as f, resolveComponent as m, createBlock as y, openBlock as g, withCtx as d, createTextVNode as h, toDisplayString as b, watch as B, normalizeStyle as C, renderSlot as c, createElementVNode as v } from "vue";
|
|
2
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import "./index.vue_vue_type_style_index_1_lang-BIlRcspG.js";
|
|
3
3
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const D = /* @__PURE__ */ _({
|
|
5
5
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";const g=require("vue"),p=require("./index-d6tSWKtY.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-D1arceZL.cjs"),D=p.useLoginState(p.pinia),{loginUserInfo:u,cryptoInfo:m}=p.storeToRefs(D),V=w.useMenuState(p.pinia),{activeMenuPath:y}=p.storeToRefs(V),E=g.ref(0),P=g.computed(()=>{var s,a,t,r,n,l,e,o,d,v,f;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((d=u.value)==null?void 0:d.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((v=u.value)==null?void 0:v.layer)==="superAdmin"?"启用":((f=u.value)==null?void 0:f.状态)??"未知"}]}),W=()=>{},U=g.ref(!1),h=g.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=g.ref([{label:"签字版",icon:p.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:p.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:p.upload_filled_default,type:"buttonUpload",disabled:!1}]),_=g.ref(!1),I=g.ref(!1),R=g.ref(!1),M=g.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value;return Array.isArray(a)?(R.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),O=g.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:M.value}]),$=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,d,v,f;const a=await p.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const b={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(f=(v=(d=a.data.result)==null?void 0:d[0])==null?void 0:v.key)==null?void 0:f.layer};D.setLoginUserInfo(b)}},q=async(s,a)=>{var r,n,l;const t=p.cloneDeep(s);t==null||delete t.id;try{const e=await p.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),p.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},y.value))}catch{p.ElMessage.error("修改响应失败")}finally{U.value=!1,_.value=!1,I.value=!1}},x=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};_.value=s==="avatarUrl",I.value=s==="signature",await q(r,"图片修改")},c=g.reactive({baseCols:[],otherCols:[]}),K=g.ref([]),k=g.ref(),B=(s,a,t)=>{var l,e,o,d,v,f;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?w.decryptData((d=u.value)==null?void 0:d.password,(v=m==null?void 0:m.value)==null?void 0:v.privateKey):w.resetPassword:r=(f=u.value)==null?void 0:f.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},H=(s,a,t)=>{a?t():t(new Error("请输入密码"))},j=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,d,v,f;const s=await p.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const b=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(d=P.value)==null?void 0:d.map(i=>i==null?void 0:i.prop);c.baseCols=b&&((v=b.contents)==null?void 0:v.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(f=b.contents)==null?void 0:f.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:B},{...A,label:"新密码",prop:"newtPass",validator:H},{...A,label:"确认密码",prop:"confirmNewPass",validator:j}];c.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:w.encryptData(s==null?void 0:s.confirmNewPass,(e=m.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},T=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=c.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=T())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=c.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=c.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(d,v,f)=>o.validator(d,v,f),trigger:"blur"}],e),{}),buttonValue:(l=T())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:_,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:$,clickTabButton:G,getUserTableHeadersAsync:J,itemData:O,loading:U,refreshLoginUserInfoAsync:N,rowContents:P,signPadInfo:h,signTypes:M,signatureLoading:I,submitImageAsync:x,tabKey:E,tabsContents:K,tempSignTypes:S,uploadDisabled:R},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-d6tSWKtY.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-D1arceZL.cjs"),C=require("./index-PJjwDyTM.cjs"),r=require("./index-CmlXlH2b.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=f.useMenuState(u.pinia),{menus:_}=u.storeToRefs(m),p=l.ref([]),c=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await c(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(_.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRn2png0.cjs");const n=require("./index.vue_vue_type_style_index_1_lang-D1arceZL.cjs"),o=require("./index-d6tSWKtY.cjs"),u=require("./index-PJjwDyTM.cjs"),c=require("./index-ClxC8lez.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=o.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.getActivePageStructureId(r.value)}),(_,l)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as N, resolveComponent as Z, createBlock as j, openBlock as b, createCommentVNode as e0, createSlots as B2, withCtx as I, renderSlot as f0, defineComponent as w2, onMounted as ae, createVNode as Y, createElementVNode as s0, createElementBlock as V, Fragment as S0, renderList as D0, createTextVNode as ie, toDisplayString as F0, reactive as l1, h as Ve, Transition as Nr, withDirectives as at, vShow as $t, createApp as Gr, toRefs as ko, nextTick as _2, isRef as $r, computed as t0, watch as m2, onBeforeUnmount as Sn, normalizeStyle as X0, normalizeClass as q3, resolveDynamicComponent as Wt, normalizeProps as Wr, guardReactiveProps as jr, mergeProps as r1, withModifiers as Oo, inject as Ur, watchEffect as we, onUnmounted as a1, unref as et, resolveDirective as Fr } from "vue";
|
|
2
2
|
import { S as ct } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { h as qr, d as Vt, S as ps, r as Yr, H as Kr, P as Xr, x as Qr, Q as gs, j as ms } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { h as qr, d as Vt, S as ps, r as Yr, H as Kr, P as Xr, x as Qr, Q as gs, j as ms } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-jo10pZ20.js";
|
|
4
4
|
import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as ne, s as Cn } from "./index-
|
|
6
|
-
import { a as kn, u as Do, aI as Mo } from "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
-
import { bx as To, by as zo, c2 as Jr, c3 as vs, bm as Zr, aO as Z1, K as ea, O as Po, ap as _t, aN as ws, N as Ao, c4 as ta, p as e3, s as t3, c as q2, E as On, a as Vo, c5 as ia, aC as na, ak as sa, c6 as oa, b as la, aK as ra } from "./index-
|
|
8
|
-
import { b as Eo, T as Y3, a as aa, d as ca } from "./threeViewerHost-
|
|
9
|
-
import { s as ha } from "./index-
|
|
5
|
+
import { _ as ne, s as Cn } from "./index-6-Qtq-tt.js";
|
|
6
|
+
import { a as kn, u as Do, aI as Mo } from "./index.vue_vue_type_style_index_1_lang-BIlRcspG.js";
|
|
7
|
+
import { bx as To, by as zo, c2 as Jr, c3 as vs, bm as Zr, aO as Z1, K as ea, O as Po, ap as _t, aN as ws, N as Ao, c4 as ta, p as e3, s as t3, c as q2, E as On, a as Vo, c5 as ia, aC as na, ak as sa, c6 as oa, b as la, aK as ra } from "./index-CZEK1c2_.js";
|
|
8
|
+
import { b as Eo, T as Y3, a as aa, d as ca } from "./threeViewerHost-K7PwuJuM.js";
|
|
9
|
+
import { s as ha } from "./index-CPL-qpAH.js";
|
|
10
10
|
var da = "[object Date]";
|
|
11
11
|
function ua(n) {
|
|
12
12
|
return To(n) && zo(n) == da;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
3
|
-
import { u as d, at as p, ar as l } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
-
import { s as g, u as h } from "./index-
|
|
2
|
+
import { s as m } from "./index-BGXWbLdb.js";
|
|
3
|
+
import { u as d, at as p, ar as l } from "./index.vue_vue_type_style_index_1_lang-BIlRcspG.js";
|
|
4
|
+
import { s as g, u as h } from "./index-CZEK1c2_.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(f) {
|