mixdashboards 1.0.75 → 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-BXAJUoaf.cjs → BaseComponent-BmhMoM4H.cjs} +1 -1
- package/dist/{BaseComponent-BlCsb-HW.js → BaseComponent-CQaDWNO0.js} +8 -8
- package/dist/{EChartComponentBase-BPiPzdtw.cjs → EChartComponentBase-D9EUh4BZ.cjs} +1 -1
- package/dist/{EChartComponentBase-DPWPg81w.js → EChartComponentBase-i76OGL3z.js} +2 -2
- package/dist/{EmergencyPlanPanel-Cv06qTDX.js → EmergencyPlanPanel-B9S3Ru5-.js} +1 -1
- package/dist/{EmergencyPlanPanel-CU0gJiFM.cjs → EmergencyPlanPanel-BiAHvTfh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-CiRVXFaZ.cjs → HistoryPlanDialog-BU4GayEm.cjs} +1 -1
- package/dist/{HistoryPlanDialog-BALmXGdQ.js → HistoryPlanDialog-CbbeFm-i.js} +1 -1
- package/dist/{MonitoringMap-BuVJ-ir-.js → MonitoringMap-B6tXBdvK.js} +2 -2
- package/dist/{MonitoringMap-BXxlfEQV.cjs → MonitoringMap-FGDoA0fw.cjs} +1 -1
- package/dist/{UniverSheet-CDug4m6W.cjs → UniverSheet-D7y2pceH.cjs} +1 -1
- package/dist/{UniverSheet-GnlJ56Io.js → UniverSheet-D8sflrTb.js} +2 -2
- package/dist/{accelerationChart-BQkfynh-.cjs → accelerationChart-DTlwSA0N.cjs} +1 -1
- package/dist/{accelerationChart-lWscOOUn.js → accelerationChart-bch4O3t-.js} +14 -14
- package/dist/{actionItem-B4nl_rf_.js → actionItem-Cw67YwsR.js} +2 -2
- package/dist/{actionItem-6eYNuhg3.cjs → actionItem-cdsgUvaC.cjs} +1 -1
- package/dist/{alarmLevelChart-Mq8iVSI0.cjs → alarmLevelChart-BMjTLxB5.cjs} +1 -1
- package/dist/{alarmLevelChart-CiobE56j.js → alarmLevelChart-BynSRHG2.js} +2 -2
- package/dist/{alertTable-f0pzyZBg.cjs → alertTable-3VhkUZSf.cjs} +1 -1
- package/dist/{alertTable-CMlVY_8H.js → alertTable-CiwuaydQ.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-C1bpTa2y.cjs → aliasObjectSelectorDemo-BLoecZkV.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-DqZ0EfVH.js → aliasObjectSelectorDemo-DfdRxb4I.js} +1 -1
- package/dist/{annualRainfallChart-_mJM58W4.js → annualRainfallChart-CHcr4-0D.js} +2 -2
- package/dist/{annualRainfallChart-BbYOeEs_.cjs → annualRainfallChart-DKR-A_PT.cjs} +1 -1
- package/dist/{aqi-yjjoBI4W.cjs → aqi-D7VqP1QE.cjs} +1 -1
- package/dist/{aqi-jYtMHp4c.js → aqi-Gu-pAovO.js} +4 -4
- package/dist/{aqiIndass-BPnJN1L7.js → aqiIndass-Bjj6n1aj.js} +18 -18
- package/dist/{aqiIndass-DuxFgiJF.cjs → aqiIndass-nfYUZ3UM.cjs} +1 -1
- package/dist/{areaDeformCurve-BM8ClfUa.cjs → areaDeformCurve-fpGWmq05.cjs} +1 -1
- package/dist/{areaDeformCurve-DNleJiVH.js → areaDeformCurve-nwlcUBDv.js} +2 -2
- package/dist/{arrayCard-jITzZi-r.js → arrayCard-TfcgLrHv.js} +2 -2
- package/dist/{arrayCard-BxpqdLMV.cjs → arrayCard-UoDqAGbN.cjs} +1 -1
- package/dist/{audio-CH5r-0gF.js → audio-BYgGYoEr.js} +2 -2
- package/dist/{audio-BuyKXQ0N.cjs → audio-DdUv9Ot-.cjs} +1 -1
- package/dist/bar-CkBXc7t1.cjs +2 -0
- package/dist/{bar-BtlkgC6a.js → bar-SfGiFl1r.js} +75 -67
- package/dist/{bmp-C2DUdhaT.js → bmp-BbtdzIrI.js} +2 -2
- package/dist/{bmp-DLIPXhyT.cjs → bmp-CY-Hb2x1.cjs} +1 -1
- package/dist/{box-CVcPOlKk.cjs → box-B4C_mirv.cjs} +1 -1
- package/dist/{box-BgwIB1Bl.js → box-CV41cJuX.js} +2 -2
- package/dist/{chartConfigPanel-ByzQkeYT.js → chartConfigPanel-D650rSn7.js} +1 -1
- package/dist/{chartConfigPanel-BdVphXRS.cjs → chartConfigPanel-DBlqAbbH.cjs} +1 -1
- package/dist/{circleBar-DBCX2g0i.cjs → circleBar-DkV7xPBl.cjs} +1 -1
- package/dist/{circleBar-CFV6RoS1.js → circleBar-U3iXMQr5.js} +2 -2
- package/dist/{clock--G7VfksN.cjs → clock-CjgMeOhp.cjs} +1 -1
- package/dist/{clock-ilY2WqEO.js → clock-zKVUU8pu.js} +2 -2
- package/dist/{clt-4fAQmG5V.js → clt-BsIA-YPQ.js} +2 -2
- package/dist/{clt-DOAntJi9.cjs → clt-DwI8i7zI.cjs} +1 -1
- package/dist/{cmc-CehLriLD.cjs → cmc-BX9ichBB.cjs} +1 -1
- package/dist/{cmc-Bhyw5-iw.js → cmc-CgpHejR2.js} +2 -2
- package/dist/{cmp-znNaGWlx.js → cmp-CS34lG7V.js} +2 -2
- package/dist/{cmp-BL3VD7Pn.cjs → cmp-CTqtxzo4.cjs} +1 -1
- package/dist/{conclusionCard-B5DhxboF.js → conclusionCard-N6pA6Q9P.js} +2 -2
- package/dist/{conclusionCard-K6CSG9A7.cjs → conclusionCard-wvtJmV_8.cjs} +1 -1
- package/dist/{controlList-CyE_bM7S.cjs → controlList-BUAMdHA3.cjs} +1 -1
- package/dist/{controlList-DoaSMBIh.js → controlList-Zz5ABe5b.js} +2 -2
- package/dist/{controlRecordList-CDKRXU47.cjs → controlRecordList-CMR4y_Ml.cjs} +1 -1
- package/dist/{controlRecordList-DwXUWAgm.js → controlRecordList-Dx0zj7js.js} +2 -2
- package/dist/{controlRecordListAPP-cODkXLeg.cjs → controlRecordListAPP-ZDCKmz_8.cjs} +1 -1
- package/dist/{controlRecordListAPP-CP-tQ4o_.js → controlRecordListAPP-bL9oqWzQ.js} +2 -2
- package/dist/{crd-D9Djs_9M.cjs → crd-8tMwNlgx.cjs} +1 -1
- package/dist/{crd-BJJ9sEBi.js → crd-DZPpD6XY.js} +2 -2
- package/dist/{ctrBtn-zECsVsC6.js → ctrBtn-6Ql9ulTr.js} +10 -10
- package/dist/{ctrBtn-Ci7BkiOn.cjs → ctrBtn-eCu0UDtW.cjs} +1 -1
- package/dist/{ctrSet-DQTACQn1.js → ctrSet-BwFVH1Mk.js} +3 -3
- package/dist/{ctrSet-DZrpF9pM.cjs → ctrSet-pX-zVivo.cjs} +1 -1
- package/dist/{ctrSwitch-BDy8B1lF.cjs → ctrSwitch-D95SI-aJ.cjs} +1 -1
- package/dist/{ctrSwitch-CrEAuL-v.js → ctrSwitch-b6hHf4QF.js} +11 -11
- package/dist/{dataManagement-D6SM8zVY.cjs → dataManagement-DubA1TV1.cjs} +1 -1
- package/dist/{dataManagement-ivUDfZ3f.js → dataManagement-VucRLCK4.js} +2 -2
- package/dist/{dataReport-CryAeh7C.js → dataReport-CALIw14D.js} +2 -2
- package/dist/{dataReport-CFJ5aMrb.cjs → dataReport-CkF5J7X1.cjs} +1 -1
- package/dist/{dataTable-BBW0i51h.js → dataTable-C1rBH_p9.js} +1 -1
- package/dist/{dataTable-IKk8N9i9.cjs → dataTable-C2q_CX5D.cjs} +1 -1
- package/dist/{datetime-BPoSIL-3.js → datetime-Cq8scz5Q.js} +2 -2
- package/dist/{datetime-CGUnVeRE.cjs → datetime-TBTeWqlf.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-rZIUqLLp.cjs → deepClusterSlipSurface-CFaxRVmM.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-jt74ODxX.js → deepClusterSlipSurface-Cm50wbjv.js} +2 -2
- package/dist/{deepDataMatrix-DyK--0cJ.cjs → deepDataMatrix-CAYSav3X.cjs} +1 -1
- package/dist/{deepDataMatrix-B1rr5lNY.js → deepDataMatrix-DyStA98d.js} +7 -7
- package/dist/{deepDisplacement3D-DdSfiM8c.cjs → deepDisplacement3D-B3Iju2KK.cjs} +1 -1
- package/dist/{deepDisplacement3D-BnWitDOk.js → deepDisplacement3D-Bat-Wc3i.js} +2 -2
- package/dist/{deepDisplacementChart-BxdiiuUe.cjs → deepDisplacementChart-C-Tr4DdI.cjs} +1 -1
- package/dist/{deepDisplacementChart-DY3PLNdf.cjs → deepDisplacementChart-CX9ALM89.cjs} +1 -1
- package/dist/{deepDisplacementChart-BQ3nFJLH.js → deepDisplacementChart-CYMpNu_W.js} +25 -25
- package/dist/{deepDisplacementChart-lIfyzMpq.js → deepDisplacementChart-D5rHoC9r.js} +26 -26
- package/dist/{deepDisplacementView-C0r4oIIk.cjs → deepDisplacementView-DTSsODJQ.cjs} +1 -1
- package/dist/{deepDisplacementView-BsddlCKN.js → deepDisplacementView-DnjwQmEW.js} +1 -1
- package/dist/{deepNodeTemperatureChart-DrqwFmDg.cjs → deepNodeTemperatureChart-C9NRJ49Y.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-C1RVbMT1.js → deepNodeTemperatureChart-CLKg72UA.js} +32 -32
- package/dist/{deepTangentAngleChart-Hs9wfNfb.cjs → deepTangentAngleChart-C9aFSFrD.cjs} +1 -1
- package/dist/{deepTangentAngleChart-BSifjEIw.js → deepTangentAngleChart-DklHYHhm.js} +13 -13
- package/dist/{deepTemperatureField-Bz9X6xx5.cjs → deepTemperatureField-CXBL4_LS.cjs} +1 -1
- package/dist/{deepTemperatureField-BSsTui64.js → deepTemperatureField-CcnVGgbf.js} +3 -3
- package/dist/{deepTrendChart-apQrMrj6.js → deepTrendChart-De7ebpk4.js} +14 -14
- package/dist/{deepTrendChart-B3q-lEJw.cjs → deepTrendChart-OGW08BX-.cjs} +1 -1
- package/dist/{deviceOnlineStatus-DABeXKWW.cjs → deviceOnlineStatus-DarcMtY4.cjs} +1 -1
- package/dist/{deviceOnlineStatus-kFsHXR6n.js → deviceOnlineStatus-_3Txb8Tg.js} +2 -2
- package/dist/{deviceStatus-BE2Pszt3.cjs → deviceStatus-BiJw8rnz.cjs} +1 -1
- package/dist/{deviceStatus-TNP-PLi-.js → deviceStatus-CL6E-pQ0.js} +10 -10
- package/dist/{displacementDataTable-BD45feZR.cjs → displacementDataTable-DmAqr-JK.cjs} +1 -1
- package/dist/{displacementDataTable-kZBxmOLa.js → displacementDataTable-tKtGe2xd.js} +11 -11
- package/dist/{displacementTrajectoryChart-DmuezhG8.cjs → displacementTrajectoryChart-DG2YdSqq.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-BjbgbY-z.js → displacementTrajectoryChart-Dh6oPB0p.js} +22 -22
- package/dist/{displacementTrendChart-BjIXnttw.js → displacementTrendChart-BHORe0qO.js} +36 -36
- package/dist/{displacementTrendChart-iXH_pVRS.cjs → displacementTrendChart-CT140vXG.cjs} +1 -1
- package/dist/{dxf-DMZPfCEF.cjs → dxf-CVa4Vfm3.cjs} +1 -1
- package/dist/{dxf-Cne0HiZv.js → dxf-CjcHSJq-.js} +2 -2
- package/dist/{dzc-BHGWFMVE.js → dzc-DDXNSuie.js} +6 -6
- package/dist/{dzc-Xii4wMjP.cjs → dzc-DK16oTVj.cjs} +1 -1
- package/dist/{emergencyPlan-B1znDbbO.cjs → emergencyPlan-D0AMuD-3.cjs} +1 -1
- package/dist/{emergencyPlan-CdFHCDZY.js → emergencyPlan-Vim4E6h7.js} +3 -3
- package/dist/{evn-UM09m5js.js → evn-CdMN8gIC.js} +2 -2
- package/dist/{evn-DQIIN0A9.cjs → evn-D2mdSoFB.cjs} +1 -1
- package/dist/{evolutionChart-DDtDzRIE.cjs → evolutionChart-I8XVW05I.cjs} +1 -1
- package/dist/{evolutionChart-Dm3nLcz6.js → evolutionChart-P0l6P0Bc.js} +3 -3
- package/dist/{fileViewer-CoTW7CWz.cjs → fileViewer-D7sAA8-W.cjs} +1 -1
- package/dist/{fileViewer-C1Ky9Ydw.js → fileViewer-DvntGv0b.js} +2 -2
- package/dist/{filterBar-BNr5i0ab.js → filterBar-8gex5oR-.js} +2 -2
- package/dist/{filterBar-DPG_jFL8.cjs → filterBar-GSTji96g.cjs} +1 -1
- package/dist/{fireCombustionCurve-DpcQ13zK.js → fireCombustionCurve-B3jAhOft.js} +3 -3
- package/dist/{fireCombustionCurve-z2iMEkbd.cjs → fireCombustionCurve-DrMmHf3N.cjs} +1 -1
- package/dist/{fireFilterBar-BFJeB-8m.js → fireFilterBar-CH6iK0Xg.js} +2 -2
- package/dist/{fireFilterBar-iXGBx5Zi.cjs → fireFilterBar-Dy9DcHij.cjs} +1 -1
- package/dist/{fireHistoryTable-E9Gx4Gqf.js → fireHistoryTable-CHxHqPs0.js} +2 -2
- package/dist/{fireHistoryTable-BE79laqx.cjs → fireHistoryTable-n6L3juWp.cjs} +1 -1
- package/dist/{gag-naUs2e3c.js → gag-BsO4kmp1.js} +2 -2
- package/dist/{gag-Ce_-YYka.cjs → gag-BzjuwBvY.cjs} +1 -1
- package/dist/{gasStationList-Kbha10pX.js → gasStationList-7JzUcISs.js} +214 -276
- package/dist/gasStationList-QwqTDEAG.cjs +1 -0
- package/dist/{geo3dViewer-CnAgLJ_6.cjs → geo3dViewer-Cf-jHpvF.cjs} +1 -1
- package/dist/{geo3dViewer-CMISZOfo.js → geo3dViewer-doEpUC_J.js} +3 -3
- package/dist/{glbModel-Bw25mL_R.js → glbModel-BgFIj_es.js} +2 -2
- package/dist/{glbModel-CS8qUhON.cjs → glbModel-C6L--3dO.cjs} +1 -1
- package/dist/{globalObjectSelector-BcLO38lZ.js → globalObjectSelector-CdfiXRjg.js} +1 -1
- package/dist/{globalObjectSelector-BwoQjJGq.cjs → globalObjectSelector-P_irB0rv.cjs} +1 -1
- package/dist/{gnssFilterBar-CfqJBy4d.cjs → gnssFilterBar-CIwyv2yc.cjs} +1 -1
- package/dist/{gnssFilterBar-bS10JYoi.js → gnssFilterBar-DPNshMIx.js} +2 -2
- package/dist/{gnssHistoryTable-CPs_w2gf.js → gnssHistoryTable-C7x4-Tpp.js} +2 -2
- package/dist/{gnssHistoryTable-CyingjiU.cjs → gnssHistoryTable-j5FL6oYs.cjs} +1 -1
- package/dist/{gnssMapView-DD_L9jE0.js → gnssMapView-BWcS4hqj.js} +4 -4
- package/dist/{gnssMapView-KvzwIbK1.cjs → gnssMapView-_VaJWBcE.cjs} +2 -2
- package/dist/{gnssSectionProfile-DxkEsZQx.cjs → gnssSectionProfile-DGbTO7lV.cjs} +1 -1
- package/dist/{gnssSectionProfile-DGYWQKML.js → gnssSectionProfile-hpyiGI-6.js} +2 -2
- package/dist/{gnssTimeSeriesChart-KVg2GW1C.cjs → gnssTimeSeriesChart-CNT6xaNs.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-1bLKTD-e.js → gnssTimeSeriesChart-rL9oG1ly.js} +2 -2
- package/dist/{gnssXYTrajectory-B-d6rq3V.js → gnssXYTrajectory-B1LZAepw.js} +2 -2
- package/dist/{gnssXYTrajectory-B-0h71U8.cjs → gnssXYTrajectory-CwAjhPRc.cjs} +1 -1
- package/dist/{grd-CqeXHXO2.js → grd-BLab9IY0.js} +20 -20
- package/dist/{grd-CbvQkv0q.cjs → grd-rJXqEimt.cjs} +1 -1
- package/dist/{grdIndass-BaHBsp5T.js → grdIndass-gGrZ7gRV.js} +6 -6
- package/dist/{grdIndass-_-7wqVjL.cjs → grdIndass-niY4UOwz.cjs} +1 -1
- package/dist/{grg-DmN25aj-.cjs → grg-C1L5yeyY.cjs} +1 -1
- package/dist/{grg-Cgpfx9kR.js → grg-Dnro7bLg.js} +6 -6
- package/dist/{gridview-B0haH8LS.js → gridview-BhjWlD0J.js} +2 -2
- package/dist/{gridview-DYYpW2MH.cjs → gridview-DxUsv2ny.cjs} +1 -1
- package/dist/{groundwaterFilterBar-mcMEwt9B.cjs → groundwaterFilterBar-C-2e7S04.cjs} +1 -1
- package/dist/{groundwaterFilterBar-ClXMXCj6.js → groundwaterFilterBar-bNhTkX1C.js} +2 -2
- package/dist/{groundwaterProfileChart-BoRVOmen.cjs → groundwaterProfileChart-BxKGPuOe.cjs} +2 -2
- package/dist/{groundwaterProfileChart-Cfwfua8-.js → groundwaterProfileChart-dhzmwfwz.js} +3 -3
- package/dist/{groundwaterTimeCurve-BOarX2wf.js → groundwaterTimeCurve-BtzP6icm.js} +3 -3
- package/dist/{groundwaterTimeCurve-Czt7iLlt.cjs → groundwaterTimeCurve-CTQPlTUr.cjs} +1 -1
- package/dist/{groupCard-2aS7lgg2.js → groupCard-D00ElZoy.js} +63 -53
- package/dist/{groupCard-DjUIJShv.cjs → groupCard-D4gdaVqR.cjs} +1 -1
- package/dist/{headerBar-u-0s0z16.js → headerBar-DEHj8fJr.js} +2 -2
- package/dist/{headerBar-5nL0hMXs.cjs → headerBar-MFw1W0qa.cjs} +1 -1
- package/dist/{history-BtX7uNYs.js → history-BRkb914v.js} +16 -16
- package/dist/{history-B-Ynlm5z.cjs → history-D1R2RAZQ.cjs} +1 -1
- package/dist/index-77aUdspY.cjs +612 -0
- package/dist/{index-DomNEEyv.js → index-BZpYmpDy.js} +3569 -2983
- package/dist/{insarDeformChart-KECXbG_n.cjs → insarDeformChart-5EVWIkpL.cjs} +1 -1
- package/dist/{insarDeformChart-DVGZUwaX.js → insarDeformChart-pbOnnoN-.js} +2 -2
- package/dist/{insarImageViewer-BMk5v36R.js → insarImageViewer-D3bbQA6g.js} +2 -2
- package/dist/{insarImageViewer-CdJyowUc.cjs → insarImageViewer-DQJBN4YM.cjs} +1 -1
- package/dist/{kds-DU8wNnhT.cjs → kds-D5seJB3L.cjs} +1 -1
- package/dist/{kds-CawaHOXh.js → kds-gTJOwHbM.js} +21 -21
- package/dist/{kpiCard-CAuX9-zP.cjs → kpiCard-Bz-fg6sL.cjs} +1 -1
- package/dist/{kpiCard-B5ZueB0g.js → kpiCard-Cx6VNK6L.js} +2 -2
- package/dist/{landslideMap-DGkSLtbi.js → landslideMap-5erIcZo7.js} +15 -15
- package/dist/{landslideMap-CImGVGDr.cjs → landslideMap-D7_QpwmM.cjs} +1 -1
- package/dist/{landslideWarning-C8cHW-2p.cjs → landslideWarning-C3FZqrxT.cjs} +1 -1
- package/dist/{landslideWarning-BeQUD3uJ.js → landslideWarning-CzaddgWf.js} +14 -14
- package/dist/{layerTabs-DxX6yqOO.cjs → layerTabs-Dc1Xb11W.cjs} +1 -1
- package/dist/{layerTabs-CBr-oH28.js → layerTabs-DqbOykS2.js} +2 -2
- package/dist/{leaflet-src-BXugYdBe.js → leaflet-src-BY2SMh9y.js} +1 -1
- package/dist/{leaflet-src-VXn1CZcu.cjs → leaflet-src-Brb8KUL5.cjs} +1 -1
- package/dist/{lerc-td9bbpKy.js → lerc-Chm_GVte.js} +2 -2
- package/dist/{lerc-DJGGksD3.cjs → lerc-DGuyYCKG.cjs} +1 -1
- package/dist/{lin-vrv9_1Gw.cjs → lin-8x2j8aGa.cjs} +1 -1
- package/dist/{lin-DlD92hLY.js → lin-tqtSA5ci.js} +9 -9
- package/dist/{linIndass-DRZUPyVA.js → linIndass-DHFymSVI.js} +12 -12
- package/dist/{linIndass-BhvIJJ_-.cjs → linIndass-Dxo_bzrZ.cjs} +1 -1
- package/dist/{lst-BsGZwd4K.cjs → lst-BV6EbDPs.cjs} +1 -1
- package/dist/{lst-DHBMHjOM.js → lst-BejIuO0f.js} +2 -2
- package/dist/{manualEntry-zdYpuGoU.cjs → manualEntry-Bt4cs6kn.cjs} +1 -1
- package/dist/{manualEntry-gGLZH2mN.js → manualEntry-DObI0OAq.js} +2 -2
- package/dist/{mapBackground-DBXKXI9j.js → mapBackground-Cuym5Dqr.js} +3 -3
- package/dist/{mapBackground-U2NX5fCU.cjs → mapBackground-oVOBK3zr.cjs} +1 -1
- package/dist/{mappingList-vLJbxZcd.cjs → mappingList-BEWAqLd4.cjs} +1 -1
- package/dist/{mappingList-D4KRWEkc.js → mappingList-Dzq0zMfs.js} +2 -2
- package/dist/{markdownViewer-DzZnOTO-.js → markdownViewer-Bz50jkb6.js} +2 -2
- package/dist/{markdownViewer-XvNb3eNT.cjs → markdownViewer-V5b1xhPh.cjs} +1 -1
- package/dist/{mix-control-modal-DjD4xOuc.js → mix-control-modal-DzVLdO3S.js} +7 -7
- package/dist/{mix-control-modal-DQnZbDGs.cjs → mix-control-modal-I6DqPm04.cjs} +1 -1
- package/dist/{mixGrid-CLEdWr86.cjs → mixGrid-_ur8VKLD.cjs} +1 -1
- package/dist/{mixGrid-uzRHR_XB.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-DCuG7zc-.cjs → mixiotObjectListApi-BUQ-RZ3L.cjs} +1 -1
- package/dist/{mixiotObjectListApi-DP6wrrOJ.js → mixiotObjectListApi-D5vNNWgT.js} +1 -1
- package/dist/{mjpegCamera-D416oWYH.cjs → mjpegCamera-CjWe8BEK.cjs} +1 -1
- package/dist/{mjpegCamera-y_pW209K.js → mjpegCamera-DnAPpFJU.js} +2 -2
- package/dist/{monitorAlert-BOJ4UrnO.js → monitorAlert-B-fTYPn6.js} +11 -11
- package/dist/{monitorAlert-Bq1MEu6y.cjs → monitorAlert-qmVSQ1lc.cjs} +1 -1
- package/dist/{monitorData-CTVzSwsd.js → monitorData-Dopc660L.js} +7 -7
- package/dist/{monitorData-eE9QUfb3.cjs → monitorData-YhGSUq3H.cjs} +1 -1
- package/dist/{monitorSpeedChart-CnKy9z8m.cjs → monitorSpeedChart-Brj_YHsO.cjs} +1 -1
- package/dist/{monitorSpeedChart-CUZat2mO.js → monitorSpeedChart-Dsvr_QPB.js} +1 -1
- package/dist/{mxa-ueyMsY-m.cjs → mxa-BzdI7BLB.cjs} +1 -1
- package/dist/{mxa-DDJJIW_n.js → mxa-D4WkyBYZ.js} +7 -7
- package/dist/{myValue-BdJdeV7Y.cjs → myValue-C0tq-asC.cjs} +1 -1
- package/dist/{myValue-jZIrcY-B.js → myValue-DYtBtOJ2.js} +2 -2
- package/dist/{myValueList-KoXkIHn0.cjs → myValueList-BJctRTNd.cjs} +1 -1
- package/dist/{myValueList-DYPYb3FQ.js → myValueList-Ddpn1S68.js} +2 -2
- package/dist/{objectList-Ct6UzSuD.cjs → objectList-Csf0hVwo.cjs} +1 -1
- package/dist/{objectList-CGYOZD6e.js → objectList-G4wXFDwe.js} +3 -3
- package/dist/{objectListAPP-DrymYbRw.js → objectListAPP-BrmUj4At.js} +3 -3
- package/dist/{objectListAPP-D0dHuEhF.cjs → objectListAPP-UZN4iuTn.cjs} +1 -1
- package/dist/{photo-DC0tNbgw.js → photo-BEPeK7U8.js} +2 -2
- package/dist/{photo-siDcsoGU.cjs → photo-BYH_qg5O.cjs} +1 -1
- package/dist/{pie-D9J75dIT.cjs → pie-B57zDxJV.cjs} +1 -1
- package/dist/{pie-I_Gqoxg_.js → pie-CEVKe1lL.js} +2 -2
- package/dist/{placeholder-BPjcnXBR.cjs → placeholder-BezBEQGo.cjs} +1 -1
- package/dist/{placeholder-BsmPsTrK.js → placeholder-Bwv3VyEg.js} +1 -1
- package/dist/{pressBtn-CXasqSG5.js → pressBtn-1LCNz2gE.js} +3 -3
- package/dist/{pressBtn-DkR5yC7c.cjs → pressBtn-CJZTyY8I.cjs} +1 -1
- package/dist/{processTable-CprS7V6w.js → processTable-CHDazqah.js} +2 -2
- package/dist/{processTable-D2upRmGB.cjs → processTable-HtDeg1by.cjs} +1 -1
- package/dist/{progressBar-CHGUKjOk.cjs → progressBar-BP4SmPZK.cjs} +1 -1
- package/dist/{progressBar-BnDhCqnO.js → progressBar-C3NcWUrS.js} +2 -2
- package/dist/{progressCircle-DTSsucDj.js → progressCircle-Bo9-Qva_.js} +2 -2
- package/dist/{progressCircle-C7U0fPQv.cjs → progressCircle-CDqK1iFt.cjs} +1 -1
- package/dist/{qrcode-B65TN3DU.js → qrcode-VmYwvClG.js} +2 -2
- package/dist/{qrcode-COSof3Xg.cjs → qrcode-qD6tOm4F.cjs} +1 -1
- package/dist/{raceBar-B-Dg_JeH.js → raceBar-DR2-luKW.js} +2 -2
- package/dist/{raceBar-DUTC68PY.cjs → raceBar-uAs91hyk.cjs} +1 -1
- package/dist/{rad-CQS9cZyM.js → rad-1Jy1KDzt.js} +2 -2
- package/dist/{rad-C-5BUzw2.cjs → rad-D7-YZJNO.cjs} +1 -1
- package/dist/{radarMapViewer-8GICTIhi.js → radarMapViewer-ByQXe0Mu.js} +2 -2
- package/dist/{radarMapViewer-Bnzk9-oK.cjs → radarMapViewer-KPhNE5XX.cjs} +1 -1
- package/dist/{rainfallFilterBar-2PbsD0mU.js → rainfallFilterBar-C1obotPf.js} +2 -2
- package/dist/{rainfallFilterBar-BAFB2Yla.cjs → rainfallFilterBar-CVQpQp82.cjs} +1 -1
- package/dist/{rainfallTimeCurve-D8deMaZA.js → rainfallTimeCurve-B2rEx3T_.js} +3 -3
- package/dist/{rainfallTimeCurve-pNf06cfu.cjs → rainfallTimeCurve-DU2tt-Ls.cjs} +1 -1
- package/dist/{rangeLin-D1_RCrEG.cjs → rangeLin-COsJkCky.cjs} +1 -1
- package/dist/{rangeLin-DiCVHBXe.js → rangeLin-CdfUCFQr.js} +2 -2
- package/dist/{realtimeEvolutionMap-BwDjG4Cd.cjs → realtimeEvolutionMap-B7GT8MOq.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-BZ3odAWj.js → realtimeEvolutionMap-aR63xPW_.js} +2 -2
- package/dist/{regionBar-BZVsJdo6.cjs → regionBar-BYF7IaGA.cjs} +1 -1
- package/dist/{regionBar-C_C5cX2r.js → regionBar-DB-secNe.js} +2 -2
- package/dist/{request-CsiNbn80.js → request-CBsG4ipL.js} +7 -7
- package/dist/{request-B1HlG30f.cjs → request-CvdHjG34.cjs} +1 -1
- package/dist/{retainer1-CzyGsNUK.cjs → retainer1-1CFk4InO.cjs} +1 -1
- package/dist/{retainer1-DROmtfRa.js → retainer1-CMzTlM5Z.js} +3 -3
- package/dist/{retainer2-BCAnjUE9.js → retainer2-DW4ewYX7.js} +3 -3
- package/dist/{retainer2-1BaKVlim.cjs → retainer2-DliOH7it.cjs} +1 -1
- package/dist/{retainerRecordList-DIdk5Q5E.js → retainerRecordList-Bcm6leuD.js} +2 -2
- package/dist/{retainerRecordList-Ct_yDZds.cjs → retainerRecordList-DV7Tx39d.cjs} +1 -1
- package/dist/{retainerRecordListAPP-Bi6Ax0r6.js → retainerRecordListAPP-BDRwp8T3.js} +2 -2
- package/dist/{retainerRecordListAPP-DUqNtCCN.cjs → retainerRecordListAPP-CJ-u0Tj2.cjs} +1 -1
- package/dist/{ringTopN-BSWAdbso.js → ringTopN-Duq0pzm_.js} +2 -2
- package/dist/{ringTopN-CIusnN5O.cjs → ringTopN-rd2UwH9f.cjs} +1 -1
- package/dist/{riskRegionTable-Lmup8bDM.js → riskRegionTable-BE_ggcEV.js} +7 -7
- package/dist/{riskRegionTable-0fHQGnVM.cjs → riskRegionTable-CbPB8mlY.cjs} +1 -1
- package/dist/{sankey-D8Erc_QS.cjs → sankey-BqBn6_rx.cjs} +1 -1
- package/dist/{sankey-D99KciIH.js → sankey-CnKm9PZe.js} +5 -5
- package/dist/{scd-0yZCqQT2.js → scd-BaBLoem8.js} +2 -2
- package/dist/{scd-Bkse6tqJ.cjs → scd-BgJ5P7co.cjs} +1 -1
- package/dist/{sideMenu-B8Wf4m_8.cjs → sideMenu-BgiQL2P1.cjs} +1 -1
- package/dist/{sideMenu-DZ2bbsp7.js → sideMenu-CUal1UQY.js} +2 -2
- package/dist/{slopeStability-B8u5QQaS.js → slopeStability-B9YbQLCE.js} +24 -24
- package/dist/{slopeStability-D2XSPa-Q.cjs → slopeStability-Y2tDzJeh.cjs} +1 -1
- package/dist/{speedCurve-BD8ajqAX.js → speedCurve-DERBMtE1.js} +2 -2
- package/dist/{speedCurve-CMZGeXjF.cjs → speedCurve-Kll2RRJ8.cjs} +1 -1
- package/dist/{stressFilterBar-Chq7rovQ.cjs → stressFilterBar-BGI4gVfE.cjs} +1 -1
- package/dist/{stressFilterBar-Dpn3RUli.js → stressFilterBar-CHRWFnpP.js} +2 -2
- package/dist/{stressTimeCurve-D-wPq_W1.cjs → stressTimeCurve-DE5KiXEt.cjs} +1 -1
- package/dist/{stressTimeCurve-SRlS-9iL.js → stressTimeCurve-hrlqSYS3.js} +3 -3
- package/dist/{swiper-BBV8vKRh.cjs → swiper-CnGllhBQ.cjs} +1 -1
- package/dist/{swiper-DIFY95yz.js → swiper-DNHC412s.js} +2 -2
- package/dist/{terminalConfigList-Dom3--nE.js → terminalConfigList-BlHAsyCm.js} +2 -2
- package/dist/{terminalConfigList-DwA9ITHL.cjs → terminalConfigList-C45EANO4.cjs} +1 -1
- package/dist/{terminalList-ClsF5hyg.cjs → terminalList-CNI3_FGb.cjs} +1 -1
- package/dist/{terminalList-DpB3UlZG.js → terminalList-UGjkhyf4.js} +2 -2
- package/dist/{terminalListAPP-Bu_KM5lV.cjs → terminalListAPP-6fPXF-yJ.cjs} +1 -1
- package/dist/{terminalListAPP-U6qqbtPw.js → terminalListAPP-CIJZMdxI.js} +2 -2
- package/dist/{textbox-DLDf0rM6.js → textbox-BD_LQ0EN.js} +2 -2
- package/dist/{textbox-CbF9pAtK.cjs → textbox-yNPnOaan.cjs} +1 -1
- package/dist/{timeQueryBar-CE9N3lDg.cjs → timeQueryBar-3qiV0IV9.cjs} +1 -1
- package/dist/{timeQueryBar-ZAH6gs8Q.js → timeQueryBar-B-uPtN25.js} +1 -1
- package/dist/{timeSeries-0oO4KLxQ.cjs → timeSeries-BTUuojvj.cjs} +1 -1
- package/dist/{timeSeries-DvHAA0wU.js → timeSeries-DdQI4oZU.js} +19 -19
- package/dist/{timeSeriesCurve-BTuPg-3z.cjs → timeSeriesCurve-Cj_FbK4x.cjs} +1 -1
- package/dist/{timeSeriesCurve-Dyl9b667.js → timeSeriesCurve-TGXshTzl.js} +3 -3
- package/dist/{toggleBtn-CZoTmwAw.js → toggleBtn-BMxqm5WG.js} +2 -2
- package/dist/{toggleBtn-qDOJLJ7K.cjs → toggleBtn-BXcQfnTB.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-CxV8Ed97.cjs → trajectoryConfigPanel-CqoKO0hL.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-DwZvvYAl.js → trajectoryConfigPanel-uRLWdXUb.js} +1 -1
- package/dist/{trajectoryScatter-CEFp9PB3.js → trajectoryScatter-DPE4cC8N.js} +2 -2
- package/dist/{trajectoryScatter-Dd8Ppxae.cjs → trajectoryScatter-Dph8PSdN.cjs} +1 -1
- package/dist/{universalConfigPanel-BAppgtmC.js → universalConfigPanel-CI1CuBmr.js} +1 -1
- package/dist/{universalConfigPanel-C7tTPczg.cjs → universalConfigPanel-Db-pC67o.cjs} +1 -1
- package/dist/{universalTable-3JLC8oEV.js → universalTable-DMrgtBrw.js} +2 -2
- package/dist/{universalTable-COmdNAnW.cjs → universalTable-dQObEQog.cjs} +1 -1
- package/dist/{video-BtR163lf.js → video-DEhLie80.js} +2 -2
- package/dist/{video-8vSuQilp.cjs → video-DbsKQhVD.cjs} +1 -1
- package/dist/{videoMonitor-CdTNqBTI.js → videoMonitor-BS6_LYUb.js} +12 -12
- package/dist/{videoMonitor-BZwJZvno.cjs → videoMonitor-DLBtivXO.cjs} +1 -1
- package/dist/{vlu-AozGL50n.cjs → vlu-DXk_wQf-.cjs} +1 -1
- package/dist/{vlu-DqeEDfiN.js → vlu-DaSjPY3I.js} +2 -2
- package/dist/{warningOverview-CV_pqizm.js → warningOverview-CKCEs_Jj.js} +3 -3
- package/dist/{warningOverview-CRaFyOXe.cjs → warningOverview-DAUlXzr0.cjs} +1 -1
- package/dist/{weather-CLXe9W0L.cjs → weather-BAI0IWNH.cjs} +1 -1
- package/dist/{weather-iTeslV81.js → weather-XUj6pFwM.js} +2 -2
- package/dist/{windLin-u983PAHI.js → windLin-Bt4q2eUT.js} +2 -2
- package/dist/{windLin-BCMqmXdY.cjs → windLin-C9dsCT1w.cjs} +1 -1
- package/package.json +1 -1
- package/dist/bar-vpJvlBYX.cjs +0 -2
- package/dist/gasStationList-jfKZeg4P.cjs +0 -1
- package/dist/index-Cvu9nAQq.cjs +0 -612
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var _=Object.defineProperty,w=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var y=(r,o,l)=>o in r?_(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,v=(r,o)=>{for(var l in o||(o={}))z.call(o,l)&&y(r,l,o[l]);if(h)for(var l of h(o))O.call(o,l)&&y(r,l,o[l]);return r},x=(r,o)=>w(r,E(o));var S=(r,o,l)=>new Promise((L,p)=>{var n=a=>{try{f(l.next(a))}catch(m){p(m)}},g=a=>{try{f(l.throw(a))}catch(m){p(m)}},f=a=>a.done?L(a.value):Promise.resolve(a.value).then(n,g);f((l=l.apply(r,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),B=require("./BaseComponent-BXAJUoaf.cjs"),V=require("./index-Cvu9nAQq.cjs"),D=require("./titleStyle-NSnz6cUg.cjs"),M="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%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(-649.000000,%20-221.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cg%20id='卡片查看模式_view-grid-card'%20transform='translate(649.583607,%20224.127953)'%3e%3cpath%20d='M14.4615385,0%20C15.3112073,0%2016,0.688792693%2016,1.53846154%20L16,1.53846154%20L16,10.4477993%20C16,11.2974681%2015.3112073,11.9862608%2014.4615385,11.9862608%20L14.4615385,11.9862608%20L1.53846154,11.9862608%20C0.688792693,11.9862608%200,11.2974681%200,10.4477993%20L0,10.4477993%20L0,1.53846154%20C0,0.688792693%200.688792693,0%201.53846154,0%20L1.53846154,0%20Z%20M14.4615385,1.23076923%20L1.53846154,1.23076923%20C1.36852777,1.23076923%201.23076923,1.36852777%201.23076923,1.53846154%20L1.23076923,1.53846154%20L1.23076923,10.4477993%20C1.23076923,10.6177331%201.36852777,10.7554916%201.53846154,10.7554916%20L1.53846154,10.7554916%20L14.4615385,10.7554916%20C14.6314722,10.7554916%2014.7692308,10.6177331%2014.7692308,10.4477993%20L14.7692308,10.4477993%20L14.7692308,1.53846154%20C14.7692308,1.36852777%2014.6314722,1.23076923%2014.4615385,1.23076923%20L14.4615385,1.23076923%20Z%20M6.14307642,3.81624937%20C6.48294396,3.81624937%206.75846104,4.09176645%206.75846104,4.43163399%20L6.75846104,4.43163399%20L6.75846104,7.55462685%20C6.75846104,7.89449439%206.48294396,8.17001146%206.14307642,8.17001146%20L6.14307642,8.17001146%20L2.95665531,8.17001146%20C2.61678777,8.17001146%202.3412707,7.89449439%202.3412707,7.55462685%20L2.3412707,7.55462685%20L2.3412707,4.43163399%20C2.3412707,4.09176645%202.61678777,3.81624937%202.95665531,3.81624937%20L2.95665531,3.81624937%20Z%20M13.247791,3.81624937%20C13.5876586,3.81624937%2013.8631757,4.09176645%2013.8631757,4.43163399%20L13.8631757,4.43163399%20L13.8631757,7.55462685%20C13.8631757,7.89449439%2013.5876586,8.17001146%2013.247791,8.17001146%20L13.247791,8.17001146%20L8.17088167,8.17001146%20C7.83101413,8.17001146%207.55549706,7.89449439%207.55549706,7.55462685%20L7.55549706,7.55462685%20L7.55549706,4.43163399%20C7.55549706,4.09176645%207.83101413,3.81624937%208.17088167,3.81624937%20L8.17088167,3.81624937%20Z%20M5.52707692,5.04615385%20L3.572,5.04615385%20L3.572,6.93846154%20L5.52707692,6.93846154%20L5.52707692,5.04615385%20Z%20M12.632,5.04615385%20L8.78553846,5.04615385%20L8.78553846,6.93846154%20L12.632,6.93846154%20L12.632,5.04615385%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e卡片组%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-649.000000,%20-221.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cg%20id='卡片查看模式_view-grid-card'%20transform='translate(649.583607,%20224.127953)'%3e%3cpath%20d='M14.4615385,0%20C15.3112073,0%2016,0.688792693%2016,1.53846154%20L16,1.53846154%20L16,10.4477993%20C16,11.2974681%2015.3112073,11.9862608%2014.4615385,11.9862608%20L14.4615385,11.9862608%20L1.53846154,11.9862608%20C0.688792693,11.9862608%200,11.2974681%200,10.4477993%20L0,10.4477993%20L0,1.53846154%20C0,0.688792693%200.688792693,0%201.53846154,0%20L1.53846154,0%20Z%20M14.4615385,1.23076923%20L1.53846154,1.23076923%20C1.36852777,1.23076923%201.23076923,1.36852777%201.23076923,1.53846154%20L1.23076923,1.53846154%20L1.23076923,10.4477993%20C1.23076923,10.6177331%201.36852777,10.7554916%201.53846154,10.7554916%20L1.53846154,10.7554916%20L14.4615385,10.7554916%20C14.6314722,10.7554916%2014.7692308,10.6177331%2014.7692308,10.4477993%20L14.7692308,10.4477993%20L14.7692308,1.53846154%20C14.7692308,1.36852777%2014.6314722,1.23076923%2014.4615385,1.23076923%20L14.4615385,1.23076923%20Z%20M6.14307642,3.81624937%20C6.48294396,3.81624937%206.75846104,4.09176645%206.75846104,4.43163399%20L6.75846104,4.43163399%20L6.75846104,7.55462685%20C6.75846104,7.89449439%206.48294396,8.17001146%206.14307642,8.17001146%20L6.14307642,8.17001146%20L2.95665531,8.17001146%20C2.61678777,8.17001146%202.3412707,7.89449439%202.3412707,7.55462685%20L2.3412707,7.55462685%20L2.3412707,4.43163399%20C2.3412707,4.09176645%202.61678777,3.81624937%202.95665531,3.81624937%20L2.95665531,3.81624937%20Z%20M13.247791,3.81624937%20C13.5876586,3.81624937%2013.8631757,4.09176645%2013.8631757,4.43163399%20L13.8631757,4.43163399%20L13.8631757,7.55462685%20C13.8631757,7.89449439%2013.5876586,8.17001146%2013.247791,8.17001146%20L13.247791,8.17001146%20L8.17088167,8.17001146%20C7.83101413,8.17001146%207.55549706,7.89449439%207.55549706,7.55462685%20L7.55549706,7.55462685%20L7.55549706,4.43163399%20C7.55549706,4.09176645%207.83101413,3.81624937%208.17088167,3.81624937%20L8.17088167,3.81624937%20Z%20M5.52707692,5.04615385%20L3.572,5.04615385%20L3.572,6.93846154%20L5.52707692,6.93846154%20L5.52707692,5.04615385%20Z%20M12.632,5.04615385%20L8.78553846,5.04615385%20L8.78553846,6.93846154%20L12.632,6.93846154%20L12.632,5.04615385%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",A={class:"mix-body"},N=["onClick"],F={class:"p-1.5 flex flex-wrap overflow-y-auto"},Z={class:"h-1/2 flex items-center"},H={class:"h-1/2 flex items-center"},$={DEFAULT_ICON:M,ACTIVE_ICON:T,NAME_CN:"卡片组",NAME_EN:"Group Card",ORDER:5,PLATFORM:["pc","screen","mobile"]},R={bgColor:"#fff",titleColor:"#111",textColor:"#111",itemColor:"#e5e5e5",titleSize:14,textSize:13,radiusSize:8,isHideTitle:{value:!1,type:"checkbox",label:"component.options.isHideTitle",repel:"isDynamic"},isDynamic:!1,cardWidth:{value:150,type:"number",label:"component.card.cardWidth",dependent:"isDynamic"},cardHeight:{value:100,type:"number",label:"component.card.cardHeight",dependent:"isDynamic"},tags:{value:[{label:"TAB1",flag:[]}],type:"tags",label:"component.card.tags",dependent:"isDynamic"}},k=[{name:"",fv:"",object_id:""}],U=["name","fv","object_id"],j=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],I={useAlias:!1,source:"mosaic",multiObject:!1},W={DEFAULT:$,OPTIONS:R,DATA:k,PARAMS:U,SOURCE:j,COMMON:I},q=e.defineComponent(x(v({},W),{__name:"groupCard",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(r){const o=r,l="--";class L extends B.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),itemColor:this.getOptionValue("itemColor","#e5e5e5"),titleSize:this.getOptionValue("titleSize",14),textSize:this.getOptionValue("textSize",13),radiusSize:this.getOptionValue("radiusSize",8),cardHeight:this.getOptionValue("cardHeight",100),cardWidth:this.getOptionValue("cardWidth",150),isHideTitle:this.getOptionValue("isHideTitle",!1),isDynamic:this.getOptionValue("isDynamic",!1),tags:this.getOptionValue("tags",[])}}init(){return S(this,null,function*(){var s;this.Style.value=this.extractStyles(),this.applyTheme(),(s=this.props.conf.data)!=null&&s.length||(this.props.conf.data=k)})}setHistoryData(s){if(!s)return;const{data:t}=this.props.conf;!Array.isArray(t)||!t.length||t.forEach((i,c)=>{const u=s[c].data[0];u!=null&&(i.value=u)})}setSocketData(s){if(!s)return;const{data:t}=this.props.conf;!Array.isArray(t)||!t.length||t.forEach(i=>{var c;i.value=(c=this.extractDataValue(s,i.fv))!=null?c:l})}}const p=new L(o,"groupCard");p.setupLifecycle();const n=p.getStyle(),g=o.conf,f=e.computed(()=>D.generateTitleStyle(o.conf.options)),a=e.ref(0),m=e.computed(()=>{var i;const{data:d,options:s}=o.conf,t=((i=s.tags)==null?void 0:i.value)||[];return d.filter(c=>{var u,C;return(C=(u=t[a.value])==null?void 0:u.flag)==null?void 0:C.includes(c.fv)})}),b=d=>{a.value=d};return(d,s)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.unref(n).isDynamic?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:"flex border-b border-gray-200 px-3",style:e.normalizeStyle({color:e.unref(n).titleColor,fontSize:`${e.unref(n).titleSize}px`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n).tags,(t,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:e.normalizeClass(["py-2 px-3 cursor-pointer",{actived:a.value===Number(i)}]),onClick:c=>b(Number(i))},e.toDisplayString(t.label),11,N))),128))],4),e.createElementVNode("div",F,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(t,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:"flex flex-col items-center rounded m-1.5",style:e.normalizeStyle({width:`${e.unref(n).cardWidth}px`,height:`${e.unref(n).cardHeight}px`,background:e.unref(n).itemColor,fontSize:`${e.unref(n).textSize}px`})},[e.createElementVNode("div",Z,e.toDisplayString((t==null?void 0:t.value)||l),1),e.createElementVNode("div",H,e.toDisplayString(t==null?void 0:t.name),1)],4))),128))])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[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",A,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(g).data,(t,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:"flex-1 flex mx-3 px-4 mb-3 first:mt-3 rounded items-center justify-between",style:e.normalizeStyle({background:e.unref(n).itemColor,color:e.unref(n).textColor,fontSize:`${e.unref(n).textSize}px`})},[e.createElementVNode("div",null,e.toDisplayString(t.name),1),e.createElementVNode("div",null,e.toDisplayString(t.value),1)],4))),128))])],64)),e.renderSlot(d.$slots,"default",{},void 0,!0)],4))}})),P=V._export_sfc(q,[["__scopeId","data-v-4e413cb7"]]);exports.default=P;
|
|
1
|
+
"use strict";var _=Object.defineProperty,w=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var y=(r,l,o)=>l in r?_(r,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[l]=o,v=(r,l)=>{for(var o in l||(l={}))B.call(l,o)&&y(r,o,l[o]);if(h)for(var o of h(l))z.call(l,o)&&y(r,o,l[o]);return r},x=(r,l)=>w(r,E(l));var S=(r,l,o)=>new Promise((L,p)=>{var n=a=>{try{f(o.next(a))}catch(m){p(m)}},g=a=>{try{f(o.throw(a))}catch(m){p(m)}},f=a=>a.done?L(a.value):Promise.resolve(a.value).then(n,g);f((o=o.apply(r,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),O=require("./BaseComponent-BmhMoM4H.cjs"),V=require("./index-77aUdspY.cjs"),D=require("./titleStyle-NSnz6cUg.cjs"),T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%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(-649.000000,%20-221.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cg%20id='卡片查看模式_view-grid-card'%20transform='translate(649.583607,%20224.127953)'%3e%3cpath%20d='M14.4615385,0%20C15.3112073,0%2016,0.688792693%2016,1.53846154%20L16,1.53846154%20L16,10.4477993%20C16,11.2974681%2015.3112073,11.9862608%2014.4615385,11.9862608%20L14.4615385,11.9862608%20L1.53846154,11.9862608%20C0.688792693,11.9862608%200,11.2974681%200,10.4477993%20L0,10.4477993%20L0,1.53846154%20C0,0.688792693%200.688792693,0%201.53846154,0%20L1.53846154,0%20Z%20M14.4615385,1.23076923%20L1.53846154,1.23076923%20C1.36852777,1.23076923%201.23076923,1.36852777%201.23076923,1.53846154%20L1.23076923,1.53846154%20L1.23076923,10.4477993%20C1.23076923,10.6177331%201.36852777,10.7554916%201.53846154,10.7554916%20L1.53846154,10.7554916%20L14.4615385,10.7554916%20C14.6314722,10.7554916%2014.7692308,10.6177331%2014.7692308,10.4477993%20L14.7692308,10.4477993%20L14.7692308,1.53846154%20C14.7692308,1.36852777%2014.6314722,1.23076923%2014.4615385,1.23076923%20L14.4615385,1.23076923%20Z%20M6.14307642,3.81624937%20C6.48294396,3.81624937%206.75846104,4.09176645%206.75846104,4.43163399%20L6.75846104,4.43163399%20L6.75846104,7.55462685%20C6.75846104,7.89449439%206.48294396,8.17001146%206.14307642,8.17001146%20L6.14307642,8.17001146%20L2.95665531,8.17001146%20C2.61678777,8.17001146%202.3412707,7.89449439%202.3412707,7.55462685%20L2.3412707,7.55462685%20L2.3412707,4.43163399%20C2.3412707,4.09176645%202.61678777,3.81624937%202.95665531,3.81624937%20L2.95665531,3.81624937%20Z%20M13.247791,3.81624937%20C13.5876586,3.81624937%2013.8631757,4.09176645%2013.8631757,4.43163399%20L13.8631757,4.43163399%20L13.8631757,7.55462685%20C13.8631757,7.89449439%2013.5876586,8.17001146%2013.247791,8.17001146%20L13.247791,8.17001146%20L8.17088167,8.17001146%20C7.83101413,8.17001146%207.55549706,7.89449439%207.55549706,7.55462685%20L7.55549706,7.55462685%20L7.55549706,4.43163399%20C7.55549706,4.09176645%207.83101413,3.81624937%208.17088167,3.81624937%20L8.17088167,3.81624937%20Z%20M5.52707692,5.04615385%20L3.572,5.04615385%20L3.572,6.93846154%20L5.52707692,6.93846154%20L5.52707692,5.04615385%20Z%20M12.632,5.04615385%20L8.78553846,5.04615385%20L8.78553846,6.93846154%20L12.632,6.93846154%20L12.632,5.04615385%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",A="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e卡片组%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-649.000000,%20-221.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cg%20id='卡片查看模式_view-grid-card'%20transform='translate(649.583607,%20224.127953)'%3e%3cpath%20d='M14.4615385,0%20C15.3112073,0%2016,0.688792693%2016,1.53846154%20L16,1.53846154%20L16,10.4477993%20C16,11.2974681%2015.3112073,11.9862608%2014.4615385,11.9862608%20L14.4615385,11.9862608%20L1.53846154,11.9862608%20C0.688792693,11.9862608%200,11.2974681%200,10.4477993%20L0,10.4477993%20L0,1.53846154%20C0,0.688792693%200.688792693,0%201.53846154,0%20L1.53846154,0%20Z%20M14.4615385,1.23076923%20L1.53846154,1.23076923%20C1.36852777,1.23076923%201.23076923,1.36852777%201.23076923,1.53846154%20L1.23076923,1.53846154%20L1.23076923,10.4477993%20C1.23076923,10.6177331%201.36852777,10.7554916%201.53846154,10.7554916%20L1.53846154,10.7554916%20L14.4615385,10.7554916%20C14.6314722,10.7554916%2014.7692308,10.6177331%2014.7692308,10.4477993%20L14.7692308,10.4477993%20L14.7692308,1.53846154%20C14.7692308,1.36852777%2014.6314722,1.23076923%2014.4615385,1.23076923%20L14.4615385,1.23076923%20Z%20M6.14307642,3.81624937%20C6.48294396,3.81624937%206.75846104,4.09176645%206.75846104,4.43163399%20L6.75846104,4.43163399%20L6.75846104,7.55462685%20C6.75846104,7.89449439%206.48294396,8.17001146%206.14307642,8.17001146%20L6.14307642,8.17001146%20L2.95665531,8.17001146%20C2.61678777,8.17001146%202.3412707,7.89449439%202.3412707,7.55462685%20L2.3412707,7.55462685%20L2.3412707,4.43163399%20C2.3412707,4.09176645%202.61678777,3.81624937%202.95665531,3.81624937%20L2.95665531,3.81624937%20Z%20M13.247791,3.81624937%20C13.5876586,3.81624937%2013.8631757,4.09176645%2013.8631757,4.43163399%20L13.8631757,4.43163399%20L13.8631757,7.55462685%20C13.8631757,7.89449439%2013.5876586,8.17001146%2013.247791,8.17001146%20L13.247791,8.17001146%20L8.17088167,8.17001146%20C7.83101413,8.17001146%207.55549706,7.89449439%207.55549706,7.55462685%20L7.55549706,7.55462685%20L7.55549706,4.43163399%20C7.55549706,4.09176645%207.83101413,3.81624937%208.17088167,3.81624937%20L8.17088167,3.81624937%20Z%20M5.52707692,5.04615385%20L3.572,5.04615385%20L3.572,6.93846154%20L5.52707692,6.93846154%20L5.52707692,5.04615385%20Z%20M12.632,5.04615385%20L8.78553846,5.04615385%20L8.78553846,6.93846154%20L12.632,6.93846154%20L12.632,5.04615385%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",M={class:"mix-body"},N=["onClick"],F={class:"p-1.5 flex flex-wrap overflow-y-auto"},Z={class:"h-1/2 flex items-center"},H={class:"h-1/2 flex items-center"},$={DEFAULT_ICON:T,ACTIVE_ICON:A,NAME_CN:"卡片组",NAME_EN:"Group Card",ORDER:5,PLATFORM:["pc","screen","mobile"]},R={bgColor:"#fff",titleColor:"#111",textColor:"#111",itemColor:"#e5e5e5",titleSize:14,textSize:13,radiusSize:8,isHideTitle:{value:!1,type:"checkbox",label:"component.options.isHideTitle",repel:"isDynamic"},isDynamic:!1,cardWidth:{value:150,type:"number",label:"component.card.cardWidth",dependent:"isDynamic"},cardHeight:{value:100,type:"number",label:"component.card.cardHeight",dependent:"isDynamic"},tags:{value:[{label:"TAB1",flag:[]}],type:"tags",label:"component.card.tags",dependent:"isDynamic"},titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},k=[{name:"",fv:"",object_id:""}],U=["name","fv","object_id"],W=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],j={useAlias:!1,source:"mosaic",multiObject:!1},P={DEFAULT:$,OPTIONS:R,DATA:k,PARAMS:U,SOURCE:W,COMMON:j},I=e.defineComponent(x(v({},P),{__name:"groupCard",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(r){const l=r,o="--";class L extends O.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),itemColor:this.getOptionValue("itemColor","#e5e5e5"),titleSize:this.getOptionValue("titleSize",14),textSize:this.getOptionValue("textSize",13),radiusSize:this.getOptionValue("radiusSize",8),cardHeight:this.getOptionValue("cardHeight",100),cardWidth:this.getOptionValue("cardWidth",150),isHideTitle:this.getOptionValue("isHideTitle",!1),isDynamic:this.getOptionValue("isDynamic",!1),tags:this.getOptionValue("tags",[])}}init(){return S(this,null,function*(){var c;this.Style.value=this.extractStyles(),this.applyTheme(),(c=this.props.conf.data)!=null&&c.length||(this.props.conf.data=k)})}setHistoryData(c){if(!c)return;const{data:t}=this.props.conf;!Array.isArray(t)||!t.length||t.forEach((i,s)=>{const u=c[s].data[0];u!=null&&(i.value=u)})}setSocketData(c){if(!c)return;const{data:t}=this.props.conf;!Array.isArray(t)||!t.length||t.forEach(i=>{var s;i.value=(s=this.extractDataValue(c,i.fv))!=null?s:o})}}const p=new L(l,"groupCard");p.setupLifecycle();const n=p.getStyle(),g=l.conf,f=e.computed(()=>D.generateTitleStyle(l.conf.options)),a=e.ref(0),m=e.computed(()=>{var i;const{data:d,options:c}=l.conf,t=((i=c.tags)==null?void 0:i.value)||[];return d.filter(s=>{var u,C;return(C=(u=t[a.value])==null?void 0:u.flag)==null?void 0:C.includes(s.fv)})}),b=d=>{a.value=d};return(d,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.unref(n).isDynamic?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:"flex border-b border-gray-200 px-3",style:e.normalizeStyle({color:e.unref(n).titleColor,fontSize:`${e.unref(n).titleSize}px`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n).tags,(t,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:e.normalizeClass(["py-2 px-3 cursor-pointer",{actived:a.value===Number(i)}]),style:{"margin-right":"10px"},onClick:s=>b(Number(i))},e.toDisplayString(t.label),11,N))),128))],4),e.createElementVNode("div",F,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(t,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:"flex flex-col items-center rounded m-1.5",style:e.normalizeStyle({width:`${e.unref(n).cardWidth}px`,height:`${e.unref(n).cardHeight}px`,background:e.unref(n).itemColor,fontSize:`${e.unref(n).textSize}px`,color:`${e.unref(n).textColor}`})},[e.createElementVNode("div",Z,e.toDisplayString((t==null?void 0:t.value)||o),1),e.createElementVNode("div",H,e.toDisplayString(t==null?void 0:t.name),1)],4))),128))])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[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",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(g).data,(t,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:"flex-1 flex mx-3 px-4 mb-3 first:mt-3 rounded items-center justify-between",style:e.normalizeStyle({background:e.unref(n).itemColor,color:e.unref(n).textColor,fontSize:`${e.unref(n).textSize}px`})},[e.createElementVNode("div",null,e.toDisplayString(t.name),1),e.createElementVNode("div",null,e.toDisplayString(t.value),1)],4))),128))])],64)),e.renderSlot(d.$slots,"default",{},void 0,!0)],4))}})),q=V._export_sfc(I,[["__scopeId","data-v-9a559d22"]]);exports.default=q;
|
|
@@ -29,8 +29,8 @@ var w = (s, l, r) => new Promise((S, d) => {
|
|
|
29
29
|
import { defineComponent as X, useCssVars as Y, unref as c, inject as B, ref as Z, computed as U, openBlock as h, createElementBlock as v, createStaticVNode as ee, createElementVNode as m, Fragment as E, renderList as k, normalizeStyle as te, normalizeClass as z, toDisplayString as x, renderSlot as ae } from "vue";
|
|
30
30
|
import { ElMessage as T } from "element-plus";
|
|
31
31
|
import "html2canvas";
|
|
32
|
-
import { B as oe } from "./BaseComponent-
|
|
33
|
-
import { a as re, _ as le } from "./index-
|
|
32
|
+
import { B as oe } from "./BaseComponent-CQaDWNO0.js";
|
|
33
|
+
import { a as re, _ as le } from "./index-BZpYmpDy.js";
|
|
34
34
|
import { A as ne, D as ce } from "./ele-textbox-icon-ClGaLi5p.js";
|
|
35
35
|
const se = { class: "header-bar-wrapper" }, ie = { class: "particles" }, de = { class: "header-left" }, ue = ["onClick"], fe = { class: "header-center" }, pe = { class: "header-title" }, me = { class: "header-right" }, he = ["onClick"], ve = {
|
|
36
36
|
DEFAULT_ICON: ce,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var I=Object.defineProperty,U=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var k=(s,l,r)=>l in s?I(s,l,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[l]=r,S=(s,l)=>{for(var r in l||(l={}))L.call(l,r)&&k(s,r,l[r]);if(B)for(var r of B(l))q.call(l,r)&&k(s,r,l[r]);return s},N=(s,l)=>U(s,z(l));var C=(s,l,r)=>new Promise((j,u)=>{var _=i=>{try{n(r.next(i))}catch(h){u(h)}},p=i=>{try{n(r.throw(i))}catch(h){u(h)}},n=i=>i.done?j(i.value):Promise.resolve(i.value).then(_,p);n((r=r.apply(s,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),E=require("element-plus");require("html2canvas");const R=require("./BaseComponent-
|
|
1
|
+
"use strict";var I=Object.defineProperty,U=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var k=(s,l,r)=>l in s?I(s,l,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[l]=r,S=(s,l)=>{for(var r in l||(l={}))L.call(l,r)&&k(s,r,l[r]);if(B)for(var r of B(l))q.call(l,r)&&k(s,r,l[r]);return s},N=(s,l)=>U(s,z(l));var C=(s,l,r)=>new Promise((j,u)=>{var _=i=>{try{n(r.next(i))}catch(h){u(h)}},p=i=>{try{n(r.throw(i))}catch(h){u(h)}},n=i=>i.done?j(i.value):Promise.resolve(i.value).then(_,p);n((r=r.apply(s,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),E=require("element-plus");require("html2canvas");const R=require("./BaseComponent-BmhMoM4H.cjs"),$=require("./index-77aUdspY.cjs"),x=require("./ele-textbox-icon-g_5kV8t6.cjs"),H={class:"header-bar-wrapper"},J={class:"particles"},W={class:"header-left"},G=["onClick"],K={class:"header-center"},Q={class:"header-title"},X={class:"header-right"},Y=["onClick"],Z={DEFAULT_ICON:x.DEFAULT_ICON,ACTIVE_ICON:x.ACTIVE_ICON,NAME_CN:"顶栏标题",NAME_EN:"Header Bar",ORDER:13,PLATFORM:["pc","screen"]},ee={title:{value:"数字孪生管理平台",type:"string",label:"component.headerBar.title"},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},borderColor:{value:"#1e90ff",type:"color",label:"component.headerBar.borderColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},accentColor:{value:"#409eff",type:"color",label:"component.headerBar.accentColor"},titleSize:{value:28,type:"number",label:"component.headerBar.titleSize",min:16,max:48},glowEffect:{value:!0,type:"checkbox",label:"component.headerBar.glowEffect"}},te=[{name:"首页",position:"left",actionType:"jump",jumpType:"uid",jumpParam:""},{name:"监控",position:"left",actionType:"jump",jumpType:"url",jumpParam:""},{name:"返回",position:"right",actionType:"back",jumpType:"",jumpParam:""},{name:"全屏",position:"right",actionType:"fullscreen",jumpType:"",jumpParam:""}],ae=["name","position","actionType","jumpType","jumpParam"],oe=["mosaic"],ne={useAlias:!1,multiObject:!1,source:"mosaic"},re={DEFAULT:Z,OPTIONS:ee,DATA:te,PARAMS:ae,SOURCE:oe,COMMON:ne},le=e.defineComponent(N(S({},re),{__name:"headerBar",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(s){e.useCssVars(c=>({v708b44dd:e.unref(n).bgColor,v1bd98454:e.unref(n).borderColor,fdc4a010:e.unref(n).accentColor,v11cba935:e.unref(n).textColor,v30641610:e.unref(n).glowEffect?`0 0 15px ${e.unref(n).accentColor}40`:"none",v74c60d48:e.unref(n).glowEffect?`0 0 20px ${e.unref(n).accentColor}60`:"none",v4fb37396:e.unref(n).titleSize+"px",v34c33394:e.unref(n).glowEffect?`0 0 20px ${e.unref(n).accentColor}, 0 0 40px ${e.unref(n).accentColor}40`:"none",v7e9c3061:e.unref(n).glowEffect?`0 0 10px ${e.unref(n).accentColor}`:"none"}));const l=e.inject("switchSheet",()=>{}),r=e.inject("getSheets",()=>[]),j=e.inject("getCurrentSheet",()=>0),u=s;class _ extends R.BaseComponent{extractStyles(){var a,o,d,v,b,g,f,y;const{options:t}=this.props.conf;return{title:((a=t==null?void 0:t.title)==null?void 0:a.value)||"数字孪生管理平台",bgColor:((o=t==null?void 0:t.bgColor)==null?void 0:o.value)||"#ffffff",borderColor:((d=t==null?void 0:t.borderColor)==null?void 0:d.value)||"#1e90ff",textColor:((v=t==null?void 0:t.textColor)==null?void 0:v.value)||"#333333",accentColor:((b=t==null?void 0:t.accentColor)==null?void 0:b.value)||"#409eff",titleSize:((g=t==null?void 0:t.titleSize)==null?void 0:g.value)||28,glowEffect:(y=(f=t==null?void 0:t.glowEffect)==null?void 0:f.value)!=null?y:!0}}getDefaultData(){return[{name:"首页",position:"left",actionType:"jump",jumpType:"uid",jumpParam:""},{name:"监控",position:"left",actionType:"jump",jumpType:"url",jumpParam:""},{name:"返回",position:"right",actionType:"back",jumpType:"",jumpParam:""},{name:"全屏",position:"right",actionType:"fullscreen",jumpType:"",jumpParam:""}]}}const p=new _(u,"headerBar");(!u.conf.data||u.conf.data.length===0)&&(u.conf.data=p.getDefaultData()),p.setupLifecycle();const n=p.getStyle(),i=e.ref(null),h=e.computed(()=>{var t;return(((t=u.conf)==null?void 0:t.data)||[]).filter(a=>a.position==="left")}),O=e.computed(()=>{var t;return(((t=u.conf)==null?void 0:t.data)||[]).filter(a=>a.position==="right")}),P=c=>C(null,null,function*(){try{const{result:t}=yield $.api.post("get_object_item",{uid:c},!0);if(t!=null&&t.show_uid){const a=location.href;return`${a.substring(0,a.indexOf("#")+1)}/show/${t.show_uid}?uid=${c}`}return null}catch(t){return console.error("获取跳转地址失败:",t),null}}),M=c=>C(null,null,function*(){var g;const{jumpType:t,jumpParam:a}=c;if(t==="sheet"){const f=r(),y=j();if(f.length<=1){E.ElMessage.warning("当前只有一个页面");return}let m;!a||a===""?m=(y+1)%f.length:isNaN(Number(a))?m=f.findIndex(w=>w.name===a||w.id===a):m=Number(a),m>=0&&m<f.length?(l(m),console.log("切换到页面:",m,(g=f[m])==null?void 0:g.name)):E.ElMessage.error("未找到目标页面");return}if(!a){E.ElMessage.warning("未设置跳转参数");return}let o=null;const d=location.href,v=d.substring(0,d.indexOf("#")+1),b=a.startsWith("http://")||a.startsWith("https://");t==="url"||b?o=a:t==="uid"?o=`${v}/show/${a}`:t==="object"&&(o=yield P(a)),console.log("跳转地址:",o,"跳转类型:",t,"参数:",a),o?window.open(o,"_self"):E.ElMessage.error("跳转失败,请检查参数")}),D=()=>{window.history.back()},A=()=>{window.location.reload()},V=()=>{document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},T=(c,t,a)=>C(null,null,function*(){if(u.mode==="edit"){i.value=`${c}-${t}`,console.log("编辑模式 - 点击按钮:",a);return}switch(i.value=`${c}-${t}`,a.actionType||"jump"){case"jump":yield M(a);break;case"back":D();break;case"refresh":A();break;case"fullscreen":V();break;default:console.log("自定义动作:",a)}}),F=c=>{const t=5+(c-1)*8+Math.random()*5,a=Math.random()*5,o=3+Math.random()*4,d=2+Math.random()*3;return{left:`${t}%`,animationDelay:`${a}s`,animationDuration:`${o}s`,width:`${d}px`,height:`${d}px`}};return(c,t)=>(e.openBlock(),e.createElementBlock("div",H,[t[2]||(t[2]=e.createStaticVNode('<div class="header-bg" data-v-fbe501de><div class="bg-line left-line" data-v-fbe501de><div class="flow-light" data-v-fbe501de></div></div><div class="bg-center" data-v-fbe501de><div class="scan-line" data-v-fbe501de></div><div class="grid-pattern" data-v-fbe501de></div></div><div class="bg-line right-line" data-v-fbe501de><div class="flow-light reverse" data-v-fbe501de></div></div></div>',1)),e.createElementVNode("div",J,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("span",{key:a,class:"particle",style:e.normalizeStyle(F(a))},null,4)),64))]),e.createElementVNode("div",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(a,o)=>(e.openBlock(),e.createElementBlock("button",{key:"left-"+o,class:e.normalizeClass(["header-btn",{active:i.value==="left-"+o}]),onClick:d=>T("left",o,a)},e.toDisplayString(a.name),11,G))),128))]),e.createElementVNode("div",K,[t[0]||(t[0]=e.createElementVNode("div",{class:"title-decoration left-dec"},null,-1)),e.createElementVNode("h1",Q,e.toDisplayString(e.unref(n).title),1),t[1]||(t[1]=e.createElementVNode("div",{class:"title-decoration right-dec"},null,-1))]),e.createElementVNode("div",X,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,(a,o)=>(e.openBlock(),e.createElementBlock("button",{key:"right-"+o,class:e.normalizeClass(["header-btn",{active:i.value==="right-"+o}]),onClick:d=>T("right",o,a)},e.toDisplayString(a.name),11,Y))),128))]),e.renderSlot(c.$slots,"default",{},void 0,!0)]))}})),ce=$._export_sfc(le,[["__scopeId","data-v-fbe501de"]]);exports.default=ce;
|
|
@@ -26,22 +26,22 @@ var M = (h, t, i) => new Promise((a, e) => {
|
|
|
26
26
|
}, r = (c) => c.done ? a(c.value) : Promise.resolve(c.value).then(s, o);
|
|
27
27
|
r((i = i.apply(h, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import {
|
|
30
|
-
const
|
|
29
|
+
import { B as V, a as k, O, d as p, Q as $ } from "./index-BZpYmpDy.js";
|
|
30
|
+
const Q = ["crd", "vlu", "arrayCard"];
|
|
31
31
|
class X {
|
|
32
32
|
constructor() {
|
|
33
33
|
}
|
|
34
34
|
/* 通用获取历史数据接口 start */
|
|
35
35
|
getHistoryData(t, i) {
|
|
36
36
|
return M(this, null, function* () {
|
|
37
|
-
var R, z, N, P,
|
|
37
|
+
var R, z, B, N, P, C;
|
|
38
38
|
if (i === "retainer1")
|
|
39
39
|
return this.getRetainerHistoryData(t, 1);
|
|
40
40
|
if (i === "retainer2")
|
|
41
41
|
return this.getRetainerHistoryData(t, 4);
|
|
42
42
|
let a = "result";
|
|
43
43
|
const { conf: e, uid: s } = t, { data: o, common: r, options: c } = e, n = r.source || "mosaic";
|
|
44
|
-
n === "mosaic" && (a =
|
|
44
|
+
n === "mosaic" && (a = Q.includes(i) ? "single" : "multiple"), ["statistics", "calculate"].includes(n) && (o.filter((u) => {
|
|
45
45
|
var _;
|
|
46
46
|
return (_ = u.periodUnit) == null ? void 0 : _.includes("near");
|
|
47
47
|
}).length && ["bar", "lin"].includes(i) ? a = "near" : a = "result");
|
|
@@ -52,7 +52,7 @@ class X {
|
|
|
52
52
|
objectid: _.objectid || _.object_id || "",
|
|
53
53
|
object_alias: _.object_alias || _.alias || "",
|
|
54
54
|
alias: _.alias || _.object_alias || ""
|
|
55
|
-
}, v =
|
|
55
|
+
}, v = O(u ? { object_alias: u, alias: u, object_id: u, objectid: u } : Y, !!r.useAlias, s);
|
|
56
56
|
return v || String(_.object_id || _.objectid || s || "");
|
|
57
57
|
}, w = (d, u) => {
|
|
58
58
|
const Y = u ? { object_alias: u, alias: u, object_id: u, objectid: u } : d || {};
|
|
@@ -66,8 +66,8 @@ class X {
|
|
|
66
66
|
return v ? [v] : [];
|
|
67
67
|
};
|
|
68
68
|
yield V({ common: r, data: o, options: c });
|
|
69
|
-
const S = w(r, (R = c.object) == null ? void 0 : R.value),
|
|
70
|
-
if (r.multiObject || (g = y(r, (z = c.object) == null ? void 0 : z.value) ||
|
|
69
|
+
const S = w(r, (R = c.object) == null ? void 0 : R.value), x = S[0] || s;
|
|
70
|
+
if (r.multiObject || (g = y(r, (z = c.object) == null ? void 0 : z.value) || x), r.source === "summary")
|
|
71
71
|
return new Promise((d) => {
|
|
72
72
|
k.platform((u) => {
|
|
73
73
|
d(u.result);
|
|
@@ -79,14 +79,14 @@ class X {
|
|
|
79
79
|
const A = [], D = this.normalizeHistoryTimeRange(r.historyTimeRange);
|
|
80
80
|
o.forEach((d) => {
|
|
81
81
|
var Y;
|
|
82
|
-
const u = r.multiObject ? w(d, d.object_alias || d.alias) : S.length > 1 ? S : [g ||
|
|
83
|
-
if ((r.multiObject || u.length > 1) && (d.object_id = _ || d.object_id ||
|
|
82
|
+
const u = r.multiObject ? w(d, d.object_alias || d.alias) : S.length > 1 ? S : [g || x].filter(Boolean), _ = u[0] || x;
|
|
83
|
+
if ((r.multiObject || u.length > 1) && (d.object_id = _ || d.object_id || x, d.objectid = _ || d.objectid || x), r.useAlias && !_) {
|
|
84
84
|
const b = y({
|
|
85
85
|
object_alias: d.object_alias || d.alias || d.object_id || d.objectid,
|
|
86
86
|
alias: d.alias || d.object_alias || d.object_id || d.objectid,
|
|
87
87
|
object_id: d.object_id,
|
|
88
88
|
objectid: d.objectid
|
|
89
|
-
}, d.object_alias || d.alias) ||
|
|
89
|
+
}, d.object_alias || d.alias) || x;
|
|
90
90
|
d.object_id = b, d.objectid = b;
|
|
91
91
|
}
|
|
92
92
|
if (D && n === "mosaic")
|
|
@@ -110,13 +110,13 @@ class X {
|
|
|
110
110
|
D && (n === "statistics" || n === "calculate") && f && (f.start_time = D.start_time, f.end_time = D.end_time), A.push(f);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
}), i === "scd" && ((
|
|
113
|
+
}), i === "scd" && ((B = c.multipleImg) != null && B.value) && (g = O({ object_alias: (N = c.object) == null ? void 0 : N.value, object_id: (P = c.object) == null ? void 0 : P.value }, !!r.useAlias, s), A.push({
|
|
114
114
|
action: "get_mosaic_list",
|
|
115
115
|
keys: [(C = c.statusFv) == null ? void 0 : C.value],
|
|
116
116
|
object_id: g || s,
|
|
117
117
|
page_index: 1,
|
|
118
118
|
page_size: 1
|
|
119
|
-
})), i === "sankey" && (r.multiObject && (g =
|
|
119
|
+
})), i === "sankey" && (r.multiObject && (g = O(r, !!r.useAlias, s)), A.unshift({
|
|
120
120
|
action: "get_mosaic_list",
|
|
121
121
|
keys: [r.originFv],
|
|
122
122
|
object_id: g,
|
|
@@ -383,7 +383,7 @@ class X {
|
|
|
383
383
|
/* 区间曲线获取历史数据 end */
|
|
384
384
|
/* 开关控件:按键/双控组件获取历史数据 */
|
|
385
385
|
getSwitchHistoryData(t) {
|
|
386
|
-
const { conf: i, uid: a } = t, { common: e } = i, s =
|
|
386
|
+
const { conf: i, uid: a } = t, { common: e } = i, s = O(e, !!e.useAlias, a), o = {
|
|
387
387
|
action: "get_last_fv_by_objid",
|
|
388
388
|
keys: [e.statusFv],
|
|
389
389
|
object_id: s
|
|
@@ -409,7 +409,7 @@ class X {
|
|
|
409
409
|
};
|
|
410
410
|
return s.forEach((n) => {
|
|
411
411
|
let l = "";
|
|
412
|
-
o.multiObject ? l =
|
|
412
|
+
o.multiObject ? l = O(n, !!o.useAlias, e) : l = O(o, !!o.useAlias, e), c.args.condition.push({
|
|
413
413
|
object_id: l || n.object_id,
|
|
414
414
|
retainer: n.retainer || "",
|
|
415
415
|
retainer_code: n.retainer_code || "",
|
|
@@ -432,7 +432,7 @@ class X {
|
|
|
432
432
|
let r = "result";
|
|
433
433
|
o === "mosaic" && (r = "single");
|
|
434
434
|
let c = "";
|
|
435
|
-
if (e.multiObject || (c =
|
|
435
|
+
if (e.multiObject || (c = O(e, !!e.useAlias, a)), o === "summary")
|
|
436
436
|
return new Promise((l) => {
|
|
437
437
|
k.platform((g) => {
|
|
438
438
|
l(g.result);
|
|
@@ -445,7 +445,7 @@ class X {
|
|
|
445
445
|
return s.forEach((l) => {
|
|
446
446
|
l.forEach((g) => {
|
|
447
447
|
if (g.isValue) {
|
|
448
|
-
e.multiObject && (c =
|
|
448
|
+
e.multiObject && (c = O({ object_id: g.object, object_alias: g.object }, !!e.useAlias, a)), g.object_id = c;
|
|
449
449
|
const y = `get_${o}_item`;
|
|
450
450
|
typeof this[y] == "function" && n.push(this[y](g, r, 1, ""));
|
|
451
451
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var T=Object.defineProperty,U=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var C=(y,t,i)=>t in y?T(y,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):y[t]=i,p=(y,t)=>{for(var i in t||(t={}))J.call(t,i)&&C(y,i,t[i]);if(N)for(var i of N(t))q.call(t,i)&&C(y,i,t[i]);return y},m=(y,t)=>U(y,F(t));var H=(y,t,i)=>new Promise((a,e)=>{var s=c=>{try{r(i.next(c))}catch(n){e(n)}},o=c=>{try{r(i.throw(c))}catch(n){e(n)}},r=c=>c.done?a(c.value):Promise.resolve(c.value).then(s,o);r((i=i.apply(y,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-Cvu9nAQq.cjs"),G=["crd","vlu","arrayCard"];class L{constructor(){}getHistoryData(t,i){return H(this,null,function*(){var M,w,R,z,P,B;if(i==="retainer1")return this.getRetainerHistoryData(t,1);if(i==="retainer2")return this.getRetainerHistoryData(t,4);let a="result";const{conf:e,uid:s}=t,{data:o,common:r,options:c}=e,n=r.source||"mosaic";n==="mosaic"&&(a=G.includes(i)?"single":"multiple"),["statistics","calculate"].includes(n)&&(o.filter(f=>{var _;return(_=f.periodUnit)==null?void 0:_.includes("near")}).length&&["bar","lin"].includes(i)?a="near":a="result");let u=c.points||1,b="";const h=(d,f)=>{const _=d||{},k={object_id:_.object_id||_.objectid||"",objectid:_.objectid||_.object_id||"",object_alias:_.object_alias||_.alias||"",alias:_.alias||_.object_alias||""},j=f?{object_alias:f,alias:f,object_id:f,objectid:f}:k,v=l.getObjectId(j,!!r.useAlias,s);return v||String(_.object_id||_.objectid||s||"")},S=(d,f)=>{const k=f?{object_alias:f,alias:f,object_id:f,objectid:f}:d||{};if(!r.useAlias){const g=h(k,f);return g?[g]:[]}const j=l.getObjectIdsByAliasPattern(k,s);if(j.length>0)return j;const v=h(k,f);return v?[v]:[]};yield l.loadAliasMappingFromJsonIfNeeded({common:r,data:o,options:c});const E=S(r,(M=c.object)==null?void 0:M.value),A=E[0]||s;if(r.multiObject||(b=h(r,(w=c.object)==null?void 0:w.value)||A),r.source==="summary")return new Promise(d=>{l.api.platform(f=>{d(f.result)},{block_mapping:"schema",action:"get_statistical_quantity"})});const O=[],Y=this.normalizeHistoryTimeRange(r.historyTimeRange);o.forEach(d=>{var k;const f=r.multiObject?S(d,d.object_alias||d.alias):E.length>1?E:[b||A].filter(Boolean),_=f[0]||A;if((r.multiObject||f.length>1)&&(d.object_id=_||d.object_id||A,d.objectid=_||d.objectid||A),r.useAlias&&!_){const j=h({object_alias:d.object_alias||d.alias||d.object_id||d.objectid,alias:d.alias||d.object_alias||d.object_id||d.objectid,object_id:d.object_id,objectid:d.objectid},d.object_alias||d.alias)||A;d.object_id=j,d.objectid=j}if(Y&&n==="mosaic")f.length>1?f.forEach(j=>{O.push(this.get_mosaic_by_time_range(m(p({},d),{object_id:j,objectid:j}),u,Y))}):O.push(this.get_mosaic_by_time_range(m(p({},d),{object_id:_,objectid:_}),u,Y));else if((k=r==null?void 0:r.rate)!=null&&k.checked&&n==="mosaic")f.length>1?f.forEach(j=>{O.push(this.get_mosaic_by_timespan(m(p({},d),{object_id:j,objectid:j}),u,r.rate))}):O.push(this.get_mosaic_by_timespan(m(p({},d),{object_id:_,objectid:_}),u,r.rate));else{const j=`get_${n}_item`;if(typeof this[j]=="function")if(f.length>1)f.forEach(v=>{const g=m(p({},d),{object_id:v,objectid:v}),D=this[j](g,a,u,i);Y&&(n==="statistics"||n==="calculate")&&D&&(D.start_time=Y.start_time,D.end_time=Y.end_time),O.push(D)});else{const v=m(p({},d),{object_id:_,objectid:_}),g=this[j](v,a,u,i);Y&&(n==="statistics"||n==="calculate")&&g&&(g.start_time=Y.start_time,g.end_time=Y.end_time),O.push(g)}}}),i==="scd"&&((R=c.multipleImg)!=null&&R.value)&&(b=l.getObjectId({object_alias:(z=c.object)==null?void 0:z.value,object_id:(P=c.object)==null?void 0:P.value},!!r.useAlias,s),O.push({action:"get_mosaic_list",keys:[(B=c.statusFv)==null?void 0:B.value],object_id:b||s,page_index:1,page_size:1})),i==="sankey"&&(r.multiObject&&(b=l.getObjectId(r,!!r.useAlias,s)),O.unshift({action:"get_mosaic_list",keys:[r.originFv],object_id:b,page_index:1,page_size:1}));const x=O.filter(d=>d&&typeof d=="object"&&typeof d.action=="string"&&String(d.action).trim()!=="");return x.length===0?Promise.resolve({history:[]}):new Promise(d=>{const f=_=>{if(!_||Array.isArray(_.history)&&_.history.length>0)return _;if(Array.isArray(_.data))return m(p({},_),{history:[_.data]});if(Array.isArray(_)){const k=[];let j;const v=g=>g?Array.isArray(g.history)&&g.history.length>0?Array.isArray(g.history[0])?g.history[0]:g.history:Array.isArray(g.data)?g.data:Array.isArray(g)?g:typeof g=="object"?[g]:[]:[];return _.forEach(g=>{const D=v(g);k.push(D),g&&typeof g=="object"&&Array.isArray(g.all_data_group)&&(j||(j=[]),j.push(...g.all_data_group))}),m(p({},j?{all_data_group:j}:{}),{history:k})}return _&&typeof _=="object"&&!Array.isArray(_.history)?{history:[[_]]}:_};x.length===1?l.api.platform(_=>{d(f(_.result))},x[0]):l.api.platform(_=>{d(f(_.result))},{condition:x})})})}get_mosaic_item(t,i,a,e){const s={action:i==="single"?"get_last_fv_by_objid":"get_mosaic_list",keys:[t.fv],object_id:t.object_id};return i!=="single"&&(s.page_index=1,s.page_size=a||1),e==="evn"&&(s.keys=[t.fv,t.status_fv]),e==="cmc"&&(s.keys=[t.item_fv]),["ctrSwitch"].includes(e)&&(s.keys=[t.status_fv]),["progressBar","progressCircle"].includes(e)&&t.maxType==="fv"&&(s.keys=[t.fv,t.max]),s}normalizeHistoryTimeRange(t){if(!t)return null;const i=t.start_time||t.startDate,a=t.end_time||t.endDate;if(!i||!a)return null;const e=l.dayjs(i).isValid()?l.dayjs(i).format("YYYY-MM-DD HH:mm:ss"):String(i),s=l.dayjs(a).isValid()?l.dayjs(a).format("YYYY-MM-DD HH:mm:ss"):String(a);return{start_time:e,end_time:s}}get_mosaic_by_time_range(t,i,a){const e=t,s=[e==null?void 0:e.fv,e==null?void 0:e.item_fv,e==null?void 0:e.fv_x,e==null?void 0:e.fv_y,e==null?void 0:e.fv_radius,e==null?void 0:e.fv_angle].filter(Boolean);return{action:"get_mosaic_list",start_time:a.start_time,end_time:a.end_time,keys:s.length?s:[e==null?void 0:e.fv].filter(Boolean),object_id:t.object_id,page_index:1,page_size:i||100}}get_mosaic_by_timespan(t,i,a){const e=l.dayjs().unix(),s=e-a.value*Number(i),o=t,r=[o==null?void 0:o.fv,o==null?void 0:o.item_fv,o==null?void 0:o.fv_x,o==null?void 0:o.fv_y,o==null?void 0:o.fv_radius,o==null?void 0:o.fv_angle].filter(Boolean);return{action:"get_mosaic_list",start_time:l.dayjs(s*1e3).format("YYYY-MM-DD HH:mm:ss"),end_time:l.dayjs(e*1e3).format("YYYY-MM-DD HH:mm:ss"),keys:r.length?r:[o==null?void 0:o.fv].filter(Boolean),object_id:t.object_id,page_index:1,page_size:i||100}}get_statistics_item(t,i,a){var e,s;return(e=t.periodUnit)!=null&&e.includes("near")?this.get_neardate_item(t,"statistics"):{action:"get_statistics_list",script_uid:(s=t.uid)!=null?s:t.fv,page_size:Number(a)||20,page_index:1,order_by:JSON.stringify(["end_time","desc"])}}get_calculate_item(t,i,a){var e,s;return(e=t.periodUnit)!=null&&e.includes("near")?this.get_neardate_item(t,"calculate"):{action:"get_calculate_list",script_uid:(s=t.uid)!=null?s:t.fv,page_size:Number(a)||20,page_index:1,order_by:JSON.stringify(["end_time","desc"])}}get_neardate_item(t,i){var a;return{action:i==="statistics"?"get_last_statistics":"get_last_calculate",script_uid:(a=t.uid)!=null?a:t.fv,object_id:t.object_id}}get_index_item(t,i,a,e){const s=t.is_alias?"alias":"uid";return{page_index:1,page_size:a,block_mapping:"index",action:"get_index_result_list",where_and:[[s,"=",t.fv],["object_id","=",t.object_id]]}}get_deviation_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"deviation",action:"get_deviation_result_list"})}get_stability_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"stability",action:"get_stability_result_list"})}get_balance_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"balance",action:"get_balance_result_list"})}get_increment_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"increment",action:"get_increment_result_list"})}get_risk_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"risk",action:"get_risk_result_list"})}get_summary_item(){return{block_mapping:"schema",action:"get_statistical_quantity"}}getRangeLineHistoryData(t){var n,u;const{conf:i,uid:a}=t,e=((u=(n=i==null?void 0:i.options)==null?void 0:n.points)==null?void 0:u.value)||100,s=i.common.source||"mosaic",o=JSON.parse(sessionStorage.getItem("object_alias_uid_mapping")||"{}"),r=i.data[0]||{};let c="";return i.useAlias?c=r.object_alias&&o[r.object_alias]||a:c=r.object_id||a,s==="deviation"?this.getDeviationHistory(i,c,e):this.getEigenHistory(i,c,e)}getDeviationHistory(t,i,a){const e=t.data[0]||{},s=e.is_alias?"alias":"uid",o={block_mapping:"deviation",action:"get_deviation_result_list",page_index:1,page_size:a,where_and:[["object_id","=",i]]};return e.fv&&o.where_and.unshift([s,"=",e.fv]),new Promise(r=>{l.api.platform(c=>{r(this.formatDeviation(c.result))},o)})}getEigenHistory(t,i,a){return H(this,null,function*(){const e={times:[],data:[],range:{}};(yield new Promise(r=>{const c={action:"get_mosaic_list",keys:[t.data[0].fv],object_id:i,page_index:1,page_size:a};l.api.platform(n=>{const u=n.result.data?n.result.data.sort((b,h)=>l.dayjs(b.time).valueOf()-l.dayjs(h.time).valueOf()):[];r(u)},c)})).forEach(r=>{var c;e.times.push(l.dayjs(r.time).format("YYYY-MM-DD HH:mm:ss")),e.data.push((c=r[t.data[0].fv])!=null?c:"-")});const o={action:"get_adaps_report_list",block_mapping:"eigen",where_and:[["start",">=",e.times[0]],["end","<=",e.times[e.times.length-1]],["project_uid","=",t.data[0].project_id],["object_id","=",i]]};return new Promise(r=>{l.api.platform(c=>{e.range=this.formatEigen(c.result.data,e.times),r(e)},o)})})}formatDeviation(t){const i={times:[],data:[],range:{}},a={};t.data.sort((s,o)=>l.dayjs(s.created).valueOf()-l.dayjs(o.created).valueOf()).forEach((s,o)=>{i.times.push(s.created),i.data.push(s.data.Dev),s.data.Base&&(a[s.data.Base]?a[s.data.Base].push([o,o]):a[s.data.Base]=[[o,o]])});for(const s in a){const o=[],r=a[s];if(r.length===0)continue;let c=[r[0]];for(let n=1;n<r.length;n++)r[n][0]-r[n-1][0]===1?c.push(r[n]):(o.push(c),c=[r[n]]);o.push(c),a[s]=o.map(n=>[n[0][0],n[n.length-1][0]])}return i.range=a,i}formatEigen(t,i){const a={};return t.sort((s,o)=>l.dayjs(s.created).valueOf()-l.dayjs(o.created).valueOf()).forEach(s=>{const o=JSON.parse(s.detail),r=[l.dayjs(s.start).format("YYYY-MM-DD HH:mm:ss"),l.dayjs(s.end).format("YYYY-MM-DD HH:mm:ss")];o.Main.forEach(c=>{var h;const n=(h=c.report)!=null&&h.start?[l.dayjs(c.report[0].start.datetime).format("YYYY-MM-DD HH:mm:ss"),l.dayjs(c.report[0].end.datetime).format("YYYY-MM-DD HH:mm:ss")]:r,u=i.indexOf(n[0]),b=i.indexOf(n[1]);u===-1||b===-1||(a[c.key_type]?a[c.key_type].push([u,b]):a[c.key_type]=[[u,b]])})}),a}getSwitchHistoryData(t){const{conf:i,uid:a}=t,{common:e}=i,s=l.getObjectId(e,!!e.useAlias,a),o={action:"get_last_fv_by_objid",keys:[e.statusFv],object_id:s};return new Promise(r=>{l.api.platform(c=>{r(c.result)},o)})}getRetainerHistoryData(t,i=1){return H(this,null,function*(){const{conf:a,uid:e}=t,{data:s,common:o}=a,r=yield l.api.getTokenForBackend(),c={block_mapping:"mixtask",action:"user_action",user_action:"get_retainer_result",args:{items:i,token:r,condition:[]}};return s.forEach(n=>{let u="";o.multiObject?u=l.getObjectId(n,!!o.useAlias,e):u=l.getObjectId(o,!!o.useAlias,e),c.args.condition.push({object_id:u||n.object_id,retainer:n.retainer||"",retainer_code:n.retainer_code||"",fv:n.fv||""})}),new Promise(n=>{l.api.platform(u=>{if(u.code===200&&u.result){const b=Array.isArray(u.result)?u.result[0]:u.result;n(b)}else n({history:[]})},c)})})}getGridviewHistoryData(t){const{conf:i,uid:a}=t,{common:e,data:s}=i,o=e.source||"mosaic";let r="result";o==="mosaic"&&(r="single");let c="";if(e.multiObject||(c=l.getObjectId(e,!!e.useAlias,a)),o==="summary")return new Promise(u=>{l.api.platform(b=>{u(b.result)},{block_mapping:"schema",action:"get_statistical_quantity"})});const n=[];return s.forEach(u=>{u.forEach(b=>{if(b.isValue){e.multiObject&&(c=l.getObjectId({object_id:b.object,object_alias:b.object},!!e.useAlias,a)),b.object_id=c;const h=`get_${o}_item`;typeof this[h]=="function"&&n.push(this[h](b,r,1,""))}})}),new Promise(u=>{n.length===1?l.api.platform(b=>{u(b.result)},n[0]):n.length>1?l.api.platform(b=>{u(b.result)},{condition:n}):u({data:[]})})}}exports.default=L;
|
|
1
|
+
"use strict";var T=Object.defineProperty,U=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var C=(y,t,i)=>t in y?T(y,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):y[t]=i,p=(y,t)=>{for(var i in t||(t={}))J.call(t,i)&&C(y,i,t[i]);if(N)for(var i of N(t))q.call(t,i)&&C(y,i,t[i]);return y},m=(y,t)=>U(y,F(t));var H=(y,t,i)=>new Promise((a,e)=>{var s=c=>{try{r(i.next(c))}catch(n){e(n)}},o=c=>{try{r(i.throw(c))}catch(n){e(n)}},r=c=>c.done?a(c.value):Promise.resolve(c.value).then(s,o);r((i=i.apply(y,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-77aUdspY.cjs"),G=["crd","vlu","arrayCard"];class L{constructor(){}getHistoryData(t,i){return H(this,null,function*(){var M,w,R,z,P,B;if(i==="retainer1")return this.getRetainerHistoryData(t,1);if(i==="retainer2")return this.getRetainerHistoryData(t,4);let a="result";const{conf:e,uid:s}=t,{data:o,common:r,options:c}=e,n=r.source||"mosaic";n==="mosaic"&&(a=G.includes(i)?"single":"multiple"),["statistics","calculate"].includes(n)&&(o.filter(f=>{var _;return(_=f.periodUnit)==null?void 0:_.includes("near")}).length&&["bar","lin"].includes(i)?a="near":a="result");let u=c.points||1,b="";const h=(d,f)=>{const _=d||{},k={object_id:_.object_id||_.objectid||"",objectid:_.objectid||_.object_id||"",object_alias:_.object_alias||_.alias||"",alias:_.alias||_.object_alias||""},j=f?{object_alias:f,alias:f,object_id:f,objectid:f}:k,v=l.getObjectId(j,!!r.useAlias,s);return v||String(_.object_id||_.objectid||s||"")},S=(d,f)=>{const k=f?{object_alias:f,alias:f,object_id:f,objectid:f}:d||{};if(!r.useAlias){const g=h(k,f);return g?[g]:[]}const j=l.getObjectIdsByAliasPattern(k,s);if(j.length>0)return j;const v=h(k,f);return v?[v]:[]};yield l.loadAliasMappingFromJsonIfNeeded({common:r,data:o,options:c});const E=S(r,(M=c.object)==null?void 0:M.value),A=E[0]||s;if(r.multiObject||(b=h(r,(w=c.object)==null?void 0:w.value)||A),r.source==="summary")return new Promise(d=>{l.api.platform(f=>{d(f.result)},{block_mapping:"schema",action:"get_statistical_quantity"})});const O=[],Y=this.normalizeHistoryTimeRange(r.historyTimeRange);o.forEach(d=>{var k;const f=r.multiObject?S(d,d.object_alias||d.alias):E.length>1?E:[b||A].filter(Boolean),_=f[0]||A;if((r.multiObject||f.length>1)&&(d.object_id=_||d.object_id||A,d.objectid=_||d.objectid||A),r.useAlias&&!_){const j=h({object_alias:d.object_alias||d.alias||d.object_id||d.objectid,alias:d.alias||d.object_alias||d.object_id||d.objectid,object_id:d.object_id,objectid:d.objectid},d.object_alias||d.alias)||A;d.object_id=j,d.objectid=j}if(Y&&n==="mosaic")f.length>1?f.forEach(j=>{O.push(this.get_mosaic_by_time_range(m(p({},d),{object_id:j,objectid:j}),u,Y))}):O.push(this.get_mosaic_by_time_range(m(p({},d),{object_id:_,objectid:_}),u,Y));else if((k=r==null?void 0:r.rate)!=null&&k.checked&&n==="mosaic")f.length>1?f.forEach(j=>{O.push(this.get_mosaic_by_timespan(m(p({},d),{object_id:j,objectid:j}),u,r.rate))}):O.push(this.get_mosaic_by_timespan(m(p({},d),{object_id:_,objectid:_}),u,r.rate));else{const j=`get_${n}_item`;if(typeof this[j]=="function")if(f.length>1)f.forEach(v=>{const g=m(p({},d),{object_id:v,objectid:v}),D=this[j](g,a,u,i);Y&&(n==="statistics"||n==="calculate")&&D&&(D.start_time=Y.start_time,D.end_time=Y.end_time),O.push(D)});else{const v=m(p({},d),{object_id:_,objectid:_}),g=this[j](v,a,u,i);Y&&(n==="statistics"||n==="calculate")&&g&&(g.start_time=Y.start_time,g.end_time=Y.end_time),O.push(g)}}}),i==="scd"&&((R=c.multipleImg)!=null&&R.value)&&(b=l.getObjectId({object_alias:(z=c.object)==null?void 0:z.value,object_id:(P=c.object)==null?void 0:P.value},!!r.useAlias,s),O.push({action:"get_mosaic_list",keys:[(B=c.statusFv)==null?void 0:B.value],object_id:b||s,page_index:1,page_size:1})),i==="sankey"&&(r.multiObject&&(b=l.getObjectId(r,!!r.useAlias,s)),O.unshift({action:"get_mosaic_list",keys:[r.originFv],object_id:b,page_index:1,page_size:1}));const x=O.filter(d=>d&&typeof d=="object"&&typeof d.action=="string"&&String(d.action).trim()!=="");return x.length===0?Promise.resolve({history:[]}):new Promise(d=>{const f=_=>{if(!_||Array.isArray(_.history)&&_.history.length>0)return _;if(Array.isArray(_.data))return m(p({},_),{history:[_.data]});if(Array.isArray(_)){const k=[];let j;const v=g=>g?Array.isArray(g.history)&&g.history.length>0?Array.isArray(g.history[0])?g.history[0]:g.history:Array.isArray(g.data)?g.data:Array.isArray(g)?g:typeof g=="object"?[g]:[]:[];return _.forEach(g=>{const D=v(g);k.push(D),g&&typeof g=="object"&&Array.isArray(g.all_data_group)&&(j||(j=[]),j.push(...g.all_data_group))}),m(p({},j?{all_data_group:j}:{}),{history:k})}return _&&typeof _=="object"&&!Array.isArray(_.history)?{history:[[_]]}:_};x.length===1?l.api.platform(_=>{d(f(_.result))},x[0]):l.api.platform(_=>{d(f(_.result))},{condition:x})})})}get_mosaic_item(t,i,a,e){const s={action:i==="single"?"get_last_fv_by_objid":"get_mosaic_list",keys:[t.fv],object_id:t.object_id};return i!=="single"&&(s.page_index=1,s.page_size=a||1),e==="evn"&&(s.keys=[t.fv,t.status_fv]),e==="cmc"&&(s.keys=[t.item_fv]),["ctrSwitch"].includes(e)&&(s.keys=[t.status_fv]),["progressBar","progressCircle"].includes(e)&&t.maxType==="fv"&&(s.keys=[t.fv,t.max]),s}normalizeHistoryTimeRange(t){if(!t)return null;const i=t.start_time||t.startDate,a=t.end_time||t.endDate;if(!i||!a)return null;const e=l.dayjs(i).isValid()?l.dayjs(i).format("YYYY-MM-DD HH:mm:ss"):String(i),s=l.dayjs(a).isValid()?l.dayjs(a).format("YYYY-MM-DD HH:mm:ss"):String(a);return{start_time:e,end_time:s}}get_mosaic_by_time_range(t,i,a){const e=t,s=[e==null?void 0:e.fv,e==null?void 0:e.item_fv,e==null?void 0:e.fv_x,e==null?void 0:e.fv_y,e==null?void 0:e.fv_radius,e==null?void 0:e.fv_angle].filter(Boolean);return{action:"get_mosaic_list",start_time:a.start_time,end_time:a.end_time,keys:s.length?s:[e==null?void 0:e.fv].filter(Boolean),object_id:t.object_id,page_index:1,page_size:i||100}}get_mosaic_by_timespan(t,i,a){const e=l.dayjs().unix(),s=e-a.value*Number(i),o=t,r=[o==null?void 0:o.fv,o==null?void 0:o.item_fv,o==null?void 0:o.fv_x,o==null?void 0:o.fv_y,o==null?void 0:o.fv_radius,o==null?void 0:o.fv_angle].filter(Boolean);return{action:"get_mosaic_list",start_time:l.dayjs(s*1e3).format("YYYY-MM-DD HH:mm:ss"),end_time:l.dayjs(e*1e3).format("YYYY-MM-DD HH:mm:ss"),keys:r.length?r:[o==null?void 0:o.fv].filter(Boolean),object_id:t.object_id,page_index:1,page_size:i||100}}get_statistics_item(t,i,a){var e,s;return(e=t.periodUnit)!=null&&e.includes("near")?this.get_neardate_item(t,"statistics"):{action:"get_statistics_list",script_uid:(s=t.uid)!=null?s:t.fv,page_size:Number(a)||20,page_index:1,order_by:JSON.stringify(["end_time","desc"])}}get_calculate_item(t,i,a){var e,s;return(e=t.periodUnit)!=null&&e.includes("near")?this.get_neardate_item(t,"calculate"):{action:"get_calculate_list",script_uid:(s=t.uid)!=null?s:t.fv,page_size:Number(a)||20,page_index:1,order_by:JSON.stringify(["end_time","desc"])}}get_neardate_item(t,i){var a;return{action:i==="statistics"?"get_last_statistics":"get_last_calculate",script_uid:(a=t.uid)!=null?a:t.fv,object_id:t.object_id}}get_index_item(t,i,a,e){const s=t.is_alias?"alias":"uid";return{page_index:1,page_size:a,block_mapping:"index",action:"get_index_result_list",where_and:[[s,"=",t.fv],["object_id","=",t.object_id]]}}get_deviation_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"deviation",action:"get_deviation_result_list"})}get_stability_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"stability",action:"get_stability_result_list"})}get_balance_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"balance",action:"get_balance_result_list"})}get_increment_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"increment",action:"get_increment_result_list"})}get_risk_item(t,i,a,e){return m(p({},this.get_index_item(t,i,a,e)),{block_mapping:"risk",action:"get_risk_result_list"})}get_summary_item(){return{block_mapping:"schema",action:"get_statistical_quantity"}}getRangeLineHistoryData(t){var n,u;const{conf:i,uid:a}=t,e=((u=(n=i==null?void 0:i.options)==null?void 0:n.points)==null?void 0:u.value)||100,s=i.common.source||"mosaic",o=JSON.parse(sessionStorage.getItem("object_alias_uid_mapping")||"{}"),r=i.data[0]||{};let c="";return i.useAlias?c=r.object_alias&&o[r.object_alias]||a:c=r.object_id||a,s==="deviation"?this.getDeviationHistory(i,c,e):this.getEigenHistory(i,c,e)}getDeviationHistory(t,i,a){const e=t.data[0]||{},s=e.is_alias?"alias":"uid",o={block_mapping:"deviation",action:"get_deviation_result_list",page_index:1,page_size:a,where_and:[["object_id","=",i]]};return e.fv&&o.where_and.unshift([s,"=",e.fv]),new Promise(r=>{l.api.platform(c=>{r(this.formatDeviation(c.result))},o)})}getEigenHistory(t,i,a){return H(this,null,function*(){const e={times:[],data:[],range:{}};(yield new Promise(r=>{const c={action:"get_mosaic_list",keys:[t.data[0].fv],object_id:i,page_index:1,page_size:a};l.api.platform(n=>{const u=n.result.data?n.result.data.sort((b,h)=>l.dayjs(b.time).valueOf()-l.dayjs(h.time).valueOf()):[];r(u)},c)})).forEach(r=>{var c;e.times.push(l.dayjs(r.time).format("YYYY-MM-DD HH:mm:ss")),e.data.push((c=r[t.data[0].fv])!=null?c:"-")});const o={action:"get_adaps_report_list",block_mapping:"eigen",where_and:[["start",">=",e.times[0]],["end","<=",e.times[e.times.length-1]],["project_uid","=",t.data[0].project_id],["object_id","=",i]]};return new Promise(r=>{l.api.platform(c=>{e.range=this.formatEigen(c.result.data,e.times),r(e)},o)})})}formatDeviation(t){const i={times:[],data:[],range:{}},a={};t.data.sort((s,o)=>l.dayjs(s.created).valueOf()-l.dayjs(o.created).valueOf()).forEach((s,o)=>{i.times.push(s.created),i.data.push(s.data.Dev),s.data.Base&&(a[s.data.Base]?a[s.data.Base].push([o,o]):a[s.data.Base]=[[o,o]])});for(const s in a){const o=[],r=a[s];if(r.length===0)continue;let c=[r[0]];for(let n=1;n<r.length;n++)r[n][0]-r[n-1][0]===1?c.push(r[n]):(o.push(c),c=[r[n]]);o.push(c),a[s]=o.map(n=>[n[0][0],n[n.length-1][0]])}return i.range=a,i}formatEigen(t,i){const a={};return t.sort((s,o)=>l.dayjs(s.created).valueOf()-l.dayjs(o.created).valueOf()).forEach(s=>{const o=JSON.parse(s.detail),r=[l.dayjs(s.start).format("YYYY-MM-DD HH:mm:ss"),l.dayjs(s.end).format("YYYY-MM-DD HH:mm:ss")];o.Main.forEach(c=>{var h;const n=(h=c.report)!=null&&h.start?[l.dayjs(c.report[0].start.datetime).format("YYYY-MM-DD HH:mm:ss"),l.dayjs(c.report[0].end.datetime).format("YYYY-MM-DD HH:mm:ss")]:r,u=i.indexOf(n[0]),b=i.indexOf(n[1]);u===-1||b===-1||(a[c.key_type]?a[c.key_type].push([u,b]):a[c.key_type]=[[u,b]])})}),a}getSwitchHistoryData(t){const{conf:i,uid:a}=t,{common:e}=i,s=l.getObjectId(e,!!e.useAlias,a),o={action:"get_last_fv_by_objid",keys:[e.statusFv],object_id:s};return new Promise(r=>{l.api.platform(c=>{r(c.result)},o)})}getRetainerHistoryData(t,i=1){return H(this,null,function*(){const{conf:a,uid:e}=t,{data:s,common:o}=a,r=yield l.api.getTokenForBackend(),c={block_mapping:"mixtask",action:"user_action",user_action:"get_retainer_result",args:{items:i,token:r,condition:[]}};return s.forEach(n=>{let u="";o.multiObject?u=l.getObjectId(n,!!o.useAlias,e):u=l.getObjectId(o,!!o.useAlias,e),c.args.condition.push({object_id:u||n.object_id,retainer:n.retainer||"",retainer_code:n.retainer_code||"",fv:n.fv||""})}),new Promise(n=>{l.api.platform(u=>{if(u.code===200&&u.result){const b=Array.isArray(u.result)?u.result[0]:u.result;n(b)}else n({history:[]})},c)})})}getGridviewHistoryData(t){const{conf:i,uid:a}=t,{common:e,data:s}=i,o=e.source||"mosaic";let r="result";o==="mosaic"&&(r="single");let c="";if(e.multiObject||(c=l.getObjectId(e,!!e.useAlias,a)),o==="summary")return new Promise(u=>{l.api.platform(b=>{u(b.result)},{block_mapping:"schema",action:"get_statistical_quantity"})});const n=[];return s.forEach(u=>{u.forEach(b=>{if(b.isValue){e.multiObject&&(c=l.getObjectId({object_id:b.object,object_alias:b.object},!!e.useAlias,a)),b.object_id=c;const h=`get_${o}_item`;typeof this[h]=="function"&&n.push(this[h](b,r,1,""))}})}),new Promise(u=>{n.length===1?l.api.platform(b=>{u(b.result)},n[0]):n.length>1?l.api.platform(b=>{u(b.result)},{condition:n}):u({data:[]})})}}exports.default=L;
|