mixdashboards 1.0.73 → 1.0.74
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-CaCkjmmb.cjs +1 -0
- package/dist/{BaseComponent-CBagahPU.js → BaseComponent-NnwLq7Cf.js} +148 -122
- package/dist/{EChartComponentBase-cFfawl6h.js → EChartComponentBase-C3gcATBZ.js} +3 -3
- package/dist/{EChartComponentBase-dLE5F7Tt.cjs → EChartComponentBase-D7_ZiE7P.cjs} +1 -1
- package/dist/{EmergencyPlanPanel--jTGG89o.js → EmergencyPlanPanel-0EfbQlQm.js} +1 -1
- package/dist/{EmergencyPlanPanel-BJb-Bbxh.cjs → EmergencyPlanPanel-XDtQc5aN.cjs} +1 -1
- package/dist/{HistoryPlanDialog-C-QPdV4V.cjs → HistoryPlanDialog-fbBtPeVt.cjs} +1 -1
- package/dist/{HistoryPlanDialog-DerClU2U.js → HistoryPlanDialog-ihGqWXNI.js} +1 -1
- package/dist/{MarkerView-CtWJi5UZ.js → MarkerView-DDN8S7xE.js} +7 -7
- package/dist/{MonitoringMap-CNaGsq83.js → MonitoringMap-DysFrw3B.js} +2 -2
- package/dist/{MonitoringMap-B6RMbiIS.cjs → MonitoringMap-UT2OL3ca.cjs} +1 -1
- package/dist/{RoamController-DmBIwcAZ.js → RoamController-1rzpYesL.js} +1 -1
- package/dist/{UniverSheet-KI09RqKm.js → UniverSheet-CMWL98B8.js} +2 -2
- package/dist/{UniverSheet-CM-vvc23.cjs → UniverSheet-DeZ-y5mH.cjs} +1 -1
- package/dist/{VisualMapping-D-MA7S0X.js → VisualMapping-GwxHIgr-.js} +1 -1
- package/dist/{accelerationChart-HBCb2bRW.cjs → accelerationChart-BGjzOc4I.cjs} +1 -1
- package/dist/{accelerationChart-D7KNk5fI.js → accelerationChart-JNRxAqU5.js} +23 -23
- package/dist/{actionItem-Bx4mW0jP.cjs → actionItem-DDlL4pxR.cjs} +1 -1
- package/dist/{actionItem-BmNYzAXu.js → actionItem-DnrNafUu.js} +2 -2
- package/dist/{alarmLevelChart-Cvnw4z1w.cjs → alarmLevelChart-B4TglthF.cjs} +1 -1
- package/dist/{alarmLevelChart-DdSw2s7W.js → alarmLevelChart-D4ZPyGyd.js} +2 -2
- package/dist/{alertTable-CC3c8DFb.js → alertTable-IwL3PIbe.js} +2 -2
- package/dist/{alertTable-hH6HA9pY.cjs → alertTable-WmivR3n_.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-yDiavTpG.js → aliasObjectSelectorDemo-DCcqetww.js} +9 -9
- package/dist/{aliasObjectSelectorDemo-C7E_fnCf.cjs → aliasObjectSelectorDemo-zcElLG44.cjs} +1 -1
- package/dist/{annualRainfallChart-B9ar8vo8.js → annualRainfallChart-CNqrXKJZ.js} +3 -3
- package/dist/{annualRainfallChart-C6JLSPIf.cjs → annualRainfallChart-DspMrDxt.cjs} +1 -1
- package/dist/{aqi-DEiCVIVa.cjs → aqi-B1bcKY5p.cjs} +1 -1
- package/dist/{aqi-BNc5QCM3.js → aqi-CdGE9-CD.js} +10 -10
- package/dist/{aqiIndass-Bowic_Pc.cjs → aqiIndass-BZpPo1tj.cjs} +1 -1
- package/dist/{aqiIndass-CAGV8_Uf.js → aqiIndass-CuKfMaYn.js} +30 -30
- package/dist/{areaDeformCurve-CSpR060t.js → areaDeformCurve-Chn4CE8w.js} +4 -4
- package/dist/{areaDeformCurve-CVy23kV2.cjs → areaDeformCurve-bNNNS8Cb.cjs} +1 -1
- package/dist/{arrayCard-NqoQKcE9.cjs → arrayCard-BYZWRop3.cjs} +1 -1
- package/dist/{arrayCard-PPDb7U6X.js → arrayCard-CVVWnZDk.js} +2 -2
- package/dist/{audio-Bw-GaYe1.cjs → audio-BeYg08W5.cjs} +1 -1
- package/dist/{audio-BJPFIQIr.js → audio-YTfr7Lqf.js} +2 -2
- package/dist/{axisAlignTicks-BqVUa467.js → axisAlignTicks-Chqgi59U.js} +2 -2
- package/dist/bar-1K14ZPKy.cjs +2 -0
- package/dist/bar-YhAAV2al.js +309 -0
- package/dist/bmp-Uj7Bu61U.js +2080 -0
- package/dist/bmp-vWIH5Cu7.cjs +1 -0
- package/dist/{box-DIHVOqrV.js → box-C8RIfuID.js} +2 -2
- package/dist/{box-CKuGsh2k.cjs → box-Cdzw27uU.cjs} +1 -1
- package/dist/{chartConfigPanel-BVdVXbs6.cjs → chartConfigPanel-D3voTkdQ.cjs} +1 -1
- package/dist/{chartConfigPanel-D1rO6SGh.js → chartConfigPanel-DLa3heKy.js} +1 -1
- package/dist/{circleBar-CBLcp4Xi.js → circleBar-DUSP-iMF.js} +15 -15
- package/dist/{circleBar-BzXqA-Cz.cjs → circleBar-Dc_qd4gk.cjs} +1 -1
- package/dist/{clock-DmWyBpo-.cjs → clock-0USfNfTc.cjs} +1 -1
- package/dist/{clock-4AMfFDGC.js → clock-Dk1zjBcJ.js} +2 -2
- package/dist/clt-BCHpLoab.cjs +1 -0
- package/dist/clt-Ba9Ov5WY.js +296 -0
- package/dist/cmc-CdDCboSm.cjs +1 -0
- package/dist/{cmc-Cjb5w3om.js → cmc-CsVB4uz3.js} +71 -63
- package/dist/cmp-BPM8lMqg.cjs +6 -0
- package/dist/{cmp-COJzlQPa.js → cmp-D4ZO7mz7.js} +54 -55
- package/dist/{conclusionCard-C-TT6znN.cjs → conclusionCard-BVHHtpxH.cjs} +1 -1
- package/dist/{conclusionCard-BQUlLFde.js → conclusionCard-BYR-fH4f.js} +2 -2
- package/dist/{controlList-5D5UIDQL.js → controlList-DYV1wgUY.js} +2 -2
- package/dist/{controlList-CIwzKylK.cjs → controlList-DsEyes9v.cjs} +1 -1
- package/dist/{controlRecordList-Cp5mmEQ1.js → controlRecordList-CBGpB41d.js} +2 -2
- package/dist/{controlRecordList-uEQ3ohmB.cjs → controlRecordList-j0pBrQiU.cjs} +1 -1
- package/dist/{controlRecordListAPP-B5d4x_xH.cjs → controlRecordListAPP-BktJCkFK.cjs} +1 -1
- package/dist/{controlRecordListAPP-p_skbQVD.js → controlRecordListAPP-CSt8rFZX.js} +2 -2
- package/dist/{crd-Dfl2XKAx.cjs → crd-C8IqmHc6.cjs} +1 -1
- package/dist/{crd-8gRWMf2Y.js → crd-Di7EfiY1.js} +2 -2
- package/dist/{createSeriesData-E53TTCAt.js → createSeriesData-BUgbWEWK.js} +2 -2
- package/dist/{createSeriesDataSimply-Bsly4zZA.js → createSeriesDataSimply-C7bzYYow.js} +2 -2
- package/dist/{ctrBtn-BzmFxucy.js → ctrBtn-BzMHJHA9.js} +94 -89
- package/dist/ctrBtn-Cj-AqUKM.cjs +1 -0
- package/dist/ctrSet-CnDBng-I.cjs +1 -0
- package/dist/ctrSet-DMkuRDFI.js +234 -0
- package/dist/ctrSwitch-BRfl35Aw.cjs +1 -0
- package/dist/{ctrSwitch-6nMHbIE7.js → ctrSwitch-FJgD05b0.js} +94 -88
- package/dist/{cursorHelper-DE0KU4_J.js → cursorHelper-BFbblC6t.js} +1 -1
- package/dist/{customGraphicKeyframeAnimation-BJ_z0kB3.js → customGraphicKeyframeAnimation-veqkTlqy.js} +17 -17
- package/dist/{dataManagement-BZiSmktM.js → dataManagement-CQoqc9Rh.js} +2 -2
- package/dist/{dataManagement-sQpuBaDz.cjs → dataManagement-CXbeNggN.cjs} +1 -1
- package/dist/{dataReport-D9Q9c43B.cjs → dataReport-BkIDOCdC.cjs} +1 -1
- package/dist/{dataReport-CbJzXeCE.js → dataReport-l2SE8HZx.js} +2 -2
- package/dist/{dataSample-BXwc06Sb.js → dataSample-Czrba8EC.js} +1 -1
- package/dist/{dataTable-BJ4SVFbu.cjs → dataTable-BdttKfHG.cjs} +1 -1
- package/dist/{dataTable-BuBB0b-A.js → dataTable-jf6qXfJJ.js} +1 -1
- package/dist/{datetime-B66VgJL1.cjs → datetime-BH9orUUf.cjs} +1 -1
- package/dist/{datetime-DO03QrXz.js → datetime-eht4XkmD.js} +2 -2
- package/dist/{deepClusterSlipSurface-BqT55vkY.cjs → deepClusterSlipSurface-CF_MN7sO.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-DpSAXgFf.js → deepClusterSlipSurface-D2d52L50.js} +6 -6
- package/dist/{deepDataMatrix-CPrIOv5r.js → deepDataMatrix-DY1WmgGR.js} +7 -7
- package/dist/{deepDataMatrix-DZZaTMbD.cjs → deepDataMatrix-DqbCqz8d.cjs} +1 -1
- package/dist/{deepDisplacement3D-JlMej7-5.js → deepDisplacement3D-CuVVhd0X.js} +20 -21
- package/dist/{deepDisplacement3D-Cd9nwwPt.cjs → deepDisplacement3D-D3-KOmef.cjs} +60 -60
- package/dist/{deepDisplacementChart-CEaj2bUV.cjs → deepDisplacementChart-BwBojI9h.cjs} +1 -1
- package/dist/{deepDisplacementChart-CjlGpeHj.js → deepDisplacementChart-C_3eHTmR.js} +25 -25
- package/dist/{deepDisplacementChart-BiDt60xI.js → deepDisplacementChart-DFosjAQL.js} +4 -4
- package/dist/{deepDisplacementChart-CALM3gna.cjs → deepDisplacementChart-DzikjpBz.cjs} +1 -1
- package/dist/{deepDisplacementView-BpUw-b-i.js → deepDisplacementView-BNQaheci.js} +3 -3
- package/dist/{deepDisplacementView-CoSNzN1q.cjs → deepDisplacementView-gJdi6U9B.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-DfZq7kLx.js → deepNodeTemperatureChart-C5d-tyOA.js} +22 -22
- package/dist/{deepNodeTemperatureChart-DPN0rYir.cjs → deepNodeTemperatureChart-oMknBT7e.cjs} +1 -1
- package/dist/{deepTangentAngleChart-Ca01hah9.js → deepTangentAngleChart-C35d0nBR.js} +18 -18
- package/dist/{deepTangentAngleChart-Dg9PJspK.cjs → deepTangentAngleChart-C7b7sEab.cjs} +1 -1
- package/dist/{deepTemperatureField-BqDB97SW.cjs → deepTemperatureField-BnWHpVPm.cjs} +1 -1
- package/dist/{deepTemperatureField-CYBTjhEp.js → deepTemperatureField-DbGy0vHS.js} +25 -25
- package/dist/{deepTrendChart-B5BAHTeY.cjs → deepTrendChart-D676owsq.cjs} +1 -1
- package/dist/{deepTrendChart-DBjxV7_A.js → deepTrendChart-DdCYjiWZ.js} +18 -18
- package/dist/{deviceOnlineStatus-1eoHCl_-.js → deviceOnlineStatus-BH-2-UBD.js} +2 -2
- package/dist/{deviceOnlineStatus-DHzaAzCp.cjs → deviceOnlineStatus-DSuaeFZj.cjs} +1 -1
- package/dist/{deviceStatus-90rQa1uj.js → deviceStatus-CxjbfqGK.js} +15 -15
- package/dist/{deviceStatus-4BMy4qBD.cjs → deviceStatus-ySE9suGE.cjs} +1 -1
- package/dist/{displacementDataTable-BArwj-xp.js → displacementDataTable-CAYYafN7.js} +17 -17
- package/dist/{displacementDataTable-BLWjiaRQ.cjs → displacementDataTable-DwutxypE.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-CxOPJVlD.js → displacementTrajectoryChart-ClUAsle_.js} +14 -14
- package/dist/{displacementTrajectoryChart-DfJMOCFJ.cjs → displacementTrajectoryChart-zya-qu9n.cjs} +1 -1
- package/dist/{displacementTrendChart-Cuxa5iTp.cjs → displacementTrendChart-DZj52qRD.cjs} +1 -1
- package/dist/{displacementTrendChart-4E6cDsX8.js → displacementTrendChart-xqe9LMp8.js} +17 -17
- package/dist/{dxf-BgklkksV.cjs → dxf-Cmr9xmL0.cjs} +1 -1
- package/dist/{dxf-BogwbJID.js → dxf-tZgpovsn.js} +2 -2
- package/dist/{dzc-CApfzriC.cjs → dzc-BwCEpLKp.cjs} +1 -1
- package/dist/{dzc-D7tTBLaA.js → dzc-C0VMyvsH.js} +9 -9
- package/dist/{echarts-BVht3HHb.js → echarts-Bp7QN4X6.js} +90 -90
- package/dist/{emergencyPlan-BuFz4XFc.cjs → emergencyPlan-CQtYRB5n.cjs} +1 -1
- package/dist/{emergencyPlan-CjbuX-N5.js → emergencyPlan-j1icRflR.js} +3 -3
- package/dist/{evn-DTPm72ZM.js → evn-B2F6pbqY.js} +2 -2
- package/dist/{evn-BcSenXF3.cjs → evn-B6WNZ0pv.cjs} +1 -1
- package/dist/{evolutionChart-D1dVKWOt.js → evolutionChart-C1rPjVsB.js} +5 -5
- package/dist/{evolutionChart-CrwR8i40.cjs → evolutionChart-q9UtSs9r.cjs} +1 -1
- package/dist/{fileViewer-BNHwlZRa.js → fileViewer-Bj4FYg5G.js} +13 -13
- package/dist/{fileViewer-BUuST3Rp.cjs → fileViewer-ZO55zvWU.cjs} +1 -1
- package/dist/{filterBar-CRJinh5K.js → filterBar-CIYpcc9y.js} +2 -2
- package/dist/{filterBar-BJzjPFFg.cjs → filterBar-D7js_Q7g.cjs} +1 -1
- package/dist/{fireCombustionCurve-BGdJ1ybj.cjs → fireCombustionCurve-CiVXjt9E.cjs} +1 -1
- package/dist/{fireCombustionCurve-BZ6qJ1kq.js → fireCombustionCurve-DEHjb7Lp.js} +3 -3
- package/dist/{fireFilterBar-KvvbsCsZ.js → fireFilterBar-BzgnlY5d.js} +2 -2
- package/dist/{fireFilterBar-DZejT0oL.cjs → fireFilterBar-CkQU9Yaf.cjs} +1 -1
- package/dist/{fireHistoryTable-80ygqnOG.js → fireHistoryTable-BoAArvjx.js} +2 -2
- package/dist/{fireHistoryTable-CMSGKb3w.cjs → fireHistoryTable-JCY4nLos.cjs} +1 -1
- package/dist/gag-CrUeBa30.cjs +1 -0
- package/dist/gag-DCGVulGC.js +168 -0
- package/dist/{gasStationList-DjJtXnqL.cjs → gasStationList-CN2y3zri.cjs} +1 -1
- package/dist/{gasStationList-DM-laJsi.js → gasStationList-CifrfkH0.js} +3 -3
- package/dist/{geo3dViewer-CL_89mQf.cjs → geo3dViewer-BSAjBg2m.cjs} +1 -1
- package/dist/{geo3dViewer-FhmMIvMJ.js → geo3dViewer-Du775tJ7.js} +3 -3
- package/dist/{glbModel-B0nWYYJQ.js → glbModel-2uTNL367.js} +2 -2
- package/dist/{glbModel-DakMJal6.cjs → glbModel-Cm1M6hko.cjs} +1 -1
- package/dist/{globalObjectSelector-Gv4srHhp.js → globalObjectSelector-CEpO2o2w.js} +1 -1
- package/dist/{globalObjectSelector-jNzZxdnL.cjs → globalObjectSelector-W_YToM6x.cjs} +1 -1
- package/dist/{gnssFilterBar-kEIW7Tjs.cjs → gnssFilterBar-BSHEfiyz.cjs} +1 -1
- package/dist/{gnssFilterBar-C4rpyNw3.js → gnssFilterBar-DZYOL5nC.js} +2 -2
- package/dist/{gnssHistoryTable-DRKlP8-b.cjs → gnssHistoryTable-Ct98Vz6i.cjs} +1 -1
- package/dist/{gnssHistoryTable-CyMwQJ7_.js → gnssHistoryTable-naChmXHT.js} +2 -2
- package/dist/{gnssMapView-DpExCi0x.cjs → gnssMapView-CCW4_-Sn.cjs} +2 -2
- package/dist/{gnssMapView-EVufCGrW.js → gnssMapView-DouWOPLF.js} +6 -6
- package/dist/{gnssSectionProfile-CaJwF9wp.js → gnssSectionProfile-Be-THvQP.js} +4 -4
- package/dist/{gnssSectionProfile-DdcOMdNC.cjs → gnssSectionProfile-hzXQ4KzJ.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-y11Y8k2-.cjs → gnssTimeSeriesChart-CbMxKxjG.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-iffDvMNx.js → gnssTimeSeriesChart-DoMBz4zf.js} +2 -2
- package/dist/{gnssXYTrajectory-DGBGGDwi.cjs → gnssXYTrajectory-BNwqQna4.cjs} +1 -1
- package/dist/{gnssXYTrajectory-C_1fuLWn.js → gnssXYTrajectory-Bg2B89Vw.js} +2 -2
- package/dist/{grd-C4hCrpvH.cjs → grd-C-x23C0E.cjs} +1 -1
- package/dist/{grd-FfuMQJb7.js → grd-XTVPofQw.js} +17 -17
- package/dist/{grdIndass-BTbZmPLZ.js → grdIndass-CYawTr5K.js} +2 -2
- package/dist/{grdIndass-CyuRKD5H.cjs → grdIndass-h7STZwba.cjs} +1 -1
- package/dist/{grg-CcnI5kRY.js → grg-BZPHOdr_.js} +16 -16
- package/dist/{grg-Cuxa17d6.cjs → grg-DMRsgNoC.cjs} +1 -1
- package/dist/{gridview-CKjBuTRq.cjs → gridview-BAqXV-TI.cjs} +1 -1
- package/dist/{gridview-ffVc5Wvg.js → gridview-C_Lqcw3n.js} +2 -2
- package/dist/{groundwaterFilterBar-DaPR-kbl.js → groundwaterFilterBar-Dq216QFO.js} +2 -2
- package/dist/{groundwaterFilterBar-D3l7GLVY.cjs → groundwaterFilterBar-RcVBt_vt.cjs} +1 -1
- package/dist/{groundwaterProfileChart-DoSx7WWp.js → groundwaterProfileChart-7LN3wfLM.js} +3 -3
- package/dist/{groundwaterProfileChart-BxJKIPXF.cjs → groundwaterProfileChart-D31MpfdN.cjs} +2 -2
- package/dist/{groundwaterTimeCurve-Bp5MxM9k.cjs → groundwaterTimeCurve-C65gdinn.cjs} +1 -1
- package/dist/{groundwaterTimeCurve-D-SdVYeq.js → groundwaterTimeCurve-CJgvt43Z.js} +3 -3
- package/dist/{groupCard-COMEkzIb.js → groupCard-BpjcijZW.js} +2 -2
- package/dist/{groupCard-BzUQ8xY0.cjs → groupCard-DNOawK4_.cjs} +1 -1
- package/dist/{headerBar-ouXO8bzC.js → headerBar-Bnv8ylmr.js} +2 -2
- package/dist/{headerBar-iFe0YQKE.cjs → headerBar-CNWKR951.cjs} +1 -1
- package/dist/{history-BZ869y2d.js → history-DdkBOj8L.js} +24 -24
- package/dist/{history-MxYUUwkm.cjs → history-xZTq1lUB.cjs} +1 -1
- package/dist/index-BzWbqJIl.cjs +612 -0
- package/dist/index-CJgyJTvc.cjs +11 -0
- package/dist/{index-DwPJu6XM.js → index-D5BukPPY.js} +1805 -1642
- package/dist/{index-ButoLLAe.js → index-eIsZnzkc.js} +2753 -2122
- package/dist/{insarDeformChart-5BhCUq8L.js → insarDeformChart-BKgJHbFe.js} +2 -2
- package/dist/{insarDeformChart-Ca3AMsBk.cjs → insarDeformChart-DIvxdDkN.cjs} +1 -1
- package/dist/{insarImageViewer-DWPsoHz6.cjs → insarImageViewer-Bray3mKg.cjs} +1 -1
- package/dist/{insarImageViewer-DHNxmLpa.js → insarImageViewer-qI5GBqkU.js} +2 -2
- package/dist/{install-FDYiy_gL.js → install-B_v5XJLG.js} +5 -5
- package/dist/{install-9_V0b6vf.js → install-BfNaEf5I.js} +24 -24
- package/dist/{install-B0x4IqQr.js → install-By9bYCXw.js} +11 -11
- package/dist/{install-hfre7yvV.js → install-CEl1AYgZ.js} +2 -2
- package/dist/{install-BzdOSCzO.js → install-CIdzgJ44.js} +109 -109
- package/dist/{install-oGjJ0_bF.js → install-CJ_UX-RT.js} +44 -44
- package/dist/{install-BifpoHNI.js → install-CY89Nrxl.js} +5 -5
- package/dist/{install-BUu5ESB7.js → install-Cmw0VV-B.js} +72 -72
- package/dist/{install-MS3ZY7fF.js → install-CqrIgcb1.js} +7 -7
- package/dist/{install-D1QM80AD.js → install-DNDCMXB3.js} +2 -2
- package/dist/install-DbAuuRVv.js +8 -0
- package/dist/{install-CBde4hAM.js → install-DdM8j5Ll.js} +1 -1
- package/dist/{install-B2TChEcT.js → install-DwcX1eNi.js} +4 -4
- package/dist/{install-C_3uGWLu.js → install-FXyLnlJE.js} +9 -9
- package/dist/{install-C9Cdzkc6.js → install-UooD2LwU.js} +29 -29
- package/dist/{install-Cx1i_m0k.js → install-ZJfH__Vo.js} +11 -11
- package/dist/{install-8XfFtnlL.js → install-uPZUxWT9.js} +19 -19
- package/dist/{installCanvasRenderer-CLT2hquJ.js → installCanvasRenderer-oDYkyVFy.js} +4 -4
- package/dist/{installMarkArea-Cdg4iciO.js → installMarkArea-DaDitBR7.js} +15 -15
- package/dist/{installMarkLine-BgE0YACE.js → installMarkLine-CHCnywAM.js} +10 -10
- package/dist/{installSimple-BWTCwMdY.js → installSimple-CB2Y4Ri7.js} +3 -3
- package/dist/{kds-Dpf_3WWj.cjs → kds-BibvGW1n.cjs} +1 -1
- package/dist/{kds-BYZC4pIM.js → kds-C1Chb0fa.js} +30 -30
- package/dist/{kpiCard-CStPtl-c.js → kpiCard-KuMZjN55.js} +2 -2
- package/dist/{kpiCard-OLJgA48-.cjs → kpiCard-tnfcEXOn.cjs} +1 -1
- package/dist/{labelHelper-Cd8oB-sZ.js → labelHelper-DccEpjmd.js} +1 -1
- package/dist/{landslideMap-BUq0x7rd.js → landslideMap-B4vzymkZ.js} +15 -15
- package/dist/{landslideMap-JTdoQjW-.cjs → landslideMap-DlMSDibx.cjs} +1 -1
- package/dist/{landslideWarning-VAn9XGUj.js → landslideWarning-BYlaEzUr.js} +5 -5
- package/dist/{landslideWarning-ZA5LCsIr.cjs → landslideWarning-DtOMb7U_.cjs} +1 -1
- package/dist/{layerTabs-CAJ6f-2W.js → layerTabs-BG0gTvo8.js} +2 -2
- package/dist/{layerTabs-CdhowHB1.cjs → layerTabs-DQm_b2aH.cjs} +1 -1
- package/dist/{leaflet-src-DNO2-OsP.js → leaflet-src-DVXepwmU.js} +1 -1
- package/dist/{leaflet-src-CxFQ_Cn7.cjs → leaflet-src-qPfpknMO.cjs} +1 -1
- package/dist/{lerc-qU4WKXeS.cjs → lerc-CITZZDb7.cjs} +1 -1
- package/dist/{lerc-bF2jqjoV.js → lerc-Z6kWrF7V.js} +2 -2
- package/dist/{lin-BHI2KgyW.cjs → lin-CW8Q8u-z.cjs} +1 -1
- package/dist/{lin-DbQw7wZw.js → lin-zJYjIE2f.js} +11 -11
- package/dist/{linIndass-Cd9Hjzs_.js → linIndass-27mWriLs.js} +16 -16
- package/dist/{linIndass-CIrObeZT.cjs → linIndass-CQaikC7I.cjs} +1 -1
- package/dist/{lst-C3C2m1v_.js → lst-BqXNkXrQ.js} +2 -2
- package/dist/{lst-BRsEe-Hq.cjs → lst-Cu-ohx2m.cjs} +1 -1
- package/dist/{manualEntry-B8TDMcDg.js → manualEntry-BPEmSok7.js} +2 -2
- package/dist/{manualEntry-C3_WtYz8.cjs → manualEntry-zj6TEXL7.cjs} +1 -1
- package/dist/{mapBackground-BrVIQUcT.js → mapBackground-BhcSOZ_h.js} +3 -3
- package/dist/{mapBackground-Du7R_ICY.cjs → mapBackground-CRI873EC.cjs} +1 -1
- package/dist/{mappingList-BpJUawmv.js → mappingList-CvG8EIIC.js} +2 -2
- package/dist/{mappingList-C5OZ8oUx.cjs → mappingList-DGgPl4t4.cjs} +1 -1
- package/dist/{markdownViewer-CoRrvdY7.js → markdownViewer-D9JqGyeI.js} +6 -6
- package/dist/{markdownViewer-D96bwxEt.cjs → markdownViewer-DvbUv7kn.cjs} +1 -1
- package/dist/mix-control-modal-DaRWnX3S.js +160 -0
- package/dist/mix-control-modal-DpAs-GHi.cjs +1 -0
- package/dist/{mixGrid-Hj0OJjkg.cjs → mixGrid-CHne1dXO.cjs} +1 -1
- package/dist/{mixGrid-CtJWul6c.js → mixGrid-FBiMFT4V.js} +4 -4
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BwIQvSS-.js +67 -0
- package/dist/mixiotObjectListApi-ClirV2tM.cjs +1 -0
- package/dist/{mjpegCamera-Dc4IsJA6.js → mjpegCamera-D2quqZNc.js} +2 -2
- package/dist/{mjpegCamera-BY7pmbDc.cjs → mjpegCamera-D32gJ5oN.cjs} +1 -1
- package/dist/{monitorAlert-DVNvJyTy.cjs → monitorAlert-CxC81qAu.cjs} +1 -1
- package/dist/{monitorAlert-F8QFOchR.js → monitorAlert-D4qszzHh.js} +12 -12
- package/dist/{monitorData-AkPbhJ9q.cjs → monitorData-CVkL2ukF.cjs} +1 -1
- package/dist/{monitorData-BzqNIdrW.js → monitorData-DnWDsgTT.js} +13 -13
- package/dist/{monitorSpeedChart-348U37LW.js → monitorSpeedChart-CHpQsrDt.js} +3 -3
- package/dist/{monitorSpeedChart-DVH1xihw.cjs → monitorSpeedChart-CKxwWE0i.cjs} +1 -1
- package/dist/{mxa-CkJjCHA-.js → mxa-Cbnwonqc.js} +7 -7
- package/dist/{mxa-DShU528J.cjs → mxa-UU7rQDd8.cjs} +1 -1
- package/dist/{myValue-CEfp19i2.js → myValue-DBxx1jtk.js} +2 -2
- package/dist/{myValue-BCeycpdO.cjs → myValue-DzARZpdg.cjs} +1 -1
- package/dist/{myValueList-CAPOW8TK.cjs → myValueList-BVbeDsWn.cjs} +1 -1
- package/dist/{myValueList-y3GR4AX2.js → myValueList-BbtPVr5y.js} +2 -2
- package/dist/{objectList-D16yLbzD.js → objectList-Cpu0yqsK.js} +4 -4
- package/dist/{objectList-4rYQk5uq.cjs → objectList-D5E8PU66.cjs} +1 -1
- package/dist/objectListAPP-CYxy9UjL.js +2247 -0
- package/dist/objectListAPP-Cr4uoJuN.cjs +1 -0
- package/dist/{photo-D67wLRkY.cjs → photo-BRMACjXO.cjs} +1 -1
- package/dist/{photo-BV6rkbWO.js → photo-DPOhq559.js} +2 -2
- package/dist/{pie-BeRwVkTk.cjs → pie-B7HO9F24.cjs} +1 -1
- package/dist/{pie-bNKhq6ak.js → pie-CUqy6VGE.js} +10 -10
- package/dist/{placeholder-zByzfWaH.cjs → placeholder-D-BpaT59.cjs} +1 -1
- package/dist/{placeholder-_iK4rVyU.js → placeholder-DsyLsZM5.js} +1 -1
- package/dist/{points-DkG9FRF9.js → points-Cddz0rX-.js} +15 -15
- package/dist/{pressBtn-BjqYIPC-.cjs → pressBtn-DZz7PZ7o.cjs} +1 -1
- package/dist/{pressBtn-B-rZPXK2.js → pressBtn-IefW25bT.js} +138 -108
- package/dist/{processTable-s_y8uups.js → processTable-Bm2HnUrZ.js} +2 -2
- package/dist/{processTable-ByPlSKRJ.cjs → processTable-kVFr2ntb.cjs} +1 -1
- package/dist/{progressBar-CRdA7oJT.cjs → progressBar-00yP_jc2.cjs} +1 -1
- package/dist/{progressBar-DskxZk1P.js → progressBar-C7RKpdcE.js} +37 -29
- package/dist/{progressCircle-BE_Am-AP.js → progressCircle-BBkwMkI0.js} +47 -39
- package/dist/{progressCircle-CHe-12Hb.cjs → progressCircle-CzqibMlZ.cjs} +1 -1
- package/dist/{qrcode-D8cFyUpL.cjs → qrcode-4NUAsx0h.cjs} +1 -1
- package/dist/{qrcode-Dgth6KwU.js → qrcode-DaHlY7Vv.js} +2 -2
- package/dist/raceBar-BVsHg94d.cjs +2 -0
- package/dist/{raceBar-DV-3KFg2.js → raceBar-WhOgwnlP.js} +116 -120
- package/dist/{rad-BhsfF0XI.js → rad-BlEn2Yx1.js} +6 -6
- package/dist/{rad-BerkC70H.cjs → rad-sMtJPs8L.cjs} +1 -1
- package/dist/{radarMapViewer-C2dde8EN.js → radarMapViewer-C1_FFYFi.js} +2 -2
- package/dist/{radarMapViewer-HWzvBTzT.cjs → radarMapViewer-CzhHFpRX.cjs} +1 -1
- package/dist/{rainfallFilterBar-CiT1mvYh.js → rainfallFilterBar-Bt2TbXV6.js} +2 -2
- package/dist/{rainfallFilterBar-kuAQO0M-.cjs → rainfallFilterBar-F7DU_nqK.cjs} +1 -1
- package/dist/{rainfallTimeCurve-BlOnCq2M.js → rainfallTimeCurve-C5tBf1lx.js} +3 -3
- package/dist/{rainfallTimeCurve-7uHaSkuE.cjs → rainfallTimeCurve-DaXSW7dI.cjs} +1 -1
- package/dist/{rangeLin-BvKd8kEv.js → rangeLin-Bral8Ev4.js} +16 -16
- package/dist/{rangeLin-BQeWFL_E.cjs → rangeLin-Cr4NRYc9.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-BUnD3JjE.cjs → realtimeEvolutionMap-CCisvZz8.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-DZ6yniwl.js → realtimeEvolutionMap-xJwuPatp.js} +2 -2
- package/dist/{regionBar-mMaN5NEc.cjs → regionBar-C8myvRfQ.cjs} +1 -1
- package/dist/{regionBar-vp5D52Jd.js → regionBar-D1iKcs2-.js} +2 -2
- package/dist/{request-CMbwWTDF.js → request-C-rUicMg.js} +5 -5
- package/dist/{request-DegEaaCG.cjs → request-Cxljxwu9.cjs} +1 -1
- package/dist/{retainer1-Xvdlh-B_.js → retainer1-BvzeaTtU.js} +84 -76
- package/dist/retainer1-CC6TO-vq.cjs +1 -0
- package/dist/{retainer2-D3a-c_BA.js → retainer2-BeakFCgo.js} +101 -93
- package/dist/retainer2-CmdgkB1y.cjs +1 -0
- package/dist/{retainerRecordList-BJbPsJ4D.js → retainerRecordList-C7lDliOb.js} +2 -2
- package/dist/{retainerRecordList-Rqnoz6_6.cjs → retainerRecordList-C9xVt3Yk.cjs} +1 -1
- package/dist/retainerRecordListAPP-BRmG7UnF.cjs +1 -0
- package/dist/{retainerRecordListAPP-CNntGyA-.js → retainerRecordListAPP-Cjip5JHS.js} +44 -42
- package/dist/{ringTopN-BFKlXqGX.js → ringTopN-BaKY-79s.js} +5 -5
- package/dist/{ringTopN-CsouIsk1.cjs → ringTopN-Wfvu1-jE.cjs} +1 -1
- package/dist/{riskRegionTable-DttMvHe5.cjs → riskRegionTable-C7ee9wQX.cjs} +1 -1
- package/dist/{riskRegionTable-B6k4uM0_.js → riskRegionTable-ovBbwMl2.js} +2 -2
- package/dist/{sankey-CAuBQaYh.cjs → sankey-BmWOGLSZ.cjs} +1 -1
- package/dist/{sankey-DEQK7uU6.js → sankey-K5BLueeX.js} +7 -7
- package/dist/{sausage-xU3hOdxD.js → sausage-DTfIyvVP.js} +1 -1
- package/dist/{scd-qaap6hGW.cjs → scd-CCNgUI2Q.cjs} +1 -1
- package/dist/{scd-D5TicpCZ.js → scd-CMVoKjwE.js} +2 -2
- package/dist/{sectorHelper-DIlWFMnU.js → sectorHelper-Ba-1dnRr.js} +1 -1
- package/dist/{sideMenu-D-73DoYb.cjs → sideMenu-BbiMVHw1.cjs} +1 -1
- package/dist/{sideMenu-ByyrOOYh.js → sideMenu-L_dYXVgD.js} +2 -2
- package/dist/{slopeStability-CTN6Kpva.cjs → slopeStability-BWVxuRRV.cjs} +1 -1
- package/dist/{slopeStability-BtgMH3oW.js → slopeStability-WUcwG1vB.js} +22 -22
- package/dist/{speedCurve-C5NoQCjK.cjs → speedCurve-QTXe81e1.cjs} +1 -1
- package/dist/{speedCurve-CInn7NAC.js → speedCurve-uwPuIJp0.js} +4 -4
- package/dist/{stressFilterBar-D_QqOHna.js → stressFilterBar-CnFNp7BR.js} +2 -2
- package/dist/{stressFilterBar-Cpfbmllu.cjs → stressFilterBar-DcqWlqsx.cjs} +1 -1
- package/dist/{stressTimeCurve-Bp6Cevk1.cjs → stressTimeCurve-C-qycuZ2.cjs} +1 -1
- package/dist/{stressTimeCurve-1HXHUj-F.js → stressTimeCurve-C3r3LUBt.js} +3 -3
- package/dist/{swiper-D_y4Fj_D.js → swiper-JShIvM0E.js} +2 -2
- package/dist/{swiper-B8YZ2VQ2.cjs → swiper-wWrsPbDA.cjs} +1 -1
- package/dist/{terminalConfigList-CHbA4y-S.js → terminalConfigList-DVhEvcTB.js} +2 -2
- package/dist/{terminalConfigList-B39cEptG.cjs → terminalConfigList-nQqB1W5s.cjs} +1 -1
- package/dist/terminalList-BkMuHXZw.cjs +1 -0
- package/dist/{terminalList-oJFrGVtT.js → terminalList-wAz6t4Ib.js} +77 -77
- package/dist/terminalListAPP-CePxWgcL.cjs +1 -0
- package/dist/terminalListAPP-DuLN2OVq.js +1935 -0
- package/dist/{textbox-DPoyxB4u.cjs → textbox-BBi-Lg1Z.cjs} +1 -1
- package/dist/{textbox-D8nmoGjG.js → textbox-DxXuhIyj.js} +2 -2
- package/dist/{timeQueryBar-uUGotoTx.cjs → timeQueryBar-BCTeL04F.cjs} +1 -1
- package/dist/{timeQueryBar-DyC0iHq9.js → timeQueryBar-DtngkLJX.js} +1 -1
- package/dist/{timeSeries-U91gMDDQ.js → timeSeries-CrdyAYs2.js} +3 -3
- package/dist/{timeSeries-BhlqgEOq.cjs → timeSeries-DJZnExBA.cjs} +1 -1
- package/dist/{timeSeriesCurve-DOhIS88N.js → timeSeriesCurve-8_exdGlQ.js} +3 -3
- package/dist/{timeSeriesCurve-CiRMnZRD.cjs → timeSeriesCurve-8_n0JJyf.cjs} +1 -1
- package/dist/{toggleBtn-CuWwHFjD.cjs → toggleBtn-B6dJ5cAt.cjs} +1 -1
- package/dist/{toggleBtn-DE35dkxx.js → toggleBtn-DExYfMvi.js} +7 -7
- package/dist/{trajectoryConfigPanel-DAbF8oE9.cjs → trajectoryConfigPanel-B2fwoe-I.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Ye7NY6rd.js → trajectoryConfigPanel-Ce1SoMtw.js} +1 -1
- package/dist/{trajectoryScatter-Dg99HzM3.cjs → trajectoryScatter-CVLEXMPO.cjs} +1 -1
- package/dist/{trajectoryScatter-DL7HUNJI.js → trajectoryScatter-h32teAQ0.js} +6 -6
- package/dist/{universalConfigPanel-CkyIDl_x.js → universalConfigPanel-CxbrIc2Z.js} +1 -1
- package/dist/{universalConfigPanel-1svBCvD9.cjs → universalConfigPanel-cRzJmx3l.cjs} +1 -1
- package/dist/{universalTable--dpnyNO2.js → universalTable-BssAi-QH.js} +2 -2
- package/dist/{universalTable-D8w7FQbl.cjs → universalTable-V604pFVr.cjs} +1 -1
- package/dist/{universalTransition-Bv7ibBUh.js → universalTransition-tYQs2a4D.js} +2 -2
- package/dist/{video-RGIZoUn6.cjs → video-B8JeGpBc.cjs} +1 -1
- package/dist/{video-BmMSRRa_.js → video-BjmIbrRS.js} +2 -2
- package/dist/{videoMonitor-Bo5T0MT_.cjs → videoMonitor-B6FzkJlS.cjs} +1 -1
- package/dist/{videoMonitor-uf6tt2E6.js → videoMonitor-CVkFwlZq.js} +4 -4
- package/dist/{vlu-D8l5zE_P.js → vlu-CHHDngO6.js} +2 -2
- package/dist/{vlu-DEo_h1qN.cjs → vlu-Dv1vt9r0.cjs} +1 -1
- package/dist/{warningOverview-A5AA_vCc.cjs → warningOverview-4M-WX3Ob.cjs} +1 -1
- package/dist/{warningOverview-CA0PikjV.js → warningOverview-DDOm2wwB.js} +3 -3
- package/dist/{weather-D20MGzuJ.cjs → weather-BGrOQFPM.cjs} +1 -1
- package/dist/{weather-DuseqeNF.js → weather-CETxcsJS.js} +2 -2
- package/dist/{windLin-D8AUL_dV.js → windLin-B3YXltBn.js} +10 -10
- package/dist/{windLin-BU6Q87dE.cjs → windLin-B6uEtUnB.cjs} +1 -1
- package/package.json +1 -1
- package/dist/BaseComponent-Chnv4fBT.cjs +0 -1
- package/dist/bar-C38h_mUA.js +0 -246
- package/dist/bar-Cru6WosS.cjs +0 -2
- package/dist/bmp-BXaEkkpa.cjs +0 -1
- package/dist/bmp-BnSOaFEr.js +0 -226
- package/dist/clt-CmPPtp9c.cjs +0 -1
- package/dist/clt-D5i_8-pq.js +0 -293
- package/dist/cmc-8jH3DGv9.cjs +0 -1
- package/dist/cmp-CpmGtNal.cjs +0 -6
- package/dist/composite-CbsUYl-u.js +0 -136
- package/dist/composite-Cf24lSyN.cjs +0 -1
- package/dist/composite-CsFgfxih.js +0 -323
- package/dist/composite-DLmzZNIj.cjs +0 -3
- package/dist/ctrBtn-OOgL9esv.cjs +0 -1
- package/dist/ctrSet-Btg2T9w6.js +0 -247
- package/dist/ctrSet-CifyJt05.cjs +0 -1
- package/dist/ctrSwitch-C8mwxLPe.cjs +0 -1
- package/dist/ele-cmp-icon-CEP91RUe.js +0 -5
- package/dist/ele-cmp-icon-yUlU6c_Q.cjs +0 -1
- package/dist/gag-1bvAZ5m6.cjs +0 -1
- package/dist/gag-D2obj7AF.js +0 -160
- package/dist/index-DVqMfQVc.cjs +0 -612
- package/dist/index-mAPVa0s4.cjs +0 -11
- package/dist/install-BBrAry2m.js +0 -8
- package/dist/install-BRjgycz_.cjs +0 -1
- package/dist/install-BamnGDPb.cjs +0 -1
- package/dist/install-D7znHb-b.js +0 -604
- package/dist/install-DWm3j_D3.js +0 -38
- package/dist/mix-control-modal-DwxwW65v.cjs +0 -1
- package/dist/mix-control-modal-Qg_mzyT_.js +0 -145
- package/dist/mixMap-CJzmC0IR.cjs +0 -1
- package/dist/mixMap-E36SDnEa.js +0 -258
- package/dist/mixModel-BMRxhvWn.cjs +0 -3
- package/dist/mixModel-_McJ6OuH.js +0 -251
- package/dist/mixPie-CMOkAe9p.js +0 -168
- package/dist/mixPie-MAKXeYVp.cjs +0 -2
- package/dist/mixiotObjectListApi-BaeBL318.js +0 -82
- package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +0 -1
- package/dist/no-image-icon-CPA7RKkF.cjs +0 -1
- package/dist/no-image-icon-n2ZlEjxS.js +0 -1864
- package/dist/objectListAPP-DCwTyqFp.js +0 -1864
- package/dist/objectListAPP-Db5beOAM.cjs +0 -1
- package/dist/raceBar-CeybrpCB.cjs +0 -4
- package/dist/retainer1-CF2Tr7Zt.cjs +0 -1
- package/dist/retainer2-BQVUhgcH.cjs +0 -1
- package/dist/retainerRecordListAPP-B4IDQK3C.cjs +0 -1
- package/dist/staticLine-BC-zj5yZ.cjs +0 -1
- package/dist/staticLine-CLqN4lpU.js +0 -362
- package/dist/terminalList-Vf-Dbybr.cjs +0 -1
- package/dist/terminalListAPP-CdBG8krw.cjs +0 -1
- package/dist/terminalListAPP-DWArp2D4.js +0 -1366
package/dist/ctrSet-Btg2T9w6.js
DELETED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
var K = Object.defineProperty, Y = Object.defineProperties;
|
|
2
|
-
var q = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var j = Object.getOwnPropertySymbols, Q = Object.getPrototypeOf, X = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable, ee = Reflect.get;
|
|
4
|
-
var L = (o, t, a) => t in o ? K(o, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : o[t] = a, P = (o, t) => {
|
|
5
|
-
for (var a in t || (t = {}))
|
|
6
|
-
X.call(t, a) && L(o, a, t[a]);
|
|
7
|
-
if (j)
|
|
8
|
-
for (var a of j(t))
|
|
9
|
-
Z.call(t, a) && L(o, a, t[a]);
|
|
10
|
-
return o;
|
|
11
|
-
}, R = (o, t) => Y(o, q(t));
|
|
12
|
-
var U = (o, t, a) => ee(Q(o), a, t);
|
|
13
|
-
var $ = (o, t, a) => new Promise((g, S) => {
|
|
14
|
-
var n = (i) => {
|
|
15
|
-
try {
|
|
16
|
-
c(a.next(i));
|
|
17
|
-
} catch (d) {
|
|
18
|
-
S(d);
|
|
19
|
-
}
|
|
20
|
-
}, E = (i) => {
|
|
21
|
-
try {
|
|
22
|
-
c(a.throw(i));
|
|
23
|
-
} catch (d) {
|
|
24
|
-
S(d);
|
|
25
|
-
}
|
|
26
|
-
}, c = (i) => i.done ? g(i.value) : Promise.resolve(i.value).then(n, E);
|
|
27
|
-
c((a = a.apply(o, t)).next());
|
|
28
|
-
});
|
|
29
|
-
import { ElInput as te, ElButton as oe } from "element-plus/es";
|
|
30
|
-
import "element-plus/es/components/base/style/css";
|
|
31
|
-
import "element-plus/es/components/button/style/css";
|
|
32
|
-
import "element-plus/es/components/input/style/css";
|
|
33
|
-
import { defineComponent as ae, computed as z, reactive as le, ref as T, openBlock as u, createElementBlock as m, Fragment as V, createElementVNode as v, normalizeStyle as b, unref as p, toDisplayString as h, createTextVNode as D, normalizeClass as se, renderList as ie, createVNode as k, withCtx as F, createCommentVNode as ne, renderSlot as ce } from "vue";
|
|
34
|
-
import { B as re } from "./BaseComponent-CBagahPU.js";
|
|
35
|
-
import { A as de, a as B, _ as ue } from "./index-DwPJu6XM.js";
|
|
36
|
-
import { g as me } from "./titleStyle-BT5GlpAb.js";
|
|
37
|
-
import { _ as pe, g as fe } from "./mix-control-modal-Qg_mzyT_.js";
|
|
38
|
-
import { ElMessage as H } from "element-plus";
|
|
39
|
-
import { A as ve, D as he } from "./ele-ctrSet-icon-BtKGrCid.js";
|
|
40
|
-
const ye = { class: "font-[600]" }, be = { class: "font-[600] opacity-[0.7]" }, ge = {
|
|
41
|
-
key: 0,
|
|
42
|
-
class: "ml-[12px] min-w-[70px]"
|
|
43
|
-
}, Se = {
|
|
44
|
-
key: 0,
|
|
45
|
-
class: "submint"
|
|
46
|
-
}, _e = {
|
|
47
|
-
DEFAULT_ICON: he,
|
|
48
|
-
ACTIVE_ICON: ve,
|
|
49
|
-
NAME_CN: "参数控件",
|
|
50
|
-
NAME_EN: "Parameter Control",
|
|
51
|
-
ORDER: 1,
|
|
52
|
-
PLATFORM: ["pc", "screen", "mobile"]
|
|
53
|
-
}, Ce = {
|
|
54
|
-
bgColor: "#fff",
|
|
55
|
-
titleColor: "#111",
|
|
56
|
-
textColor: "#111",
|
|
57
|
-
titleSize: 14,
|
|
58
|
-
textSize: 14,
|
|
59
|
-
labelWidth: 100,
|
|
60
|
-
radiusSize: 8,
|
|
61
|
-
isHideTitle: !1,
|
|
62
|
-
method: {
|
|
63
|
-
value: "alway",
|
|
64
|
-
type: "select",
|
|
65
|
-
label: "component.params.verifyMethod",
|
|
66
|
-
options: "CONTROL_OPTIONS"
|
|
67
|
-
}
|
|
68
|
-
}, xe = [{ command: "Control_01", name: "参数一", unit: "", fv: "" }], Oe = ["name", "fv", "command", "unit"], we = ["mosaic"], Ae = {
|
|
69
|
-
useAlias: !1,
|
|
70
|
-
multiObject: !1,
|
|
71
|
-
hideMultiObject: !0
|
|
72
|
-
}, ze = { DEFAULT: _e, OPTIONS: Ce, DATA: xe, PARAMS: Oe, SOURCE: we, COMMON: Ae }, Ve = /* @__PURE__ */ ae(R(P({}, ze), {
|
|
73
|
-
__name: "ctrSet",
|
|
74
|
-
props: {
|
|
75
|
-
conf: { type: Object, default: () => ({ data: [] }) },
|
|
76
|
-
mode: { type: String, default: "edit" },
|
|
77
|
-
uid: { type: String, default: "" },
|
|
78
|
-
theme: { type: String, default: "light" },
|
|
79
|
-
password: { type: String, default: "" },
|
|
80
|
-
socketData: { type: Object, default: () => ({}) },
|
|
81
|
-
authorized: { type: Array, default: () => [] }
|
|
82
|
-
},
|
|
83
|
-
setup(o) {
|
|
84
|
-
const t = o, a = "--";
|
|
85
|
-
class g extends re {
|
|
86
|
-
extractStyles() {
|
|
87
|
-
return {
|
|
88
|
-
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
89
|
-
titleColor: this.getOptionValue("titleColor", "#111"),
|
|
90
|
-
textColor: this.getOptionValue("textColor", "#111"),
|
|
91
|
-
titleSize: this.getOptionValue("titleSize", 14),
|
|
92
|
-
textSize: this.getOptionValue("textSize", 12),
|
|
93
|
-
labelWidth: this.getOptionValue("labelWidth", 100),
|
|
94
|
-
radiusSize: this.getOptionValue("radiusSize", 4),
|
|
95
|
-
isHideTitle: this.getOptionValue("isHideTitle", !1)
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
init() {
|
|
99
|
-
this.Style.value = this.extractStyles(), this.applyTheme();
|
|
100
|
-
}
|
|
101
|
-
onPreview() {
|
|
102
|
-
return $(this, null, function* () {
|
|
103
|
-
yield U(g.prototype, this, "onPreview").call(this);
|
|
104
|
-
const s = yield fe(this.props);
|
|
105
|
-
c.authorized = s.authorized, c.password = s.password;
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
setSocketData(s) {
|
|
109
|
-
if (!s) return;
|
|
110
|
-
const { data: l } = this.props.conf;
|
|
111
|
-
l.forEach((f) => {
|
|
112
|
-
const r = this.extractDataValue(s, f.fv);
|
|
113
|
-
f.value = r != null ? r : a;
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
const S = new g(t, "ctrSet");
|
|
118
|
-
S.setupLifecycle();
|
|
119
|
-
const n = S.getStyle(), E = z(() => me(t.conf.options)), c = le({ authorized: [], password: "" }), i = T([]), d = T(null), N = T(!0), C = z(() => {
|
|
120
|
-
var e;
|
|
121
|
-
return ((e = t.conf.data) == null ? void 0 : e.length) === 1;
|
|
122
|
-
}), W = (e) => c.authorized.indexOf(e.command) === -1, x = z(() => i.value.filter((e) => e).length === 0), G = z(() => {
|
|
123
|
-
var s, l;
|
|
124
|
-
const { data: e } = t.conf;
|
|
125
|
-
return (((s = e == null ? void 0 : e[0]) == null ? void 0 : s.value) || a) + " " + (((l = e == null ? void 0 : e[0]) == null ? void 0 : l.unit) || "");
|
|
126
|
-
}), M = () => {
|
|
127
|
-
var l;
|
|
128
|
-
const { options: e } = t.conf, s = ((l = e == null ? void 0 : e.method) == null ? void 0 : l.value) || "alway";
|
|
129
|
-
s === "alway" || s === "once" && N.value ? d.value.modal.visible = !0 : I();
|
|
130
|
-
}, I = () => {
|
|
131
|
-
var y, O;
|
|
132
|
-
const { common: e, data: s, options: l } = t.conf, f = JSON.parse(sessionStorage.getItem(de) || "{}") || {}, r = e.useAlias ? f[e.object_alias] : e.object_id || t.uid;
|
|
133
|
-
if (C.value) {
|
|
134
|
-
const w = {
|
|
135
|
-
block_mapping: "pusher",
|
|
136
|
-
action: "publish_command",
|
|
137
|
-
object_id: r,
|
|
138
|
-
command: s[0].command,
|
|
139
|
-
value: i.value[0],
|
|
140
|
-
control: c.password,
|
|
141
|
-
rule: ((y = l == null ? void 0 : l.method) == null ? void 0 : y.value) || "alway"
|
|
142
|
-
};
|
|
143
|
-
B.platform((A) => {
|
|
144
|
-
A.code === 200 && (H.success(A.msg), d.value.modal.visible = !1, N.value = !1);
|
|
145
|
-
}, w);
|
|
146
|
-
} else {
|
|
147
|
-
const w = [];
|
|
148
|
-
i.value.forEach((_, J) => {
|
|
149
|
-
_ && w.push({ object_id: r, command: s[J].command, value: _ });
|
|
150
|
-
});
|
|
151
|
-
const A = {
|
|
152
|
-
block_mapping: "pusher",
|
|
153
|
-
action: "publish_command_plus",
|
|
154
|
-
publishes: w,
|
|
155
|
-
control: c.password,
|
|
156
|
-
rule: ((O = l == null ? void 0 : l.method) == null ? void 0 : O.value) || "alway"
|
|
157
|
-
};
|
|
158
|
-
B.platform((_) => {
|
|
159
|
-
_.code === 200 && (H.success(_.msg), d.value.modal.visible = !1, N.value = !1);
|
|
160
|
-
}, A);
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
return (e, s) => {
|
|
164
|
-
const l = te, f = oe;
|
|
165
|
-
return u(), m(V, null, [
|
|
166
|
-
v("div", {
|
|
167
|
-
class: "mix-component",
|
|
168
|
-
style: b({ backgroundColor: p(n).bgColor, borderRadius: `${p(n).radiusSize}px` })
|
|
169
|
-
}, [
|
|
170
|
-
v("div", {
|
|
171
|
-
class: "mix-title",
|
|
172
|
-
style: b(E.value)
|
|
173
|
-
}, [
|
|
174
|
-
C.value ? (u(), m(V, { key: 0 }, [
|
|
175
|
-
v("div", ye, h(o.conf.caption || o.conf.name), 1),
|
|
176
|
-
v("div", {
|
|
177
|
-
class: "w-[2px] h-[18px] mx-[12px] opacity-[0.7]",
|
|
178
|
-
style: b({ backgroundColor: p(n).titleColor })
|
|
179
|
-
}, null, 4),
|
|
180
|
-
v("div", be, h(G.value), 1)
|
|
181
|
-
], 64)) : (u(), m(V, { key: 1 }, [
|
|
182
|
-
D(h(o.conf.caption || o.conf.name), 1)
|
|
183
|
-
], 64))
|
|
184
|
-
], 4),
|
|
185
|
-
v("div", {
|
|
186
|
-
class: se(["mix-body", p(n).isHideTitle ? "h-[100%]" : "h-[calc(100%-42px)]"])
|
|
187
|
-
}, [
|
|
188
|
-
(u(!0), m(V, null, ie(o.conf.data, (r, y) => (u(), m("div", {
|
|
189
|
-
class: "set-item",
|
|
190
|
-
key: y,
|
|
191
|
-
style: b({ fontSize: `${p(n).textSize}px`, color: p(n).textColor })
|
|
192
|
-
}, [
|
|
193
|
-
v("div", {
|
|
194
|
-
class: "item-name",
|
|
195
|
-
style: b({ width: `${p(n).labelWidth}px` })
|
|
196
|
-
}, h(r.name), 5),
|
|
197
|
-
k(l, {
|
|
198
|
-
modelValue: i.value[y],
|
|
199
|
-
"onUpdate:modelValue": (O) => i.value[y] = O,
|
|
200
|
-
disabled: W(r)
|
|
201
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"]),
|
|
202
|
-
C.value ? (u(), m("div", ge, [
|
|
203
|
-
k(f, {
|
|
204
|
-
type: x.value ? "default" : "primary",
|
|
205
|
-
style: { width: "100%" },
|
|
206
|
-
onClick: M,
|
|
207
|
-
disabled: x.value
|
|
208
|
-
}, {
|
|
209
|
-
default: F(() => [
|
|
210
|
-
D(h(e.$t("common.confirm")), 1)
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
}, 8, ["type", "disabled"])
|
|
214
|
-
])) : (u(), m("div", {
|
|
215
|
-
key: 1,
|
|
216
|
-
class: "item-value",
|
|
217
|
-
style: b([{ "margin-left": "12px" }, { background: p(n).bgColor }])
|
|
218
|
-
}, h(r.value), 5))
|
|
219
|
-
], 4))), 128)),
|
|
220
|
-
C.value ? ne("", !0) : (u(), m("div", Se, [
|
|
221
|
-
k(f, {
|
|
222
|
-
type: x.value ? "default" : "primary",
|
|
223
|
-
onClick: M,
|
|
224
|
-
disabled: x.value
|
|
225
|
-
}, {
|
|
226
|
-
default: F(() => [
|
|
227
|
-
D(h(e.$t("common.confirm")), 1)
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
}, 8, ["type", "disabled"])
|
|
231
|
-
]))
|
|
232
|
-
], 2),
|
|
233
|
-
ce(e.$slots, "default", {}, void 0, !0)
|
|
234
|
-
], 4),
|
|
235
|
-
k(pe, {
|
|
236
|
-
ref_key: "controlRef",
|
|
237
|
-
ref: d,
|
|
238
|
-
onSubmit: I,
|
|
239
|
-
password: c.password
|
|
240
|
-
}, null, 8, ["password"])
|
|
241
|
-
], 64);
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
})), $e = /* @__PURE__ */ ue(Ve, [["__scopeId", "data-v-22a73d24"]]);
|
|
245
|
-
export {
|
|
246
|
-
$e as default
|
|
247
|
-
};
|
package/dist/ctrSet-CifyJt05.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var F=Object.defineProperty,L=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols,U=Object.getPrototypeOf,$=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,W=Reflect.get;var N=(l,o,a)=>o in l?F(l,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[o]=a,w=(l,o)=>{for(var a in o||(o={}))$.call(o,a)&&N(l,a,o[a]);if(O)for(var a of O(o))H.call(o,a)&&N(l,a,o[a]);return l},z=(l,o)=>L(l,R(o));var A=(l,o,a)=>W(U(l),a,o);var T=(l,o,a)=>new Promise((f,y)=>{var c=s=>{try{r(a.next(s))}catch(d){y(d)}},E=s=>{try{r(a.throw(s))}catch(d){y(d)}},r=s=>s.done?f(s.value):Promise.resolve(s.value).then(c,E);r((a=a.apply(l,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),G=require("./BaseComponent-Chnv4fBT.cjs"),C=require("./index-DVqMfQVc.cjs"),J=require("./titleStyle-NSnz6cUg.cjs"),D=require("./mix-control-modal-DwxwW65v.cjs"),I=require("element-plus"),M=require("./ele-ctrSet-icon-DCsPO0tL.cjs"),K={class:"font-[600]"},Y={class:"font-[600] opacity-[0.7]"},Q={key:0,class:"ml-[12px] min-w-[70px]"},X={key:0,class:"submint"},Z={DEFAULT_ICON:M.DEFAULT_ICON,ACTIVE_ICON:M.ACTIVE_ICON,NAME_CN:"参数控件",NAME_EN:"Parameter Control",ORDER:1,PLATFORM:["pc","screen","mobile"]},ee={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,labelWidth:100,radiusSize:8,isHideTitle:!1,method:{value:"alway",type:"select",label:"component.params.verifyMethod",options:"CONTROL_OPTIONS"}},te=[{command:"Control_01",name:"参数一",unit:"",fv:""}],oe=["name","fv","command","unit"],le=["mosaic"],ae={useAlias:!1,multiObject:!1,hideMultiObject:!0},ne={DEFAULT:Z,OPTIONS:ee,DATA:te,PARAMS:oe,SOURCE:le,COMMON:ae},ie=e.defineComponent(z(w({},ne),{__name:"ctrSet",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""},socketData:{type:Object,default:()=>({})},authorized:{type:Array,default:()=>[]}},setup(l){const o=l,a="--";class f extends G.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),titleSize:this.getOptionValue("titleSize",14),textSize:this.getOptionValue("textSize",12),labelWidth:this.getOptionValue("labelWidth",100),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){this.Style.value=this.extractStyles(),this.applyTheme()}onPreview(){return T(this,null,function*(){yield A(f.prototype,this,"onPreview").call(this);const i=yield D.getAuthorized(this.props);r.authorized=i.authorized,r.password=i.password})}setSocketData(i){if(!i)return;const{data:n}=this.props.conf;n.forEach(m=>{const u=this.extractDataValue(i,m.fv);m.value=u!=null?u:a})}}const y=new f(o,"ctrSet");y.setupLifecycle();const c=y.getStyle(),E=e.computed(()=>J.generateTitleStyle(o.conf.options)),r=e.reactive({authorized:[],password:""}),s=e.ref([]),d=e.ref(null),k=e.ref(!0),h=e.computed(()=>{var t;return((t=o.conf.data)==null?void 0:t.length)===1}),q=t=>r.authorized.indexOf(t.command)===-1,S=e.computed(()=>s.value.filter(t=>t).length===0),P=e.computed(()=>{var i,n;const{data:t}=o.conf;return(((i=t==null?void 0:t[0])==null?void 0:i.value)||a)+" "+(((n=t==null?void 0:t[0])==null?void 0:n.unit)||"")}),V=()=>{var n;const{options:t}=o.conf,i=((n=t==null?void 0:t.method)==null?void 0:n.value)||"alway";i==="alway"||i==="once"&&k.value?d.value.modal.visible=!0:x()},x=()=>{var p,g;const{common:t,data:i,options:n}=o.conf,m=JSON.parse(sessionStorage.getItem(C.ALIAS_MAPPING_KEY)||"{}")||{},u=t.useAlias?m[t.object_alias]:t.object_id||o.uid;if(h.value){const b={block_mapping:"pusher",action:"publish_command",object_id:u,command:i[0].command,value:s.value[0],control:r.password,rule:((p=n==null?void 0:n.method)==null?void 0:p.value)||"alway"};C.api.platform(_=>{_.code===200&&(I.ElMessage.success(_.msg),d.value.modal.visible=!1,k.value=!1)},b)}else{const b=[];s.value.forEach((v,j)=>{v&&b.push({object_id:u,command:i[j].command,value:v})});const _={block_mapping:"pusher",action:"publish_command_plus",publishes:b,control:r.password,rule:((g=n==null?void 0:n.method)==null?void 0:g.value)||"alway"};C.api.platform(v=>{v.code===200&&(I.ElMessage.success(v.msg),d.value.modal.visible=!1,k.value=!1)},_)}};return(t,i)=>{const n=B.ElInput,m=B.ElButton;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(E.value)},[h.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",K,e.toDisplayString(l.conf.caption||l.conf.name),1),e.createElementVNode("div",{class:"w-[2px] h-[18px] mx-[12px] opacity-[0.7]",style:e.normalizeStyle({backgroundColor:e.unref(c).titleColor})},null,4),e.createElementVNode("div",Y,e.toDisplayString(P.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.conf.caption||l.conf.name),1)],64))],4),e.createElementVNode("div",{class:e.normalizeClass(["mix-body",e.unref(c).isHideTitle?"h-[100%]":"h-[calc(100%-42px)]"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.data,(u,p)=>(e.openBlock(),e.createElementBlock("div",{class:"set-item",key:p,style:e.normalizeStyle({fontSize:`${e.unref(c).textSize}px`,color:e.unref(c).textColor})},[e.createElementVNode("div",{class:"item-name",style:e.normalizeStyle({width:`${e.unref(c).labelWidth}px`})},e.toDisplayString(u.name),5),e.createVNode(n,{modelValue:s.value[p],"onUpdate:modelValue":g=>s.value[p]=g,disabled:q(u)},null,8,["modelValue","onUpdate:modelValue","disabled"]),h.value?(e.openBlock(),e.createElementBlock("div",Q,[e.createVNode(m,{type:S.value?"default":"primary",style:{width:"100%"},onClick:V,disabled:S.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"item-value",style:e.normalizeStyle([{"margin-left":"12px"},{background:e.unref(c).bgColor}])},e.toDisplayString(u.value),5))],4))),128)),h.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(m,{type:S.value?"default":"primary",onClick:V,disabled:S.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.$t("common.confirm")),1)]),_:1},8,["type","disabled"])]))],2),e.renderSlot(t.$slots,"default",{},void 0,!0)],4),e.createVNode(D._sfc_main,{ref_key:"controlRef",ref:d,onSubmit:x,password:r.password},null,8,["password"])],64)}}})),se=C._export_sfc(ie,[["__scopeId","data-v-22a73d24"]]);exports.default=se;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var A=Object.defineProperty,M=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols,T=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,P=Reflect.get;var _=(i,o,t)=>o in i?A(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t,y=(i,o)=>{for(var t in o||(o={}))F.call(o,t)&&_(i,t,o[t]);if(x)for(var t of x(o))I.call(o,t)&&_(i,t,o[t]);return i},b=(i,o)=>M(i,V(o));var z=(i,o,t)=>P(T(i),t,o);var O=(i,o,t)=>new Promise((d,u)=>{var g=l=>{try{p(t.next(l))}catch(f){u(f)}},m=l=>{try{p(t.throw(l))}catch(f){u(f)}},p=l=>l.done?d(l.value):Promise.resolve(l.value).then(g,m);p((t=t.apply(i,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const B=require("./BaseComponent-Chnv4fBT.cjs"),h=require("./index-DVqMfQVc.cjs"),D=require("./titleStyle-NSnz6cUg.cjs"),k=require("./mix-control-modal-DwxwW65v.cjs"),E=require("element-plus"),j="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e开关%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",R="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e开关%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q={class:"mix-body"},H={class:"switch-wrap"},U={class:"name"},$=["onClick"],Z=["onClick"],G="--",J={DEFAULT_ICON:j,ACTIVE_ICON:R,NAME_CN:"开关",NAME_EN:"Switch",ORDER:1,PLATFORM:["pc","screen","mobile"]},K={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,itemHeight:32,radiusSize:8,isHideTitle:!1,method:{value:"alway",type:"select",label:"component.switch.method",options:h.CONTROL_OPTIONS}},L=[{command:"Control_01",status_name:"状态",status_fv:"",start:"",stop:""}],Y=["status_fv","status_name","command","start","stop"],Q=["mosaic"],W={useAlias:!1,multiObject:!1,hideMultiObject:!0},X={DEFAULT:J,OPTIONS:K,DATA:L,PARAMS:Y,SOURCE:Q,COMMON:W},e1=e.defineComponent(b(y({},X),{__name:"ctrSwitch",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""},authorized:{type:Array,default:()=>[]}},setup(i){const o=i,t=e.reactive({authorized:[],password:""}),d=e.reactive({mode:"",item:{},rule:""}),u=e.ref(null),g=e.ref(!0);class m extends B.BaseComponent{extractStyles(){const{options:n}=this.props.conf;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),titleSize:this.getOptionValue("titleSize",16),textSize:this.getOptionValue("textSize",14),itemHeight:this.getOptionValue("itemHeight",32),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:L}onPreview(){return O(this,null,function*(){yield z(m.prototype,this,"onPreview").call(this);const n=yield k.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){if(!n)return;const{data:s}=this.props.conf;s.forEach(a=>{const r=this.extractDataValue(n,a.status_fv);a.value=r!=null?r:G})}}const p=new m(o,"ctrSwitch");p.setupLifecycle();const l=p.getStyle(),f=e.computed(()=>D.generateTitleStyle(o.conf.options)),v=c=>t.authorized.indexOf(c.command)===-1,C=(c,n)=>{var r;if(v(n)){E.ElMessage.warning("无权限操作");return}const{options:s}=o.conf;let a=((r=s==null?void 0:s.method)==null?void 0:r.value)||"alway";d.mode=c,d.item=n,d.rule=a,a==="alway"||a==="once"&&g.value?u.value.modal.visible=!0:w()},w=()=>{const{mode:c,item:n,rule:s}=d,{common:a}=o.conf,r=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let N={block_mapping:"pusher",action:"publish_command",object_id:a.useAlias?r[a.object_alias]:a.object_id||o.uid,command:n.command,value:n[c],rule:s,control:t.password};h.api.platform(S=>{S.code===200&&(E.ElMessage.success(S.msg),u.value.modal.visible=!1,g.value=!1)},N)};return(c,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(l).bgColor,borderRadius:`${e.unref(l).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},e.toDisplayString(i.conf.caption||i.conf.name),5),e.createElementVNode("div",q,[e.createElementVNode("div",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.conf.data,(s,a)=>(e.openBlock(),e.createElementBlock("div",{class:"switch-item",key:a,style:e.normalizeStyle({height:`${e.unref(l).itemHeight}px`,backgroundColor:e.unref(l).bgColor,fontSize:`${e.unref(l).textSize}px`,color:e.unref(l).textColor})},[e.createElementVNode("div",U,e.toDisplayString(s.status_name),1),e.createElementVNode("div",{class:e.normalizeClass(["circle-on",{"active-on":String(s.value)&&String(s.value)===s.start}]),style:e.normalizeStyle({cursor:v(s)?"not-allowed":"pointer"}),onClick:r=>C("start",s)},null,14,$),e.createElementVNode("div",{class:e.normalizeClass(["circle-off",{"active-off":String(s.value)&&String(s.value)===s.stop}]),style:e.normalizeStyle({cursor:v(s)?"not-allowed":"pointer"}),onClick:r=>C("stop",s)},null,14,Z)],4))),128))])]),e.renderSlot(c.$slots,"default",{},void 0,!0)],4),e.createVNode(k._sfc_main,{ref_key:"controlRef",ref:u,onSubmit:w,password:t.password},null,8,["password"])],64))}})),t1=h._export_sfc(e1,[["__scopeId","data-v-c2476618"]]);exports.default=t1;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const C = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='16px'%20viewBox='0%200%2017%2016'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e中国地图-%20B%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-693.000000,%20-735.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cg%20id='地图'%20transform='translate(693.168335,%20735.513783)'%3e%3cpath%20d='M7.98193167,0%20C10.3096157,0%2012.1966149,1.88688805%2012.196752,4.21457211%20C12.196752,5.0238556%2011.7569968,6.10587563%2010.8564606,7.50788606%20L13.5522084,7.49728308%20L13.5544464,7.49728308%20C13.802109,7.49728308%2014.0203089,7.66008852%2014.0908102,7.89750452%20L15.9762896,14.2518125%20C16.0271794,14.4210247%2015.9951432,14.6043326%2015.8898775,14.746254%20C15.7846118,14.8881755%2015.6184893,14.9720291%2015.4417907,14.9724348%20L0.559371921,14.9724348%20C0.38088674,14.9724348%200.213130951,14.8872008%200.1078051,14.7431056%20C0.00247924816,14.5990104%20-0.0277755206,14.4133094%200.0263649906,14.2432336%20L2.03269408,7.93443083%20C2.10632556,7.70311908%202.32071696,7.54567775%202.56346305,7.54465318%20L5.12385937,7.53385478%20C4.21236737,6.11907782%203.76711131,5.02796188%203.76711131,4.21457211%20C3.76724841,1.88688805%205.65424761,0%207.98193167,0%20Z%20M4.96255373,11.365966%20L2.113,11.371%20L1.32438047,13.853456%20L4.622,13.853%20L4.96255373,11.365966%20Z%20M13.1389322,8.61999187%20L10.0863485,8.63100916%20C9.23120184,9.81014124%208.43604034,10.7141876%208.40117575,10.7546305%20C8.29506292,10.8749851%208.14238457,10.9439892%207.98193168,10.944111%20C7.82115981,10.944111%207.66815823,10.8749457%207.56194162,10.7542575%20C7.52726431,10.7140319%206.74108125,9.81945602%205.89068048,8.64961439%20L2.97524728,8.66176709%20L2.351,10.625%20L5.38925766,10.6192341%20C5.4970477,10.6192341%205.59958094,10.6658036%205.67043961,10.7470301%20C5.74129828,10.8282566%205.77355313,10.9361655%205.75889367,11.0429541%20L5.374,13.853%20L7.468,13.853%20L7.4936839,12.3279148%20C7.4971442,12.124397%207.6631296,11.9612333%207.86667685,11.9612627%20L14.128,11.954%20L13.779,10.779%20L10.3903472,10.7878269%20C10.1843488,10.7878269%2010.0173542,10.6208323%2010.0173542,10.414834%20C10.0173542,10.2088356%2010.1843488,10.041841%2010.3903472,10.041841%20L13.558,10.034%20L13.1389322,8.61999187%20Z%20M14.35,12.7%20L8.23295593,12.7068756%20L8.214,13.853%20L14.6920749,13.853456%20L14.35,12.7%20Z%20M7.98193168,1.1187306%20C6.27291256,1.12058074%204.8879403,2.505553%204.88609016,4.21457211%20C4.88609016,4.61852348%205.10988594,5.61180372%206.60521468,7.72555476%20C7.11770701,8.44953408%207.63467523,9.09779583%207.98193168,9.5181589%20C8.32881513,9.09779583%208.84615635,8.4491611%209.35864866,7.72555476%20C10.8539774,5.61031174%2011.0777732,4.61852348%2011.0777732,4.21457211%20C11.075923,2.505553%209.69095079,1.12058075%207.98193168,1.1187306%20Z%20M7.98193168,2.42718988%20C8.86092651,2.42718988%209.57349261,3.13975598%209.57349261,4.01875081%20C9.57267009,4.89740472%208.86058558,5.60948922%207.98193168,5.61031174%20C7.10293685,5.61031174%206.39037075,4.89774564%206.39037075,4.01875081%20C6.39037075,3.13975598%207.10293685,2.42718988%207.98193168,2.42718988%20Z%20M7.98193168,3.17168381%20L7.98193168,3.17354879%20C7.6399285,3.17354879%207.33160116,3.37956653%207.20072222,3.69553626%20C7.06984327,4.011506%207.14218708,4.37520289%207.38401985,4.61703565%20C7.62585261,4.85886841%207.98954951,4.93121222%208.30551924,4.80033327%20C8.62148897,4.66945431%208.82750744,4.36112697%208.82750744,4.0191238%20C8.82780365,3.7946009%208.73887144,3.57916134%208.58028461,3.42022475%20C8.42169779,3.26128815%208.20645469,3.17188152%207.98193168,3.17168381%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", e = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='16px'%20viewBox='0%200%2017%2016'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e中国地图-%20W%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-717.000000,%20-735.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cg%20id='地图备份-2'%20transform='translate(717.268335,%20735.513783)'%3e%3cpath%20d='M7.98193167,0%20C10.3096157,0%2012.1966149,1.88688805%2012.196752,4.21457211%20C12.196752,5.0238556%2011.7569968,6.10587563%2010.8564606,7.50788606%20L13.5522084,7.49728308%20L13.5544464,7.49728308%20C13.802109,7.49728308%2014.0203089,7.66008852%2014.0908102,7.89750452%20L15.9762896,14.2518125%20C16.0271794,14.4210247%2015.9951432,14.6043326%2015.8898775,14.746254%20C15.7846118,14.8881755%2015.6184893,14.9720291%2015.4417907,14.9724348%20L0.559371921,14.9724348%20C0.38088674,14.9724348%200.213130951,14.8872008%200.1078051,14.7431056%20C0.00247924816,14.5990104%20-0.0277755206,14.4133094%200.0263649906,14.2432336%20L2.03269408,7.93443083%20C2.10632556,7.70311908%202.32071696,7.54567775%202.56346305,7.54465318%20L5.12385937,7.53385478%20C4.21236737,6.11907782%203.76711131,5.02796188%203.76711131,4.21457211%20C3.76724841,1.88688805%205.65424761,0%207.98193167,0%20Z%20M4.96255373,11.365966%20L2.113,11.371%20L1.32438047,13.853456%20L4.622,13.853%20L4.96255373,11.365966%20Z%20M13.1389322,8.61999187%20L10.0863485,8.63100916%20C9.23120184,9.81014124%208.43604034,10.7141876%208.40117575,10.7546305%20C8.29506292,10.8749851%208.14238457,10.9439892%207.98193168,10.944111%20C7.82115981,10.944111%207.66815823,10.8749457%207.56194162,10.7542575%20C7.52726431,10.7140319%206.74108125,9.81945602%205.89068048,8.64961439%20L2.97524728,8.66176709%20L2.351,10.625%20L5.38925766,10.6192341%20C5.4970477,10.6192341%205.59958094,10.6658036%205.67043961,10.7470301%20C5.74129828,10.8282566%205.77355313,10.9361655%205.75889367,11.0429541%20L5.374,13.853%20L7.468,13.853%20L7.4936839,12.3279148%20C7.4971442,12.124397%207.6631296,11.9612333%207.86667685,11.9612627%20L14.128,11.954%20L13.779,10.779%20L10.3903472,10.7878269%20C10.1843488,10.7878269%2010.0173542,10.6208323%2010.0173542,10.414834%20C10.0173542,10.2088356%2010.1843488,10.041841%2010.3903472,10.041841%20L13.558,10.034%20L13.1389322,8.61999187%20Z%20M14.35,12.7%20L8.23295593,12.7068756%20L8.214,13.853%20L14.6920749,13.853456%20L14.35,12.7%20Z%20M7.98193168,1.1187306%20C6.27291256,1.12058074%204.8879403,2.505553%204.88609016,4.21457211%20C4.88609016,4.61852348%205.10988594,5.61180372%206.60521468,7.72555476%20C7.11770701,8.44953408%207.63467523,9.09779583%207.98193168,9.5181589%20C8.32881513,9.09779583%208.84615635,8.4491611%209.35864866,7.72555476%20C10.8539774,5.61031174%2011.0777732,4.61852348%2011.0777732,4.21457211%20C11.075923,2.505553%209.69095079,1.12058075%207.98193168,1.1187306%20Z%20M7.98193168,2.42718988%20C8.86092651,2.42718988%209.57349261,3.13975598%209.57349261,4.01875081%20C9.57267009,4.89740472%208.86058558,5.60948922%207.98193168,5.61031174%20C7.10293685,5.61031174%206.39037075,4.89774564%206.39037075,4.01875081%20C6.39037075,3.13975598%207.10293685,2.42718988%207.98193168,2.42718988%20Z%20M7.98193168,3.17168381%20L7.98193168,3.17354879%20C7.6399285,3.17354879%207.33160116,3.37956653%207.20072222,3.69553626%20C7.06984327,4.011506%207.14218708,4.37520289%207.38401985,4.61703565%20C7.62585261,4.85886841%207.98954951,4.93121222%208.30551924,4.80033327%20C8.62148897,4.66945431%208.82750744,4.36112697%208.82750744,4.0191238%20C8.82780365,3.7946009%208.73887144,3.57916134%208.58028461,3.42022475%20C8.42169779,3.26128815%208.20645469,3.17188152%207.98193168,3.17168381%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
2
|
-
export {
|
|
3
|
-
e as A,
|
|
4
|
-
C as D
|
|
5
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const C="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='16px'%20viewBox='0%200%2017%2016'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e中国地图-%20B%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-693.000000,%20-735.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cg%20id='地图'%20transform='translate(693.168335,%20735.513783)'%3e%3cpath%20d='M7.98193167,0%20C10.3096157,0%2012.1966149,1.88688805%2012.196752,4.21457211%20C12.196752,5.0238556%2011.7569968,6.10587563%2010.8564606,7.50788606%20L13.5522084,7.49728308%20L13.5544464,7.49728308%20C13.802109,7.49728308%2014.0203089,7.66008852%2014.0908102,7.89750452%20L15.9762896,14.2518125%20C16.0271794,14.4210247%2015.9951432,14.6043326%2015.8898775,14.746254%20C15.7846118,14.8881755%2015.6184893,14.9720291%2015.4417907,14.9724348%20L0.559371921,14.9724348%20C0.38088674,14.9724348%200.213130951,14.8872008%200.1078051,14.7431056%20C0.00247924816,14.5990104%20-0.0277755206,14.4133094%200.0263649906,14.2432336%20L2.03269408,7.93443083%20C2.10632556,7.70311908%202.32071696,7.54567775%202.56346305,7.54465318%20L5.12385937,7.53385478%20C4.21236737,6.11907782%203.76711131,5.02796188%203.76711131,4.21457211%20C3.76724841,1.88688805%205.65424761,0%207.98193167,0%20Z%20M4.96255373,11.365966%20L2.113,11.371%20L1.32438047,13.853456%20L4.622,13.853%20L4.96255373,11.365966%20Z%20M13.1389322,8.61999187%20L10.0863485,8.63100916%20C9.23120184,9.81014124%208.43604034,10.7141876%208.40117575,10.7546305%20C8.29506292,10.8749851%208.14238457,10.9439892%207.98193168,10.944111%20C7.82115981,10.944111%207.66815823,10.8749457%207.56194162,10.7542575%20C7.52726431,10.7140319%206.74108125,9.81945602%205.89068048,8.64961439%20L2.97524728,8.66176709%20L2.351,10.625%20L5.38925766,10.6192341%20C5.4970477,10.6192341%205.59958094,10.6658036%205.67043961,10.7470301%20C5.74129828,10.8282566%205.77355313,10.9361655%205.75889367,11.0429541%20L5.374,13.853%20L7.468,13.853%20L7.4936839,12.3279148%20C7.4971442,12.124397%207.6631296,11.9612333%207.86667685,11.9612627%20L14.128,11.954%20L13.779,10.779%20L10.3903472,10.7878269%20C10.1843488,10.7878269%2010.0173542,10.6208323%2010.0173542,10.414834%20C10.0173542,10.2088356%2010.1843488,10.041841%2010.3903472,10.041841%20L13.558,10.034%20L13.1389322,8.61999187%20Z%20M14.35,12.7%20L8.23295593,12.7068756%20L8.214,13.853%20L14.6920749,13.853456%20L14.35,12.7%20Z%20M7.98193168,1.1187306%20C6.27291256,1.12058074%204.8879403,2.505553%204.88609016,4.21457211%20C4.88609016,4.61852348%205.10988594,5.61180372%206.60521468,7.72555476%20C7.11770701,8.44953408%207.63467523,9.09779583%207.98193168,9.5181589%20C8.32881513,9.09779583%208.84615635,8.4491611%209.35864866,7.72555476%20C10.8539774,5.61031174%2011.0777732,4.61852348%2011.0777732,4.21457211%20C11.075923,2.505553%209.69095079,1.12058075%207.98193168,1.1187306%20Z%20M7.98193168,2.42718988%20C8.86092651,2.42718988%209.57349261,3.13975598%209.57349261,4.01875081%20C9.57267009,4.89740472%208.86058558,5.60948922%207.98193168,5.61031174%20C7.10293685,5.61031174%206.39037075,4.89774564%206.39037075,4.01875081%20C6.39037075,3.13975598%207.10293685,2.42718988%207.98193168,2.42718988%20Z%20M7.98193168,3.17168381%20L7.98193168,3.17354879%20C7.6399285,3.17354879%207.33160116,3.37956653%207.20072222,3.69553626%20C7.06984327,4.011506%207.14218708,4.37520289%207.38401985,4.61703565%20C7.62585261,4.85886841%207.98954951,4.93121222%208.30551924,4.80033327%20C8.62148897,4.66945431%208.82750744,4.36112697%208.82750744,4.0191238%20C8.82780365,3.7946009%208.73887144,3.57916134%208.58028461,3.42022475%20C8.42169779,3.26128815%208.20645469,3.17188152%207.98193168,3.17168381%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='16px'%20viewBox='0%200%2017%2016'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e中国地图-%20W%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-717.000000,%20-735.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cg%20id='地图备份-2'%20transform='translate(717.268335,%20735.513783)'%3e%3cpath%20d='M7.98193167,0%20C10.3096157,0%2012.1966149,1.88688805%2012.196752,4.21457211%20C12.196752,5.0238556%2011.7569968,6.10587563%2010.8564606,7.50788606%20L13.5522084,7.49728308%20L13.5544464,7.49728308%20C13.802109,7.49728308%2014.0203089,7.66008852%2014.0908102,7.89750452%20L15.9762896,14.2518125%20C16.0271794,14.4210247%2015.9951432,14.6043326%2015.8898775,14.746254%20C15.7846118,14.8881755%2015.6184893,14.9720291%2015.4417907,14.9724348%20L0.559371921,14.9724348%20C0.38088674,14.9724348%200.213130951,14.8872008%200.1078051,14.7431056%20C0.00247924816,14.5990104%20-0.0277755206,14.4133094%200.0263649906,14.2432336%20L2.03269408,7.93443083%20C2.10632556,7.70311908%202.32071696,7.54567775%202.56346305,7.54465318%20L5.12385937,7.53385478%20C4.21236737,6.11907782%203.76711131,5.02796188%203.76711131,4.21457211%20C3.76724841,1.88688805%205.65424761,0%207.98193167,0%20Z%20M4.96255373,11.365966%20L2.113,11.371%20L1.32438047,13.853456%20L4.622,13.853%20L4.96255373,11.365966%20Z%20M13.1389322,8.61999187%20L10.0863485,8.63100916%20C9.23120184,9.81014124%208.43604034,10.7141876%208.40117575,10.7546305%20C8.29506292,10.8749851%208.14238457,10.9439892%207.98193168,10.944111%20C7.82115981,10.944111%207.66815823,10.8749457%207.56194162,10.7542575%20C7.52726431,10.7140319%206.74108125,9.81945602%205.89068048,8.64961439%20L2.97524728,8.66176709%20L2.351,10.625%20L5.38925766,10.6192341%20C5.4970477,10.6192341%205.59958094,10.6658036%205.67043961,10.7470301%20C5.74129828,10.8282566%205.77355313,10.9361655%205.75889367,11.0429541%20L5.374,13.853%20L7.468,13.853%20L7.4936839,12.3279148%20C7.4971442,12.124397%207.6631296,11.9612333%207.86667685,11.9612627%20L14.128,11.954%20L13.779,10.779%20L10.3903472,10.7878269%20C10.1843488,10.7878269%2010.0173542,10.6208323%2010.0173542,10.414834%20C10.0173542,10.2088356%2010.1843488,10.041841%2010.3903472,10.041841%20L13.558,10.034%20L13.1389322,8.61999187%20Z%20M14.35,12.7%20L8.23295593,12.7068756%20L8.214,13.853%20L14.6920749,13.853456%20L14.35,12.7%20Z%20M7.98193168,1.1187306%20C6.27291256,1.12058074%204.8879403,2.505553%204.88609016,4.21457211%20C4.88609016,4.61852348%205.10988594,5.61180372%206.60521468,7.72555476%20C7.11770701,8.44953408%207.63467523,9.09779583%207.98193168,9.5181589%20C8.32881513,9.09779583%208.84615635,8.4491611%209.35864866,7.72555476%20C10.8539774,5.61031174%2011.0777732,4.61852348%2011.0777732,4.21457211%20C11.075923,2.505553%209.69095079,1.12058075%207.98193168,1.1187306%20Z%20M7.98193168,2.42718988%20C8.86092651,2.42718988%209.57349261,3.13975598%209.57349261,4.01875081%20C9.57267009,4.89740472%208.86058558,5.60948922%207.98193168,5.61031174%20C7.10293685,5.61031174%206.39037075,4.89774564%206.39037075,4.01875081%20C6.39037075,3.13975598%207.10293685,2.42718988%207.98193168,2.42718988%20Z%20M7.98193168,3.17168381%20L7.98193168,3.17354879%20C7.6399285,3.17354879%207.33160116,3.37956653%207.20072222,3.69553626%20C7.06984327,4.011506%207.14218708,4.37520289%207.38401985,4.61703565%20C7.62585261,4.85886841%207.98954951,4.93121222%208.30551924,4.80033327%20C8.62148897,4.66945431%208.82750744,4.36112697%208.82750744,4.0191238%20C8.82780365,3.7946009%208.73887144,3.57916134%208.58028461,3.42022475%20C8.42169779,3.26128815%208.20645469,3.17188152%207.98193168,3.17168381%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";exports.ACTIVE_ICON=e;exports.DEFAULT_ICON=C;
|
package/dist/gag-1bvAZ5m6.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var N=Object.defineProperty,T=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var _=(i,t,r)=>t in i?N(i,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[t]=r,b=(i,t)=>{for(var r in t||(t={}))q.call(t,r)&&_(i,r,t[r]);if(y)for(var r of y(t))D.call(t,r)&&_(i,r,t[r]);return i},v=(i,t)=>T(i,I(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),L=require("./index-DVqMfQVc.cjs");require("element-plus");const R=require("./EChartComponentBase-dLE5F7Tt.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),x=require("./ele-gag-icon-Ce1hl9NI.cjs"),j=require("./install-B65ZIqAx.cjs"),m=require("./installCanvasRenderer-CyhM1Qpl.cjs"),w=require("./install-DV5cEgNV.cjs"),z={class:"mix-body"},V=["id"],k={DEFAULT_ICON:x.DEFAULT_ICON,ACTIVE_ICON:x.ACTIVE_ICON,NAME_CN:"仪表盘",NAME_EN:"Gauge",ORDER:1,PLATFORM:["pc","screen","mobile"]},$={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1},B=[{name:"参数一",object_id:"",fv:"",max:100,min:0,pieces:5}],F=["name","fv","object_id","max","min","pieces"],P=["mosaic","statistics","calculate"],U=[{color:"#5c7bd9",value:100}],G=1,H={useAlias:!1,source:"mosaic"},W={DEFAULT:k,OPTIONS:$,DATA:B,PARAMS:F,SOURCE:P,COLOR_AREA:U,ITEMS:G,COMMON:H},J=n.defineComponent(v(b({},W),{__name:"gag",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){m.use([w.install,m.install,m.install$1,j.install]);const t=i;class r extends R.EChartComponentBase{getChartOption(){var l,c,s,u,d,g,C;const o=this.Style.value,{data:a}=this.props.conf,e=(l=a[0])!=null?l:{};return{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c}",confine:!0},series:[{name:(c=e.name)!=null?c:"",type:"gauge",radius:"100%",startAngle:215,center:["50%","55%"],max:(s=e.max)!=null?s:100,min:(u=e.min)!=null?u:0,endAngle:-35,splitNumber:(d=e.pieces)!=null?d:5,data:[{value:(g=e.min)!=null?g:0,name:(C=e.name)!=null?C:""}],axisLine:{lineStyle:{color:this.formatColor(),width:10}},axisLabel:{distance:25,color:o.textColor},axisTick:{length:5,distance:-10,lineStyle:{color:"#fff"}},splitLine:{length:-10,distance:0,lineStyle:{width:3,color:"transparent"}},pointer:{shadowColor:"#ff2e4c",width:3,length:"70%",itemStyle:{color:"auto"}},title:{offsetCenter:[0,"80%"],fontSize:14,color:o.textColor},detail:{borderWidth:0,width:"100%",height:14,fontSize:14,color:o.textColor,offsetCenter:[0,"50%"],formatter:A=>{var S;return A+((S=e.unit)!=null?S:"")}}}]}}formatColor(){const{area:o,data:a}=this.props.conf;if(!(o!=null&&o.length)||!(a!=null&&a[0]))return[[1,"#5c7bd9"]];const{max:e,min:l}=a[0],c=e-l;return[...o].sort((s,u)=>s.value-u.value).map(s=>[(s.value-l)/c,s.color])}setHistoryData(o){var e,l,c,s;if(!o)return;const a=this.chartObj.getOption();(c=(l=(e=a.series)==null?void 0:e[0])==null?void 0:l.data)!=null&&c[0]&&(a.series[0].data[0].value=(s=o[0].data[0])!=null?s:0,this.updateChart(a))}setSocketData(o){var l,c,s,u,d;if(!this.chartObj||!o)return;const{data:a}=this.props.conf,e=this.chartObj.getOption();(s=(c=(l=e.series)==null?void 0:l[0])==null?void 0:c.data)!=null&&s[0]&&(e.series[0].data[0].value=(d=(u=this.extractDataValue(o,a[0].fv))!=null?u:a[0].min)!=null?d:0,this.updateChart(e))}}const f=new r(t,"gauge");f.setupLifecycle();const p=f.getStyle(),O=f.getEchartId(),E=n.computed(()=>M.generateTitleStyle(t.conf.options));return(h,o)=>(n.openBlock(),n.createElementBlock("div",{class:"mix-component",style:n.normalizeStyle({background:n.unref(p).bgColor,borderRadius:`${n.unref(p).radiusSize}px`})},[n.createElementVNode("div",{class:"mix-title",style:n.normalizeStyle(E.value)},n.toDisplayString(i.conf.caption||i.conf.name),5),n.createElementVNode("div",z,[n.createElementVNode("div",{class:"w-full h-full",id:n.unref(O)},null,8,V)]),n.renderSlot(h.$slots,"default",{},void 0,!0)],4))}})),K=L._export_sfc(J,[["__scopeId","data-v-10c4061e"]]);exports.default=K;
|
package/dist/gag-D2obj7AF.js
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
var N = Object.defineProperty, T = Object.defineProperties;
|
|
2
|
-
var D = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var x = Object.getOwnPropertySymbols;
|
|
4
|
-
var I = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var y = (a, e, n) => e in a ? N(a, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[e] = n, _ = (a, e) => {
|
|
6
|
-
for (var n in e || (e = {}))
|
|
7
|
-
I.call(e, n) && y(a, n, e[n]);
|
|
8
|
-
if (x)
|
|
9
|
-
for (var n of x(e))
|
|
10
|
-
L.call(e, n) && y(a, n, e[n]);
|
|
11
|
-
return a;
|
|
12
|
-
}, b = (a, e) => T(a, D(e));
|
|
13
|
-
import { defineComponent as R, computed as w, openBlock as M, createElementBlock as j, normalizeStyle as v, unref as f, createElementVNode as u, toDisplayString as z, renderSlot as k } from "vue";
|
|
14
|
-
import { _ as $ } from "./index-DwPJu6XM.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import { E as B } from "./EChartComponentBase-cFfawl6h.js";
|
|
17
|
-
import { g as F } from "./titleStyle-BT5GlpAb.js";
|
|
18
|
-
import { A as P, D as U } from "./ele-gag-icon-CB5dJeYF.js";
|
|
19
|
-
import { i as V } from "./install-BUu5ESB7.js";
|
|
20
|
-
import { u as G, i as H, a as W } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
21
|
-
import { i as q } from "./install-CBde4hAM.js";
|
|
22
|
-
const J = { class: "mix-body" }, K = ["id"], Q = {
|
|
23
|
-
DEFAULT_ICON: U,
|
|
24
|
-
ACTIVE_ICON: P,
|
|
25
|
-
NAME_CN: "仪表盘",
|
|
26
|
-
NAME_EN: "Gauge",
|
|
27
|
-
ORDER: 1,
|
|
28
|
-
PLATFORM: ["pc", "screen", "mobile"]
|
|
29
|
-
}, X = {
|
|
30
|
-
titleColor: "#111",
|
|
31
|
-
textColor: "#111",
|
|
32
|
-
bgColor: "#fff",
|
|
33
|
-
radiusSize: 8,
|
|
34
|
-
textSize: 12,
|
|
35
|
-
isHideTitle: !1
|
|
36
|
-
}, Y = [
|
|
37
|
-
{ name: "参数一", object_id: "", fv: "", max: 100, min: 0, pieces: 5 }
|
|
38
|
-
], Z = ["name", "fv", "object_id", "max", "min", "pieces"], tt = ["mosaic", "statistics", "calculate"], et = [{ color: "#5c7bd9", value: 100 }], ot = 1, at = {
|
|
39
|
-
useAlias: !1,
|
|
40
|
-
source: "mosaic"
|
|
41
|
-
}, it = {
|
|
42
|
-
DEFAULT: Q,
|
|
43
|
-
OPTIONS: X,
|
|
44
|
-
DATA: Y,
|
|
45
|
-
PARAMS: Z,
|
|
46
|
-
SOURCE: tt,
|
|
47
|
-
COLOR_AREA: et,
|
|
48
|
-
ITEMS: ot,
|
|
49
|
-
COMMON: at
|
|
50
|
-
}, st = /* @__PURE__ */ R(b(_({}, it), {
|
|
51
|
-
__name: "gag",
|
|
52
|
-
props: {
|
|
53
|
-
conf: { type: Object, default: () => ({ data: [] }) },
|
|
54
|
-
uid: { type: String, default: "" },
|
|
55
|
-
mode: { type: String, default: "edit" },
|
|
56
|
-
theme: { type: String, default: "light" }
|
|
57
|
-
},
|
|
58
|
-
setup(a) {
|
|
59
|
-
G([q, H, W, V]);
|
|
60
|
-
const e = a;
|
|
61
|
-
class n extends B {
|
|
62
|
-
getChartOption() {
|
|
63
|
-
var r, l, s, c, m, g, C;
|
|
64
|
-
const o = this.Style.value, { data: i } = this.props.conf, t = (r = i[0]) != null ? r : {};
|
|
65
|
-
return {
|
|
66
|
-
tooltip: {
|
|
67
|
-
trigger: "item",
|
|
68
|
-
formatter: "{a} <br/>{b} : {c}",
|
|
69
|
-
confine: !0
|
|
70
|
-
},
|
|
71
|
-
series: [
|
|
72
|
-
{
|
|
73
|
-
name: (l = t.name) != null ? l : "",
|
|
74
|
-
type: "gauge",
|
|
75
|
-
radius: "100%",
|
|
76
|
-
startAngle: 215,
|
|
77
|
-
center: ["50%", "55%"],
|
|
78
|
-
max: (s = t.max) != null ? s : 100,
|
|
79
|
-
min: (c = t.min) != null ? c : 0,
|
|
80
|
-
endAngle: -35,
|
|
81
|
-
splitNumber: (m = t.pieces) != null ? m : 5,
|
|
82
|
-
data: [{ value: (g = t.min) != null ? g : 0, name: (C = t.name) != null ? C : "" }],
|
|
83
|
-
axisLine: { lineStyle: { color: this.formatColor(), width: 10 } },
|
|
84
|
-
axisLabel: { distance: 25, color: o.textColor },
|
|
85
|
-
axisTick: { length: 5, distance: -10, lineStyle: { color: "#fff" } },
|
|
86
|
-
splitLine: {
|
|
87
|
-
length: -10,
|
|
88
|
-
distance: 0,
|
|
89
|
-
lineStyle: { width: 3, color: "transparent" }
|
|
90
|
-
},
|
|
91
|
-
pointer: {
|
|
92
|
-
shadowColor: "#ff2e4c",
|
|
93
|
-
width: 3,
|
|
94
|
-
length: "70%",
|
|
95
|
-
itemStyle: { color: "auto" }
|
|
96
|
-
},
|
|
97
|
-
title: { offsetCenter: [0, "80%"], fontSize: 14, color: o.textColor },
|
|
98
|
-
detail: {
|
|
99
|
-
borderWidth: 0,
|
|
100
|
-
width: "100%",
|
|
101
|
-
height: 14,
|
|
102
|
-
fontSize: 14,
|
|
103
|
-
color: o.textColor,
|
|
104
|
-
offsetCenter: [0, "50%"],
|
|
105
|
-
formatter: (E) => {
|
|
106
|
-
var S;
|
|
107
|
-
return E + ((S = t.unit) != null ? S : "");
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
]
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
formatColor() {
|
|
115
|
-
const { area: o, data: i } = this.props.conf;
|
|
116
|
-
if (!(o != null && o.length) || !(i != null && i[0])) return [[1, "#5c7bd9"]];
|
|
117
|
-
const { max: t, min: r } = i[0], l = t - r;
|
|
118
|
-
return [...o].sort((s, c) => s.value - c.value).map((s) => [(s.value - r) / l, s.color]);
|
|
119
|
-
}
|
|
120
|
-
setHistoryData(o) {
|
|
121
|
-
var t, r, l, s;
|
|
122
|
-
if (!o) return;
|
|
123
|
-
const i = this.chartObj.getOption();
|
|
124
|
-
(l = (r = (t = i.series) == null ? void 0 : t[0]) == null ? void 0 : r.data) != null && l[0] && (i.series[0].data[0].value = (s = o[0].data[0]) != null ? s : 0, this.updateChart(i));
|
|
125
|
-
}
|
|
126
|
-
// ✅ 重写 setSocketData(),使用 extractDataValue() 统一提取数据
|
|
127
|
-
setSocketData(o) {
|
|
128
|
-
var r, l, s, c, m;
|
|
129
|
-
if (!this.chartObj || !o) return;
|
|
130
|
-
const { data: i } = this.props.conf, t = this.chartObj.getOption();
|
|
131
|
-
(s = (l = (r = t.series) == null ? void 0 : r[0]) == null ? void 0 : l.data) != null && s[0] && (t.series[0].data[0].value = (m = (c = this.extractDataValue(o, i[0].fv)) != null ? c : i[0].min) != null ? m : 0, this.updateChart(t));
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
const d = new n(e, "gauge");
|
|
135
|
-
d.setupLifecycle();
|
|
136
|
-
const p = d.getStyle(), O = d.getEchartId(), A = w(() => F(e.conf.options));
|
|
137
|
-
return (h, o) => (M(), j("div", {
|
|
138
|
-
class: "mix-component",
|
|
139
|
-
style: v({
|
|
140
|
-
background: f(p).bgColor,
|
|
141
|
-
borderRadius: `${f(p).radiusSize}px`
|
|
142
|
-
})
|
|
143
|
-
}, [
|
|
144
|
-
u("div", {
|
|
145
|
-
class: "mix-title",
|
|
146
|
-
style: v(A.value)
|
|
147
|
-
}, z(a.conf.caption || a.conf.name), 5),
|
|
148
|
-
u("div", J, [
|
|
149
|
-
u("div", {
|
|
150
|
-
class: "w-full h-full",
|
|
151
|
-
id: f(O)
|
|
152
|
-
}, null, 8, K)
|
|
153
|
-
]),
|
|
154
|
-
k(h.$slots, "default", {}, void 0, !0)
|
|
155
|
-
], 4));
|
|
156
|
-
}
|
|
157
|
-
})), gt = /* @__PURE__ */ $(st, [["__scopeId", "data-v-10c4061e"]]);
|
|
158
|
-
export {
|
|
159
|
-
gt as default
|
|
160
|
-
};
|