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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var rt=Object.defineProperty,st=Object.defineProperties;var ct=Object.getOwnPropertyDescriptors;var we=Object.getOwnPropertySymbols;var dt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable;var xe=(g,b,p)=>b in g?rt(g,b,{enumerable:!0,configurable:!0,writable:!0,value:p}):g[b]=p,W=(g,b)=>{for(var p in b||(b={}))dt.call(b,p)&&xe(g,p,b[p]);if(we)for(var p of we(b))ut.call(b,p)&&xe(g,p,b[p]);return g},J=(g,b)=>st(g,ct(b));var N=(g,b,p)=>new Promise((V,U)=>{var I=x=>{try{M(p.next(x))}catch(R){U(R)}},w=x=>{try{M(p.throw(x))}catch(R){U(R)}},M=x=>x.done?V(x.value):Promise.resolve(x.value).then(I,w);M((p=p.apply(g,b)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/upload/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/empty/style/css");require("element-plus/es/components/timeline/style/css");require("element-plus/es/components/timeline-item/style/css");require("element-plus/es/components/image/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/alert/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio-button/style/css");require("element-plus/es/components/dropdown/style/css");require("element-plus/es/components/dropdown-menu/style/css");require("element-plus/es/components/dropdown-item/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),f=require("./index-77aUdspY.cjs"),pt=require("./useMixiotPanelSurface-CAZgexY5.cjs"),mt=require("./BaseComponent-BmhMoM4H.cjs"),_t=require("./titleStyle-NSnz6cUg.cjs"),y=require("element-plus"),T=require("@element-plus/icons-vue"),ft=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),Ce=require("./ele-lst-icon-CrxnHZ-A.cjs"),bt={key:0,class:"app-title-row"},gt={class:"mix-app-body"},vt={class:"app-status-row"},yt={class:"app-toolbar-row"},ht={class:"app-card-scroll"},kt=["onClick","onKeydown"],Vt={class:"app-card-top"},wt={class:"app-card-top-left"},xt={class:"app-card-name"},Ct={class:"app-card-top-right"},Nt={class:"app-card-fields"},Et={class:"app-field-label"},St={key:0,class:"app-field-value"},Bt={key:1,class:"app-field-value"},Dt=["onClick"],jt={class:"pagination"},Tt={class:"pagination-row pagination-row--meta"},Mt={class:"pagination-row pagination-row--pager"},Rt={class:"detail-header-row"},zt={class:"detail-body"},Ft={class:"tl-row"},At={class:"tl-row"},Lt={key:0,class:"tl-row"},Ot={key:1,class:"tl-row tl-images"},qt={key:0,class:"tl-event-values"},Pt={DEFAULT_ICON:Ce.DEFAULT_ICON,ACTIVE_ICON:Ce.ACTIVE_ICON,NAME_CN:"历程记录",NAME_EN:"RetainerRecordListAPP",ORDER:7,PLATFORM:["mobile"]},Ut={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"template_id",label:"项目编号",width:140,visible:!0},{key:"label_cn",label:"历程项中文名称",width:140,visible:!0},{key:"label_en",label:"历程项英文名称",width:140,visible:!0},{key:"code",label:"历程项编码",width:120,visible:!0},{key:"category",label:"历程类型",width:100,visible:!0},{key:"object_id",label:"对象编号",width:140,visible:!0},{key:"object_name",label:"对象名称",width:140,visible:!0},{key:"object_alias",label:"对象别名",width:120,visible:!0},{key:"model",label:"型号",width:100,visible:!0},{key:"retained",label:"状态",width:90,visible:!0},{key:"opened_at",label:"开始时间",width:170,visible:!0},{key:"elapsed",label:"持续时间",width:120,visible:!0},{key:"statis_result",label:"统计结果",width:120,visible:!0},{key:"close_at",label:"结束时间",width:170,visible:!0}]},Ne=[{name:"历程记录",fv:"",showViewBtn:!0,showExportBtn:!0,template_id:"项目编号",template_id_visible:!0,label_cn:"历程项中文名称",label_cn_visible:!0,label_en:"历程项英文名称",label_en_visible:!0,code:"历程项编码",code_visible:!0,category:"历程类型",category_visible:!0,object_id:"对象编号",object_id_visible:!0,object_name:"对象名称",object_name_visible:!0,object_alias:"对象别名",object_alias_visible:!0,model:"型号",model_visible:!0,retained:"状态",retained_visible:!0,opened_at:"开始时间",opened_at_visible:!0,elapsed:"持续时间",elapsed_visible:!0,statis_result:"统计结果",statis_result_visible:!0,close_at:"结束时间",close_at_visible:!0,appCardDefaultLines:3}],It=[{key:"appCardDefaultLines",label:"APP卡片默认展示行数",type:"number"},{key:"showViewBtn",label:"详情",type:"checkbox",group:"操作组"},{key:"showExportBtn",label:"导出",type:"checkbox",group:"命令组"},{key:"name",label:"参数名称"},{key:"template_id",label:"项目编号",checkable:!0,checkboxKey:"template_id_visible"},{key:"label_cn",label:"历程项中文名称",checkable:!0,checkboxKey:"label_cn_visible"},{key:"label_en",label:"历程项英文名称",checkable:!0,checkboxKey:"label_en_visible"},{key:"code",label:"历程项编码",checkable:!0,checkboxKey:"code_visible"},{key:"category",label:"历程类型",checkable:!0,checkboxKey:"category_visible"},{key:"object_id",label:"对象编号",checkable:!0,checkboxKey:"object_id_visible"},{key:"object_name",label:"对象名称",checkable:!0,checkboxKey:"object_name_visible"},{key:"object_alias",label:"对象别名",checkable:!0,checkboxKey:"object_alias_visible"},{key:"model",label:"型号",checkable:!0,checkboxKey:"model_visible"},{key:"retained",label:"状态",checkable:!0,checkboxKey:"retained_visible"},{key:"opened_at",label:"开始时间",checkable:!0,checkboxKey:"opened_at_visible"},{key:"elapsed",label:"持续时间",checkable:!0,checkboxKey:"elapsed_visible"},{key:"statis_result",label:"统计结果",checkable:!0,checkboxKey:"statis_result_visible"},{key:"close_at",label:"结束时间",checkable:!0,checkboxKey:"close_at_visible"}],Kt=[],Yt={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"template_id",label:"setting.gridFields.templateId"},{value:"code",label:"setting.gridFields.code"},{value:"label_cn",label:"setting.gridFields.labelCn"},{value:"label_en",label:"setting.gridFields.labelEn"},{value:"category",label:"setting.gridFields.category"},{value:"object_id",label:"setting.gridFields.objectId"},{value:"object_name",label:"setting.gridFields.objectName"},{value:"object_alias",label:"setting.gridFields.objectAlias"},{value:"model",label:"setting.gridFields.model"},{value:"customer_name",label:"setting.gridFields.customerName"},{value:"opened_at",label:"setting.gridFields.openedAt"}]},$t={DEFAULT:Pt,OPTIONS:Ut,DATA:Ne,PARAMS:It,SOURCE:Kt,COMMON:Yt},Ht=e.defineComponent(J(W({},$t),{__name:"retainerRecordListAPP",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{default:"edit"},theme:{},code:{default:""},objectUid:{}},setup(g){const b={ALERT:"报警",FAULT:"故障",OTHER:"其他"},p="YYYY-MM-DD HH:mm:ss",V=g;class U extends mt.BaseComponent{getDataBool(t,a){var i,r;const o=(r=(i=this.props.conf)==null?void 0:i.data)==null?void 0:r[0];return o&&Object.prototype.hasOwnProperty.call(o,t)&&o[t]!==void 0?!!o[t]:this.getOptionValue(t,a)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),showViewBtn:this.getDataBool("showViewBtn",!0),showExportBtn:this.getDataBool("showExportBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length))this.props.conf.data=JSON.parse(JSON.stringify(Ne));else{const a=this.props.conf.data[0];a.showViewBtn===void 0&&(a.showViewBtn=!0),a.showExportBtn===void 0&&(a.showExportBtn=!0);for(const o of["template_id_visible","label_cn_visible","label_en_visible","code_visible","category_visible","object_id_visible","object_name_visible","object_alias_visible","model_visible","retained_visible","opened_at_visible","elapsed_visible","statis_result_visible","close_at_visible"])a[o]===void 0&&(a[o]=!0);(a.appCardDefaultLines===void 0||a.appCardDefaultLines===null||a.appCardDefaultLines==="")&&(a.appCardDefaultLines=3)}}}const I=new U(V,"retainerRecordListAPP");I.setupLifecycle();const w=I.getStyle(),{mixiotPanelClass:M,mixiotPanelRootStyle:x}=pt.useMixiotPanelSurface(w),R=e.computed(()=>_t.generateTitleStyle(V.conf.options)),de=e.computed(()=>{var a,o,i,r;const l=((o=(a=V.conf)==null?void 0:a.options)==null?void 0:o.columns)||[],t=((r=(i=V.conf)==null?void 0:i.data)==null?void 0:r[0])||{};return(Array.isArray(l)?l:[]).map(c=>{const s=t[c.key],u=t[`${c.key}_visible`];return{prop:c.key,label:s!==void 0&&s!==""?String(s):c.label,width:c.width,minWidth:c.minWidth,visible:u!==void 0?!!u:c.visible!==!1}})}),m=e.reactive({current:1,pageSize:20,total:0}),z=e.ref("1"),F=e.ref([f.dayjs().subtract(1,"day").format(p),f.dayjs().format(p)]),A=e.ref(""),B=e.ref("label_cn"),G=e.ref(null),Q=e.ref(""),L=e.ref([]),X=e.ref(!1),K=e.ref({});function Ee(){m.current=1,D()}function Se(){A.value="",G.value=null,Q.value=""}function Be(l){var a;if(l==null||l==="")return"";const t=String(l);return(a=b[t])!=null?a:t}function Y(l){const t=l.retained;return t===1||t==="1"}function De(l,t){const a=l[t];return a==null?"":String(a)}const Z=["template_id","object_name","opened_at"],je=e.computed(()=>{var l,t;return((t=(l=V.conf)==null?void 0:l.data)==null?void 0:t[0])||{}}),ue=e.computed(()=>{const l=je.value,t=Number(l.appCardDefaultLines);return Number.isFinite(t)&&t>=1?Math.min(Math.floor(t),30):3}),ee=e.reactive({}),Te=e.computed(()=>{var l;return{backgroundColor:w.value.bgColor,borderRadius:`${(l=w.value.radiusSize)!=null?l:8}px`}});function te(l,t){var a;return`${t}-${String((a=l.uid)!=null?a:"")}`}function pe(l,t){return!!ee[te(l,t)]}function le(l,t){const a=te(l,t);ee[a]=!ee[a]}function Me(l){var t,a,o,i;return String((i=(o=(a=(t=l.label_local)!=null?t:l.label_cn)!=null?a:l.code)!=null?o:l.uid)!=null?i:"—")}function me(l){var o,i;const t=[],a=[];for(const r of Z)a.includes(r)||a.push(r);for(const r of de.value)r.visible&&(a.includes(r.prop)||a.push(r.prop));for(const r of a){const c=de.value.find(u=>u.prop===r&&u.visible);if(!c)continue;let s="";r==="category"?s=Be(l.category):r==="label_cn"?s=String((i=(o=l.label_local)!=null?o:l.label_cn)!=null?i:""):r==="retained"?s="":s=De(l,r),t.push({prop:r,label:c.label,text:s})}return t}function Re(l,t){const a=me(l);if(pe(l,t))return a;const o=ue.value,i=[];for(const c of Z){const s=a.find(u=>u.prop===c);s&&i.push(s)}if(i.length>=o)return i.slice(0,o);const r=a.filter(c=>!Z.includes(c.prop));return[...i,...r].slice(0,o)}function ae(l,t){return me(l).length>ue.value}function ze(l,t,a){const o=a.target;!o||!(o instanceof Element)||o.closest(".app-more-trigger,.el-dropdown,.el-popper,.app-field-expand,.app-mini-more,button,a,input,textarea,select,.el-select,.el-input,.el-tag")||(w.value.showViewBtn?ne(l):ae(l)&&le(l,t))}function _e(l,t){w.value.showViewBtn?ne(l):ae(l)&&le(l,t)}function fe(){return N(this,null,function*(){var l;if(!(Object.keys(K.value).length>0))try{let t=1;const a=2e3;for(;;){const o=yield f.api.post("get_object_list",{page_index:t,page_size:a},!1),i=(l=o==null?void 0:o.result)!=null?l:o,r=Array.isArray(i==null?void 0:i.data)?i.data:[];for(const s of r){const u=s.uid;u&&(K.value[u]={name:s.name,alias:s.alias,model:s.model})}const c=typeof(i==null?void 0:i.total_records)=="number"?i.total_records:r.length;if(!r.length||t*a>=c)break;t++}}catch(t){}})}function Fe(){const l=[];V.objectUid&&l.push(["object_id","=",V.objectUid]),z.value!=="2"&&l.push(["retained","=",z.value]);const t=F.value;if(t&&t.length===2&&t[0]&&t[1]){const[o,i]=t[0]<=t[1]?t:[t[1],t[0]];l.push(["created",">=",o]),l.push(["created","<=",i])}if(B.value==="opened_at"){const o=G.value;if(o&&o.length===2&&o[0]&&o[1]){const[i,r]=o[0]<=o[1]?o:[o[1],o[0]];l.push(["opened_at",">=",i]),l.push(["opened_at","<=",r])}}else if(B.value==="category"){const o=Q.value.trim();o&&l.push(["category","=",o])}else{const o=A.value.trim();o&&l.push([B.value,"like",`%${o}%`])}ft.appendCommonDesignerWhereAnd(V.conf.common,l);const a={page_index:m.current,page_size:m.pageSize};return l.length&&(a.where_and=JSON.stringify(l)),a}function D(){return N(this,null,function*(){var l;X.value=!0;try{yield fe();const t=yield f.api.post("get_retainer_result_list",Fe(),!0),a=(l=t==null?void 0:t.result)!=null?l:t,o=Array.isArray(a==null?void 0:a.data)?a.data:[];L.value=o.map(r=>{var u,E,k;const c=r.object_id?String(r.object_id):"",s=c?K.value[c]:void 0;return J(W({},r),{object_name:(u=r.object_name)!=null?u:s==null?void 0:s.name,object_alias:(E=r.object_alias)!=null?E:s==null?void 0:s.alias,model:(k=r.model)!=null?k:s==null?void 0:s.model})});const i=a==null?void 0:a.total_records;m.total=typeof i=="number"?i:o.length,t&&t.code!==void 0&&t.code!==200&&console.warn("[retainerRecordList] 列表接口非成功",t.msg||t.info,t)}catch(t){console.error(t),L.value=[],m.total=0}finally{X.value=!1}})}const Ae=e.computed(()=>L.value);function oe(){m.current=1,D()}function Le(){A.value="",G.value=null,Q.value="",B.value="label_cn",z.value="1",F.value=[f.dayjs().subtract(1,"day").format(p),f.dayjs().format(p)],m.current=1,D()}function Oe(){m.current=1,D()}function qe(){D()}const $=e.ref(!1),ie=e.ref(!1),O=e.ref(""),_=e.ref(null),S=e.ref([]),Pe=e.computed(()=>{var t;const l=_.value;return l?String((t=l.object_name)!=null?t:""):""});function ne(l){return N(this,null,function*(){var a,o,i,r;const t=l.uid;if(!t){y.ElMessage.warning("当前行缺少历程编号,无法拉取详情");return}$.value=!0,ie.value=!0,O.value="",_.value=null,S.value=[];try{yield fe();const c=yield f.api.post("get_retainer_with_events",{retainer_id:t},!0),s=(a=c==null?void 0:c.result)!=null?a:c;if(c&&c.code!==void 0&&c.code!==200){O.value=String(c.msg||c.info||"详情接口失败");return}const u=s!=null?s:{},E=u.object_id?String(u.object_id):l.object_id?String(l.object_id):"",k=E?K.value[E]:void 0;_.value=J(W({},u),{object_name:(r=(i=(o=u.object_name)!=null?o:l.object_name)!=null?i:k==null?void 0:k.name)!=null?r:""}),S.value=be(s),yield ge(t)}catch(c){O.value="加载历程详情失败"}finally{ie.value=!1}})}function Ue(l,t){l==="detail"&&ne(t)}function Ie(l){const t=a=>String(a).padStart(2,"0");return`${l.getFullYear()}-${t(l.getMonth()+1)}-${t(l.getDate())} ${t(l.getHours())}:${t(l.getMinutes())}:${t(l.getSeconds())}`}function Ke(){return N(this,null,function*(){const l=F.value;if(!l||l.length<2||!l[0]||!l[1]){y.ElMessage.warning("请先选择创建时间范围后再导出");return}const t=[...new Set(L.value.map(o=>{var i;return String((i=o.object_id)!=null?i:"").trim()}).filter(Boolean))],a=[...new Set(L.value.map(o=>{var i;return String((i=o.template_id)!=null?i:"").trim()}).filter(Boolean))];if(!t.length&&!a.length){y.ElMessage.warning("当前页列表无项目编号或对象编号,请加载数据后再导出");return}try{yield y.ElMessageBox.confirm("将按当前列表中的项目/对象编号及所选创建时间范围提交导出任务(与 mixui 历程导出一致),是否继续?","导出历程数据",{type:"info"})}catch(o){return}try{const o=yield f.api.post("export_retainer_data",{file_name:`retainer_export_${Ie(new Date).replace(/[: ]/g,"_")}`,open_at:l[0]<=l[1]?l[0]:l[1],close_at:l[0]<=l[1]?l[1]:l[0],template_ids:a,object_ids:t,character:"utf-8"},!0);if(o.code!==void 0&&o.code!==200){y.ElMessage.warning(o.msg||o.info||"导出请求未成功");return}y.ElMessage.success("导出任务已提交")}catch(o){y.ElMessage.error("导出请求失败")}})}const q=e.ref(!1),re=e.ref(!1),C=e.reactive({service_at:"",description:""}),j=e.ref([]);function be(l){const t=l==null?void 0:l.events;return Array.isArray(t)?t:[]}function ge(l){return N(this,null,function*(){var t;try{const a=yield f.api.post("retainer_record_list",{where_and:JSON.stringify([["source_id","=",l]])}),o=(t=a==null?void 0:a.result)!=null?t:{};if((a==null?void 0:a.code)!==void 0&&a.code!==200){console.warn("[retainerRecordList] 处理记录列表失败",a.msg||a.info);return}const r=(Array.isArray(o.data)?o.data:[]).map(s=>({datetime:s.service_at,type:"record",desc:s.description,staff_name:s.staff_name||s.staff_id,file:s.file?$e(String(s.file)):[]})),c=S.value.filter(s=>s.type!=="record");S.value=[...c,...r].sort((s,u)=>new Date(String(s.datetime||"")).getTime()-new Date(String(u.datetime||"")).getTime())}catch(a){console.error(a)}})}function Ye(){return N(this,null,function*(){var a,o;const l=(a=_.value)==null?void 0:a.uid;if(!l)return;const t=String(l);try{const i=yield f.api.post("get_retainer_with_events",{retainer_id:t},!0),r=(o=i==null?void 0:i.result)!=null?o:i;if(i&&i.code!==void 0&&i.code!==200)return;S.value=be(r),yield ge(t)}catch(i){console.error(i)}})}function $e(l){return l.split(",").map(t=>{const a=t.trim();return a?a.startsWith("http")?a:f.FILE_URL+a:""}).filter(Boolean)}function He(){var l;if(!((l=_.value)!=null&&l.uid)){y.ElMessage.warning("当前历程缺少编号,无法添加处理记录");return}C.service_at=f.dayjs().format("YYYY-MM-DD HH:mm:ss"),C.description="",j.value=[],q.value=!0}function We(l){j.value=j.value.filter(t=>t.uid!==l.uid)}function Je(l){return N(this,null,function*(){var a,o;const t=new FormData;if(t.append("file",l.file),l.file.size>15728640){y.ElMessage.error("图片大小不能超过15M");return}try{const i=yield f.api.upload("upload",t);(i==null?void 0:i.code)===200?j.value.push({name:((a=i.result)==null?void 0:a.name)||l.file.name,url:((o=i.result)==null?void 0:o.url)||"",uid:String(Date.now())}):y.ElMessage.error((i==null?void 0:i.msg)||"上传失败")}catch(i){y.ElMessage.error("上传失败")}})}function Ge(){return N(this,null,function*(){var l,t;if((l=_.value)!=null&&l.uid){re.value=!0;try{const a=f.auth.getUser(),o=j.value.map(c=>c.url),i=yield f.api.post("retainer_record_create",{staff_id:a==null?void 0:a.id,staff_name:(t=a==null?void 0:a.username)!=null?t:a==null?void 0:a.name,service_at:C.service_at||f.dayjs().format("YYYY-MM-DD HH:mm:ss"),description:C.description,file:o.join(","),object_id:_.value.object_id,source_id:_.value.uid,category:_.value.category}),r=i==null?void 0:i.code;if(r!==void 0&&r!==200){y.ElMessage.error(String(i.info||i.msg||"添加处理记录失败"));return}y.ElMessage.success("添加处理记录成功"),q.value=!1,yield Ye()}catch(a){y.ElMessage.error("添加处理记录失败")}finally{re.value=!1}}})}function Qe(l){l==="reset"?Le():l==="export"&&Ke()}return e.onMounted(()=>{D()}),(l,t)=>{const a=d.ElIcon,o=d.ElButton,i=d.ElDropdownItem,r=d.ElDropdownMenu,c=d.ElDropdown,s=d.ElRadioButton,u=d.ElRadioGroup,E=d.ElDatePicker,k=d.ElOption,Xe=d.ElSelect,ve=d.ElInput,ye=d.ElTag,he=d.ElPagination,Ze=d.ElAlert,P=d.ElDescriptionsItem,et=d.ElDescriptions,tt=d.ElImage,lt=d.ElTimelineItem,at=d.ElTimeline,ot=d.ElEmpty,ke=d.ElDialog,se=d.ElFormItem,it=d.ElUpload,nt=d.ElForm,Ve=d.ElLoadingDirective;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["retainer-record-list-app mixiot-list-app mix-component",e.unref(M)]),style:e.normalizeStyle(e.unref(x))},[e.unref(w).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bt,[e.createElementVNode("div",{class:"app-title-text",style:e.normalizeStyle(R.value)},e.toDisplayString(g.conf.caption||g.conf.name),5),e.createVNode(c,{trigger:"click",onCommand:Qe},{dropdown:e.withCtx(()=>[e.createVNode(r,null,{default:e.withCtx(()=>[e.createVNode(i,{command:"reset"},{default:e.withCtx(()=>[...t[16]||(t[16]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(w).showExportBtn?(e.openBlock(),e.createBlock(i,{key:0,command:"export"},{default:e.withCtx(()=>[...t[17]||(t[17]=[e.createTextVNode("导出",-1)])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),default:e.withCtx(()=>[e.createVNode(o,{size:"small",circle:""},{default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.Plus))]),_:1})]),_:1})]),_:1})])),e.withDirectives((e.openBlock(),e.createElementBlock("div",gt,[e.createElementVNode("div",vt,[e.createVNode(u,{modelValue:z.value,"onUpdate:modelValue":t[0]||(t[0]=n=>z.value=n),size:"small",onChange:Ee},{default:e.withCtx(()=>[e.createVNode(s,{label:"1"},{default:e.withCtx(()=>[...t[18]||(t[18]=[e.createTextVNode("持续历程",-1)])]),_:1}),e.createVNode(s,{label:"0"},{default:e.withCtx(()=>[...t[19]||(t[19]=[e.createTextVNode("已完结历程",-1)])]),_:1}),e.createVNode(s,{label:"2"},{default:e.withCtx(()=>[...t[20]||(t[20]=[e.createTextVNode("全部记录",-1)])]),_:1})]),_:1},8,["modelValue"]),e.createVNode(E,{modelValue:F.value,"onUpdate:modelValue":t[1]||(t[1]=n=>F.value=n),type:"datetimerange","range-separator":"至","start-placeholder":"创建开始","end-placeholder":"创建结束","value-format":"YYYY-MM-DD HH:mm:ss",size:"small",class:"app-status-time-range",onChange:oe},null,8,["modelValue"])]),e.createElementVNode("div",yt,[e.createVNode(Xe,{modelValue:B.value,"onUpdate:modelValue":t[2]||(t[2]=n=>B.value=n),class:"app-field-select",onChange:Se},{default:e.withCtx(()=>[e.createVNode(k,{label:"历程项名称",value:"label_cn"}),e.createVNode(k,{label:"项目编号",value:"template_id"}),e.createVNode(k,{label:"历程项编码",value:"code"}),e.createVNode(k,{label:"对象编号",value:"object_id"})]),_:1},8,["modelValue"]),e.createVNode(ve,{modelValue:A.value,"onUpdate:modelValue":t[3]||(t[3]=n=>A.value=n),placeholder:"输入关键词搜索",clearable:"",class:"app-search-input",onKeyup:e.withKeys(oe,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.Search))]),_:1})]),append:e.withCtx(()=>[e.createVNode(o,{type:"primary",class:"app-toolbar-search-btn",onClick:oe},{default:e.withCtx(()=>[...t[21]||(t[21]=[e.createTextVNode("搜索",-1)])]),_:1})]),_:1},8,["modelValue"])]),e.createElementVNode("div",ht,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ae.value,(n,h)=>(e.openBlock(),e.createElementBlock("div",{key:te(n,h),class:"app-object-card",style:e.normalizeStyle(Te.value),role:"button",tabindex:"0",onClick:v=>ze(n,h,v),onKeydown:[e.withKeys(e.withModifiers(v=>_e(n,h),["prevent"]),["enter"]),e.withKeys(e.withModifiers(v=>_e(n,h),["prevent"]),["space"])]},[e.createElementVNode("div",Vt,[e.createElementVNode("div",wt,[e.createElementVNode("div",xt,e.toDisplayString(Me(n)),1)]),e.createElementVNode("div",Ct,[e.createVNode(ye,{type:Y(n)?"danger":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Y(n)?"持续":"已完结"),1)]),_:2},1032,["type"]),e.unref(w).showViewBtn?(e.openBlock(),e.createBlock(c,{key:0,trigger:"click",onCommand:v=>Ue(v,n)},{dropdown:e.withCtx(()=>[e.createVNode(r,null,{default:e.withCtx(()=>[e.createVNode(i,{command:"detail"},{default:e.withCtx(()=>[...t[22]||(t[22]=[e.createTextVNode("详情",-1)])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"app-more-trigger",onClick:t[4]||(t[4]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.MoreFilled))]),_:1})])]),_:1},8,["onCommand"])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Nt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Re(n,h),v=>(e.openBlock(),e.createElementBlock("div",{key:v.prop,class:"app-field-line"},[e.createElementVNode("span",Et,e.toDisplayString(v.label),1),v.prop==="retained"?(e.openBlock(),e.createElementBlock("span",St,[e.createVNode(ye,{type:Y(n)?"success":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Y(n)?"持续":"已完结"),1)]),_:2},1032,["type"])])):(e.openBlock(),e.createElementBlock("span",Bt,e.toDisplayString(v.text),1))]))),128)),ae(n)?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(["app-field-expand",{open:pe(n,h)}]),onClick:e.withModifiers(v=>le(n,h),["stop"])},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.ArrowDown))]),_:1})],10,Dt)):e.createCommentVNode("",!0)])],44,kt))),128))]),e.createElementVNode("div",jt,[e.createElementVNode("div",Tt,[e.createVNode(he,{"current-page":m.current,"onUpdate:currentPage":t[5]||(t[5]=n=>m.current=n),"page-size":m.pageSize,"onUpdate:pageSize":t[6]||(t[6]=n=>m.pageSize=n),"page-sizes":[20,50,100,200],layout:"total, sizes",total:m.total,onSizeChange:Oe},null,8,["current-page","page-size","total"])]),e.createElementVNode("div",Mt,[e.createVNode(he,{"current-page":m.current,"onUpdate:currentPage":t[7]||(t[7]=n=>m.current=n),"page-size":m.pageSize,"onUpdate:pageSize":t[8]||(t[8]=n=>m.pageSize=n),"page-sizes":[20,50,100,200],layout:"prev, pager, next, jumper",total:m.total,onCurrentChange:qe},null,8,["current-page","page-size","total"])])])])),[[Ve,X.value]]),e.createVNode(ke,{modelValue:$.value,"onUpdate:modelValue":t[10]||(t[10]=n=>$.value=n),class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"520px"},"destroy-on-close":"",onClosed:t[11]||(t[11]=n=>_.value=null)},{header:e.withCtx(()=>[e.createElementVNode("div",Rt,[t[24]||(t[24]=e.createElementVNode("span",null,"历程记录详情",-1)),_.value?(e.openBlock(),e.createBlock(o,{key:0,link:"",type:"primary",size:"small",class:"detail-add-record-btn",onClick:He},{default:e.withCtx(()=>[e.createVNode(a,{class:"mr-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(T.Plus))]),_:1}),t[23]||(t[23]=e.createTextVNode(" 添加处理记录 ",-1))]),_:1})):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createVNode(o,{type:"primary",onClick:t[9]||(t[9]=n=>$.value=!1)},{default:e.withCtx(()=>[...t[27]||(t[27]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",zt,[O.value?(e.openBlock(),e.createBlock(Ze,{key:0,type:"error",title:O.value,"show-icon":"",closable:!1,class:"mb-3"},null,8,["title"])):_.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(et,{column:1,border:"",size:"small"},{default:e.withCtx(()=>[e.createVNode(P,{label:"历程项中文"},{default:e.withCtx(()=>{var n,h;return[e.createTextVNode(e.toDisplayString((h=(n=_.value.label_local)!=null?n:_.value.label_cn)!=null?h:""),1)]}),_:1}),e.createVNode(P,{label:"对象名称"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Pe.value),1)]),_:1}),e.createVNode(P,{label:"故障编码"},{default:e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString((n=_.value.code)!=null?n:""),1)]}),_:1}),e.createVNode(P,{label:"持续时间"},{default:e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString((n=_.value.elapsed)!=null?n:""),1)]}),_:1}),e.createVNode(P,{label:"描述",span:2},{default:e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString((n=_.value.description)!=null?n:""),1)]}),_:1})]),_:1}),t[26]||(t[26]=e.createElementVNode("div",{class:"detail-events-title"},"历程事件 / 处理记录",-1)),S.value.length?(e.openBlock(),e.createBlock(at,{key:0},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(n,h)=>{var v;return e.openBlock(),e.createBlock(lt,{key:h,timestamp:String((v=n.datetime)!=null?v:""),type:n.type==="record"?"success":"primary"},{default:e.withCtx(()=>[n.type==="record"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[25]||(t[25]=e.createElementVNode("div",{class:"tl-title"},"处理记录",-1)),e.createElementVNode("div",Ft,"处理人: "+e.toDisplayString(n.staff_name||"—"),1),e.createElementVNode("div",At,"处理时间: "+e.toDisplayString(n.datetime||"—"),1),n.desc?(e.openBlock(),e.createElementBlock("div",Lt,"处理描述: "+e.toDisplayString(n.desc),1)):e.createCommentVNode("",!0),n.file&&n.file.length?(e.openBlock(),e.createElementBlock("div",Ot,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.file,(ce,H)=>(e.openBlock(),e.createBlock(tt,{key:H,src:ce,"preview-src-list":n.file,style:{width:"80px",height:"48px","margin-right":"4px","border-radius":"4px"},fit:"cover"},null,8,["src","preview-src-list"]))),128))])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",null,"状态:"+e.toDisplayString(n.status===1||n.status==="1"?"开启":"关闭"),1),n.value&&Object.keys(n.value).length?(e.openBlock(),e.createElementBlock("div",qt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(ce,H)=>(e.openBlock(),e.createElementBlock("span",{key:String(H),class:"tl-value-tag"},e.toDisplayString(H)+": "+e.toDisplayString(ce),1))),128))])):e.createCommentVNode("",!0)],64))]),_:2},1032,["timestamp","type"])}),128))]),_:1})):(e.openBlock(),e.createBlock(ot,{key:1,description:"暂无历程事件或处理记录","image-size":64}))],64)):e.createCommentVNode("",!0)])),[[Ve,ie.value]])]),_:1},8,["modelValue"]),e.createVNode(ke,{modelValue:q.value,"onUpdate:modelValue":t[15]||(t[15]=n=>q.value=n),title:"添加处理记录",class:"mixiot-app-dialog retainer-add-record-dialog","append-to-body":!0,"close-on-click-modal":!1,style:{"--mixiot-app-dialog-max":"440px"},"destroy-on-close":""},{footer:e.withCtx(()=>[e.createVNode(o,{onClick:t[14]||(t[14]=n=>q.value=!1)},{default:e.withCtx(()=>[...t[29]||(t[29]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(o,{type:"primary",loading:re.value,onClick:Ge},{default:e.withCtx(()=>[...t[30]||(t[30]=[e.createTextVNode("确认",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(nt,{model:C,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(se,{label:"处理时间"},{default:e.withCtx(()=>[e.createVNode(E,{modelValue:C.service_at,"onUpdate:modelValue":t[12]||(t[12]=n=>C.service_at=n),type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e.createVNode(se,{label:"处理描述"},{default:e.withCtx(()=>[e.createVNode(ve,{modelValue:C.description,"onUpdate:modelValue":t[13]||(t[13]=n=>C.description=n),type:"textarea",rows:3,placeholder:"请输入处理描述"},null,8,["modelValue"])]),_:1}),e.createVNode(se,{label:"现场图片"},{default:e.withCtx(()=>[e.createVNode(it,{"list-type":"picture-card","file-list":j.value,"http-request":Je,"on-remove":We},{default:e.withCtx(()=>[e.createVNode(o,{link:""},{default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.Plus))]),_:1}),t[28]||(t[28]=e.createTextVNode(" 上传图片 ",-1))]),_:1})]),_:1},8,["file-list"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.renderSlot(l.$slots,"default",{},void 0,!0)],6)}}})),Wt=f._export_sfc(Ht,[["__scopeId","data-v-88774d3c"]]);exports.default=Wt;
|
|
@@ -11,9 +11,9 @@ var S = (r, e, s) => e in r ? $(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return r;
|
|
12
12
|
}, v = (r, e) => R(r, V(e));
|
|
13
13
|
import { defineComponent as j, computed as x, watch as z, nextTick as L, openBlock as _, createElementBlock as O, normalizeStyle as g, unref as l, createElementVNode as d, toDisplayString as h, Fragment as M, renderList as w, renderSlot as F } from "vue";
|
|
14
|
-
import { _ as P } from "./index-
|
|
14
|
+
import { _ as P } from "./index-BZpYmpDy.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import { E as B } from "./EChartComponentBase-
|
|
16
|
+
import { E as B } from "./EChartComponentBase-i76OGL3z.js";
|
|
17
17
|
import { g as U } from "./titleStyle-BT5GlpAb.js";
|
|
18
18
|
import { A as H, D as W } from "./ele-pie-icon-RPfHJxqp.js";
|
|
19
19
|
import { i as q } from "./install-CIdzgJ44.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var T=Object.defineProperty,x=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var S=(i,o,l)=>o in i?T(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,g=(i,o)=>{for(var l in o||(o={}))V.call(o,l)&&S(i,l,o[l]);if(y)for(var l of y(o))A.call(o,l)&&S(i,l,o[l]);return i},f=(i,o)=>x(i,I(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-
|
|
1
|
+
"use strict";var T=Object.defineProperty,x=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var S=(i,o,l)=>o in i?T(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,g=(i,o)=>{for(var l in o||(o={}))V.call(o,l)&&S(i,l,o[l]);if(y)for(var l of y(o))A.call(o,l)&&S(i,l,o[l]);return i},f=(i,o)=>x(i,I(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-77aUdspY.cjs");require("element-plus");const R=require("./EChartComponentBase-D9EUh4BZ.cjs"),$=require("./titleStyle-NSnz6cUg.cjs"),v=require("./ele-pie-icon-BNhXPoUT.cjs"),z=require("./install-nDY6w-GK.cjs"),C=require("./installCanvasRenderer-CyhM1Qpl.cjs"),D=require("./install-DV5cEgNV.cjs"),q={class:"mix-body"},j=["id"],B={class:"ring-list"},L={DEFAULT_ICON:v.DEFAULT_ICON,ACTIVE_ICON:v.ACTIVE_ICON,NAME_CN:"环形TOP排行",NAME_EN:"Ring TopN",ORDER:10,PLATFORM:["pc","screen"]},M={bgColor:"#fff",titleColor:"#111",textColor:"#111",radiusSize:8,textSize:13,isHideTitle:!1,mainColor:"#e74c3c",dimColor:"#dde3ec",ringInside:55,ringOutside:80,topCount:3},P=[{name:"降雨",fv:"",object_id:"",value:34},{name:"应力",fv:"",object_id:"",value:29},{name:"煤自燃",fv:"",object_id:"",value:21}],F=["name","fv","object_id"],w=["mosaic","statistics","calculate"],U={useAlias:!1,multiObject:!0,source:"statistics"},H={DEFAULT:L,OPTIONS:M,DATA:P,PARAMS:F,SOURCE:w,COMMON:U},W=e.defineComponent(f(g({},H),{__name:"ringTopN",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){C.use([D.install,C.install,C.install$1,z.install]);const o=i;class l extends R.EChartComponentBase{extractStyles(){return f(g({},super.extractStyles()),{mainColor:this.getOptionValue("mainColor","#e74c3c"),dimColor:this.getOptionValue("dimColor","#dde3ec"),ringInside:this.getOptionValue("ringInside",55),ringOutside:this.getOptionValue("ringOutside",80),topCount:this.getOptionValue("topCount",3)})}getChartOption(){var s;const a=this.Style.value,r=((s=this.props.conf)==null?void 0:s.data)||[],t=r.reduce((d,p)=>d+(Number(p.value)||0),0);return{color:r.map((d,p)=>p===0?a.mainColor:this.shadeColor(a.dimColor,p)),tooltip:{trigger:"item",formatter:"{b}: {c} ({d}%)"},series:[{type:"pie",radius:[`${a.ringInside}%`,`${a.ringOutside}%`],center:["50%","50%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:r.map(d=>({name:d.name,value:Number(d.value)||0}))}],graphic:t>0?[{type:"text",left:"center",top:"center",style:{text:String(t),fontSize:22,fontWeight:600,fill:a.textColor}}]:[]}}shadeColor(a,r){const t=Math.max(.35,1-r*.18);return this.hexToRgba(a,t)}hexToRgba(a,r){const t=a.replace("#","").match(/.{2}/g);if(!t)return a;const[u,s,d]=t.map(p=>parseInt(p,16));return`rgba(${u},${s},${d},${r})`}setSocketData(a){var t;if(!a||!this.chartObj)return;(((t=this.props.conf)==null?void 0:t.data)||[]).forEach(u=>{const s=this.extractDataValue(a,u.fv);s!=null&&(u.value=Number(s)||0)}),this.updateChart(this.getChartOption())}}const m=new l(o,"ringTopN");m.setupLifecycle();const c=m.getStyle(),O=m.getEchartId(),h=o.conf,_=e.computed(()=>$.generateTitleStyle(o.conf.options)),b=e.computed(()=>{var r;const n=((r=o.conf)==null?void 0:r.data)||[],a=c.value.topCount||3;return[...n].map(t=>({name:t.name,value:Number(t.value)||0})).sort((t,u)=>u.value-t.value).slice(0,a)});function N(n){return n===0?c.value.mainColor:"#9aa3b2"}function E(n){return n==null||n===""?"--":String(n)}return e.watch(()=>{var n;return(n=o.conf)==null?void 0:n.data},()=>e.nextTick(()=>{const n=m.getChartInstance();n&&n.setOption(m.getChartOption(),!0)}),{deep:!0}),(n,a)=>(e.openBlock(),e.createElementBlock("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(_.value)},e.toDisplayString(e.unref(h).caption||e.unref(h).name),5),e.createElementVNode("div",q,[e.createElementVNode("div",{class:"ring-chart",id:e.unref(O)},null,8,j),e.createElementVNode("ol",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(r,t)=>(e.openBlock(),e.createElementBlock("li",{key:t,class:"ring-item"},[e.createElementVNode("span",{class:"ring-rank",style:e.normalizeStyle({color:N(t)})},e.toDisplayString(t+1),5),e.createElementVNode("span",{class:"ring-name",style:e.normalizeStyle({color:e.unref(c).textColor})},e.toDisplayString(r.name||"--"),5),e.createElementVNode("span",{class:"ring-value",style:e.normalizeStyle({color:e.unref(c).textColor,fontSize:`${e.unref(c).textSize}px`})},e.toDisplayString(E(r.value)),5)]))),128))])]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4))}})),G=k._export_sfc(W,[["__scopeId","data-v-35905623"]]);exports.default=G;
|
|
@@ -12,8 +12,8 @@ var z = (s, a, n) => a in s ? B(s, a, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, _ = (s, a) => P(s, U(a));
|
|
13
13
|
import { defineComponent as $, ref as W, computed as u, watch as M, onMounted as q, onUnmounted as G, openBlock as C, createElementBlock as h, normalizeStyle as T, createElementVNode as t, unref as f, toDisplayString as c, Fragment as H, renderList as J, normalizeClass as k, renderSlot as K } from "vue";
|
|
14
14
|
import "html2canvas";
|
|
15
|
-
import { B as Q } from "./BaseComponent-
|
|
16
|
-
import { U as O, _ as X } from "./index-
|
|
15
|
+
import { B as Q } from "./BaseComponent-CQaDWNO0.js";
|
|
16
|
+
import { U as O, _ as X } from "./index-BZpYmpDy.js";
|
|
17
17
|
import { A as Y, D as Z } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
18
18
|
const ee = { class: "panel-header" }, te = { class: "header-left" }, ae = { class: "pagination-box" }, le = ["disabled"], ie = { class: "page-text" }, ne = ["disabled"], se = { class: "table-wrapper" }, oe = { class: "risk-table" }, re = { style: { "font-weight": "bold", color: "#333" } }, ve = {
|
|
19
19
|
DEFAULT_ICON: Z,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var x=Object.defineProperty,R=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var D=(o,a,n)=>a in o?x(o,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[a]=n,p=(o,a)=>{for(var n in a||(a={}))O.call(a,n)&&D(o,n,a[n]);if(k)for(var n of k(a))M.call(a,n)&&D(o,n,a[n]);return o},f=(o,a)=>R(o,T(a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-
|
|
1
|
+
"use strict";var x=Object.defineProperty,R=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var D=(o,a,n)=>a in o?x(o,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[a]=n,p=(o,a)=>{for(var n in a||(a={}))O.call(a,n)&&D(o,n,a[n]);if(k)for(var n of k(a))M.call(a,n)&&D(o,n,a[n]);return o},f=(o,a)=>R(o,T(a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-BmhMoM4H.cjs"),b=require("./index-77aUdspY.cjs"),V=require("./ele-lin-icon-Dke_1AmT.cjs"),B={class:"panel-header"},F={class:"header-left"},L={class:"pagination-box"},P=["disabled"],q={class:"page-text"},U=["disabled"],w={class:"table-wrapper"},$={class:"risk-table"},W={style:{"font-weight":"bold",color:"#333"}},G={DEFAULT_ICON:V.DEFAULT_ICON,ACTIVE_ICON:V.ACTIVE_ICON,NAME_CN:"风险区域划分",NAME_EN:"Risk Region Table",ORDER:20,PLATFORM:["pc","screen"]},H={title:{value:"风险区域划分",type:"string",label:"标题"},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},titleFontSize:{value:14,type:"number",label:"标题字体大小",min:12,max:24},pageSize:{value:10,type:"number",label:"每页行数",min:5,max:20},linkChannel:{value:"satellite",type:"select",label:"联动频道",options:[{label:"遥感卫星",value:"satellite"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},J=[{name:"北帮-A01",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:12.5,limit:8},{name:"北帮-A02",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:10.8,limit:8},{name:"北帮-A03",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:9.2,limit:8},{name:"西帮-B01",fv:"",fvDeviceName:"",object_id:"",area:"西帮",val:7.6,limit:8},{name:"中央区-C01",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:6.4,limit:8},{name:"西帮-B02",fv:"",fvDeviceName:"",object_id:"",area:"西帮",val:5.8,limit:8},{name:"中央区-C02",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:4.3,limit:10},{name:"南帮-D01",fv:"",fvDeviceName:"",object_id:"",area:"南帮",val:3.2,limit:8},{name:"南帮-D02",fv:"",fvDeviceName:"",object_id:"",area:"南帮",val:2.8,limit:8},{name:"东帮-E01",fv:"",fvDeviceName:"",object_id:"",area:"东帮",val:1.5,limit:15},{name:"东帮-E02",fv:"",fvDeviceName:"",object_id:"",area:"东帮",val:.8,limit:15},{name:"中央区-C03",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:.2,limit:15}],K=["object_id","name","fv","fvDeviceName","area","val","limit"],Q=["mosaic"],X={useAlias:!1,multiObject:!0,source:"mosaic"},Y=200,Z={DEFAULT:G,OPTIONS:H,DATA:J,PARAMS:K,SOURCE:Q,COMMON:X,ITEMS:Y},ee=e.defineComponent(f(p({},Z),{__name:"riskRegionTable",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(o){const a=o;class n extends I.BaseComponent{extractStyles(){var m,d,_,C,E,y,S,h;const t=(m=this.props.conf)==null?void 0:m.options,l=((d=t==null?void 0:t.linkChannel)==null?void 0:d.value)||"satellite",r=((_=t==null?void 0:t.customChannel)==null?void 0:_.value)||"";return{title:((C=t==null?void 0:t.title)==null?void 0:C.value)||"风险区域划分",bgColor:((E=t==null?void 0:t.bgColor)==null?void 0:E.value)||"#ffffff",textColor:((y=t==null?void 0:t.textColor)==null?void 0:y.value)||"#333333",titleFontSize:((S=t==null?void 0:t.titleFontSize)==null?void 0:S.value)||14,pageSize:((h=t==null?void 0:t.pageSize)==null?void 0:h.value)||10,linkChannel:l==="custom"&&r?r:l}}onLinkEvent(t){}}const v=new n(a,"riskRegionTable");v.setupLifecycle();const c=v.getStyle(),s=e.ref(1),g=new Map,j=e.computed(()=>{var i;return((i=a.conf)==null?void 0:i.data)||[]}),N=e.computed(()=>{const i=j.value;return i.length===0&&a.mode==="edit"?[{area:"北帮",val:12.5,limit:8},{area:"北帮",val:10.8,limit:8},{area:"北帮",val:9.2,limit:8},{area:"西帮",val:7.6,limit:8},{area:"中央区",val:6.4,limit:8},{area:"西帮",val:5.8,limit:8},{area:"中央区",val:4.3,limit:10},{area:"南帮",val:3.2,limit:8},{area:"南帮",val:2.8,limit:8},{area:"东帮",val:1.5,limit:15},{area:"东帮",val:.8,limit:15},{area:"中央区",val:.2,limit:15}].map(t=>f(p({},t),{risk:b.getRiskLevel(t.val,t.limit)})):i.map(t=>{const l=t.object_id||t.name||"",r=g.has(l)?g.get(l):Number(t.val)||0,m=Number(t.limit)||8;return{area:t.area||"未知区域",val:r,limit:m,risk:b.getRiskLevel(r,m)}}).sort((t,l)=>l.val-t.val)}),u=e.computed(()=>Math.max(1,Math.ceil(N.value.length/c.value.pageSize))),z=e.computed(()=>{const i=c.value.pageSize,t=(s.value-1)*i;return N.value.slice(t,t+i)}),A=e.computed(()=>({backgroundColor:c.value.bgColor}));return e.watch(u,i=>{s.value>i&&(s.value=1)}),e.onMounted(()=>{v.init()}),e.onUnmounted(()=>{v.cleanup()}),e.watch(()=>a.conf,()=>{s.value=1},{deep:!0}),(i,t)=>(e.openBlock(),e.createElementBlock("div",{class:"risk-region-table",style:e.normalizeStyle(A.value)},[e.createElementVNode("div",B,[e.createElementVNode("div",F,[t[2]||(t[2]=e.createElementVNode("span",{class:"indicator-dot"},null,-1)),e.createElementVNode("span",{class:"panel-title",style:e.normalizeStyle({color:e.unref(c).textColor,fontSize:e.unref(c).titleFontSize+"px"})},e.toDisplayString(e.unref(c).title),5)]),e.createElementVNode("div",L,[e.createElementVNode("button",{class:"page-btn",disabled:s.value<=1,onClick:t[0]||(t[0]=l=>s.value--)},"<",8,P),e.createElementVNode("span",q,e.toDisplayString(s.value)+" / "+e.toDisplayString(u.value),1),e.createElementVNode("button",{class:"page-btn",disabled:s.value>=u.value,onClick:t[1]||(t[1]=l=>s.value++)},">",8,U)])]),e.createElementVNode("div",w,[e.createElementVNode("table",$,[t[3]||(t[3]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"序号"),e.createElementVNode("th",null,"区域"),e.createElementVNode("th",null,"形变速率(mm/yr)"),e.createElementVNode("th",null,"风险等级")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(l,r)=>(e.openBlock(),e.createElementBlock("tr",{key:r,class:e.normalizeClass({"tr-high":l.risk.cls==="risk-high"})},[e.createElementVNode("td",null,e.toDisplayString((s.value-1)*e.unref(c).pageSize+r+1),1),e.createElementVNode("td",W,e.toDisplayString(l.area),1),e.createElementVNode("td",{class:e.normalizeClass(l.risk.cls)},e.toDisplayString(l.val.toFixed(2)),3),e.createElementVNode("td",{class:e.normalizeClass(l.risk.cls)},e.toDisplayString(l.risk.level),3)],2))),128))])])]),e.renderSlot(i.$slots,"default",{},void 0,!0)],4))}})),te=b._export_sfc(ee,[["__scopeId","data-v-1d474a22"]]);exports.default=te;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var w=Object.defineProperty,k=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols,E=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,z=Reflect.get;var L=(l,i,t)=>i in l?w(l,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[i]=t,b=(l,i)=>{for(var t in i||(i={}))M.call(i,t)&&L(l,t,i[t]);if(m)for(var t of m(i))A.call(i,t)&&L(l,t,i[t]);return l},S=(l,i)=>k(l,j(i));var y=(l,i,t)=>z(E(l),t,i);var x=(l,i,t)=>new Promise((u,c)=>{var C=n=>{try{d(t.next(n))}catch(f){c(f)}},h=n=>{try{d(t.throw(n))}catch(f){c(f)}},d=n=>n.done?u(n.value):Promise.resolve(n.value).then(C,h);d((t=t.apply(l,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),g=require("./index-BzWbqJIl.cjs");require("element-plus");const D=require("./EChartComponentBase-D7_ZiE7P.cjs"),F=require("./titleStyle-NSnz6cUg.cjs"),T=require("./install-BvOpNm0Y.cjs"),p=require("./installCanvasRenderer-CyhM1Qpl.cjs"),V=require("./install-DV5cEgNV.cjs"),I=require("./install-CltTFs4e.cjs"),N=require("./install-C8buXQPI.cjs"),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(-104.000000,%20-1128.000000)'%20fill='%23000000'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Z="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(-104.000000,%20-1128.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",B={class:"mix-body"},R=["id"],$={DEFAULT_ICON:q,ACTIVE_ICON:Z,NAME_CN:"桑基图",NAME_EN:"Sankey",ORDER:1,PLATFORM:["pc","screen","mobile"]},U={titleColor:"#111",bgColor:"#fff",labelColor:"#111",radiusSize:8,textSize:12,labelWidth:80,isHideTitle:!1},O=[{fv:"S01",name:"参数一",color:"#4162ff",origin:"总起源",object_id:""},{fv:"S02",name:"参数二",color:"#3bbc6a",origin:"总起源",object_id:""},{fv:"S03",name:"参数三",color:"#e24359",origin:"参数一",object_id:""},{fv:"S04",name:"参数四",color:"#fdcd61",origin:"参数一",object_id:""},{fv:"S05",name:"参数五",color:"#44b4ff",origin:"参数二",object_id:""},{fv:"S06",name:"参数六",color:"#3ba272",origin:"参数二",object_id:""}],P=["name","fv","object_id","color","origin"],W=["mosaic","statistics","calculate"],H={useAlias:!1,multiObject:!1,showBothModes:!0,origin:"总起源",originFv:"",source:"mosaic"},G={DEFAULT:$,OPTIONS:U,DATA:O,PARAMS:P,SOURCE:W,COMMON:H},J=o.defineComponent(S(b({},G),{__name:"sankey",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(l){p.use([V.install,I.install,p.install,N.install,p.install$1,T.install]);const i=l,t={data:[],links:[]};class u extends D.EChartComponentBase{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),labelColor:this.getOptionValue("labelColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),labelWidth:this.getOptionValue("labelWidth",80),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){yield y(u.prototype,this,"init").call(this),this.formatData()})}getChartOption(){return{animation:!0,series:[{type:"sankey",left:20,top:20,right:this.Style.value.labelWidth,bottom:25,emphasis:{focus:"adjacency"},nodeGap:16,layoutIterations:0,data:t.data,links:t.links,avoidLabelOverlap:!1,label:{position:"right",color:this.Style.value.labelColor,fontSize:this.Style.value.textSize,formatter:s=>{var e;return s.name+" "+((e=s.value)!=null?e:0)}},lineStyle:{color:"source",curveness:.5}}]}}getDefaultData(){return O}formatData(){const{data:s,common:e}=this.props.conf;t.data=[],t.links=[];let a="";e.multiObject||(a=g.getObjectId(e,e.useAlias,this.props.uid)),s.forEach(r=>{let v=e.multiObject?g.getObjectId(r,e.useAlias,this.props.uid):a;t.data.push({name:r.name,itemStyle:{color:r.color,borderColor:r.color},fv:r.fv,object_id:v});const _=this.props.mode==="edit"?1:0;t.links.push({source:r.origin,target:r.name,value:r.value||_,fv:r.fv,object_id:v})}),a=g.getObjectId(e,e.useAlias,this.props.uid),t.data.unshift({name:e==null?void 0:e.origin,fv:e==null?void 0:e.originFv,object_id:a})}setSocketData(s){!s||!this.chartObj||(t.data.forEach(e=>{if(!e.fv)return;const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),t.links.forEach(e=>{const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),this.chartObj.setOption(this.getChartOption(),!0))}}const c=new u(i,"sankey");c.setupLifecycle();const C=c.getStyle(),h=c.getEchartId(),d=i.conf,n=o.computed(()=>F.generateTitleStyle(i.conf.options));return(f,s)=>(o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(C).bgColor,borderRadius:`${o.unref(C).radiusSize}px`})},[o.createElementVNode("div",{class:"mix-title",style:o.normalizeStyle(n.value)},o.toDisplayString(o.unref(d).caption||o.unref(d).name),5),o.createElementVNode("div",B,[o.createElementVNode("div",{class:"w-full h-full",id:o.unref(h)},null,8,R)]),o.renderSlot(f.$slots,"default",{},void 0,!0)],4))}})),K=g._export_sfc(J,[["__scopeId","data-v-3028b174"]]);exports.default=K;
|
|
1
|
+
"use strict";var w=Object.defineProperty,k=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols,E=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,z=Reflect.get;var L=(l,i,t)=>i in l?w(l,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[i]=t,b=(l,i)=>{for(var t in i||(i={}))M.call(i,t)&&L(l,t,i[t]);if(m)for(var t of m(i))A.call(i,t)&&L(l,t,i[t]);return l},S=(l,i)=>k(l,j(i));var y=(l,i,t)=>z(E(l),t,i);var x=(l,i,t)=>new Promise((u,c)=>{var C=n=>{try{d(t.next(n))}catch(f){c(f)}},h=n=>{try{d(t.throw(n))}catch(f){c(f)}},d=n=>n.done?u(n.value):Promise.resolve(n.value).then(C,h);d((t=t.apply(l,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),g=require("./index-77aUdspY.cjs");require("element-plus");const D=require("./EChartComponentBase-D9EUh4BZ.cjs"),F=require("./titleStyle-NSnz6cUg.cjs"),T=require("./install-BvOpNm0Y.cjs"),p=require("./installCanvasRenderer-CyhM1Qpl.cjs"),V=require("./install-DV5cEgNV.cjs"),I=require("./install-CltTFs4e.cjs"),N=require("./install-C8buXQPI.cjs"),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(-104.000000,%20-1128.000000)'%20fill='%23000000'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Z="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(-104.000000,%20-1128.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",B={class:"mix-body"},R=["id"],$={DEFAULT_ICON:q,ACTIVE_ICON:Z,NAME_CN:"桑基图",NAME_EN:"Sankey",ORDER:1,PLATFORM:["pc","screen","mobile"]},U={titleColor:"#111",bgColor:"#fff",labelColor:"#111",radiusSize:8,textSize:12,labelWidth:80,isHideTitle:!1},O=[{fv:"S01",name:"参数一",color:"#4162ff",origin:"总起源",object_id:""},{fv:"S02",name:"参数二",color:"#3bbc6a",origin:"总起源",object_id:""},{fv:"S03",name:"参数三",color:"#e24359",origin:"参数一",object_id:""},{fv:"S04",name:"参数四",color:"#fdcd61",origin:"参数一",object_id:""},{fv:"S05",name:"参数五",color:"#44b4ff",origin:"参数二",object_id:""},{fv:"S06",name:"参数六",color:"#3ba272",origin:"参数二",object_id:""}],P=["name","fv","object_id","color","origin"],W=["mosaic","statistics","calculate"],H={useAlias:!1,multiObject:!1,showBothModes:!0,origin:"总起源",originFv:"",source:"mosaic"},G={DEFAULT:$,OPTIONS:U,DATA:O,PARAMS:P,SOURCE:W,COMMON:H},J=o.defineComponent(S(b({},G),{__name:"sankey",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(l){p.use([V.install,I.install,p.install,N.install,p.install$1,T.install]);const i=l,t={data:[],links:[]};class u extends D.EChartComponentBase{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),labelColor:this.getOptionValue("labelColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),labelWidth:this.getOptionValue("labelWidth",80),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){yield y(u.prototype,this,"init").call(this),this.formatData()})}getChartOption(){return{animation:!0,series:[{type:"sankey",left:20,top:20,right:this.Style.value.labelWidth,bottom:25,emphasis:{focus:"adjacency"},nodeGap:16,layoutIterations:0,data:t.data,links:t.links,avoidLabelOverlap:!1,label:{position:"right",color:this.Style.value.labelColor,fontSize:this.Style.value.textSize,formatter:s=>{var e;return s.name+" "+((e=s.value)!=null?e:0)}},lineStyle:{color:"source",curveness:.5}}]}}getDefaultData(){return O}formatData(){const{data:s,common:e}=this.props.conf;t.data=[],t.links=[];let a="";e.multiObject||(a=g.getObjectId(e,e.useAlias,this.props.uid)),s.forEach(r=>{let v=e.multiObject?g.getObjectId(r,e.useAlias,this.props.uid):a;t.data.push({name:r.name,itemStyle:{color:r.color,borderColor:r.color},fv:r.fv,object_id:v});const _=this.props.mode==="edit"?1:0;t.links.push({source:r.origin,target:r.name,value:r.value||_,fv:r.fv,object_id:v})}),a=g.getObjectId(e,e.useAlias,this.props.uid),t.data.unshift({name:e==null?void 0:e.origin,fv:e==null?void 0:e.originFv,object_id:a})}setSocketData(s){!s||!this.chartObj||(t.data.forEach(e=>{if(!e.fv)return;const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),t.links.forEach(e=>{const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),this.chartObj.setOption(this.getChartOption(),!0))}}const c=new u(i,"sankey");c.setupLifecycle();const C=c.getStyle(),h=c.getEchartId(),d=i.conf,n=o.computed(()=>F.generateTitleStyle(i.conf.options));return(f,s)=>(o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(C).bgColor,borderRadius:`${o.unref(C).radiusSize}px`})},[o.createElementVNode("div",{class:"mix-title",style:o.normalizeStyle(n.value)},o.toDisplayString(o.unref(d).caption||o.unref(d).name),5),o.createElementVNode("div",B,[o.createElementVNode("div",{class:"w-full h-full",id:o.unref(h)},null,8,R)]),o.renderSlot(f.$slots,"default",{},void 0,!0)],4))}})),K=g._export_sfc(J,[["__scopeId","data-v-3028b174"]]);exports.default=K;
|
|
@@ -27,9 +27,9 @@ var y = (o, i, t) => new Promise((d, r) => {
|
|
|
27
27
|
c((t = t.apply(o, i)).next());
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as z, computed as T, openBlock as V, createElementBlock as I, normalizeStyle as _, unref as u, createElementVNode as g, toDisplayString as Z, renderSlot as N } from "vue";
|
|
30
|
-
import {
|
|
30
|
+
import { O as h, _ as $ } from "./index-BZpYmpDy.js";
|
|
31
31
|
import "element-plus";
|
|
32
|
-
import { E as B } from "./EChartComponentBase-
|
|
32
|
+
import { E as B } from "./EChartComponentBase-i76OGL3z.js";
|
|
33
33
|
import { g as R } from "./titleStyle-BT5GlpAb.js";
|
|
34
34
|
import { i as U } from "./install-DwcX1eNi.js";
|
|
35
35
|
import { u as W, i as H, a as P } from "./installCanvasRenderer-oDYkyVFy.js";
|