mixdashboards 1.0.39 → 1.0.43
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/{EChartComponentBase-BaQpBzVC.cjs → EChartComponentBase-BChD1X2l.cjs} +1 -1
- package/dist/{EChartComponentBase-BQOhWkz2.js → EChartComponentBase-tSVuV5H3.js} +1 -1
- package/dist/{UniverSheet-KlvmL1Yw.cjs → UniverSheet-DxPYELl0.cjs} +1 -1
- package/dist/{UniverSheet-MSHzUXq0.js → UniverSheet-ZGig1_Pu.js} +2 -2
- package/dist/{accelerationChart-DZj2V2vD.cjs → accelerationChart-BU01FhLB.cjs} +1 -1
- package/dist/{accelerationChart-B1HPMmd2.js → accelerationChart-uPXXAoIX.js} +3 -3
- package/dist/{actionItem-Bb2xiYlY.js → actionItem-Cto59Uxi.js} +3 -3
- package/dist/{actionItem-BYCPoQK7.cjs → actionItem-Ds004yWK.cjs} +1 -1
- package/dist/{alarmLevelChart-CCioESvL.js → alarmLevelChart-Bxhp_1Yh.js} +2 -2
- package/dist/{alarmLevelChart-Bb0mAbwQ.cjs → alarmLevelChart-pquXuv2m.cjs} +1 -1
- package/dist/{alertTable-CQwr8YYt.js → alertTable-BmHTGwvG.js} +2 -2
- package/dist/{alertTable-oaX5eJC0.cjs → alertTable-C8POEEmf.cjs} +1 -1
- package/dist/{annualRainfallChart-C21jEMBe.js → annualRainfallChart-BgKPNPJQ.js} +2 -2
- package/dist/{annualRainfallChart-pO8q6aUJ.cjs → annualRainfallChart-CEy_57N0.cjs} +1 -1
- package/dist/{api-P_s372dW.cjs → api-B54Z00Zb.cjs} +1 -1
- package/dist/{api-C0GhBpqd.js → api-Cug1klvp.js} +4 -4
- package/dist/{aqi-DlY2r7OA.cjs → aqi-XOaZyAYC.cjs} +1 -1
- package/dist/{aqi-iLwQH4rc.js → aqi-_FjN7mXi.js} +10 -10
- package/dist/{aqiIndass-BaIVBfdC.cjs → aqiIndass-BT4xpq07.cjs} +1 -1
- package/dist/{aqiIndass-DBeVSBdy.js → aqiIndass-LrPuO3hk.js} +15 -15
- package/dist/arrayCard-CxQt6Fpt.js +94 -0
- package/dist/arrayCard-I0242qBp.cjs +1 -0
- package/dist/{audio-CAP4D-J2.js → audio-Ca_jh1Ry.js} +5 -5
- package/dist/{audio-CThzVIDU.cjs → audio-Ci8MfRFp.cjs} +1 -1
- package/dist/{bar-BjR566__.cjs → bar-B2qbk8Xs.cjs} +1 -1
- package/dist/{bar-D8C06GO4.js → bar-OCOTqPHY.js} +4 -4
- package/dist/{bmp-Cjizh2x6.js → bmp-CLiSfyAx.js} +3 -3
- package/dist/{bmp-DsmTzyce.cjs → bmp-DSOZL3Ws.cjs} +1 -1
- package/dist/{box-qgu_67OD.cjs → box-CSAC2nll.cjs} +1 -1
- package/dist/{box-DqewT3MF.js → box-Dfiea0UY.js} +2 -2
- package/dist/{chartConfigPanel-DwAUq3pf.js → chartConfigPanel-DNyg08bW.js} +1 -1
- package/dist/{chartConfigPanel-BiQArCoQ.cjs → chartConfigPanel-MmXLFF3s.cjs} +1 -1
- package/dist/{circleBar-CO89T7kj.cjs → circleBar-BTodjF_P.cjs} +1 -1
- package/dist/{circleBar-DGHDWQih.js → circleBar-jvdZW67Y.js} +8 -8
- package/dist/{clock-32hGccm4.cjs → clock-BvUgA4hU.cjs} +1 -1
- package/dist/{clock-CT8YXEU3.js → clock-IOEnD1FR.js} +2 -2
- package/dist/{clt-FfIEfGtn.js → clt-C0J-U9U2.js} +3 -3
- package/dist/{clt-5bP_g1O-.cjs → clt-CqVfBGgu.cjs} +1 -1
- package/dist/{cmc-dbuLkE8o.cjs → cmc-CpaXOsS7.cjs} +1 -1
- package/dist/{cmc-B2nQFZIS.js → cmc-D0_Qv6Zs.js} +3 -3
- package/dist/{cmp-QQlYcnqo.js → cmp-BDgmsQWa.js} +12 -12
- package/dist/{cmp-l3U9fIrz.cjs → cmp-BU9ix80c.cjs} +1 -1
- package/dist/{composite-DlY2_x6P.cjs → composite-BHFoRAhK.cjs} +1 -1
- package/dist/{composite-DjhrBgG1.js → composite-Daajjrh1.js} +8 -8
- package/dist/config-D3MEjLGn.js +9 -0
- package/dist/config-UTUPYJ45.cjs +1 -0
- package/dist/{controlList-BdF8xNAi.js → controlList-OYiF483D.js} +3 -3
- package/dist/{controlList-De6PXdOc.cjs → controlList-PkvqGwS5.cjs} +1 -1
- package/dist/{controlRecordList-u5a7chIX.cjs → controlRecordList-BaJdGodA.cjs} +1 -1
- package/dist/{controlRecordList-CKpAr1ON.js → controlRecordList-pzonY5_g.js} +3 -3
- package/dist/{crd-BoaXQhFQ.cjs → crd-CgatCwuM.cjs} +1 -1
- package/dist/{crd-BVAf41oX.js → crd-Vjh_CNX2.js} +2 -2
- package/dist/{ctrBtn-ZPRYWE66.js → ctrBtn-CSuW7u1a.js} +4 -4
- package/dist/{ctrBtn-C9kQiqY1.cjs → ctrBtn-CjMIOEud.cjs} +1 -1
- package/dist/{ctrSet-CNCrnLSs.cjs → ctrSet-CNfIgsND.cjs} +1 -1
- package/dist/{ctrSet-C87dxLfQ.js → ctrSet-CpKA4FWL.js} +4 -4
- package/dist/{ctrSwitch-CkC_Axtp.js → ctrSwitch-BPCp-27u.js} +4 -4
- package/dist/{ctrSwitch-CVEtbdfb.cjs → ctrSwitch-DNLZ2RDv.cjs} +1 -1
- package/dist/{dataManagement-CjlNfeYq.js → dataManagement-kLivh0Wo.js} +2 -2
- package/dist/{dataManagement-n711sd1g.cjs → dataManagement-tU6uKtEj.cjs} +1 -1
- package/dist/{dataReport-BsVjW3p7.cjs → dataReport-D7g7U1Mk.cjs} +1 -1
- package/dist/{dataReport-ByjswEqq.js → dataReport-DKIWxloF.js} +2 -2
- package/dist/{dataTable-K7j4fhnq.cjs → dataTable-BHlNGT3A.cjs} +1 -1
- package/dist/{dataTable-DX500R1i.js → dataTable-Ch3UyUHs.js} +1 -1
- package/dist/{datetime-DYXWKrXI.cjs → datetime-CGgW1_vl.cjs} +1 -1
- package/dist/{datetime-DVbJtALf.js → datetime-Cyg8Xaoh.js} +2 -2
- package/dist/{deepClusterSlipSurface-B7nkEM9A.cjs → deepClusterSlipSurface-CN_WZFnF.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-CQUE05cK.js → deepClusterSlipSurface-D4PhBTV3.js} +6 -6
- package/dist/{deepDataMatrix-DHZA0IAm.cjs → deepDataMatrix-DrQ1_-Ie.cjs} +1 -1
- package/dist/{deepDataMatrix-ai5rB6ET.js → deepDataMatrix-v5op9TPA.js} +2 -2
- package/dist/{deepDisplacement3D-BFqKqSYg.cjs → deepDisplacement3D--kNKCZIe.cjs} +1 -1
- package/dist/{deepDisplacement3D-BsUzvbQb.js → deepDisplacement3D-COaSjPeE.js} +3 -3
- package/dist/{deepDisplacementChart-2JZNrhrw.cjs → deepDisplacementChart-C9SjfW9d.cjs} +1 -1
- package/dist/{deepDisplacementChart-igl4rW1K.js → deepDisplacementChart-CrQDLDLG.js} +2 -2
- package/dist/{deepDisplacementChart-BCIuCMdK.js → deepDisplacementChart-CuH2f1nn.js} +4 -4
- package/dist/{deepDisplacementChart-Ba67v6um.cjs → deepDisplacementChart-DcpBhevd.cjs} +1 -1
- package/dist/{deepDisplacementView-wQxyKzB-.cjs → deepDisplacementView-CZrY99uX.cjs} +1 -1
- package/dist/{deepDisplacementView-BedWJsx7.js → deepDisplacementView-D7lYRm9Y.js} +1 -1
- package/dist/{deepNodeTemperatureChart-albL8hKa.cjs → deepNodeTemperatureChart-CxzgoQXA.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-DLeb9jKp.js → deepNodeTemperatureChart-DfR4tUqO.js} +6 -6
- package/dist/{deepTangentAngleChart-DukevXaM.cjs → deepTangentAngleChart-B8WNZAJe.cjs} +1 -1
- package/dist/{deepTangentAngleChart-C6xOiITk.js → deepTangentAngleChart-CVjnZrOJ.js} +7 -7
- package/dist/{deepTemperatureField-De4xKoHw.cjs → deepTemperatureField-CUfAJ9UM.cjs} +1 -1
- package/dist/{deepTemperatureField-B-y94GPV.js → deepTemperatureField-Do6-blr7.js} +7 -7
- package/dist/{deepTrendChart-DCkV2HNv.js → deepTrendChart-BP2CKFYM.js} +6 -6
- package/dist/{deepTrendChart-MmuYSXtu.cjs → deepTrendChart-DtFP9z8x.cjs} +1 -1
- package/dist/{deviceOnlineStatus-CFuCTx7_.js → deviceOnlineStatus-D6bULBvw.js} +2 -2
- package/dist/{deviceOnlineStatus-B5cCjhNA.cjs → deviceOnlineStatus-DTKqM11O.cjs} +1 -1
- package/dist/{deviceStatus-DsEtKiGo.cjs → deviceStatus-B6OKoKq-.cjs} +1 -1
- package/dist/{deviceStatus-B2ibBDSi.js → deviceStatus-DJYGmb17.js} +2 -2
- package/dist/{displacementDataTable-oLnUdafv.cjs → displacementDataTable-DDG2INsm.cjs} +1 -1
- package/dist/{displacementDataTable-BDqG1IvI.js → displacementDataTable-uRgXH0CK.js} +2 -2
- package/dist/{displacementTrajectoryChart-Crf55oKi.js → displacementTrajectoryChart-CEiKrhq1.js} +3 -3
- package/dist/{displacementTrajectoryChart-CBhPwZhe.cjs → displacementTrajectoryChart-CurD1AeO.cjs} +1 -1
- package/dist/{displacementTrendChart-10n_lC9j.js → displacementTrendChart-Cc_3vfUE.js} +2 -2
- package/dist/{displacementTrendChart-CWihCuIJ.cjs → displacementTrendChart-DVa6z4Nl.cjs} +1 -1
- package/dist/{dxf-D8zHpz5g.js → dxf-BVAbI2Re.js} +5 -5
- package/dist/{dxf-DDh_DcQy.cjs → dxf-D4bSvrFx.cjs} +1 -1
- package/dist/{dzc-DLCdTCwW.js → dzc-CP27H3cb.js} +10 -10
- package/dist/{dzc-uNTDJqpi.cjs → dzc-fP5m-jgn.cjs} +1 -1
- package/dist/{arrayCard-DNNUEPvW.js → ele-arrayCard-icon-CAk9ojr4.js} +3 -91
- package/dist/ele-arrayCard-icon-QOabvV0y.cjs +1 -0
- package/dist/{element-resize-detector-DJcsrJ8s.js → element-resize-detector-CcMj2at_.js} +419 -412
- package/dist/element-resize-detector-Dv3K8Mdu.cjs +6 -0
- package/dist/{evn-YwCALVXj.js → evn-Ce6AYrxO.js} +2 -2
- package/dist/{evn-DuL5oVRl.cjs → evn-CyEggAn9.cjs} +1 -1
- package/dist/{evolutionChart-AeL67MAt.cjs → evolutionChart-CMRBPKKA.cjs} +1 -1
- package/dist/{evolutionChart-4noZSdLX.js → evolutionChart-D74KWOt_.js} +3 -3
- package/dist/{fileViewer-DiH3PM0r.js → fileViewer-FWpbKEm_.js} +5 -5
- package/dist/{fileViewer-bsrjlJkC.cjs → fileViewer-HmsHvQbe.cjs} +1 -1
- package/dist/{filterBar-Ct1BFhrS.cjs → filterBar-BGqSr_Gz.cjs} +1 -1
- package/dist/{filterBar-CWEguwYc.js → filterBar-SwG99EqD.js} +2 -2
- package/dist/{fireCombustionCurve-DYPC4zKJ.js → fireCombustionCurve-CK9bbLYm.js} +2 -2
- package/dist/{fireCombustionCurve-DyiQn-WA.cjs → fireCombustionCurve-DGYg2Zz7.cjs} +1 -1
- package/dist/{fireFilterBar-Bdm2ljuO.cjs → fireFilterBar-BUdbOHbv.cjs} +1 -1
- package/dist/{fireFilterBar-DGHPNTwF.js → fireFilterBar-Dv4oMV2C.js} +2 -2
- package/dist/{gag-HiNaL81R.cjs → gag-DV4cygUt.cjs} +1 -1
- package/dist/{gag-kvkKzJuO.js → gag-eTRNcrqU.js} +5 -5
- package/dist/gasStationList-DNIbWG_P.cjs +1 -0
- package/dist/gasStationList-Dq4JF7HM.js +984 -0
- package/dist/{glbModel-DtBI72ap.cjs → glbModel-BEB3-OkB.cjs} +1 -1
- package/dist/{glbModel-CUz6CyVF.js → glbModel-DXwR8B8M.js} +2 -2
- package/dist/{gnssFilterBar-TBtirXIB.js → gnssFilterBar-B6A4lUyp.js} +2 -2
- package/dist/{gnssFilterBar-BQgY5x1W.cjs → gnssFilterBar-Diqwq6NT.cjs} +1 -1
- package/dist/{gnssHistoryTable-D1ZLJOgh.cjs → gnssHistoryTable-Bn_PcTYz.cjs} +1 -1
- package/dist/{gnssHistoryTable-U8O7nyO7.js → gnssHistoryTable-DYgh7vSR.js} +3 -3
- package/dist/{gnssMapView-42zmAd9q.cjs → gnssMapView-C4nMl0TP.cjs} +1 -1
- package/dist/{gnssMapView-CaBfWeT1.js → gnssMapView-g7D0pOjL.js} +2 -2
- package/dist/{gnssTimeSeriesChart-CV2w_Aik.cjs → gnssTimeSeriesChart-DeQ-wByR.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-BrXYvuh6.js → gnssTimeSeriesChart-hQbteX4L.js} +4 -4
- package/dist/{gnssXYTrajectory-BmzSYjQ_.cjs → gnssXYTrajectory-B_e7j8rL.cjs} +1 -1
- package/dist/{gnssXYTrajectory-D2DoYnze.js → gnssXYTrajectory-lvuXN9lD.js} +3 -3
- package/dist/{grd-DW8cSFVR.cjs → grd-Cue6pwOG.cjs} +1 -1
- package/dist/{grd-B0GUjLm9.js → grd-p61RCI9f.js} +3 -3
- package/dist/{grdIndass-DduUKZJm.js → grdIndass-B7h2b6uM.js} +3 -3
- package/dist/{grdIndass-BeBXVsos.cjs → grdIndass-C7cig5jz.cjs} +1 -1
- package/dist/{grg-fnpcXtju.cjs → grg-CuoOAf0S.cjs} +1 -1
- package/dist/{grg-CeX0pirQ.js → grg-duDSzJwQ.js} +6 -6
- package/dist/{gridview-DpABhCIw.cjs → gridview-B73KnYlW.cjs} +1 -1
- package/dist/{gridview-BPwWXza9.js → gridview-CSJXmPgO.js} +2 -2
- package/dist/{groupCard-De1E15mW.js → groupCard-DPlcY3KM.js} +2 -2
- package/dist/{groupCard-WNE6gAAl.cjs → groupCard-DbuFpUy_.cjs} +1 -1
- package/dist/{headerBar-CZ3qcLHo.js → headerBar-CNX5OgJJ.js} +3 -3
- package/dist/{headerBar-Qi1EXrr6.cjs → headerBar-ntCC3TG_.cjs} +1 -1
- package/dist/history-BKlOuH9N.cjs +1 -0
- package/dist/{history-BkZhlpdY.js → history-DDhjCbfn.js} +60 -57
- package/dist/{index-kShjySl9.js → index-DCD0sVkl.js} +1047 -1065
- package/dist/index-p4bdBANg.cjs +582 -0
- package/dist/{insarDeformChart-CnuSL1d9.js → insarDeformChart-BUpCXYTi.js} +2 -2
- package/dist/{insarDeformChart-BGr2xe7w.cjs → insarDeformChart-DWjpCTST.cjs} +1 -1
- package/dist/{insarImageViewer-EmVThmVQ.js → insarImageViewer-3jC7sm-N.js} +2 -2
- package/dist/{insarImageViewer-DRgGdQmN.cjs → insarImageViewer-DBouC3bG.cjs} +1 -1
- package/dist/{kds-CpIQFgeY.js → kds-B8Eb8A5z.js} +10 -10
- package/dist/{kds-DTYWOq4K.cjs → kds-BbHwPepp.cjs} +1 -1
- package/dist/{layerTabs-BATcBkTA.cjs → layerTabs-D7I2t951.cjs} +1 -1
- package/dist/{layerTabs-uze6K91A.js → layerTabs-DyEqHH1_.js} +2 -2
- package/dist/{lin-DU_EuPRg.js → lin-BnBuwG1p.js} +8 -8
- package/dist/{lin-Ba6fHkYf.cjs → lin-Co2eyQYR.cjs} +1 -1
- package/dist/{linIndass-urYe5inp.cjs → linIndass-BI56prH5.cjs} +1 -1
- package/dist/{linIndass-XHKElG7L.js → linIndass-D440bglm.js} +7 -7
- package/dist/{lst-CpmoEQDY.cjs → lst-CyOeVUwG.cjs} +1 -1
- package/dist/{lst-C7aee1cU.js → lst-DJ70Qm0_.js} +2 -2
- package/dist/{manualEntry-CJPiO5nh.cjs → manualEntry-DIRgJo2n.cjs} +1 -1
- package/dist/{manualEntry-D9m_WPw3.js → manualEntry-w-qfhXMO.js} +2 -2
- package/dist/{mapBackground-CF_TqNBy.cjs → mapBackground-B29Oe6LE.cjs} +1 -1
- package/dist/{mapBackground-6g_71Fwa.js → mapBackground-CPjs_j_-.js} +2 -2
- package/dist/{mappingList-luT5YE0d.js → mappingList-B40O99li.js} +3 -3
- package/dist/{mappingList-CR55Tq4t.cjs → mappingList-DbnBjHp6.cjs} +1 -1
- package/dist/{markdownViewer-CnguoUr8.js → markdownViewer-Bx2It9sV.js} +5 -5
- package/dist/{markdownViewer-D1hDk2Y7.cjs → markdownViewer-CLkqzacw.cjs} +1 -1
- package/dist/{mix-control-modal-BDHAB4Tw.cjs → mix-control-modal-CMieJ_yd.cjs} +1 -1
- package/dist/{mix-control-modal-CHiX3hQs.js → mix-control-modal-OWpKWsS0.js} +3 -3
- package/dist/{mixDataPermission-BaqV0Z6N.js → mixDataPermission-Et2y1ZNV.js} +4 -3
- package/dist/{mixDataPermission-BTA1jNd1.cjs → mixDataPermission-wcr14h4V.cjs} +1 -1
- package/dist/{mixGrid-3BqQCvg8.cjs → mixGrid-D3cGrQ1G.cjs} +1 -1
- package/dist/{mixGrid-C0eEvwPy.js → mixGrid-DZyLbs2L.js} +3 -3
- package/dist/{mixMap-Bw-We4Cm.cjs → mixMap-CZijD9Wl.cjs} +1 -1
- package/dist/{mixMap-7upgYwWk.js → mixMap-CvcH9tWH.js} +3 -3
- package/dist/{mixModel-CgV4XptM.cjs → mixModel-C7jP0OTI.cjs} +1 -1
- package/dist/{mixModel-BqE_Kd4c.js → mixModel-Cb9jZGgU.js} +10 -10
- package/dist/{mixPie-9LfMCTQV.cjs → mixPie-DaVnghMR.cjs} +1 -1
- package/dist/{mixPie-B-HeglUn.js → mixPie-Xl9q3aeM.js} +7 -7
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/{mjpegCamera-nxKfhobY.cjs → mjpegCamera-B4DGYk-6.cjs} +1 -1
- package/dist/{mjpegCamera-Cfw3rzT5.js → mjpegCamera-Bur1zDjR.js} +2 -2
- package/dist/{monitorAlert-Bt0baNh4.cjs → monitorAlert-BEeF7aKG.cjs} +1 -1
- package/dist/{monitorAlert-Bg5vzzyG.js → monitorAlert-DTtkf40Q.js} +2 -2
- package/dist/{monitorData-CzPVIk_4.cjs → monitorData-CxUmxh7h.cjs} +1 -1
- package/dist/{monitorData-BvAMeOrp.js → monitorData-DJOo9Mmf.js} +3 -3
- package/dist/{monitorSpeedChart-0bDuU3Kj.js → monitorSpeedChart-BC2X02Sb.js} +1 -1
- package/dist/{monitorSpeedChart-C52QjA5K.cjs → monitorSpeedChart-CNoRIuP1.cjs} +1 -1
- package/dist/{mxa-BW80xKCc.js → mxa-BN75OPFt.js} +7 -7
- package/dist/{mxa-eLAgZPMC.cjs → mxa-BxzaaRQF.cjs} +1 -1
- package/dist/myValue-CNORsNDC.js +149 -0
- package/dist/myValue-DFkdFmlD.cjs +1 -0
- package/dist/myValueList-CBMG0eWA.js +451 -0
- package/dist/myValueList-CjBLDJYH.cjs +1 -0
- package/dist/objectList-DFhu-fz0.cjs +1 -0
- package/dist/{objectList-Cf9GMyXN.js → objectList-bNg216p9.js} +575 -623
- package/dist/photo-DigmnVvl.js +342 -0
- package/dist/photo-kfRZAysa.cjs +1 -0
- package/dist/{pie-DxoBrm0D.cjs → pie-84DfqS1S.cjs} +1 -1
- package/dist/{pie-BDLg-Rls.js → pie-DTt2sFrk.js} +7 -7
- package/dist/{pressBtn-t0g4vk7s.cjs → pressBtn-DDIIdhOz.cjs} +1 -1
- package/dist/{pressBtn-CXG1eSWC.js → pressBtn-DDffBSTH.js} +4 -4
- package/dist/{progressBar-BXaFKSCq.js → progressBar-BBXjT_1K.js} +2 -2
- package/dist/{progressBar-CJEWkZ42.cjs → progressBar-T-y989f-.cjs} +1 -1
- package/dist/{progressCircle-DpOI5D5z.js → progressCircle-CTl5sua8.js} +2 -2
- package/dist/{progressCircle-uQ7vaMKM.cjs → progressCircle-Dr9rGPdw.cjs} +1 -1
- package/dist/qrcode-B_s5tsz3.cjs +1 -0
- package/dist/{qrcode-CX8aymYZ.js → qrcode-kk5QYwXg.js} +297 -298
- package/dist/{raceBar-DFaH342G.js → raceBar-LWP50Esm.js} +7 -7
- package/dist/{raceBar-Cv0-0ogd.cjs → raceBar-l_09Yq2I.cjs} +1 -1
- package/dist/{rad-NS2G_nMg.js → rad-B78foPbg.js} +7 -7
- package/dist/{rad-CFswUTwi.cjs → rad-q5w7s5OW.cjs} +1 -1
- package/dist/{rainfallFilterBar-D_Ye_NeB.js → rainfallFilterBar-CgLsQ-bP.js} +2 -2
- package/dist/{rainfallFilterBar-BI45QvJm.cjs → rainfallFilterBar-Df3KQ_ZM.cjs} +1 -1
- package/dist/{rainfallTimeCurve-BHWqX47Q.js → rainfallTimeCurve-B2QbnKYR.js} +3 -3
- package/dist/{rainfallTimeCurve-Ke1JvSWq.cjs → rainfallTimeCurve-C7Pyp1yx.cjs} +1 -1
- package/dist/{rangeLin-D6VZ2U3C.cjs → rangeLin-54P6A-H6.cjs} +1 -1
- package/dist/{rangeLin-GMYEgLeP.js → rangeLin-lsD1Tb23.js} +7 -7
- package/dist/{request-Bn100qAJ.cjs → request-Bkzlbfat.cjs} +1 -1
- package/dist/{request-BD0x5Hkt.js → request-DvQqpxzM.js} +1 -1
- package/dist/{retainer1-h-Whr2c9.js → retainer1-G4qdYcqG.js} +3 -3
- package/dist/{retainer1-D2XmjXYH.cjs → retainer1-LbRL0Bvk.cjs} +1 -1
- package/dist/{retainer2-ByQdiRjq.js → retainer2-DcNWAHtE.js} +3 -3
- package/dist/{retainer2-cF-trL2g.cjs → retainer2-DfFMVUdl.cjs} +1 -1
- package/dist/{riskRegionTable-CQxAkG7k.js → riskRegionTable-CIlOa9cB.js} +2 -2
- package/dist/{riskRegionTable-cKnxra4_.cjs → riskRegionTable-WR6ex2Hi.cjs} +1 -1
- package/dist/{sankey-MRirEgU0.cjs → sankey-BWpsoIQq.cjs} +1 -1
- package/dist/{sankey-Bk1IcVJQ.js → sankey-DU5yTv0d.js} +9 -9
- package/dist/{scd-J-mN3eI5.cjs → scd-D_1G2sMH.cjs} +1 -1
- package/dist/{scd-BDRpzmsa.js → scd-s1R4ArEA.js} +2 -2
- package/dist/{sideMenu-BgTMtnMq.js → sideMenu-BLN-hmKR.js} +2 -2
- package/dist/{sideMenu-l8X2E00H.cjs → sideMenu-BXylutdD.cjs} +1 -1
- package/dist/{slopeStability-BPf7m0fJ.cjs → slopeStability-Dm3wLwov.cjs} +1 -1
- package/dist/{slopeStability-C5RqZ1im.js → slopeStability-yF4cbFAW.js} +3 -3
- package/dist/{speedCurve-C3pK-zZy.js → speedCurve-B4jL0peM.js} +3 -3
- package/dist/{speedCurve-CluwNAZl.cjs → speedCurve-Dha8_czy.cjs} +1 -1
- package/dist/{staticLine-DXWOLj15.js → staticLine-9Z3ZUOOu.js} +7 -7
- package/dist/{staticLine-C6tGGXcN.cjs → staticLine-DsOWwv03.cjs} +1 -1
- package/dist/{store-BJW2NQkK.cjs → store-B3uCwXgM.cjs} +1 -1
- package/dist/{store-DzDtVfSX.js → store-BLHqFZQd.js} +2 -2
- package/dist/{swiper-IMlGje3t.js → swiper-BdGmBriB.js} +3 -3
- package/dist/{swiper-DGqDoUkX.cjs → swiper-CXb_2mfg.cjs} +1 -1
- package/dist/{terminalConfigList-D6xDHsnb.cjs → terminalConfigList-DFzOUHe2.cjs} +1 -1
- package/dist/{terminalConfigList-SAyXi-BK.js → terminalConfigList-EQ7lagNS.js} +3 -3
- package/dist/{terminalList-ml2C18MY.cjs → terminalList-CEr-6C-6.cjs} +1 -1
- package/dist/{terminalList-CjSHshiR.js → terminalList-neZWjaQ9.js} +3 -3
- package/dist/{textbox-BLV-SY8e.js → textbox-BLzAPC0q.js} +4 -4
- package/dist/{textbox-AQtCe25j.cjs → textbox-DmOguEQU.cjs} +1 -1
- package/dist/{timeQueryBar-BeMu_DYr.js → timeQueryBar-B_xpm0AC.js} +1 -1
- package/dist/{timeQueryBar-BuKakMy8.cjs → timeQueryBar-MDyFx6rP.cjs} +1 -1
- package/dist/{timeSeries-DP5iZKVM.js → timeSeries-7SohUo9l.js} +4 -4
- package/dist/{timeSeries-DfGgFWiF.cjs → timeSeries-CaIR746Y.cjs} +1 -1
- package/dist/{timeSeriesCurve-B0Mw6eNK.cjs → timeSeriesCurve-D-PncXjY.cjs} +1 -1
- package/dist/{timeSeriesCurve-BSgtPqYw.js → timeSeriesCurve-DZBsHqsK.js} +3 -3
- package/dist/{toggleBtn-Dh64vVWo.cjs → toggleBtn--cJyh7p1.cjs} +1 -1
- package/dist/{toggleBtn-O2Y75Uen.js → toggleBtn-B2m2z1Si.js} +7 -7
- package/dist/{trajectoryConfigPanel--C1h3tK6.js → trajectoryConfigPanel-Bs-CzBAX.js} +1 -1
- package/dist/{trajectoryConfigPanel-P_Qa4omj.cjs → trajectoryConfigPanel-ChfuUbTU.cjs} +1 -1
- package/dist/{trajectoryScatter-VLrmImlq.js → trajectoryScatter-Bm2AHlY2.js} +6 -6
- package/dist/{trajectoryScatter-BbpbgNb8.cjs → trajectoryScatter-DuWUKaOg.cjs} +1 -1
- package/dist/{universalConfigPanel-C0lDSzOB.cjs → universalConfigPanel-C6dYbcUq.cjs} +1 -1
- package/dist/{universalConfigPanel-DBg76b4F.js → universalConfigPanel-D6887bDA.js} +1 -1
- package/dist/{universalTable-DGK02ywi.js → universalTable-D-Nx7-YD.js} +2 -2
- package/dist/{universalTable-Bzq9VqzA.cjs → universalTable-DPpSYgmV.cjs} +1 -1
- package/dist/{video-CyRoSQf1.cjs → video-CB2ndqns.cjs} +1 -1
- package/dist/{video-DCzzaEmV.js → video-i7fMjDsj.js} +5 -5
- package/dist/{videoMonitor-ByaQeIWR.js → videoMonitor-D_gmm8xD.js} +2 -2
- package/dist/{videoMonitor-BjD-ZFS0.cjs → videoMonitor-DjHj3jKS.cjs} +1 -1
- package/dist/{vlu-CYZjYHaV.cjs → vlu-BapGJiKV.cjs} +1 -1
- package/dist/{vlu-h-9twmCr.js → vlu-DKvcQynh.js} +2 -2
- package/dist/{weather-B7B5E1EJ.cjs → weather-CqehOpyT.cjs} +1 -1
- package/dist/{weather-C_aC0XJ1.js → weather-M9RB9i4h.js} +3 -3
- package/dist/{windLin-DPNzX7JN.cjs → windLin-BtRlE9KH.cjs} +1 -1
- package/dist/{windLin-B7V4NUV8.js → windLin-xKNNyTR0.js} +9 -9
- package/package.json +10 -9
- package/dist/arrayCard-OlVAAsZq.cjs +0 -1
- package/dist/config-BLSroAzs.cjs +0 -1
- package/dist/config-Cc2W4vke.js +0 -9
- package/dist/element-resize-detector-Bo5uDQAu.cjs +0 -6
- package/dist/history-DAmBl4_5.cjs +0 -1
- package/dist/index-Mh5Dw2sd.cjs +0 -585
- package/dist/objectList-CpqQxG8L.cjs +0 -1
- package/dist/photo-BODEtaYh.cjs +0 -1
- package/dist/photo-BfLkWAo8.js +0 -256
- package/dist/qrcode-DHCRfp0M.cjs +0 -1
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
var te = Object.defineProperty, oe = Object.defineProperties;
|
|
2
|
+
var ie = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var F = Object.getOwnPropertySymbols;
|
|
4
|
+
var ne = Object.prototype.hasOwnProperty, ae = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var D = (o, e, t) => e in o ? te(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, V = (o, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
ne.call(e, t) && D(o, t, e[t]);
|
|
8
|
+
if (F)
|
|
9
|
+
for (var t of F(e))
|
|
10
|
+
ae.call(e, t) && D(o, t, e[t]);
|
|
11
|
+
return o;
|
|
12
|
+
}, B = (o, e) => oe(o, ie(e));
|
|
13
|
+
var C = (o, e, t) => new Promise((s, a) => {
|
|
14
|
+
var c = (l) => {
|
|
15
|
+
try {
|
|
16
|
+
d(t.next(l));
|
|
17
|
+
} catch (n) {
|
|
18
|
+
a(n);
|
|
19
|
+
}
|
|
20
|
+
}, f = (l) => {
|
|
21
|
+
try {
|
|
22
|
+
d(t.throw(l));
|
|
23
|
+
} catch (n) {
|
|
24
|
+
a(n);
|
|
25
|
+
}
|
|
26
|
+
}, d = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(c, f);
|
|
27
|
+
d((t = t.apply(o, e)).next());
|
|
28
|
+
});
|
|
29
|
+
import { ElButton as le } from "element-plus/es";
|
|
30
|
+
import "element-plus/es/components/base/style/css";
|
|
31
|
+
import "element-plus/es/components/button/style/css";
|
|
32
|
+
import { defineComponent as re, ref as w, computed as L, onMounted as se, onBeforeUnmount as ce, openBlock as g, createElementBlock as h, normalizeStyle as S, unref as _, createElementVNode as p, normalizeClass as ue, toDisplayString as M, createVNode as pe, withCtx as de, createTextVNode as fe, createCommentVNode as I, renderSlot as me } from "vue";
|
|
33
|
+
import { u as ge } from "./vue-i18n-5Nahpzrm.js";
|
|
34
|
+
import { B as he } from "./element-resize-detector-CcMj2at_.js";
|
|
35
|
+
import { c as ve, g as ye, _ as we } from "./index-DCD0sVkl.js";
|
|
36
|
+
import { a as _e } from "./api-Cug1klvp.js";
|
|
37
|
+
import { r as be } from "./mixDataPermission-Et2y1ZNV.js";
|
|
38
|
+
import { ElMessage as R } from "element-plus";
|
|
39
|
+
import { A as Ue, D as xe } from "./ele-bmp-icon-Pdolk1J5.js";
|
|
40
|
+
function P(o) {
|
|
41
|
+
return o.replace(/\/$/, "");
|
|
42
|
+
}
|
|
43
|
+
function Ce() {
|
|
44
|
+
return typeof window == "undefined" ? !1 : window.__MIXUI_MATERIAL_USE_MIXSERVICE_STORAGE__ === !0;
|
|
45
|
+
}
|
|
46
|
+
function Se() {
|
|
47
|
+
var s;
|
|
48
|
+
const o = "".trim();
|
|
49
|
+
if (o) return P(o);
|
|
50
|
+
if (Ce() && typeof window != "undefined" && ((s = window.location) != null && s.origin))
|
|
51
|
+
return `${window.location.origin}/mixservice/storage/yunfiles/material/file`;
|
|
52
|
+
const e = "https://yunui.mixyun.top".trim(), t = P(e);
|
|
53
|
+
return t.toLowerCase().includes("yunfiles/material/file") ? t : `${t}/mixdesignd/yunfiles/material/file`;
|
|
54
|
+
}
|
|
55
|
+
function Me(o) {
|
|
56
|
+
if (!(o != null && o.trim())) return "";
|
|
57
|
+
let e = String(o).trim().replace(/\\/g, "/");
|
|
58
|
+
e = e.replace(/^\/+/, "");
|
|
59
|
+
const t = e.toLowerCase(), s = (d) => {
|
|
60
|
+
const l = d.toLowerCase();
|
|
61
|
+
if (t.startsWith(l)) return e.slice(d.length).replace(/^\/+/, "");
|
|
62
|
+
const n = t.indexOf("/" + l);
|
|
63
|
+
return n >= 0 ? e.slice(n + 1 + d.length).replace(/^\/+/, "") : null;
|
|
64
|
+
};
|
|
65
|
+
let a = s("mixdesignd/yunfiles/material/file/");
|
|
66
|
+
if (a != null || (a = s("mixservice/storage/yunfiles/material/file/"), a != null) || (a = s("yunfiles/material/file/"), a != null)) return a;
|
|
67
|
+
const c = "mixservice/storage/material/mixyun_dashboard/", f = t.indexOf(c);
|
|
68
|
+
return f >= 0 ? e.slice(f + c.length).replace(/^\/+/, "") : t.startsWith("mixdesignd/") && (e = e.slice(11), e.toLowerCase().startsWith("yunfiles/material/file/")) ? e.slice(23).replace(/^\/+/, "") : e.replace(/^\/+/, "");
|
|
69
|
+
}
|
|
70
|
+
function j(o) {
|
|
71
|
+
return o.split("/").filter(Boolean).map((e) => {
|
|
72
|
+
try {
|
|
73
|
+
return encodeURIComponent(decodeURIComponent(e));
|
|
74
|
+
} catch (t) {
|
|
75
|
+
return encodeURIComponent(e);
|
|
76
|
+
}
|
|
77
|
+
}).join("/");
|
|
78
|
+
}
|
|
79
|
+
function $(o) {
|
|
80
|
+
if (!(o != null && o.trim())) return "";
|
|
81
|
+
const e = o.trim();
|
|
82
|
+
if (e.startsWith("data:") || e.startsWith("blob:")) return e;
|
|
83
|
+
if (e.startsWith("http://") || e.startsWith("https://"))
|
|
84
|
+
try {
|
|
85
|
+
const a = new URL(e), c = j(a.pathname.replace(/^\/+/, ""));
|
|
86
|
+
return a.pathname = "/" + c, a.toString();
|
|
87
|
+
} catch (a) {
|
|
88
|
+
return e;
|
|
89
|
+
}
|
|
90
|
+
const t = j(Me(e));
|
|
91
|
+
return t ? `${Se()}/${t}`.replace(/([^:])\/{2,}/g, "$1/") : "";
|
|
92
|
+
}
|
|
93
|
+
function Ie(o) {
|
|
94
|
+
var t;
|
|
95
|
+
if (!(o != null && o.trim())) return !1;
|
|
96
|
+
const e = o.trim();
|
|
97
|
+
if (!/^https?:\/\//i.test(e) || typeof window == "undefined" || !((t = window.location) != null && t.origin)) return !1;
|
|
98
|
+
try {
|
|
99
|
+
const s = new URL(e, window.location.href);
|
|
100
|
+
return s.origin !== window.location.origin ? !1 : /\/mixservice\/storage\//i.test(s.pathname);
|
|
101
|
+
} catch (s) {
|
|
102
|
+
return !1;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
const Le = { class: "mix-body" }, Re = { class: "upload-content" }, ke = {
|
|
106
|
+
viewBox: "0 0 24 24",
|
|
107
|
+
width: "48",
|
|
108
|
+
height: "48",
|
|
109
|
+
fill: "currentColor",
|
|
110
|
+
style: { opacity: "0.5" }
|
|
111
|
+
}, Ee = { class: "upload-text" }, Ae = {
|
|
112
|
+
key: 0,
|
|
113
|
+
class: "upload-actions"
|
|
114
|
+
}, Ne = {
|
|
115
|
+
key: 1,
|
|
116
|
+
class: "upload-supported"
|
|
117
|
+
}, Oe = {
|
|
118
|
+
key: 1,
|
|
119
|
+
class: "viewer-container"
|
|
120
|
+
}, Te = {
|
|
121
|
+
key: 0,
|
|
122
|
+
class: "file-info"
|
|
123
|
+
}, Fe = { class: "file-name" }, De = ["title"], Ve = ["src", "alt"], Be = {
|
|
124
|
+
DEFAULT_ICON: xe,
|
|
125
|
+
ACTIVE_ICON: Ue,
|
|
126
|
+
NAME_CN: "图片查看器",
|
|
127
|
+
NAME_EN: "Photo Viewer",
|
|
128
|
+
ORDER: 2
|
|
129
|
+
}, Pe = {
|
|
130
|
+
imageDisplayMode: {
|
|
131
|
+
value: "center",
|
|
132
|
+
type: "select",
|
|
133
|
+
options: [
|
|
134
|
+
{ label: "component.photo.center", value: "center" },
|
|
135
|
+
{ label: "component.photo.tile", value: "tile" },
|
|
136
|
+
{ label: "component.photo.stretch", value: "stretch" }
|
|
137
|
+
],
|
|
138
|
+
label: "component.options.imageDisplayMode"
|
|
139
|
+
},
|
|
140
|
+
fileUrl: { value: "", type: "string", label: "component.options.fileUrl", placeholder: "请上传素材" },
|
|
141
|
+
fileName: { value: "", type: "string", label: "component.options.fileName", placeholder: "请上传素材" }
|
|
142
|
+
}, je = [], $e = [], ze = [], Ge = null, We = { DEFAULT: Be, OPTIONS: Pe, DATA: je, PARAMS: $e, SOURCE: ze, COMMON: Ge }, He = /* @__PURE__ */ re(B(V({}, We), {
|
|
143
|
+
__name: "photo",
|
|
144
|
+
props: {
|
|
145
|
+
conf: { type: Object, default: () => ({}) },
|
|
146
|
+
uid: { type: String, default: "" },
|
|
147
|
+
mode: { type: String, default: "edit" },
|
|
148
|
+
theme: { type: String, default: "light" }
|
|
149
|
+
},
|
|
150
|
+
setup(o) {
|
|
151
|
+
const { t: e } = ge(), t = o;
|
|
152
|
+
class s extends he {
|
|
153
|
+
extractStyles() {
|
|
154
|
+
return {
|
|
155
|
+
imageDisplayMode: this.getOptionValue("imageDisplayMode", "center"),
|
|
156
|
+
radiusSize: this.getOptionValue("radiusSize", 0)
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
init() {
|
|
160
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), W();
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
const a = new s(t, "photo");
|
|
164
|
+
a.setupLifecycle();
|
|
165
|
+
const c = a.getStyle(), f = w(null), d = w(null), l = w(""), n = w(""), b = w(""), k = w(!1), z = "image/gif,image/jpeg,image/bmp,image/png,image/svg+xml,image/x-icon,image/vnd.microsoft.icon", G = (i) => $(i), W = () => C(null, null, function* () {
|
|
166
|
+
var r, u, m;
|
|
167
|
+
const { conf: i } = t;
|
|
168
|
+
(u = (r = i == null ? void 0 : i.options) == null ? void 0 : r.fileUrl) != null && u.value && (l.value = G(i.options.fileUrl.value), yield E(), b.value = ((m = i.options.fileName) == null ? void 0 : m.value) || "");
|
|
169
|
+
}), U = (i) => {
|
|
170
|
+
i && i.startsWith("blob:") && URL.revokeObjectURL(i);
|
|
171
|
+
}, E = () => C(null, null, function* () {
|
|
172
|
+
if (l.value) {
|
|
173
|
+
if (U(n.value), Ie(l.value)) {
|
|
174
|
+
n.value = l.value;
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
try {
|
|
178
|
+
const i = be();
|
|
179
|
+
if (!i) {
|
|
180
|
+
n.value = "";
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
const r = yield fetch(l.value, {
|
|
184
|
+
mode: "cors",
|
|
185
|
+
credentials: "include",
|
|
186
|
+
headers: { Authorization: `Bearer ${i}` }
|
|
187
|
+
});
|
|
188
|
+
if (!r.ok) throw new Error(`load image failed: ${r.status}`);
|
|
189
|
+
const u = yield r.blob(), m = URL.createObjectURL(u);
|
|
190
|
+
n.value = m;
|
|
191
|
+
} catch (i) {
|
|
192
|
+
console.error("[Photo] 拉取图片失败:", i), U(n.value), n.value = "";
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}), H = L(() => ({
|
|
196
|
+
width: "100%",
|
|
197
|
+
height: "100%",
|
|
198
|
+
display: "flex",
|
|
199
|
+
alignItems: "center",
|
|
200
|
+
justifyContent: "center",
|
|
201
|
+
overflow: "hidden"
|
|
202
|
+
})), J = L(() => {
|
|
203
|
+
var r;
|
|
204
|
+
const i = (r = c == null ? void 0 : c.value) == null ? void 0 : r.imageDisplayMode;
|
|
205
|
+
return i === "tile" ? { display: "none" } : i === "stretch" ? { width: "100%", height: "100%", objectFit: "fill" } : { width: "100%", height: "100%", objectFit: "contain" };
|
|
206
|
+
}), X = L(() => {
|
|
207
|
+
var i;
|
|
208
|
+
return ((i = c == null ? void 0 : c.value) == null ? void 0 : i.imageDisplayMode) !== "tile" || !n.value ? {} : {
|
|
209
|
+
width: "100%",
|
|
210
|
+
height: "100%",
|
|
211
|
+
backgroundImage: `url(${n.value})`,
|
|
212
|
+
backgroundRepeat: "repeat",
|
|
213
|
+
backgroundPosition: "center center"
|
|
214
|
+
};
|
|
215
|
+
}), A = () => {
|
|
216
|
+
var i;
|
|
217
|
+
(i = f.value) == null || i.click();
|
|
218
|
+
}, Z = (i) => C(null, null, function* () {
|
|
219
|
+
var N, O;
|
|
220
|
+
const r = i.target, u = (N = r == null ? void 0 : r.files) == null ? void 0 : N[0];
|
|
221
|
+
if (!u) return;
|
|
222
|
+
if (!["image/gif", "image/jpeg", "image/bmp", "image/png", "image/svg+xml", "image/x-icon", "image/vnd.microsoft.icon"].includes(u.type)) {
|
|
223
|
+
R.warning(e("component.photo.invalidType") || "请选择有效的图片文件 (GIF, JPG, BMP, PNG, SVG, ICO)");
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
U(n.value), l.value = "";
|
|
227
|
+
const x = URL.createObjectURL(u);
|
|
228
|
+
n.value = x, b.value = u.name;
|
|
229
|
+
try {
|
|
230
|
+
k.value = !0;
|
|
231
|
+
const v = yield ve(u), Y = ye(u.name) || "png", y = yield _e.post("upload_material", {
|
|
232
|
+
material_Data: v,
|
|
233
|
+
material_type: Y
|
|
234
|
+
}, !0);
|
|
235
|
+
if (y.code === 200 && ((O = y.result) != null && O.material_path)) {
|
|
236
|
+
const T = String(y.result.material_path).trim(), ee = $(T);
|
|
237
|
+
URL.revokeObjectURL(x), l.value = ee, yield E(), t.conf && t.conf.options && (t.conf.options.fileUrl || (t.conf.options.fileUrl = { value: "", type: "string", label: "" }), t.conf.options.fileName || (t.conf.options.fileName = { value: "", type: "string", label: "" }), t.conf.options.imageUid || (t.conf.options.imageUid = { value: "", type: "string", label: "" }), t.conf.options.fileUrl.value = T, t.conf.options.fileName.value = y.result.file_name || u.name, t.conf.options.imageUid.value = y.result.image_uid || ""), R.success("图片上传成功");
|
|
238
|
+
} else
|
|
239
|
+
throw new Error(y.msg || "上传失败");
|
|
240
|
+
} catch (v) {
|
|
241
|
+
console.error("图片上传失败:", v), R.error("图片上传失败: " + ((v == null ? void 0 : v.message) || "未知错误"));
|
|
242
|
+
} finally {
|
|
243
|
+
k.value = !1, f.value && (f.value.value = "");
|
|
244
|
+
}
|
|
245
|
+
}), q = () => {
|
|
246
|
+
U(n.value), n.value = "", l.value = "", b.value = "", setTimeout(() => {
|
|
247
|
+
A();
|
|
248
|
+
}, 100);
|
|
249
|
+
}, K = () => {
|
|
250
|
+
console.log("图片加载成功");
|
|
251
|
+
}, Q = (i) => {
|
|
252
|
+
console.error("图片加载失败:", i), alert(e("component.photo.loadError") || "图片加载失败");
|
|
253
|
+
};
|
|
254
|
+
return se(() => {
|
|
255
|
+
}), ce(() => {
|
|
256
|
+
U(n.value);
|
|
257
|
+
}), (i, r) => {
|
|
258
|
+
var m, x;
|
|
259
|
+
const u = le;
|
|
260
|
+
return g(), h("div", {
|
|
261
|
+
class: "mix-component",
|
|
262
|
+
style: S({ borderRadius: `${_(c).radiusSize}px` })
|
|
263
|
+
}, [
|
|
264
|
+
p("div", Le, [
|
|
265
|
+
n.value ? (g(), h("div", Oe, [
|
|
266
|
+
t.mode !== "preview" ? (g(), h("div", Te, [
|
|
267
|
+
p("span", Fe, M(b.value), 1),
|
|
268
|
+
p("button", {
|
|
269
|
+
class: "change-file-btn",
|
|
270
|
+
onClick: q,
|
|
271
|
+
title: _(e)("component.photo.changeFile") || "更换文件"
|
|
272
|
+
}, [...r[1] || (r[1] = [
|
|
273
|
+
p("svg", {
|
|
274
|
+
viewBox: "0 0 24 24",
|
|
275
|
+
width: "16",
|
|
276
|
+
height: "16",
|
|
277
|
+
fill: "currentColor"
|
|
278
|
+
}, [
|
|
279
|
+
p("path", { d: "M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z" })
|
|
280
|
+
], -1)
|
|
281
|
+
])], 8, De)
|
|
282
|
+
])) : I("", !0),
|
|
283
|
+
p("div", {
|
|
284
|
+
class: "image-container",
|
|
285
|
+
style: S(H.value)
|
|
286
|
+
}, [
|
|
287
|
+
p("img", {
|
|
288
|
+
ref_key: "imageRef",
|
|
289
|
+
ref: d,
|
|
290
|
+
src: n.value,
|
|
291
|
+
alt: b.value,
|
|
292
|
+
style: S(J.value),
|
|
293
|
+
onLoad: K,
|
|
294
|
+
onError: Q
|
|
295
|
+
}, null, 44, Ve),
|
|
296
|
+
((x = (m = _(c)) == null ? void 0 : m.value) == null ? void 0 : x.imageDisplayMode) === "tile" ? (g(), h("div", {
|
|
297
|
+
key: 0,
|
|
298
|
+
class: "tiled-background",
|
|
299
|
+
style: S(X.value)
|
|
300
|
+
}, null, 4)) : I("", !0)
|
|
301
|
+
], 4)
|
|
302
|
+
])) : (g(), h("div", {
|
|
303
|
+
key: 0,
|
|
304
|
+
class: ue(["upload-area", { "preview-mode": t.mode === "preview" }])
|
|
305
|
+
}, [
|
|
306
|
+
p("input", {
|
|
307
|
+
ref_key: "fileInputRef",
|
|
308
|
+
ref: f,
|
|
309
|
+
type: "file",
|
|
310
|
+
accept: z,
|
|
311
|
+
onChange: Z,
|
|
312
|
+
style: { display: "none" }
|
|
313
|
+
}, null, 544),
|
|
314
|
+
p("div", Re, [
|
|
315
|
+
(g(), h("svg", ke, [...r[0] || (r[0] = [
|
|
316
|
+
p("path", { d: "M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z" }, null, -1)
|
|
317
|
+
])])),
|
|
318
|
+
p("p", Ee, M(t.mode === "preview" ? "未上传素材" : _(e)("component.photo.uploadText") || "点击上传图片"), 1),
|
|
319
|
+
t.mode !== "preview" ? (g(), h("div", Ae, [
|
|
320
|
+
pe(u, {
|
|
321
|
+
type: "primary",
|
|
322
|
+
size: "small",
|
|
323
|
+
onClick: A
|
|
324
|
+
}, {
|
|
325
|
+
default: de(() => [
|
|
326
|
+
fe(M(_(e)("component.photo.uploadFile") || "上传文件"), 1)
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
})
|
|
330
|
+
])) : I("", !0),
|
|
331
|
+
t.mode !== "preview" ? (g(), h("p", Ne, M(_(e)("component.photo.supportedTypes") || "支持格式: GIF, JPG, BMP, PNG, SVG, ICO"), 1)) : I("", !0)
|
|
332
|
+
])
|
|
333
|
+
], 2))
|
|
334
|
+
]),
|
|
335
|
+
me(i.$slots, "default", {}, void 0, !0)
|
|
336
|
+
], 4);
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
})), at = /* @__PURE__ */ we(He, [["__scopeId", "data-v-81a903ef"]]);
|
|
340
|
+
export {
|
|
341
|
+
at as default
|
|
342
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var X=Object.defineProperty,Z=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable;var M=(n,t,o)=>t in n?X(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,V=(n,t)=>{for(var o in t||(t={}))Q.call(t,o)&&M(n,o,t[o]);if(I)for(var o of I(t))Y.call(t,o)&&M(n,o,t[o]);return n},B=(n,t)=>Z(n,K(t));var _=(n,t,o)=>new Promise((c,r)=>{var u=a=>{try{p(o.next(a))}catch(l){r(l)}},m=a=>{try{p(o.throw(a))}catch(l){r(l)}},p=a=>a.done?c(a.value):Promise.resolve(a.value).then(u,m);p((o=o.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ee=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");const e=require("vue"),te=require("./vue-i18n-BvHMBi_b.cjs"),oe=require("./element-resize-detector-Dv3K8Mdu.cjs"),E=require("./index-p4bdBANg.cjs"),ne=require("./api-B54Z00Zb.cjs"),ie=require("./mixDataPermission-wcr14h4V.cjs"),b=require("element-plus"),L=require("./ele-bmp-icon-BBI0-SX7.cjs");function R(n){return n.replace(/\/$/,"")}function le(){return typeof window=="undefined"?!1:window.__MIXUI_MATERIAL_USE_MIXSERVICE_STORAGE__===!0}function re(){var c;const n="".trim();if(n)return R(n);if(le()&&typeof window!="undefined"&&((c=window.location)!=null&&c.origin))return`${window.location.origin}/mixservice/storage/yunfiles/material/file`;const t="https://yunui.mixyun.top".trim(),o=R(t);return o.toLowerCase().includes("yunfiles/material/file")?o:`${o}/mixdesignd/yunfiles/material/file`}function ae(n){if(!(n!=null&&n.trim()))return"";let t=String(n).trim().replace(/\\/g,"/");t=t.replace(/^\/+/,"");const o=t.toLowerCase(),c=p=>{const a=p.toLowerCase();if(o.startsWith(a))return t.slice(p.length).replace(/^\/+/,"");const l=o.indexOf("/"+a);return l>=0?t.slice(l+1+p.length).replace(/^\/+/,""):null};let r=c("mixdesignd/yunfiles/material/file/");if(r!=null||(r=c("mixservice/storage/yunfiles/material/file/"),r!=null)||(r=c("yunfiles/material/file/"),r!=null))return r;const u="mixservice/storage/material/mixyun_dashboard/",m=o.indexOf(u);return m>=0?t.slice(m+u.length).replace(/^\/+/,""):o.startsWith("mixdesignd/")&&(t=t.slice(11),t.toLowerCase().startsWith("yunfiles/material/file/"))?t.slice(23).replace(/^\/+/,""):t.replace(/^\/+/,"")}function A(n){return n.split("/").filter(Boolean).map(t=>{try{return encodeURIComponent(decodeURIComponent(t))}catch(o){return encodeURIComponent(t)}}).join("/")}function O(n){if(!(n!=null&&n.trim()))return"";const t=n.trim();if(t.startsWith("data:")||t.startsWith("blob:"))return t;if(t.startsWith("http://")||t.startsWith("https://"))try{const r=new URL(t),u=A(r.pathname.replace(/^\/+/,""));return r.pathname="/"+u,r.toString()}catch(r){return t}const o=A(ae(t));return o?`${re()}/${o}`.replace(/([^:])\/{2,}/g,"$1/"):""}function se(n){var o;if(!(n!=null&&n.trim()))return!1;const t=n.trim();if(!/^https?:\/\//i.test(t)||typeof window=="undefined"||!((o=window.location)!=null&&o.origin))return!1;try{const c=new URL(t,window.location.href);return c.origin!==window.location.origin?!1:/\/mixservice\/storage\//i.test(c.pathname)}catch(c){return!1}}const ce={class:"mix-body"},ue={class:"upload-content"},de={viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",style:{opacity:"0.5"}},pe={class:"upload-text"},me={key:0,class:"upload-actions"},fe={key:1,class:"upload-supported"},ge={key:1,class:"viewer-container"},ve={key:0,class:"file-info"},he={class:"file-name"},ye=["title"],we=["src","alt"],_e={DEFAULT_ICON:L.DEFAULT_ICON,ACTIVE_ICON:L.ACTIVE_ICON,NAME_CN:"图片查看器",NAME_EN:"Photo Viewer",ORDER:2},be={imageDisplayMode:{value:"center",type:"select",options:[{label:"component.photo.center",value:"center"},{label:"component.photo.tile",value:"tile"},{label:"component.photo.stretch",value:"stretch"}],label:"component.options.imageDisplayMode"},fileUrl:{value:"",type:"string",label:"component.options.fileUrl",placeholder:"请上传素材"},fileName:{value:"",type:"string",label:"component.options.fileName",placeholder:"请上传素材"}},Ee=[],Ue=[],xe=[],Ce=null,Se={DEFAULT:_e,OPTIONS:be,DATA:Ee,PARAMS:Ue,SOURCE:xe,COMMON:Ce},ke=e.defineComponent(B(V({},Se),{__name:"photo",props:{conf:{type:Object,default:()=>({})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(n){const{t}=te.useI18n(),o=n;class c extends oe.BaseComponent{extractStyles(){return{imageDisplayMode:this.getOptionValue("imageDisplayMode","center"),radiusSize:this.getOptionValue("radiusSize",0)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),F()}}const r=new c(o,"photo");r.setupLifecycle();const u=r.getStyle(),m=e.ref(null),p=e.ref(null),a=e.ref(""),l=e.ref(""),h=e.ref(""),U=e.ref(!1),D="image/gif,image/jpeg,image/bmp,image/png,image/svg+xml,image/x-icon,image/vnd.microsoft.icon",T=i=>O(i),F=()=>_(null,null,function*(){var s,d,f;const{conf:i}=o;(d=(s=i==null?void 0:i.options)==null?void 0:s.fileUrl)!=null&&d.value&&(a.value=T(i.options.fileUrl.value),yield x(),h.value=((f=i.options.fileName)==null?void 0:f.value)||"")}),y=i=>{i&&i.startsWith("blob:")&&URL.revokeObjectURL(i)},x=()=>_(null,null,function*(){if(a.value){if(y(l.value),se(a.value)){l.value=a.value;return}try{const i=ie.resolveHttpAuthToken();if(!i){l.value="";return}const s=yield fetch(a.value,{mode:"cors",credentials:"include",headers:{Authorization:`Bearer ${i}`}});if(!s.ok)throw new Error(`load image failed: ${s.status}`);const d=yield s.blob(),f=URL.createObjectURL(d);l.value=f}catch(i){console.error("[Photo] 拉取图片失败:",i),y(l.value),l.value=""}}}),P=e.computed(()=>({width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})),j=e.computed(()=>{var s;const i=(s=u==null?void 0:u.value)==null?void 0:s.imageDisplayMode;return i==="tile"?{display:"none"}:i==="stretch"?{width:"100%",height:"100%",objectFit:"fill"}:{width:"100%",height:"100%",objectFit:"contain"}}),z=e.computed(()=>{var i;return((i=u==null?void 0:u.value)==null?void 0:i.imageDisplayMode)!=="tile"||!l.value?{}:{width:"100%",height:"100%",backgroundImage:`url(${l.value})`,backgroundRepeat:"repeat",backgroundPosition:"center center"}}),C=()=>{var i;(i=m.value)==null||i.click()},$=i=>_(null,null,function*(){var S,k;const s=i.target,d=(S=s==null?void 0:s.files)==null?void 0:S[0];if(!d)return;if(!["image/gif","image/jpeg","image/bmp","image/png","image/svg+xml","image/x-icon","image/vnd.microsoft.icon"].includes(d.type)){b.ElMessage.warning(t("component.photo.invalidType")||"请选择有效的图片文件 (GIF, JPG, BMP, PNG, SVG, ICO)");return}y(l.value),a.value="";const w=URL.createObjectURL(d);l.value=w,h.value=d.name;try{U.value=!0;const g=yield E.fileToBase64(d),H=E.getFileExtension(d.name)||"png",v=yield ne.api.post("upload_material",{material_Data:g,material_type:H},!0);if(v.code===200&&((k=v.result)!=null&&k.material_path)){const N=String(v.result.material_path).trim(),J=O(N);URL.revokeObjectURL(w),a.value=J,yield x(),o.conf&&o.conf.options&&(o.conf.options.fileUrl||(o.conf.options.fileUrl={value:"",type:"string",label:""}),o.conf.options.fileName||(o.conf.options.fileName={value:"",type:"string",label:""}),o.conf.options.imageUid||(o.conf.options.imageUid={value:"",type:"string",label:""}),o.conf.options.fileUrl.value=N,o.conf.options.fileName.value=v.result.file_name||d.name,o.conf.options.imageUid.value=v.result.image_uid||""),b.ElMessage.success("图片上传成功")}else throw new Error(v.msg||"上传失败")}catch(g){console.error("图片上传失败:",g),b.ElMessage.error("图片上传失败: "+((g==null?void 0:g.message)||"未知错误"))}finally{U.value=!1,m.value&&(m.value.value="")}}),q=()=>{y(l.value),l.value="",a.value="",h.value="",setTimeout(()=>{C()},100)},G=()=>{console.log("图片加载成功")},W=i=>{console.error("图片加载失败:",i),alert(t("component.photo.loadError")||"图片加载失败")};return e.onMounted(()=>{}),e.onBeforeUnmount(()=>{y(l.value)}),(i,s)=>{var f,w;const d=ee.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",ce,[l.value?(e.openBlock(),e.createElementBlock("div",ge,[o.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",ve,[e.createElementVNode("span",he,e.toDisplayString(h.value),1),e.createElementVNode("button",{class:"change-file-btn",onClick:q,title:e.unref(t)("component.photo.changeFile")||"更换文件"},[...s[1]||(s[1]=[e.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor"},[e.createElementVNode("path",{d:"M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z"})],-1)])],8,ye)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"image-container",style:e.normalizeStyle(P.value)},[e.createElementVNode("img",{ref_key:"imageRef",ref:p,src:l.value,alt:h.value,style:e.normalizeStyle(j.value),onLoad:G,onError:W},null,44,we),((w=(f=e.unref(u))==null?void 0:f.value)==null?void 0:w.imageDisplayMode)==="tile"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"tiled-background",style:e.normalizeStyle(z.value)},null,4)):e.createCommentVNode("",!0)],4)])):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["upload-area",{"preview-mode":o.mode==="preview"}])},[e.createElementVNode("input",{ref_key:"fileInputRef",ref:m,type:"file",accept:D,onChange:$,style:{display:"none"}},null,544),e.createElementVNode("div",ue,[(e.openBlock(),e.createElementBlock("svg",de,[...s[0]||(s[0]=[e.createElementVNode("path",{d:"M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z"},null,-1)])])),e.createElementVNode("p",pe,e.toDisplayString(o.mode==="preview"?"未上传素材":e.unref(t)("component.photo.uploadText")||"点击上传图片"),1),o.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",me,[e.createVNode(d,{type:"primary",size:"small",onClick:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("component.photo.uploadFile")||"上传文件"),1)]),_:1})])):e.createCommentVNode("",!0),o.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",fe,e.toDisplayString(e.unref(t)("component.photo.supportedTypes")||"支持格式: GIF, JPG, BMP, PNG, SVG, ICO"),1)):e.createCommentVNode("",!0)])],2))]),e.renderSlot(i.$slots,"default",{},void 0,!0)],4)}}})),Ne=E._export_sfc(ke,[["__scopeId","data-v-81a903ef"]]);exports.default=Ne;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var V=Object.defineProperty,E=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var y=(r,s,c)=>s in r?V(r,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[s]=c,h=(r,s)=>{for(var c in s||(s={}))$.call(s,c)&&y(r,c,s[c]);if(v)for(var c of v(s))B.call(s,c)&&y(r,c,s[c]);return r},f=(r,s)=>E(r,z(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),M=require("./element-resize-detector-
|
|
1
|
+
"use strict";var V=Object.defineProperty,E=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var y=(r,s,c)=>s in r?V(r,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[s]=c,h=(r,s)=>{for(var c in s||(s={}))$.call(s,c)&&y(r,c,s[c]);if(v)for(var c of v(s))B.call(s,c)&&y(r,c,s[c]);return r},f=(r,s)=>E(r,z(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),M=require("./element-resize-detector-Dv3K8Mdu.cjs"),b=require("./index-p4bdBANg.cjs"),N=require("./EChartComponentBase-BChD1X2l.cjs"),R=require("./titleStyle-NSnz6cUg.cjs"),g=require("./installCanvasRenderer-CyhM1Qpl.cjs"),j=require("./install-DV5cEgNV.cjs"),A=require("./install-CltTFs4e.cjs"),I=require("./install-nDY6w-GK.cjs"),T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q={class:"mix-body"},D=["id"],Z={DEFAULT_ICON:T,ACTIVE_ICON:F,NAME_CN:"饼状图",NAME_EN:"Pie",ORDER:1},P={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,type:{value:"pie",type:"radio",option:[{value:"pie",label:"component.options.pie_type_pie"},{value:"circle",label:"component.options.pie_type_circle"}],label:"component.options.pie_type"},radius:{value:50,type:"number",label:"component.options.pie_radius",dependent:"type",repel:"circle"},inside:{value:40,type:"number",label:"component.options.pie_inside",dependent:"type",repel:"pie"},outside:{value:75,type:"number",label:"component.options.pie_outside",dependent:"type",repel:"pie"},isHideTitle:!1,showLabel:!1,showLegend:!0,orient:{value:"horizontal",type:"radio",option:[{value:"horizontal",label:"component.options.orient_horizontal"},{value:"vertical",label:"component.options.orient_vertical"}],label:"component.options.orient",dependent:"showLegend"},showValue:!0,showRate:!1,wrap:!1,wrapByte:{value:5,type:"number",label:"component.options.pie_wrapByte",dependent:"wrap"}},U=[{name:"参数一",fv:"",object_id:"",color:"#4162ff"},{name:"参数二",fv:"",object_id:"",color:"#3bbc6a"},{name:"参数三",fv:"",object_id:"",color:"#e24359"}],H=["name","fv","object_id","color"],G=["mosaic","statistics","calculate"],K={useAlias:!1,multiObject:!1,source:"mosaic"},X={DEFAULT:Z,OPTIONS:P,DATA:U,PARAMS:H,SOURCE:G,COMMON:K},J=a.defineComponent(f(h({},X),{__name:"pie",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){g.use([j.install,A.install,g.install,g.install$1,I.install]);const s=r,c=b.useLinkStore(),S={horizontal:{orient:"horizontal",bottom:"5%",left:"center"},vertical:{orient:"vertical",right:"5%",top:"5%"}};class x extends N.EChartComponentBase{initChart(){var e,o;super.initChart(),this.props.mode==="preview"&&((e=this.chartObj)==null||e.off("click"),(o=this.chartObj)==null||o.on("click",t=>{var i,n,p,u,d,w;const l=t==null?void 0:t.name;if(typeof l=="string"&&l){const k=((n=(i=this.props.conf)==null?void 0:i.options)==null?void 0:n.linkChannel)==="custom"?(u=(p=this.props.conf)==null?void 0:p.options)==null?void 0:u.customChannel:(w=(d=this.props.conf)==null?void 0:d.options)==null?void 0:w.linkChannel;c.publish(k||"pie","pie",{objectId:"",deviceId:"",type:"select",fieldKey:l,fv:h({key:l},t),source:"pie"})}}))}extractStyles(){return f(h({},super.extractStyles()),{type:this.getOptionValue("type","pie"),radius:this.getOptionValue("radius",50),inside:this.getOptionValue("inside",40),outside:this.getOptionValue("outside",75),showLabel:this.getOptionValue("showLabel",!1),showLegend:this.getOptionValue("showLegend",!0),orient:this.getOptionValue("orient","horizontal"),showValue:this.getOptionValue("showValue",!0),showRate:this.getOptionValue("showRate",!1),wrap:this.getOptionValue("wrap",!1),wrapByte:this.getOptionValue("wrapByte",5)})}getChartOption(){const e=this.Style.value,{data:o,name:t}=this.props.conf,l=o.map((i,n)=>i.color||M.COLORS[n]);return{title:{show:!1,text:t||"",x:"center"},color:l,tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:f(h({show:e.showLegend},S[e.orient]),{data:o.map(i=>i.name),textStyle:{color:e.textColor}}),series:this.formatSeries()}}formatSeries(){const e=this.Style.value,{data:o,name:t}=this.props.conf,l=o.map(n=>({value:0,name:n.name})),i=e.type==="pie"?`${e.radius}%`:[`${e.inside}%`,`${e.outside}%`];return[{name:t,type:"pie",radius:i,center:["50%","40%"],data:l,emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{color:e.textColor,lineHeight:16,fontSize:e.textSize,formatter:n=>this.formatLabel(n)}}]}formatLabel(e){const o=this.Style.value;let t=e.name;return o.showValue&&o.showRate?t=`${e.name}: ${e.value}(${e.percent}%)`:o.showValue?t=`${e.name}: ${e.value}`:o.showRate&&(t=`${e.name}${e.percent}%`),this.insertBreaks(t)}insertBreaks(e){const o=this.Style.value;if(!o.wrap)return e;const t=o.wrapByte||5;let l="",i=0,n=0;for(const p of e)p.charCodeAt(0)>=19968&&p.charCodeAt(0)<=40959?(n++,i+=2):i+=1,l+=p,(n>=t||i>=t*2)&&(l+=`
|
|
2
2
|
`,n=0,i=0);return l}setSocketData(e){if(!e||!this.chartObj)return;const{data:o}=this.props.conf,t=this.chartObj.getOption();o.forEach((l,i)=>{var p,u,d;const n=this.extractDataValue(e,l.fv);(d=(u=(p=t.series)==null?void 0:p[0])==null?void 0:u.data)!=null&&d[i]&&(t.series[0].data[i].value=n!=null?n:0)}),this.updateChart(t)}}const m=new x(s,"pie");m.setupLifecycle();const L=m.getStyle(),O=m.getEchartId(),_=a.computed(()=>R.generateTitleStyle(s.conf.options));return(C,e)=>(a.openBlock(),a.createElementBlock("div",{class:"mix-component",style:a.normalizeStyle({background:a.unref(L).bgColor,borderRadius:`${a.unref(L).radiusSize}px`})},[a.createElementVNode("div",{class:"mix-title",style:a.normalizeStyle(_.value)},a.toDisplayString(r.conf.caption||r.conf.name),5),a.createElementVNode("div",q,[a.createElementVNode("div",{class:"w-full h-full",id:a.unref(O)},null,8,D)]),a.renderSlot(C.$slots,"default",{},void 0,!0)],4))}})),Q=b._export_sfc(J,[["__scopeId","data-v-d2224a67"]]);exports.default=Q;
|
|
@@ -11,13 +11,13 @@ var y = (a, s, r) => s in a ? V(a, s, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return a;
|
|
12
12
|
}, u = (a, s) => E(a, $(s));
|
|
13
13
|
import { defineComponent as M, computed as A, openBlock as j, createElementBlock as I, normalizeStyle as b, unref as m, createElementVNode as g, toDisplayString as N, renderSlot as R } from "vue";
|
|
14
|
-
import { C as F } from "./element-resize-detector-
|
|
15
|
-
import { u as T, _ as D } from "./index-
|
|
16
|
-
import { E as Z } from "./EChartComponentBase-
|
|
14
|
+
import { C as F } from "./element-resize-detector-CcMj2at_.js";
|
|
15
|
+
import { u as T, _ as D } from "./index-DCD0sVkl.js";
|
|
16
|
+
import { E as Z } from "./EChartComponentBase-tSVuV5H3.js";
|
|
17
17
|
import { g as P } from "./titleStyle-BT5GlpAb.js";
|
|
18
|
-
import {
|
|
19
|
-
import { i as
|
|
20
|
-
import {
|
|
18
|
+
import { u as U, i as H, a as G } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
19
|
+
import { i as K } from "./install-CBde4hAM.js";
|
|
20
|
+
import { i as X } from "./install-hfre7yvV.js";
|
|
21
21
|
import { i as q } from "./install-BzdOSCzO.js";
|
|
22
22
|
const J = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Q = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", W = { class: "mix-body" }, Y = ["id"], ee = {
|
|
23
23
|
DEFAULT_ICON: J,
|
|
@@ -77,7 +77,7 @@ const J = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3cs
|
|
|
77
77
|
theme: { type: String, default: "light" }
|
|
78
78
|
},
|
|
79
79
|
setup(a) {
|
|
80
|
-
|
|
80
|
+
U([K, X, H, G, q]);
|
|
81
81
|
const s = a, r = T(), x = {
|
|
82
82
|
horizontal: { orient: "horizontal", bottom: "5%", left: "center" },
|
|
83
83
|
vertical: { orient: "vertical", right: "5%", top: "5%" }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var H=Object.defineProperty,U=Object.defineProperties;var G=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols,J=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,W=Reflect.get;var O=(n,l,o)=>l in n?H(n,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[l]=o,Z=(n,l)=>{for(var o in l||(l={}))K.call(l,o)&&O(n,o,l[o]);if(A)for(var o of A(l))Y.call(l,o)&&O(n,o,l[o]);return n},B=(n,l)=>U(n,G(l));var F=(n,l,o)=>W(J(n),o,l);var I=(n,l,o)=>new Promise((m,p)=>{var v=c=>{try{C(o.next(c))}catch(r){p(r)}},f=c=>{try{C(o.throw(c))}catch(r){p(r)}},C=c=>c.done?m(c.value):Promise.resolve(c.value).then(v,f);C((o=o.apply(n,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const h=require("./element-resize-detector-Bo5uDQAu.cjs"),Q=require("./index-Mh5Dw2sd.cjs"),X=require("./titleStyle-NSnz6cUg.cjs"),T=require("./mix-control-modal-BDHAB4Tw.cjs"),e2=require("./api-P_s372dW.cjs"),x=require("element-plus"),t2="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e双控%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-318.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M332.736782,1207.3%20C333.600123,1207.3%20334.3,1207.99988%20334.3,1208.86322%20L334.3,1208.86322%20L334.3,1221.73678%20C334.3,1222.60012%20333.600123,1223.3%20332.736782,1223.3%20L332.736782,1223.3%20L319.863218,1223.3%20C318.999877,1223.3%20318.3,1222.60012%20318.3,1221.73678%20L318.3,1221.73678%20L318.3,1208.86322%20C318.3,1207.99988%20318.999877,1207.3%20319.863218,1207.3%20L319.863218,1207.3%20Z%20M332.736782,1208.58736%20L319.863218,1208.58736%20C319.710864,1208.58736%20319.587356,1208.71086%20319.587356,1208.86322%20L319.587356,1208.86322%20L319.587356,1221.73678%20C319.587356,1221.88914%20319.710864,1222.01264%20319.863218,1222.01264%20L319.863218,1222.01264%20L332.736782,1222.01264%20C332.889136,1222.01264%20333.012644,1221.88914%20333.012644,1221.73678%20L333.012644,1221.73678%20L333.012644,1208.86322%20C333.012644,1208.71086%20332.889136,1208.58736%20332.736782,1208.58736%20L332.736782,1208.58736%20Z%20M323.725287,1216.86322%20C324.893338,1216.86322%20325.84023,1217.81011%20325.84023,1218.97816%20C325.84023,1220.14621%20324.893338,1221.0931%20323.725287,1221.0931%20C322.557237,1221.0931%20321.610345,1220.14621%20321.610345,1218.97816%20C321.610345,1217.81011%20322.557237,1216.86322%20323.725287,1216.86322%20Z%20M328.874713,1216.86322%20C330.042763,1216.86322%20330.989655,1217.81011%20330.989655,1218.97816%20C330.989655,1220.14621%20330.042763,1221.0931%20328.874713,1221.0931%20C327.706662,1221.0931%20326.75977,1220.14621%20326.75977,1218.97816%20C326.75977,1217.81011%20327.706662,1216.86322%20328.874713,1216.86322%20Z%20M323.725287,1218.15057%20C323.268224,1218.15057%20322.897701,1218.5211%20322.897701,1218.97816%20C322.897701,1219.43522%20323.268224,1219.80575%20323.725287,1219.80575%20C324.182351,1219.80575%20324.552874,1219.43522%20324.552874,1218.97816%20C324.552874,1218.5211%20324.182351,1218.15057%20323.725287,1218.15057%20Z%20M328.874713,1218.15057%20C328.417649,1218.15057%20328.047126,1218.5211%20328.047126,1218.97816%20C328.047126,1219.43522%20328.417649,1219.80575%20328.874713,1219.80575%20C329.331776,1219.80575%20329.702299,1219.43522%20329.702299,1218.97816%20C329.702299,1218.5211%20329.331776,1218.15057%20328.874713,1218.15057%20Z%20M329.242529,1214.65632%20C329.598022,1214.65632%20329.886207,1214.94451%20329.886207,1215.3%20C329.886207,1215.62587%20329.644052,1215.89518%20329.329872,1215.9378%20L329.242529,1215.94368%20L323.357471,1215.94368%20C323.001978,1215.94368%20322.713793,1215.65549%20322.713793,1215.3%20C322.713793,1214.97413%20322.955948,1214.70482%20323.270128,1214.6622%20L323.357471,1214.65632%20L329.242529,1214.65632%20Z%20M331.081609,1209.5069%20C331.437103,1209.5069%20331.725287,1209.79508%20331.725287,1210.15057%20L331.725287,1210.15057%20L331.725287,1213.0931%20C331.725287,1213.4486%20331.437103,1213.73678%20331.081609,1213.73678%20L331.081609,1213.73678%20L321.518391,1213.73678%20C321.162897,1213.73678%20320.874713,1213.4486%20320.874713,1213.0931%20L320.874713,1213.0931%20L320.874713,1210.15057%20C320.874713,1209.79508%20321.162897,1209.5069%20321.518391,1209.5069%20L321.518391,1209.5069%20Z%20M330.437931,1210.79425%20L322.162069,1210.79425%20L322.162069,1212.44943%20L330.437931,1212.44943%20L330.437931,1210.79425%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",o2="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e双控%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-318.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M332.736782,1207.3%20C333.600123,1207.3%20334.3,1207.99988%20334.3,1208.86322%20L334.3,1208.86322%20L334.3,1221.73678%20C334.3,1222.60012%20333.600123,1223.3%20332.736782,1223.3%20L332.736782,1223.3%20L319.863218,1223.3%20C318.999877,1223.3%20318.3,1222.60012%20318.3,1221.73678%20L318.3,1221.73678%20L318.3,1208.86322%20C318.3,1207.99988%20318.999877,1207.3%20319.863218,1207.3%20L319.863218,1207.3%20Z%20M332.736782,1208.58736%20L319.863218,1208.58736%20C319.710864,1208.58736%20319.587356,1208.71086%20319.587356,1208.86322%20L319.587356,1208.86322%20L319.587356,1221.73678%20C319.587356,1221.88914%20319.710864,1222.01264%20319.863218,1222.01264%20L319.863218,1222.01264%20L332.736782,1222.01264%20C332.889136,1222.01264%20333.012644,1221.88914%20333.012644,1221.73678%20L333.012644,1221.73678%20L333.012644,1208.86322%20C333.012644,1208.71086%20332.889136,1208.58736%20332.736782,1208.58736%20L332.736782,1208.58736%20Z%20M323.725287,1216.86322%20C324.893338,1216.86322%20325.84023,1217.81011%20325.84023,1218.97816%20C325.84023,1220.14621%20324.893338,1221.0931%20323.725287,1221.0931%20C322.557237,1221.0931%20321.610345,1220.14621%20321.610345,1218.97816%20C321.610345,1217.81011%20322.557237,1216.86322%20323.725287,1216.86322%20Z%20M328.874713,1216.86322%20C330.042763,1216.86322%20330.989655,1217.81011%20330.989655,1218.97816%20C330.989655,1220.14621%20330.042763,1221.0931%20328.874713,1221.0931%20C327.706662,1221.0931%20326.75977,1220.14621%20326.75977,1218.97816%20C326.75977,1217.81011%20327.706662,1216.86322%20328.874713,1216.86322%20Z%20M323.725287,1218.15057%20C323.268224,1218.15057%20322.897701,1218.5211%20322.897701,1218.97816%20C322.897701,1219.43522%20323.268224,1219.80575%20323.725287,1219.80575%20C324.182351,1219.80575%20324.552874,1219.43522%20324.552874,1218.97816%20C324.552874,1218.5211%20324.182351,1218.15057%20323.725287,1218.15057%20Z%20M328.874713,1218.15057%20C328.417649,1218.15057%20328.047126,1218.5211%20328.047126,1218.97816%20C328.047126,1219.43522%20328.417649,1219.80575%20328.874713,1219.80575%20C329.331776,1219.80575%20329.702299,1219.43522%20329.702299,1218.97816%20C329.702299,1218.5211%20329.331776,1218.15057%20328.874713,1218.15057%20Z%20M329.242529,1214.65632%20C329.598022,1214.65632%20329.886207,1214.94451%20329.886207,1215.3%20C329.886207,1215.62587%20329.644052,1215.89518%20329.329872,1215.9378%20L329.242529,1215.94368%20L323.357471,1215.94368%20C323.001978,1215.94368%20322.713793,1215.65549%20322.713793,1215.3%20C322.713793,1214.97413%20322.955948,1214.70482%20323.270128,1214.6622%20L323.357471,1214.65632%20L329.242529,1214.65632%20Z%20M331.081609,1209.5069%20C331.437103,1209.5069%20331.725287,1209.79508%20331.725287,1210.15057%20L331.725287,1210.15057%20L331.725287,1213.0931%20C331.725287,1213.4486%20331.437103,1213.73678%20331.081609,1213.73678%20L331.081609,1213.73678%20L321.518391,1213.73678%20C321.162897,1213.73678%20320.874713,1213.4486%20320.874713,1213.0931%20L320.874713,1213.0931%20L320.874713,1210.15057%20C320.874713,1209.79508%20321.162897,1209.5069%20321.518391,1209.5069%20L321.518391,1209.5069%20Z%20M330.437931,1210.79425%20L322.162069,1210.79425%20L322.162069,1212.44943%20L330.437931,1212.44943%20L330.437931,1210.79425%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",l2={class:"font-semibold"},n2={class:"flex items-center"},r2={class:"mix-body"},a2={class:"w-full flex flex-wrap content-start"},s2=["onMousedown","onMouseup"],i2={DEFAULT_ICON:t2,ACTIVE_ICON:o2,NAME_CN:"双控",NAME_EN:"Dual Control",ORDER:3},c2={bgColor:"#fff",titleColor:"#111",textColor:"#fff",titleSize:14,textSize:14,itemHeight:42,radiusSize:8,items:2,isHideTitle:!1,method:{value:"alway",type:"select",label:"component.switch.method",options:h.CONTROL_OPTIONS}},j=[{upper:{command:"Control_01",code:0},down:{command:"Control_01",code:1},name:"关机",color:"#c92309",code:0},{upper:{command:"Control_01",code:0},down:{command:"Control_01",code:1},name:"开机",color:"#217406",code:1}],d2=["name","color","upper","down"],u2={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},m2=["mosaic"],f2={DEFAULT:i2,OPTIONS:c2,DATA:j,PARAMS:d2,SOURCE:m2,COMMON:u2},C2=e.defineComponent(B(Z({},f2),{__name:"pressBtn",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""},authorized:{type:Array,default:()=>[]}},setup(n){const l=n,o=e.reactive({authorized:[],password:""}),m=e.reactive({text:"",color:""}),p=e.ref(null),v=e.ref(!0),f=e.ref(!1);class C extends h.BaseComponent{extractStyles(){var a,d,i,g,u,L,y,_,b,M,k,z,E,N;const{options:t}=this.props.conf;return{bgColor:((a=t==null?void 0:t.bgColor)==null?void 0:a.value)||"#fff",titleColor:((d=t==null?void 0:t.titleColor)==null?void 0:d.value)||"#111",textColor:((i=t==null?void 0:t.textColor)==null?void 0:i.value)||"#fff",titleSize:((g=t==null?void 0:t.titleSize)==null?void 0:g.value)||16,textSize:((u=t==null?void 0:t.textSize)==null?void 0:u.value)||14,itemHeight:((L=t==null?void 0:t.itemHeight)==null?void 0:L.value)||42,radiusSize:(_=(y=t==null?void 0:t.radiusSize)==null?void 0:y.value)!=null?_:8,items:(M=(b=t==null?void 0:t.items)==null?void 0:b.value)!=null?M:2,method:(z=(k=t==null?void 0:t.method)==null?void 0:k.value)!=null?z:"alway",isHideTitle:(N=(E=t==null?void 0:t.isHideTitle)==null?void 0:E.value)!=null?N:!1}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:j}onPreview(){return I(this,null,function*(){yield F(C.prototype,this,"onPreview").call(this);const t=yield T.getAuthorized(this.props);o.authorized=t.authorized,o.password=t.password})}setSocketData(t){var i,g;if(!t)return;const{common:a}=this.props.conf,d=this.extractDataValue(t,a.statusFv);if(d!=null){const u=a.status.find(L=>String(L.code)===String(d));m.text=(i=u==null?void 0:u.text)!=null?i:"",m.color=(g=u==null?void 0:u.color)!=null?g:""}}}const c=new C(l,"pressBtn");c.setupLifecycle();const r=c.getStyle(),D=e.computed(()=>X.generateTitleStyle(l.conf.options)),V=e.computed(()=>`${(100/r.value.items).toFixed(2)||100}%`),w=e.computed(()=>{const s=r.value.method||"alway";return s==="once"&&v.value||s==="alway"&&!f.value}),P=()=>{f.value||(p.value.modal.visible=!0)},R=()=>{f.value=!0,r.value.method==="once"&&(v.value=!1)},q=s=>{if(w.value)return;if(o.authorized.indexOf(s.down.command)===-1){x.ElMessage.error("您没有控制权限!");return}const{common:t}=l.conf,a=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let i={block_mapping:"pusher",action:"publish_command",object_id:t.useAlias?a[t.object_alias]:t.object_id||l.uid,command:s.down.command.toString(),value:s.down.code.toString()||"",control:o.password,rule:r.value.method};S(i,"down")},$=s=>{if(w.value)return;if(o.authorized.indexOf(s.upper.command)===-1){x.ElMessage.error("您没有控制权限!");return}const{common:t}=l.conf,a=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let i={block_mapping:"pusher",action:"publish_command",object_id:t.useAlias?a[t.object_alias]:t.object_id||l.uid,command:s.upper.command.toString(),value:s.upper.code.toString()||"",control:o.password,rule:r.value.method};S(i,"up")},S=(s,t)=>{e2.api.platform(a=>{a.code===200&&(x.ElMessage.success(a.msg),v.value=!1,r.value.method==="alway"&&t==="up"&&(f.value=!1))},s)};return(s,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(r).bgColor,borderRadius:`${e.unref(r).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(D.value)},[e.createElementVNode("div",l2,e.toDisplayString(n.conf.caption||n.conf.name),1),e.createElementVNode("div",n2,[e.unref(r).method!=="never"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["verify-btn",{disabled:f.value}]),onClick:P},"验证密码",2)):e.createCommentVNode("",!0),m.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:"status-btn",style:e.normalizeStyle({backgroundColor:m.color,color:e.unref(r).textColor})},e.toDisplayString(m.text),5)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",r2,[e.createElementVNode("div",a2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.conf.data,(a,d)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:d,style:e.normalizeStyle({width:V.value,height:`${e.unref(r).itemHeight}px`,fontSize:`${e.unref(r).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:w.value}]),style:e.normalizeStyle({backgroundColor:a.color,color:e.unref(r).textColor}),onMousedown:i=>q(a),onMouseup:i=>$(a)},e.toDisplayString(a.name),47,s2)],4))),128))])]),e.renderSlot(s.$slots,"default",{},void 0,!0)],4),e.createVNode(T._sfc_main,{ref_key:"controlRef",ref:p,onSubmit:R,password:o.password},null,8,["password"])],64))}})),p2=Q._export_sfc(C2,[["__scopeId","data-v-dda3873e"]]);exports.default=p2;
|
|
1
|
+
"use strict";var H=Object.defineProperty,U=Object.defineProperties;var G=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols,J=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,W=Reflect.get;var O=(n,l,o)=>l in n?H(n,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[l]=o,Z=(n,l)=>{for(var o in l||(l={}))K.call(l,o)&&O(n,o,l[o]);if(A)for(var o of A(l))Y.call(l,o)&&O(n,o,l[o]);return n},B=(n,l)=>U(n,G(l));var F=(n,l,o)=>W(J(n),o,l);var I=(n,l,o)=>new Promise((m,p)=>{var v=c=>{try{C(o.next(c))}catch(r){p(r)}},f=c=>{try{C(o.throw(c))}catch(r){p(r)}},C=c=>c.done?m(c.value):Promise.resolve(c.value).then(v,f);C((o=o.apply(n,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const h=require("./element-resize-detector-Dv3K8Mdu.cjs"),Q=require("./index-p4bdBANg.cjs"),X=require("./titleStyle-NSnz6cUg.cjs"),T=require("./mix-control-modal-CMieJ_yd.cjs"),e2=require("./api-B54Z00Zb.cjs"),x=require("element-plus"),t2="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e双控%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-318.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M332.736782,1207.3%20C333.600123,1207.3%20334.3,1207.99988%20334.3,1208.86322%20L334.3,1208.86322%20L334.3,1221.73678%20C334.3,1222.60012%20333.600123,1223.3%20332.736782,1223.3%20L332.736782,1223.3%20L319.863218,1223.3%20C318.999877,1223.3%20318.3,1222.60012%20318.3,1221.73678%20L318.3,1221.73678%20L318.3,1208.86322%20C318.3,1207.99988%20318.999877,1207.3%20319.863218,1207.3%20L319.863218,1207.3%20Z%20M332.736782,1208.58736%20L319.863218,1208.58736%20C319.710864,1208.58736%20319.587356,1208.71086%20319.587356,1208.86322%20L319.587356,1208.86322%20L319.587356,1221.73678%20C319.587356,1221.88914%20319.710864,1222.01264%20319.863218,1222.01264%20L319.863218,1222.01264%20L332.736782,1222.01264%20C332.889136,1222.01264%20333.012644,1221.88914%20333.012644,1221.73678%20L333.012644,1221.73678%20L333.012644,1208.86322%20C333.012644,1208.71086%20332.889136,1208.58736%20332.736782,1208.58736%20L332.736782,1208.58736%20Z%20M323.725287,1216.86322%20C324.893338,1216.86322%20325.84023,1217.81011%20325.84023,1218.97816%20C325.84023,1220.14621%20324.893338,1221.0931%20323.725287,1221.0931%20C322.557237,1221.0931%20321.610345,1220.14621%20321.610345,1218.97816%20C321.610345,1217.81011%20322.557237,1216.86322%20323.725287,1216.86322%20Z%20M328.874713,1216.86322%20C330.042763,1216.86322%20330.989655,1217.81011%20330.989655,1218.97816%20C330.989655,1220.14621%20330.042763,1221.0931%20328.874713,1221.0931%20C327.706662,1221.0931%20326.75977,1220.14621%20326.75977,1218.97816%20C326.75977,1217.81011%20327.706662,1216.86322%20328.874713,1216.86322%20Z%20M323.725287,1218.15057%20C323.268224,1218.15057%20322.897701,1218.5211%20322.897701,1218.97816%20C322.897701,1219.43522%20323.268224,1219.80575%20323.725287,1219.80575%20C324.182351,1219.80575%20324.552874,1219.43522%20324.552874,1218.97816%20C324.552874,1218.5211%20324.182351,1218.15057%20323.725287,1218.15057%20Z%20M328.874713,1218.15057%20C328.417649,1218.15057%20328.047126,1218.5211%20328.047126,1218.97816%20C328.047126,1219.43522%20328.417649,1219.80575%20328.874713,1219.80575%20C329.331776,1219.80575%20329.702299,1219.43522%20329.702299,1218.97816%20C329.702299,1218.5211%20329.331776,1218.15057%20328.874713,1218.15057%20Z%20M329.242529,1214.65632%20C329.598022,1214.65632%20329.886207,1214.94451%20329.886207,1215.3%20C329.886207,1215.62587%20329.644052,1215.89518%20329.329872,1215.9378%20L329.242529,1215.94368%20L323.357471,1215.94368%20C323.001978,1215.94368%20322.713793,1215.65549%20322.713793,1215.3%20C322.713793,1214.97413%20322.955948,1214.70482%20323.270128,1214.6622%20L323.357471,1214.65632%20L329.242529,1214.65632%20Z%20M331.081609,1209.5069%20C331.437103,1209.5069%20331.725287,1209.79508%20331.725287,1210.15057%20L331.725287,1210.15057%20L331.725287,1213.0931%20C331.725287,1213.4486%20331.437103,1213.73678%20331.081609,1213.73678%20L331.081609,1213.73678%20L321.518391,1213.73678%20C321.162897,1213.73678%20320.874713,1213.4486%20320.874713,1213.0931%20L320.874713,1213.0931%20L320.874713,1210.15057%20C320.874713,1209.79508%20321.162897,1209.5069%20321.518391,1209.5069%20L321.518391,1209.5069%20Z%20M330.437931,1210.79425%20L322.162069,1210.79425%20L322.162069,1212.44943%20L330.437931,1212.44943%20L330.437931,1210.79425%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",o2="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e双控%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-318.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M332.736782,1207.3%20C333.600123,1207.3%20334.3,1207.99988%20334.3,1208.86322%20L334.3,1208.86322%20L334.3,1221.73678%20C334.3,1222.60012%20333.600123,1223.3%20332.736782,1223.3%20L332.736782,1223.3%20L319.863218,1223.3%20C318.999877,1223.3%20318.3,1222.60012%20318.3,1221.73678%20L318.3,1221.73678%20L318.3,1208.86322%20C318.3,1207.99988%20318.999877,1207.3%20319.863218,1207.3%20L319.863218,1207.3%20Z%20M332.736782,1208.58736%20L319.863218,1208.58736%20C319.710864,1208.58736%20319.587356,1208.71086%20319.587356,1208.86322%20L319.587356,1208.86322%20L319.587356,1221.73678%20C319.587356,1221.88914%20319.710864,1222.01264%20319.863218,1222.01264%20L319.863218,1222.01264%20L332.736782,1222.01264%20C332.889136,1222.01264%20333.012644,1221.88914%20333.012644,1221.73678%20L333.012644,1221.73678%20L333.012644,1208.86322%20C333.012644,1208.71086%20332.889136,1208.58736%20332.736782,1208.58736%20L332.736782,1208.58736%20Z%20M323.725287,1216.86322%20C324.893338,1216.86322%20325.84023,1217.81011%20325.84023,1218.97816%20C325.84023,1220.14621%20324.893338,1221.0931%20323.725287,1221.0931%20C322.557237,1221.0931%20321.610345,1220.14621%20321.610345,1218.97816%20C321.610345,1217.81011%20322.557237,1216.86322%20323.725287,1216.86322%20Z%20M328.874713,1216.86322%20C330.042763,1216.86322%20330.989655,1217.81011%20330.989655,1218.97816%20C330.989655,1220.14621%20330.042763,1221.0931%20328.874713,1221.0931%20C327.706662,1221.0931%20326.75977,1220.14621%20326.75977,1218.97816%20C326.75977,1217.81011%20327.706662,1216.86322%20328.874713,1216.86322%20Z%20M323.725287,1218.15057%20C323.268224,1218.15057%20322.897701,1218.5211%20322.897701,1218.97816%20C322.897701,1219.43522%20323.268224,1219.80575%20323.725287,1219.80575%20C324.182351,1219.80575%20324.552874,1219.43522%20324.552874,1218.97816%20C324.552874,1218.5211%20324.182351,1218.15057%20323.725287,1218.15057%20Z%20M328.874713,1218.15057%20C328.417649,1218.15057%20328.047126,1218.5211%20328.047126,1218.97816%20C328.047126,1219.43522%20328.417649,1219.80575%20328.874713,1219.80575%20C329.331776,1219.80575%20329.702299,1219.43522%20329.702299,1218.97816%20C329.702299,1218.5211%20329.331776,1218.15057%20328.874713,1218.15057%20Z%20M329.242529,1214.65632%20C329.598022,1214.65632%20329.886207,1214.94451%20329.886207,1215.3%20C329.886207,1215.62587%20329.644052,1215.89518%20329.329872,1215.9378%20L329.242529,1215.94368%20L323.357471,1215.94368%20C323.001978,1215.94368%20322.713793,1215.65549%20322.713793,1215.3%20C322.713793,1214.97413%20322.955948,1214.70482%20323.270128,1214.6622%20L323.357471,1214.65632%20L329.242529,1214.65632%20Z%20M331.081609,1209.5069%20C331.437103,1209.5069%20331.725287,1209.79508%20331.725287,1210.15057%20L331.725287,1210.15057%20L331.725287,1213.0931%20C331.725287,1213.4486%20331.437103,1213.73678%20331.081609,1213.73678%20L331.081609,1213.73678%20L321.518391,1213.73678%20C321.162897,1213.73678%20320.874713,1213.4486%20320.874713,1213.0931%20L320.874713,1213.0931%20L320.874713,1210.15057%20C320.874713,1209.79508%20321.162897,1209.5069%20321.518391,1209.5069%20L321.518391,1209.5069%20Z%20M330.437931,1210.79425%20L322.162069,1210.79425%20L322.162069,1212.44943%20L330.437931,1212.44943%20L330.437931,1210.79425%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",l2={class:"font-semibold"},n2={class:"flex items-center"},r2={class:"mix-body"},a2={class:"w-full flex flex-wrap content-start"},s2=["onMousedown","onMouseup"],i2={DEFAULT_ICON:t2,ACTIVE_ICON:o2,NAME_CN:"双控",NAME_EN:"Dual Control",ORDER:3},c2={bgColor:"#fff",titleColor:"#111",textColor:"#fff",titleSize:14,textSize:14,itemHeight:42,radiusSize:8,items:2,isHideTitle:!1,method:{value:"alway",type:"select",label:"component.switch.method",options:h.CONTROL_OPTIONS}},j=[{upper:{command:"Control_01",code:0},down:{command:"Control_01",code:1},name:"关机",color:"#c92309",code:0},{upper:{command:"Control_01",code:0},down:{command:"Control_01",code:1},name:"开机",color:"#217406",code:1}],d2=["name","color","upper","down"],u2={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},m2=["mosaic"],f2={DEFAULT:i2,OPTIONS:c2,DATA:j,PARAMS:d2,SOURCE:m2,COMMON:u2},C2=e.defineComponent(B(Z({},f2),{__name:"pressBtn",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""},authorized:{type:Array,default:()=>[]}},setup(n){const l=n,o=e.reactive({authorized:[],password:""}),m=e.reactive({text:"",color:""}),p=e.ref(null),v=e.ref(!0),f=e.ref(!1);class C extends h.BaseComponent{extractStyles(){var a,d,i,g,u,L,y,_,b,M,k,z,E,N;const{options:t}=this.props.conf;return{bgColor:((a=t==null?void 0:t.bgColor)==null?void 0:a.value)||"#fff",titleColor:((d=t==null?void 0:t.titleColor)==null?void 0:d.value)||"#111",textColor:((i=t==null?void 0:t.textColor)==null?void 0:i.value)||"#fff",titleSize:((g=t==null?void 0:t.titleSize)==null?void 0:g.value)||16,textSize:((u=t==null?void 0:t.textSize)==null?void 0:u.value)||14,itemHeight:((L=t==null?void 0:t.itemHeight)==null?void 0:L.value)||42,radiusSize:(_=(y=t==null?void 0:t.radiusSize)==null?void 0:y.value)!=null?_:8,items:(M=(b=t==null?void 0:t.items)==null?void 0:b.value)!=null?M:2,method:(z=(k=t==null?void 0:t.method)==null?void 0:k.value)!=null?z:"alway",isHideTitle:(N=(E=t==null?void 0:t.isHideTitle)==null?void 0:E.value)!=null?N:!1}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:j}onPreview(){return I(this,null,function*(){yield F(C.prototype,this,"onPreview").call(this);const t=yield T.getAuthorized(this.props);o.authorized=t.authorized,o.password=t.password})}setSocketData(t){var i,g;if(!t)return;const{common:a}=this.props.conf,d=this.extractDataValue(t,a.statusFv);if(d!=null){const u=a.status.find(L=>String(L.code)===String(d));m.text=(i=u==null?void 0:u.text)!=null?i:"",m.color=(g=u==null?void 0:u.color)!=null?g:""}}}const c=new C(l,"pressBtn");c.setupLifecycle();const r=c.getStyle(),D=e.computed(()=>X.generateTitleStyle(l.conf.options)),V=e.computed(()=>`${(100/r.value.items).toFixed(2)||100}%`),w=e.computed(()=>{const s=r.value.method||"alway";return s==="once"&&v.value||s==="alway"&&!f.value}),P=()=>{f.value||(p.value.modal.visible=!0)},R=()=>{f.value=!0,r.value.method==="once"&&(v.value=!1)},q=s=>{if(w.value)return;if(o.authorized.indexOf(s.down.command)===-1){x.ElMessage.error("您没有控制权限!");return}const{common:t}=l.conf,a=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let i={block_mapping:"pusher",action:"publish_command",object_id:t.useAlias?a[t.object_alias]:t.object_id||l.uid,command:s.down.command.toString(),value:s.down.code.toString()||"",control:o.password,rule:r.value.method};S(i,"down")},$=s=>{if(w.value)return;if(o.authorized.indexOf(s.upper.command)===-1){x.ElMessage.error("您没有控制权限!");return}const{common:t}=l.conf,a=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let i={block_mapping:"pusher",action:"publish_command",object_id:t.useAlias?a[t.object_alias]:t.object_id||l.uid,command:s.upper.command.toString(),value:s.upper.code.toString()||"",control:o.password,rule:r.value.method};S(i,"up")},S=(s,t)=>{e2.api.platform(a=>{a.code===200&&(x.ElMessage.success(a.msg),v.value=!1,r.value.method==="alway"&&t==="up"&&(f.value=!1))},s)};return(s,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(r).bgColor,borderRadius:`${e.unref(r).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(D.value)},[e.createElementVNode("div",l2,e.toDisplayString(n.conf.caption||n.conf.name),1),e.createElementVNode("div",n2,[e.unref(r).method!=="never"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["verify-btn",{disabled:f.value}]),onClick:P},"验证密码",2)):e.createCommentVNode("",!0),m.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:"status-btn",style:e.normalizeStyle({backgroundColor:m.color,color:e.unref(r).textColor})},e.toDisplayString(m.text),5)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",r2,[e.createElementVNode("div",a2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.conf.data,(a,d)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:d,style:e.normalizeStyle({width:V.value,height:`${e.unref(r).itemHeight}px`,fontSize:`${e.unref(r).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:w.value}]),style:e.normalizeStyle({backgroundColor:a.color,color:e.unref(r).textColor}),onMousedown:i=>q(a),onMouseup:i=>$(a)},e.toDisplayString(a.name),47,s2)],4))),128))])]),e.renderSlot(s.$slots,"default",{},void 0,!0)],4),e.createVNode(T._sfc_main,{ref_key:"controlRef",ref:p,onSubmit:R,password:o.password},null,8,["password"])],64))}})),p2=Q._export_sfc(C2,[["__scopeId","data-v-dda3873e"]]);exports.default=p2;
|
|
@@ -28,11 +28,11 @@ var H = (l, o, t) => new Promise((u, v) => {
|
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as i2, reactive as P, ref as b, computed as y, openBlock as h, createElementBlock as w, Fragment as U, createElementVNode as C, normalizeStyle as x, unref as p, toDisplayString as M, normalizeClass as V, createCommentVNode as J, renderList as c2, renderSlot as d2, createVNode as u2 } from "vue";
|
|
30
30
|
import "html2canvas";
|
|
31
|
-
import { l as m2, B as f2, A as G } from "./element-resize-detector-
|
|
32
|
-
import { _ as C2 } from "./index-
|
|
31
|
+
import { l as m2, B as f2, A as G } from "./element-resize-detector-CcMj2at_.js";
|
|
32
|
+
import { _ as C2 } from "./index-DCD0sVkl.js";
|
|
33
33
|
import { g as p2 } from "./titleStyle-BT5GlpAb.js";
|
|
34
|
-
import { _ as v2, g as g2 } from "./mix-control-modal-
|
|
35
|
-
import { a as L2 } from "./api-
|
|
34
|
+
import { _ as v2, g as g2 } from "./mix-control-modal-OWpKWsS0.js";
|
|
35
|
+
import { a as L2 } from "./api-Cug1klvp.js";
|
|
36
36
|
import { ElMessage as z } from "element-plus";
|
|
37
37
|
const h2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e双控%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-318.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M332.736782,1207.3%20C333.600123,1207.3%20334.3,1207.99988%20334.3,1208.86322%20L334.3,1208.86322%20L334.3,1221.73678%20C334.3,1222.60012%20333.600123,1223.3%20332.736782,1223.3%20L332.736782,1223.3%20L319.863218,1223.3%20C318.999877,1223.3%20318.3,1222.60012%20318.3,1221.73678%20L318.3,1221.73678%20L318.3,1208.86322%20C318.3,1207.99988%20318.999877,1207.3%20319.863218,1207.3%20L319.863218,1207.3%20Z%20M332.736782,1208.58736%20L319.863218,1208.58736%20C319.710864,1208.58736%20319.587356,1208.71086%20319.587356,1208.86322%20L319.587356,1208.86322%20L319.587356,1221.73678%20C319.587356,1221.88914%20319.710864,1222.01264%20319.863218,1222.01264%20L319.863218,1222.01264%20L332.736782,1222.01264%20C332.889136,1222.01264%20333.012644,1221.88914%20333.012644,1221.73678%20L333.012644,1221.73678%20L333.012644,1208.86322%20C333.012644,1208.71086%20332.889136,1208.58736%20332.736782,1208.58736%20L332.736782,1208.58736%20Z%20M323.725287,1216.86322%20C324.893338,1216.86322%20325.84023,1217.81011%20325.84023,1218.97816%20C325.84023,1220.14621%20324.893338,1221.0931%20323.725287,1221.0931%20C322.557237,1221.0931%20321.610345,1220.14621%20321.610345,1218.97816%20C321.610345,1217.81011%20322.557237,1216.86322%20323.725287,1216.86322%20Z%20M328.874713,1216.86322%20C330.042763,1216.86322%20330.989655,1217.81011%20330.989655,1218.97816%20C330.989655,1220.14621%20330.042763,1221.0931%20328.874713,1221.0931%20C327.706662,1221.0931%20326.75977,1220.14621%20326.75977,1218.97816%20C326.75977,1217.81011%20327.706662,1216.86322%20328.874713,1216.86322%20Z%20M323.725287,1218.15057%20C323.268224,1218.15057%20322.897701,1218.5211%20322.897701,1218.97816%20C322.897701,1219.43522%20323.268224,1219.80575%20323.725287,1219.80575%20C324.182351,1219.80575%20324.552874,1219.43522%20324.552874,1218.97816%20C324.552874,1218.5211%20324.182351,1218.15057%20323.725287,1218.15057%20Z%20M328.874713,1218.15057%20C328.417649,1218.15057%20328.047126,1218.5211%20328.047126,1218.97816%20C328.047126,1219.43522%20328.417649,1219.80575%20328.874713,1219.80575%20C329.331776,1219.80575%20329.702299,1219.43522%20329.702299,1218.97816%20C329.702299,1218.5211%20329.331776,1218.15057%20328.874713,1218.15057%20Z%20M329.242529,1214.65632%20C329.598022,1214.65632%20329.886207,1214.94451%20329.886207,1215.3%20C329.886207,1215.62587%20329.644052,1215.89518%20329.329872,1215.9378%20L329.242529,1215.94368%20L323.357471,1215.94368%20C323.001978,1215.94368%20322.713793,1215.65549%20322.713793,1215.3%20C322.713793,1214.97413%20322.955948,1214.70482%20323.270128,1214.6622%20L323.357471,1214.65632%20L329.242529,1214.65632%20Z%20M331.081609,1209.5069%20C331.437103,1209.5069%20331.725287,1209.79508%20331.725287,1210.15057%20L331.725287,1210.15057%20L331.725287,1213.0931%20C331.725287,1213.4486%20331.437103,1213.73678%20331.081609,1213.73678%20L331.081609,1213.73678%20L321.518391,1213.73678%20C321.162897,1213.73678%20320.874713,1213.4486%20320.874713,1213.0931%20L320.874713,1213.0931%20L320.874713,1210.15057%20C320.874713,1209.79508%20321.162897,1209.5069%20321.518391,1209.5069%20L321.518391,1209.5069%20Z%20M330.437931,1210.79425%20L322.162069,1210.79425%20L322.162069,1212.44943%20L330.437931,1212.44943%20L330.437931,1210.79425%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", w2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e双控%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-318.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M332.736782,1207.3%20C333.600123,1207.3%20334.3,1207.99988%20334.3,1208.86322%20L334.3,1208.86322%20L334.3,1221.73678%20C334.3,1222.60012%20333.600123,1223.3%20332.736782,1223.3%20L332.736782,1223.3%20L319.863218,1223.3%20C318.999877,1223.3%20318.3,1222.60012%20318.3,1221.73678%20L318.3,1221.73678%20L318.3,1208.86322%20C318.3,1207.99988%20318.999877,1207.3%20319.863218,1207.3%20L319.863218,1207.3%20Z%20M332.736782,1208.58736%20L319.863218,1208.58736%20C319.710864,1208.58736%20319.587356,1208.71086%20319.587356,1208.86322%20L319.587356,1208.86322%20L319.587356,1221.73678%20C319.587356,1221.88914%20319.710864,1222.01264%20319.863218,1222.01264%20L319.863218,1222.01264%20L332.736782,1222.01264%20C332.889136,1222.01264%20333.012644,1221.88914%20333.012644,1221.73678%20L333.012644,1221.73678%20L333.012644,1208.86322%20C333.012644,1208.71086%20332.889136,1208.58736%20332.736782,1208.58736%20L332.736782,1208.58736%20Z%20M323.725287,1216.86322%20C324.893338,1216.86322%20325.84023,1217.81011%20325.84023,1218.97816%20C325.84023,1220.14621%20324.893338,1221.0931%20323.725287,1221.0931%20C322.557237,1221.0931%20321.610345,1220.14621%20321.610345,1218.97816%20C321.610345,1217.81011%20322.557237,1216.86322%20323.725287,1216.86322%20Z%20M328.874713,1216.86322%20C330.042763,1216.86322%20330.989655,1217.81011%20330.989655,1218.97816%20C330.989655,1220.14621%20330.042763,1221.0931%20328.874713,1221.0931%20C327.706662,1221.0931%20326.75977,1220.14621%20326.75977,1218.97816%20C326.75977,1217.81011%20327.706662,1216.86322%20328.874713,1216.86322%20Z%20M323.725287,1218.15057%20C323.268224,1218.15057%20322.897701,1218.5211%20322.897701,1218.97816%20C322.897701,1219.43522%20323.268224,1219.80575%20323.725287,1219.80575%20C324.182351,1219.80575%20324.552874,1219.43522%20324.552874,1218.97816%20C324.552874,1218.5211%20324.182351,1218.15057%20323.725287,1218.15057%20Z%20M328.874713,1218.15057%20C328.417649,1218.15057%20328.047126,1218.5211%20328.047126,1218.97816%20C328.047126,1219.43522%20328.417649,1219.80575%20328.874713,1219.80575%20C329.331776,1219.80575%20329.702299,1219.43522%20329.702299,1218.97816%20C329.702299,1218.5211%20329.331776,1218.15057%20328.874713,1218.15057%20Z%20M329.242529,1214.65632%20C329.598022,1214.65632%20329.886207,1214.94451%20329.886207,1215.3%20C329.886207,1215.62587%20329.644052,1215.89518%20329.329872,1215.9378%20L329.242529,1215.94368%20L323.357471,1215.94368%20C323.001978,1215.94368%20322.713793,1215.65549%20322.713793,1215.3%20C322.713793,1214.97413%20322.955948,1214.70482%20323.270128,1214.6622%20L323.357471,1214.65632%20L329.242529,1214.65632%20Z%20M331.081609,1209.5069%20C331.437103,1209.5069%20331.725287,1209.79508%20331.725287,1210.15057%20L331.725287,1210.15057%20L331.725287,1213.0931%20C331.725287,1213.4486%20331.437103,1213.73678%20331.081609,1213.73678%20L331.081609,1213.73678%20L321.518391,1213.73678%20C321.162897,1213.73678%20320.874713,1213.4486%20320.874713,1213.0931%20L320.874713,1213.0931%20L320.874713,1210.15057%20C320.874713,1209.79508%20321.162897,1209.5069%20321.518391,1209.5069%20L321.518391,1209.5069%20Z%20M330.437931,1210.79425%20L322.162069,1210.79425%20L322.162069,1212.44943%20L330.437931,1212.44943%20L330.437931,1210.79425%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", x2 = { class: "font-semibold" }, _2 = { class: "flex items-center" }, S2 = { class: "mix-body" }, b2 = { class: "w-full flex flex-wrap content-start" }, y2 = ["onMousedown", "onMouseup"], M2 = {
|
|
38
38
|
DEFAULT_ICON: h2,
|
|
@@ -14,8 +14,8 @@ import { ElProgress as M } from "element-plus/es";
|
|
|
14
14
|
import "element-plus/es/components/base/style/css";
|
|
15
15
|
import "element-plus/es/components/progress/style/css";
|
|
16
16
|
import { defineComponent as O, computed as T, openBlock as d, createElementBlock as p, normalizeStyle as s, unref as i, createElementVNode as n, toDisplayString as L, Fragment as Z, renderList as k, createVNode as z, renderSlot as V } from "vue";
|
|
17
|
-
import { B } from "./element-resize-detector-
|
|
18
|
-
import { _ as E } from "./index-
|
|
17
|
+
import { B } from "./element-resize-detector-CcMj2at_.js";
|
|
18
|
+
import { _ as E } from "./index-DCD0sVkl.js";
|
|
19
19
|
import { g as F } from "./titleStyle-BT5GlpAb.js";
|
|
20
20
|
const N = "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(-651.000000,%20-340.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M657.034892,353.547253%20C657.390386,353.547253%20657.678571,353.835438%20657.678571,354.190932%20C657.678571,354.516801%20657.436415,354.786112%20657.122236,354.828734%20L657.034892,354.83461%20L655.392935,354.83461%20C655.037442,354.83461%20654.749257,354.546425%20654.749257,354.190932%20C654.749257,353.865062%20654.991412,353.595752%20655.305592,353.55313%20L655.392935,353.547253%20L657.034892,353.547253%20Z%20M652.789724,353.547253%20C653.145217,353.547253%20653.433402,353.835438%20653.433402,354.190932%20C653.433402,354.516801%20653.191247,354.786112%20652.877067,354.828734%20L652.789724,354.83461%20L652.17399,354.83461%20C651.818496,354.83461%20651.530312,354.546425%20651.530312,354.190932%20C651.530312,353.865062%20651.772467,353.595752%20652.086646,353.55313%20L652.17399,353.547253%20L652.789724,353.547253%20Z%20M660.318806,350.26334%20C660.6743,350.26334%20660.962484,350.551524%20660.962484,350.907018%20C660.962484,351.232887%20660.720329,351.502198%20660.406149,351.54482%20L660.318806,351.550696%20L655.392935,351.550696%20C655.037442,351.550696%20654.749257,351.262512%20654.749257,350.907018%20C654.749257,350.581149%20654.991412,350.311838%20655.305592,350.269216%20L655.392935,350.26334%20L660.318806,350.26334%20Z%20M652.789724,350.26334%20C653.145217,350.26334%20653.433402,350.551524%20653.433402,350.907018%20C653.433402,351.232887%20653.191247,351.502198%20652.877067,351.54482%20L652.789724,351.550696%20L652.17399,351.550696%20C651.818496,351.550696%20651.530312,351.262512%20651.530312,350.907018%20C651.530312,350.581149%20651.772467,350.311838%20652.086646,350.269216%20L652.17399,350.26334%20L652.789724,350.26334%20Z%20M663.60272,346.979426%20C663.958213,346.979426%20664.246398,347.267611%20664.246398,347.623104%20C664.246398,347.948973%20664.004243,348.218284%20663.690063,348.260906%20L663.60272,348.266782%20L655.392935,348.266782%20C655.037442,348.266782%20654.749257,347.978598%20654.749257,347.623104%20C654.749257,347.297235%20654.991412,347.027924%20655.305592,346.985302%20L655.392935,346.979426%20L663.60272,346.979426%20Z%20M652.789724,346.979426%20C653.145217,346.979426%20653.433402,347.267611%20653.433402,347.623104%20C653.433402,347.948973%20653.191247,348.218284%20652.877067,348.260906%20L652.789724,348.266782%20L652.17399,348.266782%20C651.818496,348.266782%20651.530312,347.978598%20651.530312,347.623104%20C651.530312,347.297235%20651.772467,347.027924%20652.086646,346.985302%20L652.17399,346.979426%20L652.789724,346.979426%20Z%20M666.886633,343.695512%20C667.242127,343.695512%20667.530312,343.983697%20667.530312,344.339191%20C667.530312,344.66506%20667.288157,344.934371%20666.973977,344.976993%20L666.886633,344.982869%20L655.392935,344.982869%20C655.037442,344.982869%20654.749257,344.694684%20654.749257,344.339191%20C654.749257,344.013321%20654.991412,343.744011%20655.305592,343.701388%20L655.392935,343.695512%20L666.886633,343.695512%20Z%20M652.789724,343.695512%20C653.145217,343.695512%20653.433402,343.983697%20653.433402,344.339191%20C653.433402,344.66506%20653.191247,344.934371%20652.877067,344.976993%20L652.789724,344.982869%20L652.17399,344.982869%20C651.818496,344.982869%20651.530312,344.694684%20651.530312,344.339191%20C651.530312,344.013321%20651.772467,343.744011%20652.086646,343.701388%20L652.17399,343.695512%20L652.789724,343.695512%20Z'%20id='形状结合'%3e%3c/path%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(-651.000000,%20-340.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M657.034892,353.547253%20C657.390386,353.547253%20657.678571,353.835438%20657.678571,354.190932%20C657.678571,354.516801%20657.436415,354.786112%20657.122236,354.828734%20L657.034892,354.83461%20L655.392935,354.83461%20C655.037442,354.83461%20654.749257,354.546425%20654.749257,354.190932%20C654.749257,353.865062%20654.991412,353.595752%20655.305592,353.55313%20L655.392935,353.547253%20L657.034892,353.547253%20Z%20M652.789724,353.547253%20C653.145217,353.547253%20653.433402,353.835438%20653.433402,354.190932%20C653.433402,354.516801%20653.191247,354.786112%20652.877067,354.828734%20L652.789724,354.83461%20L652.17399,354.83461%20C651.818496,354.83461%20651.530312,354.546425%20651.530312,354.190932%20C651.530312,353.865062%20651.772467,353.595752%20652.086646,353.55313%20L652.17399,353.547253%20L652.789724,353.547253%20Z%20M660.318806,350.26334%20C660.6743,350.26334%20660.962484,350.551524%20660.962484,350.907018%20C660.962484,351.232887%20660.720329,351.502198%20660.406149,351.54482%20L660.318806,351.550696%20L655.392935,351.550696%20C655.037442,351.550696%20654.749257,351.262512%20654.749257,350.907018%20C654.749257,350.581149%20654.991412,350.311838%20655.305592,350.269216%20L655.392935,350.26334%20L660.318806,350.26334%20Z%20M652.789724,350.26334%20C653.145217,350.26334%20653.433402,350.551524%20653.433402,350.907018%20C653.433402,351.232887%20653.191247,351.502198%20652.877067,351.54482%20L652.789724,351.550696%20L652.17399,351.550696%20C651.818496,351.550696%20651.530312,351.262512%20651.530312,350.907018%20C651.530312,350.581149%20651.772467,350.311838%20652.086646,350.269216%20L652.17399,350.26334%20L652.789724,350.26334%20Z%20M663.60272,346.979426%20C663.958213,346.979426%20664.246398,347.267611%20664.246398,347.623104%20C664.246398,347.948973%20664.004243,348.218284%20663.690063,348.260906%20L663.60272,348.266782%20L655.392935,348.266782%20C655.037442,348.266782%20654.749257,347.978598%20654.749257,347.623104%20C654.749257,347.297235%20654.991412,347.027924%20655.305592,346.985302%20L655.392935,346.979426%20L663.60272,346.979426%20Z%20M652.789724,346.979426%20C653.145217,346.979426%20653.433402,347.267611%20653.433402,347.623104%20C653.433402,347.948973%20653.191247,348.218284%20652.877067,348.260906%20L652.789724,348.266782%20L652.17399,348.266782%20C651.818496,348.266782%20651.530312,347.978598%20651.530312,347.623104%20C651.530312,347.297235%20651.772467,347.027924%20652.086646,346.985302%20L652.17399,346.979426%20L652.789724,346.979426%20Z%20M666.886633,343.695512%20C667.242127,343.695512%20667.530312,343.983697%20667.530312,344.339191%20C667.530312,344.66506%20667.288157,344.934371%20666.973977,344.976993%20L666.886633,344.982869%20L655.392935,344.982869%20C655.037442,344.982869%20654.749257,344.694684%20654.749257,344.339191%20C654.749257,344.013321%20654.991412,343.744011%20655.305592,343.701388%20L655.392935,343.695512%20L666.886633,343.695512%20Z%20M652.789724,343.695512%20C653.145217,343.695512%20653.433402,343.983697%20653.433402,344.339191%20C653.433402,344.66506%20653.191247,344.934371%20652.877067,344.976993%20L652.789724,344.982869%20L652.17399,344.982869%20C651.818496,344.982869%20651.530312,344.694684%20651.530312,344.339191%20C651.530312,344.013321%20651.772467,343.744011%20652.086646,343.701388%20L652.17399,343.695512%20L652.789724,343.695512%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", D = { class: "mix-body flex flex-col" }, W = { class: "flex-1" }, j = {
|
|
21
21
|
DEFAULT_ICON: N,
|