mixdashboards 1.0.74 → 1.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseComponent-BmhMoM4H.cjs +1 -0
- package/dist/{BaseComponent-NnwLq7Cf.js → BaseComponent-CQaDWNO0.js} +10 -10
- package/dist/{EChartComponentBase-D7_ZiE7P.cjs → EChartComponentBase-D9EUh4BZ.cjs} +1 -1
- package/dist/{EChartComponentBase-C3gcATBZ.js → EChartComponentBase-i76OGL3z.js} +2 -2
- package/dist/{EmergencyPlanPanel-0EfbQlQm.js → EmergencyPlanPanel-B9S3Ru5-.js} +1 -1
- package/dist/{EmergencyPlanPanel-XDtQc5aN.cjs → EmergencyPlanPanel-BiAHvTfh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-fbBtPeVt.cjs → HistoryPlanDialog-BU4GayEm.cjs} +1 -1
- package/dist/{HistoryPlanDialog-ihGqWXNI.js → HistoryPlanDialog-CbbeFm-i.js} +1 -1
- package/dist/{MonitoringMap-DysFrw3B.js → MonitoringMap-B6tXBdvK.js} +2 -2
- package/dist/{MonitoringMap-UT2OL3ca.cjs → MonitoringMap-FGDoA0fw.cjs} +1 -1
- package/dist/{UniverSheet-DeZ-y5mH.cjs → UniverSheet-D7y2pceH.cjs} +1 -1
- package/dist/{UniverSheet-CMWL98B8.js → UniverSheet-D8sflrTb.js} +2 -2
- package/dist/{accelerationChart-BGjzOc4I.cjs → accelerationChart-DTlwSA0N.cjs} +1 -1
- package/dist/{accelerationChart-JNRxAqU5.js → accelerationChart-bch4O3t-.js} +9 -9
- package/dist/{actionItem-DnrNafUu.js → actionItem-Cw67YwsR.js} +2 -2
- package/dist/{actionItem-DDlL4pxR.cjs → actionItem-cdsgUvaC.cjs} +1 -1
- package/dist/{alarmLevelChart-B4TglthF.cjs → alarmLevelChart-BMjTLxB5.cjs} +1 -1
- package/dist/{alarmLevelChart-D4ZPyGyd.js → alarmLevelChart-BynSRHG2.js} +2 -2
- package/dist/{alertTable-WmivR3n_.cjs → alertTable-3VhkUZSf.cjs} +1 -1
- package/dist/{alertTable-IwL3PIbe.js → alertTable-CiwuaydQ.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-zcElLG44.cjs → aliasObjectSelectorDemo-BLoecZkV.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-DCcqetww.js → aliasObjectSelectorDemo-DfdRxb4I.js} +1 -1
- package/dist/{annualRainfallChart-CNqrXKJZ.js → annualRainfallChart-CHcr4-0D.js} +2 -2
- package/dist/{annualRainfallChart-DspMrDxt.cjs → annualRainfallChart-DKR-A_PT.cjs} +1 -1
- package/dist/{aqi-B1bcKY5p.cjs → aqi-D7VqP1QE.cjs} +1 -1
- package/dist/{aqi-CdGE9-CD.js → aqi-Gu-pAovO.js} +4 -4
- package/dist/{aqiIndass-CuKfMaYn.js → aqiIndass-Bjj6n1aj.js} +18 -18
- package/dist/{aqiIndass-BZpPo1tj.cjs → aqiIndass-nfYUZ3UM.cjs} +1 -1
- package/dist/{areaDeformCurve-bNNNS8Cb.cjs → areaDeformCurve-fpGWmq05.cjs} +1 -1
- package/dist/{areaDeformCurve-Chn4CE8w.js → areaDeformCurve-nwlcUBDv.js} +2 -2
- package/dist/arrayCard-TfcgLrHv.js +139 -0
- package/dist/arrayCard-UoDqAGbN.cjs +1 -0
- package/dist/{audio-YTfr7Lqf.js → audio-BYgGYoEr.js} +2 -2
- package/dist/{audio-BeYg08W5.cjs → audio-DdUv9Ot-.cjs} +1 -1
- package/dist/bar-CkBXc7t1.cjs +2 -0
- package/dist/{bar-YhAAV2al.js → bar-SfGiFl1r.js} +75 -67
- package/dist/{bmp-Uj7Bu61U.js → bmp-BbtdzIrI.js} +2 -2
- package/dist/{bmp-vWIH5Cu7.cjs → bmp-CY-Hb2x1.cjs} +1 -1
- package/dist/{box-Cdzw27uU.cjs → box-B4C_mirv.cjs} +1 -1
- package/dist/{box-C8RIfuID.js → box-CV41cJuX.js} +2 -2
- package/dist/{chartConfigPanel-DLa3heKy.js → chartConfigPanel-D650rSn7.js} +1 -1
- package/dist/{chartConfigPanel-D3voTkdQ.cjs → chartConfigPanel-DBlqAbbH.cjs} +1 -1
- package/dist/{circleBar-Dc_qd4gk.cjs → circleBar-DkV7xPBl.cjs} +1 -1
- package/dist/{circleBar-DUSP-iMF.js → circleBar-U3iXMQr5.js} +2 -2
- package/dist/{clock-0USfNfTc.cjs → clock-CjgMeOhp.cjs} +1 -1
- package/dist/{clock-Dk1zjBcJ.js → clock-zKVUU8pu.js} +2 -2
- package/dist/clt-BsIA-YPQ.js +301 -0
- package/dist/clt-DwI8i7zI.cjs +1 -0
- package/dist/cmc-BX9ichBB.cjs +1 -0
- package/dist/cmc-CgpHejR2.js +275 -0
- package/dist/{cmp-D4ZO7mz7.js → cmp-CS34lG7V.js} +2 -2
- package/dist/{cmp-BPM8lMqg.cjs → cmp-CTqtxzo4.cjs} +1 -1
- package/dist/{conclusionCard-BYR-fH4f.js → conclusionCard-N6pA6Q9P.js} +2 -2
- package/dist/{conclusionCard-BVHHtpxH.cjs → conclusionCard-wvtJmV_8.cjs} +1 -1
- package/dist/{controlList-DsEyes9v.cjs → controlList-BUAMdHA3.cjs} +1 -1
- package/dist/{controlList-DYV1wgUY.js → controlList-Zz5ABe5b.js} +2 -2
- package/dist/{controlRecordList-j0pBrQiU.cjs → controlRecordList-CMR4y_Ml.cjs} +1 -1
- package/dist/{controlRecordList-CBGpB41d.js → controlRecordList-Dx0zj7js.js} +2 -2
- package/dist/controlRecordListAPP-ZDCKmz_8.cjs +1 -0
- package/dist/controlRecordListAPP-bL9oqWzQ.js +569 -0
- package/dist/{crd-C8IqmHc6.cjs → crd-8tMwNlgx.cjs} +1 -1
- package/dist/{crd-Di7EfiY1.js → crd-DZPpD6XY.js} +2 -2
- package/dist/{ctrBtn-BzMHJHA9.js → ctrBtn-6Ql9ulTr.js} +3 -3
- package/dist/{ctrBtn-Cj-AqUKM.cjs → ctrBtn-eCu0UDtW.cjs} +1 -1
- package/dist/{ctrSet-DMkuRDFI.js → ctrSet-BwFVH1Mk.js} +51 -50
- package/dist/{ctrSet-CnDBng-I.cjs → ctrSet-pX-zVivo.cjs} +1 -1
- package/dist/{ctrSwitch-BRfl35Aw.cjs → ctrSwitch-D95SI-aJ.cjs} +1 -1
- package/dist/{ctrSwitch-FJgD05b0.js → ctrSwitch-b6hHf4QF.js} +3 -3
- package/dist/{dataManagement-CXbeNggN.cjs → dataManagement-DubA1TV1.cjs} +1 -1
- package/dist/{dataManagement-CQoqc9Rh.js → dataManagement-VucRLCK4.js} +2 -2
- package/dist/{dataReport-l2SE8HZx.js → dataReport-CALIw14D.js} +2 -2
- package/dist/{dataReport-BkIDOCdC.cjs → dataReport-CkF5J7X1.cjs} +1 -1
- package/dist/{dataTable-jf6qXfJJ.js → dataTable-C1rBH_p9.js} +1 -1
- package/dist/{dataTable-BdttKfHG.cjs → dataTable-C2q_CX5D.cjs} +1 -1
- package/dist/{datetime-eht4XkmD.js → datetime-Cq8scz5Q.js} +2 -2
- package/dist/{datetime-BH9orUUf.cjs → datetime-TBTeWqlf.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-CF_MN7sO.cjs → deepClusterSlipSurface-CFaxRVmM.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-D2d52L50.js → deepClusterSlipSurface-Cm50wbjv.js} +13 -13
- package/dist/{deepDataMatrix-DqbCqz8d.cjs → deepDataMatrix-CAYSav3X.cjs} +1 -1
- package/dist/{deepDataMatrix-DY1WmgGR.js → deepDataMatrix-DyStA98d.js} +13 -13
- package/dist/{deepDisplacement3D-D3-KOmef.cjs → deepDisplacement3D-B3Iju2KK.cjs} +1 -1
- package/dist/{deepDisplacement3D-CuVVhd0X.js → deepDisplacement3D-Bat-Wc3i.js} +2 -2
- package/dist/{deepDisplacementChart-BwBojI9h.cjs → deepDisplacementChart-C-Tr4DdI.cjs} +1 -1
- package/dist/{deepDisplacementChart-DzikjpBz.cjs → deepDisplacementChart-CX9ALM89.cjs} +1 -1
- package/dist/{deepDisplacementChart-C_3eHTmR.js → deepDisplacementChart-CYMpNu_W.js} +3 -3
- package/dist/{deepDisplacementChart-DFosjAQL.js → deepDisplacementChart-D5rHoC9r.js} +26 -26
- package/dist/{deepDisplacementView-gJdi6U9B.cjs → deepDisplacementView-DTSsODJQ.cjs} +1 -1
- package/dist/{deepDisplacementView-BNQaheci.js → deepDisplacementView-DnjwQmEW.js} +1 -1
- package/dist/{deepNodeTemperatureChart-oMknBT7e.cjs → deepNodeTemperatureChart-C9NRJ49Y.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-C5d-tyOA.js → deepNodeTemperatureChart-CLKg72UA.js} +2 -2
- package/dist/{deepTangentAngleChart-C7b7sEab.cjs → deepTangentAngleChart-C9aFSFrD.cjs} +1 -1
- package/dist/{deepTangentAngleChart-C35d0nBR.js → deepTangentAngleChart-DklHYHhm.js} +2 -2
- package/dist/{deepTemperatureField-BnWHpVPm.cjs → deepTemperatureField-CXBL4_LS.cjs} +1 -1
- package/dist/{deepTemperatureField-DbGy0vHS.js → deepTemperatureField-CcnVGgbf.js} +3 -3
- package/dist/{deepTrendChart-DdCYjiWZ.js → deepTrendChart-De7ebpk4.js} +2 -2
- package/dist/{deepTrendChart-D676owsq.cjs → deepTrendChart-OGW08BX-.cjs} +1 -1
- package/dist/{deviceOnlineStatus-DSuaeFZj.cjs → deviceOnlineStatus-DarcMtY4.cjs} +1 -1
- package/dist/{deviceOnlineStatus-BH-2-UBD.js → deviceOnlineStatus-_3Txb8Tg.js} +2 -2
- package/dist/{deviceStatus-ySE9suGE.cjs → deviceStatus-BiJw8rnz.cjs} +1 -1
- package/dist/{deviceStatus-CxjbfqGK.js → deviceStatus-CL6E-pQ0.js} +12 -12
- package/dist/{displacementDataTable-DwutxypE.cjs → displacementDataTable-DmAqr-JK.cjs} +1 -1
- package/dist/{displacementDataTable-CAYYafN7.js → displacementDataTable-tKtGe2xd.js} +17 -17
- package/dist/{displacementTrajectoryChart-zya-qu9n.cjs → displacementTrajectoryChart-DG2YdSqq.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-ClUAsle_.js → displacementTrajectoryChart-Dh6oPB0p.js} +31 -31
- package/dist/{displacementTrendChart-xqe9LMp8.js → displacementTrendChart-BHORe0qO.js} +40 -40
- package/dist/{displacementTrendChart-DZj52qRD.cjs → displacementTrendChart-CT140vXG.cjs} +1 -1
- package/dist/{dxf-Cmr9xmL0.cjs → dxf-CVa4Vfm3.cjs} +1 -1
- package/dist/{dxf-tZgpovsn.js → dxf-CjcHSJq-.js} +2 -2
- package/dist/{dzc-C0VMyvsH.js → dzc-DDXNSuie.js} +6 -6
- package/dist/{dzc-BwCEpLKp.cjs → dzc-DK16oTVj.cjs} +1 -1
- package/dist/{emergencyPlan-CQtYRB5n.cjs → emergencyPlan-D0AMuD-3.cjs} +1 -1
- package/dist/{emergencyPlan-j1icRflR.js → emergencyPlan-Vim4E6h7.js} +3 -3
- package/dist/evn-CdMN8gIC.js +165 -0
- package/dist/evn-D2mdSoFB.cjs +1 -0
- package/dist/{evolutionChart-q9UtSs9r.cjs → evolutionChart-I8XVW05I.cjs} +1 -1
- package/dist/{evolutionChart-C1rPjVsB.js → evolutionChart-P0l6P0Bc.js} +3 -3
- package/dist/{fileViewer-ZO55zvWU.cjs → fileViewer-D7sAA8-W.cjs} +1 -1
- package/dist/{fileViewer-Bj4FYg5G.js → fileViewer-DvntGv0b.js} +2 -2
- package/dist/{filterBar-CIYpcc9y.js → filterBar-8gex5oR-.js} +2 -2
- package/dist/{filterBar-D7js_Q7g.cjs → filterBar-GSTji96g.cjs} +1 -1
- package/dist/{fireCombustionCurve-DEHjb7Lp.js → fireCombustionCurve-B3jAhOft.js} +3 -3
- package/dist/{fireCombustionCurve-CiVXjt9E.cjs → fireCombustionCurve-DrMmHf3N.cjs} +1 -1
- package/dist/{fireFilterBar-BzgnlY5d.js → fireFilterBar-CH6iK0Xg.js} +2 -2
- package/dist/{fireFilterBar-CkQU9Yaf.cjs → fireFilterBar-Dy9DcHij.cjs} +1 -1
- package/dist/{fireHistoryTable-BoAArvjx.js → fireHistoryTable-CHxHqPs0.js} +2 -2
- package/dist/{fireHistoryTable-JCY4nLos.cjs → fireHistoryTable-n6L3juWp.cjs} +1 -1
- package/dist/{gag-DCGVulGC.js → gag-BsO4kmp1.js} +2 -2
- package/dist/{gag-CrUeBa30.cjs → gag-BzjuwBvY.cjs} +1 -1
- package/dist/gasStationList-7JzUcISs.js +1325 -0
- package/dist/gasStationList-QwqTDEAG.cjs +1 -0
- package/dist/{geo3dViewer-BSAjBg2m.cjs → geo3dViewer-Cf-jHpvF.cjs} +1 -1
- package/dist/{geo3dViewer-Du775tJ7.js → geo3dViewer-doEpUC_J.js} +3 -3
- package/dist/{glbModel-2uTNL367.js → glbModel-BgFIj_es.js} +2 -2
- package/dist/{glbModel-Cm1M6hko.cjs → glbModel-C6L--3dO.cjs} +1 -1
- package/dist/{globalObjectSelector-CEpO2o2w.js → globalObjectSelector-CdfiXRjg.js} +1 -1
- package/dist/{globalObjectSelector-W_YToM6x.cjs → globalObjectSelector-P_irB0rv.cjs} +1 -1
- package/dist/{gnssFilterBar-BSHEfiyz.cjs → gnssFilterBar-CIwyv2yc.cjs} +1 -1
- package/dist/{gnssFilterBar-DZYOL5nC.js → gnssFilterBar-DPNshMIx.js} +2 -2
- package/dist/{gnssHistoryTable-naChmXHT.js → gnssHistoryTable-C7x4-Tpp.js} +2 -2
- package/dist/{gnssHistoryTable-Ct98Vz6i.cjs → gnssHistoryTable-j5FL6oYs.cjs} +1 -1
- package/dist/{gnssMapView-DouWOPLF.js → gnssMapView-BWcS4hqj.js} +4 -4
- package/dist/{gnssMapView-CCW4_-Sn.cjs → gnssMapView-_VaJWBcE.cjs} +2 -2
- package/dist/{gnssSectionProfile-hzXQ4KzJ.cjs → gnssSectionProfile-DGbTO7lV.cjs} +1 -1
- package/dist/{gnssSectionProfile-Be-THvQP.js → gnssSectionProfile-hpyiGI-6.js} +2 -2
- package/dist/{gnssTimeSeriesChart-CbMxKxjG.cjs → gnssTimeSeriesChart-CNT6xaNs.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-DoMBz4zf.js → gnssTimeSeriesChart-rL9oG1ly.js} +2 -2
- package/dist/{gnssXYTrajectory-Bg2B89Vw.js → gnssXYTrajectory-B1LZAepw.js} +2 -2
- package/dist/{gnssXYTrajectory-BNwqQna4.cjs → gnssXYTrajectory-CwAjhPRc.cjs} +1 -1
- package/dist/{grd-XTVPofQw.js → grd-BLab9IY0.js} +26 -26
- package/dist/{grd-C-x23C0E.cjs → grd-rJXqEimt.cjs} +1 -1
- package/dist/{grdIndass-CYawTr5K.js → grdIndass-gGrZ7gRV.js} +2 -2
- package/dist/{grdIndass-h7STZwba.cjs → grdIndass-niY4UOwz.cjs} +1 -1
- package/dist/{grg-DMRsgNoC.cjs → grg-C1L5yeyY.cjs} +1 -1
- package/dist/{grg-BZPHOdr_.js → grg-Dnro7bLg.js} +6 -6
- package/dist/{gridview-C_Lqcw3n.js → gridview-BhjWlD0J.js} +2 -2
- package/dist/{gridview-BAqXV-TI.cjs → gridview-DxUsv2ny.cjs} +1 -1
- package/dist/{groundwaterFilterBar-RcVBt_vt.cjs → groundwaterFilterBar-C-2e7S04.cjs} +1 -1
- package/dist/{groundwaterFilterBar-Dq216QFO.js → groundwaterFilterBar-bNhTkX1C.js} +2 -2
- package/dist/{groundwaterProfileChart-D31MpfdN.cjs → groundwaterProfileChart-BxKGPuOe.cjs} +2 -2
- package/dist/{groundwaterProfileChart-7LN3wfLM.js → groundwaterProfileChart-dhzmwfwz.js} +3 -3
- package/dist/{groundwaterTimeCurve-CJgvt43Z.js → groundwaterTimeCurve-BtzP6icm.js} +3 -3
- package/dist/{groundwaterTimeCurve-C65gdinn.cjs → groundwaterTimeCurve-CTQPlTUr.cjs} +1 -1
- package/dist/{groupCard-BpjcijZW.js → groupCard-D00ElZoy.js} +63 -53
- package/dist/{groupCard-DNOawK4_.cjs → groupCard-D4gdaVqR.cjs} +1 -1
- package/dist/{headerBar-Bnv8ylmr.js → headerBar-DEHj8fJr.js} +2 -2
- package/dist/{headerBar-CNWKR951.cjs → headerBar-MFw1W0qa.cjs} +1 -1
- package/dist/{history-DdkBOj8L.js → history-BRkb914v.js} +22 -22
- package/dist/{history-xZTq1lUB.cjs → history-D1R2RAZQ.cjs} +1 -1
- package/dist/index-77aUdspY.cjs +612 -0
- package/dist/{index-D5BukPPY.js → index-BZpYmpDy.js} +3511 -3043
- package/dist/{insarDeformChart-DIvxdDkN.cjs → insarDeformChart-5EVWIkpL.cjs} +1 -1
- package/dist/{insarDeformChart-BKgJHbFe.js → insarDeformChart-pbOnnoN-.js} +2 -2
- package/dist/{insarImageViewer-qI5GBqkU.js → insarImageViewer-D3bbQA6g.js} +2 -2
- package/dist/{insarImageViewer-Bray3mKg.cjs → insarImageViewer-DQJBN4YM.cjs} +1 -1
- package/dist/{kds-BibvGW1n.cjs → kds-D5seJB3L.cjs} +1 -1
- package/dist/{kds-C1Chb0fa.js → kds-gTJOwHbM.js} +2 -2
- package/dist/{kpiCard-tnfcEXOn.cjs → kpiCard-Bz-fg6sL.cjs} +1 -1
- package/dist/{kpiCard-KuMZjN55.js → kpiCard-Cx6VNK6L.js} +2 -2
- package/dist/{landslideMap-B4vzymkZ.js → landslideMap-5erIcZo7.js} +3 -3
- package/dist/{landslideMap-DlMSDibx.cjs → landslideMap-D7_QpwmM.cjs} +1 -1
- package/dist/{landslideWarning-DtOMb7U_.cjs → landslideWarning-C3FZqrxT.cjs} +1 -1
- package/dist/{landslideWarning-BYlaEzUr.js → landslideWarning-CzaddgWf.js} +14 -14
- package/dist/{layerTabs-DQm_b2aH.cjs → layerTabs-Dc1Xb11W.cjs} +1 -1
- package/dist/{layerTabs-BG0gTvo8.js → layerTabs-DqbOykS2.js} +2 -2
- package/dist/{leaflet-src-DVXepwmU.js → leaflet-src-BY2SMh9y.js} +1 -1
- package/dist/{leaflet-src-qPfpknMO.cjs → leaflet-src-Brb8KUL5.cjs} +1 -1
- package/dist/{lerc-Z6kWrF7V.js → lerc-Chm_GVte.js} +2 -2
- package/dist/{lerc-CITZZDb7.cjs → lerc-DGuyYCKG.cjs} +1 -1
- package/dist/{lin-CW8Q8u-z.cjs → lin-8x2j8aGa.cjs} +1 -1
- package/dist/{lin-zJYjIE2f.js → lin-tqtSA5ci.js} +5 -5
- package/dist/{linIndass-27mWriLs.js → linIndass-DHFymSVI.js} +10 -10
- package/dist/{linIndass-CQaikC7I.cjs → linIndass-Dxo_bzrZ.cjs} +1 -1
- package/dist/{lst-Cu-ohx2m.cjs → lst-BV6EbDPs.cjs} +1 -1
- package/dist/{lst-BqXNkXrQ.js → lst-BejIuO0f.js} +2 -2
- package/dist/{manualEntry-zj6TEXL7.cjs → manualEntry-Bt4cs6kn.cjs} +1 -1
- package/dist/{manualEntry-BPEmSok7.js → manualEntry-DObI0OAq.js} +2 -2
- package/dist/{mapBackground-BhcSOZ_h.js → mapBackground-Cuym5Dqr.js} +3 -3
- package/dist/{mapBackground-CRI873EC.cjs → mapBackground-oVOBK3zr.cjs} +1 -1
- package/dist/{mappingList-DGgPl4t4.cjs → mappingList-BEWAqLd4.cjs} +1 -1
- package/dist/{mappingList-CvG8EIIC.js → mappingList-Dzq0zMfs.js} +2 -2
- package/dist/{markdownViewer-D9JqGyeI.js → markdownViewer-Bz50jkb6.js} +2 -2
- package/dist/{markdownViewer-DvbUv7kn.cjs → markdownViewer-V5b1xhPh.cjs} +1 -1
- package/dist/{mix-control-modal-DaRWnX3S.js → mix-control-modal-DzVLdO3S.js} +1 -1
- package/dist/{mix-control-modal-DpAs-GHi.cjs → mix-control-modal-I6DqPm04.cjs} +1 -1
- package/dist/{mixGrid-CHne1dXO.cjs → mixGrid-_ur8VKLD.cjs} +1 -1
- package/dist/{mixGrid-FBiMFT4V.js → mixGrid-tVSdKPms.js} +2 -2
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BUQ-RZ3L.cjs +1 -0
- package/dist/mixiotObjectListApi-D5vNNWgT.js +212 -0
- package/dist/{mjpegCamera-D32gJ5oN.cjs → mjpegCamera-CjWe8BEK.cjs} +1 -1
- package/dist/{mjpegCamera-D2quqZNc.js → mjpegCamera-DnAPpFJU.js} +2 -2
- package/dist/{monitorAlert-D4qszzHh.js → monitorAlert-B-fTYPn6.js} +15 -15
- package/dist/{monitorAlert-CxC81qAu.cjs → monitorAlert-qmVSQ1lc.cjs} +1 -1
- package/dist/{monitorData-DnWDsgTT.js → monitorData-Dopc660L.js} +7 -7
- package/dist/{monitorData-CVkL2ukF.cjs → monitorData-YhGSUq3H.cjs} +1 -1
- package/dist/{monitorSpeedChart-CKxwWE0i.cjs → monitorSpeedChart-Brj_YHsO.cjs} +1 -1
- package/dist/{monitorSpeedChart-CHpQsrDt.js → monitorSpeedChart-Dsvr_QPB.js} +1 -1
- package/dist/{mxa-UU7rQDd8.cjs → mxa-BzdI7BLB.cjs} +1 -1
- package/dist/{mxa-Cbnwonqc.js → mxa-D4WkyBYZ.js} +7 -7
- package/dist/{myValue-DzARZpdg.cjs → myValue-C0tq-asC.cjs} +1 -1
- package/dist/{myValue-DBxx1jtk.js → myValue-DYtBtOJ2.js} +2 -2
- package/dist/{myValueList-BVbeDsWn.cjs → myValueList-BJctRTNd.cjs} +1 -1
- package/dist/{myValueList-BbtPVr5y.js → myValueList-Ddpn1S68.js} +2 -2
- package/dist/objectList-Csf0hVwo.cjs +1 -0
- package/dist/objectList-G4wXFDwe.js +2040 -0
- package/dist/{objectListAPP-CYxy9UjL.js → objectListAPP-BrmUj4At.js} +49 -51
- package/dist/objectListAPP-UZN4iuTn.cjs +1 -0
- package/dist/{photo-DPOhq559.js → photo-BEPeK7U8.js} +2 -2
- package/dist/{photo-BRMACjXO.cjs → photo-BYH_qg5O.cjs} +1 -1
- package/dist/{pie-B7HO9F24.cjs → pie-B57zDxJV.cjs} +1 -1
- package/dist/{pie-CUqy6VGE.js → pie-CEVKe1lL.js} +2 -2
- package/dist/{placeholder-D-BpaT59.cjs → placeholder-BezBEQGo.cjs} +1 -1
- package/dist/{placeholder-DsyLsZM5.js → placeholder-Bwv3VyEg.js} +1 -1
- package/dist/{pressBtn-IefW25bT.js → pressBtn-1LCNz2gE.js} +33 -33
- package/dist/{pressBtn-DZz7PZ7o.cjs → pressBtn-CJZTyY8I.cjs} +1 -1
- package/dist/{processTable-Bm2HnUrZ.js → processTable-CHDazqah.js} +2 -2
- package/dist/{processTable-kVFr2ntb.cjs → processTable-HtDeg1by.cjs} +1 -1
- package/dist/{progressBar-00yP_jc2.cjs → progressBar-BP4SmPZK.cjs} +1 -1
- package/dist/{progressBar-C7RKpdcE.js → progressBar-C3NcWUrS.js} +2 -2
- package/dist/{progressCircle-BBkwMkI0.js → progressCircle-Bo9-Qva_.js} +48 -48
- package/dist/{progressCircle-CzqibMlZ.cjs → progressCircle-CDqK1iFt.cjs} +1 -1
- package/dist/{qrcode-DaHlY7Vv.js → qrcode-VmYwvClG.js} +2 -2
- package/dist/{qrcode-4NUAsx0h.cjs → qrcode-qD6tOm4F.cjs} +1 -1
- package/dist/{raceBar-WhOgwnlP.js → raceBar-DR2-luKW.js} +2 -2
- package/dist/{raceBar-BVsHg94d.cjs → raceBar-uAs91hyk.cjs} +1 -1
- package/dist/{rad-BlEn2Yx1.js → rad-1Jy1KDzt.js} +2 -2
- package/dist/{rad-sMtJPs8L.cjs → rad-D7-YZJNO.cjs} +1 -1
- package/dist/{radarMapViewer-C1_FFYFi.js → radarMapViewer-ByQXe0Mu.js} +2 -2
- package/dist/{radarMapViewer-CzhHFpRX.cjs → radarMapViewer-KPhNE5XX.cjs} +1 -1
- package/dist/{rainfallFilterBar-Bt2TbXV6.js → rainfallFilterBar-C1obotPf.js} +2 -2
- package/dist/{rainfallFilterBar-F7DU_nqK.cjs → rainfallFilterBar-CVQpQp82.cjs} +1 -1
- package/dist/{rainfallTimeCurve-C5tBf1lx.js → rainfallTimeCurve-B2rEx3T_.js} +3 -3
- package/dist/{rainfallTimeCurve-DaXSW7dI.cjs → rainfallTimeCurve-DU2tt-Ls.cjs} +1 -1
- package/dist/{rangeLin-Cr4NRYc9.cjs → rangeLin-COsJkCky.cjs} +1 -1
- package/dist/{rangeLin-Bral8Ev4.js → rangeLin-CdfUCFQr.js} +8 -8
- package/dist/{realtimeEvolutionMap-CCisvZz8.cjs → realtimeEvolutionMap-B7GT8MOq.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-xJwuPatp.js → realtimeEvolutionMap-aR63xPW_.js} +2 -2
- package/dist/{regionBar-C8myvRfQ.cjs → regionBar-BYF7IaGA.cjs} +1 -1
- package/dist/{regionBar-D1iKcs2-.js → regionBar-DB-secNe.js} +2 -2
- package/dist/{request-C-rUicMg.js → request-CBsG4ipL.js} +1 -1
- package/dist/{request-Cxljxwu9.cjs → request-CvdHjG34.cjs} +1 -1
- package/dist/{retainer1-CC6TO-vq.cjs → retainer1-1CFk4InO.cjs} +1 -1
- package/dist/{retainer1-BvzeaTtU.js → retainer1-CMzTlM5Z.js} +3 -3
- package/dist/{retainer2-BeakFCgo.js → retainer2-DW4ewYX7.js} +3 -3
- package/dist/{retainer2-CmdgkB1y.cjs → retainer2-DliOH7it.cjs} +1 -1
- package/dist/{retainerRecordList-C7lDliOb.js → retainerRecordList-Bcm6leuD.js} +254 -275
- package/dist/retainerRecordList-DV7Tx39d.cjs +1 -0
- package/dist/retainerRecordListAPP-BDRwp8T3.js +1219 -0
- package/dist/retainerRecordListAPP-CJ-u0Tj2.cjs +1 -0
- package/dist/{ringTopN-BaKY-79s.js → ringTopN-Duq0pzm_.js} +2 -2
- package/dist/{ringTopN-Wfvu1-jE.cjs → ringTopN-rd2UwH9f.cjs} +1 -1
- package/dist/{riskRegionTable-ovBbwMl2.js → riskRegionTable-BE_ggcEV.js} +2 -2
- package/dist/{riskRegionTable-C7ee9wQX.cjs → riskRegionTable-CbPB8mlY.cjs} +1 -1
- package/dist/{sankey-BmWOGLSZ.cjs → sankey-BqBn6_rx.cjs} +1 -1
- package/dist/{sankey-K5BLueeX.js → sankey-CnKm9PZe.js} +2 -2
- package/dist/{scd-CMVoKjwE.js → scd-BaBLoem8.js} +456 -449
- package/dist/scd-BgJ5P7co.cjs +1 -0
- package/dist/{sideMenu-BbiMVHw1.cjs → sideMenu-BgiQL2P1.cjs} +1 -1
- package/dist/{sideMenu-L_dYXVgD.js → sideMenu-CUal1UQY.js} +2 -2
- package/dist/{slopeStability-WUcwG1vB.js → slopeStability-B9YbQLCE.js} +25 -25
- package/dist/{slopeStability-BWVxuRRV.cjs → slopeStability-Y2tDzJeh.cjs} +1 -1
- package/dist/{speedCurve-uwPuIJp0.js → speedCurve-DERBMtE1.js} +2 -2
- package/dist/{speedCurve-QTXe81e1.cjs → speedCurve-Kll2RRJ8.cjs} +1 -1
- package/dist/{stressFilterBar-DcqWlqsx.cjs → stressFilterBar-BGI4gVfE.cjs} +1 -1
- package/dist/{stressFilterBar-CnFNp7BR.js → stressFilterBar-CHRWFnpP.js} +2 -2
- package/dist/{stressTimeCurve-C-qycuZ2.cjs → stressTimeCurve-DE5KiXEt.cjs} +1 -1
- package/dist/{stressTimeCurve-C3r3LUBt.js → stressTimeCurve-hrlqSYS3.js} +3 -3
- package/dist/{swiper-wWrsPbDA.cjs → swiper-CnGllhBQ.cjs} +1 -1
- package/dist/{swiper-JShIvM0E.js → swiper-DNHC412s.js} +2 -2
- package/dist/{terminalConfigList-DVhEvcTB.js → terminalConfigList-BlHAsyCm.js} +2 -2
- package/dist/{terminalConfigList-nQqB1W5s.cjs → terminalConfigList-C45EANO4.cjs} +1 -1
- package/dist/{terminalList-BkMuHXZw.cjs → terminalList-CNI3_FGb.cjs} +1 -1
- package/dist/{terminalList-wAz6t4Ib.js → terminalList-UGjkhyf4.js} +2 -2
- package/dist/{terminalListAPP-CePxWgcL.cjs → terminalListAPP-6fPXF-yJ.cjs} +1 -1
- package/dist/{terminalListAPP-DuLN2OVq.js → terminalListAPP-CIJZMdxI.js} +2 -2
- package/dist/{textbox-DxXuhIyj.js → textbox-BD_LQ0EN.js} +2 -2
- package/dist/{textbox-BBi-Lg1Z.cjs → textbox-yNPnOaan.cjs} +1 -1
- package/dist/{timeQueryBar-BCTeL04F.cjs → timeQueryBar-3qiV0IV9.cjs} +1 -1
- package/dist/{timeQueryBar-DtngkLJX.js → timeQueryBar-B-uPtN25.js} +1 -1
- package/dist/{timeSeries-DJZnExBA.cjs → timeSeries-BTUuojvj.cjs} +1 -1
- package/dist/{timeSeries-CrdyAYs2.js → timeSeries-DdQI4oZU.js} +3 -3
- package/dist/{timeSeriesCurve-8_n0JJyf.cjs → timeSeriesCurve-Cj_FbK4x.cjs} +1 -1
- package/dist/{timeSeriesCurve-8_exdGlQ.js → timeSeriesCurve-TGXshTzl.js} +3 -3
- package/dist/{toggleBtn-DExYfMvi.js → toggleBtn-BMxqm5WG.js} +2 -2
- package/dist/{toggleBtn-B6dJ5cAt.cjs → toggleBtn-BXcQfnTB.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-B2fwoe-I.cjs → trajectoryConfigPanel-CqoKO0hL.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Ce1SoMtw.js → trajectoryConfigPanel-uRLWdXUb.js} +1 -1
- package/dist/{trajectoryScatter-h32teAQ0.js → trajectoryScatter-DPE4cC8N.js} +2 -2
- package/dist/{trajectoryScatter-CVLEXMPO.cjs → trajectoryScatter-Dph8PSdN.cjs} +1 -1
- package/dist/{universalConfigPanel-CxbrIc2Z.js → universalConfigPanel-CI1CuBmr.js} +1 -1
- package/dist/{universalConfigPanel-cRzJmx3l.cjs → universalConfigPanel-Db-pC67o.cjs} +1 -1
- package/dist/{universalTable-BssAi-QH.js → universalTable-DMrgtBrw.js} +2 -2
- package/dist/{universalTable-V604pFVr.cjs → universalTable-dQObEQog.cjs} +1 -1
- package/dist/{video-BjmIbrRS.js → video-DEhLie80.js} +2 -2
- package/dist/{video-B8JeGpBc.cjs → video-DbsKQhVD.cjs} +1 -1
- package/dist/{videoMonitor-CVkFwlZq.js → videoMonitor-BS6_LYUb.js} +12 -12
- package/dist/{videoMonitor-B6FzkJlS.cjs → videoMonitor-DLBtivXO.cjs} +1 -1
- package/dist/vlu-DXk_wQf-.cjs +1 -0
- package/dist/vlu-DaSjPY3I.js +149 -0
- package/dist/{warningOverview-DDOm2wwB.js → warningOverview-CKCEs_Jj.js} +3 -3
- package/dist/{warningOverview-4M-WX3Ob.cjs → warningOverview-DAUlXzr0.cjs} +1 -1
- package/dist/{weather-BGrOQFPM.cjs → weather-BAI0IWNH.cjs} +1 -1
- package/dist/{weather-CETxcsJS.js → weather-XUj6pFwM.js} +2 -2
- package/dist/{windLin-B3YXltBn.js → windLin-Bt4q2eUT.js} +2 -2
- package/dist/{windLin-B6uEtUnB.cjs → windLin-C9dsCT1w.cjs} +1 -1
- package/package.json +1 -1
- package/dist/BaseComponent-CaCkjmmb.cjs +0 -1
- package/dist/arrayCard-BYZWRop3.cjs +0 -1
- package/dist/arrayCard-CVVWnZDk.js +0 -131
- package/dist/bar-1K14ZPKy.cjs +0 -2
- package/dist/clt-BCHpLoab.cjs +0 -1
- package/dist/clt-Ba9Ov5WY.js +0 -296
- package/dist/cmc-CdDCboSm.cjs +0 -1
- package/dist/cmc-CsVB4uz3.js +0 -277
- package/dist/controlRecordListAPP-BktJCkFK.cjs +0 -1
- package/dist/controlRecordListAPP-CSt8rFZX.js +0 -502
- package/dist/evn-B2F6pbqY.js +0 -158
- package/dist/evn-B6WNZ0pv.cjs +0 -1
- package/dist/gasStationList-CN2y3zri.cjs +0 -1
- package/dist/gasStationList-CifrfkH0.js +0 -1239
- package/dist/index-BzWbqJIl.cjs +0 -612
- package/dist/mixiotObjectListApi-BwIQvSS-.js +0 -67
- package/dist/mixiotObjectListApi-ClirV2tM.cjs +0 -1
- package/dist/objectList-Cpu0yqsK.js +0 -1740
- package/dist/objectList-D5E8PU66.cjs +0 -1
- package/dist/objectListAPP-Cr4uoJuN.cjs +0 -1
- package/dist/retainerRecordList-C9xVt3Yk.cjs +0 -1
- package/dist/retainerRecordListAPP-BRmG7UnF.cjs +0 -1
- package/dist/retainerRecordListAPP-Cjip5JHS.js +0 -1070
- package/dist/scd-CCNgUI2Q.cjs +0 -1
- package/dist/vlu-CHHDngO6.js +0 -142
- package/dist/vlu-Dv1vt9r0.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var X=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var _=(r,n,c)=>n in r?X(r,n,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[n]=c,x=(r,n)=>{for(var c in n||(n={}))te.call(n,c)&&_(r,c,n[c]);if(V)for(var c of V(n))oe.call(n,c)&&_(r,c,n[c]);return r},M=(r,n)=>Z(r,ee(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),le=require("./BaseComponent-
|
|
1
|
+
"use strict";var X=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var _=(r,n,c)=>n in r?X(r,n,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[n]=c,x=(r,n)=>{for(var c in n||(n={}))te.call(n,c)&&_(r,c,n[c]);if(V)for(var c of V(n))oe.call(n,c)&&_(r,c,n[c]);return r},M=(r,n)=>Z(r,ee(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),le=require("./BaseComponent-BmhMoM4H.cjs"),ae=require("./index-77aUdspY.cjs"),w=require("./ele-dateTime-icon-BgZ2_KWW.cjs"),ne={key:0,class:"digital-clock"},ce={key:1,class:"analog-clock-wrapper"},re=["width","height"],ie=["r","stroke","stroke-width"],ue=["r","fill"],se=["x1","y1","x2","y2","stroke"],de={key:0},me=["x","y","fill","font-size"],he=["x2","y2","stroke","stroke-width"],pe=["x2","y2","stroke","stroke-width"],ve=["x2","y2","stroke","stroke-width"],ge=["r","fill"],ke={DEFAULT_ICON:w.DEFAULT_ICON,ACTIVE_ICON:w.ACTIVE_ICON,NAME_CN:"钟表",NAME_EN:"Clock",ORDER:5,PLATFORM:["pc","screen","mobile"]},ye={clockType:{value:"analog",type:"select",label:"时钟类型",options:[{label:"模拟时钟",value:"analog"},{label:"数字时钟",value:"digital"}]},timeFormat:{value:"24",type:"select",label:"时间格式",options:[{label:"24小时制",value:"24"},{label:"12小时制",value:"12"}]},showDate:{value:!0,type:"checkbox",label:"显示日期"},showSecondHand:{value:!0,type:"checkbox",label:"显示秒针"},showNumbers:{value:!0,type:"checkbox",label:"显示数字"},digitalFontSize:32,digitalColor:"#1f2937",digitalDateSize:14,digitalDateColor:"#6b7280",clockSize:200,backgroundColor:"#ffffff",borderColor:"#374151",borderWidth:2,tickColor:"#374151",numberColor:"#1f2937",numberSize:14,hourHandColor:"#374151",minuteHandColor:"#374151",secondHandColor:"#ef4444",centerDotColor:"#374151"},fe=[],Ce=[],Se=[],be={},Ve={DEFAULT:ke,OPTIONS:ye,DATA:fe,PARAMS:Ce,SOURCE:Se,COMMON:be},_e=e.defineComponent(M(x({},Ve),{__name:"clock",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(r){const n=r;class c extends le.BaseComponent{constructor(){super(...arguments),this.timer=null}extractStyles(){return{clockType:this.getOptionValue("clockType","analog"),timeFormat:this.getOptionValue("timeFormat","24"),showDate:this.getOptionValue("showDate",!0),showSecondHand:this.getOptionValue("showSecondHand",!0),showNumbers:this.getOptionValue("showNumbers",!0),clockSize:this.getOptionValue("clockSize",200),backgroundColor:this.getOptionValue("backgroundColor","#ffffff"),borderColor:this.getOptionValue("borderColor","#374151"),borderWidth:this.getOptionValue("borderWidth",2),tickColor:this.getOptionValue("tickColor","#374151"),numberColor:this.getOptionValue("numberColor","#1f2937"),numberSize:this.getOptionValue("numberSize",14),hourHandColor:this.getOptionValue("hourHandColor","#374151"),minuteHandColor:this.getOptionValue("minuteHandColor","#374151"),secondHandColor:this.getOptionValue("secondHandColor","#ef4444"),centerDotColor:this.getOptionValue("centerDotColor","#374151"),digitalFontSize:this.getOptionValue("digitalFontSize",32),digitalColor:this.getOptionValue("digitalColor","#1f2937"),digitalDateSize:this.getOptionValue("digitalDateSize",14),digitalDateColor:this.getOptionValue("digitalDateColor","#6b7280")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),this.timer&&clearInterval(this.timer),p(),this.timer=setInterval(p,1e3)}cleanup(){this.timer&&clearInterval(this.timer)}}const v=new c(n,"clock");v.setupLifecycle();const o=v.getStyle(),g=e.ref(""),h=e.ref(""),d=e.ref(0),s=e.ref(0),m=e.ref(0),N=e.computed(()=>({width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})),D=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.clockType)||"analog"}),O=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.timeFormat)||"24"}),k=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showDate)!==!1}),E=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showSecondHand)!==!1}),H=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showNumbers)!==!1}),u=e.computed(()=>{var a;const t=(a=o.value)==null?void 0:a.clockSize,l=Number(t);return typeof l=="number"&&!Number.isNaN(l)&&l>0?l:200}),i=e.computed(()=>{const t=u.value;return typeof t=="number"&&!Number.isNaN(t)?t*.45:90}),z=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.backgroundColor)||"#ffffff"}),I=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderColor)||"#374151"}),y=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderWidth)||2}),B=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.tickColor)||"#374151"}),T=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberColor)||"#1f2937"}),F=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberSize)||14}),P=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.hourHandColor)||"#374151"}),$=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.minuteHandColor)||"#374151"}),A=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.secondHandColor)||"#ef4444"}),L=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.centerDotColor)||"#374151"}),f=e.computed(()=>i.value*.5),C=e.computed(()=>i.value*.7),S=e.computed(()=>i.value*.8),W=e.computed(()=>Math.max(3,u.value*.015)),R=e.computed(()=>Math.max(2,u.value*.01)),q=e.computed(()=>Math.max(1,u.value*.005)),U=e.computed(()=>Math.max(3,u.value*.015)),j=e.computed(()=>({width:`${u.value}px`,height:`${u.value}px`,maxWidth:"100%",maxHeight:"100%"})),Y=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalFontSize)||32}px`,color:((l=o.value)==null?void 0:l.digitalColor)||"#1f2937",fontWeight:"bold",fontFamily:"monospace"}}),b=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalDateSize)||14}px`,color:((l=o.value)==null?void 0:l.digitalDateColor)||"#6b7280",fontFamily:"monospace",marginTop:"8px"}}),p=()=>{const t=new Date;d.value=t.getHours(),s.value=t.getMinutes(),m.value=t.getSeconds();let l=d.value,a="";O.value==="12"&&(a=l>=12?" PM":" AM",l=l%12,l===0&&(l=12)),g.value=`${l.toString().padStart(2,"0")}:${s.value.toString().padStart(2,"0")}:${m.value.toString().padStart(2,"0")}${a}`;const G=t.getFullYear(),J=(t.getMonth()+1).toString().padStart(2,"0"),K=t.getDate().toString().padStart(2,"0"),Q=["周日","周一","周二","周三","周四","周五","周六"];h.value=`${G}-${J}-${K} ${Q[t.getDay()]}`};return e.onMounted(()=>p()),(t,l)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(N.value),class:"mix-component"},[D.value==="digital"?(e.openBlock(),e.createElementBlock("div",ne,[e.createElementVNode("div",{class:"time-display",style:e.normalizeStyle(Y.value)},e.toDisplayString(g.value),5),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",{class:"analog-clock",style:e.normalizeStyle(j.value)},[(e.openBlock(),e.createElementBlock("svg",{width:u.value,height:u.value,viewBox:"0 0 200 200",class:"clock-svg"},[e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value,stroke:I.value,"stroke-width":y.value,fill:"none"},null,8,ie),e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value-y.value/2,fill:z.value},null,8,ue),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("g",{key:`hour-${a}`},[e.createElementVNode("line",{x1:100+(i.value-15)*Math.cos((a*30-90)*Math.PI/180),y1:100+(i.value-15)*Math.sin((a*30-90)*Math.PI/180),x2:100+(i.value-5)*Math.cos((a*30-90)*Math.PI/180),y2:100+(i.value-5)*Math.sin((a*30-90)*Math.PI/180),stroke:B.value,"stroke-width":"2"},null,8,se)])),64)),H.value?(e.openBlock(),e.createElementBlock("g",de,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("text",{key:`number-${a}`,x:100+(i.value-25)*Math.cos((a*30-90)*Math.PI/180),y:100+(i.value-25)*Math.sin((a*30-90)*Math.PI/180),"text-anchor":"middle","dominant-baseline":"central",fill:T.value,"font-size":F.value,"font-weight":"bold"},e.toDisplayString(a),9,me)),64))])):e.createCommentVNode("",!0),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+f.value*Math.cos((d.value*30+s.value*.5-90)*Math.PI/180),y2:100+f.value*Math.sin((d.value*30+s.value*.5-90)*Math.PI/180),stroke:P.value,"stroke-width":W.value,"stroke-linecap":"round"},null,8,he),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+C.value*Math.cos((s.value*6-90)*Math.PI/180),y2:100+C.value*Math.sin((s.value*6-90)*Math.PI/180),stroke:$.value,"stroke-width":R.value,"stroke-linecap":"round"},null,8,pe),E.value?(e.openBlock(),e.createElementBlock("line",{key:1,x1:"100",y1:"100",x2:100+S.value*Math.cos((m.value*6-90)*Math.PI/180),y2:100+S.value*Math.sin((m.value*6-90)*Math.PI/180),stroke:A.value,"stroke-width":q.value,"stroke-linecap":"round"},null,8,ve)):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:"100",cy:"100",r:U.value,fill:L.value},null,8,ge)],8,re))],4),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),xe=ae._export_sfc(_e,[["__scopeId","data-v-d8289d01"]]);exports.default=xe;
|
|
@@ -11,8 +11,8 @@ var z = (s, n, i) => n in s ? ie(s, n, { enumerable: !0, configurable: !0, writa
|
|
|
11
11
|
return s;
|
|
12
12
|
}, I = (s, n) => se(s, re(n));
|
|
13
13
|
import { defineComponent as de, ref as m, computed as t, onMounted as he, openBlock as u, createElementBlock as c, normalizeStyle as p, createElementVNode as d, toDisplayString as y, createCommentVNode as k, Fragment as F, renderList as P, renderSlot as ve } from "vue";
|
|
14
|
-
import { B as me } from "./BaseComponent-
|
|
15
|
-
import { _ as pe } from "./index-
|
|
14
|
+
import { B as me } from "./BaseComponent-CQaDWNO0.js";
|
|
15
|
+
import { _ as pe } from "./index-BZpYmpDy.js";
|
|
16
16
|
import { A as ge, D as fe } from "./ele-dateTime-icon-BEGFlwID.js";
|
|
17
17
|
const ye = {
|
|
18
18
|
key: 0,
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
var K = Object.defineProperty, Q = Object.defineProperties;
|
|
2
|
+
var X = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var w = Object.getOwnPropertySymbols;
|
|
4
|
+
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var $ = (c, o, r) => o in c ? K(c, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : c[o] = r, D = (c, o) => {
|
|
6
|
+
for (var r in o || (o = {}))
|
|
7
|
+
Y.call(o, r) && $(c, r, o[r]);
|
|
8
|
+
if (w)
|
|
9
|
+
for (var r of w(o))
|
|
10
|
+
Z.call(o, r) && $(c, r, o[r]);
|
|
11
|
+
return c;
|
|
12
|
+
}, H = (c, o) => Q(c, X(o));
|
|
13
|
+
var N = (c, o, r) => new Promise((V, s) => {
|
|
14
|
+
var E = (m) => {
|
|
15
|
+
try {
|
|
16
|
+
p(r.next(m));
|
|
17
|
+
} catch (j) {
|
|
18
|
+
s(j);
|
|
19
|
+
}
|
|
20
|
+
}, T = (m) => {
|
|
21
|
+
try {
|
|
22
|
+
p(r.throw(m));
|
|
23
|
+
} catch (j) {
|
|
24
|
+
s(j);
|
|
25
|
+
}
|
|
26
|
+
}, p = (m) => m.done ? V(m.value) : Promise.resolve(m.value).then(E, T);
|
|
27
|
+
p((r = r.apply(c, o)).next());
|
|
28
|
+
});
|
|
29
|
+
import { ElInput as ee, ElInputNumber as te, ElRadioGroup as oe, ElRadio as le, ElButton as ae } from "element-plus/es";
|
|
30
|
+
import "element-plus/es/components/base/style/css";
|
|
31
|
+
import "element-plus/es/components/button/style/css";
|
|
32
|
+
import "element-plus/es/components/radio-group/style/css";
|
|
33
|
+
import "element-plus/es/components/radio/style/css";
|
|
34
|
+
import "element-plus/es/components/input-number/style/css";
|
|
35
|
+
import "element-plus/es/components/input/style/css";
|
|
36
|
+
import { defineComponent as re, computed as P, ref as ie, openBlock as y, createElementBlock as C, normalizeStyle as S, unref as d, createElementVNode as g, toDisplayString as _, Fragment as R, renderList as F, createBlock as O, withCtx as v, createTextVNode as b, createCommentVNode as k, createVNode as z, renderSlot as ne } from "vue";
|
|
37
|
+
import { B as ce } from "./BaseComponent-CQaDWNO0.js";
|
|
38
|
+
import { a as A, h as M, _ as se } from "./index-BZpYmpDy.js";
|
|
39
|
+
import { g as ue } from "./titleStyle-BT5GlpAb.js";
|
|
40
|
+
import { ElMessage as x } from "element-plus";
|
|
41
|
+
import { A as de, D as pe } from "./ele-clt-icon-DuU4Q401.js";
|
|
42
|
+
const me = { class: "item-val" }, fe = { class: "w-full flex justify-end" }, ye = {
|
|
43
|
+
DEFAULT_ICON: pe,
|
|
44
|
+
ACTIVE_ICON: de,
|
|
45
|
+
NAME_CN: "项目采集",
|
|
46
|
+
NAME_EN: "Project",
|
|
47
|
+
ORDER: 1,
|
|
48
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
49
|
+
}, _e = {
|
|
50
|
+
bgColor: "#fff",
|
|
51
|
+
projectColor: "#999",
|
|
52
|
+
projectSize: 14,
|
|
53
|
+
paramColor: "#333",
|
|
54
|
+
labelWidth: 64,
|
|
55
|
+
paramSize: 12,
|
|
56
|
+
paramHeight: 32,
|
|
57
|
+
radiusSize: 8,
|
|
58
|
+
type: {
|
|
59
|
+
value: "project",
|
|
60
|
+
type: "radio",
|
|
61
|
+
option: [
|
|
62
|
+
{ value: "project", label: "component.collect.projectType" },
|
|
63
|
+
{ value: "object", label: "component.collect.objectType" }
|
|
64
|
+
],
|
|
65
|
+
label: "component.collect.collectType"
|
|
66
|
+
},
|
|
67
|
+
isHideTitle: !1,
|
|
68
|
+
titleAlign: "left",
|
|
69
|
+
titleWeight: "bold",
|
|
70
|
+
titleBgColor: "transparent",
|
|
71
|
+
titleBorderType: "none",
|
|
72
|
+
titleBorderColor: "#cccccc",
|
|
73
|
+
titleBorderWidth: 1,
|
|
74
|
+
titlePaddingH: 8,
|
|
75
|
+
titlePaddingV: 4
|
|
76
|
+
}, he = [{ project_id: "", object_id: "" }], ve = ["project_id", "object_id"], ge = { DEFAULT: ye, OPTIONS: _e, DATA: he, PARAMS: ve, COMMON: {} }, be = /* @__PURE__ */ re(H(D({}, ge), {
|
|
77
|
+
__name: "clt",
|
|
78
|
+
props: {
|
|
79
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
80
|
+
mode: { type: String, default: "edit" },
|
|
81
|
+
uid: { type: String, default: "" },
|
|
82
|
+
theme: { type: String, default: "light" }
|
|
83
|
+
},
|
|
84
|
+
setup(c) {
|
|
85
|
+
const o = c;
|
|
86
|
+
class r extends ce {
|
|
87
|
+
extractStyles() {
|
|
88
|
+
return {
|
|
89
|
+
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
90
|
+
projectColor: this.getOptionValue("projectColor", "#999"),
|
|
91
|
+
projectSize: this.getOptionValue("projectSize", 14),
|
|
92
|
+
paramColor: this.getOptionValue("paramColor", "#333"),
|
|
93
|
+
labelWidth: this.getOptionValue("labelWidth", 64),
|
|
94
|
+
paramSize: this.getOptionValue("paramSize", 12),
|
|
95
|
+
paramHeight: this.getOptionValue("paramHeight", 32),
|
|
96
|
+
radiusSize: this.getOptionValue("radiusSize", 4),
|
|
97
|
+
isHideTitle: this.getOptionValue("isHideTitle", !1),
|
|
98
|
+
type: this.getOptionValue("type", "project")
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
init() {
|
|
102
|
+
return N(this, null, function* () {
|
|
103
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), j();
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
const V = new r(o, "clt");
|
|
108
|
+
V.setupLifecycle();
|
|
109
|
+
const s = V.getStyle(), E = o.conf, T = P(() => ue(o.conf.options)), p = ie([{ name: "离线项目", data: [{ name: "采集项", type: "Integer", unit: "℃", value: "" }] }]);
|
|
110
|
+
let m = 0;
|
|
111
|
+
const j = () => N(null, null, function* () {
|
|
112
|
+
const { data: l } = o.conf;
|
|
113
|
+
p.value = [];
|
|
114
|
+
const u = l.filter((f) => f.project_id).map((f) => f.project_id);
|
|
115
|
+
if (!u.length) return;
|
|
116
|
+
const e = ++m, a = {
|
|
117
|
+
where_in: JSON.stringify([["uid", u.join(",")]])
|
|
118
|
+
}, { result: i } = yield A.post("get_collect_list", a);
|
|
119
|
+
if (e !== m) return;
|
|
120
|
+
const t = i == null ? void 0 : i.data;
|
|
121
|
+
Array.isArray(t) && t.length > 0 && (p.value = t.map((f) => ({
|
|
122
|
+
name: f.name,
|
|
123
|
+
uid: f.uid,
|
|
124
|
+
object_id: f.object_id,
|
|
125
|
+
data: W(f.script)
|
|
126
|
+
})));
|
|
127
|
+
}), W = (l) => {
|
|
128
|
+
const u = [];
|
|
129
|
+
return l.forEach((e) => {
|
|
130
|
+
u.push({
|
|
131
|
+
name: e.label_loc,
|
|
132
|
+
type: e.type,
|
|
133
|
+
unit: e.unit,
|
|
134
|
+
key: e.key
|
|
135
|
+
});
|
|
136
|
+
}), u;
|
|
137
|
+
}, B = P(() => {
|
|
138
|
+
let l = !0;
|
|
139
|
+
return p.value.forEach((u) => {
|
|
140
|
+
u.data.forEach((e) => {
|
|
141
|
+
(e.value || e.value === 0) && (l = !1);
|
|
142
|
+
});
|
|
143
|
+
}), l;
|
|
144
|
+
}), L = () => {
|
|
145
|
+
o.mode !== "edit" && (s.value.type === "object" ? G() : q());
|
|
146
|
+
}, q = () => {
|
|
147
|
+
const l = [], u = M.getUser();
|
|
148
|
+
p.value.forEach((e) => {
|
|
149
|
+
const a = {};
|
|
150
|
+
if (e.data.forEach((t) => {
|
|
151
|
+
(t.value || t.value === 0) && (a[t.key] = ["Integer", "Float"].includes(t.type) ? Number(t.value) : t.type === "Bool" ? !!t.value : t.value);
|
|
152
|
+
}), !Object.keys(a).length) return;
|
|
153
|
+
const i = {
|
|
154
|
+
name: e.name,
|
|
155
|
+
value: a,
|
|
156
|
+
collect_id: e.uid,
|
|
157
|
+
collector: u.name
|
|
158
|
+
};
|
|
159
|
+
l.push(A.post("add_collect_value_without_object", i));
|
|
160
|
+
}), Promise.all(l).then((e) => {
|
|
161
|
+
let a = !0;
|
|
162
|
+
e.forEach((i) => {
|
|
163
|
+
i.code !== 200 && (a = !1, x.error(i.msg));
|
|
164
|
+
}), a && x.success("操作成功");
|
|
165
|
+
});
|
|
166
|
+
}, G = () => {
|
|
167
|
+
const l = [], u = M.getUser();
|
|
168
|
+
p.value.forEach((e) => {
|
|
169
|
+
const a = {};
|
|
170
|
+
if (e.data.forEach((t) => {
|
|
171
|
+
(t.value || t.value === 0) && (a[t.key] = ["Integer", "Float"].includes(t.type) ? Number(t.value) : t.type === "Bool" ? !!t.value : t.value);
|
|
172
|
+
}), !Object.keys(a).length) return;
|
|
173
|
+
const i = {
|
|
174
|
+
name: e.name,
|
|
175
|
+
value: a,
|
|
176
|
+
collect_id: e.uid,
|
|
177
|
+
object_id: e.object_id || o.uid,
|
|
178
|
+
collector: u.name
|
|
179
|
+
};
|
|
180
|
+
l.push(A.post("add_collect_value", i));
|
|
181
|
+
}), Promise.all(l).then((e) => {
|
|
182
|
+
let a = !0;
|
|
183
|
+
e.forEach((i) => {
|
|
184
|
+
i.code !== 200 && (a = !1, x.error(i.msg));
|
|
185
|
+
}), a && x.success("操作成功");
|
|
186
|
+
});
|
|
187
|
+
};
|
|
188
|
+
return (l, u) => {
|
|
189
|
+
const e = ee, a = te, i = le, t = oe, f = ae;
|
|
190
|
+
return y(), C("div", {
|
|
191
|
+
class: "mix-component",
|
|
192
|
+
style: S({ backgroundColor: d(s).bgColor, borderRadius: `${d(s).radiusSize}px` })
|
|
193
|
+
}, [
|
|
194
|
+
g("div", {
|
|
195
|
+
class: "mix-title",
|
|
196
|
+
style: S(T.value)
|
|
197
|
+
}, _(d(E).caption || d(E).name), 5),
|
|
198
|
+
g("div", {
|
|
199
|
+
class: "mix-body",
|
|
200
|
+
style: S({ height: d(s).isHideTitle ? "100%" : "calc(100% - 42px)" })
|
|
201
|
+
}, [
|
|
202
|
+
(y(!0), C(R, null, F(p.value, (I, U) => (y(), C("div", { key: U }, [
|
|
203
|
+
g("div", {
|
|
204
|
+
class: "item-title",
|
|
205
|
+
style: S({ fontSize: `${d(s).projectSize}px`, color: d(s).projectColor })
|
|
206
|
+
}, _(I.name), 5),
|
|
207
|
+
(y(!0), C(R, null, F(I.data, (n, J) => (y(), C("div", {
|
|
208
|
+
class: "item-wrap",
|
|
209
|
+
key: `${U}_${J}`
|
|
210
|
+
}, [
|
|
211
|
+
g("div", {
|
|
212
|
+
class: "item-item",
|
|
213
|
+
style: S({
|
|
214
|
+
width: `${d(s).labelWidth}px`,
|
|
215
|
+
fontSize: `${d(s).paramSize}px`,
|
|
216
|
+
color: d(s).paramColor,
|
|
217
|
+
height: `${d(s).paramHeight}px`
|
|
218
|
+
})
|
|
219
|
+
}, _(n.name) + ": ", 5),
|
|
220
|
+
g("div", me, [
|
|
221
|
+
n.type === "String" ? (y(), O(e, {
|
|
222
|
+
key: 0,
|
|
223
|
+
type: "text",
|
|
224
|
+
modelValue: n.value,
|
|
225
|
+
"onUpdate:modelValue": (h) => n.value = h
|
|
226
|
+
}, {
|
|
227
|
+
suffix: v(() => [
|
|
228
|
+
b(_(n.unit), 1)
|
|
229
|
+
]),
|
|
230
|
+
_: 2
|
|
231
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : k("", !0),
|
|
232
|
+
n.type === "Integer" ? (y(), O(a, {
|
|
233
|
+
key: 1,
|
|
234
|
+
style: { width: "100%" },
|
|
235
|
+
modelValue: n.value,
|
|
236
|
+
"onUpdate:modelValue": (h) => n.value = h,
|
|
237
|
+
precision: 0,
|
|
238
|
+
controls: !1
|
|
239
|
+
}, {
|
|
240
|
+
suffix: v(() => [
|
|
241
|
+
b(_(n.unit), 1)
|
|
242
|
+
]),
|
|
243
|
+
_: 2
|
|
244
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : k("", !0),
|
|
245
|
+
n.type === "Float" ? (y(), O(a, {
|
|
246
|
+
key: 2,
|
|
247
|
+
style: { width: "100%" },
|
|
248
|
+
modelValue: n.value,
|
|
249
|
+
"onUpdate:modelValue": (h) => n.value = h,
|
|
250
|
+
controls: !1
|
|
251
|
+
}, {
|
|
252
|
+
suffix: v(() => [
|
|
253
|
+
b(_(n.unit), 1)
|
|
254
|
+
]),
|
|
255
|
+
_: 2
|
|
256
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : k("", !0),
|
|
257
|
+
n.type === "Bool" ? (y(), O(t, {
|
|
258
|
+
key: 3,
|
|
259
|
+
value: n.value,
|
|
260
|
+
"onUpdate:value": (h) => n.value = h
|
|
261
|
+
}, {
|
|
262
|
+
default: v(() => [
|
|
263
|
+
z(i, { value: 1 }, {
|
|
264
|
+
default: v(() => [
|
|
265
|
+
b(_(l.$t("common.yes")), 1)
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
}),
|
|
269
|
+
z(i, { value: 0 }, {
|
|
270
|
+
default: v(() => [
|
|
271
|
+
b(_(l.$t("common.no")), 1)
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
})
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
}, 8, ["value", "onUpdate:value"])) : k("", !0)
|
|
278
|
+
])
|
|
279
|
+
]))), 128))
|
|
280
|
+
]))), 128)),
|
|
281
|
+
g("div", fe, [
|
|
282
|
+
z(f, {
|
|
283
|
+
type: B.value ? "default" : "primary",
|
|
284
|
+
disabled: B.value,
|
|
285
|
+
onClick: L
|
|
286
|
+
}, {
|
|
287
|
+
default: v(() => [
|
|
288
|
+
b(_(l.$t("common.confirm")), 1)
|
|
289
|
+
]),
|
|
290
|
+
_: 1
|
|
291
|
+
}, 8, ["type", "disabled"])
|
|
292
|
+
])
|
|
293
|
+
], 4),
|
|
294
|
+
ne(l.$slots, "default", {}, void 0, !0)
|
|
295
|
+
], 4);
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
})), Ue = /* @__PURE__ */ se(be, [["__scopeId", "data-v-c54bd4ad"]]);
|
|
299
|
+
export {
|
|
300
|
+
Ue as default
|
|
301
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var A=Object.defineProperty,U=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var B=(s,l,n)=>l in s?A(s,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[l]=n,x=(s,l)=>{for(var n in l||(l={}))M.call(l,n)&&B(s,n,l[n]);if(k)for(var n of k(l))P.call(l,n)&&B(s,n,l[n]);return s},O=(s,l)=>U(s,$(l));var V=(s,l,n)=>new Promise((v,u)=>{var S=m=>{try{p(n.next(m))}catch(_){u(_)}},b=m=>{try{p(n.throw(m))}catch(_){u(_)}},p=m=>m.done?v(m.value):Promise.resolve(m.value).then(S,b);p((n=n.apply(s,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),F=require("./BaseComponent-BmhMoM4H.cjs"),g=require("./index-77aUdspY.cjs"),H=require("./titleStyle-NSnz6cUg.cjs"),C=require("element-plus"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),R={class:"item-val"},L={class:"w-full flex justify-end"},W={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"项目采集",NAME_EN:"Project",ORDER:1,PLATFORM:["pc","screen","mobile"]},G={bgColor:"#fff",projectColor:"#999",projectSize:14,paramColor:"#333",labelWidth:64,paramSize:12,paramHeight:32,radiusSize:8,type:{value:"project",type:"radio",option:[{value:"project",label:"component.collect.projectType"},{value:"object",label:"component.collect.objectType"}],label:"component.collect.collectType"},isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},J=[{project_id:"",object_id:""}],K=["project_id","object_id"],Q={DEFAULT:W,OPTIONS:G,DATA:J,PARAMS:K,COMMON:{}},X=e.defineComponent(O(x({},Q),{__name:"clt",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(s){const l=s;class n extends F.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),projectColor:this.getOptionValue("projectColor","#999"),projectSize:this.getOptionValue("projectSize",14),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){return V(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme(),_()})}}const v=new n(l,"clt");v.setupLifecycle();const u=v.getStyle(),S=l.conf,b=e.computed(()=>H.generateTitleStyle(l.conf.options)),p=e.ref([{name:"离线项目",data:[{name:"采集项",type:"Integer",unit:"℃",value:""}]}]);let m=0;const _=()=>V(null,null,function*(){const{data:a}=l.conf;p.value=[];const d=a.filter(f=>f.project_id).map(f=>f.project_id);if(!d.length)return;const t=++m,r={where_in:JSON.stringify([["uid",d.join(",")]])},{result:c}=yield g.api.post("get_collect_list",r);if(t!==m)return;const o=c==null?void 0:c.data;Array.isArray(o)&&o.length>0&&(p.value=o.map(f=>({name:f.name,uid:f.uid,object_id:f.object_id,data:z(f.script)})))}),z=a=>{const d=[];return a.forEach(t=>{d.push({name:t.label_loc,type:t.type,unit:t.unit,key:t.key})}),d},E=e.computed(()=>{let a=!0;return p.value.forEach(d=>{d.data.forEach(t=>{(t.value||t.value===0)&&(a=!1)})}),a}),q=()=>{l.mode!=="edit"&&(u.value.type==="object"?D():w())},w=()=>{const a=[],d=g.auth.getUser();p.value.forEach(t=>{const r={};if(t.data.forEach(o=>{(o.value||o.value===0)&&(r[o.key]=["Integer","Float"].includes(o.type)?Number(o.value):o.type==="Bool"?!!o.value:o.value)}),!Object.keys(r).length)return;const c={name:t.name,value:r,collect_id:t.uid,collector:d.name};a.push(g.api.post("add_collect_value_without_object",c))}),Promise.all(a).then(t=>{let r=!0;t.forEach(c=>{c.code!==200&&(r=!1,C.ElMessage.error(c.msg))}),r&&C.ElMessage.success("操作成功")})},D=()=>{const a=[],d=g.auth.getUser();p.value.forEach(t=>{const r={};if(t.data.forEach(o=>{(o.value||o.value===0)&&(r[o.key]=["Integer","Float"].includes(o.type)?Number(o.value):o.type==="Bool"?!!o.value:o.value)}),!Object.keys(r).length)return;const c={name:t.name,value:r,collect_id:t.uid,object_id:t.object_id||l.uid,collector:d.name};a.push(g.api.post("add_collect_value",c))}),Promise.all(a).then(t=>{let r=!0;t.forEach(c=>{c.code!==200&&(r=!1,C.ElMessage.error(c.msg))}),r&&C.ElMessage.success("操作成功")})};return(a,d)=>{const t=h.ElInput,r=h.ElInputNumber,c=h.ElRadio,o=h.ElRadioGroup,f=h.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(b.value)},e.toDisplayString(e.unref(S).caption||e.unref(S).name),5),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(u).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(j,N)=>(e.openBlock(),e.createElementBlock("div",{key:N},[e.createElementVNode("div",{class:"item-title",style:e.normalizeStyle({fontSize:`${e.unref(u).projectSize}px`,color:e.unref(u).projectColor})},e.toDisplayString(j.name),5),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.data,(i,I)=>(e.openBlock(),e.createElementBlock("div",{class:"item-wrap",key:`${N}_${I}`},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(u).labelWidth}px`,fontSize:`${e.unref(u).paramSize}px`,color:e.unref(u).paramColor,height:`${e.unref(u).paramHeight}px`})},e.toDisplayString(i.name)+": ",5),e.createElementVNode("div",R,[i.type==="String"?(e.openBlock(),e.createBlock(t,{key:0,type:"text",modelValue:i.value,"onUpdate:modelValue":y=>i.value=y},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Integer"?(e.openBlock(),e.createBlock(r,{key:1,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Float"?(e.openBlock(),e.createBlock(r,{key:2,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Bool"?(e.openBlock(),e.createBlock(o,{key:3,value:i.value,"onUpdate:value":y=>i.value=y},{default:e.withCtx(()=>[e.createVNode(c,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.yes")),1)]),_:1}),e.createVNode(c,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.no")),1)]),_:1})]),_:1},8,["value","onUpdate:value"])):e.createCommentVNode("",!0)])]))),128))]))),128)),e.createElementVNode("div",L,[e.createVNode(f,{type:E.value?"default":"primary",disabled:E.value,onClick:q},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])],4),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Y=g._export_sfc(X,[["__scopeId","data-v-c54bd4ad"]]);exports.default=Y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var z=Object.defineProperty,A=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var x=(c,a,o)=>a in c?z(c,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):c[a]=o,O=(c,a)=>{for(var o in a||(a={}))w.call(a,o)&&x(c,o,a[o]);if(v)for(var o of v(a))U.call(a,o)&&x(c,o,a[o]);return c},B=(c,a)=>A(c,j(a));var N=(c,a,o)=>new Promise((C,b)=>{var y=f=>{try{g(o.next(f))}catch(h){b(h)}},m=f=>{try{g(o.throw(f))}catch(h){b(h)}},g=f=>f.done?C(f.value):Promise.resolve(f.value).then(y,m);g((o=o.apply(c,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),q=require("./BaseComponent-BmhMoM4H.cjs"),V=require("./index-77aUdspY.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),P=require("element-plus"),$={class:"item-val"},H={key:0,class:"btn-wrap"},L={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"定制采集",NAME_EN:"Customer",ORDER:2,PLATFORM:["pc","screen","mobile"]},F={bgColor:"#fff",titleColor:"#111",paramColor:"#333",labelWidth:64,titleSize:14,paramSize:12,paramHeight:32,radiusSize:8,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},R=[{object_id:"",project_id:"",collect:"",label_cn:"",fv:""}],W=["mosaic"],G=["object_id","project_id","collect","label_cn","fv"],J={DEFAULT:L,OPTIONS:F,DATA:R,PARAMS:G,SOURCE:W,COMMON:{}},K=e.defineComponent(B(O({},J),{__name:"cmc",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},sourceData:{type:Object,default:()=>({})}},setup(c){const{proxy:a}=e.getCurrentInstance(),o=c,C="--";class b extends q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),titleSize:this.getOptionValue("titleSize",14),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){return N(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme(),h()})}setHistoryData(r){const{data:d}=this.props.conf;d.forEach((u,p)=>{var t;u.value=(t=r[p].data[0])!=null?t:C})}setSocketData(r){const{common:d,data:u,uid:p}=this.props.conf;console.log(r,"result socket"),u.forEach(t=>{var s;t.value=(s=r.data[t.fv])!=null?s:C})}}const y=new b(o,"cmc");y.setupLifecycle();const m=y.getStyle(),g=o.conf,f=e.computed(()=>M.generateTitleStyle(o.conf.options)),h=()=>N(null,null,function*(){const{data:n}=o.conf;if(!n||n.length===0)return;const r=n.filter(t=>t.project_id).map(t=>t.project_id);if(!r.length){o.mode==="edit"&&n.forEach(t=>{t.label_cn=t.label_cn||a.$t("component.collect.collectItem"),t.type=t.type||"Integer",t.unit=t.unit||""});return}let d={where_in:JSON.stringify([["uid",r.join(",")]])};const{result:u}=yield V.api.post("get_collect_list",d,!0),p={};u.data.forEach(t=>{p[t.uid]=t}),n.forEach(t=>{var s;if((s=p[t.project_id])!=null&&s.script){const i=p[t.project_id].script.find(E=>E.key===t.collect);t.unit=i==null?void 0:i.unit,t.label_cn=t.label_cn||(i==null?void 0:i.label_loc),t.type=i==null?void 0:i.type}})}),k=e.computed(()=>{const{data:n}=o.conf;let r=!0;return n.forEach(d=>{(d.setting||d.setting===0)&&(r=!1)}),r}),D=()=>N(null,null,function*(){if(o.mode==="edit")return;const{data:n,common:r}=o.conf,d=JSON.parse(sessionStorage.getItem(V.ALIAS_MAPPING_KEY)||"{}")||{},u=[],p=V.auth.getUser();n.forEach(t=>{const s=r.useAlias?d[t.object_alias]:t.object_id||o.uid;if((t.setting||t.setting===0)&&s){let i={collect_id:t.project_id,object_id:s,value:{[t.collect]:["Integer","Float"].includes(t.type)?Number(t.setting):t.setting},name:t.label_cn,collector:p.name};u.push(V.api.post("add_collect_value",i))}}),Promise.all(u).then(t=>{console.log(t),t.every(s=>s.code===200)&&P.ElMessage.success("操作成功")})});return e.watchEffect(()=>{o.conf.socketData&&y.setSocketData(o.conf.socketData)}),(n,r)=>{var i,E;const d=S.ElInput,u=S.ElInputNumber,p=S.ElRadio,t=S.ElRadioGroup,s=S.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},e.toDisplayString(e.unref(g).caption||e.unref(g).name),5),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(m).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(g).data,(l,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:"item-wrap"},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(m).labelWidth}px`,fontSize:`${e.unref(m).paramSize}px`,color:e.unref(m).paramColor})},e.toDisplayString(l.label_cn)+": ",5),e.createElementVNode("div",$,[l.type==="String"?(e.openBlock(),e.createBlock(d,{key:0,type:"text",class:"w-full",modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Integer"?(e.openBlock(),e.createBlock(u,{key:1,style:{width:"100%"},modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Float"?(e.openBlock(),e.createBlock(u,{key:2,style:{width:"100%"},modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Boolean"?(e.openBlock(),e.createBlock(t,{key:3,class:"w-full",modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_},{default:e.withCtx(()=>[e.createVNode(p,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.yes")),1)]),_:1}),e.createVNode(p,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.no")),1)]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"item-label",style:e.normalizeStyle({fontSize:`${e.unref(m).paramSize}px`})},e.toDisplayString(l.value||"--"),5)]))),128)),(E=(i=e.unref(g))==null?void 0:i.data)!=null&&E.length?(e.openBlock(),e.createElementBlock("div",H,[e.createVNode(s,{type:k.value?"default":"primary",disabled:k.value,onClick:D},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)],4),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),Y=V._export_sfc(K,[["__scopeId","data-v-e71e3deb"]]);exports.default=Y;
|