ss-component-new 1.2.278 → 1.2.280
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/icons/svg/CAD/350/256/276/350/256/241.svg +1 -0
- package/dist/icons/svg/CAM/350/247/204/345/210/222.svg +1 -0
- package/dist/icons/svg//344/270/252/344/272/272/344/270/255/345/277/203.svg +1 -1
- package/dist/icons/svg//344/272/272/345/267/245/346/231/272/350/203/275/344/274/230/345/214/226.svg +1 -0
- package/dist/icons/svg//344/272/272/345/267/245/346/231/272/350/203/275/347/256/227/346/263/225.svg +1 -0
- package/dist/icons/svg//345/212/240/345/267/245/350/247/204/345/210/222/347/256/227/346/263/225.svg +1 -0
- package/dist/icons/svg//346/226/271/346/263/225/347/256/241/347/220/206.svg +1 -1
- package/dist/icons/svg//346/243/200/346/265/213/347/256/227/346/263/225.svg +1 -0
- package/dist/icons/svg//346/266/241/350/275/256.svg +1 -0
- package/dist/icons/svg//347/224/250/346/210/267/347/256/241/347/220/206.svg +1 -1
- package/dist/icons/svg//347/263/273/347/273/237/347/256/241/347/220/206.svg +1 -1
- package/dist/icons/svg//350/201/214/344/275/215/347/256/241/347/220/206.svg +1 -1
- package/dist/icons/svg//350/247/222/350/211/262/347/256/241/347/220/206.svg +1 -1
- package/dist/icons/svg//350/256/276/350/256/241/345/212/240/345/267/245/344/273/273/345/212/241/347/256/241/347/220/206.svg +1 -0
- package/dist/icons/svg//350/256/276/350/256/241/345/212/240/345/267/245/350/277/207/347/250/213/347/256/241/347/220/206.svg +1 -0
- package/dist/icons/svg//350/256/276/350/256/241/347/256/227/346/263/225.svg +1 -0
- package/dist/icons/svg//350/275/250/350/277/271/350/247/204/345/210/222/347/256/227/346/263/225.svg +1 -0
- package/dist/icons/svg//351/203/250/351/227/250/347/256/241/347/220/206.svg +1 -1
- package/dist/icons/svg//351/253/230/347/253/257/346/250/241/345/205/267.svg +1 -0
- package/dist/{index-Bvjt8yg5.js → index-8tZwJ42x.js} +1 -1
- package/dist/{index-Do5QNCPX.js → index-9b9gAo1D.js} +1 -1
- package/dist/{index-Bwwr0bEF.cjs → index-BBww9zQV.cjs} +1 -1
- package/dist/{index-CS1P7jZY.js → index-BK-jgnBj.js} +4 -4
- package/dist/{index-DAoTkm3P.js → index-BKTo6gyW.js} +1 -1
- package/dist/{index-kyT3BMkS.cjs → index-BYvM3nYU.cjs} +1 -1
- package/dist/{index-Ch8nagnn.cjs → index-BiNu9mnW.cjs} +1 -1
- package/dist/{index-BTHx-tHK.js → index-Biw-0sEm.js} +1 -1
- package/dist/{index-CeRJXgGc.js → index-Bl_ELmHW.js} +1 -1
- package/dist/{index-DmM7lsJq.cjs → index-BsQQN8nm.cjs} +1 -1
- package/dist/{index-C5FroPC_.cjs → index-BvqHrdk8.cjs} +1 -1
- package/dist/{index-sYR21g6y.cjs → index-C-5x75ui.cjs} +1 -1
- package/dist/{index-20Dckesy.js → index-C2P9-vr2.js} +1 -1
- package/dist/index-CNUwqfRB.cjs +15 -0
- package/dist/{index-ChRY-dSe.cjs → index-CO5AEMPo.cjs} +1 -1
- package/dist/{index-BHUNbxWM.cjs → index-CTGuPK9c.cjs} +1 -1
- package/dist/{index-BlZQXSNy.js → index-CZ36_DLP.js} +3214 -3173
- package/dist/{index-C70QdasU.cjs → index-CrxuFKyK.cjs} +1 -1
- package/dist/{index-CHFYpgNd.js → index-D9gY_sDo.js} +2 -2
- package/dist/{index-D7VqueKi.cjs → index-DEBI34qT.cjs} +1 -1
- package/dist/{index-CcFCeids.cjs → index-DL23uHCP.cjs} +1 -1
- package/dist/{index-DQ-gIuYX.js → index-DNRP88WA.js} +3 -3
- package/dist/{index-QUDjtiq8.js → index-DROTSKUG.js} +2 -2
- package/dist/{index-DbAyxNqO.cjs → index-DTD9ZSPM.cjs} +1 -1
- package/dist/{index-D5w9TAnl.js → index-DTeztFlt.js} +2 -2
- package/dist/{index-k5XvVM7s.cjs → index-DUUUkDO4.cjs} +1 -1
- package/dist/{index-DJM9-UEH.js → index-DcE82b8p.js} +1 -1
- package/dist/{index-DrGZAtmq.js → index-DcX4eih3.js} +1 -1
- package/dist/{index-CHJQPaPf.cjs → index-DfaAfs0w.cjs} +1 -1
- package/dist/{index-d_gTUDkt.js → index-DlJdmipJ.js} +2 -2
- package/dist/{index-CpZjg7P4.js → index-DxMRKa9H.js} +889 -873
- package/dist/{index-xVAVG814.js → index-GJ2_vvK2.js} +3 -3
- package/dist/{index-K3V6PB7z.cjs → index-OZrWyonH.cjs} +1 -1
- package/dist/{index-DdakDd-G.js → index-R4HQzqal.js} +5 -5
- package/dist/{index-DzzNQZFH.cjs → index-gKlByX3H.cjs} +1 -1
- package/dist/{index-CHxAfRRV.cjs → index-t3DVUYEf.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CttckcIa.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BUx0f8dO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-ULFaAlar.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-COjWzgpC.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-GIC8Ye0e.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BSx073QX.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BScVgjbq.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CyJEUcuQ.js} +2 -2
- package/dist/index.vue_vue_type_style_index_1_lang-DlqfF02N.js +2759 -0
- package/dist/index.vue_vue_type_style_index_1_lang-jYJAxDNR.cjs +4 -0
- package/dist/{main-CJ9gO6bA.cjs → main-Cxp-Y3uQ.cjs} +1 -1
- package/dist/{main-HPuTfifP.js → main-Dbda1dVK.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{svgIcon-CUM54R6L.cjs → svgIcon-BH_8oaav.cjs} +1 -1
- package/dist/{svgIcon-D-_fXUBL.js → svgIcon-OBhwktPM.js} +7 -7
- package/dist/{threeModel-Dgm_UybN.js → threeModel-CmvWjV7I.js} +3 -3
- package/dist/{threeModel-CZv6CFfd.cjs → threeModel-H-ShVzaG.cjs} +1 -1
- package/dist/{threePreview-CsQVnCLb.cjs → threePreview-Dm-kCn5a.cjs} +1 -1
- package/dist/{threePreview-Bf6eiws9.js → threePreview-Qa5RdQ1s.js} +218 -225
- package/dist/{threeSceneView-CycUfNuA.cjs → threeSceneView-C6QTFJxS.cjs} +1 -1
- package/dist/{threeSceneView-8DBEoyAl.js → threeSceneView-DMjGXf8R.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-Bz_QPOuV.js → threeSceneViewForCPMPIP-BRoazyQ4.js} +260 -280
- package/dist/threeSceneViewForCPMPIP-Dw08VnB-.cjs +1 -0
- package/dist/{threeTrackPathView-B3xpjTuy.js → threeTrackPathView-D69BzUZX.js} +227 -241
- package/dist/threeTrackPathView-vrakdsct.cjs +1 -0
- package/dist/{threeViewerHost-2YWUBIKK.js → threeViewerHost-D7Br_pYC.js} +1 -1
- package/dist/{threeViewerHost-DoCCsbXi.cjs → threeViewerHost-DPjYjfnl.cjs} +1 -1
- package/dist/{workpieceTreePanel-Bcy2i1U2.js → workpieceTreePanel-BT-od6LR.js} +2 -2
- package/dist/{workpieceTreePanel-CcokQ2y5.cjs → workpieceTreePanel-CqaUFosj.cjs} +1 -1
- package/package.json +1 -1
- package/public/icons/svg/CAD/350/256/276/350/256/241.svg +1 -0
- package/public/icons/svg/CAM/350/247/204/345/210/222.svg +1 -0
- package/public/icons/svg//344/270/252/344/272/272/344/270/255/345/277/203.svg +1 -1
- package/public/icons/svg//344/272/272/345/267/245/346/231/272/350/203/275/344/274/230/345/214/226.svg +1 -0
- package/public/icons/svg//344/272/272/345/267/245/346/231/272/350/203/275/347/256/227/346/263/225.svg +1 -0
- package/public/icons/svg//345/212/240/345/267/245/350/247/204/345/210/222/347/256/227/346/263/225.svg +1 -0
- package/public/icons/svg//346/226/271/346/263/225/347/256/241/347/220/206.svg +1 -1
- package/public/icons/svg//346/243/200/346/265/213/347/256/227/346/263/225.svg +1 -0
- package/public/icons/svg//346/266/241/350/275/256.svg +1 -0
- package/public/icons/svg//347/224/250/346/210/267/347/256/241/347/220/206.svg +1 -1
- package/public/icons/svg//347/263/273/347/273/237/347/256/241/347/220/206.svg +1 -1
- package/public/icons/svg//350/201/214/344/275/215/347/256/241/347/220/206.svg +1 -1
- package/public/icons/svg//350/247/222/350/211/262/347/256/241/347/220/206.svg +1 -1
- package/public/icons/svg//350/256/276/350/256/241/345/212/240/345/267/245/344/273/273/345/212/241/347/256/241/347/220/206.svg +1 -0
- package/public/icons/svg//350/256/276/350/256/241/345/212/240/345/267/245/350/277/207/347/250/213/347/256/241/347/220/206.svg +1 -0
- package/public/icons/svg//350/256/276/350/256/241/347/256/227/346/263/225.svg +1 -0
- package/public/icons/svg//350/275/250/350/277/271/350/247/204/345/210/222/347/256/227/346/263/225.svg +1 -0
- package/public/icons/svg//351/203/250/351/227/250/347/256/241/347/220/206.svg +1 -1
- package/public/icons/svg//351/253/230/347/253/257/346/250/241/345/205/267.svg +1 -0
- package/dist/index-BiUFIyHm.cjs +0 -15
- package/dist/index.vue_vue_type_style_index_1_lang-CDnxj8hz.cjs +0 -4
- package/dist/index.vue_vue_type_style_index_1_lang-Dm6k_Fep.js +0 -2759
- package/dist/threeSceneViewForCPMPIP-Bb3q4rjN.cjs +0 -1
- package/dist/threeTrackPathView-aQguB9Zo.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768292401430" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4560" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M64.3 973.1c0.1-2.1-0.1-4.2 0.4-6.2 12.9-44.7 25.9-89.3 38.9-133.9 0.3-1.1 0.9-2.2 1.6-3.9 73.3 15.9 145.5 6.9 219-8.8-1 5.4-1.8 9.9-2.8 14.4-10.3 43.5-20.6 87-30.9 130.4-0.6 2.6-0.6 5.3-0.8 7.9-75.1 0.1-150.2 0.1-225.4 0.1zM688.2 468h-90.3v89.3H559c-13.2 0-26.5-0.5-39.6 0.2-7.4 0.4-10.3-1.9-12.1-9.2-19.2-76-38.9-151.8-58.4-227.7-0.7-2.9-1.6-5.7-3.9-8.7-3.6 14.9-7.3 29.7-10.8 44.6-15.1 64-30.3 127.9-45.1 192-1.6 7.1-4.5 9-11.4 8.9-51.7-0.3-103.3-0.1-155-0.1h-11.1v91.5h30.8v29.7h259.7c0.2 0.8 0.4 1.6 0.7 2.4-14.5 7.4-28.9 15-43.6 22.1-60.8 29.4-123.8 52.6-190.7 63.4-43.9 7.1-87.8 8.8-131.4-2.5-2.9-0.7-5.8-1.6-8.6-2.5-0.8-0.3-1.5-0.9-3.2-1.8 2.1-7.5 4.1-15.3 6.3-23C197 511.1 262.4 285.7 327.5 60.2c2-7 4.6-9.4 12.1-9.4 92.5 0.3 185.1 0.3 277.6 0 7.2 0 10.3 1.8 12.2 9.2 19 73.8 38.5 147.6 57.8 221.3 0.9 3.5 1.7 7.1 1.7 10.6 0.1 56.2 0.1 112.4 0 168.5-0.1 2.2-0.5 4.3-0.7 7.6z" fill="#606266" p-id="4561"></path><path d="M627.1 648.5H272.5v-29.4h-30.8v-31.5h386.1v-89.2h90.8V319.8h61.2v178.4h89.1V587h90.6v61.3h-90.2v88.1h-62.8c20.4 78 40.5 154.5 60.9 232.2-3.9 0.2-6.7 0.6-9.5 0.6-77.8 0-155.6-0.1-233.5 0.2-7.2 0-9.6-2.5-11.3-9.1-18.5-73-37.3-146-56.3-219-1.5-5.8-0.1-8.4 5-11.2 19.6-10.5 38.7-21.9 58.2-32.4 5.6-3.1 7.2-6.9 7-12.9-0.2-11.6 0.1-23.3 0.1-36.3z m178.7 26.6V558.5H691.3v116.6h114.5z" fill="#606266" p-id="4562"></path><path d="M779.3 648.3h-60.9v-60.4h60.9v60.4z" fill="#606266" p-id="4563"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768292404847" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4711" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M849.750586 433.023369l-118.062672-61.021156a298.473046 298.473046 0 0 1-102.144109 113.419757l-25.867664-66.327343a232.145703 232.145703 0 1 0-275.258476 0L171.221861 843.589625l124.032132 46.429141 86.88882-230.819156a431.791007 431.791007 0 0 0 83.572453 8.622555 432.45428 432.45428 0 0 0 90.205188-10.612375L701.840609 1024l123.368859-49.082234-145.256882-364.80039a429.801186 429.801186 0 0 0 169.798-177.094007zM465.715266 137.203416a99.491015 99.491015 0 1 1-99.491015 99.491016A99.491015 99.491015 0 0 1 465.715266 137.203416z m0 397.964062a305.10578 305.10578 0 0 1-35.816765 0l24.541117-66.327344h25.867664L502.858579 535.167478a302.452687 302.452687 0 0 1-37.143313 0z" fill="#606266" p-id="4712"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768285040520" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3943" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M929.946 780.356c-64.017-42.769-248.474-113.8-248.474-113.8l-112.009 233.83-29.064-63.13 28.399-56.917L512 723.44l-56.798 56.883 28.4 56.917-29.953 65.024L340.736 666.54s-184.457 71.031-248.457 113.8C28.28 823.091 0 1024 0 1024h1024s-18.756-193.348-94.054-243.644z m-418.85 241.852zM309.503 452.693c13.38 109.654 108.476 223.164 194.509 223.164 99.157 0 193.28-119.33 207.957-223.164 5.615-3.96 14.78-13.448 18.176-35.106 0 0 21.129-75.332-6.929-67.123 9.728-29.013 42.086-141.875-20.65-212.122 0 0-29.321-39.748-100.728-60.893l-33.434-11.401c-13.039-9.506-39.543-31.898-39.543-56.644 0 0-16.52 7.629-26.3 21.64 3.84-11.383 10.291-22.272 20.65-31.044 0 0-10.854 5.65-20.923 17.698-7.765 4.335-25.583 16.299-31.54 37.956l0.445-1.553s-3.67-4.761-13.62-6.229c-9.813-1.4-27.033 5.171-27.033 5.171S326.45 93.474 296.294 186.385c0 0-17.834 42.138 5.598 165.564-33.348-15.65-10.564 65.655-10.564 65.655 3.465 21.64 12.63 31.13 18.176 35.09zM499.132 21.794c-5.12 6.963-9.455 15.719-11.52 26.385l-3.72-1.314c2.832-9.182 7.73-17.613 15.24-25.07z" fill="#606266" p-id="3944"></path></svg>
|
package/dist/icons/svg//344/272/272/345/267/245/346/231/272/350/203/275/344/274/230/345/214/226.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768292394866" class="icon" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4414" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.390625" height="200"><path d="M456.845951 528.788017h49.900569l-24.950285-85.579476z m0 0" fill="#606266" p-id="4415"></path><path d="M956.40263 579.541055c-50.403733-20.766954-108.377799-0.486531-134.845893 47.180988l-92.232885-37.986808a230.796371 230.796371 0 0 0-0.307721-153.331975l92.060313-38.34235c27.800855 49.738393 89.567364 69.164268 140.833962 44.303389 51.272835-24.867117 74.258285-85.400666 52.416389-138.029133-21.846053-52.630546-80.940803-79.092403-134.748171-60.338106-53.815685 18.754297-83.662463 76.214803-68.068535 131.022262l-92.101896 38.358984a232.328734 232.328734 0 0 0-108.629382-108.182356l37.993046-92.255757c52.476686 14.780965 107.712458-12.094651 128.462779-62.5067 22.001993-53.376976-2.110378-114.59042-54.593302-138.640416-52.485003-24.039599-114.584183-2.322456-140.646834 49.193645-26.054335 51.509863-6.757369 114.413689 43.710819 142.441175l-37.993046 92.241203a230.7735 230.7735 0 0 0-153.323658 0.30772l-38.3673-92.085263c49.817402-27.906893 69.222486-89.810629 44.255567-141.156236C415.309964 10.385556 354.630872-12.58326 301.919237 9.362594c-52.703318 21.954171-79.146461 81.192385-60.296521 135.091238 18.858257 53.888457 76.466385 83.728997 131.363249 68.026951l38.375617 92.101897a232.345368 232.345368 0 0 0-108.192752 108.629381l-92.253677-37.993046a107.462955 107.462955 0 0 0-32.15468-109.523433 107.431768 107.431768 0 0 0-112.594397-18.777169C22.683967 265.013607-3.946303 309.321155 0.471976 356.215215c4.424517 46.887823 38.870464 85.433933 84.970274 95.091772 46.099809 9.647443 93.108225-11.843068 115.971003-53.019355l92.232885 37.986809a230.823401 230.823401 0 0 0 0.307721 153.321579l-92.087343 38.3673c-27.840359-49.646908-89.565285-68.968825-140.740398-44.060124-51.177192 24.908701-74.056603 85.400666-52.166887 137.941808s80.94912 78.894879 134.6754 60.101077c53.72628-18.802119 83.469098-76.231437 67.825269-130.955727l92.108135-38.361063a232.272596 232.272596 0 0 0 108.63146 108.192751l-38.001362 92.253678c-55.562205-15.625116-113.544587 15.43383-131.321666 70.353565-17.77084 54.911418 11.011392 114.053989 65.201332 133.943524 54.179543 19.891614 114.397055-6.578558 136.374098-59.947217 20.685865-50.41205 0.413759-108.327899-47.197622-134.837576l37.995125-92.239124a230.7735 230.7735 0 0 0 153.323658-0.309799l38.3673 92.087343c-49.648987 27.832043-68.987537 89.556968-44.09339 140.740397 24.902463 51.185509 85.392349 74.073237 137.941807 52.200154 52.541141-21.879321 78.911513-80.934565 60.134345-134.669162-18.785485-53.72628-76.208565-83.491969-130.941174-67.864774l-38.375617-92.108134a232.272596 232.272596 0 0 0 108.190672-108.631461l92.257836 38.001363c-15.635512 55.562205 15.429672 113.561221 70.34317 131.329982 54.919735 17.779157 114.070623-11.003076 133.968474-65.193015 19.891614-54.18786-6.586875-114.41161-59.963851-136.390731z m-424.46256 11.373171c-4.241548 0-7.732509-1.497017-8.982102-5.493221l-10.225459-35.427325H451.101148l-10.225459 35.429404c-1.251673 3.994125-4.742633 5.489063-9.233684 5.489063-7.229345 0-16.46303-4.491051-16.46303-10.971888-0.041584-0.763063 0.041584-1.517809 0.249503-2.249684l49.651067-161.673686c1.989785-5.985989 9.225368-8.982102 16.714611-8.982103 7.487165 0 14.968092 2.996113 16.966194 8.982103l49.397405 161.673686c0.28277 0.715241 0.453264 1.476225 0.503164 2.249684 0 6.237571-9.235764 10.971888-16.722928 10.971888z m62.878876-8.732599c0 5.734407-6.489153 8.7326-13.223651 8.732599-6.487074 0-13.221572-2.989876-13.221572-8.732599v-165.166727c0-5.985989 6.734498-8.478938 13.223651-8.478938 6.732418 0 13.221572 2.495028 13.221572 8.478938z m0 0" fill="#606266" p-id="4416"></path></svg>
|
package/dist/icons/svg//344/272/272/345/267/245/346/231/272/350/203/275/347/256/227/346/263/225.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768284593939" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4388" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M543.808 128c159.36 0 288.213333 70.698667 344.618667 189.141333 60.373333 126.570667 25.173333 282.517333-96.490667 429.184v115.050667a29.866667 29.866667 0 0 1-14.933333 27.008c-4.522667 2.624-74.24 4.458667-149.034667 5.674667l-16.085333 0.234666c-72.533333 1.088-145.792 1.6-165.888 1.706667H256.853333c-16.938667 0-30.634667-13.418667-30.634666-30.016v-187.776c-36.586667-4.693333-90.24-17.002667-110.848-49.792-10.666667-16.874667-11.562667-37.013333-2.645334-56.682667 22.613333-49.92 60.8-85.845333 79.658667-101.482666C200.746667 404.608 253.269333 128 543.786667 128z m-83.84 229.333333h-0.213333a29.013333 29.013333 0 0 0-27.306667 19.072l-89.6 246.954667c-5.034667 14.826667 2.816 30.933333 17.685333 36.266667 14.848 5.312 31.274667-2.133333 36.949334-16.725334l17.408-48.128h86.229333l16.384 47.637334a29.12 29.12 0 0 0 36.650667 17.344c14.933333-5.056 23.082667-20.992 18.325333-35.904L487.210667 376.746667v0.064a29.013333 29.013333 0 0 0-27.264-19.498667z m172.330667-16c-16.042667 0-29.056 12.885333-29.056 28.778667v254.442667c0 15.893333 13.013333 28.778667 29.056 28.778666 16.021333 0 29.034667-12.885333 29.034666-28.778666V370.112c0-15.893333-13.013333-28.778667-29.034666-28.778667z m-173.226667 131.733334l22.122667 64.213333h-45.44l23.338666-64.213333z" fill="#606266" p-id="4389"></path></svg>
|
package/dist/icons/svg//345/212/240/345/267/245/350/247/204/345/210/222/347/256/227/346/263/225.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768284483067" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4094" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M299.6 121.5l150.3 150.3-37.6 140.4-140.4 37.6-150.4-150.2c-22.4 84-0.9 177.2 65 243s159.1 87.4 243 65L696 874.1c49.2 49.2 128.9 49.2 178 0 49.2-49.2 49.2-128.9 0-178L607.6 429.6c22.4-84 0.9-177.2-65-243s-159.1-87.4-243-65.1z m515.2 693.3c-16.4 16.4-43 16.4-59.3 0-16.4-16.4-16.4-43 0-59.3 16.4-16.4 43-16.4 59.3 0 16.4 16.3 16.4 42.9 0 59.3z" fill="#606266" p-id="4095"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768281979557" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2527" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M853.504 170.496H768v170.496H256V170.496H170.496c-23.552 0-42.496 18.944-42.496 42.496V896c0 23.552 18.944 42.496 42.496 42.496h683.008c23.552 0 42.496-18.944 42.496-42.496V212.992c0-23.552-18.944-42.496-42.496-42.496zM512 766.976H256v-83.456h256v83.456z m256-192H256V491.52h512v83.456z" fill="#AAAAAA" p-id="2528"></path><path d="M341.504 85.504h341.504V256H341.504z" fill="#72B02D" p-id="2529"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768284497307" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4239" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M829.809778 113.777778H190.151111A76.373333 76.373333 0 0 0 113.777778 190.151111v496.455111h792.419555V190.151111A76.373333 76.373333 0 0 0 829.809778 113.777778zM809.528889 415.843556c0 15.786667-12.8 28.615111-28.586667 28.643555h-91.022222a10.353778 10.353778 0 0 1-9.415111-6.030222l-8.035556-17.393778a9.543111 9.543111 0 0 0-17.066666-0.512l-84.650667 157.866667a19.100444 19.100444 0 0 1-33.479111 0.312889L402.773333 338.830222a9.543111 9.543111 0 0 0-17.251555 1.28l-34.972445 92.060445a19.100444 19.100444 0 0 1-17.848889 12.316444H239.075556a28.643556 28.643556 0 1 1 0-57.287111h54.044444c7.936 0 15.032889-4.906667 17.848889-12.316444l57.187555-150.613334a19.100444 19.100444 0 0 1 34.503112-2.574222l141.980444 253.070222a9.543111 9.543111 0 0 0 16.739556-0.156444l88.860444-165.575111a19.100444 19.100444 0 0 1 34.133333 1.024l30.464 66.033777c3.128889 6.769778 9.884444 11.093333 17.336889 11.107556h48.768c15.815111 0 28.643556 12.828444 28.643556 28.643556h-0.056889zM113.777778 719.274667v114.574222A76.373333 76.373333 0 0 0 190.151111 910.222222h639.658667a76.373333 76.373333 0 0 0 76.373333-76.373333v-114.574222H113.777778zM573.297778 810.666667a28.728889 28.728889 0 0 1-28.643556 28.643555H239.075556a28.643556 28.643556 0 1 1 0-57.287111h305.521777A28.728889 28.728889 0 0 1 573.297778 810.666667z m236.231111 0a28.728889 28.728889 0 0 1-28.586667 28.615111h-114.616889a28.643556 28.643556 0 1 1 0-57.287111h114.616889A28.728889 28.728889 0 0 1 809.528889 810.666667z" fill="#606266" p-id="4240"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768292391561" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4269" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M510.707071 168.727273C321.163636 168.727273 167.434343 322.456566 167.434343 512S321.163636 855.272727 510.707071 855.272727 853.979798 701.543434 853.979798 512 700.250505 168.727273 510.707071 168.727273zM789.333333 484.460606c-60.379798 25.6-160.323232 61.155556-278.755556 27.668687 68.137374 82.618182 137.69697 144.161616 282.246465 151.272727-64.517172 69.042424-118.949495 76.282828-118.949495 76.282828-52.363636-39.434343-133.042424-108.218182-163.426263-227.555556-37.494949 100.331313-55.983838 191.353535 10.084848 320.129293-92.056566-21.333333-125.414141-64.905051-125.414141-64.905051 8.016162-65.163636 27.280808-169.373737 115.329293-255.224242-105.632323 17.713131-193.680808 47.191919-272.161616 168.856566-27.539394-90.375758-6.593939-141.058586-6.593939-141.058586 60.379798-25.6 160.323232-61.155556 278.755556-27.668687-68.137374-82.618182-137.69697-144.161616-282.246465-151.272727 64.517172-69.042424 118.949495-76.282828 118.949495-76.282828 52.363636 39.434343 133.042424 108.218182 163.426263 227.555556 37.494949-100.331313 55.983838-191.353535-10.084848-320.129293 92.056566 21.333333 125.414141 64.905051 125.414141 64.905051-8.016162 65.163636-27.280808 169.373737-115.329293 255.224242 105.632323-17.713131 193.680808-47.191919 272.161616-168.856566C810.278788 433.777778 789.333333 484.460606 789.333333 484.460606z" fill="#606266" p-id="4270"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768285046718" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4241" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M539.01827 1012.939119l-30.69467-29.058688 11.868872-40.517565c2.045978-6.956925 0.409996-15.960829-4.092956-23.737745a32.945646 32.945646 0 0 0-18.825798-15.551833l-41.336556-10.23189-9.821894-41.335556c-2.864969-12.687864-5.319943-24.556736-6.54893-36.834604l-1.227987-11.868873v-2.454973a271.80508 271.80508 0 0 1-1.226987-25.783723c0-8.594908 0.408996-17.189815 1.226987-27.830701l1.227987-12.277868c1.636982-11.869872 3.68396-24.146741 6.54893-36.834605l9.821894-41.335556 41.336556-10.23189c7.366921-1.636982 14.323846-7.366921 18.825798-15.551833 4.501952-7.776916 6.139934-16.77982 4.092956-24.14674l-11.868872-40.517565 30.69467-29.058688a330.44345 330.44345 0 0 1 73.259213-52.386437h0.409995l4.091956-2.045978s0.409996 0 0.409996-0.409996l2.454974-1.226987c7.775916-4.092956 15.961829-7.366921 26.193718-11.459877 8.593908-3.273965 17.597811-6.54793 26.601715-9.003903l20.872775-6.138934c2.864969-8.594908 5.729938-17.598811 8.594908-26.602714 4.501952-1.226987 9.412899-3.273965 13.914851-6.956925 4.092956-3.273965 9.003903-7.775916 13.505854-14.324846 4.501952-6.138934 9.003903-14.733842 12.687864-26.601715 3.273965-11.049881 4.501952-21.691767 3.273965-30.69567-0.818991-9.412899-2.864969-17.189815-5.729938-23.737745-2.864969-7.775916-6.957925-14.733842-12.277869-21.690767 0.409996-25.783723-0.818991-51.15945-4.092956-77.352169-2.864969-21.281771-7.775916-44.609521-14.733841-68.757261-6.956925-24.555736-17.597811-46.656499-31.103666-66.301288-12.687864-18.007807-27.01171-33.559639-42.973539-45.019517-16.369824-12.277868-32.332653-21.281771-48.293481-28.239696-16.370824-6.54793-32.741648-11.049881-49.521468-13.914851C519.372481 1.227987 503.821648 0 487.859819 0c-15.960829 0-31.513661 1.227987-48.293481 4.092956-16.77982 2.864969-33.149644 7.366921-49.521468 13.914851-16.369824 6.957925-32.331653 16.369824-48.293481 28.239696-15.961829 11.868873-30.285675 27.420705-42.973539 45.429512a219.777639 219.777639 0 0 0-31.103665 66.300288c-6.957925 24.146741-12.277868 47.47549-14.733842 68.757261-3.68296 26.192719-4.910947 51.567446-4.501952 77.352169-5.319943 6.956925-9.412899 13.914851-12.277868 22.099763-2.455974 6.139934-4.501952 14.324846-5.319943 23.737745-1.228987 9.003903 0 19.644789 3.272965 30.69567 3.68396 11.459877 7.776916 20.46278 12.687864 26.601715 4.501952 6.54893 9.412899 11.049881 13.505855 14.324846 4.501952 3.68296 9.412899 5.729938 13.91485 6.956925 3.273965 10.640886 6.957925 21.282771 10.23189 31.513661 3.273965 8.185912 6.957925 17.189815 11.049882 25.784723 4.092956 9.003903 9.003903 15.551833 14.324846 20.053785 11.459877 9.821894 21.690767 18.825798 30.69467 27.420705 9.413899 9.003903 14.324846 21.281771 15.961829 37.652596 0.409996 10.23189 0.817991 19.644789 0.817991 28.239697 0 9.003903-1.226987 17.189815-4.501952 25.783723-2.863969 7.775916-8.184912 16.370824-16.369824 24.14674-7.366921 8.185912-18.826798 16.77982-33.151644 25.783723-17.188815 11.459877-37.652596 20.054785-61.38934 26.602715-23.328749 6.139934-125.64565 40.92656-147.746413 48.703476-21.690767 6.956925-40.92656 17.189815-57.297385 30.285675-16.369824 12.686864-26.602714 31.513661-30.69467 56.888389-6.54893 43.382534-7.776916 50.339459-4.092956 78.16916 3.273965 27.421705 9.003903 44.201525 16.369824 49.931464 6.54993 4.501952 23.738745 10.23189 53.205429 16.77982 29.058688 6.54893 206.68078 40.108569 416.225528 40.92656 20.872776 0 41.336556-0.408996 61.799336-1.226987-3.68296-2.864969-7.365921-5.729938-10.639885-9.003903z" fill="#606266" p-id="4242"></path><path d="M1023.183069 775.563669c0-6.957925-0.409996-13.505855-1.227987-20.46378l-1.227987-11.459877c-1.226987-9.821894-2.864969-19.644789-5.319943-29.057688a99.861927 99.861927 0 0 1-62.209331-48.293481c-14.732842-25.374727-17.597811-54.02342-10.639886-78.170161-6.957925-6.957925-14.734842-13.096859-22.509758-18.826797a246.338354 246.338354 0 0 0-59.754358-33.969636c-0.408996-0.408996-1.226987-0.408996-1.636983-0.817991-6.956925-2.864969-13.505855-4.910947-20.872776-7.366921-17.597811 18.007807-43.381534 29.876679-73.259213 29.876679-29.466683 0-55.659402-11.868873-73.259213-29.876679a211.707726 211.707726 0 0 0-20.871775 7.366921c-0.409996 0.409996-1.227987 0.409996-1.636983 0.818991a239.462428 239.462428 0 0 0-59.753358 33.969636c-7.775916 5.728938-15.142837 12.276868-22.509758 18.825797 6.957925 24.146741 4.092956 52.386437-10.640886 78.169161-14.733842 25.375727-38.061591 42.155547-62.209332 48.294481-2.454974 9.412899-4.091956 19.235793-5.319942 29.057688l-1.227987 11.459877c-0.408996 6.54793-0.817991 13.505855-0.817992 20.46378s0.408996 13.505855 0.817992 20.46278l1.227987 11.459877c1.227987 9.821894 2.864969 19.644789 5.319942 29.057688 24.556736 6.139934 47.47549 22.509758 62.209332 48.293481 14.733842 25.374727 17.598811 54.02342 10.640886 78.17016 6.957925 6.957925 14.733842 13.096859 22.509758 18.826798 12.277868 9.412899 25.374727 17.189815 38.880582 24.555736h0.409996c6.54793 3.273965 13.504855 6.54893 20.46278 9.413899 0.409996 0.408996 1.227987 0.408996 1.636983 0.817991 6.957925 2.864969 13.505855 4.910947 20.872775 7.366921 17.598811-18.007807 43.382534-29.876679 73.259213-29.876679 29.466683 0 55.659402 11.868873 73.259213 29.876679a211.707726 211.707726 0 0 0 20.871776-7.366921c0.409996-0.409996 1.227987-0.409996 1.636983-0.817991 6.957925-2.864969 13.915851-6.139934 20.46378-9.413899h0.409995c13.914851-6.956925 26.601714-15.142837 38.879583-24.555736 7.775916-5.729938 15.142837-12.277868 22.509758-18.826798-6.956925-24.146741-4.091956-52.386437 10.640886-78.16916 14.733842-25.375727 38.062591-42.155547 62.209331-48.294481 2.454974-9.412899 4.092956-19.235793 5.319943-29.057688l1.227987-11.459877c0.818991-6.956925 1.227987-13.505855 1.227987-20.46278z m-258.248226 94.94898c-52.386437 0-94.94998-42.563543-94.94998-94.94898 0-52.386437 42.563543-94.95098 94.94998-94.95098 52.386437 0 94.94998 42.564543 94.94998 94.95098 0 52.385437-42.563543 94.94898-94.94998 94.94898z" fill="#606266" p-id="4243"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768281985308" class="icon" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2673" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.390625" height="200"><path d="M400.896 67.072H140.8c-24.064 0-46.592 11.264-59.392 29.696-9.216 12.8-14.848 27.648-14.848 44.544v259.584c0 40.96 33.28 74.24 74.24 74.24h259.584c40.96 0 74.24-33.28 74.24-74.24V141.312c0.512-40.96-33.28-74.24-73.728-74.24z" fill="#AAAAAA" p-id="2674"></path><path d="M939.008 241.664l-154.112-155.648c-26.112-26.112-70.656-26.112-96.256 0l-154.112 154.112c-12.8 12.8-20.48 29.696-20.48 48.128s7.168 35.328 20.48 48.128l154.112 154.112c12.8 14.336 29.184 22.016 48.128 22.016 18.432 0 35.328-7.168 48.128-20.48L939.008 337.92c12.8-12.8 20.48-29.696 20.48-48.128s-7.168-35.328-20.48-48.128z m-202.24 194.56l-144.896-146.432L736.768 143.36l146.432 146.432-146.432 146.432z" fill="#72B02D" p-id="2675"></path><path d="M400.896 549.376H140.8c-40.96 0-74.24 33.28-74.24 74.24v259.584c0 40.96 33.28 74.24 74.24 74.24h259.584c40.96 0 74.24-33.28 74.24-74.24v-259.584c0.512-40.448-33.28-74.24-73.728-74.24zM885.248 549.376h-259.584c-40.96 0-74.24 33.28-74.24 74.24v259.584c0 40.96 33.28 74.24 74.24 74.24h259.584c40.96 0 74.24-33.28 74.24-74.24v-259.584c0-40.448-33.792-74.24-74.24-74.24z" fill="#AAAAAA" p-id="2676"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768285049937" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4391" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M615.196 576.336c-83.648 78.544-146.816 315.832-160.48 373.888-1.704 6.832-8.528 13.648-17.072 13.648H17.684c-10.24 0-18.768-8.536-17.064-18.784 20.496-175.832 99.016-368.76 203.16-459.216 5.12-5.136 13.656-5.136 18.784-1.72 25.608 13.664 92.168 44.384 148.504 44.384 71.712 0 129.752-30.72 150.224-44.384 5.128-3.416 11.952-3.416 18.784 0a334.664 334.664 0 0 1 35.84 27.328c13.68 13.64 27.328 27.304 40.976 42.664 6.824 5.136 5.128 15.368-1.696 22.192zM260.108 436.352c34.144 22.2 73.408 34.152 119.504 34.152 39.256 0 73.408-11.944 107.56-29.016 85.336-49.504 143.4-151.944 109.248-264.608-25.608-83.664-99.016-146.816-186.08-158.768-138.28-18.784-256.08 90.488-256.08 223.632-6.824 87.064 37.568 155.36 105.848 194.608z m638.48 201.456c-5.136-5.12-13.656-5.12-20.504 0-18.776 13.664-61.456 37.544-114.376 37.544-42.664 0-87.056-22.176-107.528-34.136-6.824-3.416-15.368-3.416-20.504 3.424-64.856 68.28-110.968 196.304-119.488 307.28 0 10.248 6.824 18.776 17.056 18.776h471.176c10.232 0 18.776-10.232 17.056-20.472-20.464-109.28-42.656-240.72-122.888-312.416z m-134.888 273.136l-39.256-34.144 34.152-153.656-17.088-22.168c5.136-5.12 46.112-5.12 51.232 0l-17.088 22.168 34.152 153.656-46.104 34.144zM683.476 588.296c22.192 11.96 51.208 22.192 78.536 22.192 29.016 0 51.208-5.12 73.408-17.08 44.384-27.304 78.528-71.704 78.528-133.144 1.696-75.136-51.208-141.712-124.64-153.656-97.288-17.08-180.936 56.336-180.936 150.24 1.696 58.04 30.712 109.264 75.104 131.448z" fill="#606266" p-id="4392"></path><path d="M683.476 588.296c22.192 11.96 51.208 22.192 78.536 22.192 29.016 0 51.208-5.12 73.408-17.08 44.384-27.304 78.528-71.704 78.528-133.144 1.696-75.136-51.208-141.712-124.64-153.656-97.288-17.08-180.936 56.336-180.936 150.24 1.696 58.04 30.712 109.264 75.104 131.448z" fill="#606266" p-id="4393"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768285036036" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3794" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M344.94 592.624c8.424-3.008 19.24-6.016 31.272-13.824 18.04-11.44 31.872-34.896-1.8-63.752-110.656-161.168-70.352-267.592-53.52-307.896a132.848 132.848 0 0 0-48.712-9.008h-6.016c-106.432 0-134.696 96.808-136.504 151.528-1.208 128.688 76.968 179.2 76.968 179.2s4.816 6.608 4.816 26.464c0 4.192-3.008 18.032-7.816 21.648-43.896 35.488-189.432 72.16-199.648 149.136-5.416 22.248-2.408 45.096-1.2 66.152 24.048 18.64 100.424 33.672 100.424 33.672s6.608-19.24 12.624-51.112c9.616-46.912 73.36-123.272 229.112-182.208z m675.312 132.888c-10.224-76.368-159.968-113.04-205.064-148.52-5.416-4.216-7.816-17.456-7.816-21.648 0-19.848 4.808-26.464 4.808-26.464s79.976-51.12 78.784-179.2c-2.408-54.128-36.08-151.528-140.112-151.528h-6.016c-22.24 0-41.496 4.192-57.72 11.408 22.248 75.168 49.312 212.288-63.744 304.288-44.504 66.152 102.824 105.232 79.976 94.416 133.504 60.136 168.984 106.448 179.2 153.936 8.424 39.704 12.624 64.344 12.624 64.344s99.832-15.032 125.688-34.856c1.192-21.064 4.808-43.904-0.608-66.176zM585.492 579.392c-6.024-4.808-9.64-21.648-9.64-27.064 0-24.056 6.024-32.472 6.024-32.472s98.624-53.52 96.824-222.504c-2.416-67.344-43.904-188.216-172-188.216h-7.216c-133.504 0-169.576 120.272-171.984 188.216-1.808 159.368 96.808 222.504 96.808 222.504s12.032 13.832 12.032 37.88c0 5.416-9.624 16.84-15.632 21.648-54.728 43.904-252.568 88.4-265.192 183.424-10.224 40.272-68.552 104.032 126.28 129.88 53.52 7.208 126.88 11.416 225.504 11.416 452.816 0 359-87.792 346.376-139.504-13.832-95.608-213.472-141.304-268.184-185.208z" fill="#606266" p-id="3795"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768292387696" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4123" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M306.176 7.68c24.576 0 44.544 19.968 44.544 44.544v105.984c1.024 24.576-18.432 45.056-43.008 46.08-24.576 1.024-45.056-18.432-46.08-43.008V51.712c0-24.064 19.968-44.032 44.544-44.032zM717.824 8.192c24.576 0 44.544 19.968 44.544 44.544V158.72c0 24.576-19.968 44.544-44.544 44.544s-44.544-19.968-44.544-44.544V52.736c0.512-24.576 20.48-44.032 44.544-44.544z" fill="#606266" p-id="4124"></path><path d="M930.816 82.432h-139.776v76.8c1.536 40.448-30.208 74.24-70.656 75.776-40.448 1.536-74.24-30.208-75.776-70.656v-81.92H379.392v76.8c1.536 40.448-30.208 74.24-70.656 75.776-40.448 1.536-74.24-30.208-75.776-70.656v-81.92H93.184C41.472 82.432 0 124.416 0 175.616v163.84h1024v-163.84c0-51.2-41.472-93.184-93.184-93.184zM0 374.784v617.472c0 4.096 3.584 7.68 7.68 7.68h1008.64c4.096 0 7.68-3.584 7.68-7.68V374.784H0z m213.504 487.424c-33.792 0-60.928-27.136-60.928-60.928 0-33.792 27.648-60.928 60.928-60.928 33.792 0 60.928 27.136 60.928 60.928 0.512 33.28-27.136 60.928-60.928 60.928z m0-226.816c-33.792 0-60.928-27.136-60.928-60.928 0-33.792 27.648-60.928 60.928-60.928 33.792 0 60.928 27.136 60.928 60.928 0.512 33.792-27.136 60.928-60.928 60.928zM814.08 858.112H426.496c-31.744 0-57.344-25.6-57.344-57.344 0-31.744 25.6-57.344 57.344-57.344H814.08c31.744 0 57.344 25.6 57.344 57.344 0 31.744-25.6 57.344-57.344 57.344z m0-226.816H426.496c-31.744 0-57.344-25.6-57.344-57.344 0-31.744 25.6-57.344 57.344-57.344H814.08c31.744 0 57.344 25.6 57.344 57.344 0 31.744-25.6 57.344-57.344 57.344z" fill="#606266" p-id="4125"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768284809229" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4533" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M345.216 664.192a315.84 315.84 0 0 1 93.12-224.64 315.84 315.84 0 0 1 100.992-68.16 315.392 315.392 0 0 1 123.648-24.96 315.392 315.392 0 0 1 158.72 42.368v-264a24.768 24.768 0 0 0-24.768-24.768H559.296a32.64 32.64 0 0 1 0.704 6.976v133.184c0 19.2-15.616 34.816-34.816 34.816H395.072a34.816 34.816 0 0 1-34.752-34.816v-133.12a32.64 32.64 0 0 1 0.64-6.976H123.456a24.768 24.768 0 0 0-24.768 24.832v676.544c0 13.76 11.072 24.832 24.768 24.832h266.24a316.224 316.224 0 0 1-44.416-162.112zM662.976 406.4a257.792 257.792 0 1 0 0 515.52 257.792 257.792 0 0 0 0-515.52z m112.256 293.376a104.704 104.704 0 0 1-107.328 25.216l-68.48 68.48a46.528 46.528 0 0 1-65.728-65.664l68.48-68.48a104.512 104.512 0 0 1 140.8-129.28l-67.072 67.072 10.88 42.88 43.328 11.328 67.072-67.136c16.64 38.336 9.216 84.416-21.952 115.584z m-220.16 51.456a20.928 20.928 0 1 0 41.856 0 20.928 20.928 0 0 0-41.856 0z" fill="#606266" p-id="4534"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768284479749" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3945" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M240.469333 542.165333l78.037334 78.037334 60.330666-60.373334-78.037333-77.994666 60.373333-60.330667 77.994667 77.994667 60.330667-60.330667L421.546667 361.130667l60.330666-60.330667 77.994667 78.037333 60.373333-60.373333-78.037333-77.994667 120.704-120.661333a42.666667 42.666667 0 0 1 60.330667 0l180.992 180.992a42.666667 42.666667 0 0 1 0 60.330667L361.173333 904.192a42.666667 42.666667 0 0 1-60.373333 0L119.808 723.2a42.666667 42.666667 0 0 1 0-60.330667l120.661333-120.704z m362.026667 241.365334l181.034667-181.034667L896 714.965333V896h-180.992l-112.512-112.469333zM240.469333 421.461333L119.808 300.8a42.666667 42.666667 0 0 1 0-60.373333l120.661333-120.661334a42.666667 42.666667 0 0 1 60.330667 0L421.546667 240.426667 240.469333 421.461333z" fill="#606266" p-id="3946"></path></svg>
|
package/dist/icons/svg//350/275/250/350/277/271/350/247/204/345/210/222/347/256/227/346/263/225.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768284475913" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3794" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M816 624h-1 1zM1024 992c0 17.7-14.3 32-32 32H240.3v-0.6l-0.3 0.6h-1c-35.9 0-69.8-14-95.6-39.5-26-25.9-40.4-60.1-40.4-96.5s14.4-70.6 40.4-96.5c26-25.8 60.3-39.8 96.6-39.5h575c17.3 0 32-14.7 32-32 0-17.4-14.7-32-32-32H432l48-64h336c52.5 0.5 95 43.4 95 96s-42.5 95.5-95 96H239c-18.9 0-36.9 7.4-50.5 21-13.8 13.7-21.5 31.8-21.5 51s7.6 37.3 21.5 51c13.7 13.6 31.6 21 50.5 21h0.7l0.3 0.6v-0.6h752c17.7 0 32 14.3 32 32z" fill="#606266" p-id="3795"></path><path d="M240.3 1024h-0.3l0.3-0.6zM816 816h-1 1z" fill="#606266" p-id="3796"></path><path d="M288.3 0.4C129.5 0.4 0.7 129.3 0.7 288.1c0 63.1 20.4 121.5 55 169.2l232.6 312.3 227.3-305.3c37.7-48.8 60.4-109.6 60.4-176.1C576 129.3 447.2 0.4 288.3 0.4z m-0.3 371.4c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z" fill="#606266" p-id="3797"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768285043668" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4092" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M960 742.4c-32 0-32-51.2-32-32v-192c0-51.2 0-64-44.8-64H576c6.4 0-6.4-12.8-6.4-32v-64c0-19.2 12.8-32 32-32h57.6c19.2 0 32-12.8 32-32V32c0-19.2-12.8-32-32-32H364.8c-12.8 0-32 12.8-32 32v268.8c0 19.2 12.8 32 32 32h57.6c19.2 0 32 12.8 32 32v64c0 19.2-12.8 32-6.4 32H153.6c-38.4 0-57.6 12.8-57.6 64v198.4c0-19.2-6.4 19.2-32 19.2H32c-19.2 0-32 12.8-32 32V992c0 19.2 12.8 32 32 32h217.6c19.2 0 32-12.8 32-32V774.4c0-19.2-12.8-32-32-32h-32c-19.2 0-32-12.8-32-32V608c0-12.8 12.8-32 32-32h211.2c19.2 0 32 12.8 32 32v102.4c0 19.2-12.8 32-32 32h-38.4c-19.2 0-32 12.8-32 32V992c0 19.2 12.8 32 32 32h236.8c19.2 0 32-12.8 32-32V774.4c0-19.2-12.8-32-32-32h-25.6c-19.2 0-32-12.8-32-32V608c0-12.8 12.8-32 32-32H800c12.8 0 32 19.2 32 32v102.4c0 19.2-12.8 32-32 32h-32c-19.2 0-32 12.8-32 32V992c0 19.2 12.8 32 32 32h224c19.2 0 32-12.8 32-32V774.4c0-19.2-12.8-32-32-32h-32z" fill="#606266" p-id="4093"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1768292383215" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3978" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M941.7 255.4h-220c-5.5 0-10.8 2.5-14.3 6.8l-196 241.3-216-241.9c-3.5-3.9-8.5-6.2-13.8-6.2H82.3c-10.2 0-18.4 8.2-18.4 18.4V750c0 10.2 8.2 18.4 18.4 18.4h859.4c10.2 0 18.4-8.2 18.4-18.4V273.9c0-10.2-8.2-18.5-18.4-18.5z" fill="#606266" p-id="3979"></path></svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, reactive as o, onMounted as r, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
|
-
import { s as u } from "./index-
|
|
2
|
+
import { s as u } from "./index-DNRP88WA.js";
|
|
3
3
|
import { S as i } from "./index-C-kH0nUQ.js";
|
|
4
4
|
import { u as p, aw as l } from "./index.vue_vue_type_style_index_1_lang-BKgS2iFu.js";
|
|
5
5
|
import { s as d } from "./index-CA0SFykF.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { s as m } from "./index-DNRP88WA.js";
|
|
3
3
|
import { u as d, ay as p, aw as l } from "./index.vue_vue_type_style_index_1_lang-BKgS2iFu.js";
|
|
4
4
|
import { s as g, u as h } from "./index-CA0SFykF.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, B = /* @__PURE__ */ o({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-DrVAEV9j.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-DrVAEV9j.cjs"),_=require("./index-DEBI34qT.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bgts3--T.cjs");const h=require("./index-CNUwqfRB.cjs");require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs");const f=require("./index-CEwxrYB-.cjs"),y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={class:"personal-wrapper"},x={class:"personal-box left"},N={class:"base-avatar"},S={class:"center-avatar"},D={class:"base-info"},E={class:"base-signature"},k={class:"personal-box right"},B=e.defineComponent({__name:"index",setup(T){const t=e.reactive({...l.State}),b=f.useLoginState(),{loginUserInfo:n}=f.storeToRefs(b);return e.onMounted(()=>{var s;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((s=n==null?void 0:n.value)==null?void 0:s.id),l.tabKey.value++}),(s,o)=>{var c,d,u,g,p,m,v;const r=e.resolveComponent("svg-icon"),i=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",x,[e.createElementVNode("div",N,[e.createElementVNode("div",S,[e.withDirectives(e.createVNode(_.ssAvatar,{size:100,disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=a=>t.submitImageAsync("avatarUrl",a))},null,8,["disabled","userInfo"]),[[i,t.avatarLoading]])])]),e.createElementVNode("div",D,[e.createElementVNode("div",null,[e.createVNode(r,{name:"userAccount",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((c=e.unref(n))==null?void 0:c.account)||(((d=e.unref(n))==null?void 0:d.姓名)??"未知")),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"role",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((u=e.unref(n))==null?void 0:u.layer)==="superAdmin"?"超级管理员":((g=e.unref(n))==null?void 0:g.角色名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"dept",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((p=e.unref(n))==null?void 0:p.部门名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"status",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((m=e.unref(n))==null?void 0:m.layer)==="superAdmin"?"启用":((v=e.unref(n))==null?void 0:v.状态)??"未知"),1)])]),e.createElementVNode("div",E,[e.withDirectives(e.createVNode(_.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=a=>t.submitImageAsync("signature",a))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"]),[[i,t.signatureLoading]])])]),e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[(e.openBlock(),e.createBlock(h.ssTab,{key:e.unref(l.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])),[[i,t.loading]])])}}}),C=y._export_sfc(B,[["__scopeId","data-v-3bdf3f4b"]]);exports.default=C;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as Ro, a as Lo, f as Fo, g as Ko, u as jo, s as Uo } from "./index-
|
|
1
|
+
import { b as Ro, a as Lo, f as Fo, g as Ko, u as jo, s as Uo } from "./index-DNRP88WA.js";
|
|
2
2
|
import { computed as Xt, ref as fe, watch as xt, onUnmounted as No, resolveComponent as Ut, createElementBlock as at, openBlock as Ie, createVNode as Se, createBlock as Rt, createCommentVNode as pa, withCtx as je, createElementVNode as le, Fragment as Vt, renderList as Zt, toDisplayString as vt, nextTick as qa, createTextVNode as Pt, defineComponent as wa, resolveDynamicComponent as dn, onMounted as An, unref as Mt, reactive as Ka, normalizeStyle as yn, renderSlot as Sn, createSlots as Wo, mergeProps as gr, withModifiers as Mn, getCurrentInstance as Vo, inject as Cl, shallowRef as Ho, toRef as qo, onBeforeMount as yr, watchEffect as Go, onBeforeUnmount as mr, normalizeClass as Sl, getCurrentScope as Xo, onScopeDispose as Yo, provide as El, toRefs as Dl, withDirectives as Jo, vShow as Qo } from "vue";
|
|
3
3
|
import { c1 as Zo, j as ni, c2 as es, bD as ts, bE as as, s as Yt, p as Gt, u as Vi, c as v, bu as Li, g as ya, b as Fi, E as Wt, f as il, bv as Tn, bt as Kn, d as pn, e as br, c0 as ns } from "./index-CA0SFykF.js";
|
|
4
|
-
import { u as is, c as ca, a as hl, e as kr, E as xr, f as wr, d as ls, b as rs, i as Si } from "./index-
|
|
4
|
+
import { u as is, c as ca, a as hl, e as kr, E as xr, f as wr, d as ls, b as rs, i as Si } from "./index-CZ36_DLP.js";
|
|
5
5
|
import { a as On, u as jn, i as Hi, aE as os, aF as _r, au as ll, aG as Ki, aH as rl, j as la, aI as vl, E as Ga, aJ as ol, aK as ka, aL as Ln, aM as nn, aN as Cn, aO as Qi, l as ss, aP as us, aQ as cs, aR as ds, aS as ps, aT as fs, aU as hs, aV as vs, aW as gs, aX as ys } from "./index.vue_vue_type_style_index_1_lang-BKgS2iFu.js";
|
|
6
6
|
import { s as ma, _ as Tl } from "./index-CM4PTcFN.js";
|
|
7
|
-
import { a as Cr, T as ms, u as bs } from "./threeViewerHost-
|
|
7
|
+
import { a as Cr, T as ms, u as bs } from "./threeViewerHost-D7Br_pYC.js";
|
|
8
8
|
import { aK as ks, aL as Ei, l as xs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-h7N9rXk9.js";
|
|
9
9
|
import { _ as ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as Il } from "./isString-C_qk7R_g.js";
|
|
11
|
-
import { a as ws, s as _s } from "./index-
|
|
11
|
+
import { a as ws, s as _s } from "./index-DlJdmipJ.js";
|
|
12
12
|
import Sr from "./index-rlStojTL.js";
|
|
13
13
|
import { s as Cs } from "./index-Bgw0FBZB.js";
|
|
14
14
|
var Ss = /\s/;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { p as h, s as k, c as m, g as x } from "./index-CA0SFykF.js";
|
|
3
3
|
import { u as M } from "./index.vue_vue_type_style_index_1_lang-BKgS2iFu.js";
|
|
4
|
-
import { s as D } from "./index-
|
|
4
|
+
import { s as D } from "./index-DNRP88WA.js";
|
|
5
5
|
import { a as T, d as S, f as w } from "./index-MfKXIrOt.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-C-5x75ui.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs"),a=require("./index-CEwxrYB-.cjs"),s={class:"routerPage-wrapper"},i=t.defineComponent({__name:"index",setup(d){const o=n.useMenuState(),{activeMenuPath:c}=a.storeToRefs(o),r=a.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{r.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(c.value)}),(l,_)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(u.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-BsQQN8nm.cjs"),p=require("./index-C-5x75ui.cjs"),m=require("./index-Dmi6R0kU.cjs"),h=require("./index-CNUwqfRB.cjs"),C=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs"),d=require("./index-CEwxrYB-.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({..._.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var r;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=l.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((r=n.value)==null?void 0:r.path)}),(r,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(p.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
|
|
@@ -3,7 +3,7 @@ import "./index-BHtNKL1L.js";
|
|
|
3
3
|
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-h7N9rXk9.js";
|
|
4
4
|
import { u as i, aw as p } from "./index.vue_vue_type_style_index_1_lang-BKgS2iFu.js";
|
|
5
5
|
import { s as u } from "./index-CA0SFykF.js";
|
|
6
|
-
import { s as l } from "./index-
|
|
6
|
+
import { s as l } from "./index-DNRP88WA.js";
|
|
7
7
|
import { S as d } from "./index-5l2dStAS.js";
|
|
8
8
|
const _ = { class: "role-wrapper" }, M = /* @__PURE__ */ o({
|
|
9
9
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
|
|
2
|
-
import { s as E } from "./index-
|
|
2
|
+
import { s as E } from "./index-DNRP88WA.js";
|
|
3
3
|
import { u as F, az as x } from "./index.vue_vue_type_style_index_1_lang-BKgS2iFu.js";
|
|
4
4
|
import { s as O, c as H } from "./index-CA0SFykF.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("vue"),O=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs"),i=require("./index-CEwxrYB-.cjs"),pe=require("./index-sYR21g6y.cjs"),A=O.useModelComp(i.pinia),m=pe.useUnit(i.pinia),I=O.useMenuState(i.pinia),{menus:ee,configMenu:B,activeMenuPath:q,cacheStructures:E}=i.storeToRefs(I),j=g.ref(!1),te=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(ee.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),H=g.ref([{label:"新建"}]),fe=g.computed(()=>[{key:"extraButton",contents:H.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),J=g.ref([]),k=g.ref({}),de=g.ref({}),_=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;J.value=e?(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):_.value},ie=g.ref([{label:"查询"},{label:"重置"}]),ge=async()=>{},le=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:le(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),U=g.ref([]),C=g.ref({}),h=g.ref(null),ae=g.ref([]),oe=g.computed(()=>{var e;return(e=le(ee.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),ne=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});ae.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},ve=async e=>{var t;j.value=!0,h.value={...e,rootNode:i.findRootNodeByPath(oe.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?H.value.splice(0):(H.value=[{label:"新建"}],U.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await ne(e==null?void 0:e.path),await F(e)},ye=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},be=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=ye(e),U.value=[],A.setSubmitCurStructure(!1),m.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await re(C.value,v.type)},ue=g.ref(!0),he=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ue.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ue.value,async e=>{var t;await g.nextTick(),J.value=(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const Ce=g.ref(null),Ie=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,K;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(K=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:K.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},ke=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Ie(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=U.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=B.value),await I.setConfigMenu(u),m.setSelectTitle(l),A.setIsEdit("edit")},F=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),j.value=!1},x=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},Y=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Z=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(x(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(x(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(x(s,"update",e))})),l},Te=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Me=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=ae.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=Y(b,a),M=Y(s,d),w=Z("dialogConfig",T),N=Z("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var z,G,L,V,Q,W,X;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(z=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:z.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((G=T==null?void 0:T.updateComps)==null?void 0:G.length)===0&&v.type==="update"){const y=(V=(L=C.value)==null?void 0:L.structureIds)==null?void 0:V.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((Q=M==null?void 0:M.updateComps)==null?void 0:Q.length)===0&&v.type==="update"){const y=(X=(W=C.value)==null?void 0:W.structureIds)==null?void 0:X.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const ce=Te(S);re({...t,isNotInitial:!0,structureIds:ce},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},re=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),O.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),F(h.value)})},De=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...B.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...B.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Me(e,t),k.value={},v.show=!1,await F(h.value)},Se=()=>{v.show=!1},se={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:te.value,name:""}]}]},we=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Se,buttonValue:ie,changeTrigger:he,changedRow:de,clickNodeTrigger:ve,clickRowButton:be,clickSubmitForm:De,clickTrigger:ke,dialogInfo:v,formatFormData:R,getInitialSubStructure:ne,getTableDataAsync:F,handleItemDataChange:ge,inputForm:k,menuPageData:fe,operatingForm:Ce,pageData:te,renderFormData:J,tableLoading:j,tempMenuPageData:se,treeData:oe},Symbol.toStringTag,{value:"Module"}));exports.State=we;exports.tempMenuPageData=se;
|
|
1
|
+
"use strict";const g=require("vue"),O=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs"),i=require("./index-CEwxrYB-.cjs"),pe=require("./index-C-5x75ui.cjs"),A=O.useModelComp(i.pinia),m=pe.useUnit(i.pinia),I=O.useMenuState(i.pinia),{menus:ee,configMenu:B,activeMenuPath:q,cacheStructures:E}=i.storeToRefs(I),j=g.ref(!1),te=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(ee.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),H=g.ref([{label:"新建"}]),fe=g.computed(()=>[{key:"extraButton",contents:H.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),J=g.ref([]),k=g.ref({}),de=g.ref({}),_=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;J.value=e?(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):_.value},ie=g.ref([{label:"查询"},{label:"重置"}]),ge=async()=>{},le=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:le(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),U=g.ref([]),C=g.ref({}),h=g.ref(null),ae=g.ref([]),oe=g.computed(()=>{var e;return(e=le(ee.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),ne=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});ae.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},ve=async e=>{var t;j.value=!0,h.value={...e,rootNode:i.findRootNodeByPath(oe.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?H.value.splice(0):(H.value=[{label:"新建"}],U.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await ne(e==null?void 0:e.path),await F(e)},ye=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},be=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=ye(e),U.value=[],A.setSubmitCurStructure(!1),m.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await re(C.value,v.type)},ue=g.ref(!0),he=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ue.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ue.value,async e=>{var t;await g.nextTick(),J.value=(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const Ce=g.ref(null),Ie=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,K;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(K=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:K.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},ke=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Ie(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=U.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=B.value),await I.setConfigMenu(u),m.setSelectTitle(l),A.setIsEdit("edit")},F=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),j.value=!1},x=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},Y=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Z=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(x(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(x(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(x(s,"update",e))})),l},Te=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Me=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=ae.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=Y(b,a),M=Y(s,d),w=Z("dialogConfig",T),N=Z("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var z,G,L,V,Q,W,X;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(z=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:z.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((G=T==null?void 0:T.updateComps)==null?void 0:G.length)===0&&v.type==="update"){const y=(V=(L=C.value)==null?void 0:L.structureIds)==null?void 0:V.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((Q=M==null?void 0:M.updateComps)==null?void 0:Q.length)===0&&v.type==="update"){const y=(X=(W=C.value)==null?void 0:W.structureIds)==null?void 0:X.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const ce=Te(S);re({...t,isNotInitial:!0,structureIds:ce},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},re=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),O.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),F(h.value)})},De=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...B.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...B.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Me(e,t),k.value={},v.show=!1,await F(h.value)},Se=()=>{v.show=!1},se={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:te.value,name:""}]}]},we=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Se,buttonValue:ie,changeTrigger:he,changedRow:de,clickNodeTrigger:ve,clickRowButton:be,clickSubmitForm:De,clickTrigger:ke,dialogInfo:v,formatFormData:R,getInitialSubStructure:ne,getTableDataAsync:F,handleItemDataChange:ge,inputForm:k,menuPageData:fe,operatingForm:Ce,pageData:te,renderFormData:J,tableLoading:j,tempMenuPageData:se,treeData:oe},Symbol.toStringTag,{value:"Module"}));exports.State=we;exports.tempMenuPageData=se;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),A=require("./index-CHJQPaPf.cjs"),g=require("./index-CEwxrYB-.cjs"),G=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs"),r=require("./array-Biwt5iWs.cjs"),J=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ye=require("./index-BVaHwt5f.cjs"),Ce=require("./index-BiUFIyHm.cjs"),ke=require("./index-Dmi6R0kU.cjs"),_e={class:"type-select"},we={class:"group-label"},De={class:"group-items"},xe=["onDragstart"],Be={__name:"index",props:{compContainerRef:Object},emits:[""],setup(X,{emit:k}){const T=G.useModelComp(g.pinia),{itemData:H,activeItemIndex:P}=g.storeToRefs(T),d=k,O=e.ref(null),D=e.computed(()=>{var q,M,V;const N={label:"布局",items:["TABS","LAYOUT"]},S={label:"常用",items:["FORM","TABLE"]},L={label:"高级",items:["STEP","TIMELINE","CHART","SIGNATURE","AVATAR","FOLD"]},x=(q=A.slotContent.value)==null?void 0:q.filter(B=>{var c,n;return(n=N==null?void 0:N.items)==null?void 0:n.includes((c=B==null?void 0:B.type)==null?void 0:c.toUpperCase())}),U=(M=A.slotContent.value)==null?void 0:M.filter(B=>{var c,n;return(n=S==null?void 0:S.items)==null?void 0:n.includes((c=B==null?void 0:B.type)==null?void 0:c.toUpperCase())}),_=(V=A.slotContent.value)==null?void 0:V.filter(B=>{var c,n;return(n=L==null?void 0:L.items)==null?void 0:n.includes((c=B==null?void 0:B.type)==null?void 0:c.toUpperCase())});return[{...N,items:x},{...S,items:U},{...L,items:_}]}),F=(N,S)=>{try{N.dataTransfer.clearData();const L={...S,timestamp:Date.now()};N.dataTransfer.setData("application/json",JSON.stringify(L)),N.dataTransfer.effectAllowed="copyMove",N.target.classList.add("dragging"),d("handleDragStart",S)}catch(L){console.error("Drag start error:",L)}};return(N,S)=>{const L=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",_e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,x=>(e.openBlock(),e.createElementBlock("div",{class:"group-item",key:x==null?void 0:x.label},[e.createElementVNode("div",we,e.toDisplayString(x==null?void 0:x.label),1),e.createElementVNode("div",De,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x==null?void 0:x.items,(U,_)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",title:"鼠标拖动",ref_for:!0,ref_key:"dragItem",ref:O,key:_,draggable:!0,onDragstart:q=>F(q,U)},[e.createVNode(L,{name:U.icon,style:{width:"15px",height:"15px"}},null,8,["name"]),e.createElementVNode("div",null,e.toDisplayString(U.name),1)],40,xe))),128))])]))),128))])}}},Ie=J._export_sfc(Be,[["__scopeId","data-v-951fb5b4"]]),Ne={class:"fill-content"},Ve={class:"overall-config-wrapper"},Ee={class:"operate-content"},be=["onClick"],Te={class:"collapse-title-item",title:"编辑"},Se={key:1},Le=["onClick"],Me={class:"icon-content"},$e={key:0,class:"edit-content"},Re=["onClick"],Ae={title:"设置"},Oe=["onClick"],Fe={class:"parent-main"},Ue={style:{display:"flex","justify-content":"space-between"}},qe={title:"样式"},ze={title:"交互"},Ge={title:"扩展"},He={style:{width:"100%","max-height":"500px",overflow:"auto"}},We={__name:"index",setup(X){const k=G.useModelComp(g.pinia),{itemData:T,originalData:H}=g.storeToRefs(k),P=G.useMenuState(),{activeMenuPath:d}=g.storeToRefs(P);e.ref([]);const O=e.ref([]),D=e.ref([]),F=e.ref([]),N=e.computed(()=>{var c,n,p,i;return((c=r.showItems.value)==null?void 0:c.length)>0&&(n=r.showItems.value)!=null&&n.every(u=>{var I,E;return(u==null?void 0:u.comp)===((E=(I=r.showItems.value)==null?void 0:I[0])==null?void 0:E.comp)})?(i=(p=r.showItems.value)==null?void 0:p[0])==null?void 0:i.comp:null}),S=c=>{var p;let n=(p=g.cloneDeep(D.value))==null?void 0:p.map((i,u)=>(c===u&&(i.content=!0),i));D.value=n},L=c=>{var p;let n=(p=g.cloneDeep(D.value))==null?void 0:p.map((i,u)=>(c===u&&(i.content=!1),i));D.value=n,r.showItems.value=g.cloneDeep(T.value)},x=(c,n)=>{var I;let p=(I=g.cloneDeep(D.value))==null?void 0:I.map((E,l)=>(c===l&&(E.content=!1),E));D.value=p;const i=g.cloneDeep(T.value),u=i==null?void 0:i.filter((E,l)=>(l===c&&(E.name=n),E));k.setOriginalData(u),k.setItemData(u)},U=c=>{const n=g.cloneDeep(T.value),p=n==null?void 0:n.map((i,u)=>((i==null?void 0:i.name)===(c==null?void 0:c.name)?i.isShow=!(c!=null&&c.isShow):i.isShow=i.isShow,i));T.value=p};e.watch(()=>T.value,()=>{var c,n,p,i;!T.value||((c=T.value)==null?void 0:c.length)===0?r.showItems.value=[]:r.showItems.value=(n=T.value)==null?void 0:n.filter(u=>(u==null?void 0:u.comp)!=="methodButton"),O.value=r.showItems.value,D.value=(p=g.cloneDeep(O.value))==null?void 0:p.map((u,I)=>({id:I,content:!1})),F.value=(i=g.cloneDeep(O.value))==null?void 0:i.map((u,I)=>({id:I,isShow:u==null?void 0:u.isShow}))},{deep:!0,immediate:!0});const _=c=>A.getComponent(c),q=(c,n,p,i)=>{var I,E;if(!c)return;let u=g.cloneDeep(T.value);u=(I=u==null?void 0:u.map((l,h)=>{if(i&&h===p){const{compData:s,itemChildData:$}=c;return l.compData=s,l.itemChildData=$,l}return h===p&&(l.compData=c),l}))==null?void 0:I.filter(l=>(l==null?void 0:l.comp)!=="methodButton"),D.value=(E=g.cloneDeep(u))==null?void 0:E.map((l,h)=>({id:h,content:!1})),k.setOriginalData(u),k.setItemData(u)},M=e.ref(null),V=(c,n)=>{if(!n){k.setActiveItemIndex(c);return}k.setActiveItemIndex(-1)},B=c=>{G.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const n=g.cloneDeep(T.value),p=n==null?void 0:n.filter((i,u)=>u!==c);k.setOriginalData(p),k.setItemData(p),k.setActiveItemIndex(-1),g.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(c,n)=>{var E;const p=e.resolveComponent("svg-icon"),i=e.resolveComponent("el-tab-pane"),u=e.resolveComponent("el-card"),I=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",Ne,[n[10]||(n[10]=e.createElementVNode("div",{class:"fill-operate"},"操作栏",-1)),e.createElementVNode("div",Ve,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_(N.value+"style")),{target:"overall",optionItems:e.unref(r.optionItems),compType:N.value,comp:(E=e.unref(r.showItems))==null?void 0:E[0],onChange:e.unref(r.handleStyleChange)},null,40,["optionItems","compType","comp","onChange"]))]),e.createElementVNode("div",Ee,[e.createVNode(ye.default,{class:"collapse-content",collapseContents:e.unref(r.showItems),accordion:!0,onChange:e.unref(r.handleCollapseChange),ref_key:"ssCollapseRef",ref:M},{title:e.withCtx(({item:l,index:h,isActive:s})=>{var $,w,b,o,a,v,f,m,R,z;return[e.createElementVNode("div",{class:"collapse-title-content",onClick:C=>V(h,s)},[e.createElementVNode("div",Te,[(w=($=D.value)==null?void 0:$.find(C=>C.id===h))!=null&&w.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:l.name&&l.name!==""?"8px":"0px"})},e.toDisplayString(l.name),5)),(o=(b=D.value)==null?void 0:b.find(C=>C.id===h))!=null&&o.content?(e.openBlock(),e.createElementBlock("div",Se,[e.createVNode(Ce._sfc_main$2,{modelValue:l.name,"onUpdate:modelValue":C=>l.name=C,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(v=(a=D.value)==null?void 0:a.find(C=>C.id===h))!=null&&v.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(C=>S(h),["stop"]),class:"icon-content"},[e.createVNode(p,{name:"Edit",style:{width:"13px",height:"13px"}})],8,Le))]),e.createElementVNode("div",Me,[(m=(f=D.value)==null?void 0:f.find(C=>C.id===h))!=null&&m.content?(e.openBlock(),e.createElementBlock("div",$e,[e.createVNode(p,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(C=>L(h),["stop"])},null,8,["onClick"]),e.createVNode(p,{name:"Save",onClick:e.withModifiers(C=>x(h,l.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(z=(R=D.value)==null?void 0:R.find(C=>C.id===h))!=null&&z.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(C=>B(h),["stop"]),class:"icon-content"},[e.createVNode(p,{name:"Delete",style:{width:"16px",height:"16px"}})],8,Re))])],8,be)]}),content:e.withCtx(({item:l,index:h})=>[e.createVNode(I,{modelValue:e.unref(r.activeTabName),"onUpdate:modelValue":n[2]||(n[2]=s=>e.isRef(r.activeTabName)?r.activeTabName.value=s:null),class:"config-tabs",onTabClick:V},{default:e.withCtx(()=>[e.createVNode(i,{label:"设置",name:"data"},{label:e.withCtx(()=>[e.createElementVNode("span",Ae,[e.createVNode(p,{name:"LowCodeSetting",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[3]||(n[3]=e.createTextVNode("设置"))])]),default:e.withCtx(()=>{var s,$;return[e.createElementVNode("div",{class:"comp-child",onClick:w=>V(h)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_(l.comp+"Operate")),{itemContents:l==null?void 0:l.compData,originalItemContents:($=(s=O.value)==null?void 0:s.find((w,b)=>b===h))==null?void 0:$.compData,itemChildData:l==null?void 0:l.itemChildData,onChange:(w,b)=>q(w,l,h,b)},null,40,["itemContents","originalItemContents","itemChildData","onChange"]))],8,Oe),e.createElementVNode("div",Fe,[n[5]||(n[5]=e.createElementVNode("div",{class:"operate-title"},[e.createElementVNode("div",null,e.toDisplayString("显隐控制"))],-1)),e.createElementVNode("div",Ue,[n[4]||(n[4]=e.createElementVNode("div",{class:"operate-center-content"},e.toDisplayString("是否显示"),-1)),e.createVNode(Ce._sfc_main$1,{value:F.value.find(w=>w.id===h).isShow,"onUpdate:value":w=>F.value.find(b=>b.id===h).isShow=w,onClick:w=>U(l)},null,8,["value","onUpdate:value","onClick"])])])]}),_:2},1024),e.createVNode(i,{label:"样式",name:"style"},{label:e.withCtx(()=>[e.createElementVNode("span",qe,[e.createVNode(p,{name:"LowCodeStyle",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[6]||(n[6]=e.createTextVNode("样式"))])]),default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_((l==null?void 0:l.comp)+"style")),{target:"alone",compType:l==null?void 0:l.comp,comp:l,optionItems:e.unref(r.optionItems),onChange:s=>e.unref(r.handleStyleChange)(s,l)},null,40,["compType","comp","optionItems","onChange"]))]),_:2},1024),e.createVNode(i,{label:"交互",name:"event"},{label:e.withCtx(()=>[e.createElementVNode("span",ze,[e.createVNode(p,{name:"LowCodeEvent",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[7]||(n[7]=e.createTextVNode("交互"))])]),default:e.withCtx(()=>[n[8]||(n[8]=e.createTextVNode(" 交互 "))]),_:1,__:[8]}),e.createVNode(i,{label:"扩展",name:"extend"},{label:e.withCtx(()=>[e.createElementVNode("span",Ge,[e.createVNode(p,{name:"LowCodeExtend",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[9]||(n[9]=e.createTextVNode("扩展"))])]),default:e.withCtx(()=>[e.createVNode(I,{"tab-position":"left",modelValue:e.unref(r.activeExtendTabName),"onUpdate:modelValue":n[1]||(n[1]=s=>e.isRef(r.activeExtendTabName)?r.activeExtendTabName.value=s:null),class:"extend-tabs",onTabChange:e.unref(r.changeExtendTab)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r.extendTabs),(s,$)=>(e.openBlock(),e.createBlock(i,{key:s==null?void 0:s.name,label:s==null?void 0:s.label,name:s==null?void 0:s.name},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>{var w,b,o;return[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_((w=s==null?void 0:s.component)==null?void 0:w.comp)),{compItem:s==null?void 0:s.component,itemData:(b=s==null?void 0:s.component)==null?void 0:b.compData,childItemData:(o=s==null?void 0:s.component)==null?void 0:o.itemChildData,key:$,level:1,onChange:e.unref(r.handleExtendChange),onOnButtonClick:e.unref(r.clickExtendTable)},null,40,["compItem","itemData","childItemData","onChange","onOnButtonClick"]))]}),_:2},1024)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue","onTabChange"])]),_:1})]),_:2},1032,["modelValue"])]),_:1},8,["collapseContents","onChange"])]),e.createVNode(ke.ssDialog,{class:"task-dialog-wrapper",visible:e.unref(r.extendDialogInfo).show,title:e.unref(r.extendDialogInfo).title,dialogWidth:e.unref(r.extendDialogInfo).width,onBeforeDestroy:e.unref(r.beforeDestroyExtendDialog)},{default:e.withCtx(()=>{var l,h;return[e.createElementVNode("div",He,[e.unref(r.findExtendComp)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_(((l=e.unref(r.findExtendComp))==null?void 0:l.comp)+"extend")),{key:0,target:"alone",comp:e.unref(r.findExtendComp),extendItem:e.unref(r.clickExtendTableRow),compType:(h=e.unref(r.findExtendComp))==null?void 0:h.comp,activeTabName:e.unref(r.activeExtendTabName),relatedData:e.unref(r.taskConfigTable),onChange:e.unref(r.handleExtendChange),onOnButtonClick:e.unref(r.clickTaskFormButton)},null,40,["comp","extendItem","compType","activeTabName","relatedData","onChange","onOnButtonClick"])):e.createCommentVNode("",!0)])]}),_:1},8,["visible","title","dialogWidth","onBeforeDestroy"])])}}},Pe=J._export_sfc(We,[["__scopeId","data-v-0ecba574"]]),Ye={style:{display:"flex"}},Je={style:{display:"flex"}},Xe={key:2},Ke={key:4,style:{"margin-top":"30px"}},je={__name:"index",setup(X){const k=G.useModelComp(g.pinia),{itemData:T,activeItemIndex:H,pageMapState:P}=g.storeToRefs(k),d=e.ref([]),O=e.ref(0),D=e.ref(""),F=G.useMenuState(g.pinia),{activeMenuPath:N}=g.storeToRefs(F),S=e.ref(null),L=e.ref(null),x=e.ref(24),U=e.ref(2),_=e.ref([]),q=e.ref([]),M=e.computed(()=>{var o,a,v;return{default:!c.value&&!B.value&&V.value==="vertical"&&((o=d.value)==null?void 0:o.length)>0,grid:c.value&&!B.value&&V.value==="vertical",tab:V.value==="horizontal"&&((a=d.value)==null?void 0:a.length)>0,step:B.value&&V.value==="vertical"&&((v=d.value)==null?void 0:v.length)>0}}),V=e.computed(()=>{var o,a,v,f;return((o=d.value)==null?void 0:o.length)>0&&((a=d.value)!=null&&a.every(m=>m==null?void 0:m.layout))?(f=(v=d.value)==null?void 0:v[0])==null?void 0:f.layout:"vertical"}),B=e.computed(()=>{var o,a;return(a=(o=d.value)==null?void 0:o[0])==null?void 0:a.isStepLayout}),c=e.computed(()=>{var o,a;return(a=(o=d.value)==null?void 0:o[0])==null?void 0:a.isGridLayout}),n=e.ref(null),p=e.computed(()=>{var o,a,v;return((o=d.value)==null?void 0:o.length)>0&&V.value==="horizontal"?(v=(a=d.value)==null?void 0:a[0])==null?void 0:v.name:""}),i=(o,a)=>{O.value=a,n.value=o},u=o=>{var m;if(!o)return;let a=null;const v=g.cloneDeep(d.value);if(H.value>=0&&(a=v==null?void 0:v[H.value]),a&&a.comp==="Layout"){const{compData:R=[]}=a;((m=R==null?void 0:R.find(C=>{const{key:W}=C;return W==="children"}))==null?void 0:m.contents).push({comp:o.comp,name:o.name,compData:[]}),k.setItemData(v);return}const f=g.cloneDeep(d.value);f.push({comp:o.comp,name:o.name,compData:[]}),k.setItemData(f),w(f)},I=o=>{o.preventDefault(),o.dataTransfer.dropEffect="copy"},E=async o=>{try{const a=o.dataTransfer.getData("application/json");if(!a)return;const v=JSON.parse(a),f=await l(o),m=h(v,f);await e.nextTick(),s(m),u(JSON.parse(a||"")),console.log("drop"),$()}catch(a){console.error("Drop error:",a),$()}},l=async o=>S.value?new Promise(a=>{requestAnimationFrame(()=>{const v=S.value.getBoundingClientRect(),f=o.clientX-v.left,m=o.clientY,R=Math.floor(f/(v.width/x.value)),z=Math.floor(m/(v.width/x.value));a({x:Math.max(0,R),y:Math.max(0,z),w:x.value,h:U.value})})}):{x:0,y:0},h=(o,a)=>{var f,m;const v=`item_${Date.now()}_${(m=(f=Math.random())==null?void 0:f.toString(36))==null?void 0:m.substring(2,9)}`;return{i:v,id:v,x:a.x,y:a.y,w:a.w,h:a.h,component:o,minW:2,minH:2}},s=o=>{w([..._.value,o],!0)},$=()=>{document.querySelectorAll(".dragging").forEach(o=>{o.classList.remove("dragging")})},w=(o,a)=>{_.value=a?o:A.generateLayouts(o),k.setItemGridData({pageKey:N.value,results:_.value}),F.setContentLoading(!1)};e.watch(()=>M.value.step,o=>{var a;o&&i((a=d.value)==null?void 0:a[0],1)},{immediate:!0}),e.watch(()=>M.value.grid,o=>{var a,v;!o&&((a=_.value)==null?void 0:a.length)>0&&k.setItemGridData({pageKey:N.value,results:(v=_.value)==null?void 0:v.map(f=>f==null?void 0:f.id),isDelete:!0})},{immediate:!0}),e.watch(()=>T.value,o=>{var a,v,f;F.setContentLoading(!0),d.value=!o||(o==null?void 0:o.length)===0?[]:(a=g.cloneDeep(o))==null?void 0:a.filter(m=>!(m!=null&&m.affix)||(m==null?void 0:m.affix)==="default"),q.value=!o||(o==null?void 0:o.length)===0?[]:(v=g.cloneDeep(o))==null?void 0:v.filter(m=>(m==null?void 0:m.affix)&&(m==null?void 0:m.affix)!=="default"),(f=M.value)!=null&&f.grid&&w(d.value)},{deep:!0,immediate:!0});const b=o=>A.getComponent(o);return(o,a)=>{var z,C,W,K,j,Q,Z,ee,te,oe,ne,ae;const v=e.resolveComponent("el-tab-pane"),f=e.resolveComponent("el-tabs"),m=e.resolveComponent("el-step"),R=e.resolveComponent("el-steps");return e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:S,class:"low-code-wrapper",onDragover:I,onDrop:E},[(z=M.value)!=null&&z.default?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(d.value,(t,y)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:y},[e.createElementVNode("div",Ye,e.toDisplayString(t.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b(t.comp)),{itemData:t==null?void 0:t.compData,childItemData:t==null?void 0:t.itemChildData,key:y,config:{showIndex:t==null?void 0:t.showIndex,allowMove:t==null?void 0:t.allowMove,viewport:t==null?void 0:t.viewport},pageLayout:V.value,parentTableId:t==null?void 0:t.tableId,children:t==null?void 0:t.children,level:1},null,8,["itemData","childItemData","config","pageLayout","parentTableId","children"]))]))),128)):e.createCommentVNode("",!0),(C=M.value)!=null&&C.grid?(e.openBlock(),e.createBlock(e.unref(A.De),{key:1,ref_key:"gridLayoutRef",ref:L,layout:_.value,"onUpdate:layout":a[0]||(a[0]=t=>_.value=t),"prevent-collision":!1,"is-draggable":!0,"is-resizable":!0,responsive:!1,"col-num":24,margin:[8,16]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(t,y)=>{var Y,le;return e.openBlock(),e.createBlock(e.unref(A.st),{key:t.i,x:t.x,y:t.y,"min-h":t.minH,"max-h":t.maxH,"min-w":t.minW,w:t.w,h:e.unref(A.verifyButton)((Y=d.value[y])==null?void 0:Y.comp)?0:t.h,i:t.i,class:e.normalizeClass(e.unref(A.verifyButton)((le=d.value[y])==null?void 0:le.comp)?"grid-method-button":"")},{default:e.withCtx(()=>{var ce,re,se,ie,ue,de,pe,ve,me,he,fe,ge;return[e.createTextVNode(e.toDisplayString(t.h)+" ",1),e.createElementVNode("div",{class:e.normalizeClass((re=q.value)!=null&&re.includes((ce=t==null?void 0:t.component)==null?void 0:ce.id)?"comp-wrapper affix-content":"comp-wrapper")},[e.createElementVNode("div",Je,e.toDisplayString((se=d.value[y])==null?void 0:se.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b((ie=d.value[y])==null?void 0:ie.comp)),{pageLayout:V.value,itemData:(ue=d.value[y])==null?void 0:ue.compData,childItemData:(de=d.value[y])==null?void 0:de.itemChildData,index:((pe=d.value[y])==null?void 0:pe.id)??y,parentTableId:(ve=d.value[y])==null?void 0:ve.tableId,children:(me=d.value[y])==null?void 0:me.children,level:1,config:{showIndex:(he=d.value[y])==null?void 0:he.showIndex,allowMove:(fe=d.value[y])==null?void 0:fe.allowMove,viewport:(ge=d.value[y])==null?void 0:ge.viewport}},null,8,["pageLayout","itemData","childItemData","index","parentTableId","children","config"]))],2)]}),_:2},1032,["x","y","min-h","max-h","min-w","w","h","i","class"])}),128))]),_:1},8,["layout"])):e.createCommentVNode("",!0),(W=M.value)!=null&&W.tab?(e.openBlock(),e.createElementBlock("div",Xe,[e.createVNode(f,{modelValue:p.value,"onUpdate:modelValue":a[1]||(a[1]=t=>p.value=t),type:"card",class:"display-tabs"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(t,y)=>(e.openBlock(),e.createBlock(v,{key:t.i,label:t==null?void 0:t.name,name:t==null?void 0:t.name},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b(t==null?void 0:t.comp)),{pageLayout:V.value,itemData:t==null?void 0:t.compData,childItemData:t==null?void 0:t.itemChildData,key:y,config:{showIndex:t==null?void 0:t.showIndex,allowMove:t==null?void 0:t.allowMove,viewport:t==null?void 0:t.viewport}},null,8,["pageLayout","itemData","childItemData","config"]))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),(K=M.value)!=null&&K.step?(e.openBlock(),e.createBlock(R,{key:3,direction:"horizontal",active:O.value,"align-center":!0,class:"display-steps"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(t,y)=>(e.openBlock(),e.createBlock(m,{key:y,class:"step-item",status:D.value,onClick:Y=>i(t,y+1)},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t==null?void 0:t.name),1)]),_:2},1032,["status","onClick"]))),128))]),_:1},8,["active"])):e.createCommentVNode("",!0),(j=M.value)!=null&&j.step?(e.openBlock(),e.createElementBlock("div",Ke,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b((Q=n.value)==null?void 0:Q.comp)),{pageLayout:V.value,itemData:(Z=n.value)==null?void 0:Z.compData,childItemData:(ee=n.value)==null?void 0:ee.itemChildData,key:(te=n.value)==null?void 0:te.id,config:{showIndex:(oe=n.value)==null?void 0:oe.showIndex,allowMove:(ne=n.value)==null?void 0:ne.allowMove,viewport:(ae=n.value)==null?void 0:ae.viewport}},null,8,["pageLayout","itemData","childItemData","config"]))])):e.createCommentVNode("",!0)],544)}}},Qe=J._export_sfc(je,[["__scopeId","data-v-4aa8798c"]]);exports.modelFill=Pe;exports.modelSelect=Ie;exports.modelShow=Qe;
|
|
1
|
+
"use strict";const e=require("vue"),A=require("./index-DfaAfs0w.cjs"),g=require("./index-CEwxrYB-.cjs"),G=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs"),r=require("./array-Biwt5iWs.cjs"),J=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ye=require("./index-BVaHwt5f.cjs"),Ce=require("./index-CNUwqfRB.cjs"),ke=require("./index-Dmi6R0kU.cjs"),_e={class:"type-select"},we={class:"group-label"},De={class:"group-items"},xe=["onDragstart"],Be={__name:"index",props:{compContainerRef:Object},emits:[""],setup(X,{emit:k}){const T=G.useModelComp(g.pinia),{itemData:H,activeItemIndex:P}=g.storeToRefs(T),d=k,O=e.ref(null),D=e.computed(()=>{var q,M,V;const N={label:"布局",items:["TABS","LAYOUT"]},S={label:"常用",items:["FORM","TABLE"]},L={label:"高级",items:["STEP","TIMELINE","CHART","SIGNATURE","AVATAR","FOLD"]},x=(q=A.slotContent.value)==null?void 0:q.filter(B=>{var c,n;return(n=N==null?void 0:N.items)==null?void 0:n.includes((c=B==null?void 0:B.type)==null?void 0:c.toUpperCase())}),U=(M=A.slotContent.value)==null?void 0:M.filter(B=>{var c,n;return(n=S==null?void 0:S.items)==null?void 0:n.includes((c=B==null?void 0:B.type)==null?void 0:c.toUpperCase())}),_=(V=A.slotContent.value)==null?void 0:V.filter(B=>{var c,n;return(n=L==null?void 0:L.items)==null?void 0:n.includes((c=B==null?void 0:B.type)==null?void 0:c.toUpperCase())});return[{...N,items:x},{...S,items:U},{...L,items:_}]}),F=(N,S)=>{try{N.dataTransfer.clearData();const L={...S,timestamp:Date.now()};N.dataTransfer.setData("application/json",JSON.stringify(L)),N.dataTransfer.effectAllowed="copyMove",N.target.classList.add("dragging"),d("handleDragStart",S)}catch(L){console.error("Drag start error:",L)}};return(N,S)=>{const L=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",_e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,x=>(e.openBlock(),e.createElementBlock("div",{class:"group-item",key:x==null?void 0:x.label},[e.createElementVNode("div",we,e.toDisplayString(x==null?void 0:x.label),1),e.createElementVNode("div",De,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x==null?void 0:x.items,(U,_)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",title:"鼠标拖动",ref_for:!0,ref_key:"dragItem",ref:O,key:_,draggable:!0,onDragstart:q=>F(q,U)},[e.createVNode(L,{name:U.icon,style:{width:"15px",height:"15px"}},null,8,["name"]),e.createElementVNode("div",null,e.toDisplayString(U.name),1)],40,xe))),128))])]))),128))])}}},Ie=J._export_sfc(Be,[["__scopeId","data-v-951fb5b4"]]),Ne={class:"fill-content"},Ve={class:"overall-config-wrapper"},Ee={class:"operate-content"},be=["onClick"],Te={class:"collapse-title-item",title:"编辑"},Se={key:1},Le=["onClick"],Me={class:"icon-content"},$e={key:0,class:"edit-content"},Re=["onClick"],Ae={title:"设置"},Oe=["onClick"],Fe={class:"parent-main"},Ue={style:{display:"flex","justify-content":"space-between"}},qe={title:"样式"},ze={title:"交互"},Ge={title:"扩展"},He={style:{width:"100%","max-height":"500px",overflow:"auto"}},We={__name:"index",setup(X){const k=G.useModelComp(g.pinia),{itemData:T,originalData:H}=g.storeToRefs(k),P=G.useMenuState(),{activeMenuPath:d}=g.storeToRefs(P);e.ref([]);const O=e.ref([]),D=e.ref([]),F=e.ref([]),N=e.computed(()=>{var c,n,p,i;return((c=r.showItems.value)==null?void 0:c.length)>0&&(n=r.showItems.value)!=null&&n.every(u=>{var I,E;return(u==null?void 0:u.comp)===((E=(I=r.showItems.value)==null?void 0:I[0])==null?void 0:E.comp)})?(i=(p=r.showItems.value)==null?void 0:p[0])==null?void 0:i.comp:null}),S=c=>{var p;let n=(p=g.cloneDeep(D.value))==null?void 0:p.map((i,u)=>(c===u&&(i.content=!0),i));D.value=n},L=c=>{var p;let n=(p=g.cloneDeep(D.value))==null?void 0:p.map((i,u)=>(c===u&&(i.content=!1),i));D.value=n,r.showItems.value=g.cloneDeep(T.value)},x=(c,n)=>{var I;let p=(I=g.cloneDeep(D.value))==null?void 0:I.map((E,l)=>(c===l&&(E.content=!1),E));D.value=p;const i=g.cloneDeep(T.value),u=i==null?void 0:i.filter((E,l)=>(l===c&&(E.name=n),E));k.setOriginalData(u),k.setItemData(u)},U=c=>{const n=g.cloneDeep(T.value),p=n==null?void 0:n.map((i,u)=>((i==null?void 0:i.name)===(c==null?void 0:c.name)?i.isShow=!(c!=null&&c.isShow):i.isShow=i.isShow,i));T.value=p};e.watch(()=>T.value,()=>{var c,n,p,i;!T.value||((c=T.value)==null?void 0:c.length)===0?r.showItems.value=[]:r.showItems.value=(n=T.value)==null?void 0:n.filter(u=>(u==null?void 0:u.comp)!=="methodButton"),O.value=r.showItems.value,D.value=(p=g.cloneDeep(O.value))==null?void 0:p.map((u,I)=>({id:I,content:!1})),F.value=(i=g.cloneDeep(O.value))==null?void 0:i.map((u,I)=>({id:I,isShow:u==null?void 0:u.isShow}))},{deep:!0,immediate:!0});const _=c=>A.getComponent(c),q=(c,n,p,i)=>{var I,E;if(!c)return;let u=g.cloneDeep(T.value);u=(I=u==null?void 0:u.map((l,h)=>{if(i&&h===p){const{compData:s,itemChildData:$}=c;return l.compData=s,l.itemChildData=$,l}return h===p&&(l.compData=c),l}))==null?void 0:I.filter(l=>(l==null?void 0:l.comp)!=="methodButton"),D.value=(E=g.cloneDeep(u))==null?void 0:E.map((l,h)=>({id:h,content:!1})),k.setOriginalData(u),k.setItemData(u)},M=e.ref(null),V=(c,n)=>{if(!n){k.setActiveItemIndex(c);return}k.setActiveItemIndex(-1)},B=c=>{G.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const n=g.cloneDeep(T.value),p=n==null?void 0:n.filter((i,u)=>u!==c);k.setOriginalData(p),k.setItemData(p),k.setActiveItemIndex(-1),g.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(c,n)=>{var E;const p=e.resolveComponent("svg-icon"),i=e.resolveComponent("el-tab-pane"),u=e.resolveComponent("el-card"),I=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",Ne,[n[10]||(n[10]=e.createElementVNode("div",{class:"fill-operate"},"操作栏",-1)),e.createElementVNode("div",Ve,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_(N.value+"style")),{target:"overall",optionItems:e.unref(r.optionItems),compType:N.value,comp:(E=e.unref(r.showItems))==null?void 0:E[0],onChange:e.unref(r.handleStyleChange)},null,40,["optionItems","compType","comp","onChange"]))]),e.createElementVNode("div",Ee,[e.createVNode(ye.default,{class:"collapse-content",collapseContents:e.unref(r.showItems),accordion:!0,onChange:e.unref(r.handleCollapseChange),ref_key:"ssCollapseRef",ref:M},{title:e.withCtx(({item:l,index:h,isActive:s})=>{var $,w,b,o,a,v,f,m,R,z;return[e.createElementVNode("div",{class:"collapse-title-content",onClick:C=>V(h,s)},[e.createElementVNode("div",Te,[(w=($=D.value)==null?void 0:$.find(C=>C.id===h))!=null&&w.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:l.name&&l.name!==""?"8px":"0px"})},e.toDisplayString(l.name),5)),(o=(b=D.value)==null?void 0:b.find(C=>C.id===h))!=null&&o.content?(e.openBlock(),e.createElementBlock("div",Se,[e.createVNode(Ce._sfc_main$2,{modelValue:l.name,"onUpdate:modelValue":C=>l.name=C,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(v=(a=D.value)==null?void 0:a.find(C=>C.id===h))!=null&&v.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(C=>S(h),["stop"]),class:"icon-content"},[e.createVNode(p,{name:"Edit",style:{width:"13px",height:"13px"}})],8,Le))]),e.createElementVNode("div",Me,[(m=(f=D.value)==null?void 0:f.find(C=>C.id===h))!=null&&m.content?(e.openBlock(),e.createElementBlock("div",$e,[e.createVNode(p,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(C=>L(h),["stop"])},null,8,["onClick"]),e.createVNode(p,{name:"Save",onClick:e.withModifiers(C=>x(h,l.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(z=(R=D.value)==null?void 0:R.find(C=>C.id===h))!=null&&z.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(C=>B(h),["stop"]),class:"icon-content"},[e.createVNode(p,{name:"Delete",style:{width:"16px",height:"16px"}})],8,Re))])],8,be)]}),content:e.withCtx(({item:l,index:h})=>[e.createVNode(I,{modelValue:e.unref(r.activeTabName),"onUpdate:modelValue":n[2]||(n[2]=s=>e.isRef(r.activeTabName)?r.activeTabName.value=s:null),class:"config-tabs",onTabClick:V},{default:e.withCtx(()=>[e.createVNode(i,{label:"设置",name:"data"},{label:e.withCtx(()=>[e.createElementVNode("span",Ae,[e.createVNode(p,{name:"LowCodeSetting",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[3]||(n[3]=e.createTextVNode("设置"))])]),default:e.withCtx(()=>{var s,$;return[e.createElementVNode("div",{class:"comp-child",onClick:w=>V(h)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_(l.comp+"Operate")),{itemContents:l==null?void 0:l.compData,originalItemContents:($=(s=O.value)==null?void 0:s.find((w,b)=>b===h))==null?void 0:$.compData,itemChildData:l==null?void 0:l.itemChildData,onChange:(w,b)=>q(w,l,h,b)},null,40,["itemContents","originalItemContents","itemChildData","onChange"]))],8,Oe),e.createElementVNode("div",Fe,[n[5]||(n[5]=e.createElementVNode("div",{class:"operate-title"},[e.createElementVNode("div",null,e.toDisplayString("显隐控制"))],-1)),e.createElementVNode("div",Ue,[n[4]||(n[4]=e.createElementVNode("div",{class:"operate-center-content"},e.toDisplayString("是否显示"),-1)),e.createVNode(Ce._sfc_main$1,{value:F.value.find(w=>w.id===h).isShow,"onUpdate:value":w=>F.value.find(b=>b.id===h).isShow=w,onClick:w=>U(l)},null,8,["value","onUpdate:value","onClick"])])])]}),_:2},1024),e.createVNode(i,{label:"样式",name:"style"},{label:e.withCtx(()=>[e.createElementVNode("span",qe,[e.createVNode(p,{name:"LowCodeStyle",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[6]||(n[6]=e.createTextVNode("样式"))])]),default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_((l==null?void 0:l.comp)+"style")),{target:"alone",compType:l==null?void 0:l.comp,comp:l,optionItems:e.unref(r.optionItems),onChange:s=>e.unref(r.handleStyleChange)(s,l)},null,40,["compType","comp","optionItems","onChange"]))]),_:2},1024),e.createVNode(i,{label:"交互",name:"event"},{label:e.withCtx(()=>[e.createElementVNode("span",ze,[e.createVNode(p,{name:"LowCodeEvent",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[7]||(n[7]=e.createTextVNode("交互"))])]),default:e.withCtx(()=>[n[8]||(n[8]=e.createTextVNode(" 交互 "))]),_:1,__:[8]}),e.createVNode(i,{label:"扩展",name:"extend"},{label:e.withCtx(()=>[e.createElementVNode("span",Ge,[e.createVNode(p,{name:"LowCodeExtend",style:{width:"15px",height:"15px","margin-right":"5px"}}),n[9]||(n[9]=e.createTextVNode("扩展"))])]),default:e.withCtx(()=>[e.createVNode(I,{"tab-position":"left",modelValue:e.unref(r.activeExtendTabName),"onUpdate:modelValue":n[1]||(n[1]=s=>e.isRef(r.activeExtendTabName)?r.activeExtendTabName.value=s:null),class:"extend-tabs",onTabChange:e.unref(r.changeExtendTab)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r.extendTabs),(s,$)=>(e.openBlock(),e.createBlock(i,{key:s==null?void 0:s.name,label:s==null?void 0:s.label,name:s==null?void 0:s.name},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>{var w,b,o;return[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_((w=s==null?void 0:s.component)==null?void 0:w.comp)),{compItem:s==null?void 0:s.component,itemData:(b=s==null?void 0:s.component)==null?void 0:b.compData,childItemData:(o=s==null?void 0:s.component)==null?void 0:o.itemChildData,key:$,level:1,onChange:e.unref(r.handleExtendChange),onOnButtonClick:e.unref(r.clickExtendTable)},null,40,["compItem","itemData","childItemData","onChange","onOnButtonClick"]))]}),_:2},1024)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue","onTabChange"])]),_:1})]),_:2},1032,["modelValue"])]),_:1},8,["collapseContents","onChange"])]),e.createVNode(ke.ssDialog,{class:"task-dialog-wrapper",visible:e.unref(r.extendDialogInfo).show,title:e.unref(r.extendDialogInfo).title,dialogWidth:e.unref(r.extendDialogInfo).width,onBeforeDestroy:e.unref(r.beforeDestroyExtendDialog)},{default:e.withCtx(()=>{var l,h;return[e.createElementVNode("div",He,[e.unref(r.findExtendComp)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_(((l=e.unref(r.findExtendComp))==null?void 0:l.comp)+"extend")),{key:0,target:"alone",comp:e.unref(r.findExtendComp),extendItem:e.unref(r.clickExtendTableRow),compType:(h=e.unref(r.findExtendComp))==null?void 0:h.comp,activeTabName:e.unref(r.activeExtendTabName),relatedData:e.unref(r.taskConfigTable),onChange:e.unref(r.handleExtendChange),onOnButtonClick:e.unref(r.clickTaskFormButton)},null,40,["comp","extendItem","compType","activeTabName","relatedData","onChange","onOnButtonClick"])):e.createCommentVNode("",!0)])]}),_:1},8,["visible","title","dialogWidth","onBeforeDestroy"])])}}},Pe=J._export_sfc(We,[["__scopeId","data-v-0ecba574"]]),Ye={style:{display:"flex"}},Je={style:{display:"flex"}},Xe={key:2},Ke={key:4,style:{"margin-top":"30px"}},je={__name:"index",setup(X){const k=G.useModelComp(g.pinia),{itemData:T,activeItemIndex:H,pageMapState:P}=g.storeToRefs(k),d=e.ref([]),O=e.ref(0),D=e.ref(""),F=G.useMenuState(g.pinia),{activeMenuPath:N}=g.storeToRefs(F),S=e.ref(null),L=e.ref(null),x=e.ref(24),U=e.ref(2),_=e.ref([]),q=e.ref([]),M=e.computed(()=>{var o,a,v;return{default:!c.value&&!B.value&&V.value==="vertical"&&((o=d.value)==null?void 0:o.length)>0,grid:c.value&&!B.value&&V.value==="vertical",tab:V.value==="horizontal"&&((a=d.value)==null?void 0:a.length)>0,step:B.value&&V.value==="vertical"&&((v=d.value)==null?void 0:v.length)>0}}),V=e.computed(()=>{var o,a,v,f;return((o=d.value)==null?void 0:o.length)>0&&((a=d.value)!=null&&a.every(m=>m==null?void 0:m.layout))?(f=(v=d.value)==null?void 0:v[0])==null?void 0:f.layout:"vertical"}),B=e.computed(()=>{var o,a;return(a=(o=d.value)==null?void 0:o[0])==null?void 0:a.isStepLayout}),c=e.computed(()=>{var o,a;return(a=(o=d.value)==null?void 0:o[0])==null?void 0:a.isGridLayout}),n=e.ref(null),p=e.computed(()=>{var o,a,v;return((o=d.value)==null?void 0:o.length)>0&&V.value==="horizontal"?(v=(a=d.value)==null?void 0:a[0])==null?void 0:v.name:""}),i=(o,a)=>{O.value=a,n.value=o},u=o=>{var m;if(!o)return;let a=null;const v=g.cloneDeep(d.value);if(H.value>=0&&(a=v==null?void 0:v[H.value]),a&&a.comp==="Layout"){const{compData:R=[]}=a;((m=R==null?void 0:R.find(C=>{const{key:W}=C;return W==="children"}))==null?void 0:m.contents).push({comp:o.comp,name:o.name,compData:[]}),k.setItemData(v);return}const f=g.cloneDeep(d.value);f.push({comp:o.comp,name:o.name,compData:[]}),k.setItemData(f),w(f)},I=o=>{o.preventDefault(),o.dataTransfer.dropEffect="copy"},E=async o=>{try{const a=o.dataTransfer.getData("application/json");if(!a)return;const v=JSON.parse(a),f=await l(o),m=h(v,f);await e.nextTick(),s(m),u(JSON.parse(a||"")),console.log("drop"),$()}catch(a){console.error("Drop error:",a),$()}},l=async o=>S.value?new Promise(a=>{requestAnimationFrame(()=>{const v=S.value.getBoundingClientRect(),f=o.clientX-v.left,m=o.clientY,R=Math.floor(f/(v.width/x.value)),z=Math.floor(m/(v.width/x.value));a({x:Math.max(0,R),y:Math.max(0,z),w:x.value,h:U.value})})}):{x:0,y:0},h=(o,a)=>{var f,m;const v=`item_${Date.now()}_${(m=(f=Math.random())==null?void 0:f.toString(36))==null?void 0:m.substring(2,9)}`;return{i:v,id:v,x:a.x,y:a.y,w:a.w,h:a.h,component:o,minW:2,minH:2}},s=o=>{w([..._.value,o],!0)},$=()=>{document.querySelectorAll(".dragging").forEach(o=>{o.classList.remove("dragging")})},w=(o,a)=>{_.value=a?o:A.generateLayouts(o),k.setItemGridData({pageKey:N.value,results:_.value}),F.setContentLoading(!1)};e.watch(()=>M.value.step,o=>{var a;o&&i((a=d.value)==null?void 0:a[0],1)},{immediate:!0}),e.watch(()=>M.value.grid,o=>{var a,v;!o&&((a=_.value)==null?void 0:a.length)>0&&k.setItemGridData({pageKey:N.value,results:(v=_.value)==null?void 0:v.map(f=>f==null?void 0:f.id),isDelete:!0})},{immediate:!0}),e.watch(()=>T.value,o=>{var a,v,f;F.setContentLoading(!0),d.value=!o||(o==null?void 0:o.length)===0?[]:(a=g.cloneDeep(o))==null?void 0:a.filter(m=>!(m!=null&&m.affix)||(m==null?void 0:m.affix)==="default"),q.value=!o||(o==null?void 0:o.length)===0?[]:(v=g.cloneDeep(o))==null?void 0:v.filter(m=>(m==null?void 0:m.affix)&&(m==null?void 0:m.affix)!=="default"),(f=M.value)!=null&&f.grid&&w(d.value)},{deep:!0,immediate:!0});const b=o=>A.getComponent(o);return(o,a)=>{var z,C,W,K,j,Q,Z,ee,te,oe,ne,ae;const v=e.resolveComponent("el-tab-pane"),f=e.resolveComponent("el-tabs"),m=e.resolveComponent("el-step"),R=e.resolveComponent("el-steps");return e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:S,class:"low-code-wrapper",onDragover:I,onDrop:E},[(z=M.value)!=null&&z.default?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(d.value,(t,y)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:y},[e.createElementVNode("div",Ye,e.toDisplayString(t.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b(t.comp)),{itemData:t==null?void 0:t.compData,childItemData:t==null?void 0:t.itemChildData,key:y,config:{showIndex:t==null?void 0:t.showIndex,allowMove:t==null?void 0:t.allowMove,viewport:t==null?void 0:t.viewport},pageLayout:V.value,parentTableId:t==null?void 0:t.tableId,children:t==null?void 0:t.children,level:1},null,8,["itemData","childItemData","config","pageLayout","parentTableId","children"]))]))),128)):e.createCommentVNode("",!0),(C=M.value)!=null&&C.grid?(e.openBlock(),e.createBlock(e.unref(A.De),{key:1,ref_key:"gridLayoutRef",ref:L,layout:_.value,"onUpdate:layout":a[0]||(a[0]=t=>_.value=t),"prevent-collision":!1,"is-draggable":!0,"is-resizable":!0,responsive:!1,"col-num":24,margin:[8,16]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(t,y)=>{var Y,le;return e.openBlock(),e.createBlock(e.unref(A.st),{key:t.i,x:t.x,y:t.y,"min-h":t.minH,"max-h":t.maxH,"min-w":t.minW,w:t.w,h:e.unref(A.verifyButton)((Y=d.value[y])==null?void 0:Y.comp)?0:t.h,i:t.i,class:e.normalizeClass(e.unref(A.verifyButton)((le=d.value[y])==null?void 0:le.comp)?"grid-method-button":"")},{default:e.withCtx(()=>{var ce,re,se,ie,ue,de,pe,ve,me,he,fe,ge;return[e.createTextVNode(e.toDisplayString(t.h)+" ",1),e.createElementVNode("div",{class:e.normalizeClass((re=q.value)!=null&&re.includes((ce=t==null?void 0:t.component)==null?void 0:ce.id)?"comp-wrapper affix-content":"comp-wrapper")},[e.createElementVNode("div",Je,e.toDisplayString((se=d.value[y])==null?void 0:se.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b((ie=d.value[y])==null?void 0:ie.comp)),{pageLayout:V.value,itemData:(ue=d.value[y])==null?void 0:ue.compData,childItemData:(de=d.value[y])==null?void 0:de.itemChildData,index:((pe=d.value[y])==null?void 0:pe.id)??y,parentTableId:(ve=d.value[y])==null?void 0:ve.tableId,children:(me=d.value[y])==null?void 0:me.children,level:1,config:{showIndex:(he=d.value[y])==null?void 0:he.showIndex,allowMove:(fe=d.value[y])==null?void 0:fe.allowMove,viewport:(ge=d.value[y])==null?void 0:ge.viewport}},null,8,["pageLayout","itemData","childItemData","index","parentTableId","children","config"]))],2)]}),_:2},1032,["x","y","min-h","max-h","min-w","w","h","i","class"])}),128))]),_:1},8,["layout"])):e.createCommentVNode("",!0),(W=M.value)!=null&&W.tab?(e.openBlock(),e.createElementBlock("div",Xe,[e.createVNode(f,{modelValue:p.value,"onUpdate:modelValue":a[1]||(a[1]=t=>p.value=t),type:"card",class:"display-tabs"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(t,y)=>(e.openBlock(),e.createBlock(v,{key:t.i,label:t==null?void 0:t.name,name:t==null?void 0:t.name},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b(t==null?void 0:t.comp)),{pageLayout:V.value,itemData:t==null?void 0:t.compData,childItemData:t==null?void 0:t.itemChildData,key:y,config:{showIndex:t==null?void 0:t.showIndex,allowMove:t==null?void 0:t.allowMove,viewport:t==null?void 0:t.viewport}},null,8,["pageLayout","itemData","childItemData","config"]))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),(K=M.value)!=null&&K.step?(e.openBlock(),e.createBlock(R,{key:3,direction:"horizontal",active:O.value,"align-center":!0,class:"display-steps"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(t,y)=>(e.openBlock(),e.createBlock(m,{key:y,class:"step-item",status:D.value,onClick:Y=>i(t,y+1)},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t==null?void 0:t.name),1)]),_:2},1032,["status","onClick"]))),128))]),_:1},8,["active"])):e.createCommentVNode("",!0),(j=M.value)!=null&&j.step?(e.openBlock(),e.createElementBlock("div",Ke,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b((Q=n.value)==null?void 0:Q.comp)),{pageLayout:V.value,itemData:(Z=n.value)==null?void 0:Z.compData,childItemData:(ee=n.value)==null?void 0:ee.itemChildData,key:(te=n.value)==null?void 0:te.id,config:{showIndex:(oe=n.value)==null?void 0:oe.showIndex,allowMove:(ne=n.value)==null?void 0:ne.allowMove,viewport:(ae=n.value)==null?void 0:ae.viewport}},null,8,["pageLayout","itemData","childItemData","config"]))])):e.createCommentVNode("",!0)],544)}}},Qe=J._export_sfc(je,[["__scopeId","data-v-4aa8798c"]]);exports.modelFill=Pe;exports.modelSelect=Ie;exports.modelShow=Qe;
|