mixdashboards 1.0.74 → 1.0.76
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-BmhMoM4H.cjs +1 -0
- package/dist/{BaseComponent-NnwLq7Cf.js → BaseComponent-CQaDWNO0.js} +10 -10
- package/dist/{EChartComponentBase-D7_ZiE7P.cjs → EChartComponentBase-D9EUh4BZ.cjs} +1 -1
- package/dist/{EChartComponentBase-C3gcATBZ.js → EChartComponentBase-i76OGL3z.js} +2 -2
- package/dist/{EmergencyPlanPanel-0EfbQlQm.js → EmergencyPlanPanel-B9S3Ru5-.js} +1 -1
- package/dist/{EmergencyPlanPanel-XDtQc5aN.cjs → EmergencyPlanPanel-BiAHvTfh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-fbBtPeVt.cjs → HistoryPlanDialog-BU4GayEm.cjs} +1 -1
- package/dist/{HistoryPlanDialog-ihGqWXNI.js → HistoryPlanDialog-CbbeFm-i.js} +1 -1
- package/dist/{MonitoringMap-DysFrw3B.js → MonitoringMap-B6tXBdvK.js} +2 -2
- package/dist/{MonitoringMap-UT2OL3ca.cjs → MonitoringMap-FGDoA0fw.cjs} +1 -1
- package/dist/{UniverSheet-DeZ-y5mH.cjs → UniverSheet-D7y2pceH.cjs} +1 -1
- package/dist/{UniverSheet-CMWL98B8.js → UniverSheet-D8sflrTb.js} +2 -2
- package/dist/{accelerationChart-BGjzOc4I.cjs → accelerationChart-DTlwSA0N.cjs} +1 -1
- package/dist/{accelerationChart-JNRxAqU5.js → accelerationChart-bch4O3t-.js} +9 -9
- package/dist/{actionItem-DnrNafUu.js → actionItem-Cw67YwsR.js} +2 -2
- package/dist/{actionItem-DDlL4pxR.cjs → actionItem-cdsgUvaC.cjs} +1 -1
- package/dist/{alarmLevelChart-B4TglthF.cjs → alarmLevelChart-BMjTLxB5.cjs} +1 -1
- package/dist/{alarmLevelChart-D4ZPyGyd.js → alarmLevelChart-BynSRHG2.js} +2 -2
- package/dist/{alertTable-WmivR3n_.cjs → alertTable-3VhkUZSf.cjs} +1 -1
- package/dist/{alertTable-IwL3PIbe.js → alertTable-CiwuaydQ.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-zcElLG44.cjs → aliasObjectSelectorDemo-BLoecZkV.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-DCcqetww.js → aliasObjectSelectorDemo-DfdRxb4I.js} +1 -1
- package/dist/{annualRainfallChart-CNqrXKJZ.js → annualRainfallChart-CHcr4-0D.js} +2 -2
- package/dist/{annualRainfallChart-DspMrDxt.cjs → annualRainfallChart-DKR-A_PT.cjs} +1 -1
- package/dist/{aqi-B1bcKY5p.cjs → aqi-D7VqP1QE.cjs} +1 -1
- package/dist/{aqi-CdGE9-CD.js → aqi-Gu-pAovO.js} +4 -4
- package/dist/{aqiIndass-CuKfMaYn.js → aqiIndass-Bjj6n1aj.js} +18 -18
- package/dist/{aqiIndass-BZpPo1tj.cjs → aqiIndass-nfYUZ3UM.cjs} +1 -1
- package/dist/{areaDeformCurve-bNNNS8Cb.cjs → areaDeformCurve-fpGWmq05.cjs} +1 -1
- package/dist/{areaDeformCurve-Chn4CE8w.js → areaDeformCurve-nwlcUBDv.js} +2 -2
- package/dist/arrayCard-TfcgLrHv.js +139 -0
- package/dist/arrayCard-UoDqAGbN.cjs +1 -0
- package/dist/{audio-YTfr7Lqf.js → audio-BYgGYoEr.js} +2 -2
- package/dist/{audio-BeYg08W5.cjs → audio-DdUv9Ot-.cjs} +1 -1
- package/dist/bar-CkBXc7t1.cjs +2 -0
- package/dist/{bar-YhAAV2al.js → bar-SfGiFl1r.js} +75 -67
- package/dist/{bmp-Uj7Bu61U.js → bmp-BbtdzIrI.js} +2 -2
- package/dist/{bmp-vWIH5Cu7.cjs → bmp-CY-Hb2x1.cjs} +1 -1
- package/dist/{box-Cdzw27uU.cjs → box-B4C_mirv.cjs} +1 -1
- package/dist/{box-C8RIfuID.js → box-CV41cJuX.js} +2 -2
- package/dist/{chartConfigPanel-DLa3heKy.js → chartConfigPanel-D650rSn7.js} +1 -1
- package/dist/{chartConfigPanel-D3voTkdQ.cjs → chartConfigPanel-DBlqAbbH.cjs} +1 -1
- package/dist/{circleBar-Dc_qd4gk.cjs → circleBar-DkV7xPBl.cjs} +1 -1
- package/dist/{circleBar-DUSP-iMF.js → circleBar-U3iXMQr5.js} +2 -2
- package/dist/{clock-0USfNfTc.cjs → clock-CjgMeOhp.cjs} +1 -1
- package/dist/{clock-Dk1zjBcJ.js → clock-zKVUU8pu.js} +2 -2
- package/dist/clt-BsIA-YPQ.js +301 -0
- package/dist/clt-DwI8i7zI.cjs +1 -0
- package/dist/cmc-BX9ichBB.cjs +1 -0
- package/dist/cmc-CgpHejR2.js +275 -0
- package/dist/{cmp-D4ZO7mz7.js → cmp-CS34lG7V.js} +2 -2
- package/dist/{cmp-BPM8lMqg.cjs → cmp-CTqtxzo4.cjs} +1 -1
- package/dist/{conclusionCard-BYR-fH4f.js → conclusionCard-N6pA6Q9P.js} +2 -2
- package/dist/{conclusionCard-BVHHtpxH.cjs → conclusionCard-wvtJmV_8.cjs} +1 -1
- package/dist/{controlList-DsEyes9v.cjs → controlList-BUAMdHA3.cjs} +1 -1
- package/dist/{controlList-DYV1wgUY.js → controlList-Zz5ABe5b.js} +2 -2
- package/dist/{controlRecordList-j0pBrQiU.cjs → controlRecordList-CMR4y_Ml.cjs} +1 -1
- package/dist/{controlRecordList-CBGpB41d.js → controlRecordList-Dx0zj7js.js} +2 -2
- package/dist/controlRecordListAPP-ZDCKmz_8.cjs +1 -0
- package/dist/controlRecordListAPP-bL9oqWzQ.js +569 -0
- package/dist/{crd-C8IqmHc6.cjs → crd-8tMwNlgx.cjs} +1 -1
- package/dist/{crd-Di7EfiY1.js → crd-DZPpD6XY.js} +2 -2
- package/dist/{ctrBtn-BzMHJHA9.js → ctrBtn-6Ql9ulTr.js} +3 -3
- package/dist/{ctrBtn-Cj-AqUKM.cjs → ctrBtn-eCu0UDtW.cjs} +1 -1
- package/dist/{ctrSet-DMkuRDFI.js → ctrSet-BwFVH1Mk.js} +51 -50
- package/dist/{ctrSet-CnDBng-I.cjs → ctrSet-pX-zVivo.cjs} +1 -1
- package/dist/{ctrSwitch-BRfl35Aw.cjs → ctrSwitch-D95SI-aJ.cjs} +1 -1
- package/dist/{ctrSwitch-FJgD05b0.js → ctrSwitch-b6hHf4QF.js} +3 -3
- package/dist/{dataManagement-CXbeNggN.cjs → dataManagement-DubA1TV1.cjs} +1 -1
- package/dist/{dataManagement-CQoqc9Rh.js → dataManagement-VucRLCK4.js} +2 -2
- package/dist/{dataReport-l2SE8HZx.js → dataReport-CALIw14D.js} +2 -2
- package/dist/{dataReport-BkIDOCdC.cjs → dataReport-CkF5J7X1.cjs} +1 -1
- package/dist/{dataTable-jf6qXfJJ.js → dataTable-C1rBH_p9.js} +1 -1
- package/dist/{dataTable-BdttKfHG.cjs → dataTable-C2q_CX5D.cjs} +1 -1
- package/dist/{datetime-eht4XkmD.js → datetime-Cq8scz5Q.js} +2 -2
- package/dist/{datetime-BH9orUUf.cjs → datetime-TBTeWqlf.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-CF_MN7sO.cjs → deepClusterSlipSurface-CFaxRVmM.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-D2d52L50.js → deepClusterSlipSurface-Cm50wbjv.js} +13 -13
- package/dist/{deepDataMatrix-DqbCqz8d.cjs → deepDataMatrix-CAYSav3X.cjs} +1 -1
- package/dist/{deepDataMatrix-DY1WmgGR.js → deepDataMatrix-DyStA98d.js} +13 -13
- package/dist/{deepDisplacement3D-D3-KOmef.cjs → deepDisplacement3D-B3Iju2KK.cjs} +1 -1
- package/dist/{deepDisplacement3D-CuVVhd0X.js → deepDisplacement3D-Bat-Wc3i.js} +2 -2
- package/dist/{deepDisplacementChart-BwBojI9h.cjs → deepDisplacementChart-C-Tr4DdI.cjs} +1 -1
- package/dist/{deepDisplacementChart-DzikjpBz.cjs → deepDisplacementChart-CX9ALM89.cjs} +1 -1
- package/dist/{deepDisplacementChart-C_3eHTmR.js → deepDisplacementChart-CYMpNu_W.js} +3 -3
- package/dist/{deepDisplacementChart-DFosjAQL.js → deepDisplacementChart-D5rHoC9r.js} +26 -26
- package/dist/{deepDisplacementView-gJdi6U9B.cjs → deepDisplacementView-DTSsODJQ.cjs} +1 -1
- package/dist/{deepDisplacementView-BNQaheci.js → deepDisplacementView-DnjwQmEW.js} +1 -1
- package/dist/{deepNodeTemperatureChart-oMknBT7e.cjs → deepNodeTemperatureChart-C9NRJ49Y.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-C5d-tyOA.js → deepNodeTemperatureChart-CLKg72UA.js} +2 -2
- package/dist/{deepTangentAngleChart-C7b7sEab.cjs → deepTangentAngleChart-C9aFSFrD.cjs} +1 -1
- package/dist/{deepTangentAngleChart-C35d0nBR.js → deepTangentAngleChart-DklHYHhm.js} +2 -2
- package/dist/{deepTemperatureField-BnWHpVPm.cjs → deepTemperatureField-CXBL4_LS.cjs} +1 -1
- package/dist/{deepTemperatureField-DbGy0vHS.js → deepTemperatureField-CcnVGgbf.js} +3 -3
- package/dist/{deepTrendChart-DdCYjiWZ.js → deepTrendChart-De7ebpk4.js} +2 -2
- package/dist/{deepTrendChart-D676owsq.cjs → deepTrendChart-OGW08BX-.cjs} +1 -1
- package/dist/{deviceOnlineStatus-DSuaeFZj.cjs → deviceOnlineStatus-DarcMtY4.cjs} +1 -1
- package/dist/{deviceOnlineStatus-BH-2-UBD.js → deviceOnlineStatus-_3Txb8Tg.js} +2 -2
- package/dist/{deviceStatus-ySE9suGE.cjs → deviceStatus-BiJw8rnz.cjs} +1 -1
- package/dist/{deviceStatus-CxjbfqGK.js → deviceStatus-CL6E-pQ0.js} +12 -12
- package/dist/{displacementDataTable-DwutxypE.cjs → displacementDataTable-DmAqr-JK.cjs} +1 -1
- package/dist/{displacementDataTable-CAYYafN7.js → displacementDataTable-tKtGe2xd.js} +17 -17
- package/dist/{displacementTrajectoryChart-zya-qu9n.cjs → displacementTrajectoryChart-DG2YdSqq.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-ClUAsle_.js → displacementTrajectoryChart-Dh6oPB0p.js} +31 -31
- package/dist/{displacementTrendChart-xqe9LMp8.js → displacementTrendChart-BHORe0qO.js} +40 -40
- package/dist/{displacementTrendChart-DZj52qRD.cjs → displacementTrendChart-CT140vXG.cjs} +1 -1
- package/dist/{dxf-Cmr9xmL0.cjs → dxf-CVa4Vfm3.cjs} +1 -1
- package/dist/{dxf-tZgpovsn.js → dxf-CjcHSJq-.js} +2 -2
- package/dist/{dzc-C0VMyvsH.js → dzc-DDXNSuie.js} +6 -6
- package/dist/{dzc-BwCEpLKp.cjs → dzc-DK16oTVj.cjs} +1 -1
- package/dist/{emergencyPlan-CQtYRB5n.cjs → emergencyPlan-D0AMuD-3.cjs} +1 -1
- package/dist/{emergencyPlan-j1icRflR.js → emergencyPlan-Vim4E6h7.js} +3 -3
- package/dist/evn-CdMN8gIC.js +165 -0
- package/dist/evn-D2mdSoFB.cjs +1 -0
- package/dist/{evolutionChart-q9UtSs9r.cjs → evolutionChart-I8XVW05I.cjs} +1 -1
- package/dist/{evolutionChart-C1rPjVsB.js → evolutionChart-P0l6P0Bc.js} +3 -3
- package/dist/{fileViewer-ZO55zvWU.cjs → fileViewer-D7sAA8-W.cjs} +1 -1
- package/dist/{fileViewer-Bj4FYg5G.js → fileViewer-DvntGv0b.js} +2 -2
- package/dist/{filterBar-CIYpcc9y.js → filterBar-8gex5oR-.js} +2 -2
- package/dist/{filterBar-D7js_Q7g.cjs → filterBar-GSTji96g.cjs} +1 -1
- package/dist/{fireCombustionCurve-DEHjb7Lp.js → fireCombustionCurve-B3jAhOft.js} +3 -3
- package/dist/{fireCombustionCurve-CiVXjt9E.cjs → fireCombustionCurve-DrMmHf3N.cjs} +1 -1
- package/dist/{fireFilterBar-BzgnlY5d.js → fireFilterBar-CH6iK0Xg.js} +2 -2
- package/dist/{fireFilterBar-CkQU9Yaf.cjs → fireFilterBar-Dy9DcHij.cjs} +1 -1
- package/dist/{fireHistoryTable-BoAArvjx.js → fireHistoryTable-CHxHqPs0.js} +2 -2
- package/dist/{fireHistoryTable-JCY4nLos.cjs → fireHistoryTable-n6L3juWp.cjs} +1 -1
- package/dist/{gag-DCGVulGC.js → gag-BsO4kmp1.js} +2 -2
- package/dist/{gag-CrUeBa30.cjs → gag-BzjuwBvY.cjs} +1 -1
- package/dist/gasStationList-7JzUcISs.js +1325 -0
- package/dist/gasStationList-QwqTDEAG.cjs +1 -0
- package/dist/{geo3dViewer-BSAjBg2m.cjs → geo3dViewer-Cf-jHpvF.cjs} +1 -1
- package/dist/{geo3dViewer-Du775tJ7.js → geo3dViewer-doEpUC_J.js} +3 -3
- package/dist/{glbModel-2uTNL367.js → glbModel-BgFIj_es.js} +2 -2
- package/dist/{glbModel-Cm1M6hko.cjs → glbModel-C6L--3dO.cjs} +1 -1
- package/dist/{globalObjectSelector-CEpO2o2w.js → globalObjectSelector-CdfiXRjg.js} +1 -1
- package/dist/{globalObjectSelector-W_YToM6x.cjs → globalObjectSelector-P_irB0rv.cjs} +1 -1
- package/dist/{gnssFilterBar-BSHEfiyz.cjs → gnssFilterBar-CIwyv2yc.cjs} +1 -1
- package/dist/{gnssFilterBar-DZYOL5nC.js → gnssFilterBar-DPNshMIx.js} +2 -2
- package/dist/{gnssHistoryTable-naChmXHT.js → gnssHistoryTable-C7x4-Tpp.js} +2 -2
- package/dist/{gnssHistoryTable-Ct98Vz6i.cjs → gnssHistoryTable-j5FL6oYs.cjs} +1 -1
- package/dist/{gnssMapView-DouWOPLF.js → gnssMapView-BWcS4hqj.js} +4 -4
- package/dist/{gnssMapView-CCW4_-Sn.cjs → gnssMapView-_VaJWBcE.cjs} +2 -2
- package/dist/{gnssSectionProfile-hzXQ4KzJ.cjs → gnssSectionProfile-DGbTO7lV.cjs} +1 -1
- package/dist/{gnssSectionProfile-Be-THvQP.js → gnssSectionProfile-hpyiGI-6.js} +2 -2
- package/dist/{gnssTimeSeriesChart-CbMxKxjG.cjs → gnssTimeSeriesChart-CNT6xaNs.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-DoMBz4zf.js → gnssTimeSeriesChart-rL9oG1ly.js} +2 -2
- package/dist/{gnssXYTrajectory-Bg2B89Vw.js → gnssXYTrajectory-B1LZAepw.js} +2 -2
- package/dist/{gnssXYTrajectory-BNwqQna4.cjs → gnssXYTrajectory-CwAjhPRc.cjs} +1 -1
- package/dist/{grd-XTVPofQw.js → grd-BLab9IY0.js} +26 -26
- package/dist/{grd-C-x23C0E.cjs → grd-rJXqEimt.cjs} +1 -1
- package/dist/{grdIndass-CYawTr5K.js → grdIndass-gGrZ7gRV.js} +2 -2
- package/dist/{grdIndass-h7STZwba.cjs → grdIndass-niY4UOwz.cjs} +1 -1
- package/dist/{grg-DMRsgNoC.cjs → grg-C1L5yeyY.cjs} +1 -1
- package/dist/{grg-BZPHOdr_.js → grg-Dnro7bLg.js} +6 -6
- package/dist/{gridview-C_Lqcw3n.js → gridview-BhjWlD0J.js} +2 -2
- package/dist/{gridview-BAqXV-TI.cjs → gridview-DxUsv2ny.cjs} +1 -1
- package/dist/{groundwaterFilterBar-RcVBt_vt.cjs → groundwaterFilterBar-C-2e7S04.cjs} +1 -1
- package/dist/{groundwaterFilterBar-Dq216QFO.js → groundwaterFilterBar-bNhTkX1C.js} +2 -2
- package/dist/{groundwaterProfileChart-D31MpfdN.cjs → groundwaterProfileChart-BxKGPuOe.cjs} +2 -2
- package/dist/{groundwaterProfileChart-7LN3wfLM.js → groundwaterProfileChart-dhzmwfwz.js} +3 -3
- package/dist/{groundwaterTimeCurve-CJgvt43Z.js → groundwaterTimeCurve-BtzP6icm.js} +3 -3
- package/dist/{groundwaterTimeCurve-C65gdinn.cjs → groundwaterTimeCurve-CTQPlTUr.cjs} +1 -1
- package/dist/{groupCard-BpjcijZW.js → groupCard-D00ElZoy.js} +63 -53
- package/dist/{groupCard-DNOawK4_.cjs → groupCard-D4gdaVqR.cjs} +1 -1
- package/dist/{headerBar-Bnv8ylmr.js → headerBar-DEHj8fJr.js} +2 -2
- package/dist/{headerBar-CNWKR951.cjs → headerBar-MFw1W0qa.cjs} +1 -1
- package/dist/{history-DdkBOj8L.js → history-BRkb914v.js} +22 -22
- package/dist/{history-xZTq1lUB.cjs → history-D1R2RAZQ.cjs} +1 -1
- package/dist/index-77aUdspY.cjs +612 -0
- package/dist/{index-D5BukPPY.js → index-BZpYmpDy.js} +3511 -3043
- package/dist/{insarDeformChart-DIvxdDkN.cjs → insarDeformChart-5EVWIkpL.cjs} +1 -1
- package/dist/{insarDeformChart-BKgJHbFe.js → insarDeformChart-pbOnnoN-.js} +2 -2
- package/dist/{insarImageViewer-qI5GBqkU.js → insarImageViewer-D3bbQA6g.js} +2 -2
- package/dist/{insarImageViewer-Bray3mKg.cjs → insarImageViewer-DQJBN4YM.cjs} +1 -1
- package/dist/{kds-BibvGW1n.cjs → kds-D5seJB3L.cjs} +1 -1
- package/dist/{kds-C1Chb0fa.js → kds-gTJOwHbM.js} +2 -2
- package/dist/{kpiCard-tnfcEXOn.cjs → kpiCard-Bz-fg6sL.cjs} +1 -1
- package/dist/{kpiCard-KuMZjN55.js → kpiCard-Cx6VNK6L.js} +2 -2
- package/dist/{landslideMap-B4vzymkZ.js → landslideMap-5erIcZo7.js} +3 -3
- package/dist/{landslideMap-DlMSDibx.cjs → landslideMap-D7_QpwmM.cjs} +1 -1
- package/dist/{landslideWarning-DtOMb7U_.cjs → landslideWarning-C3FZqrxT.cjs} +1 -1
- package/dist/{landslideWarning-BYlaEzUr.js → landslideWarning-CzaddgWf.js} +14 -14
- package/dist/{layerTabs-DQm_b2aH.cjs → layerTabs-Dc1Xb11W.cjs} +1 -1
- package/dist/{layerTabs-BG0gTvo8.js → layerTabs-DqbOykS2.js} +2 -2
- package/dist/{leaflet-src-DVXepwmU.js → leaflet-src-BY2SMh9y.js} +1 -1
- package/dist/{leaflet-src-qPfpknMO.cjs → leaflet-src-Brb8KUL5.cjs} +1 -1
- package/dist/{lerc-Z6kWrF7V.js → lerc-Chm_GVte.js} +2 -2
- package/dist/{lerc-CITZZDb7.cjs → lerc-DGuyYCKG.cjs} +1 -1
- package/dist/{lin-CW8Q8u-z.cjs → lin-8x2j8aGa.cjs} +1 -1
- package/dist/{lin-zJYjIE2f.js → lin-tqtSA5ci.js} +5 -5
- package/dist/{linIndass-27mWriLs.js → linIndass-DHFymSVI.js} +10 -10
- package/dist/{linIndass-CQaikC7I.cjs → linIndass-Dxo_bzrZ.cjs} +1 -1
- package/dist/{lst-Cu-ohx2m.cjs → lst-BV6EbDPs.cjs} +1 -1
- package/dist/{lst-BqXNkXrQ.js → lst-BejIuO0f.js} +2 -2
- package/dist/{manualEntry-zj6TEXL7.cjs → manualEntry-Bt4cs6kn.cjs} +1 -1
- package/dist/{manualEntry-BPEmSok7.js → manualEntry-DObI0OAq.js} +2 -2
- package/dist/{mapBackground-BhcSOZ_h.js → mapBackground-Cuym5Dqr.js} +3 -3
- package/dist/{mapBackground-CRI873EC.cjs → mapBackground-oVOBK3zr.cjs} +1 -1
- package/dist/{mappingList-DGgPl4t4.cjs → mappingList-BEWAqLd4.cjs} +1 -1
- package/dist/{mappingList-CvG8EIIC.js → mappingList-Dzq0zMfs.js} +2 -2
- package/dist/{markdownViewer-D9JqGyeI.js → markdownViewer-Bz50jkb6.js} +2 -2
- package/dist/{markdownViewer-DvbUv7kn.cjs → markdownViewer-V5b1xhPh.cjs} +1 -1
- package/dist/{mix-control-modal-DaRWnX3S.js → mix-control-modal-DzVLdO3S.js} +1 -1
- package/dist/{mix-control-modal-DpAs-GHi.cjs → mix-control-modal-I6DqPm04.cjs} +1 -1
- package/dist/{mixGrid-CHne1dXO.cjs → mixGrid-_ur8VKLD.cjs} +1 -1
- package/dist/{mixGrid-FBiMFT4V.js → mixGrid-tVSdKPms.js} +2 -2
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BUQ-RZ3L.cjs +1 -0
- package/dist/mixiotObjectListApi-D5vNNWgT.js +212 -0
- package/dist/{mjpegCamera-D32gJ5oN.cjs → mjpegCamera-CjWe8BEK.cjs} +1 -1
- package/dist/{mjpegCamera-D2quqZNc.js → mjpegCamera-DnAPpFJU.js} +2 -2
- package/dist/{monitorAlert-D4qszzHh.js → monitorAlert-B-fTYPn6.js} +15 -15
- package/dist/{monitorAlert-CxC81qAu.cjs → monitorAlert-qmVSQ1lc.cjs} +1 -1
- package/dist/{monitorData-DnWDsgTT.js → monitorData-Dopc660L.js} +7 -7
- package/dist/{monitorData-CVkL2ukF.cjs → monitorData-YhGSUq3H.cjs} +1 -1
- package/dist/{monitorSpeedChart-CKxwWE0i.cjs → monitorSpeedChart-Brj_YHsO.cjs} +1 -1
- package/dist/{monitorSpeedChart-CHpQsrDt.js → monitorSpeedChart-Dsvr_QPB.js} +1 -1
- package/dist/{mxa-UU7rQDd8.cjs → mxa-BzdI7BLB.cjs} +1 -1
- package/dist/{mxa-Cbnwonqc.js → mxa-D4WkyBYZ.js} +7 -7
- package/dist/{myValue-DzARZpdg.cjs → myValue-C0tq-asC.cjs} +1 -1
- package/dist/{myValue-DBxx1jtk.js → myValue-DYtBtOJ2.js} +2 -2
- package/dist/{myValueList-BVbeDsWn.cjs → myValueList-BJctRTNd.cjs} +1 -1
- package/dist/{myValueList-BbtPVr5y.js → myValueList-Ddpn1S68.js} +2 -2
- package/dist/objectList-Csf0hVwo.cjs +1 -0
- package/dist/objectList-G4wXFDwe.js +2040 -0
- package/dist/{objectListAPP-CYxy9UjL.js → objectListAPP-BrmUj4At.js} +49 -51
- package/dist/objectListAPP-UZN4iuTn.cjs +1 -0
- package/dist/{photo-DPOhq559.js → photo-BEPeK7U8.js} +2 -2
- package/dist/{photo-BRMACjXO.cjs → photo-BYH_qg5O.cjs} +1 -1
- package/dist/{pie-B7HO9F24.cjs → pie-B57zDxJV.cjs} +1 -1
- package/dist/{pie-CUqy6VGE.js → pie-CEVKe1lL.js} +2 -2
- package/dist/{placeholder-D-BpaT59.cjs → placeholder-BezBEQGo.cjs} +1 -1
- package/dist/{placeholder-DsyLsZM5.js → placeholder-Bwv3VyEg.js} +1 -1
- package/dist/{pressBtn-IefW25bT.js → pressBtn-1LCNz2gE.js} +33 -33
- package/dist/{pressBtn-DZz7PZ7o.cjs → pressBtn-CJZTyY8I.cjs} +1 -1
- package/dist/{processTable-Bm2HnUrZ.js → processTable-CHDazqah.js} +2 -2
- package/dist/{processTable-kVFr2ntb.cjs → processTable-HtDeg1by.cjs} +1 -1
- package/dist/{progressBar-00yP_jc2.cjs → progressBar-BP4SmPZK.cjs} +1 -1
- package/dist/{progressBar-C7RKpdcE.js → progressBar-C3NcWUrS.js} +2 -2
- package/dist/{progressCircle-BBkwMkI0.js → progressCircle-Bo9-Qva_.js} +48 -48
- package/dist/{progressCircle-CzqibMlZ.cjs → progressCircle-CDqK1iFt.cjs} +1 -1
- package/dist/{qrcode-DaHlY7Vv.js → qrcode-VmYwvClG.js} +2 -2
- package/dist/{qrcode-4NUAsx0h.cjs → qrcode-qD6tOm4F.cjs} +1 -1
- package/dist/{raceBar-WhOgwnlP.js → raceBar-DR2-luKW.js} +2 -2
- package/dist/{raceBar-BVsHg94d.cjs → raceBar-uAs91hyk.cjs} +1 -1
- package/dist/{rad-BlEn2Yx1.js → rad-1Jy1KDzt.js} +2 -2
- package/dist/{rad-sMtJPs8L.cjs → rad-D7-YZJNO.cjs} +1 -1
- package/dist/{radarMapViewer-C1_FFYFi.js → radarMapViewer-ByQXe0Mu.js} +2 -2
- package/dist/{radarMapViewer-CzhHFpRX.cjs → radarMapViewer-KPhNE5XX.cjs} +1 -1
- package/dist/{rainfallFilterBar-Bt2TbXV6.js → rainfallFilterBar-C1obotPf.js} +2 -2
- package/dist/{rainfallFilterBar-F7DU_nqK.cjs → rainfallFilterBar-CVQpQp82.cjs} +1 -1
- package/dist/{rainfallTimeCurve-C5tBf1lx.js → rainfallTimeCurve-B2rEx3T_.js} +3 -3
- package/dist/{rainfallTimeCurve-DaXSW7dI.cjs → rainfallTimeCurve-DU2tt-Ls.cjs} +1 -1
- package/dist/{rangeLin-Cr4NRYc9.cjs → rangeLin-COsJkCky.cjs} +1 -1
- package/dist/{rangeLin-Bral8Ev4.js → rangeLin-CdfUCFQr.js} +8 -8
- package/dist/{realtimeEvolutionMap-CCisvZz8.cjs → realtimeEvolutionMap-B7GT8MOq.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-xJwuPatp.js → realtimeEvolutionMap-aR63xPW_.js} +2 -2
- package/dist/{regionBar-C8myvRfQ.cjs → regionBar-BYF7IaGA.cjs} +1 -1
- package/dist/{regionBar-D1iKcs2-.js → regionBar-DB-secNe.js} +2 -2
- package/dist/{request-C-rUicMg.js → request-CBsG4ipL.js} +1 -1
- package/dist/{request-Cxljxwu9.cjs → request-CvdHjG34.cjs} +1 -1
- package/dist/{retainer1-CC6TO-vq.cjs → retainer1-1CFk4InO.cjs} +1 -1
- package/dist/{retainer1-BvzeaTtU.js → retainer1-CMzTlM5Z.js} +3 -3
- package/dist/{retainer2-BeakFCgo.js → retainer2-DW4ewYX7.js} +3 -3
- package/dist/{retainer2-CmdgkB1y.cjs → retainer2-DliOH7it.cjs} +1 -1
- package/dist/{retainerRecordList-C7lDliOb.js → retainerRecordList-Bcm6leuD.js} +254 -275
- package/dist/retainerRecordList-DV7Tx39d.cjs +1 -0
- package/dist/retainerRecordListAPP-BDRwp8T3.js +1219 -0
- package/dist/retainerRecordListAPP-CJ-u0Tj2.cjs +1 -0
- package/dist/{ringTopN-BaKY-79s.js → ringTopN-Duq0pzm_.js} +2 -2
- package/dist/{ringTopN-Wfvu1-jE.cjs → ringTopN-rd2UwH9f.cjs} +1 -1
- package/dist/{riskRegionTable-ovBbwMl2.js → riskRegionTable-BE_ggcEV.js} +2 -2
- package/dist/{riskRegionTable-C7ee9wQX.cjs → riskRegionTable-CbPB8mlY.cjs} +1 -1
- package/dist/{sankey-BmWOGLSZ.cjs → sankey-BqBn6_rx.cjs} +1 -1
- package/dist/{sankey-K5BLueeX.js → sankey-CnKm9PZe.js} +2 -2
- package/dist/{scd-CMVoKjwE.js → scd-BaBLoem8.js} +456 -449
- package/dist/scd-BgJ5P7co.cjs +1 -0
- package/dist/{sideMenu-BbiMVHw1.cjs → sideMenu-BgiQL2P1.cjs} +1 -1
- package/dist/{sideMenu-L_dYXVgD.js → sideMenu-CUal1UQY.js} +2 -2
- package/dist/{slopeStability-WUcwG1vB.js → slopeStability-B9YbQLCE.js} +25 -25
- package/dist/{slopeStability-BWVxuRRV.cjs → slopeStability-Y2tDzJeh.cjs} +1 -1
- package/dist/{speedCurve-uwPuIJp0.js → speedCurve-DERBMtE1.js} +2 -2
- package/dist/{speedCurve-QTXe81e1.cjs → speedCurve-Kll2RRJ8.cjs} +1 -1
- package/dist/{stressFilterBar-DcqWlqsx.cjs → stressFilterBar-BGI4gVfE.cjs} +1 -1
- package/dist/{stressFilterBar-CnFNp7BR.js → stressFilterBar-CHRWFnpP.js} +2 -2
- package/dist/{stressTimeCurve-C-qycuZ2.cjs → stressTimeCurve-DE5KiXEt.cjs} +1 -1
- package/dist/{stressTimeCurve-C3r3LUBt.js → stressTimeCurve-hrlqSYS3.js} +3 -3
- package/dist/{swiper-wWrsPbDA.cjs → swiper-CnGllhBQ.cjs} +1 -1
- package/dist/{swiper-JShIvM0E.js → swiper-DNHC412s.js} +2 -2
- package/dist/{terminalConfigList-DVhEvcTB.js → terminalConfigList-BlHAsyCm.js} +2 -2
- package/dist/{terminalConfigList-nQqB1W5s.cjs → terminalConfigList-C45EANO4.cjs} +1 -1
- package/dist/{terminalList-BkMuHXZw.cjs → terminalList-CNI3_FGb.cjs} +1 -1
- package/dist/{terminalList-wAz6t4Ib.js → terminalList-UGjkhyf4.js} +2 -2
- package/dist/{terminalListAPP-CePxWgcL.cjs → terminalListAPP-6fPXF-yJ.cjs} +1 -1
- package/dist/{terminalListAPP-DuLN2OVq.js → terminalListAPP-CIJZMdxI.js} +2 -2
- package/dist/{textbox-DxXuhIyj.js → textbox-BD_LQ0EN.js} +2 -2
- package/dist/{textbox-BBi-Lg1Z.cjs → textbox-yNPnOaan.cjs} +1 -1
- package/dist/{timeQueryBar-BCTeL04F.cjs → timeQueryBar-3qiV0IV9.cjs} +1 -1
- package/dist/{timeQueryBar-DtngkLJX.js → timeQueryBar-B-uPtN25.js} +1 -1
- package/dist/{timeSeries-DJZnExBA.cjs → timeSeries-BTUuojvj.cjs} +1 -1
- package/dist/{timeSeries-CrdyAYs2.js → timeSeries-DdQI4oZU.js} +3 -3
- package/dist/{timeSeriesCurve-8_n0JJyf.cjs → timeSeriesCurve-Cj_FbK4x.cjs} +1 -1
- package/dist/{timeSeriesCurve-8_exdGlQ.js → timeSeriesCurve-TGXshTzl.js} +3 -3
- package/dist/{toggleBtn-DExYfMvi.js → toggleBtn-BMxqm5WG.js} +2 -2
- package/dist/{toggleBtn-B6dJ5cAt.cjs → toggleBtn-BXcQfnTB.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-B2fwoe-I.cjs → trajectoryConfigPanel-CqoKO0hL.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Ce1SoMtw.js → trajectoryConfigPanel-uRLWdXUb.js} +1 -1
- package/dist/{trajectoryScatter-h32teAQ0.js → trajectoryScatter-DPE4cC8N.js} +2 -2
- package/dist/{trajectoryScatter-CVLEXMPO.cjs → trajectoryScatter-Dph8PSdN.cjs} +1 -1
- package/dist/{universalConfigPanel-CxbrIc2Z.js → universalConfigPanel-CI1CuBmr.js} +1 -1
- package/dist/{universalConfigPanel-cRzJmx3l.cjs → universalConfigPanel-Db-pC67o.cjs} +1 -1
- package/dist/{universalTable-BssAi-QH.js → universalTable-DMrgtBrw.js} +2 -2
- package/dist/{universalTable-V604pFVr.cjs → universalTable-dQObEQog.cjs} +1 -1
- package/dist/{video-BjmIbrRS.js → video-DEhLie80.js} +2 -2
- package/dist/{video-B8JeGpBc.cjs → video-DbsKQhVD.cjs} +1 -1
- package/dist/{videoMonitor-CVkFwlZq.js → videoMonitor-BS6_LYUb.js} +12 -12
- package/dist/{videoMonitor-B6FzkJlS.cjs → videoMonitor-DLBtivXO.cjs} +1 -1
- package/dist/vlu-DXk_wQf-.cjs +1 -0
- package/dist/vlu-DaSjPY3I.js +149 -0
- package/dist/{warningOverview-DDOm2wwB.js → warningOverview-CKCEs_Jj.js} +3 -3
- package/dist/{warningOverview-4M-WX3Ob.cjs → warningOverview-DAUlXzr0.cjs} +1 -1
- package/dist/{weather-BGrOQFPM.cjs → weather-BAI0IWNH.cjs} +1 -1
- package/dist/{weather-CETxcsJS.js → weather-XUj6pFwM.js} +2 -2
- package/dist/{windLin-B3YXltBn.js → windLin-Bt4q2eUT.js} +2 -2
- package/dist/{windLin-B6uEtUnB.cjs → windLin-C9dsCT1w.cjs} +1 -1
- package/package.json +1 -1
- package/dist/BaseComponent-CaCkjmmb.cjs +0 -1
- package/dist/arrayCard-BYZWRop3.cjs +0 -1
- package/dist/arrayCard-CVVWnZDk.js +0 -131
- package/dist/bar-1K14ZPKy.cjs +0 -2
- package/dist/clt-BCHpLoab.cjs +0 -1
- package/dist/clt-Ba9Ov5WY.js +0 -296
- package/dist/cmc-CdDCboSm.cjs +0 -1
- package/dist/cmc-CsVB4uz3.js +0 -277
- package/dist/controlRecordListAPP-BktJCkFK.cjs +0 -1
- package/dist/controlRecordListAPP-CSt8rFZX.js +0 -502
- package/dist/evn-B2F6pbqY.js +0 -158
- package/dist/evn-B6WNZ0pv.cjs +0 -1
- package/dist/gasStationList-CN2y3zri.cjs +0 -1
- package/dist/gasStationList-CifrfkH0.js +0 -1239
- package/dist/index-BzWbqJIl.cjs +0 -612
- package/dist/mixiotObjectListApi-BwIQvSS-.js +0 -67
- package/dist/mixiotObjectListApi-ClirV2tM.cjs +0 -1
- package/dist/objectList-Cpu0yqsK.js +0 -1740
- package/dist/objectList-D5E8PU66.cjs +0 -1
- package/dist/objectListAPP-Cr4uoJuN.cjs +0 -1
- package/dist/retainerRecordList-C9xVt3Yk.cjs +0 -1
- package/dist/retainerRecordListAPP-BRmG7UnF.cjs +0 -1
- package/dist/retainerRecordListAPP-Cjip5JHS.js +0 -1070
- package/dist/scd-CCNgUI2Q.cjs +0 -1
- package/dist/vlu-CHHDngO6.js +0 -142
- package/dist/vlu-Dv1vt9r0.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var A=Object.defineProperty,F=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,j=Reflect.get;var O=(l,o,t)=>o in l?A(l,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[o]=t,z=(l,o)=>{for(var t in o||(o={}))P.call(o,t)&&O(l,t,o[t]);if(k)for(var t of k(o))I.call(o,t)&&O(l,t,o[t]);return l},N=(l,o)=>F(l,M(o));var w=(l,o,t)=>j(L(l),t,o);var S=(l,o,t)=>new Promise((p,d)=>{var f=r=>{try{u(t.next(r))}catch(c){d(c)}},C=r=>{try{u(t.throw(r))}catch(c){d(c)}},u=r=>r.done?p(r.value):Promise.resolve(r.value).then(f,C);u((t=t.apply(l,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const D=require("./BaseComponent-CaCkjmmb.cjs"),v=require("./index-BzWbqJIl.cjs"),R=require("./titleStyle-NSnz6cUg.cjs"),y=require("./mix-control-modal-DpAs-GHi.cjs"),H=require("element-plus"),q="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%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='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-213.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M225.674156,1208.89481%20C225.944595,1209.04924%20226.205387,1209.21954%20226.455068,1209.40467%20C226.881095,1209.72052%20227.273774,1210.07876%20227.626647,1210.47337%20C228.878628,1211.87353%20229.582251,1213.67438%20229.582251,1215.58182%20C229.582251,1219.84629%20226.083331,1223.3%20221.771264,1223.3%20C217.459198,1223.3%20213.960278,1219.84629%20213.960278,1215.58182%20C213.960278,1213.67437%20214.663898,1211.87352%20215.9159,1210.47335%20C216.268755,1210.07876%20216.661433,1209.72052%20217.087434,1209.40469%20C217.337142,1209.21954%20217.597933,1209.04924%20217.868372,1208.89481%20C218.16979,1208.7227%20218.55366,1208.82753%20218.725771,1209.12895%20C218.897882,1209.43036%20218.793058,1209.81423%20218.49164,1209.98634%20C218.264609,1210.11598%20218.045681,1210.25894%20217.836048,1210.41438%20C217.478472,1210.67948%20217.148907,1210.98015%20216.85287,1211.31119%20C215.804685,1212.48343%20215.217218,1213.98699%20215.217218,1215.58182%20C215.217218,1219.14841%20218.149754,1222.04306%20221.771264,1222.04306%20C225.392775,1222.04306%20228.32531,1219.14841%20228.32531,1215.58182%20C228.32531,1213.987%20227.73784,1212.48344%20226.689675,1211.31121%20C226.393622,1210.98015%20226.064056,1210.67948%20225.706453,1210.41436%20C225.496847,1210.25894%20225.27792,1210.11598%20225.050889,1209.98634%20C224.749471,1209.81423%20224.644647,1209.43036%20224.816758,1209.12895%20C224.988868,1208.82753%20225.372739,1208.7227%20225.674156,1208.89481%20Z%20M221.771264,1207.3%20C222.089434,1207.3%20222.352382,1207.53643%20222.393997,1207.84319%20L222.399735,1207.92847%20L222.399735,1215.48901%20C222.399735,1215.83611%20222.118359,1216.11748%20221.771264,1216.11748%20C221.453094,1216.11748%20221.190147,1215.88105%20221.148531,1215.57429%20L221.142794,1215.48901%20L221.142794,1207.92847%20C221.142794,1207.58138%20221.42417,1207.3%20221.771264,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",$="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%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(-103.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M115.0528,1208.89481%20C115.323239,1209.04924%20115.58403,1209.21954%20115.833711,1209.40467%20C116.259739,1209.72052%20116.652418,1210.07876%20117.00529,1210.47337%20C118.257271,1211.87353%20118.960894,1213.67438%20118.960894,1215.58182%20C118.960894,1219.84629%20115.461974,1223.3%20111.149908,1223.3%20C106.837841,1223.3%20103.338921,1219.84629%20103.338921,1215.58182%20C103.338921,1213.67437%20104.042541,1211.87352%20105.294544,1210.47335%20C105.647398,1210.07876%20106.040077,1209.72052%20106.466077,1209.40469%20C106.715786,1209.21954%20106.976577,1209.04924%20107.247016,1208.89481%20C107.548433,1208.7227%20107.932304,1208.82753%20108.104414,1209.12895%20C108.276525,1209.43036%20108.171701,1209.81423%20107.870284,1209.98634%20C107.643252,1210.11598%20107.424325,1210.25894%20107.214692,1210.41438%20C106.857116,1210.67948%20106.52755,1210.98015%20106.231514,1211.31119%20C105.183328,1212.48343%20104.595862,1213.98699%20104.595862,1215.58182%20C104.595862,1219.14841%20107.528398,1222.04306%20111.149908,1222.04306%20C114.771418,1222.04306%20117.703954,1219.14841%20117.703954,1215.58182%20C117.703954,1213.987%20117.116484,1212.48344%20116.068318,1211.31121%20C115.772265,1210.98015%20115.4427,1210.67948%20115.085097,1210.41436%20C114.875491,1210.25894%20114.656563,1210.11598%20114.429532,1209.98634%20C114.128115,1209.81423%20114.023291,1209.43036%20114.195401,1209.12895%20C114.367512,1208.82753%20114.751382,1208.7227%20115.0528,1208.89481%20Z%20M111.149908,1207.3%20C111.468078,1207.3%20111.731026,1207.53643%20111.772641,1207.84319%20L111.778378,1207.92847%20L111.778378,1215.48901%20C111.778378,1215.83611%20111.497002,1216.11748%20111.149908,1216.11748%20C110.831738,1216.11748%20110.56879,1215.88105%20110.527175,1215.57429%20L110.521438,1215.48901%20L110.521438,1207.92847%20C110.521438,1207.58138%20110.802813,1207.3%20111.149908,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",U={class:"font-semibold flex items-center justify-between"},Z={class:"mix-body"},W={class:"w-full flex flex-wrap content-start"},G=["onClick"],J={DEFAULT_ICON:q,ACTIVE_ICON:$,NAME_CN:"按键",NAME_EN:"Button",ORDER:2,PLATFORM:["pc","screen","mobile"]},K={bgColor:"#fff",titleColor:"#111",textColor:"#fff",titleSize:14,textSize:14,itemHeight:42,radiusSize:8,items:2,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4,method:{value:"alway",type:"select",label:"component.switch.method",options:v.CONTROL_OPTIONS}},V=[{command:"Control_01",name:"关机",color:"#c92309",code:"0"},{command:"Control_01",name:"开机",color:"#217406",code:"1"}],Y=["name","command","color","code"],Q=["mosaic"],X={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},e2={DEFAULT:J,OPTIONS:K,DATA:V,PARAMS:Y,SOURCE:Q,COMMON:X},t2=e.defineComponent(N(z({},e2),{__name:"ctrBtn",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""}},setup(l){const o=l,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),p=e.reactive({rule:"",code:"",command:""}),d=e.reactive({text:"",color:""}),f=e.ref(null),C=e.ref(!0);class u extends D.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#fff"),titleSize:this.getOptionValue("titleSize",16),textSize:this.getOptionValue("textSize",14),itemHeight:this.getOptionValue("itemHeight",42),radiusSize:this.getOptionValue("radiusSize",8),items:this.getOptionValue("items",2),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return S(this,null,function*(){w(u.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:V})}onPreview(){return S(this,null,function*(){yield w(u.prototype,this,"onPreview").call(this);const n=yield y.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){var g,x;if(!n)return;const{common:i}=this.props.conf,s=this.extractDataValue(n,i.statusFv);if(s!=null){const m=i.status.find(h=>String(h.code)===String(s));d.text=(g=m==null?void 0:m.text)!=null?g:"",d.color=(x=m==null?void 0:m.color)!=null?x:""}}}const r=new u(o,"ctrBtn");r.setupLifecycle();const c=r.getStyle(),E=e.computed(()=>R.generateTitleStyle(o.conf.options)),B=e.computed(()=>`${(100/c.value.items).toFixed(2)||100}%`),b=a=>!y.checkPermission(t.authorized,a.command),T=a=>{var s;if(b(a))return;const{options:n}=o.conf;let i=((s=n==null?void 0:n.method)==null?void 0:s.value)||"alway";p.rule=i,p.code=String(a.code),p.command=a.command,i==="alway"||i==="once"&&C.value?f.value.modal.visible=!0:_()},_=()=>{const{code:a,rule:n,command:i}=p,{common:s}=o.conf,g=JSON.parse(sessionStorage.getItem(v.ALIAS_MAPPING_KEY)||"{}");let m={block_mapping:"pusher",action:"publish_command",object_id:s.useAlias?g[s.object_alias]:s.object_id||o.uid,command:i,value:a,rule:n,control:t.password};v.api.platform(h=>{h.code===200&&(H.ElMessage.success(h.msg),f.value.modal.visible=!1,C.value=!1)},m)};return(a,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(E.value)},[e.createElementVNode("div",U,[e.createTextVNode(e.toDisplayString(l.conf.caption||l.conf.name)+" ",1),d.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"status-btn",style:e.normalizeStyle({backgroundColor:d.color,color:e.unref(c).textColor})},e.toDisplayString(d.text),5)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",Z,[e.createElementVNode("div",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.data,(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:s,style:e.normalizeStyle({width:B.value,height:`${e.unref(c).itemHeight}px`,fontSize:`${e.unref(c).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:b(i)}]),style:e.normalizeStyle({backgroundColor:i.color,color:e.unref(c).textColor}),onClick:g=>T(i)},e.toDisplayString(i.name),15,G)],4))),128))])]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4),e.createVNode(y._sfc_main,{ref_key:"controlRef",ref:f,onSubmit:_,password:t.password},null,8,["password"])],64))}})),o2=v._export_sfc(t2,[["__scopeId","data-v-8265c6e9"]]);exports.default=o2;
|
|
1
|
+
"use strict";var A=Object.defineProperty,F=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,j=Reflect.get;var O=(l,o,t)=>o in l?A(l,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[o]=t,z=(l,o)=>{for(var t in o||(o={}))P.call(o,t)&&O(l,t,o[t]);if(k)for(var t of k(o))I.call(o,t)&&O(l,t,o[t]);return l},N=(l,o)=>F(l,M(o));var w=(l,o,t)=>j(L(l),t,o);var S=(l,o,t)=>new Promise((p,d)=>{var f=r=>{try{u(t.next(r))}catch(c){d(c)}},C=r=>{try{u(t.throw(r))}catch(c){d(c)}},u=r=>r.done?p(r.value):Promise.resolve(r.value).then(f,C);u((t=t.apply(l,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const D=require("./BaseComponent-BmhMoM4H.cjs"),v=require("./index-77aUdspY.cjs"),R=require("./titleStyle-NSnz6cUg.cjs"),y=require("./mix-control-modal-I6DqPm04.cjs"),H=require("element-plus"),q="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%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='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-213.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M225.674156,1208.89481%20C225.944595,1209.04924%20226.205387,1209.21954%20226.455068,1209.40467%20C226.881095,1209.72052%20227.273774,1210.07876%20227.626647,1210.47337%20C228.878628,1211.87353%20229.582251,1213.67438%20229.582251,1215.58182%20C229.582251,1219.84629%20226.083331,1223.3%20221.771264,1223.3%20C217.459198,1223.3%20213.960278,1219.84629%20213.960278,1215.58182%20C213.960278,1213.67437%20214.663898,1211.87352%20215.9159,1210.47335%20C216.268755,1210.07876%20216.661433,1209.72052%20217.087434,1209.40469%20C217.337142,1209.21954%20217.597933,1209.04924%20217.868372,1208.89481%20C218.16979,1208.7227%20218.55366,1208.82753%20218.725771,1209.12895%20C218.897882,1209.43036%20218.793058,1209.81423%20218.49164,1209.98634%20C218.264609,1210.11598%20218.045681,1210.25894%20217.836048,1210.41438%20C217.478472,1210.67948%20217.148907,1210.98015%20216.85287,1211.31119%20C215.804685,1212.48343%20215.217218,1213.98699%20215.217218,1215.58182%20C215.217218,1219.14841%20218.149754,1222.04306%20221.771264,1222.04306%20C225.392775,1222.04306%20228.32531,1219.14841%20228.32531,1215.58182%20C228.32531,1213.987%20227.73784,1212.48344%20226.689675,1211.31121%20C226.393622,1210.98015%20226.064056,1210.67948%20225.706453,1210.41436%20C225.496847,1210.25894%20225.27792,1210.11598%20225.050889,1209.98634%20C224.749471,1209.81423%20224.644647,1209.43036%20224.816758,1209.12895%20C224.988868,1208.82753%20225.372739,1208.7227%20225.674156,1208.89481%20Z%20M221.771264,1207.3%20C222.089434,1207.3%20222.352382,1207.53643%20222.393997,1207.84319%20L222.399735,1207.92847%20L222.399735,1215.48901%20C222.399735,1215.83611%20222.118359,1216.11748%20221.771264,1216.11748%20C221.453094,1216.11748%20221.190147,1215.88105%20221.148531,1215.57429%20L221.142794,1215.48901%20L221.142794,1207.92847%20C221.142794,1207.58138%20221.42417,1207.3%20221.771264,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",$="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%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(-103.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M115.0528,1208.89481%20C115.323239,1209.04924%20115.58403,1209.21954%20115.833711,1209.40467%20C116.259739,1209.72052%20116.652418,1210.07876%20117.00529,1210.47337%20C118.257271,1211.87353%20118.960894,1213.67438%20118.960894,1215.58182%20C118.960894,1219.84629%20115.461974,1223.3%20111.149908,1223.3%20C106.837841,1223.3%20103.338921,1219.84629%20103.338921,1215.58182%20C103.338921,1213.67437%20104.042541,1211.87352%20105.294544,1210.47335%20C105.647398,1210.07876%20106.040077,1209.72052%20106.466077,1209.40469%20C106.715786,1209.21954%20106.976577,1209.04924%20107.247016,1208.89481%20C107.548433,1208.7227%20107.932304,1208.82753%20108.104414,1209.12895%20C108.276525,1209.43036%20108.171701,1209.81423%20107.870284,1209.98634%20C107.643252,1210.11598%20107.424325,1210.25894%20107.214692,1210.41438%20C106.857116,1210.67948%20106.52755,1210.98015%20106.231514,1211.31119%20C105.183328,1212.48343%20104.595862,1213.98699%20104.595862,1215.58182%20C104.595862,1219.14841%20107.528398,1222.04306%20111.149908,1222.04306%20C114.771418,1222.04306%20117.703954,1219.14841%20117.703954,1215.58182%20C117.703954,1213.987%20117.116484,1212.48344%20116.068318,1211.31121%20C115.772265,1210.98015%20115.4427,1210.67948%20115.085097,1210.41436%20C114.875491,1210.25894%20114.656563,1210.11598%20114.429532,1209.98634%20C114.128115,1209.81423%20114.023291,1209.43036%20114.195401,1209.12895%20C114.367512,1208.82753%20114.751382,1208.7227%20115.0528,1208.89481%20Z%20M111.149908,1207.3%20C111.468078,1207.3%20111.731026,1207.53643%20111.772641,1207.84319%20L111.778378,1207.92847%20L111.778378,1215.48901%20C111.778378,1215.83611%20111.497002,1216.11748%20111.149908,1216.11748%20C110.831738,1216.11748%20110.56879,1215.88105%20110.527175,1215.57429%20L110.521438,1215.48901%20L110.521438,1207.92847%20C110.521438,1207.58138%20110.802813,1207.3%20111.149908,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",U={class:"font-semibold flex items-center justify-between"},Z={class:"mix-body"},W={class:"w-full flex flex-wrap content-start"},G=["onClick"],J={DEFAULT_ICON:q,ACTIVE_ICON:$,NAME_CN:"按键",NAME_EN:"Button",ORDER:2,PLATFORM:["pc","screen","mobile"]},K={bgColor:"#fff",titleColor:"#111",textColor:"#fff",titleSize:14,textSize:14,itemHeight:42,radiusSize:8,items:2,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4,method:{value:"alway",type:"select",label:"component.switch.method",options:v.CONTROL_OPTIONS}},V=[{command:"Control_01",name:"关机",color:"#c92309",code:"0"},{command:"Control_01",name:"开机",color:"#217406",code:"1"}],Y=["name","command","color","code"],Q=["mosaic"],X={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},e2={DEFAULT:J,OPTIONS:K,DATA:V,PARAMS:Y,SOURCE:Q,COMMON:X},t2=e.defineComponent(N(z({},e2),{__name:"ctrBtn",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""}},setup(l){const o=l,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),p=e.reactive({rule:"",code:"",command:""}),d=e.reactive({text:"",color:""}),f=e.ref(null),C=e.ref(!0);class u extends D.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#fff"),titleSize:this.getOptionValue("titleSize",16),textSize:this.getOptionValue("textSize",14),itemHeight:this.getOptionValue("itemHeight",42),radiusSize:this.getOptionValue("radiusSize",8),items:this.getOptionValue("items",2),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return S(this,null,function*(){w(u.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:V})}onPreview(){return S(this,null,function*(){yield w(u.prototype,this,"onPreview").call(this);const n=yield y.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){var g,x;if(!n)return;const{common:i}=this.props.conf,s=this.extractDataValue(n,i.statusFv);if(s!=null){const m=i.status.find(h=>String(h.code)===String(s));d.text=(g=m==null?void 0:m.text)!=null?g:"",d.color=(x=m==null?void 0:m.color)!=null?x:""}}}const r=new u(o,"ctrBtn");r.setupLifecycle();const c=r.getStyle(),E=e.computed(()=>R.generateTitleStyle(o.conf.options)),B=e.computed(()=>`${(100/c.value.items).toFixed(2)||100}%`),b=a=>!y.checkPermission(t.authorized,a.command),T=a=>{var s;if(b(a))return;const{options:n}=o.conf;let i=((s=n==null?void 0:n.method)==null?void 0:s.value)||"alway";p.rule=i,p.code=String(a.code),p.command=a.command,i==="alway"||i==="once"&&C.value?f.value.modal.visible=!0:_()},_=()=>{const{code:a,rule:n,command:i}=p,{common:s}=o.conf,g=JSON.parse(sessionStorage.getItem(v.ALIAS_MAPPING_KEY)||"{}");let m={block_mapping:"pusher",action:"publish_command",object_id:s.useAlias?g[s.object_alias]:s.object_id||o.uid,command:i,value:a,rule:n,control:t.password};v.api.platform(h=>{h.code===200&&(H.ElMessage.success(h.msg),f.value.modal.visible=!1,C.value=!1)},m)};return(a,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(E.value)},[e.createElementVNode("div",U,[e.createTextVNode(e.toDisplayString(l.conf.caption||l.conf.name)+" ",1),d.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"status-btn",style:e.normalizeStyle({backgroundColor:d.color,color:e.unref(c).textColor})},e.toDisplayString(d.text),5)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",Z,[e.createElementVNode("div",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.data,(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:s,style:e.normalizeStyle({width:B.value,height:`${e.unref(c).itemHeight}px`,fontSize:`${e.unref(c).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:b(i)}]),style:e.normalizeStyle({backgroundColor:i.color,color:e.unref(c).textColor}),onClick:g=>T(i)},e.toDisplayString(i.name),15,G)],4))),128))])]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4),e.createVNode(y._sfc_main,{ref_key:"controlRef",ref:f,onSubmit:_,password:t.password},null,8,["password"])],64))}})),o2=v._export_sfc(t2,[["__scopeId","data-v-8265c6e9"]]);exports.default=o2;
|
|
@@ -30,21 +30,21 @@ import { ElInput as X, ElButton as Z } from "element-plus/es";
|
|
|
30
30
|
import "element-plus/es/components/base/style/css";
|
|
31
31
|
import "element-plus/es/components/button/style/css";
|
|
32
32
|
import "element-plus/es/components/input/style/css";
|
|
33
|
-
import { defineComponent as ee, computed as
|
|
34
|
-
import { B as
|
|
35
|
-
import { A as
|
|
36
|
-
import { g as
|
|
37
|
-
import { _ as
|
|
33
|
+
import { defineComponent as ee, computed as O, reactive as te, ref as V, openBlock as z, createElementBlock as E, Fragment as B, createElementVNode as p, normalizeStyle as g, unref as f, toDisplayString as T, renderList as oe, createVNode as C, withCtx as le, createTextVNode as ae, renderSlot as se } from "vue";
|
|
34
|
+
import { B as ie } from "./BaseComponent-CQaDWNO0.js";
|
|
35
|
+
import { A as ne, a as L, _ as ce } from "./index-BZpYmpDy.js";
|
|
36
|
+
import { g as re } from "./titleStyle-BT5GlpAb.js";
|
|
37
|
+
import { _ as de, g as ue, c as me } from "./mix-control-modal-DzVLdO3S.js";
|
|
38
38
|
import { ElMessage as R } from "element-plus";
|
|
39
|
-
import { A as
|
|
40
|
-
const
|
|
41
|
-
DEFAULT_ICON:
|
|
42
|
-
ACTIVE_ICON:
|
|
39
|
+
import { A as pe, D as fe } from "./ele-ctrSet-icon-BtKGrCid.js";
|
|
40
|
+
const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
|
|
41
|
+
DEFAULT_ICON: fe,
|
|
42
|
+
ACTIVE_ICON: pe,
|
|
43
43
|
NAME_CN: "参数控件",
|
|
44
44
|
NAME_EN: "Parameter Control",
|
|
45
45
|
ORDER: 1,
|
|
46
46
|
PLATFORM: ["pc", "screen", "mobile"]
|
|
47
|
-
},
|
|
47
|
+
}, ge = {
|
|
48
48
|
bgColor: "#fff",
|
|
49
49
|
titleColor: "#111",
|
|
50
50
|
textColor: "#111",
|
|
@@ -67,11 +67,11 @@ const ve = { class: "font-[600]" }, be = { class: "submint" }, ge = {
|
|
|
67
67
|
label: "component.params.verifyMethod",
|
|
68
68
|
options: "CONTROL_OPTIONS"
|
|
69
69
|
}
|
|
70
|
-
},
|
|
70
|
+
}, ye = [{ command: "Control_01", name: "参数一", unit: "", fv: "" }], Se = ["name", "fv", "command", "unit"], _e = ["mosaic"], Oe = {
|
|
71
71
|
useAlias: !1,
|
|
72
72
|
multiObject: !1,
|
|
73
73
|
hideMultiObject: !0
|
|
74
|
-
},
|
|
74
|
+
}, Ce = { DEFAULT: be, OPTIONS: ge, DATA: ye, PARAMS: Se, SOURCE: _e, COMMON: Oe }, xe = /* @__PURE__ */ ee(I(P({}, Ce), {
|
|
75
75
|
__name: "ctrSet",
|
|
76
76
|
props: {
|
|
77
77
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -83,7 +83,7 @@ const ve = { class: "font-[600]" }, be = { class: "submint" }, ge = {
|
|
|
83
83
|
},
|
|
84
84
|
setup(l) {
|
|
85
85
|
const e = l, o = "--";
|
|
86
|
-
class h extends
|
|
86
|
+
class h extends ie {
|
|
87
87
|
extractStyles() {
|
|
88
88
|
return {
|
|
89
89
|
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
@@ -104,7 +104,7 @@ const ve = { class: "font-[600]" }, be = { class: "submint" }, ge = {
|
|
|
104
104
|
onPreview() {
|
|
105
105
|
return A(this, null, function* () {
|
|
106
106
|
yield j(h.prototype, this, "onPreview").call(this);
|
|
107
|
-
const s = yield
|
|
107
|
+
const s = yield ue(this.props);
|
|
108
108
|
c.authorized = s.authorized, c.password = s.password;
|
|
109
109
|
});
|
|
110
110
|
}
|
|
@@ -119,14 +119,14 @@ const ve = { class: "font-[600]" }, be = { class: "submint" }, ge = {
|
|
|
119
119
|
}
|
|
120
120
|
const v = new h(e, "ctrSet");
|
|
121
121
|
v.setupLifecycle();
|
|
122
|
-
const r = v.getStyle(), x =
|
|
122
|
+
const r = v.getStyle(), x = O(() => re(e.conf.options)), c = te({
|
|
123
123
|
authorized: { type: "black_list", list: [] },
|
|
124
124
|
password: ""
|
|
125
|
-
}), i =
|
|
125
|
+
}), i = V([]), d = V(null), w = V(!0), $ = O(() => {
|
|
126
126
|
var t;
|
|
127
127
|
return ((t = e.conf.data) == null ? void 0 : t.length) === 1;
|
|
128
|
-
}), U = (t) => !
|
|
129
|
-
|
|
128
|
+
}), U = (t) => !me(c.authorized, t.command), N = O(() => i.value.filter((t) => t).length === 0);
|
|
129
|
+
O(() => {
|
|
130
130
|
var s, a;
|
|
131
131
|
const { data: t } = e.conf;
|
|
132
132
|
return (((s = t == null ? void 0 : t[0]) == null ? void 0 : s.value) || o) + " " + (((a = t == null ? void 0 : t[0]) == null ? void 0 : a.unit) || "");
|
|
@@ -136,10 +136,10 @@ const ve = { class: "font-[600]" }, be = { class: "submint" }, ge = {
|
|
|
136
136
|
const { options: t } = e.conf, s = ((a = t == null ? void 0 : t.method) == null ? void 0 : a.value) || "alway";
|
|
137
137
|
s === "alway" || s === "once" && w.value ? d.value.modal.visible = !0 : k();
|
|
138
138
|
}, k = () => {
|
|
139
|
-
var m,
|
|
140
|
-
const { common: t, data: s, options: a } = e.conf, u = JSON.parse(sessionStorage.getItem(
|
|
139
|
+
var m, y;
|
|
140
|
+
const { common: t, data: s, options: a } = e.conf, u = JSON.parse(sessionStorage.getItem(ne) || "{}") || {}, n = t.useAlias ? u[t.object_alias] : t.object_id || e.uid;
|
|
141
141
|
if ($.value) {
|
|
142
|
-
const
|
|
142
|
+
const S = {
|
|
143
143
|
block_mapping: "pusher",
|
|
144
144
|
action: "publish_command",
|
|
145
145
|
object_id: n,
|
|
@@ -148,78 +148,79 @@ const ve = { class: "font-[600]" }, be = { class: "submint" }, ge = {
|
|
|
148
148
|
control: c.password,
|
|
149
149
|
rule: ((m = a == null ? void 0 : a.method) == null ? void 0 : m.value) || "alway"
|
|
150
150
|
};
|
|
151
|
-
L.platform((
|
|
152
|
-
|
|
153
|
-
},
|
|
151
|
+
L.platform((_) => {
|
|
152
|
+
_.code === 200 && (R.success(_.msg), d.value.modal.visible = !1, w.value = !1);
|
|
153
|
+
}, S);
|
|
154
154
|
} else {
|
|
155
|
-
const
|
|
155
|
+
const S = [];
|
|
156
156
|
i.value.forEach((b, W) => {
|
|
157
|
-
b &&
|
|
157
|
+
b && S.push({ object_id: n, command: s[W].command, value: b });
|
|
158
158
|
});
|
|
159
|
-
const
|
|
159
|
+
const _ = {
|
|
160
160
|
block_mapping: "pusher",
|
|
161
161
|
action: "publish_command_plus",
|
|
162
|
-
publishes:
|
|
162
|
+
publishes: S,
|
|
163
163
|
control: c.password,
|
|
164
|
-
rule: ((
|
|
164
|
+
rule: ((y = a == null ? void 0 : a.method) == null ? void 0 : y.value) || "alway"
|
|
165
165
|
};
|
|
166
166
|
L.platform((b) => {
|
|
167
167
|
b.code === 200 && (R.success(b.msg), d.value.modal.visible = !1, w.value = !1);
|
|
168
|
-
},
|
|
168
|
+
}, _);
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
return (t, s) => {
|
|
172
172
|
const a = X, u = Z;
|
|
173
|
-
return
|
|
173
|
+
return z(), E(B, null, [
|
|
174
174
|
p("div", {
|
|
175
175
|
class: "mix-component",
|
|
176
|
-
style:
|
|
176
|
+
style: g({ backgroundColor: f(r).bgColor, borderRadius: `${f(r).radiusSize}px` })
|
|
177
177
|
}, [
|
|
178
178
|
p("div", {
|
|
179
179
|
class: "mix-title flex-1",
|
|
180
|
-
style:
|
|
180
|
+
style: g(x.value)
|
|
181
181
|
}, [
|
|
182
|
-
p("div",
|
|
182
|
+
p("div", he, T(l.conf.caption || l.conf.name), 1)
|
|
183
183
|
], 4),
|
|
184
184
|
p("div", {
|
|
185
|
-
class:
|
|
185
|
+
class: "mix-body",
|
|
186
|
+
style: g({ height: f(r).isHideTitle ? "100%" : "calc(100% - 42px)" })
|
|
186
187
|
}, [
|
|
187
|
-
(
|
|
188
|
+
(z(!0), E(B, null, oe(l.conf.data, (n, m) => (z(), E("div", {
|
|
188
189
|
class: "set-item",
|
|
189
190
|
key: m,
|
|
190
|
-
style:
|
|
191
|
+
style: g({ fontSize: `${f(r).textSize}px`, color: f(r).textColor })
|
|
191
192
|
}, [
|
|
192
193
|
p("div", {
|
|
193
194
|
class: "item-name",
|
|
194
|
-
style:
|
|
195
|
+
style: g({ width: `${f(r).labelWidth}px` })
|
|
195
196
|
}, T(n.name), 5),
|
|
196
|
-
|
|
197
|
+
C(a, {
|
|
197
198
|
modelValue: i.value[m],
|
|
198
|
-
"onUpdate:modelValue": (
|
|
199
|
+
"onUpdate:modelValue": (y) => i.value[m] = y,
|
|
199
200
|
disabled: U(n)
|
|
200
201
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"]),
|
|
201
|
-
|
|
202
|
+
C(a, {
|
|
202
203
|
value: n.value ? `${n.value} ${n.unit}` : o,
|
|
203
204
|
style: { width: "100px", "margin-left": "12px" },
|
|
204
205
|
readonly: ""
|
|
205
206
|
}, null, 8, ["value"])
|
|
206
207
|
], 4))), 128)),
|
|
207
|
-
p("div",
|
|
208
|
-
|
|
208
|
+
p("div", ve, [
|
|
209
|
+
C(u, {
|
|
209
210
|
type: N.value ? "default" : "primary",
|
|
210
211
|
onClick: F,
|
|
211
212
|
disabled: N.value
|
|
212
213
|
}, {
|
|
213
|
-
default:
|
|
214
|
-
|
|
214
|
+
default: le(() => [
|
|
215
|
+
ae(T(t.$t("common.confirm")), 1)
|
|
215
216
|
]),
|
|
216
217
|
_: 1
|
|
217
218
|
}, 8, ["type", "disabled"])
|
|
218
219
|
])
|
|
219
|
-
],
|
|
220
|
-
|
|
220
|
+
], 4),
|
|
221
|
+
se(t.$slots, "default", {}, void 0, !0)
|
|
221
222
|
], 4),
|
|
222
|
-
|
|
223
|
+
C(de, {
|
|
223
224
|
ref_key: "controlRef",
|
|
224
225
|
ref: d,
|
|
225
226
|
onSubmit: k,
|
|
@@ -228,7 +229,7 @@ const ve = { class: "font-[600]" }, be = { class: "submint" }, ge = {
|
|
|
228
229
|
], 64);
|
|
229
230
|
};
|
|
230
231
|
}
|
|
231
|
-
})),
|
|
232
|
+
})), je = /* @__PURE__ */ ce(xe, [["__scopeId", "data-v-7015a5e0"]]);
|
|
232
233
|
export {
|
|
233
|
-
|
|
234
|
+
je as default
|
|
234
235
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var j=Object.defineProperty,L=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols,F=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,W=Reflect.get;var w=(a,t,o)=>t in a?j(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,z=(a,t)=>{for(var o in t||(t={}))U.call(t,o)&&w(a,o,t[o]);if(x)for(var o of x(t))$.call(t,o)&&w(a,o,t[o]);return a},A=(a,t)=>L(a,R(t));var T=(a,t,o)=>W(F(a),o,t);var O=(a,t,o)=>new Promise((f,h)=>{var u=n=>{try{c(o.next(n))}catch(d){h(d)}},_=n=>{try{c(o.throw(n))}catch(d){h(d)}},c=n=>n.done?f(n.value):Promise.resolve(n.value).then(u,_);c((o=o.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=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"),H=require("./BaseComponent-
|
|
1
|
+
"use strict";var j=Object.defineProperty,L=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols,F=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,W=Reflect.get;var w=(a,t,o)=>t in a?j(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,z=(a,t)=>{for(var o in t||(t={}))U.call(t,o)&&w(a,o,t[o]);if(x)for(var o of x(t))$.call(t,o)&&w(a,o,t[o]);return a},A=(a,t)=>L(a,R(t));var T=(a,t,o)=>W(F(a),o,t);var O=(a,t,o)=>new Promise((f,h)=>{var u=n=>{try{c(o.next(n))}catch(d){h(d)}},_=n=>{try{c(o.throw(n))}catch(d){h(d)}},c=n=>n.done?f(n.value):Promise.resolve(n.value).then(u,_);c((o=o.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=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"),H=require("./BaseComponent-BmhMoM4H.cjs"),b=require("./index-77aUdspY.cjs"),G=require("./titleStyle-NSnz6cUg.cjs"),E=require("./mix-control-modal-I6DqPm04.cjs"),I=require("element-plus"),M=require("./ele-ctrSet-icon-DCsPO0tL.cjs"),J={class:"font-[600]"},K={class:"submint"},Y={DEFAULT_ICON:M.DEFAULT_ICON,ACTIVE_ICON:M.ACTIVE_ICON,NAME_CN:"参数控件",NAME_EN:"Parameter Control",ORDER:1,PLATFORM:["pc","screen","mobile"]},Q={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,labelWidth:100,radiusSize:8,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4,method:{value:"alway",type:"select",label:"component.params.verifyMethod",options:"CONTROL_OPTIONS"}},X=[{command:"Control_01",name:"参数一",unit:"",fv:""}],Z=["name","fv","command","unit"],ee=["mosaic"],te={useAlias:!1,multiObject:!1,hideMultiObject:!0},le={DEFAULT:Y,OPTIONS:Q,DATA:X,PARAMS:Z,SOURCE:ee,COMMON:te},oe=e.defineComponent(A(z({},le),{__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:()=>({})}},setup(a){const t=a,o="--";class f extends H.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(){return O(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme()})}onPreview(){return O(this,null,function*(){yield T(f.prototype,this,"onPreview").call(this);const s=yield E.getAuthorized(this.props);c.authorized=s.authorized,c.password=s.password})}setSocketData(s){if(!s)return;const{data:i}=this.props.conf;i.forEach(m=>{const r=this.extractDataValue(s,m.fv);m.value=r!=null?r:o})}}const h=new f(t,"ctrSet");h.setupLifecycle();const u=h.getStyle(),_=e.computed(()=>G.generateTitleStyle(t.conf.options)),c=e.reactive({authorized:{type:"black_list",list:[]},password:""}),n=e.ref([]),d=e.ref(null),C=e.ref(!0),D=e.computed(()=>{var l;return((l=t.conf.data)==null?void 0:l.length)===1}),P=l=>!E.checkPermission(c.authorized,l.command),V=e.computed(()=>n.value.filter(l=>l).length===0);e.computed(()=>{var s,i;const{data:l}=t.conf;return(((s=l==null?void 0:l[0])==null?void 0:s.value)||o)+" "+(((i=l==null?void 0:l[0])==null?void 0:i.unit)||"")});const B=()=>{var i;const{options:l}=t.conf,s=((i=l==null?void 0:l.method)==null?void 0:i.value)||"alway";s==="alway"||s==="once"&&C.value?d.value.modal.visible=!0:N()},N=()=>{var p,y;const{common:l,data:s,options:i}=t.conf,m=JSON.parse(sessionStorage.getItem(b.ALIAS_MAPPING_KEY)||"{}")||{},r=l.useAlias?m[l.object_alias]:l.object_id||t.uid;if(D.value){const S={block_mapping:"pusher",action:"publish_command",object_id:r,command:s[0].command,value:n.value[0],control:c.password,rule:((p=i==null?void 0:i.method)==null?void 0:p.value)||"alway"};b.api.platform(g=>{g.code===200&&(I.ElMessage.success(g.msg),d.value.modal.visible=!1,C.value=!1)},S)}else{const S=[];n.value.forEach((v,q)=>{v&&S.push({object_id:r,command:s[q].command,value:v})});const g={block_mapping:"pusher",action:"publish_command_plus",publishes:S,control:c.password,rule:((y=i==null?void 0:i.method)==null?void 0:y.value)||"alway"};b.api.platform(v=>{v.code===200&&(I.ElMessage.success(v.msg),d.value.modal.visible=!1,C.value=!1)},g)}};return(l,s)=>{const i=k.ElInput,m=k.ElButton;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title flex-1",style:e.normalizeStyle(_.value)},[e.createElementVNode("div",J,e.toDisplayString(a.conf.caption||a.conf.name),1)],4),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(u).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.conf.data,(r,p)=>(e.openBlock(),e.createElementBlock("div",{class:"set-item",key:p,style:e.normalizeStyle({fontSize:`${e.unref(u).textSize}px`,color:e.unref(u).textColor})},[e.createElementVNode("div",{class:"item-name",style:e.normalizeStyle({width:`${e.unref(u).labelWidth}px`})},e.toDisplayString(r.name),5),e.createVNode(i,{modelValue:n.value[p],"onUpdate:modelValue":y=>n.value[p]=y,disabled:P(r)},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createVNode(i,{value:r.value?`${r.value} ${r.unit}`:o,style:{width:"100px","margin-left":"12px"},readonly:""},null,8,["value"])],4))),128)),e.createElementVNode("div",K,[e.createVNode(m,{type:V.value?"default":"primary",onClick:B,disabled:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])],4),e.renderSlot(l.$slots,"default",{},void 0,!0)],4),e.createVNode(E._sfc_main,{ref_key:"controlRef",ref:d,onSubmit:N,password:c.password},null,8,["password"])],64)}}})),ae=b._export_sfc(oe,[["__scopeId","data-v-7015a5e0"]]);exports.default=ae;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var V=Object.defineProperty,A=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols,T=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,P=Reflect.get;var k=(i,o,t)=>o in i?V(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t,z=(i,o)=>{for(var t in o||(o={}))F.call(o,t)&&k(i,t,o[t]);if(b)for(var t of b(o))B.call(o,t)&&k(i,t,o[t]);return i},O=(i,o)=>A(i,M(o));var C=(i,o,t)=>P(T(i),t,o);var w=(i,o,t)=>new Promise((d,u)=>{var f=s=>{try{m(t.next(s))}catch(g){u(g)}},p=s=>{try{m(t.throw(s))}catch(g){u(g)}},m=s=>s.done?d(s.value):Promise.resolve(s.value).then(f,p);m((t=t.apply(i,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-
|
|
1
|
+
"use strict";var V=Object.defineProperty,A=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols,T=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,P=Reflect.get;var k=(i,o,t)=>o in i?V(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t,z=(i,o)=>{for(var t in o||(o={}))F.call(o,t)&&k(i,t,o[t]);if(b)for(var t of b(o))B.call(o,t)&&k(i,t,o[t]);return i},O=(i,o)=>A(i,M(o));var C=(i,o,t)=>P(T(i),t,o);var w=(i,o,t)=>new Promise((d,u)=>{var f=s=>{try{m(t.next(s))}catch(g){u(g)}},p=s=>{try{m(t.throw(s))}catch(g){u(g)}},m=s=>s.done?d(s.value):Promise.resolve(s.value).then(f,p);m((t=t.apply(i,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-BmhMoM4H.cjs"),h=require("./index-77aUdspY.cjs"),D=require("./titleStyle-NSnz6cUg.cjs"),S=require("./mix-control-modal-I6DqPm04.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",H={class:"mix-body"},q={class:"switch-wrap"},U={class:"name"},$=["onClick"],Z=["onClick"],W="--",G={DEFAULT_ICON:j,ACTIVE_ICON:R,NAME_CN:"开关",NAME_EN:"Switch",ORDER:1,PLATFORM:["pc","screen","mobile"]},J={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,itemHeight:32,radiusSize:8,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4,method:{value:"alway",type:"select",label:"component.switch.method",options:h.CONTROL_OPTIONS}},L=[{command:"Control_01",status_name:"状态",status_fv:"",start:"",stop:""}],K=["status_fv","status_name","command","start","stop"],Y=["mosaic"],Q={useAlias:!1,multiObject:!1,hideMultiObject:!0},X={DEFAULT:G,OPTIONS:J,DATA:L,PARAMS:K,SOURCE:Y,COMMON:Q},e1=e.defineComponent(O(z({},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:""}},setup(i){const o=i,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),d=e.reactive({mode:"",item:{},rule:""}),u=e.ref(null),f=e.ref(!0);class p extends I.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(){return w(this,null,function*(){C(p.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:L})}onPreview(){return w(this,null,function*(){yield C(p.prototype,this,"onPreview").call(this);const n=yield S.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){if(!n)return;const{data:l}=this.props.conf;l.forEach(a=>{const r=this.extractDataValue(n,a.status_fv);a.value=r!=null?r:W})}}const m=new p(o,"ctrSwitch");m.setupLifecycle();const s=m.getStyle(),g=e.computed(()=>D.generateTitleStyle(o.conf.options)),v=c=>!S.checkPermission(t.authorized,c.command),_=(c,n)=>{var r;if(v(n)){E.ElMessage.warning("无权限操作");return}const{options:l}=o.conf;let a=((r=l==null?void 0:l.method)==null?void 0:r.value)||"alway";d.mode=c,d.item=n,d.rule=a,a==="alway"||a==="once"&&f.value?u.value.modal.visible=!0:x()},x=()=>{const{mode:c,item:n,rule:l}=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:l,control:t.password};h.api.platform(y=>{y.code===200&&(E.ElMessage.success(y.msg),u.value.modal.visible=!1,f.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(s).bgColor,borderRadius:`${e.unref(s).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(g.value)},e.toDisplayString(i.conf.caption||i.conf.name),5),e.createElementVNode("div",H,[e.createElementVNode("div",q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.conf.data,(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:"switch-item",key:a,style:e.normalizeStyle({height:`${e.unref(s).itemHeight}px`,backgroundColor:e.unref(s).bgColor,fontSize:`${e.unref(s).textSize}px`,color:e.unref(s).textColor})},[e.createElementVNode("div",U,e.toDisplayString(l.status_name),1),e.createElementVNode("div",{class:e.normalizeClass(["circle-on",{"active-on":String(l.value)&&String(l.value)===l.start}]),style:e.normalizeStyle({cursor:v(l)?"not-allowed":"pointer"}),onClick:r=>_("start",l)},null,14,$),e.createElementVNode("div",{class:e.normalizeClass(["circle-off",{"active-off":String(l.value)&&String(l.value)===l.stop}]),style:e.normalizeStyle({cursor:v(l)?"not-allowed":"pointer"}),onClick:r=>_("stop",l)},null,14,Z)],4))),128))])]),e.renderSlot(c.$slots,"default",{},void 0,!0)],4),e.createVNode(S._sfc_main,{ref_key:"controlRef",ref:u,onSubmit:x,password:t.password},null,8,["password"])],64))}})),t1=h._export_sfc(e1,[["__scopeId","data-v-8f27e70f"]]);exports.default=t1;
|
|
@@ -28,10 +28,10 @@ var _ = (s, e, t) => new Promise((d, u) => {
|
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as Z, reactive as M, ref as T, computed as W, openBlock as S, createElementBlock as x, Fragment as E, createElementVNode as c, normalizeStyle as h, unref as g, toDisplayString as V, renderList as G, normalizeClass as F, renderSlot as J, createVNode as K } from "vue";
|
|
30
30
|
import "html2canvas";
|
|
31
|
-
import { B as Y } from "./BaseComponent-
|
|
32
|
-
import { V as q, A as Q, a as X, _ as t1 } from "./index-
|
|
31
|
+
import { B as Y } from "./BaseComponent-CQaDWNO0.js";
|
|
32
|
+
import { V as q, A as Q, a as X, _ as t1 } from "./index-BZpYmpDy.js";
|
|
33
33
|
import { g as e1 } from "./titleStyle-BT5GlpAb.js";
|
|
34
|
-
import { _ as o1, g as s1, c as i1 } from "./mix-control-modal-
|
|
34
|
+
import { _ as o1, g as s1, c as i1 } from "./mix-control-modal-DzVLdO3S.js";
|
|
35
35
|
import { ElMessage as N } from "element-plus";
|
|
36
36
|
const l1 = "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", a1 = "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", n1 = { class: "mix-body" }, r1 = { class: "switch-wrap" }, c1 = { class: "name" }, d1 = ["onClick"], u1 = ["onClick"], p1 = "--", f1 = {
|
|
37
37
|
DEFAULT_ICON: l1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var he=Object.defineProperty,Ce=Object.defineProperties;var _e=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var Be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var H=(v,d,c)=>d in v?he(v,d,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[d]=c,W=(v,d)=>{for(var c in d||(d={}))Be.call(d,c)&&H(v,c,d[c]);if(G)for(var c of G(d))Ne.call(d,c)&&H(v,c,d[c]);return v},Q=(v,d)=>Ce(v,_e(d));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/dialog/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const e=require("vue");require("html2canvas");const we=require("./BaseComponent-CaCkjmmb.cjs"),Ee=require("./index-BzWbqJIl.cjs"),Z=require("./ele-lin-icon-Dke_1AmT.cjs"),xe={key:0,class:"edit-placeholder"},De={class:"mgmt-header"},Te={class:"breadcrumb"},Se={class:"crumb-active"},Ae={class:"header-actions"},ze={class:"mgmt-tabs"},Me=["onClick"],Ue={class:"mgmt-filter-bar"},Ie={class:"filter-label"},Fe={class:"table-area"},Oe={class:"pagination-bar"},Le={class:"modal-form"},qe={class:"form-label"},Pe={class:"dialog-footer"},Re={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"基础数据管理",NAME_EN:"Data Management",ORDER:14,PLATFORM:["pc","screen"]},Ye={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},je=[],Xe=["object_id","name","fv","fvDeviceName"],$e=["mosaic"],Ge={useAlias:!1,multiObject:!1,source:"mosaic"},He={DEFAULT:Re,OPTIONS:Ye,DATA:je,PARAMS:Xe,SOURCE:$e,COMMON:Ge},We=e.defineComponent(Q(W({},He),{__name:"dataManagement",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(v){const d=v,c=["时间","安装日期","下载时间","采集时间","设置日期"],E=["北帮","南帮","东帮","西帮","中央区"],M=["陈晓晓","王大力","李工程师","张三"],F=["全部权限","仅数据查询权限","人工录入权限","基础数据管理权限"],O=["国产雷达","进口雷达","GNSS","锚索应力计","土压力计","水位计","流量计","裂缝计","震动计"],L={partition:{title:"分区管理",filters:[{label:"分区名称",key:"名称",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]}],columns:["时间","人员","名称","坐标"],addFields:["时间","人员","名称","坐标"]},device:{title:"设备管理",filters:[{label:"设备编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]},{label:"设备状态",key:"状态",type:"select",options:["全部","正常","离线"]},{label:"设备类型",key:"类型",type:"select",options:["全部",...O]}],columns:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线"],addFields:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线","状态"]},radar:{title:"雷达扫描区域管理",filters:[{label:"区域编号",key:"编号",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]},{label:"扫描区域",key:"扫描区域",type:"select",options:["全部",...E]}],columns:["时间","人员","编号","文件名称","圈定位置","扫描区域"],addFields:["时间","人员","编号","文件名称","圈定位置","扫描区域"]},virtual_point:{title:"雷达虚拟设置管理",filters:[{label:"点位编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]}],columns:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"],addFields:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"]},satellite:{title:"卫星数据管理",filters:[{label:"数据编号",key:"数据编号",type:"input"},{label:"卫星类型",key:"卫星类型",type:"input"}],columns:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"],addFields:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"]},map_info:{title:"地图信息管理",filters:[{label:"数据类型",key:"数据类型",type:"select",options:["全部","正射影像","倾斜摄影"]},{label:"采集时间",key:"采集时间",type:"datetime-local"}],columns:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"],addFields:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"]},permission:{title:"权限管理",filters:[{label:"账号名称",key:"用户名",type:"input"},{label:"角色权限",key:"角色权限",type:"select",options:["全部",...F]},{label:"授权状态",key:"授权状态",type:"select",options:["全部","已授权","未授权"]}],columns:["用户ID","用户名","角色权限","授权状态"],addFields:["用户ID","用户名","角色权限","授权状态"]}},J=Object.entries(L).map(([a,l])=>({key:a,title:l.title})),K=()=>({partition:[{时间:"2026-01-19T20:00",人员:"陈晓晓",名称:"北帮一区",坐标:"X:1200, Y:300"}],device:[{类型:"GNSS",编号:"G001",型号:"T9-Pro",安装日期:"2025-12-01T10:00",厂商:"中海达",安装位置:"E:103.5, N:30.5",所属区域:"南帮",所属监测线:"S1",状态:"正常"}],radar:[{时间:"2026-01-15T09:00",人员:"陈晓晓",编号:"RAD-AREA-001",文件名称:"20260115_东帮1区.las",圈定位置:"X:2450.55, Y:1300.12, M:1326.56, N:1256.09......",扫描区域:"东帮"},{时间:"2026-01-17T14:30",人员:"王大力",编号:"RAD-AREA-002",文件名称:"20260117_西帮1区.las",圈定位置:"X:2100.20, Y:1150.45, M:1326.56, N:1256.09......",扫描区域:"西帮"}],virtual_point:[{类型:"虚拟点",编号:"VP-001",设置日期:"2026-01-21T09:30",所属雷达:"RAD-AREA-001",设置位置:"X:500, Y:600, Z:200",所属区域:"北帮",所属监测线:"X1-1",状态:"正常"},{类型:"虚拟面域",编号:"VA-205",设置日期:"2026-01-22T14:15",所属雷达:"RAD-AREA-002",设置位置:"X:1200, Y:800 (覆盖范围)",所属区域:"南帮",所属监测线:"无",状态:"正常"}],satellite:[{ID:"SAT-001",数据名称:"区域A遥感影像",数据编号:"SAT-2023-001",下载时间:"2023-06-10T09:30","数据大小(MB)":"256.5",卫星类型:"高分七号"},{ID:"SAT-002",数据名称:"区域B地形数据",数据编号:"SAT-2023-002",下载时间:"2023-06-15T14:20","数据大小(MB)":"420.3",卫星类型:"资源三号"}],map_info:[{ID:"MAP-001",数据名称:"区域A正射影像",数据编号:"MAP-2023-001",数据类型:"正射影像",采集时间:"2023-05-20T08:00","覆盖面积(km²)":"5.2"},{ID:"MAP-002",数据名称:"区域B倾斜摄影",数据编号:"MAP-2023-002",数据类型:"倾斜摄影",采集时间:"2023-05-25T10:15","覆盖面积(km²)":"3.8"}],permission:[{用户ID:"admin",用户名:"系统管理员",角色权限:"超级管理员",授权状态:"已授权"}]});class ee extends we.BaseComponent{extractStyles(){var m,w,_,C,A,z;const l=(m=this.props.conf)==null?void 0:m.options,s=((w=l==null?void 0:l.linkChannel)==null?void 0:w.value)||"gnss",r=((_=l==null?void 0:l.customChannel)==null?void 0:_.value)||"";return{bgColor:((C=l==null?void 0:l.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((A=l==null?void 0:l.textColor)==null?void 0:A.value)||"#333333",fontSize:((z=l==null?void 0:l.fontSize)==null?void 0:z.value)||13,linkChannel:s==="custom"&&r?r:s}}onLinkEvent(l){}}const x=new ee(d,"dataManagement");x.setupLifecycle();const D=x.getStyle(),i=e.ref("partition"),y=e.computed(()=>L[i.value]),le=e.computed(()=>y.value.columns),k=e.ref({}),p=e.reactive({}),f=e.ref(null),V=e.ref([]),g=e.ref(1),T=10,U=e.ref(null),h=e.ref(!1),u=e.ref("add"),B=e.ref(-1),n=e.reactive({}),N=e.ref(!1),S=e.ref(!1),te=e.computed(()=>u.value==="add"?"新增"+y.value.title:u.value==="edit"?"编辑数据":"详情查看"),ae=e.computed(()=>{var a,l;return(l=(a=f.value)!=null?a:k.value[i.value])!=null?l:[]}),q=e.computed(()=>ae.value),P=e.computed(()=>{const a=(g.value-1)*T;return q.value.slice(a,a+T)}),oe=a=>c.includes(a),R=()=>{const a=new Date,l=a.getTimezoneOffset()*6e4;return new Date(a.getTime()-l).toISOString().slice(0,16)},ne=(a,l)=>a?c.includes(l)?a.replace("T"," "):a:"--",se=a=>["圈定位置","安装位置","设置位置"].includes(a)?200:["文件名称","数据名称"].includes(a)||c.includes(a)?160:110,re=a=>["坐标","安装位置","圈定位置","设置位置"].includes(a)?`请输入${a},每个坐标用,隔开`:`请输入${a}`,Y=a=>{const l=P.value[a];return k.value[i.value].indexOf(l)},ie=a=>{i.value=a,V.value=[],f.value=null,g.value=1,Object.keys(p).forEach(l=>delete p[l])},ue=()=>{const a=k.value[i.value];f.value=a.filter(l=>Object.keys(p).every(s=>{const r=p[s];return!r||r==="全部"?!0:l[s]?String(l[s]).toLowerCase().includes(r.toLowerCase()):!1})),V.value=[],g.value=1},de=()=>{Object.keys(p).forEach(a=>delete p[a]),f.value=null,g.value=1},ce=a=>{V.value=a},me=()=>{if(!V.value.length)return;const a=new Set(V.value);k.value[i.value]=k.value[i.value].filter(l=>!a.has(l)),f.value=null,V.value=[]},I=a=>{if(Object.keys(n).forEach(l=>delete n[l]),a!==void 0&&a>=0){const l=k.value[i.value][a];y.value.addFields.forEach(s=>{n[s]=l[s]||""})}else y.value.addFields.forEach(l=>{n[l]=c.includes(l)?R():""})},pe=()=>{u.value="add",B.value=-1,I(),N.value=!1,S.value=!1,h.value=!0},ve=a=>{u.value="edit",B.value=a,I(a),j(),h.value=!0},ke=a=>{u.value="view",B.value=a,I(a),j(),h.value=!0},j=()=>{i.value==="device"&&X(n.类型),i.value==="virtual_point"&&$(n.类型)},X=a=>{N.value=!!a&&a.includes("雷达"),N.value&&(n.所属监测线="")},$=a=>{S.value=a==="虚拟面域",S.value&&(n.所属监测线="无")},ye=()=>{const a={};y.value.addFields.forEach(l=>{a[l]=n[l]||""}),B.value>=0?k.value[i.value][B.value]=a:k.value[i.value].push(a),f.value=null,h.value=!1},Ve=()=>{var a;(a=U.value)==null||a.click()},be=()=>{var a;(a=U.value)==null||a.click()},fe=a=>{var r;if(!((r=a.target.files)==null?void 0:r[0]))return;const s={};y.value.addFields.forEach(m=>{s[m]=c.includes(m)?R():"导入-"+m}),k.value[i.value].push(s),f.value=null,a.target.value=""};return e.onMounted(()=>{x.init(),d.mode!=="edit"&&(k.value=K())}),e.onUnmounted(()=>{x.cleanup()}),(a,l)=>{const s=b.ElButton,r=b.ElOption,m=b.ElSelect,w=b.ElDatePicker,_=b.ElInput,C=b.ElTableColumn,A=b.ElTable,z=b.ElPagination,ge=b.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"data-mgmt",style:e.normalizeStyle({backgroundColor:e.unref(D).bgColor,color:e.unref(D).textColor,fontSize:e.unref(D).fontSize+"px"})},[d.mode==="edit"?(e.openBlock(),e.createElementBlock("div",xe,[...l[3]||(l[3]=[e.createElementVNode("div",{class:"placeholder-icon"},"📋",-1),e.createElementVNode("div",{class:"placeholder-title"},"基础数据管理",-1),e.createElementVNode("div",{class:"placeholder-desc"},"包含7个管理模块:分区 / 设备 / 雷达扫描区域 / 雷达虚拟设置 / 卫星数据 / 地图信息 / 权限",-1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",De,[e.createElementVNode("div",Te,[l[4]||(l[4]=e.createTextVNode("基础数据管理 / ",-1)),e.createElementVNode("span",Se,e.toDisplayString(y.value.title),1)]),e.createElementVNode("div",Ae,[e.createVNode(s,{size:"small",type:"primary",onClick:pe},{default:e.withCtx(()=>[...l[5]||(l[5]=[e.createTextVNode("+ 新增",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"success",onClick:Ve},{default:e.withCtx(()=>[...l[6]||(l[6]=[e.createTextVNode("📥 导入数据",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"danger",disabled:!V.value.length,onClick:me},{default:e.withCtx(()=>[e.createTextVNode(" 🗑️ 批量删除"+e.toDisplayString(V.value.length?` (${V.value.length})`:""),1)]),_:1},8,["disabled"]),e.createElementVNode("input",{ref_key:"importInput",ref:U,type:"file",style:{display:"none"},onChange:fe},null,544)])]),e.createElementVNode("div",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(J),t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:e.normalizeClass(["tab-item",{active:i.value===t.key}]),onClick:o=>ie(t.key)},e.toDisplayString(t.title),11,Me))),128))]),e.createElementVNode("div",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.filters,t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:"filter-group"},[e.createElementVNode("span",Ie,e.toDisplayString(t.label)+":",1),t.type==="select"?(e.openBlock(),e.createBlock(m,{key:0,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"全部",clearable:"",style:{width:"140px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((t.options||[]).filter(o=>o!=="全部"),o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):t.type==="datetime-local"?(e.openBlock(),e.createBlock(w,{key:1,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,type:"datetime",size:"small",placeholder:"选择时间",style:{width:"200px"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue"])):(e.openBlock(),e.createBlock(_,{key:2,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"输入搜索...",style:{width:"140px"},clearable:""},null,8,["modelValue","onUpdate:modelValue"]))]))),128)),e.createVNode(s,{size:"small",type:"primary",onClick:ue},{default:e.withCtx(()=>[...l[7]||(l[7]=[e.createTextVNode("查询",-1)])]),_:1}),e.createVNode(s,{size:"small",onClick:de},{default:e.withCtx(()=>[...l[8]||(l[8]=[e.createTextVNode("重置",-1)])]),_:1})]),e.createElementVNode("div",Fe,[e.createVNode(A,{data:P.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},onSelectionChange:ce},{default:e.withCtx(()=>[e.createVNode(C,{type:"selection",width:"40"}),e.createVNode(C,{label:"序号",width:"60",align:"center"},{default:e.withCtx(({$index:t})=>[e.createTextVNode(e.toDisplayString((g.value-1)*T+t+1),1)]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,t=>(e.openBlock(),e.createBlock(C,{key:t,prop:t,label:t,"min-width":se(t),align:"center"},{default:e.withCtx(({row:o})=>[e.createTextVNode(e.toDisplayString(ne(o[t],t)),1)]),_:2},1032,["prop","label","min-width"]))),128)),e.createVNode(C,{label:"操作","min-width":"120",align:"center",fixed:"right"},{default:e.withCtx(({$index:t})=>[e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ve(Y(t))},{default:e.withCtx(()=>[...l[9]||(l[9]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"]),e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ke(Y(t))},{default:e.withCtx(()=>[...l[10]||(l[10]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"]),e.createElementVNode("div",Oe,[e.createVNode(z,{small:"",layout:"prev, pager, next",total:q.value.length,"page-size":T,"current-page":g.value,"onUpdate:currentPage":l[0]||(l[0]=t=>g.value=t)},null,8,["total","current-page"])])]),e.createVNode(ge,{modelValue:h.value,"onUpdate:modelValue":l[2]||(l[2]=t=>h.value=t),title:te.value,width:"520px",top:"8vh","close-on-click-modal":!1,"destroy-on-close":"",style:e.normalizeStyle({fontSize:e.unref(D).fontSize+"px"}),class:"data-mgmt-dialog"},{footer:e.withCtx(()=>[e.createElementVNode("div",Pe,[u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:0,size:"small",type:"success",onClick:be},{default:e.withCtx(()=>[...l[11]||(l[11]=[e.createTextVNode("导入数据",-1)])]),_:1})):e.createCommentVNode("",!0),l[14]||(l[14]=e.createElementVNode("span",{style:{flex:"1"}},null,-1)),e.createVNode(s,{size:"small",onClick:l[1]||(l[1]=t=>h.value=!1)},{default:e.withCtx(()=>[...l[12]||(l[12]=[e.createTextVNode("取消",-1)])]),_:1}),u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:ye},{default:e.withCtx(()=>[...l[13]||(l[13]=[e.createTextVNode("确定",-1)])]),_:1})):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.addFields,t=>(e.openBlock(),e.createElementBlock("div",{key:t,class:"form-item"},[e.createElementVNode("label",qe,e.toDisplayString(t),1),oe(t)?(e.openBlock(),e.createBlock(w,{key:0,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,type:"datetime",size:"small",disabled:u.value==="view",style:{width:"100%"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:1,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:X},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(O,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:2,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:$},{default:e.withCtx(()=>[e.createVNode(r,{label:"虚拟点",value:"虚拟点"}),e.createVNode(r,{label:"虚拟面域",value:"虚拟面域"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="所属监测线"?(e.openBlock(),e.createBlock(m,{key:3,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||S.value,style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"无",value:"无"}),e.createVNode(r,{label:"X1-1",value:"X1-1"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="状态"||t==="授权状态"?(e.openBlock(),e.createBlock(m,{key:4,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==="状态"?["正常","离线"]:["已授权","未授权"],o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):t==="所属区域"||t==="扫描区域"?(e.openBlock(),e.createBlock(m,{key:5,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(E,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="人员"?(e.openBlock(),e.createBlock(m,{key:6,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(M,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="角色权限"?(e.openBlock(),e.createBlock(m,{key:7,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(F,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="数据类型"?(e.openBlock(),e.createBlock(m,{key:8,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"正射影像",value:"正射影像"}),e.createVNode(r,{label:"倾斜摄影",value:"倾斜摄影"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="所属监测线"?(e.openBlock(),e.createBlock(_,{key:9,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||N.value,placeholder:N.value?"雷达无需填写监测线":"请输入监测线",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):(e.openBlock(),e.createBlock(_,{key:10,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",placeholder:re(t),style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"]))]))),128))])]),_:1},8,["modelValue","title","style"])],64)),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Qe=Ee._export_sfc(We,[["__scopeId","data-v-d5bd116e"]]);exports.default=Qe;
|
|
1
|
+
"use strict";var he=Object.defineProperty,Ce=Object.defineProperties;var _e=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var Be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var H=(v,d,c)=>d in v?he(v,d,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[d]=c,W=(v,d)=>{for(var c in d||(d={}))Be.call(d,c)&&H(v,c,d[c]);if(G)for(var c of G(d))Ne.call(d,c)&&H(v,c,d[c]);return v},Q=(v,d)=>Ce(v,_e(d));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/dialog/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const e=require("vue");require("html2canvas");const we=require("./BaseComponent-BmhMoM4H.cjs"),Ee=require("./index-77aUdspY.cjs"),Z=require("./ele-lin-icon-Dke_1AmT.cjs"),xe={key:0,class:"edit-placeholder"},De={class:"mgmt-header"},Te={class:"breadcrumb"},Se={class:"crumb-active"},Ae={class:"header-actions"},ze={class:"mgmt-tabs"},Me=["onClick"],Ue={class:"mgmt-filter-bar"},Ie={class:"filter-label"},Fe={class:"table-area"},Oe={class:"pagination-bar"},Le={class:"modal-form"},qe={class:"form-label"},Pe={class:"dialog-footer"},Re={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"基础数据管理",NAME_EN:"Data Management",ORDER:14,PLATFORM:["pc","screen"]},Ye={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},je=[],Xe=["object_id","name","fv","fvDeviceName"],$e=["mosaic"],Ge={useAlias:!1,multiObject:!1,source:"mosaic"},He={DEFAULT:Re,OPTIONS:Ye,DATA:je,PARAMS:Xe,SOURCE:$e,COMMON:Ge},We=e.defineComponent(Q(W({},He),{__name:"dataManagement",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(v){const d=v,c=["时间","安装日期","下载时间","采集时间","设置日期"],E=["北帮","南帮","东帮","西帮","中央区"],M=["陈晓晓","王大力","李工程师","张三"],F=["全部权限","仅数据查询权限","人工录入权限","基础数据管理权限"],O=["国产雷达","进口雷达","GNSS","锚索应力计","土压力计","水位计","流量计","裂缝计","震动计"],L={partition:{title:"分区管理",filters:[{label:"分区名称",key:"名称",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]}],columns:["时间","人员","名称","坐标"],addFields:["时间","人员","名称","坐标"]},device:{title:"设备管理",filters:[{label:"设备编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]},{label:"设备状态",key:"状态",type:"select",options:["全部","正常","离线"]},{label:"设备类型",key:"类型",type:"select",options:["全部",...O]}],columns:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线"],addFields:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线","状态"]},radar:{title:"雷达扫描区域管理",filters:[{label:"区域编号",key:"编号",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]},{label:"扫描区域",key:"扫描区域",type:"select",options:["全部",...E]}],columns:["时间","人员","编号","文件名称","圈定位置","扫描区域"],addFields:["时间","人员","编号","文件名称","圈定位置","扫描区域"]},virtual_point:{title:"雷达虚拟设置管理",filters:[{label:"点位编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]}],columns:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"],addFields:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"]},satellite:{title:"卫星数据管理",filters:[{label:"数据编号",key:"数据编号",type:"input"},{label:"卫星类型",key:"卫星类型",type:"input"}],columns:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"],addFields:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"]},map_info:{title:"地图信息管理",filters:[{label:"数据类型",key:"数据类型",type:"select",options:["全部","正射影像","倾斜摄影"]},{label:"采集时间",key:"采集时间",type:"datetime-local"}],columns:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"],addFields:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"]},permission:{title:"权限管理",filters:[{label:"账号名称",key:"用户名",type:"input"},{label:"角色权限",key:"角色权限",type:"select",options:["全部",...F]},{label:"授权状态",key:"授权状态",type:"select",options:["全部","已授权","未授权"]}],columns:["用户ID","用户名","角色权限","授权状态"],addFields:["用户ID","用户名","角色权限","授权状态"]}},J=Object.entries(L).map(([a,l])=>({key:a,title:l.title})),K=()=>({partition:[{时间:"2026-01-19T20:00",人员:"陈晓晓",名称:"北帮一区",坐标:"X:1200, Y:300"}],device:[{类型:"GNSS",编号:"G001",型号:"T9-Pro",安装日期:"2025-12-01T10:00",厂商:"中海达",安装位置:"E:103.5, N:30.5",所属区域:"南帮",所属监测线:"S1",状态:"正常"}],radar:[{时间:"2026-01-15T09:00",人员:"陈晓晓",编号:"RAD-AREA-001",文件名称:"20260115_东帮1区.las",圈定位置:"X:2450.55, Y:1300.12, M:1326.56, N:1256.09......",扫描区域:"东帮"},{时间:"2026-01-17T14:30",人员:"王大力",编号:"RAD-AREA-002",文件名称:"20260117_西帮1区.las",圈定位置:"X:2100.20, Y:1150.45, M:1326.56, N:1256.09......",扫描区域:"西帮"}],virtual_point:[{类型:"虚拟点",编号:"VP-001",设置日期:"2026-01-21T09:30",所属雷达:"RAD-AREA-001",设置位置:"X:500, Y:600, Z:200",所属区域:"北帮",所属监测线:"X1-1",状态:"正常"},{类型:"虚拟面域",编号:"VA-205",设置日期:"2026-01-22T14:15",所属雷达:"RAD-AREA-002",设置位置:"X:1200, Y:800 (覆盖范围)",所属区域:"南帮",所属监测线:"无",状态:"正常"}],satellite:[{ID:"SAT-001",数据名称:"区域A遥感影像",数据编号:"SAT-2023-001",下载时间:"2023-06-10T09:30","数据大小(MB)":"256.5",卫星类型:"高分七号"},{ID:"SAT-002",数据名称:"区域B地形数据",数据编号:"SAT-2023-002",下载时间:"2023-06-15T14:20","数据大小(MB)":"420.3",卫星类型:"资源三号"}],map_info:[{ID:"MAP-001",数据名称:"区域A正射影像",数据编号:"MAP-2023-001",数据类型:"正射影像",采集时间:"2023-05-20T08:00","覆盖面积(km²)":"5.2"},{ID:"MAP-002",数据名称:"区域B倾斜摄影",数据编号:"MAP-2023-002",数据类型:"倾斜摄影",采集时间:"2023-05-25T10:15","覆盖面积(km²)":"3.8"}],permission:[{用户ID:"admin",用户名:"系统管理员",角色权限:"超级管理员",授权状态:"已授权"}]});class ee extends we.BaseComponent{extractStyles(){var m,w,_,C,A,z;const l=(m=this.props.conf)==null?void 0:m.options,s=((w=l==null?void 0:l.linkChannel)==null?void 0:w.value)||"gnss",r=((_=l==null?void 0:l.customChannel)==null?void 0:_.value)||"";return{bgColor:((C=l==null?void 0:l.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((A=l==null?void 0:l.textColor)==null?void 0:A.value)||"#333333",fontSize:((z=l==null?void 0:l.fontSize)==null?void 0:z.value)||13,linkChannel:s==="custom"&&r?r:s}}onLinkEvent(l){}}const x=new ee(d,"dataManagement");x.setupLifecycle();const D=x.getStyle(),i=e.ref("partition"),y=e.computed(()=>L[i.value]),le=e.computed(()=>y.value.columns),k=e.ref({}),p=e.reactive({}),f=e.ref(null),V=e.ref([]),g=e.ref(1),T=10,U=e.ref(null),h=e.ref(!1),u=e.ref("add"),B=e.ref(-1),n=e.reactive({}),N=e.ref(!1),S=e.ref(!1),te=e.computed(()=>u.value==="add"?"新增"+y.value.title:u.value==="edit"?"编辑数据":"详情查看"),ae=e.computed(()=>{var a,l;return(l=(a=f.value)!=null?a:k.value[i.value])!=null?l:[]}),q=e.computed(()=>ae.value),P=e.computed(()=>{const a=(g.value-1)*T;return q.value.slice(a,a+T)}),oe=a=>c.includes(a),R=()=>{const a=new Date,l=a.getTimezoneOffset()*6e4;return new Date(a.getTime()-l).toISOString().slice(0,16)},ne=(a,l)=>a?c.includes(l)?a.replace("T"," "):a:"--",se=a=>["圈定位置","安装位置","设置位置"].includes(a)?200:["文件名称","数据名称"].includes(a)||c.includes(a)?160:110,re=a=>["坐标","安装位置","圈定位置","设置位置"].includes(a)?`请输入${a},每个坐标用,隔开`:`请输入${a}`,Y=a=>{const l=P.value[a];return k.value[i.value].indexOf(l)},ie=a=>{i.value=a,V.value=[],f.value=null,g.value=1,Object.keys(p).forEach(l=>delete p[l])},ue=()=>{const a=k.value[i.value];f.value=a.filter(l=>Object.keys(p).every(s=>{const r=p[s];return!r||r==="全部"?!0:l[s]?String(l[s]).toLowerCase().includes(r.toLowerCase()):!1})),V.value=[],g.value=1},de=()=>{Object.keys(p).forEach(a=>delete p[a]),f.value=null,g.value=1},ce=a=>{V.value=a},me=()=>{if(!V.value.length)return;const a=new Set(V.value);k.value[i.value]=k.value[i.value].filter(l=>!a.has(l)),f.value=null,V.value=[]},I=a=>{if(Object.keys(n).forEach(l=>delete n[l]),a!==void 0&&a>=0){const l=k.value[i.value][a];y.value.addFields.forEach(s=>{n[s]=l[s]||""})}else y.value.addFields.forEach(l=>{n[l]=c.includes(l)?R():""})},pe=()=>{u.value="add",B.value=-1,I(),N.value=!1,S.value=!1,h.value=!0},ve=a=>{u.value="edit",B.value=a,I(a),j(),h.value=!0},ke=a=>{u.value="view",B.value=a,I(a),j(),h.value=!0},j=()=>{i.value==="device"&&X(n.类型),i.value==="virtual_point"&&$(n.类型)},X=a=>{N.value=!!a&&a.includes("雷达"),N.value&&(n.所属监测线="")},$=a=>{S.value=a==="虚拟面域",S.value&&(n.所属监测线="无")},ye=()=>{const a={};y.value.addFields.forEach(l=>{a[l]=n[l]||""}),B.value>=0?k.value[i.value][B.value]=a:k.value[i.value].push(a),f.value=null,h.value=!1},Ve=()=>{var a;(a=U.value)==null||a.click()},be=()=>{var a;(a=U.value)==null||a.click()},fe=a=>{var r;if(!((r=a.target.files)==null?void 0:r[0]))return;const s={};y.value.addFields.forEach(m=>{s[m]=c.includes(m)?R():"导入-"+m}),k.value[i.value].push(s),f.value=null,a.target.value=""};return e.onMounted(()=>{x.init(),d.mode!=="edit"&&(k.value=K())}),e.onUnmounted(()=>{x.cleanup()}),(a,l)=>{const s=b.ElButton,r=b.ElOption,m=b.ElSelect,w=b.ElDatePicker,_=b.ElInput,C=b.ElTableColumn,A=b.ElTable,z=b.ElPagination,ge=b.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"data-mgmt",style:e.normalizeStyle({backgroundColor:e.unref(D).bgColor,color:e.unref(D).textColor,fontSize:e.unref(D).fontSize+"px"})},[d.mode==="edit"?(e.openBlock(),e.createElementBlock("div",xe,[...l[3]||(l[3]=[e.createElementVNode("div",{class:"placeholder-icon"},"📋",-1),e.createElementVNode("div",{class:"placeholder-title"},"基础数据管理",-1),e.createElementVNode("div",{class:"placeholder-desc"},"包含7个管理模块:分区 / 设备 / 雷达扫描区域 / 雷达虚拟设置 / 卫星数据 / 地图信息 / 权限",-1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",De,[e.createElementVNode("div",Te,[l[4]||(l[4]=e.createTextVNode("基础数据管理 / ",-1)),e.createElementVNode("span",Se,e.toDisplayString(y.value.title),1)]),e.createElementVNode("div",Ae,[e.createVNode(s,{size:"small",type:"primary",onClick:pe},{default:e.withCtx(()=>[...l[5]||(l[5]=[e.createTextVNode("+ 新增",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"success",onClick:Ve},{default:e.withCtx(()=>[...l[6]||(l[6]=[e.createTextVNode("📥 导入数据",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"danger",disabled:!V.value.length,onClick:me},{default:e.withCtx(()=>[e.createTextVNode(" 🗑️ 批量删除"+e.toDisplayString(V.value.length?` (${V.value.length})`:""),1)]),_:1},8,["disabled"]),e.createElementVNode("input",{ref_key:"importInput",ref:U,type:"file",style:{display:"none"},onChange:fe},null,544)])]),e.createElementVNode("div",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(J),t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:e.normalizeClass(["tab-item",{active:i.value===t.key}]),onClick:o=>ie(t.key)},e.toDisplayString(t.title),11,Me))),128))]),e.createElementVNode("div",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.filters,t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:"filter-group"},[e.createElementVNode("span",Ie,e.toDisplayString(t.label)+":",1),t.type==="select"?(e.openBlock(),e.createBlock(m,{key:0,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"全部",clearable:"",style:{width:"140px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((t.options||[]).filter(o=>o!=="全部"),o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):t.type==="datetime-local"?(e.openBlock(),e.createBlock(w,{key:1,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,type:"datetime",size:"small",placeholder:"选择时间",style:{width:"200px"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue"])):(e.openBlock(),e.createBlock(_,{key:2,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"输入搜索...",style:{width:"140px"},clearable:""},null,8,["modelValue","onUpdate:modelValue"]))]))),128)),e.createVNode(s,{size:"small",type:"primary",onClick:ue},{default:e.withCtx(()=>[...l[7]||(l[7]=[e.createTextVNode("查询",-1)])]),_:1}),e.createVNode(s,{size:"small",onClick:de},{default:e.withCtx(()=>[...l[8]||(l[8]=[e.createTextVNode("重置",-1)])]),_:1})]),e.createElementVNode("div",Fe,[e.createVNode(A,{data:P.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},onSelectionChange:ce},{default:e.withCtx(()=>[e.createVNode(C,{type:"selection",width:"40"}),e.createVNode(C,{label:"序号",width:"60",align:"center"},{default:e.withCtx(({$index:t})=>[e.createTextVNode(e.toDisplayString((g.value-1)*T+t+1),1)]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,t=>(e.openBlock(),e.createBlock(C,{key:t,prop:t,label:t,"min-width":se(t),align:"center"},{default:e.withCtx(({row:o})=>[e.createTextVNode(e.toDisplayString(ne(o[t],t)),1)]),_:2},1032,["prop","label","min-width"]))),128)),e.createVNode(C,{label:"操作","min-width":"120",align:"center",fixed:"right"},{default:e.withCtx(({$index:t})=>[e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ve(Y(t))},{default:e.withCtx(()=>[...l[9]||(l[9]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"]),e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ke(Y(t))},{default:e.withCtx(()=>[...l[10]||(l[10]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"]),e.createElementVNode("div",Oe,[e.createVNode(z,{small:"",layout:"prev, pager, next",total:q.value.length,"page-size":T,"current-page":g.value,"onUpdate:currentPage":l[0]||(l[0]=t=>g.value=t)},null,8,["total","current-page"])])]),e.createVNode(ge,{modelValue:h.value,"onUpdate:modelValue":l[2]||(l[2]=t=>h.value=t),title:te.value,width:"520px",top:"8vh","close-on-click-modal":!1,"destroy-on-close":"",style:e.normalizeStyle({fontSize:e.unref(D).fontSize+"px"}),class:"data-mgmt-dialog"},{footer:e.withCtx(()=>[e.createElementVNode("div",Pe,[u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:0,size:"small",type:"success",onClick:be},{default:e.withCtx(()=>[...l[11]||(l[11]=[e.createTextVNode("导入数据",-1)])]),_:1})):e.createCommentVNode("",!0),l[14]||(l[14]=e.createElementVNode("span",{style:{flex:"1"}},null,-1)),e.createVNode(s,{size:"small",onClick:l[1]||(l[1]=t=>h.value=!1)},{default:e.withCtx(()=>[...l[12]||(l[12]=[e.createTextVNode("取消",-1)])]),_:1}),u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:ye},{default:e.withCtx(()=>[...l[13]||(l[13]=[e.createTextVNode("确定",-1)])]),_:1})):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.addFields,t=>(e.openBlock(),e.createElementBlock("div",{key:t,class:"form-item"},[e.createElementVNode("label",qe,e.toDisplayString(t),1),oe(t)?(e.openBlock(),e.createBlock(w,{key:0,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,type:"datetime",size:"small",disabled:u.value==="view",style:{width:"100%"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:1,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:X},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(O,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:2,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:$},{default:e.withCtx(()=>[e.createVNode(r,{label:"虚拟点",value:"虚拟点"}),e.createVNode(r,{label:"虚拟面域",value:"虚拟面域"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="所属监测线"?(e.openBlock(),e.createBlock(m,{key:3,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||S.value,style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"无",value:"无"}),e.createVNode(r,{label:"X1-1",value:"X1-1"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="状态"||t==="授权状态"?(e.openBlock(),e.createBlock(m,{key:4,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==="状态"?["正常","离线"]:["已授权","未授权"],o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):t==="所属区域"||t==="扫描区域"?(e.openBlock(),e.createBlock(m,{key:5,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(E,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="人员"?(e.openBlock(),e.createBlock(m,{key:6,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(M,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="角色权限"?(e.openBlock(),e.createBlock(m,{key:7,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(F,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="数据类型"?(e.openBlock(),e.createBlock(m,{key:8,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"正射影像",value:"正射影像"}),e.createVNode(r,{label:"倾斜摄影",value:"倾斜摄影"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="所属监测线"?(e.openBlock(),e.createBlock(_,{key:9,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||N.value,placeholder:N.value?"雷达无需填写监测线":"请输入监测线",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):(e.openBlock(),e.createBlock(_,{key:10,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",placeholder:re(t),style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"]))]))),128))])]),_:1},8,["modelValue","title","style"])],64)),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Qe=Ee._export_sfc(We,[["__scopeId","data-v-d5bd116e"]]);exports.default=Qe;
|
|
@@ -23,8 +23,8 @@ import "element-plus/es/components/option/style/css";
|
|
|
23
23
|
import "element-plus/es/components/button/style/css";
|
|
24
24
|
import { defineComponent as We, ref as V, computed as I, reactive as ie, onMounted as Qe, onUnmounted as Ze, openBlock as o, createElementBlock as k, normalizeStyle as de, unref as x, createElementVNode as p, Fragment as h, createTextVNode as f, toDisplayString as M, createVNode as u, withCtx as s, renderList as w, normalizeClass as qe, createBlock as r, createCommentVNode as re, renderSlot as Je } from "vue";
|
|
25
25
|
import "html2canvas";
|
|
26
|
-
import { B as Ke } from "./BaseComponent-
|
|
27
|
-
import { _ as el } from "./index-
|
|
26
|
+
import { B as Ke } from "./BaseComponent-CQaDWNO0.js";
|
|
27
|
+
import { _ as el } from "./index-BZpYmpDy.js";
|
|
28
28
|
import { A as ll, D as tl } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
29
29
|
const al = {
|
|
30
30
|
key: 0,
|
|
@@ -22,8 +22,8 @@ import "element-plus/es/components/select/style/css";
|
|
|
22
22
|
import "element-plus/es/components/option/style/css";
|
|
23
23
|
import { defineComponent as Ze, useCssVars as et, unref as i, ref as O, computed as z, watch as tt, onMounted as at, onUnmounted as lt, openBlock as s, createElementBlock as h, normalizeStyle as F, createElementVNode as D, toDisplayString as V, createCommentVNode as p, createVNode as S, withCtx as m, Fragment as T, renderList as M, createBlock as f, createTextVNode as A, withModifiers as W, normalizeClass as pe, renderSlot as ot } from "vue";
|
|
24
24
|
import "html2canvas";
|
|
25
|
-
import { B as nt } from "./BaseComponent-
|
|
26
|
-
import { d as Y, _ as st } from "./index-
|
|
25
|
+
import { B as nt } from "./BaseComponent-CQaDWNO0.js";
|
|
26
|
+
import { d as Y, _ as st } from "./index-BZpYmpDy.js";
|
|
27
27
|
import { A as rt, D as it } from "./ele-glbModel-icon-l_SMi3ik.js";
|
|
28
28
|
import { Download as ct, Plus as ut, Upload as dt, Delete as ht } from "@element-plus/icons-vue";
|
|
29
29
|
const pt = { class: "report-header" }, vt = { class: "header-left" }, mt = { class: "header-title" }, bt = {
|