mixdashboards 1.0.71 → 1.0.73
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/{BaseComponent-D5tlYehc.js → BaseComponent-CBagahPU.js} +138 -109
- package/dist/BaseComponent-Chnv4fBT.cjs +1 -0
- package/dist/{EChartComponentBase-CAabYXSj.js → EChartComponentBase-cFfawl6h.js} +2 -2
- package/dist/{EChartComponentBase-D4wMej9X.cjs → EChartComponentBase-dLE5F7Tt.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-Th4ZNdCb.js → EmergencyPlanPanel--jTGG89o.js} +1 -1
- package/dist/{EmergencyPlanPanel-D96XjhRq.cjs → EmergencyPlanPanel-BJb-Bbxh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-rn2Bp0Gx.cjs → HistoryPlanDialog-C-QPdV4V.cjs} +1 -1
- package/dist/{HistoryPlanDialog-D2mQLhkO.js → HistoryPlanDialog-DerClU2U.js} +1 -1
- package/dist/{MonitoringMap-BZ98NYTJ.cjs → MonitoringMap-B6RMbiIS.cjs} +1 -1
- package/dist/{MonitoringMap-Coozb35G.js → MonitoringMap-CNaGsq83.js} +2 -2
- package/dist/UniverSheet-CM-vvc23.cjs +1 -0
- package/dist/{UniverSheet-CJCunVAM.js → UniverSheet-KI09RqKm.js} +16 -15
- package/dist/{accelerationChart-DacjcSHD.js → accelerationChart-D7KNk5fI.js} +61 -59
- package/dist/accelerationChart-HBCb2bRW.cjs +6 -0
- package/dist/{actionItem-d-4p5HZK.js → actionItem-BmNYzAXu.js} +48 -41
- package/dist/actionItem-Bx4mW0jP.cjs +1 -0
- package/dist/alarmLevelChart-Cvnw4z1w.cjs +2 -0
- package/dist/{alarmLevelChart-DddN1NVy.js → alarmLevelChart-DdSw2s7W.js} +91 -46
- package/dist/{alertTable-Q-Waa5jf.js → alertTable-CC3c8DFb.js} +40 -39
- package/dist/alertTable-hH6HA9pY.cjs +1 -0
- package/dist/aliasObjectSelectorDemo-C7E_fnCf.cjs +1 -0
- package/dist/{aliasObjectSelectorDemo-BZygQw9k.js → aliasObjectSelectorDemo-yDiavTpG.js} +11 -10
- package/dist/{annualRainfallChart-CthANCvn.js → annualRainfallChart-B9ar8vo8.js} +32 -30
- package/dist/annualRainfallChart-C6JLSPIf.cjs +1 -0
- package/dist/{aqi-C_HnKsjh.js → aqi-BNc5QCM3.js} +21 -19
- package/dist/{aqi-BFW_8xYd.cjs → aqi-DEiCVIVa.cjs} +3 -3
- package/dist/aqiIndass-Bowic_Pc.cjs +3 -0
- package/dist/{aqiIndass-NVRa3lmj.js → aqiIndass-CAGV8_Uf.js} +41 -40
- package/dist/{areaDeformCurve-mQiOHdtN.js → areaDeformCurve-CSpR060t.js} +51 -49
- package/dist/areaDeformCurve-CVy23kV2.cjs +1 -0
- package/dist/arrayCard-NqoQKcE9.cjs +1 -0
- package/dist/{arrayCard-DZitcjMs.js → arrayCard-PPDb7U6X.js} +29 -28
- package/dist/{audio-CDAMVEgC.js → audio-BJPFIQIr.js} +42 -41
- package/dist/audio-Bw-GaYe1.cjs +1 -0
- package/dist/{bar--JrlRud9.js → bar-C38h_mUA.js} +72 -70
- package/dist/{bar-C7uQADV1.cjs → bar-Cru6WosS.cjs} +2 -2
- package/dist/bmp-BXaEkkpa.cjs +1 -0
- package/dist/{bmp-DrVcnYxy.js → bmp-BnSOaFEr.js} +15 -14
- package/dist/box-CKuGsh2k.cjs +1 -0
- package/dist/{box-szcLhted.js → box-DIHVOqrV.js} +58 -57
- package/dist/chartConfigPanel-BVdVXbs6.cjs +1 -0
- package/dist/{chartConfigPanel-C32o1gyJ.js → chartConfigPanel-D1rO6SGh.js} +86 -79
- package/dist/{circleBar-CeL2rqMJ.cjs → circleBar-BzXqA-Cz.cjs} +3 -3
- package/dist/{circleBar-BmTjsLHo.js → circleBar-CBLcp4Xi.js} +27 -25
- package/dist/{clock-CuQpD76K.js → clock-4AMfFDGC.js} +35 -34
- package/dist/clock-DmWyBpo-.cjs +1 -0
- package/dist/clt-CmPPtp9c.cjs +1 -0
- package/dist/{clt-XCswxZ6i.js → clt-D5i_8-pq.js} +60 -59
- package/dist/cmc-8jH3DGv9.cjs +1 -0
- package/dist/{cmc-CXmAv6fz.js → cmc-Cjb5w3om.js} +23 -22
- package/dist/{cmp-Duz_v-LC.js → cmp-COJzlQPa.js} +19 -18
- package/dist/{cmp-DmpxjexT.cjs → cmp-CpmGtNal.cjs} +2 -2
- package/dist/{composite-CWgy-w61.js → composite-CsFgfxih.js} +37 -36
- package/dist/{composite-DdHASMFQ.cjs → composite-DLmzZNIj.cjs} +3 -3
- package/dist/{conclusionCard-BtB0rARK.js → conclusionCard-BQUlLFde.js} +15 -14
- package/dist/conclusionCard-C-TT6znN.cjs +1 -0
- package/dist/{controlList-C0AQ8Yb8.js → controlList-5D5UIDQL.js} +40 -38
- package/dist/controlList-CIwzKylK.cjs +1 -0
- package/dist/{controlRecordList-CSPKG1HU.js → controlRecordList-Cp5mmEQ1.js} +55 -53
- package/dist/controlRecordList-uEQ3ohmB.cjs +1 -0
- package/dist/controlRecordListAPP-B5d4x_xH.cjs +1 -0
- package/dist/controlRecordListAPP-p_skbQVD.js +502 -0
- package/dist/{crd-DQruf9o3.js → crd-8gRWMf2Y.js} +14 -13
- package/dist/crd-Dfl2XKAx.cjs +1 -0
- package/dist/{ctrBtn-jEWTt_f2.js → ctrBtn-BzmFxucy.js} +106 -107
- package/dist/ctrBtn-OOgL9esv.cjs +1 -0
- package/dist/{ctrSet-C4wCODMY.js → ctrSet-Btg2T9w6.js} +24 -23
- package/dist/ctrSet-CifyJt05.cjs +1 -0
- package/dist/ctrSwitch-6nMHbIE7.js +206 -0
- package/dist/ctrSwitch-C8mwxLPe.cjs +1 -0
- package/dist/{dataManagement-BQVZS7Hi.js → dataManagement-BZiSmktM.js} +52 -45
- package/dist/dataManagement-sQpuBaDz.cjs +1 -0
- package/dist/{dataReport-vP1LBJjE.js → dataReport-CbJzXeCE.js} +25 -24
- package/dist/{dataReport-DRopth3A.cjs → dataReport-D9Q9c43B.cjs} +2 -2
- package/dist/{dataTable-C2AgSR36.cjs → dataTable-BJ4SVFbu.cjs} +1 -1
- package/dist/{dataTable-B1FQ3XIq.js → dataTable-BuBB0b-A.js} +1 -1
- package/dist/datetime-B66VgJL1.cjs +1 -0
- package/dist/{datetime-DU3rzi1v.js → datetime-DO03QrXz.js} +25 -24
- package/dist/deepClusterSlipSurface-BqT55vkY.cjs +1 -0
- package/dist/{deepClusterSlipSurface-BHwB0eu9.js → deepClusterSlipSurface-DpSAXgFf.js} +45 -43
- package/dist/{deepDataMatrix-C3uKZmon.js → deepDataMatrix-CPrIOv5r.js} +46 -45
- package/dist/deepDataMatrix-DZZaTMbD.cjs +1 -0
- package/dist/{deepDisplacement3D-BBYgB-rK.cjs → deepDisplacement3D-Cd9nwwPt.cjs} +3 -3
- package/dist/{deepDisplacement3D-CDNPul6D.js → deepDisplacement3D-JlMej7-5.js} +9 -7
- package/dist/{deepDisplacementChart-C_pwwgIC.js → deepDisplacementChart-BiDt60xI.js} +89 -88
- package/dist/deepDisplacementChart-CALM3gna.cjs +5 -0
- package/dist/deepDisplacementChart-CEaj2bUV.cjs +6 -0
- package/dist/{deepDisplacementChart-C6GQHO-J.js → deepDisplacementChart-CjlGpeHj.js} +54 -52
- package/dist/{deepDisplacementView-C837RNer.js → deepDisplacementView-BpUw-b-i.js} +37 -36
- package/dist/deepDisplacementView-CoSNzN1q.cjs +8 -0
- package/dist/deepNodeTemperatureChart-DPN0rYir.cjs +1 -0
- package/dist/{deepNodeTemperatureChart-BcH3ZNi4.js → deepNodeTemperatureChart-DfZq7kLx.js} +50 -48
- package/dist/{deepTangentAngleChart-DSpCyIdq.js → deepTangentAngleChart-Ca01hah9.js} +92 -90
- package/dist/deepTangentAngleChart-Dg9PJspK.cjs +1 -0
- package/dist/deepTemperatureField-BqDB97SW.cjs +1 -0
- package/dist/{deepTemperatureField-B2qIHL1-.js → deepTemperatureField-CYBTjhEp.js} +95 -93
- package/dist/deepTrendChart-B5BAHTeY.cjs +1 -0
- package/dist/{deepTrendChart-DFGSV17a.js → deepTrendChart-DBjxV7_A.js} +56 -54
- package/dist/{deviceOnlineStatus-CiIFdo9I.js → deviceOnlineStatus-1eoHCl_-.js} +58 -50
- package/dist/deviceOnlineStatus-DHzaAzCp.cjs +2 -0
- package/dist/deviceStatus-4BMy4qBD.cjs +1 -0
- package/dist/{deviceStatus-Dd1pqVnO.js → deviceStatus-90rQa1uj.js} +61 -60
- package/dist/{displacementDataTable-CGIHGxye.js → displacementDataTable-BArwj-xp.js} +52 -51
- package/dist/displacementDataTable-BLWjiaRQ.cjs +1 -0
- package/dist/{displacementTrajectoryChart-RL97CTML.js → displacementTrajectoryChart-CxOPJVlD.js} +34 -32
- package/dist/displacementTrajectoryChart-DfJMOCFJ.cjs +22 -0
- package/dist/{displacementTrendChart-Bqnv7hiP.js → displacementTrendChart-4E6cDsX8.js} +49 -48
- package/dist/displacementTrendChart-Cuxa5iTp.cjs +5 -0
- package/dist/{dxf-BQoArgPS.cjs → dxf-BgklkksV.cjs} +1 -1
- package/dist/{dxf-DBu1iA-r.js → dxf-BogwbJID.js} +5 -4
- package/dist/{dzc-DMVPjosV.cjs → dzc-CApfzriC.cjs} +2 -2
- package/dist/{dzc-7tLxe18d.js → dzc-D7tTBLaA.js} +24 -22
- package/dist/emergencyPlan-BuFz4XFc.cjs +1 -0
- package/dist/{emergencyPlan-C9Edkw51.js → emergencyPlan-CjbuX-N5.js} +19 -18
- package/dist/evn-BcSenXF3.cjs +1 -0
- package/dist/{evn-CeLoYCUr.js → evn-DTPm72ZM.js} +23 -22
- package/dist/evolutionChart-CrwR8i40.cjs +1 -0
- package/dist/{evolutionChart-DAlncdLU.js → evolutionChart-D1dVKWOt.js} +25 -23
- package/dist/{fileViewer-BFMFEN2f.js → fileViewer-BNHwlZRa.js} +57 -56
- package/dist/fileViewer-BUuST3Rp.cjs +1 -0
- package/dist/filterBar-BJzjPFFg.cjs +1 -0
- package/dist/{filterBar-qJJKdxYE.js → filterBar-CRJinh5K.js} +44 -43
- package/dist/fireCombustionCurve-BGdJ1ybj.cjs +1 -0
- package/dist/{fireCombustionCurve-DyRikhHw.js → fireCombustionCurve-BZ6qJ1kq.js} +69 -67
- package/dist/fireFilterBar-DZejT0oL.cjs +1 -0
- package/dist/{fireFilterBar-DkjBGPXa.js → fireFilterBar-KvvbsCsZ.js} +25 -24
- package/dist/{fireHistoryTable-ldXil5up.js → fireHistoryTable-80ygqnOG.js} +73 -65
- package/dist/fireHistoryTable-CMSGKb3w.cjs +3 -0
- package/dist/gag-1bvAZ5m6.cjs +1 -0
- package/dist/{gag-KZfFHn72.js → gag-D2obj7AF.js} +30 -28
- package/dist/{gasStationList-Btoo_olJ.js → gasStationList-DM-laJsi.js} +527 -526
- package/dist/gasStationList-DjJtXnqL.cjs +1 -0
- package/dist/{geo3dViewer-Cif9uFqd.cjs → geo3dViewer-CL_89mQf.cjs} +1 -1
- package/dist/{geo3dViewer-iZhkCiTP.js → geo3dViewer-FhmMIvMJ.js} +12 -5
- package/dist/{glbModel-MJZgDSJf.js → glbModel-B0nWYYJQ.js} +19 -18
- package/dist/{glbModel-2xydaxDT.cjs → glbModel-DakMJal6.cjs} +3 -3
- package/dist/{globalObjectSelector-CHtYGpi9.js → globalObjectSelector-Gv4srHhp.js} +79 -78
- package/dist/globalObjectSelector-jNzZxdnL.cjs +1 -0
- package/dist/{gnssFilterBar-CPis6bUI.js → gnssFilterBar-C4rpyNw3.js} +70 -63
- package/dist/gnssFilterBar-kEIW7Tjs.cjs +1 -0
- package/dist/{gnssHistoryTable-kHZY48EZ.js → gnssHistoryTable-CyMwQJ7_.js} +58 -50
- package/dist/gnssHistoryTable-DRKlP8-b.cjs +3 -0
- package/dist/{gnssMapView-BNIkieqL.cjs → gnssMapView-DpExCi0x.cjs} +4 -4
- package/dist/{gnssMapView-DXP8yz0v.js → gnssMapView-EVufCGrW.js} +174 -167
- package/dist/{gnssSectionProfile-DEUDEvJ1.js → gnssSectionProfile-CaJwF9wp.js} +41 -34
- package/dist/gnssSectionProfile-DdcOMdNC.cjs +1 -0
- package/dist/{gnssTimeSeriesChart-C_xqd0su.js → gnssTimeSeriesChart-iffDvMNx.js} +57 -49
- package/dist/gnssTimeSeriesChart-y11Y8k2-.cjs +1 -0
- package/dist/{gnssXYTrajectory-GqgFw_qK.js → gnssXYTrajectory-C_1fuLWn.js} +53 -45
- package/dist/gnssXYTrajectory-DGBGGDwi.cjs +5 -0
- package/dist/grd-C4hCrpvH.cjs +1 -0
- package/dist/{grd-QCuVN1jE.js → grd-FfuMQJb7.js} +43 -42
- package/dist/{grdIndass-BEcfZTYw.js → grdIndass-BTbZmPLZ.js} +30 -29
- package/dist/grdIndass-CyuRKD5H.cjs +1 -0
- package/dist/{grg-CMVrF5tB.js → grg-CcnI5kRY.js} +27 -26
- package/dist/grg-Cuxa17d6.cjs +1 -0
- package/dist/gridview-CKjBuTRq.cjs +1 -0
- package/dist/{gridview-Cd3Tqzph.js → gridview-ffVc5Wvg.js} +32 -31
- package/dist/groundwaterFilterBar-D3l7GLVY.cjs +1 -0
- package/dist/{groundwaterFilterBar-D7lrbzDC.js → groundwaterFilterBar-DaPR-kbl.js} +13 -12
- package/dist/groundwaterProfileChart-BxJKIPXF.cjs +11 -0
- package/dist/{groundwaterProfileChart-Bjtqz-Zv.js → groundwaterProfileChart-DoSx7WWp.js} +42 -40
- package/dist/groundwaterTimeCurve-Bp5MxM9k.cjs +1 -0
- package/dist/{groundwaterTimeCurve-Bu6vgAaC.js → groundwaterTimeCurve-D-SdVYeq.js} +57 -55
- package/dist/{groupCard-CPvAsuPb.cjs → groupCard-BzUQ8xY0.cjs} +1 -1
- package/dist/{groupCard-DQvEe6cc.js → groupCard-COMEkzIb.js} +29 -28
- package/dist/headerBar-iFe0YQKE.cjs +1 -0
- package/dist/{headerBar-CGOtSvFn.js → headerBar-ouXO8bzC.js} +48 -47
- package/dist/{history-D6C3tSut.js → history-BZ869y2d.js} +18 -18
- package/dist/{history-9ToM-rJ6.cjs → history-MxYUUwkm.cjs} +1 -1
- package/dist/index-DVqMfQVc.cjs +612 -0
- package/dist/{index-Bdq33405.js → index-DwPJu6XM.js} +1159 -1128
- package/dist/{insarDeformChart-Ls-cdqaP.js → insarDeformChart-5BhCUq8L.js} +24 -17
- package/dist/insarDeformChart-Ca3AMsBk.cjs +1 -0
- package/dist/{insarImageViewer-Dnke9JDG.js → insarImageViewer-DHNxmLpa.js} +41 -34
- package/dist/insarImageViewer-DWPsoHz6.cjs +1 -0
- package/dist/{kds-B4BKGG0r.js → kds-BYZC4pIM.js} +57 -50
- package/dist/{kds-BjX5tXhF.cjs → kds-Dpf_3WWj.cjs} +2 -2
- package/dist/{kpiCard-C77vHJ_E.js → kpiCard-CStPtl-c.js} +5 -4
- package/dist/kpiCard-OLJgA48-.cjs +2 -0
- package/dist/{landslideMap-BEkbnCqP.js → landslideMap-BUq0x7rd.js} +34 -33
- package/dist/landslideMap-JTdoQjW-.cjs +1 -0
- package/dist/{landslideWarning-C5upI2cf.js → landslideWarning-VAn9XGUj.js} +55 -54
- package/dist/landslideWarning-ZA5LCsIr.cjs +1 -0
- package/dist/{layerTabs-DoGw1Jfv.js → layerTabs-CAJ6f-2W.js} +40 -38
- package/dist/layerTabs-CdhowHB1.cjs +1 -0
- package/dist/{leaflet-src-BUWIqhPn.cjs → leaflet-src-CxFQ_Cn7.cjs} +1 -1
- package/dist/{leaflet-src-DFE_g2gF.js → leaflet-src-DNO2-OsP.js} +1 -1
- package/dist/{lerc-CXc9KSRL.js → lerc-bF2jqjoV.js} +2 -2
- package/dist/{lerc-BBgQP785.cjs → lerc-qU4WKXeS.cjs} +1 -1
- package/dist/{lin-ClO2MqZl.cjs → lin-BHI2KgyW.cjs} +2 -2
- package/dist/{lin-Difz8N88.js → lin-DbQw7wZw.js} +20 -18
- package/dist/linIndass-CIrObeZT.cjs +2 -0
- package/dist/{linIndass-DqXVOBh3.js → linIndass-Cd9Hjzs_.js} +31 -30
- package/dist/lst-BRsEe-Hq.cjs +1 -0
- package/dist/{lst-4RMMZZkY.js → lst-C3C2m1v_.js} +40 -39
- package/dist/{manualEntry-B3_4Z-Lj.js → manualEntry-B8TDMcDg.js} +29 -22
- package/dist/manualEntry-C3_WtYz8.cjs +1 -0
- package/dist/{mapBackground-B3OHQsXZ.js → mapBackground-BrVIQUcT.js} +21 -20
- package/dist/{mapBackground-Bmt-oZt6.cjs → mapBackground-Du7R_ICY.cjs} +2 -2
- package/dist/{mappingList-DVj7H206.js → mappingList-BpJUawmv.js} +22 -20
- package/dist/mappingList-C5OZ8oUx.cjs +1 -0
- package/dist/{markdownViewer-fheM5uV4.js → markdownViewer-CoRrvdY7.js} +16 -15
- package/dist/{markdownViewer-BAuNEWRt.cjs → markdownViewer-D96bwxEt.cjs} +2 -2
- package/dist/materialFileUrl-CubtnHeq.js +108 -0
- package/dist/materialFileUrl-DfPNm265.cjs +1 -0
- package/dist/{mix-control-modal-BoYynGT2.cjs → mix-control-modal-DwxwW65v.cjs} +1 -1
- package/dist/{mix-control-modal-BBiKe4MM.js → mix-control-modal-Qg_mzyT_.js} +1 -1
- package/dist/{mixGrid-BUjP1qv2.js → mixGrid-CtJWul6c.js} +44 -43
- package/dist/mixGrid-Hj0OJjkg.cjs +1 -0
- package/dist/mixMap-CJzmC0IR.cjs +1 -0
- package/dist/{mixMap-DPIwyKuP.js → mixMap-E36SDnEa.js} +36 -35
- package/dist/mixModel-BMRxhvWn.cjs +3 -0
- package/dist/{mixModel-CIdQp4V9.js → mixModel-_McJ6OuH.js} +30 -29
- package/dist/{mixPie-C6OhdOCV.js → mixPie-CMOkAe9p.js} +31 -30
- package/dist/mixPie-MAKXeYVp.cjs +2 -0
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BaeBL318.js +82 -0
- package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +1 -0
- package/dist/mjpegCamera-BY7pmbDc.cjs +1 -0
- package/dist/{mjpegCamera-Cd1vhZ5v.js → mjpegCamera-Dc4IsJA6.js} +12 -11
- package/dist/monitorAlert-DVNvJyTy.cjs +1 -0
- package/dist/{monitorAlert-DIJtH557.js → monitorAlert-F8QFOchR.js} +45 -44
- package/dist/monitorData-AkPbhJ9q.cjs +1 -0
- package/dist/{monitorData-B6jhpzVK.js → monitorData-BzqNIdrW.js} +61 -59
- package/dist/{monitorSpeedChart-DF5zvxs9.js → monitorSpeedChart-348U37LW.js} +22 -21
- package/dist/{monitorSpeedChart-EIcGs3NX.cjs → monitorSpeedChart-DVH1xihw.cjs} +2 -2
- package/dist/{mxa-COxjxwpC.js → mxa-CkJjCHA-.js} +29 -27
- package/dist/{mxa-BfwIV49n.cjs → mxa-DShU528J.cjs} +2 -2
- package/dist/myValue-BCeycpdO.cjs +1 -0
- package/dist/{myValue-Crba15Wc.js → myValue-CEfp19i2.js} +17 -16
- package/dist/myValueList-CAPOW8TK.cjs +1 -0
- package/dist/{myValueList-m2yaIcuf.js → myValueList-y3GR4AX2.js} +41 -40
- package/dist/objectList-4rYQk5uq.cjs +1 -0
- package/dist/{objectList-BwZJzrXs.js → objectList-D16yLbzD.js} +538 -599
- package/dist/objectListAPP-DCwTyqFp.js +1864 -0
- package/dist/objectListAPP-Db5beOAM.cjs +1 -0
- package/dist/photo-BV6rkbWO.js +811 -0
- package/dist/photo-D67wLRkY.cjs +1 -0
- package/dist/{pie-CSLVJv0Y.cjs → pie-BeRwVkTk.cjs} +2 -2
- package/dist/{pie-C9MU90ON.js → pie-bNKhq6ak.js} +16 -14
- package/dist/{placeholder-CRARTMF4.js → placeholder-_iK4rVyU.js} +26 -25
- package/dist/placeholder-zByzfWaH.cjs +1 -0
- package/dist/{pressBtn-CkYcW1a8.js → pressBtn-B-rZPXK2.js} +124 -124
- package/dist/pressBtn-BjqYIPC-.cjs +1 -0
- package/dist/processTable-ByPlSKRJ.cjs +3 -0
- package/dist/{processTable-BgAhGGAq.js → processTable-s_y8uups.js} +12 -11
- package/dist/{progressBar-BbDFps1r.cjs → progressBar-CRdA7oJT.cjs} +1 -1
- package/dist/{progressBar-CIPUVeaf.js → progressBar-DskxZk1P.js} +19 -18
- package/dist/{progressCircle-DDc5zsd6.js → progressCircle-BE_Am-AP.js} +13 -12
- package/dist/{progressCircle-CgkZ1EC1.cjs → progressCircle-CHe-12Hb.cjs} +1 -1
- package/dist/{qrcode-CQbWGVgq.cjs → qrcode-D8cFyUpL.cjs} +1 -1
- package/dist/{qrcode-CCu677Ad.js → qrcode-Dgth6KwU.js} +39 -38
- package/dist/{raceBar-CzNGSYCt.cjs → raceBar-CeybrpCB.cjs} +3 -3
- package/dist/{raceBar-Cn8oPhCE.js → raceBar-DV-3KFg2.js} +18 -16
- package/dist/rad-BerkC70H.cjs +1 -0
- package/dist/{rad-D_cLWeMk.js → rad-BhsfF0XI.js} +22 -20
- package/dist/{radarMapViewer-BaAXjsWx.js → radarMapViewer-C2dde8EN.js} +82 -81
- package/dist/radarMapViewer-HWzvBTzT.cjs +1 -0
- package/dist/{rainfallFilterBar-Bhpadat8.js → rainfallFilterBar-CiT1mvYh.js} +22 -21
- package/dist/rainfallFilterBar-kuAQO0M-.cjs +1 -0
- package/dist/rainfallTimeCurve-7uHaSkuE.cjs +1 -0
- package/dist/{rainfallTimeCurve-sDYapogL.js → rainfallTimeCurve-BlOnCq2M.js} +58 -56
- package/dist/rangeLin-BQeWFL_E.cjs +3 -0
- package/dist/{rangeLin-CdMOPwMP.js → rangeLin-BvKd8kEv.js} +32 -31
- package/dist/realtimeEvolutionMap-BUnD3JjE.cjs +1 -0
- package/dist/{realtimeEvolutionMap-CIH_sZ29.js → realtimeEvolutionMap-DZ6yniwl.js} +46 -44
- package/dist/regionBar-mMaN5NEc.cjs +3 -0
- package/dist/{regionBar-VB-2GpR0.js → regionBar-vp5D52Jd.js} +14 -13
- package/dist/{request-BHfDxLXZ.js → request-CMbwWTDF.js} +9 -9
- package/dist/{request-DU8pRyvu.cjs → request-DegEaaCG.cjs} +1 -1
- package/dist/retainer1-CF2Tr7Zt.cjs +1 -0
- package/dist/{retainer1-C_109Weq.js → retainer1-Xvdlh-B_.js} +17 -16
- package/dist/retainer2-BQVUhgcH.cjs +1 -0
- package/dist/{retainer2-BiHUTumr.js → retainer2-D3a-c_BA.js} +43 -42
- package/dist/{retainerRecordList-Cgil_g8a.js → retainerRecordList-BJbPsJ4D.js} +47 -45
- package/dist/retainerRecordList-Rqnoz6_6.cjs +1 -0
- package/dist/retainerRecordListAPP-B4IDQK3C.cjs +1 -0
- package/dist/retainerRecordListAPP-CNntGyA-.js +1068 -0
- package/dist/{ringTopN-C9AH-t3T.js → ringTopN-BFKlXqGX.js} +18 -16
- package/dist/ringTopN-CsouIsk1.cjs +1 -0
- package/dist/{riskRegionTable-Co1uxMzf.js → riskRegionTable-B6k4uM0_.js} +26 -19
- package/dist/riskRegionTable-DttMvHe5.cjs +1 -0
- package/dist/sankey-CAuBQaYh.cjs +1 -0
- package/dist/{sankey-Bag0ladh.js → sankey-DEQK7uU6.js} +17 -15
- package/dist/{scd-D9AiOiPg.js → scd-D5TicpCZ.js} +1282 -1062
- package/dist/scd-qaap6hGW.cjs +1 -0
- package/dist/{sideMenu-869HFB0p.js → sideMenu-ByyrOOYh.js} +28 -27
- package/dist/sideMenu-D-73DoYb.cjs +1 -0
- package/dist/{slopeStability-bZ0lHLjZ.js → slopeStability-BtgMH3oW.js} +44 -42
- package/dist/slopeStability-CTN6Kpva.cjs +1 -0
- package/dist/speedCurve-C5NoQCjK.cjs +1 -0
- package/dist/{speedCurve-DZ52XKCk.js → speedCurve-CInn7NAC.js} +43 -41
- package/dist/staticLine-BC-zj5yZ.cjs +1 -0
- package/dist/{staticLine-CyPnmKCh.js → staticLine-CLqN4lpU.js} +51 -50
- package/dist/stressFilterBar-Cpfbmllu.cjs +1 -0
- package/dist/{stressFilterBar-BAUt2bGy.js → stressFilterBar-D_QqOHna.js} +46 -45
- package/dist/{stressTimeCurve-IW4ArsyA.js → stressTimeCurve-1HXHUj-F.js} +64 -62
- package/dist/stressTimeCurve-Bp6Cevk1.cjs +1 -0
- package/dist/{swiper-BPS9C2GV.cjs → swiper-B8YZ2VQ2.cjs} +1 -1
- package/dist/{swiper-RM0GoZkW.js → swiper-D_y4Fj_D.js} +25 -24
- package/dist/terminalConfigList-B39cEptG.cjs +1 -0
- package/dist/{terminalConfigList-n7NE5NdJ.js → terminalConfigList-CHbA4y-S.js} +38 -36
- package/dist/terminalList-Vf-Dbybr.cjs +1 -0
- package/dist/{terminalList-Byb4eLcD.js → terminalList-oJFrGVtT.js} +38 -36
- package/dist/terminalListAPP-CdBG8krw.cjs +1 -0
- package/dist/terminalListAPP-DWArp2D4.js +1366 -0
- package/dist/{textbox-DM1AUWw8.js → textbox-D8nmoGjG.js} +13 -12
- package/dist/textbox-DPoyxB4u.cjs +1 -0
- package/dist/{timeQueryBar-Tbd9M8UT.js → timeQueryBar-DyC0iHq9.js} +21 -20
- package/dist/timeQueryBar-uUGotoTx.cjs +1 -0
- package/dist/{timeSeries-DCV2YjC2.cjs → timeSeries-BhlqgEOq.cjs} +2 -2
- package/dist/{timeSeries-CdpEx6bf.js → timeSeries-U91gMDDQ.js} +66 -64
- package/dist/timeSeriesCurve-CiRMnZRD.cjs +1 -0
- package/dist/{timeSeriesCurve-C1AmF6TP.js → timeSeriesCurve-DOhIS88N.js} +68 -66
- package/dist/{toggleBtn-BGjXjIuK.cjs → toggleBtn-CuWwHFjD.cjs} +1 -1
- package/dist/{toggleBtn-XS9MjfKM.js → toggleBtn-DE35dkxx.js} +46 -44
- package/dist/trajectoryConfigPanel-DAbF8oE9.cjs +1 -0
- package/dist/{trajectoryConfigPanel-BC90nD1T.js → trajectoryConfigPanel-Ye7NY6rd.js} +35 -34
- package/dist/{trajectoryScatter-DF_ESBn8.js → trajectoryScatter-DL7HUNJI.js} +47 -45
- package/dist/trajectoryScatter-Dg99HzM3.cjs +1 -0
- package/dist/universalConfigPanel-1svBCvD9.cjs +1 -0
- package/dist/{universalConfigPanel-DjNTwJkz.js → universalConfigPanel-CkyIDl_x.js} +50 -49
- package/dist/{universalTable-BY9vRraC.js → universalTable--dpnyNO2.js} +56 -54
- package/dist/universalTable-D8w7FQbl.cjs +2 -0
- package/dist/useMixiotPanelSurface-CAZgexY5.cjs +1 -0
- package/dist/useMixiotPanelSurface-DRl3cZvc.js +22 -0
- package/dist/useTableBodyHeight-CwrQvi7M.js +21 -0
- package/dist/useTableBodyHeight-pf87uGjw.cjs +1 -0
- package/dist/{video-DDvDGDql.js → video-BmMSRRa_.js} +5 -4
- package/dist/{video-8_Sf1uz0.cjs → video-RGIZoUn6.cjs} +2 -2
- package/dist/videoMonitor-Bo5T0MT_.cjs +1 -0
- package/dist/{videoMonitor-sce5N4Q5.js → videoMonitor-uf6tt2E6.js} +34 -33
- package/dist/{vlu-BKeYJtOO.js → vlu-D8l5zE_P.js} +24 -23
- package/dist/vlu-DEo_h1qN.cjs +1 -0
- package/dist/warningOverview-A5AA_vCc.cjs +1 -0
- package/dist/{warningOverview-CG5mwtaO.js → warningOverview-CA0PikjV.js} +31 -30
- package/dist/{weather-CWvAqxgX.cjs → weather-D20MGzuJ.cjs} +1 -1
- package/dist/{weather-BrX2a1an.js → weather-DuseqeNF.js} +19 -18
- package/dist/{windLin-BbbsSwuF.cjs → windLin-BU6Q87dE.cjs} +1 -1
- package/dist/{windLin-P4Gs2aBB.js → windLin-D8AUL_dV.js} +58 -57
- package/package.json +120 -120
- package/dist/BaseComponent-CNXUpPY1.cjs +0 -1
- package/dist/UniverSheet-CntkzcVZ.cjs +0 -1
- package/dist/accelerationChart-DLV-1mpA.cjs +0 -6
- package/dist/actionItem-CFxzHf4E.cjs +0 -1
- package/dist/alarmLevelChart-DCC6D1fH.cjs +0 -2
- package/dist/alertTable-BREZBeS5.cjs +0 -1
- package/dist/aliasObjectSelectorDemo-DunKWEkT.cjs +0 -1
- package/dist/annualRainfallChart-BJyoUBDn.cjs +0 -1
- package/dist/aqiIndass-B441j8CT.cjs +0 -3
- package/dist/areaDeformCurve-Dj405Jil.cjs +0 -1
- package/dist/arrayCard-B7zb1dFi.cjs +0 -1
- package/dist/audio-BfsYRWbm.cjs +0 -1
- package/dist/bmp-DIkLqzRN.cjs +0 -1
- package/dist/box-kXjrgG2u.cjs +0 -1
- package/dist/chartConfigPanel-DN4LMy8-.cjs +0 -1
- package/dist/clock-EbmFBRb-.cjs +0 -1
- package/dist/clt-C-9xGiKs.cjs +0 -1
- package/dist/cmc-CFa8Q3tu.cjs +0 -1
- package/dist/conclusionCard-Dlg5GWlE.cjs +0 -1
- package/dist/controlList-C1vhlonT.cjs +0 -1
- package/dist/controlRecordList-BhK7KtLR.cjs +0 -1
- package/dist/crd-CgxqxwKV.cjs +0 -1
- package/dist/ctrBtn-BSJ9c7Pt.cjs +0 -1
- package/dist/ctrSet-B9M4yI53.cjs +0 -1
- package/dist/ctrSwitch-C6dUn_qm.js +0 -206
- package/dist/ctrSwitch-ZvMCYKvG.cjs +0 -1
- package/dist/dataManagement-CNrEa_zB.cjs +0 -1
- package/dist/datetime-CAyDWKE8.cjs +0 -1
- package/dist/deepClusterSlipSurface-DzoyF6i1.cjs +0 -1
- package/dist/deepDataMatrix--AstWPiL.cjs +0 -1
- package/dist/deepDisplacementChart-BnT1ZdfR.cjs +0 -6
- package/dist/deepDisplacementChart-DOPij7KP.cjs +0 -5
- package/dist/deepDisplacementView-u1IPcbxN.cjs +0 -8
- package/dist/deepNodeTemperatureChart-CD3JbqkA.cjs +0 -1
- package/dist/deepTangentAngleChart-BCAauuDY.cjs +0 -1
- package/dist/deepTemperatureField-BxuKsrtc.cjs +0 -1
- package/dist/deepTrendChart-6L4cCHgh.cjs +0 -1
- package/dist/deviceOnlineStatus-WkwzGom4.cjs +0 -2
- package/dist/deviceStatus-BoIv8fbr.cjs +0 -1
- package/dist/displacementDataTable-BwcxrsuU.cjs +0 -1
- package/dist/displacementTrajectoryChart-BOPIBgi5.cjs +0 -22
- package/dist/displacementTrendChart-CI8i0oQY.cjs +0 -5
- package/dist/emergencyPlan-BRFhMubg.cjs +0 -1
- package/dist/evn-B05d7LtF.cjs +0 -1
- package/dist/evolutionChart-y2mkLVwU.cjs +0 -1
- package/dist/fileViewer-Dy2fdABW.cjs +0 -1
- package/dist/filterBar-CcrUdD-O.cjs +0 -1
- package/dist/fireCombustionCurve-B-6MZLul.cjs +0 -1
- package/dist/fireFilterBar-C9b_Ohvr.cjs +0 -1
- package/dist/fireHistoryTable-5sG5FDCD.cjs +0 -3
- package/dist/gag-CDX99Ta4.cjs +0 -1
- package/dist/gasStationList-Dl9qawf_.cjs +0 -1
- package/dist/globalObjectSelector-Bz2XhgxT.cjs +0 -1
- package/dist/gnssFilterBar-BT19n0j_.cjs +0 -1
- package/dist/gnssHistoryTable-CrS2qO6S.cjs +0 -3
- package/dist/gnssSectionProfile-_KbP1NXU.cjs +0 -1
- package/dist/gnssTimeSeriesChart-BgFoXAZv.cjs +0 -1
- package/dist/gnssXYTrajectory-C1N3RWzp.cjs +0 -5
- package/dist/grd-DtDoJOOa.cjs +0 -1
- package/dist/grdIndass-ci3JkvGZ.cjs +0 -1
- package/dist/grg-C2qVuXYE.cjs +0 -1
- package/dist/gridview-BLAlr5uj.cjs +0 -1
- package/dist/groundwaterFilterBar-1E1j67JT.cjs +0 -1
- package/dist/groundwaterProfileChart-CS9xelz8.cjs +0 -11
- package/dist/groundwaterTimeCurve-DYiDLgVY.cjs +0 -1
- package/dist/headerBar-OwCxpc4o.cjs +0 -1
- package/dist/index-D8dh_6Qd.cjs +0 -612
- package/dist/insarDeformChart-CSQ7fc2p.cjs +0 -1
- package/dist/insarImageViewer-DvaRS1zr.cjs +0 -1
- package/dist/kpiCard-oLpk5d4m.cjs +0 -2
- package/dist/landslideMap-CO8o7T8J.cjs +0 -1
- package/dist/landslideWarning-BZXa5qTB.cjs +0 -1
- package/dist/layerTabs-BxRAsklw.cjs +0 -1
- package/dist/linIndass-Bb7UA-zk.cjs +0 -2
- package/dist/lst-Dri1MTDI.cjs +0 -1
- package/dist/manualEntry-D74dgZv8.cjs +0 -1
- package/dist/mappingList-CBN7ArkQ.cjs +0 -1
- package/dist/mixGrid-DTj2pmFW.cjs +0 -1
- package/dist/mixMap-B4T4R6kA.cjs +0 -1
- package/dist/mixModel-BzilRtjf.cjs +0 -3
- package/dist/mixPie-DtQm-LGp.cjs +0 -2
- package/dist/mjpegCamera-Lu3UHJ83.cjs +0 -1
- package/dist/monitorAlert-Ctt2kCxQ.cjs +0 -1
- package/dist/monitorData-D_tMbx_Y.cjs +0 -1
- package/dist/myValue-FZPOucSS.cjs +0 -1
- package/dist/myValueList-XIDK3ove.cjs +0 -1
- package/dist/objectList-BtbxHtJj.cjs +0 -1
- package/dist/photo-BITvEhKG.cjs +0 -1
- package/dist/photo-CjulDHTM.js +0 -873
- package/dist/placeholder-3kajeeeb.cjs +0 -1
- package/dist/pressBtn-pUcQtd5n.cjs +0 -1
- package/dist/processTable-CDulvQlu.cjs +0 -3
- package/dist/rad-Dk4PrnyI.cjs +0 -1
- package/dist/radarMapViewer-TJIPACdT.cjs +0 -1
- package/dist/rainfallFilterBar-Myq0MBCf.cjs +0 -1
- package/dist/rainfallTimeCurve-BUI-RlnG.cjs +0 -1
- package/dist/rangeLin-DYCZ8wVc.cjs +0 -3
- package/dist/realtimeEvolutionMap-BwyQdAhL.cjs +0 -1
- package/dist/regionBar-DsxqfirI.cjs +0 -3
- package/dist/retainer1-CSqjvY4k.cjs +0 -1
- package/dist/retainer2-Bqlwvr53.cjs +0 -1
- package/dist/retainerRecordList-DWZ3WDiz.cjs +0 -1
- package/dist/ringTopN-Bp0er_zV.cjs +0 -1
- package/dist/riskRegionTable-B3bzMaR_.cjs +0 -1
- package/dist/sankey-B4BJ4xIo.cjs +0 -1
- package/dist/scd-Dgd3KDpk.cjs +0 -1
- package/dist/sideMenu-BQ5rrGBr.cjs +0 -1
- package/dist/slopeStability-D96aiykf.cjs +0 -1
- package/dist/speedCurve-5nWqVAzz.cjs +0 -1
- package/dist/staticLine-DUCg-0tI.cjs +0 -1
- package/dist/stressFilterBar-CorWdmpQ.cjs +0 -1
- package/dist/stressTimeCurve-Bci50Cwv.cjs +0 -1
- package/dist/terminalConfigList-O881ke5o.cjs +0 -1
- package/dist/terminalList-C9TB2cJH.cjs +0 -1
- package/dist/textbox-BMWnbPvz.cjs +0 -1
- package/dist/timeQueryBar-C6ZheMvD.cjs +0 -1
- package/dist/timeSeriesCurve-DRlr5n3U.cjs +0 -1
- package/dist/trajectoryConfigPanel-DJ6fOeb1.cjs +0 -1
- package/dist/trajectoryScatter-C7kfSkyS.cjs +0 -1
- package/dist/universalConfigPanel-PO1hdgjw.cjs +0 -1
- package/dist/universalTable-QAb6UKCq.cjs +0 -2
- package/dist/useMixiotPanelSurface-BMNrWBMF.cjs +0 -1
- package/dist/useMixiotPanelSurface-DlVkLttU.js +0 -40
- package/dist/videoMonitor-BKLD_aQs.cjs +0 -1
- package/dist/vlu-C0XLDKKk.cjs +0 -1
- package/dist/warningOverview--n7crFnZ.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Y=Object.defineProperty,ee=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var T=(e,t,o)=>t in e?Y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,b=(e,t)=>{for(var o in t||(t={}))oe.call(t,o)&&T(e,o,t[o]);if(F)for(var o of F(t))ae.call(t,o)&&T(e,o,t[o]);return e},L=(e,t)=>ee(e,te(t));var s=(e,t,o)=>new Promise((l,a)=>{var d=f=>{try{r(o.next(f))}catch(v){a(v)}},h=f=>{try{r(o.throw(f))}catch(v){a(v)}},r=f=>f.done?l(f.value):Promise.resolve(f.value).then(d,h);r((o=o.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ie=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");const i=require("vue"),re=require("./vue-i18n-BvHMBi_b.cjs"),ne=require("./BaseComponent-Chnv4fBT.cjs"),y=require("./index-DVqMfQVc.cjs"),A=require("./materialFileUrl-DfPNm265.cjs"),I=require("element-plus"),q=require("./ele-bmp-icon-BBI0-SX7.cjs");process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;const le=Symbol(process.env.NODE_ENV!=="production"?"route location":"");process.env.NODE_ENV;function se(e){return i.inject(le)}const U=e=>{const t=typeof e=="string"?Number(e):e;return t===0||t===200},ce=(e,t)=>{if(e&&String(e).trim()){const o=String(e).trim();if(o.startsWith("http://")||o.startsWith("https://"))try{return new URL(o).pathname||""}catch(l){return o}return o.startsWith("/")?o:`/${o}`}return t?`/yunfiles/material/file/${t}`:""},de={uploadFile(e){return s(this,null,function*(){var l;const t=new FormData;t.append("file",e);const o=yield y.api.upload(t,!0);if(U(o.code)&&((l=o.result)!=null&&l.url))return o.result.url;throw new Error(o.msg||"文件上传失败")})},uploadMaterialGetPath(e,t){return s(this,null,function*(){var d,h;const l={material_data:e.includes(",")?e.split(",")[1]:e,material_type:t||"png"},a=yield y.api.post("upload_material",l,!0);if(U(a.code)&&a.result){const r=a.result,f=ce(r.material_path||r.relative_path||"",r.file_id);if(f)return L(b({},r),{material_path:f,material_size:(h=(d=r.material_size)!=null?d:r.file_size)!=null?h:0,material_type:r.material_type||r.mime_type||t||"png",name:r.name||r.file_name||""})}throw new Error(a.info||a.msg||"上传原图获取路径失败")})},createMaterial(e){return s(this,null,function*(){var o;const t=yield y.api.post("create_dashboard_material",e,!0);if(U(t.code)&&((o=t.result)!=null&&o.uid))return t.result;throw new Error(t.info||t.msg||"创建素材失败")})},uploadAndCreateMaterial(o){return s(this,arguments,function*(e,t={}){var h;const l=((h=e.name.split(".").pop())==null?void 0:h.toLowerCase())||"png",a=yield this._fileToBase64(e),d=yield this.uploadMaterialGetPath(a,l);if(d.uid)return{uid:d.uid};throw new Error("upload_material 未返回 uid")})},_fileToBase64(e){return new Promise((t,o)=>{const l=new FileReader;l.onload=()=>t(l.result),l.onerror=()=>o(new Error("文件读取失败")),l.readAsDataURL(e)})},getMaterialList(){return s(this,arguments,function*(e={}){const t=b({page_index:e.page_index||1,page_size:e.page_size||20,order_by:e.order_by||"created",order_type:e.order_type||"desc"},e);return yield y.api.post("get_dashboard_material_list",t)})},getMyMaterialList(){return s(this,arguments,function*(e={}){const t=b({page_index:e.page_index||1,page_size:e.page_size||20,order_by:e.order_by||"created",order_type:e.order_type||"desc"},e);return yield y.api.post("get_my_dashboard_material_list",t)})},getMaterialItem(e){return s(this,null,function*(){return yield y.api.post("get_dashboard_material_item",{uid:e})})},updateMaterial(e){return s(this,null,function*(){return yield y.api.post("update_dashboard_material",e,!0)})},deleteMaterial(e){return s(this,null,function*(){return yield y.api.post("delete_dashboard_material",{uid:e},!0)})},deleteMaterialByPath(e){return s(this,null,function*(){var o;if(!e||!String(e).trim())return;const t=String(e).replace(/^\//,"");try{const l=yield this.getMyMaterialList({page_index:1,page_size:10,where_and:JSON.stringify([["material_path","=",t]])}),a=(o=l==null?void 0:l.result)==null?void 0:o.data;Array.isArray(a)&&a.length>0&&a[0].uid&&(yield this.deleteMaterial(a[0].uid))}catch(l){}})}},W={_buildWhereAnd(e){return JSON.stringify(e.filter(([,,t])=>t!=null))},_isEmptyId(e){return e==null||String(e).trim()===""},_isComponentLevel(e){return!this._isEmptyId(e.component_id)},_isLayerLevel(e){return this._isEmptyId(e.component_id)&&!this._isEmptyId(e.layer_id)},_isSheetLevel(e){return this._isEmptyId(e.component_id)&&this._isEmptyId(e.layer_id)&&!this._isEmptyId(e.sheet_id)},_isDashboardLevel(e){return this._isEmptyId(e.component_id)&&this._isEmptyId(e.layer_id)&&this._isEmptyId(e.sheet_id)},_listRelations(e){return s(this,null,function*(){var o;const t=yield this.getMaterialRelationList({page_index:1,page_size:999,where_and:e});return((o=t==null?void 0:t.result)==null?void 0:o.data)||[]})},_deleteByUid(e,t){return s(this,null,function*(){t&&(yield this.deleteMaterialRelation({dashboard_record_uid:e,uid:t}))})},_deleteByRelation(e){return s(this,null,function*(){e!=null&&e.dashboard_record_uid&&(yield this.deleteMaterialRelation({dashboard_record_uid:e.dashboard_record_uid,dashboard_id:e.dashboard_id,sheet_id:e.sheet_id,layer_id:e.layer_id,component_id:e.component_id,uid:e.uid}))})},_deleteRelationList(e,t){return s(this,null,function*(){for(const o of t)yield this._deleteByUid(e,o.uid)})},createMaterialRelation(e){return s(this,null,function*(){return yield y.api.post("create_dashboard_materials_relation",e,!0)})},deleteMaterialRelation(e){return s(this,null,function*(){return yield y.api.post("delete_dashboard_materials_relation",e,!0)})},getMaterialRelationList(){return s(this,arguments,function*(e={}){const t=b({page_index:e.page_index||1,page_size:e.page_size||20,order_by:e.order_by||"created",order_type:e.order_type||"desc"},e);return!e.order_by&&!e.order_type&&e.order?t.order=e.order:delete t.order,yield y.api.post("get_my_dashboard_materials_relation_list",t)})},getMaterialRelationsByDashboard(o){return s(this,arguments,function*(e,t={}){const l=JSON.stringify([["dashboard_record_uid","=",e]]);return yield this.getMaterialRelationList(L(b({},t),{where_and:l}))})},getMaterialRelationByComponent(l,a){return s(this,arguments,function*(e,t,o={}){const d=JSON.stringify([["dashboard_record_uid","=",e],["component_id","=",t]]);return yield this.getMaterialRelationList(L(b({},o),{where_and:d}))})},getRelationsByMaterial(e){return s(this,null,function*(){var l;if(!e)return[];const t=JSON.stringify([["material_uid","=",e]]),o=yield this.getMaterialRelationList({page_index:1,page_size:999,where_and:t});return((l=o==null?void 0:o.result)==null?void 0:l.data)||[]})},getMaterialUsageSummary(e){return s(this,null,function*(){const t=yield this.getRelationsByMaterial(e),o=new Set;return t.forEach(l=>{const a=String(l.dashboard_record_uid||"").trim();a&&o.add(a)}),{relationCount:t.length,dashboardCount:o.size,relations:t}})},deleteAllRelationsByMaterial(e){return s(this,null,function*(){const t=yield this.getRelationsByMaterial(e);for(const o of t)!(o!=null&&o.uid)||!(o!=null&&o.dashboard_record_uid)||(yield this.deleteMaterialRelation({dashboard_record_uid:o.dashboard_record_uid,uid:o.uid}));return t.length})},deleteAllRelationsByDashboard(e){return s(this,null,function*(){return yield this.deleteRelationsByDashboardHierarchy(e)})},deleteRelationByComponent(e,t){return s(this,null,function*(){return yield this.deleteMaterialRelation({dashboard_record_uid:e,component_id:t})})},deleteComponentRelations(e,t,o,l){return s(this,null,function*(){if(!e||!t||!o||!l)return;const a=this._buildWhereAnd([["dashboard_record_uid","=",e],["sheet_id","=",t],["layer_id","=",o],["component_id","=",l]]),d=yield this._listRelations(a);for(const h of d)yield this._deleteByRelation(h)})},deleteLayerLevelRelations(e,t,o){return s(this,null,function*(){if(!e||!t||!o)return;const l=this._buildWhereAnd([["dashboard_record_uid","=",e],["sheet_id","=",t],["layer_id","=",o]]),d=(yield this._listRelations(l)).filter(h=>this._isLayerLevel(h));for(const h of d)yield this._deleteByRelation(h)})},deleteSheetLevelRelations(e,t){return s(this,null,function*(){if(!e||!t)return;const o=this._buildWhereAnd([["dashboard_record_uid","=",e],["sheet_id","=",t]]),a=(yield this._listRelations(o)).filter(d=>this._isSheetLevel(d));for(const d of a)yield this._deleteByRelation(d)})},deleteDashboardLevelRelations(e){return s(this,null,function*(){if(!e)return;const t=this._buildWhereAnd([["dashboard_record_uid","=",e]]),l=(yield this._listRelations(t)).filter(a=>this._isDashboardLevel(a));for(const a of l)yield this._deleteByRelation(a)})},deleteRelationsByLayerHierarchy(e,t,o){return s(this,null,function*(){if(!e||!t||!o)return;const l=this._buildWhereAnd([["dashboard_record_uid","=",e],["sheet_id","=",t],["layer_id","=",o]]),a=yield this._listRelations(l),d=a.filter(r=>this._isComponentLevel(r)),h=a.filter(r=>this._isLayerLevel(r));for(const r of d)yield this._deleteByRelation(r);for(const r of h)yield this._deleteByRelation(r)})},deleteRelationsBySheetHierarchy(e,t){return s(this,null,function*(){if(!e||!t)return;const o=this._buildWhereAnd([["dashboard_record_uid","=",e],["sheet_id","=",t]]),l=yield this._listRelations(o),a=l.filter(r=>this._isComponentLevel(r)),d=l.filter(r=>this._isLayerLevel(r)),h=l.filter(r=>this._isSheetLevel(r));for(const r of a)yield this._deleteByRelation(r);for(const r of d)yield this._deleteByRelation(r);for(const r of h)yield this._deleteByRelation(r)})},deleteRelationsByDashboardHierarchy(e){return s(this,null,function*(){if(!e)return;const t=this._buildWhereAnd([["dashboard_record_uid","=",e]]),o=yield this._listRelations(t),l=o.filter(r=>this._isComponentLevel(r)),a=o.filter(r=>this._isLayerLevel(r)),d=o.filter(r=>this._isSheetLevel(r)),h=o.filter(r=>this._isDashboardLevel(r));for(const r of l)yield this._deleteByRelation(r);for(const r of a)yield this._deleteByRelation(r);for(const r of d)yield this._deleteByRelation(r);for(const r of h)yield this._deleteByRelation(r)})}},ue=i.ref(!1),he=i.ref("all");function _e(e="all"){return he.value=e,ue.value=!0,new Promise(t=>{})}const pe={class:"mix-body"},me={class:"upload-content"},ye={viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",style:{opacity:"0.5"}},fe={class:"upload-text"},ge={key:0,class:"upload-actions"},ve={key:1,class:"viewer-container"},we={key:0,class:"file-info"},be={class:"file-name"},Re=["title"],Me=["src","alt"],Ne={DEFAULT_ICON:q.DEFAULT_ICON,ACTIVE_ICON:q.ACTIVE_ICON,NAME_CN:"图片查看器",NAME_EN:"Photo Viewer",ORDER:2,PLATFORM:["pc","screen","mobile"]},Le={imageDisplayMode:{value:"center",type:"select",options:[{label:"component.photo.center",value:"center"},{label:"component.photo.tile",value:"tile"},{label:"component.photo.stretch",value:"stretch"}],label:"component.options.imageDisplayMode"},fileUrl:{value:"",type:"string",label:"component.options.fileUrl",placeholder:"请上传素材"},fileName:{value:"",type:"string",label:"component.options.fileName",placeholder:"请上传素材"},materialUid:{value:"",type:"string",label:"component.options.materialUid",placeholder:"素材UID"}},Ee=[],Se=[],Be=[],Ce=null,Ae={DEFAULT:Ne,OPTIONS:Le,DATA:Ee,PARAMS:Se,SOURCE:Be,COMMON:Ce},Ue=i.defineComponent(L(b({},Ae),{__name:"photo",props:{conf:{type:Object,default:()=>({})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(e){const{t}=re.useI18n(),o=y.useCounterStore(),l=se(),a=e;class d extends ne.BaseComponent{extractStyles(){return{imageDisplayMode:this.getOptionValue("imageDisplayMode","center"),radiusSize:this.getOptionValue("radiusSize",0)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),j()}}const h=new d(a,"photo");h.setupLifecycle();const r=h.getStyle(),f=i.ref(null),v=i.ref(""),p=i.ref(""),R=i.ref(""),k=i.ref(!1),D=i.ref(!1),$=n=>A.buildMaterialFileUrlByMaterialPath(n),j=()=>s(null,null,function*(){var c,u,_;const{conf:n}=a;(u=(c=n==null?void 0:n.options)==null?void 0:c.fileUrl)!=null&&u.value&&(v.value=$(n.options.fileUrl.value),yield V(),R.value=((_=n.options.fileName)==null?void 0:_.value)||"")}),P=n=>{n&&n.startsWith("blob:")&&URL.revokeObjectURL(n)},V=()=>s(null,null,function*(){if(v.value)try{const n=y.resolveHttpAuthTokenForFetch();if(!n){p.value="";return}const c=A.encodeMaterialFileRequestUrl(v.value),u=yield fetch(c,{mode:"cors",credentials:"include",headers:{Authorization:`Bearer ${n}`}});if(!u.ok)throw new Error(`load image failed: ${u.status}`);const _=yield u.blob(),g=URL.createObjectURL(_);P(p.value),p.value=g}catch(n){console.error("[Photo] 拉取图片失败:",n),P(p.value),p.value=""}}),H=i.computed(()=>({width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})),J=i.computed(()=>{var c;const n=(c=r==null?void 0:r.value)==null?void 0:c.imageDisplayMode;return n==="tile"?{display:"none"}:n==="stretch"?{width:"100%",height:"100%",objectFit:"fill"}:{width:"100%",height:"100%",objectFit:"contain"}}),G=i.computed(()=>{var n;return((n=r==null?void 0:r.value)==null?void 0:n.imageDisplayMode)!=="tile"||!p.value?{}:{width:"100%",height:"100%",backgroundImage:`url(${p.value})`,backgroundRepeat:"repeat",backgroundPosition:"center center"}}),O=i.computed(()=>{const n=l.params.id;return n?String(n):""}),x=n=>{var u;const c=((u=o.pageData)==null?void 0:u.sheets)||[];for(const _ of c){const g=_.id,M=_.caption||_.name||_.id,E=_.layers||[];for(const w of E){const S=w.id,B=w.caption||w.name||w.id,C=w.components||[];for(const m of C)if((m==null?void 0:m.id)===n){const N=m.caption||m.name||m.id;return{sheetId:g,layerId:S,sheetName:M,layerName:B,componentName:N}}}}return{sheetId:"",layerId:"",sheetName:"",layerName:"",componentName:""}},Z=n=>s(null,null,function*(){var g;if(!O.value)return;const c=a.uid||((g=a.conf)==null?void 0:g.id);if(!c||!n)return;const{sheetId:u,layerId:_}=x(c);try{yield W.deleteComponentRelations(O.value,u,_,c),yield W.createMaterialRelation({dashboard_record_uid:O.value,material_uid:n,sheet_id:u||void 0,layer_id:_||void 0,component_id:c})}catch(M){console.warn("[Photo] 同步素材关联失败:",M)}}),z=()=>s(null,null,function*(){try{const n=yield _e("image");if(n){if(console.log("[Photo] 选中的素材:",n),console.log("[Photo] material_path:",n.material_path),console.log("[Photo] thumbnail:",n.thumbnail),console.log("[Photo] file_id:",n.file_id),!n.material_path){I.ElMessage.warning("该素材缺少 material_path,无法获取原图"),console.warn("[Photo] 素材缺少 material_path");return}const c=String(n.material_path).trim(),u=A.buildMaterialFileUrlByMaterialPath(c);console.log("[Photo] 原图URL:",u),v.value=u,yield V(),R.value=n.name,a.conf&&a.conf.options&&(a.conf.options.fileUrl||(a.conf.options.fileUrl={value:"",type:"string",label:""}),a.conf.options.fileName||(a.conf.options.fileName={value:"",type:"string",label:""}),a.conf.options.materialUid||(a.conf.options.materialUid={value:"",type:"string",label:""}),a.conf.options.fileUrl.value=c,a.conf.options.fileName.value=n.name,a.conf.options.materialUid.value=n.uid,console.log("[Photo] 配置已保存:",{fileUrl:a.conf.options.fileUrl.value,fileName:a.conf.options.fileName.value,materialUid:a.conf.options.materialUid.value})),console.log("[Photo] uploadedFileUrl.value:",p.value),I.ElMessage.success(t("component.photo.materialSelected")||"素材选择成功"),yield Z(n.uid)}else console.log("[Photo] 用户取消选择")}catch(n){console.error("[Photo] 素材选择失败:",n),I.ElMessage.error("素材选择失败")}}),K=()=>{P(p.value),p.value="",v.value="",R.value="",a.mode!=="preview"&&z()},Q=()=>{k.value=!1,f.value,console.log("图片加载成功")},X=n=>{var g,M,E,w,S,B,C;if(console.error("图片加载失败:",n),k.value||D.value)return;const c=a.uid||((g=a.conf)==null?void 0:g.id)||"",u=c?x(c):null;u&&(u.sheetName||u.layerName||u.componentName)?`${u.sheetName||"-"}${u.layerName||"-"}${u.componentName||"-"}`:R.value;const _=String(((w=(E=(M=a.conf)==null?void 0:M.options)==null?void 0:E.materialUid)==null?void 0:w.value)||((C=(B=(S=a.conf)==null?void 0:S.options)==null?void 0:B.imageUid)==null?void 0:C.value)||"").trim();_&&(D.value=!0,de.getMaterialItem(_).then(m=>{if(U(m==null?void 0:m.code)&&(m!=null&&m.result)){const N=m.result;N!=null&&N.material_path&&(v.value=A.buildMaterialFileUrlByMaterialPath(String(N.material_path).trim()),V());return}k.value=!0}).catch(()=>{}).finally(()=>{D.value=!1}))};return i.onMounted(()=>{}),i.onBeforeUnmount(()=>{p.value&&p.value.startsWith("blob:")&&URL.revokeObjectURL(p.value)}),(n,c)=>{var _,g;const u=ie.ElButton;return i.openBlock(),i.createElementBlock("div",{class:"mix-component",style:i.normalizeStyle({borderRadius:`${i.unref(r).radiusSize}px`})},[i.createElementVNode("div",pe,[p.value?(i.openBlock(),i.createElementBlock("div",ve,[a.mode!=="preview"?(i.openBlock(),i.createElementBlock("div",we,[i.createElementVNode("span",be,i.toDisplayString(R.value),1),i.createElementVNode("button",{class:"change-file-btn",onClick:K,title:i.unref(t)("component.photo.changeFile")||"更换文件"},[...c[1]||(c[1]=[i.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor"},[i.createElementVNode("path",{d:"M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z"})],-1)])],8,Re)])):i.createCommentVNode("",!0),i.createElementVNode("div",{class:"image-container",style:i.normalizeStyle(H.value)},[i.createElementVNode("img",{ref_key:"imageRef",ref:f,src:p.value,alt:R.value,style:i.normalizeStyle(J.value),onLoad:Q,onError:X},null,44,Me),((g=(_=i.unref(r))==null?void 0:_.value)==null?void 0:g.imageDisplayMode)==="tile"?(i.openBlock(),i.createElementBlock("div",{key:0,class:"tiled-background",style:i.normalizeStyle(G.value)},null,4)):i.createCommentVNode("",!0)],4)])):(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["upload-area",{"preview-mode":a.mode==="preview"}])},[i.createElementVNode("div",me,[(i.openBlock(),i.createElementBlock("svg",ye,[...c[0]||(c[0]=[i.createElementVNode("path",{d:"M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z"},null,-1)])])),i.createElementVNode("p",fe,i.toDisplayString(a.mode==="preview"?"未上传素材":i.unref(t)("component.photo.selectFromLibrary")||"从素材库选择"),1),a.mode!=="preview"?(i.openBlock(),i.createElementBlock("div",ge,[i.createVNode(u,{type:"primary",size:"small",onClick:z},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(t)("component.photo.selectFromLibrary")||"从素材库选择"),1)]),_:1})])):i.createCommentVNode("",!0)])],2))]),i.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),ke=y._export_sfc(Ue,[["__scopeId","data-v-57314f5b"]]);exports.default=ke;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var $=Object.defineProperty,
|
|
2
|
-
`,s=0,i=0);return n}setHistoryData(e){if(!e||!(e!=null&&e.length))return;const o=this.chartObj.getOption();o.series[0].data.forEach((t,n)=>{var i;t.value=(i=e[n].data[0])!=null?i:0}),this.updateChart(o)}setSocketData(e){if(!e||!this.chartObj)return;const{data:o}=this.props.conf,t=this.chartObj.getOption();o.forEach((n,i)=>{var p,u,h;const s=this.extractDataValue(e,n.fv);(h=(u=(p=t.series)==null?void 0:p[0])==null?void 0:u.data)!=null&&h[i]&&(t.series[0].data[i].value=s!=null?s:0)}),this.updateChart(t)}}const m=new V(a,"pie");m.setupLifecycle();const v=m.getStyle(),E=m.getEchartId(),
|
|
1
|
+
"use strict";var $=Object.defineProperty,A=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var C=(r,a,c)=>a in r?$(r,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[a]=c,d=(r,a)=>{for(var c in a||(a={}))N.call(a,c)&&C(r,c,a[c]);if(w)for(var c of w(a))j.call(a,c)&&C(r,c,a[c]);return r},f=(r,a)=>A(r,I(a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),b=require("./index-DVqMfQVc.cjs");require("element-plus");const k=require("./EChartComponentBase-dLE5F7Tt.cjs"),z=require("./titleStyle-NSnz6cUg.cjs"),S=require("./ele-pie-icon-BNhXPoUT.cjs"),y=require("./installCanvasRenderer-CyhM1Qpl.cjs"),R=require("./install-DV5cEgNV.cjs"),B=require("./install-CltTFs4e.cjs"),T=require("./install-nDY6w-GK.cjs"),q={class:"mix-body"},D=["id"],P={DEFAULT_ICON:S.DEFAULT_ICON,ACTIVE_ICON:S.ACTIVE_ICON,NAME_CN:"饼状图",NAME_EN:"Pie",ORDER:1,PLATFORM:["pc","screen","mobile"]},M={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,type:{value:"pie",type:"radio",option:[{value:"pie",label:"component.options.pie_type_pie"},{value:"circle",label:"component.options.pie_type_circle"}],label:"component.options.pie_type"},radius:{value:50,type:"number",label:"component.options.pie_radius",dependent:"type",repel:"circle"},inside:{value:40,type:"number",label:"component.options.pie_inside",dependent:"type",repel:"pie"},outside:{value:75,type:"number",label:"component.options.pie_outside",dependent:"type",repel:"pie"},isHideTitle:!1,showLabel:!1,showLegend:!0,orient:{value:"horizontal",type:"radio",option:[{value:"horizontal",label:"component.options.orient_horizontal"},{value:"vertical",label:"component.options.orient_vertical"}],label:"component.options.orient",dependent:"showLegend"},showValue:!0,showRate:!1,wrap:!1,wrapByte:{value:5,type:"number",label:"component.options.pie_wrapByte",dependent:"wrap"}},H=[{name:"参数一",fv:"",object_id:"",color:"#4162ff"},{name:"参数二",fv:"",object_id:"",color:"#3bbc6a"},{name:"参数三",fv:"",object_id:"",color:"#e24359"}],F=["name","fv","object_id","color"],U=["mosaic","statistics","calculate"],G={useAlias:!1,multiObject:!1,source:"mosaic"},K={DEFAULT:P,OPTIONS:M,DATA:H,PARAMS:F,SOURCE:U,COMMON:G},X=l.defineComponent(f(d({},K),{__name:"pie",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){y.use([R.install,B.install,y.install,y.install$1,T.install]);const a=r,c=b.useLinkStore(),_={horizontal:{orient:"horizontal",bottom:"5%",left:"center"},vertical:{orient:"vertical",right:"5%",top:"5%"}};class V extends k.EChartComponentBase{initChart(){var e,o;super.initChart(),this.props.mode==="preview"&&((e=this.chartObj)==null||e.off("click"),(o=this.chartObj)==null||o.on("click",t=>{var i,s,p,u,h,O;const n=t==null?void 0:t.name;if(typeof n=="string"&&n){const x=((s=(i=this.props.conf)==null?void 0:i.options)==null?void 0:s.linkChannel)==="custom"?(u=(p=this.props.conf)==null?void 0:p.options)==null?void 0:u.customChannel:(O=(h=this.props.conf)==null?void 0:h.options)==null?void 0:O.linkChannel;c.publish(x||"pie","pie",{objectId:"",deviceId:"",type:"select",fieldKey:n,fv:d({key:n},t),source:"pie"})}}))}extractStyles(){return f(d({},super.extractStyles()),{type:this.getOptionValue("type","pie"),radius:this.getOptionValue("radius",50),inside:this.getOptionValue("inside",40),outside:this.getOptionValue("outside",75),showLabel:this.getOptionValue("showLabel",!1),showLegend:this.getOptionValue("showLegend",!0),orient:this.getOptionValue("orient","horizontal"),showValue:this.getOptionValue("showValue",!0),showRate:this.getOptionValue("showRate",!1),wrap:this.getOptionValue("wrap",!1),wrapByte:this.getOptionValue("wrapByte",5)})}getChartOption(){const e=this.Style.value,{data:o,name:t}=this.props.conf,n=o.map((i,s)=>i.color||b.COLORS[s]);return{title:{show:!1,text:t||"",x:"center"},color:n,tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:f(d({show:e.showLegend},_[e.orient]),{data:o.map(i=>i.name),textStyle:{color:e.textColor}}),series:this.formatSeries()}}formatSeries(){const e=this.Style.value,{data:o,name:t}=this.props.conf,n=o.map(s=>({value:0,name:s.name})),i=e.type==="pie"?`${e.radius}%`:[`${e.inside}%`,`${e.outside}%`];return[{name:t,type:"pie",radius:i,center:["50%","40%"],data:n,emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{color:e.textColor,lineHeight:16,fontSize:e.textSize,formatter:s=>this.formatLabel(s)}}]}formatLabel(e){const o=this.Style.value;let t=e.name;return o.showValue&&o.showRate?t=`${e.name}: ${e.value}(${e.percent}%)`:o.showValue?t=`${e.name}: ${e.value}`:o.showRate&&(t=`${e.name}${e.percent}%`),this.insertBreaks(t)}insertBreaks(e){const o=this.Style.value;if(!o.wrap)return e;const t=o.wrapByte||5;let n="",i=0,s=0;for(const p of e)p.charCodeAt(0)>=19968&&p.charCodeAt(0)<=40959?(s++,i+=2):i+=1,n+=p,(s>=t||i>=t*2)&&(n+=`
|
|
2
|
+
`,s=0,i=0);return n}setHistoryData(e){if(!e||!(e!=null&&e.length))return;const o=this.chartObj.getOption();o.series[0].data.forEach((t,n)=>{var i;t.value=(i=e[n].data[0])!=null?i:0}),this.updateChart(o)}setSocketData(e){if(!e||!this.chartObj)return;const{data:o}=this.props.conf,t=this.chartObj.getOption();o.forEach((n,i)=>{var p,u,h;const s=this.extractDataValue(e,n.fv);(h=(u=(p=t.series)==null?void 0:p[0])==null?void 0:u.data)!=null&&h[i]&&(t.series[0].data[i].value=s!=null?s:0)}),this.updateChart(t)}}const m=new V(a,"pie");m.setupLifecycle();const v=m.getStyle(),E=m.getEchartId(),L=l.computed(()=>z.generateTitleStyle(a.conf.options));return(g,e)=>(l.openBlock(),l.createElementBlock("div",{class:"mix-component",style:l.normalizeStyle({background:l.unref(v).bgColor,borderRadius:`${l.unref(v).radiusSize}px`})},[l.createElementVNode("div",{class:"mix-title",style:l.normalizeStyle(L.value)},l.toDisplayString(r.conf.caption||r.conf.name),5),l.createElementVNode("div",q,[l.createElementVNode("div",{class:"w-full h-full",id:l.unref(E)},null,8,D)]),l.renderSlot(g.$slots,"default",{},void 0,!0)],4))}})),J=b._export_sfc(X,[["__scopeId","data-v-2c38f04d"]]);exports.default=J;
|
|
@@ -10,21 +10,23 @@ var O = (l, a, r) => a in l ? L(l, a, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
j.call(a, r) && O(l, r, a[r]);
|
|
11
11
|
return l;
|
|
12
12
|
}, d = (l, a) => $(l, k(a));
|
|
13
|
-
import { defineComponent as z, computed as
|
|
14
|
-
import { k as T, C as
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
13
|
+
import { defineComponent as z, computed as R, openBlock as B, createElementBlock as I, normalizeStyle as _, unref as m, createElementVNode as y, toDisplayString as N, renderSlot as D } from "vue";
|
|
14
|
+
import { k as T, C as M, _ as P } from "./index-DwPJu6XM.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import { E as H } from "./EChartComponentBase-cFfawl6h.js";
|
|
17
|
+
import { g as F } from "./titleStyle-BT5GlpAb.js";
|
|
18
|
+
import { A as U, D as G } from "./ele-pie-icon-RPfHJxqp.js";
|
|
18
19
|
import { u as K, i as X, a as q } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
19
20
|
import { i as J } from "./install-CBde4hAM.js";
|
|
20
21
|
import { i as Q } from "./install-hfre7yvV.js";
|
|
21
22
|
import { i as W } from "./install-BzdOSCzO.js";
|
|
22
23
|
const Y = { class: "mix-body" }, Z = ["id"], ee = {
|
|
23
24
|
DEFAULT_ICON: G,
|
|
24
|
-
ACTIVE_ICON:
|
|
25
|
+
ACTIVE_ICON: U,
|
|
25
26
|
NAME_CN: "饼状图",
|
|
26
27
|
NAME_EN: "Pie",
|
|
27
|
-
ORDER: 1
|
|
28
|
+
ORDER: 1,
|
|
29
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
28
30
|
}, te = {
|
|
29
31
|
titleColor: "#111",
|
|
30
32
|
textColor: "#111",
|
|
@@ -111,7 +113,7 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
|
|
|
111
113
|
horizontal: { orient: "horizontal", bottom: "5%", left: "center" },
|
|
112
114
|
vertical: { orient: "vertical", right: "5%", top: "5%" }
|
|
113
115
|
};
|
|
114
|
-
class C extends
|
|
116
|
+
class C extends H {
|
|
115
117
|
initChart() {
|
|
116
118
|
var e, o;
|
|
117
119
|
super.initChart(), this.props.mode === "preview" && ((e = this.chartObj) == null || e.off("click"), (o = this.chartObj) == null || o.on("click", (t) => {
|
|
@@ -147,7 +149,7 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
|
|
|
147
149
|
}
|
|
148
150
|
getChartOption() {
|
|
149
151
|
const e = this.Style.value, { data: o, name: t } = this.props.conf, n = o.map(
|
|
150
|
-
(i, s) => i.color ||
|
|
152
|
+
(i, s) => i.color || M[s]
|
|
151
153
|
);
|
|
152
154
|
return {
|
|
153
155
|
title: { show: !1, text: t || "", x: "center" },
|
|
@@ -220,8 +222,8 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
|
|
|
220
222
|
}
|
|
221
223
|
const f = new C(a, "pie");
|
|
222
224
|
f.setupLifecycle();
|
|
223
|
-
const b = f.getStyle(), V = f.getEchartId(), x =
|
|
224
|
-
return (g, e) => (
|
|
225
|
+
const b = f.getStyle(), V = f.getEchartId(), x = R(() => F(a.conf.options));
|
|
226
|
+
return (g, e) => (B(), I("div", {
|
|
225
227
|
class: "mix-component",
|
|
226
228
|
style: _({
|
|
227
229
|
background: m(b).bgColor,
|
|
@@ -231,7 +233,7 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
|
|
|
231
233
|
y("div", {
|
|
232
234
|
class: "mix-title",
|
|
233
235
|
style: _(x.value)
|
|
234
|
-
},
|
|
236
|
+
}, N(l.conf.caption || l.conf.name), 5),
|
|
235
237
|
y("div", Y, [
|
|
236
238
|
y("div", {
|
|
237
239
|
class: "w-full h-full",
|
|
@@ -241,7 +243,7 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
|
|
|
241
243
|
D(g.$slots, "default", {}, void 0, !0)
|
|
242
244
|
], 4));
|
|
243
245
|
}
|
|
244
|
-
})),
|
|
246
|
+
})), ve = /* @__PURE__ */ P(le, [["__scopeId", "data-v-2c38f04d"]]);
|
|
245
247
|
export {
|
|
246
|
-
|
|
248
|
+
ve as default
|
|
247
249
|
};
|
|
@@ -12,7 +12,7 @@ var $ = (o, e, r) => e in o ? q(o, e, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, D = (o, e) => G(o, H(e));
|
|
13
13
|
import { defineComponent as Q, computed as w, ref as X, useTemplateRef as Y, onMounted as Z, nextTick as U, onBeforeUnmount as ee, watch as te, openBlock as h, createElementBlock as m, normalizeStyle as R, createElementVNode as p, toDisplayString as i, createCommentVNode as b, createTextVNode as oe, renderSlot as le } from "vue";
|
|
14
14
|
import { A as ae, D as re } from "./ele-box-icon-Brlhb3oN.js";
|
|
15
|
-
import { _ as de } from "./index-
|
|
15
|
+
import { _ as de } from "./index-DwPJu6XM.js";
|
|
16
16
|
const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y", "data-w", "data-h"], ce = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "mix-placeholder__label"
|
|
@@ -25,22 +25,23 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
25
25
|
}, me = { class: "mix-placeholder__pixel-pos" }, pe = {
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "mix-placeholder__desc"
|
|
28
|
-
},
|
|
28
|
+
}, fe = {
|
|
29
29
|
key: 0,
|
|
30
30
|
class: "mix-placeholder__name-runtime"
|
|
31
|
-
},
|
|
31
|
+
}, ve = {
|
|
32
32
|
DEFAULT_ICON: re,
|
|
33
33
|
ACTIVE_ICON: ae,
|
|
34
|
-
NAME_CN: "
|
|
34
|
+
NAME_CN: "占位组件",
|
|
35
35
|
NAME_EN: "Placeholder",
|
|
36
36
|
// 排在通用组件最末尾,避免和高频组件抢位
|
|
37
|
-
ORDER: 99
|
|
37
|
+
ORDER: 99,
|
|
38
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
38
39
|
}, be = {
|
|
39
|
-
//
|
|
40
|
+
// 占位组件的业务名称,宿主前端通过它来匹配区域
|
|
40
41
|
placeholderName: {
|
|
41
42
|
value: "",
|
|
42
43
|
type: "string",
|
|
43
|
-
label: "
|
|
44
|
+
label: "占位组件名称"
|
|
44
45
|
},
|
|
45
46
|
// 描述文字(仅在编辑模式下展示,便于辨识)
|
|
46
47
|
description: {
|
|
@@ -99,7 +100,7 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
99
100
|
type: "checkbox",
|
|
100
101
|
label: "运行时显示边框"
|
|
101
102
|
}
|
|
102
|
-
}, ye = [], xe = {}, _e = { DEFAULT:
|
|
103
|
+
}, ye = [], xe = {}, _e = { DEFAULT: ve, OPTIONS: be, SOURCE: ye, COMMON: xe }, we = /* @__PURE__ */ Q(D(B({}, _e), {
|
|
103
104
|
__name: "placeholder",
|
|
104
105
|
props: {
|
|
105
106
|
conf: {
|
|
@@ -156,7 +157,7 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
156
157
|
borderWidth: `${Math.max(1, d.value.borderWidth)}px`,
|
|
157
158
|
borderRadius: `${d.value.radiusSize}px`,
|
|
158
159
|
backgroundColor: "transparent"
|
|
159
|
-
})),
|
|
160
|
+
})), f = X(null), E = Y("rootRef"), I = () => {
|
|
160
161
|
const t = E.value;
|
|
161
162
|
if (!t) return { gridItem: null, canvas: null };
|
|
162
163
|
const l = t.closest(".vgl-item") || t.closest(".vue-grid-item"), a = t.closest(".canvas");
|
|
@@ -165,7 +166,7 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
165
166
|
const { gridItem: t, canvas: l } = I();
|
|
166
167
|
if (!t || !l) return;
|
|
167
168
|
const a = t.getBoundingClientRect(), n = l.getBoundingClientRect(), c = l.offsetWidth || 1, u = n.width / c || 1, s = u === 0 ? 1 : u;
|
|
168
|
-
|
|
169
|
+
f.value = {
|
|
169
170
|
left: Math.round((a.left - n.left) / s),
|
|
170
171
|
top: Math.round((a.top - n.top) / s),
|
|
171
172
|
width: Math.round(a.width / s),
|
|
@@ -186,7 +187,7 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
186
187
|
w: (y = (s = e.conf) == null ? void 0 : s.w) != null ? y : 0,
|
|
187
188
|
h: (_ = (x = e.conf) == null ? void 0 : x.h) != null ? _ : 0
|
|
188
189
|
},
|
|
189
|
-
pixel:
|
|
190
|
+
pixel: f.value,
|
|
190
191
|
mode: e.mode
|
|
191
192
|
}
|
|
192
193
|
})
|
|
@@ -194,17 +195,17 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
194
195
|
} catch (N) {
|
|
195
196
|
}
|
|
196
197
|
};
|
|
197
|
-
let
|
|
198
|
+
let v = null;
|
|
198
199
|
return Z(() => {
|
|
199
200
|
U(() => {
|
|
200
201
|
S(), C("registered");
|
|
201
202
|
const { gridItem: t } = I();
|
|
202
|
-
t && typeof ResizeObserver != "undefined" && (
|
|
203
|
+
t && typeof ResizeObserver != "undefined" && (v = new ResizeObserver(() => {
|
|
203
204
|
S(), C("updated");
|
|
204
|
-
}),
|
|
205
|
+
}), v.observe(t));
|
|
205
206
|
});
|
|
206
207
|
}), ee(() => {
|
|
207
|
-
|
|
208
|
+
v == null || v.disconnect(), v = null, C("unregistered");
|
|
208
209
|
}), te(
|
|
209
210
|
() => {
|
|
210
211
|
var t, l, a, n, c;
|
|
@@ -217,7 +218,7 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
217
218
|
},
|
|
218
219
|
{ deep: !0 }
|
|
219
220
|
), (t, l) => {
|
|
220
|
-
var a, n, c, u, s, y, x, _, N, O, M,
|
|
221
|
+
var a, n, c, u, s, y, x, _, N, O, M, F, L, P, T, W, z;
|
|
221
222
|
return h(), m("div", {
|
|
222
223
|
ref_key: "rootRef",
|
|
223
224
|
ref: E,
|
|
@@ -237,18 +238,18 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
237
238
|
}, [
|
|
238
239
|
d.value.showLabel ? (h(), m("div", ce, [
|
|
239
240
|
p("div", ie, [
|
|
240
|
-
l[0] || (l[0] = p("span", { class: "mix-placeholder__tag" }, "
|
|
241
|
+
l[0] || (l[0] = p("span", { class: "mix-placeholder__tag" }, "占位组件", -1)),
|
|
241
242
|
g.value ? (h(), m("span", se, i(g.value), 1)) : b("", !0)
|
|
242
243
|
]),
|
|
243
244
|
p("div", ue, [
|
|
244
245
|
p("span", null, "x:" + i((M = (O = o.conf) == null ? void 0 : O.x) != null ? M : 0), 1),
|
|
245
|
-
p("span", null, "y:" + i((
|
|
246
|
-
p("span", null, "w:" + i((
|
|
247
|
-
p("span", null, "h:" + i((
|
|
246
|
+
p("span", null, "y:" + i((L = (F = o.conf) == null ? void 0 : F.y) != null ? L : 0), 1),
|
|
247
|
+
p("span", null, "w:" + i((T = (P = o.conf) == null ? void 0 : P.w) != null ? T : 0), 1),
|
|
248
|
+
p("span", null, "h:" + i((z = (W = o.conf) == null ? void 0 : W.h) != null ? z : 0), 1)
|
|
248
249
|
]),
|
|
249
|
-
|
|
250
|
-
oe(i(
|
|
251
|
-
p("span", me, "@(" + i(
|
|
250
|
+
f.value ? (h(), m("div", he, [
|
|
251
|
+
oe(i(f.value.width) + "px × " + i(f.value.height) + "px ", 1),
|
|
252
|
+
p("span", me, "@(" + i(f.value.left) + ", " + i(f.value.top) + ")", 1)
|
|
252
253
|
])) : b("", !0),
|
|
253
254
|
d.value.description ? (h(), m("div", pe, i(d.value.description), 1)) : b("", !0)
|
|
254
255
|
])) : b("", !0)
|
|
@@ -257,13 +258,13 @@ const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y",
|
|
|
257
258
|
class: "mix-placeholder__frame mix-placeholder__frame--runtime",
|
|
258
259
|
style: R(j.value)
|
|
259
260
|
}, [
|
|
260
|
-
d.value.showLabel && g.value ? (h(), m("span",
|
|
261
|
+
d.value.showLabel && g.value ? (h(), m("span", fe, i(g.value), 1)) : b("", !0)
|
|
261
262
|
], 4)) : b("", !0),
|
|
262
263
|
le(t.$slots, "default", {}, void 0, !0)
|
|
263
264
|
], 12, ne);
|
|
264
265
|
};
|
|
265
266
|
}
|
|
266
|
-
})), Re = /* @__PURE__ */ de(we, [["__scopeId", "data-v-
|
|
267
|
+
})), Re = /* @__PURE__ */ de(we, [["__scopeId", "data-v-d6ad7f4c"]]);
|
|
267
268
|
export {
|
|
268
269
|
Re as default
|
|
269
270
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var P=Object.defineProperty,A=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var O=(l,t,r)=>t in l?P(l,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[t]=r,M=(l,t)=>{for(var r in t||(t={}))$.call(t,r)&&O(l,r,t[r]);if(D)for(var r of D(t))U.call(t,r)&&O(l,r,t[r]);return l},T=(l,t)=>A(l,W(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),z=require("./ele-box-icon-NZ0BTjhm.cjs"),j=require("./index-DVqMfQVc.cjs"),q=["data-placeholder-id","data-placeholder-name","data-x","data-y","data-w","data-h"],G={key:0,class:"mix-placeholder__label"},H={class:"mix-placeholder__title"},J={key:0,class:"mix-placeholder__name"},K={class:"mix-placeholder__meta"},Q={key:0,class:"mix-placeholder__pixel"},X={class:"mix-placeholder__pixel-pos"},Y={key:1,class:"mix-placeholder__desc"},Z={key:0,class:"mix-placeholder__name-runtime"},ee={DEFAULT_ICON:z.DEFAULT_ICON,ACTIVE_ICON:z.ACTIVE_ICON,NAME_CN:"占位组件",NAME_EN:"Placeholder",ORDER:99,PLATFORM:["pc","screen","mobile"]},te={placeholderName:{value:"",type:"string",label:"占位组件名称"},description:{value:"",type:"string",label:"描述"},bgColor:{value:"rgba(64, 158, 255, 0.08)",type:"color",label:"填充色"},borderColor:{value:"#409EFF",type:"color",label:"边框颜色"},borderWidth:{value:2,type:"number",label:"边框宽度",min:0,max:10},borderStyle:{value:"dashed",type:"radio",label:"边框样式",option:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}]},radiusSize:{value:4,type:"number",label:"圆角",min:0,max:50},showLabel:{value:!0,type:"checkbox",label:"显示标签"},showInPreview:{value:!1,type:"checkbox",label:"运行时显示边框"}},oe=[],le={},ae={DEFAULT:ee,OPTIONS:te,SOURCE:oe,COMMON:le},ne=e.defineComponent(T(M({},ae),{__name:"placeholder",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(l){const t=l,r=(o,a)=>{var c,i;const n=(i=(c=t.conf)==null?void 0:c.options)==null?void 0:i[o];return n==null?a:typeof n=="object"&&"value"in n?n.value:n},d=e.computed(()=>({placeholderName:r("placeholderName",""),description:r("description",""),bgColor:r("bgColor","rgba(64, 158, 255, 0.08)"),borderColor:r("borderColor","#409EFF"),borderWidth:Number(r("borderWidth",2))||0,borderStyle:r("borderStyle","dashed"),radiusSize:Number(r("radiusSize",4))||0,showLabel:r("showLabel",!0)!==!1,showInPreview:r("showInPreview",!1)===!0})),_=e.computed(()=>{var o,a;return d.value.placeholderName||((o=t.conf)==null?void 0:o.name)||((a=t.conf)==null?void 0:a.id)||""}),b=e.computed(()=>{var o,a;return d.value.placeholderName||((o=t.conf)==null?void 0:o.caption)||((a=t.conf)==null?void 0:a.name)||""}),F=e.computed(()=>({backgroundColor:d.value.bgColor,borderColor:d.value.borderColor,borderStyle:d.value.borderStyle,borderWidth:`${d.value.borderWidth}px`,borderRadius:`${d.value.radiusSize}px`})),L=e.computed(()=>({borderColor:d.value.borderColor,borderStyle:d.value.borderStyle,borderWidth:`${Math.max(1,d.value.borderWidth)}px`,borderRadius:`${d.value.radiusSize}px`,backgroundColor:"transparent"})),m=e.ref(null),S=e.useTemplateRef("rootRef"),N=()=>{const o=S.value;if(!o)return{gridItem:null,canvas:null};const a=o.closest(".vgl-item")||o.closest(".vue-grid-item"),n=o.closest(".canvas");return{gridItem:a,canvas:n}},x=()=>{const{gridItem:o,canvas:a}=N();if(!o||!a)return;const n=o.getBoundingClientRect(),c=a.getBoundingClientRect(),i=a.offsetWidth||1,u=c.width/i||1,s=u===0?1:u;m.value={left:Math.round((n.left-c.left)/s),top:Math.round((n.top-c.top)/s),width:Math.round(n.width/s),height:Math.round(n.height/s)}},y=o=>{var a,n,c,i,u,s,h,v,f;if(typeof window!="undefined")try{window.dispatchEvent(new CustomEvent(`mix-placeholder:${o}`,{detail:{id:((a=t.conf)==null?void 0:a.id)||"",name:_.value,grid:{x:(c=(n=t.conf)==null?void 0:n.x)!=null?c:0,y:(u=(i=t.conf)==null?void 0:i.y)!=null?u:0,w:(h=(s=t.conf)==null?void 0:s.w)!=null?h:0,h:(f=(v=t.conf)==null?void 0:v.h)!=null?f:0},pixel:m.value,mode:t.mode}}))}catch(g){}};let p=null;return e.onMounted(()=>{e.nextTick(()=>{x(),y("registered");const{gridItem:o}=N();o&&typeof ResizeObserver!="undefined"&&(p=new ResizeObserver(()=>{x(),y("updated")}),p.observe(o))})}),e.onBeforeUnmount(()=>{p==null||p.disconnect(),p=null,y("unregistered")}),e.watch(()=>{var o,a,n,c,i;return[(o=t.conf)==null?void 0:o.x,(a=t.conf)==null?void 0:a.y,(n=t.conf)==null?void 0:n.w,(c=t.conf)==null?void 0:c.h,(i=t.conf)==null?void 0:i.options,t.mode]},()=>{e.nextTick(()=>{x(),y("updated")})},{deep:!0}),(o,a)=>{var n,c,i,u,s,h,v,f,g,w,C,E,k,B,R,I,V;return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:S,class:"mix-placeholder",style:e.normalizeStyle({pointerEvents:l.mode==="edit"?"auto":void 0}),"data-placeholder-id":((n=l.conf)==null?void 0:n.id)||"","data-placeholder-name":_.value,"data-x":(i=(c=l.conf)==null?void 0:c.x)!=null?i:0,"data-y":(s=(u=l.conf)==null?void 0:u.y)!=null?s:0,"data-w":(v=(h=l.conf)==null?void 0:h.w)!=null?v:0,"data-h":(g=(f=l.conf)==null?void 0:f.h)!=null?g:0},[l.mode==="edit"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-placeholder__frame mix-placeholder__frame--edit",style:e.normalizeStyle(F.value)},[d.value.showLabel?(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",H,[a[0]||(a[0]=e.createElementVNode("span",{class:"mix-placeholder__tag"},"占位组件",-1)),b.value?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",K,[e.createElementVNode("span",null,"x:"+e.toDisplayString((C=(w=l.conf)==null?void 0:w.x)!=null?C:0),1),e.createElementVNode("span",null,"y:"+e.toDisplayString((k=(E=l.conf)==null?void 0:E.y)!=null?k:0),1),e.createElementVNode("span",null,"w:"+e.toDisplayString((R=(B=l.conf)==null?void 0:B.w)!=null?R:0),1),e.createElementVNode("span",null,"h:"+e.toDisplayString((V=(I=l.conf)==null?void 0:I.h)!=null?V:0),1)]),m.value?(e.openBlock(),e.createElementBlock("div",Q,[e.createTextVNode(e.toDisplayString(m.value.width)+"px × "+e.toDisplayString(m.value.height)+"px ",1),e.createElementVNode("span",X,"@("+e.toDisplayString(m.value.left)+", "+e.toDisplayString(m.value.top)+")",1)])):e.createCommentVNode("",!0),d.value.description?(e.openBlock(),e.createElementBlock("div",Y,e.toDisplayString(d.value.description),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):d.value.showInPreview?(e.openBlock(),e.createElementBlock("div",{key:1,class:"mix-placeholder__frame mix-placeholder__frame--runtime",style:e.normalizeStyle(L.value)},[d.value.showLabel&&b.value?(e.openBlock(),e.createElementBlock("span",Z,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},void 0,!0)],12,q)}}})),re=j._export_sfc(ne,[["__scopeId","data-v-d6ad7f4c"]]);exports.default=re;
|