mixdashboards 1.0.76 → 1.0.78

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.
Files changed (332) hide show
  1. package/dist/{BaseComponent-CQaDWNO0.js → BaseComponent-Dwhb9Mde.js} +3 -3
  2. package/dist/{BaseComponent-BmhMoM4H.cjs → BaseComponent-bzb58Hhs.cjs} +1 -1
  3. package/dist/{EChartComponentBase-i76OGL3z.js → EChartComponentBase-BmS2KONN.js} +2 -2
  4. package/dist/{EChartComponentBase-D9EUh4BZ.cjs → EChartComponentBase-CMN_pOMr.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel-BiAHvTfh.cjs → EmergencyPlanPanel-CVusdpDo.cjs} +1 -1
  6. package/dist/{EmergencyPlanPanel-B9S3Ru5-.js → EmergencyPlanPanel-FtvC-aXY.js} +1 -1
  7. package/dist/{HistoryPlanDialog-BU4GayEm.cjs → HistoryPlanDialog-CrYylrTC.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-CbbeFm-i.js → HistoryPlanDialog-DliuSi0p.js} +1 -1
  9. package/dist/{MonitoringMap-FGDoA0fw.cjs → MonitoringMap-CBnv001f.cjs} +1 -1
  10. package/dist/{MonitoringMap-B6tXBdvK.js → MonitoringMap-DB3R5nAJ.js} +2 -2
  11. package/dist/{UniverSheet-D8sflrTb.js → UniverSheet-DFyIjurx.js} +2 -2
  12. package/dist/{UniverSheet-D7y2pceH.cjs → UniverSheet-jy9kOyPN.cjs} +1 -1
  13. package/dist/{accelerationChart-DTlwSA0N.cjs → accelerationChart-Ceo371ch.cjs} +1 -1
  14. package/dist/{accelerationChart-bch4O3t-.js → accelerationChart-Q_Q_QlU7.js} +2 -2
  15. package/dist/{actionItem-Cw67YwsR.js → actionItem-BzMI_4-S.js} +2 -2
  16. package/dist/{actionItem-cdsgUvaC.cjs → actionItem-DB74CPi2.cjs} +1 -1
  17. package/dist/{alarmLevelChart-BynSRHG2.js → alarmLevelChart-Bp3SLCMe.js} +2 -2
  18. package/dist/{alarmLevelChart-BMjTLxB5.cjs → alarmLevelChart-CxmiBIKh.cjs} +1 -1
  19. package/dist/{alertTable-3VhkUZSf.cjs → alertTable-B1w_i0VB.cjs} +1 -1
  20. package/dist/{alertTable-CiwuaydQ.js → alertTable-DXzTm7mA.js} +2 -2
  21. package/dist/{aliasObjectSelectorDemo-BLoecZkV.cjs → aliasObjectSelectorDemo-CRuq8zju.cjs} +1 -1
  22. package/dist/{aliasObjectSelectorDemo-DfdRxb4I.js → aliasObjectSelectorDemo-Dfanalux.js} +1 -1
  23. package/dist/{annualRainfallChart-CHcr4-0D.js → annualRainfallChart-D4Rhc84p.js} +2 -2
  24. package/dist/{annualRainfallChart-DKR-A_PT.cjs → annualRainfallChart-DEeyac7q.cjs} +1 -1
  25. package/dist/{aqi-Gu-pAovO.js → aqi-BzCTxj0q.js} +36 -28
  26. package/dist/{aqi-D7VqP1QE.cjs → aqi-CBknBfTF.cjs} +2 -2
  27. package/dist/{aqiIndass-Bjj6n1aj.js → aqiIndass-BJGsJsmz.js} +2 -2
  28. package/dist/{aqiIndass-nfYUZ3UM.cjs → aqiIndass-CUs24FxP.cjs} +1 -1
  29. package/dist/{areaDeformCurve-fpGWmq05.cjs → areaDeformCurve-B8VGdoKK.cjs} +1 -1
  30. package/dist/{areaDeformCurve-nwlcUBDv.js → areaDeformCurve-bSAkB3Pt.js} +2 -2
  31. package/dist/{arrayCard-TfcgLrHv.js → arrayCard-BkD5sytz.js} +2 -2
  32. package/dist/{arrayCard-UoDqAGbN.cjs → arrayCard-kh5WRweD.cjs} +1 -1
  33. package/dist/{audio-BYgGYoEr.js → audio-BTrvZwCy.js} +2 -2
  34. package/dist/{audio-DdUv9Ot-.cjs → audio-DwJN2gca.cjs} +1 -1
  35. package/dist/{bar-SfGiFl1r.js → bar-DYIb4143.js} +2 -2
  36. package/dist/{bar-CkBXc7t1.cjs → bar-DsyyzcxB.cjs} +1 -1
  37. package/dist/{bmp-CY-Hb2x1.cjs → bmp-DbEyuBZw.cjs} +1 -1
  38. package/dist/{bmp-BbtdzIrI.js → bmp-Dt3mSkAr.js} +2 -2
  39. package/dist/{box-B4C_mirv.cjs → box--u3HQFj9.cjs} +1 -1
  40. package/dist/{box-CV41cJuX.js → box-D7RsK5Qp.js} +2 -2
  41. package/dist/{chartConfigPanel-D650rSn7.js → chartConfigPanel-CD-csrX-.js} +1 -1
  42. package/dist/{chartConfigPanel-DBlqAbbH.cjs → chartConfigPanel-DybQRqg6.cjs} +1 -1
  43. package/dist/{circleBar-U3iXMQr5.js → circleBar-4md65KCX.js} +2 -2
  44. package/dist/{circleBar-DkV7xPBl.cjs → circleBar-DJY37bwB.cjs} +1 -1
  45. package/dist/{clock-zKVUU8pu.js → clock-Cj0HsizY.js} +2 -2
  46. package/dist/{clock-CjgMeOhp.cjs → clock-Dc9jgxHT.cjs} +1 -1
  47. package/dist/{clt-DwI8i7zI.cjs → clt-CBbtQxMc.cjs} +1 -1
  48. package/dist/{clt-BsIA-YPQ.js → clt-uJT1jgHk.js} +2 -2
  49. package/dist/{cmc-BX9ichBB.cjs → cmc-CeTCKLBx.cjs} +1 -1
  50. package/dist/{cmc-CgpHejR2.js → cmc-JJ6eTxB3.js} +2 -2
  51. package/dist/{cmp-CTqtxzo4.cjs → cmp-CGZ_2BdE.cjs} +1 -1
  52. package/dist/{cmp-CS34lG7V.js → cmp-D9qlHJoW.js} +2 -2
  53. package/dist/{conclusionCard-N6pA6Q9P.js → conclusionCard-BsLeh3yq.js} +2 -2
  54. package/dist/{conclusionCard-wvtJmV_8.cjs → conclusionCard-CwLwj3zj.cjs} +1 -1
  55. package/dist/{controlList-Zz5ABe5b.js → controlList-CYNS0ArB.js} +2 -2
  56. package/dist/{controlList-BUAMdHA3.cjs → controlList-l2ZYM6m5.cjs} +1 -1
  57. package/dist/{controlRecordList-Dx0zj7js.js → controlRecordList-BZmCvISO.js} +2 -2
  58. package/dist/{controlRecordList-CMR4y_Ml.cjs → controlRecordList-N79_cTON.cjs} +1 -1
  59. package/dist/{controlRecordListAPP-ZDCKmz_8.cjs → controlRecordListAPP-DOzMDV4x.cjs} +1 -1
  60. package/dist/{controlRecordListAPP-bL9oqWzQ.js → controlRecordListAPP-aDj520mp.js} +2 -2
  61. package/dist/{crd-8tMwNlgx.cjs → crd-CV4kMUTB.cjs} +1 -1
  62. package/dist/{crd-DZPpD6XY.js → crd-bm_BHuoV.js} +2 -2
  63. package/dist/{ctrBtn-eCu0UDtW.cjs → ctrBtn-Cs6ZmfyJ.cjs} +1 -1
  64. package/dist/{ctrBtn-6Ql9ulTr.js → ctrBtn-DYceHTAq.js} +3 -3
  65. package/dist/{ctrSet-BwFVH1Mk.js → ctrSet-B6PlTSBE.js} +3 -3
  66. package/dist/{ctrSet-pX-zVivo.cjs → ctrSet-XqnGgYPn.cjs} +1 -1
  67. package/dist/{ctrSwitch-D95SI-aJ.cjs → ctrSwitch-B9lHJgQn.cjs} +1 -1
  68. package/dist/{ctrSwitch-b6hHf4QF.js → ctrSwitch-E0FM_4f2.js} +3 -3
  69. package/dist/{dataManagement-VucRLCK4.js → dataManagement-BAHa-OHl.js} +2 -2
  70. package/dist/{dataManagement-DubA1TV1.cjs → dataManagement-bKmkV2VY.cjs} +1 -1
  71. package/dist/{dataReport-CALIw14D.js → dataReport-B60Rb4sb.js} +2 -2
  72. package/dist/{dataReport-CkF5J7X1.cjs → dataReport-JcrjpK_j.cjs} +1 -1
  73. package/dist/{dataTable-C1rBH_p9.js → dataTable-BmvewFlr.js} +1 -1
  74. package/dist/{dataTable-C2q_CX5D.cjs → dataTable-CX6uktOu.cjs} +1 -1
  75. package/dist/{datetime-TBTeWqlf.cjs → datetime-BPM_lGiY.cjs} +1 -1
  76. package/dist/{datetime-Cq8scz5Q.js → datetime-DARBbZJx.js} +2 -2
  77. package/dist/{deepClusterSlipSurface-Cm50wbjv.js → deepClusterSlipSurface-BF77Vp7G.js} +2 -2
  78. package/dist/{deepClusterSlipSurface-CFaxRVmM.cjs → deepClusterSlipSurface-IywdiDlA.cjs} +1 -1
  79. package/dist/{deepDataMatrix-DyStA98d.js → deepDataMatrix--zgQoWer.js} +2 -2
  80. package/dist/{deepDataMatrix-CAYSav3X.cjs → deepDataMatrix-sRXkGqdm.cjs} +1 -1
  81. package/dist/{deepDisplacement3D-B3Iju2KK.cjs → deepDisplacement3D-BET8Ftuc.cjs} +1 -1
  82. package/dist/{deepDisplacement3D-Bat-Wc3i.js → deepDisplacement3D-BYt49pzj.js} +2 -2
  83. package/dist/{deepDisplacementChart-D5rHoC9r.js → deepDisplacementChart-B2zPpsk6.js} +2 -2
  84. package/dist/{deepDisplacementChart-CYMpNu_W.js → deepDisplacementChart-BGBhipUx.js} +3 -3
  85. package/dist/{deepDisplacementChart-CX9ALM89.cjs → deepDisplacementChart-BuuM485C.cjs} +1 -1
  86. package/dist/{deepDisplacementChart-C-Tr4DdI.cjs → deepDisplacementChart-D7loYUI5.cjs} +1 -1
  87. package/dist/{deepDisplacementView-DnjwQmEW.js → deepDisplacementView-Bwk9p_Qc.js} +1 -1
  88. package/dist/{deepDisplacementView-DTSsODJQ.cjs → deepDisplacementView-CTBH3IxP.cjs} +1 -1
  89. package/dist/{deepNodeTemperatureChart-CLKg72UA.js → deepNodeTemperatureChart-BqTigCTs.js} +2 -2
  90. package/dist/{deepNodeTemperatureChart-C9NRJ49Y.cjs → deepNodeTemperatureChart-CTLHLf0w.cjs} +1 -1
  91. package/dist/{deepTangentAngleChart-DklHYHhm.js → deepTangentAngleChart-5oxzMpMF.js} +2 -2
  92. package/dist/{deepTangentAngleChart-C9aFSFrD.cjs → deepTangentAngleChart-CHxB8OFL.cjs} +1 -1
  93. package/dist/{deepTemperatureField-CcnVGgbf.js → deepTemperatureField-Bhk89D3D.js} +3 -3
  94. package/dist/{deepTemperatureField-CXBL4_LS.cjs → deepTemperatureField-Cr6YbuR_.cjs} +1 -1
  95. package/dist/{deepTrendChart-De7ebpk4.js → deepTrendChart-CAbdVR8d.js} +2 -2
  96. package/dist/{deepTrendChart-OGW08BX-.cjs → deepTrendChart-Ch94j4W9.cjs} +1 -1
  97. package/dist/{deviceOnlineStatus-_3Txb8Tg.js → deviceOnlineStatus-C5ODwFsY.js} +2 -2
  98. package/dist/{deviceOnlineStatus-DarcMtY4.cjs → deviceOnlineStatus-DxsTb4Vb.cjs} +1 -1
  99. package/dist/{deviceStatus-BiJw8rnz.cjs → deviceStatus-CjFTpCaU.cjs} +1 -1
  100. package/dist/{deviceStatus-CL6E-pQ0.js → deviceStatus-DPfOQCSX.js} +2 -2
  101. package/dist/{displacementDataTable-DmAqr-JK.cjs → displacementDataTable-BIqBEkul.cjs} +1 -1
  102. package/dist/{displacementDataTable-tKtGe2xd.js → displacementDataTable-DG36VWok.js} +2 -2
  103. package/dist/{displacementTrajectoryChart-Dh6oPB0p.js → displacementTrajectoryChart-Cpmj24Jn.js} +2 -2
  104. package/dist/{displacementTrajectoryChart-DG2YdSqq.cjs → displacementTrajectoryChart-DRltcPfa.cjs} +1 -1
  105. package/dist/{displacementTrendChart-BHORe0qO.js → displacementTrendChart-D1yfRFQb.js} +2 -2
  106. package/dist/{displacementTrendChart-CT140vXG.cjs → displacementTrendChart-DpD79zii.cjs} +1 -1
  107. package/dist/{dxf-CVa4Vfm3.cjs → dxf-C_9cH0WU.cjs} +1 -1
  108. package/dist/{dxf-CjcHSJq-.js → dxf-zbCakRgh.js} +2 -2
  109. package/dist/dzc-CejqHneE.cjs +2 -0
  110. package/dist/{dzc-DDXNSuie.js → dzc-CfPVaIgj.js} +46 -38
  111. package/dist/{emergencyPlan-Vim4E6h7.js → emergencyPlan-LbeRH-P9.js} +3 -3
  112. package/dist/{emergencyPlan-D0AMuD-3.cjs → emergencyPlan-dEwML5xC.cjs} +1 -1
  113. package/dist/{evn-D2mdSoFB.cjs → evn-BvgQ3o3T.cjs} +1 -1
  114. package/dist/{evn-CdMN8gIC.js → evn-DsD_MKQd.js} +2 -2
  115. package/dist/{evolutionChart-P0l6P0Bc.js → evolutionChart-B4C9qB3I.js} +3 -3
  116. package/dist/{evolutionChart-I8XVW05I.cjs → evolutionChart-Dt5-xRsy.cjs} +1 -1
  117. package/dist/{fileViewer-DvntGv0b.js → fileViewer-B0LdLy2P.js} +2 -2
  118. package/dist/{fileViewer-D7sAA8-W.cjs → fileViewer-DZIREgL0.cjs} +1 -1
  119. package/dist/{filterBar-8gex5oR-.js → filterBar-Bt6w4_xK.js} +2 -2
  120. package/dist/{filterBar-GSTji96g.cjs → filterBar-D_jcuqwP.cjs} +1 -1
  121. package/dist/{fireCombustionCurve-B3jAhOft.js → fireCombustionCurve-C2rWY89D.js} +3 -3
  122. package/dist/{fireCombustionCurve-DrMmHf3N.cjs → fireCombustionCurve-CHRd1nSv.cjs} +1 -1
  123. package/dist/{fireFilterBar-CH6iK0Xg.js → fireFilterBar-CpwHRisZ.js} +2 -2
  124. package/dist/{fireFilterBar-Dy9DcHij.cjs → fireFilterBar-DX8qH1rr.cjs} +1 -1
  125. package/dist/{fireHistoryTable-n6L3juWp.cjs → fireHistoryTable-B38M6w5w.cjs} +1 -1
  126. package/dist/{fireHistoryTable-CHxHqPs0.js → fireHistoryTable-DcSgHt5q.js} +2 -2
  127. package/dist/{gag-BsO4kmp1.js → gag-BErw_nsf.js} +2 -2
  128. package/dist/{gag-BzjuwBvY.cjs → gag-qDNPdFJu.cjs} +1 -1
  129. package/dist/{gasStationList-7JzUcISs.js → gasStationList-BREZbC_k.js} +2 -2
  130. package/dist/{gasStationList-QwqTDEAG.cjs → gasStationList-NhJa4GO6.cjs} +1 -1
  131. package/dist/{geo3dViewer-Cf-jHpvF.cjs → geo3dViewer-D9uSt0up.cjs} +1 -1
  132. package/dist/{geo3dViewer-doEpUC_J.js → geo3dViewer-zAN1eIza.js} +3 -3
  133. package/dist/{glbModel-C6L--3dO.cjs → glbModel-C4FiDMM5.cjs} +1 -1
  134. package/dist/{glbModel-BgFIj_es.js → glbModel-i6HvK0m8.js} +2 -2
  135. package/dist/{globalObjectSelector-CdfiXRjg.js → globalObjectSelector-BrVwJEgp.js} +1 -1
  136. package/dist/{globalObjectSelector-P_irB0rv.cjs → globalObjectSelector-CR74psMa.cjs} +1 -1
  137. package/dist/{gnssFilterBar-DPNshMIx.js → gnssFilterBar-BEHXIIKI.js} +2 -2
  138. package/dist/{gnssFilterBar-CIwyv2yc.cjs → gnssFilterBar-BkfBQWXF.cjs} +1 -1
  139. package/dist/{gnssHistoryTable-j5FL6oYs.cjs → gnssHistoryTable-CQ-7ESYj.cjs} +1 -1
  140. package/dist/{gnssHistoryTable-C7x4-Tpp.js → gnssHistoryTable-DDWGE_ge.js} +2 -2
  141. package/dist/{gnssMapView-BWcS4hqj.js → gnssMapView-C9iRAzym.js} +4 -4
  142. package/dist/{gnssMapView-_VaJWBcE.cjs → gnssMapView-P6ed3l_W.cjs} +2 -2
  143. package/dist/{gnssSectionProfile-hpyiGI-6.js → gnssSectionProfile-BIqyABEf.js} +2 -2
  144. package/dist/{gnssSectionProfile-DGbTO7lV.cjs → gnssSectionProfile-CIZnF7VA.cjs} +1 -1
  145. package/dist/{gnssTimeSeriesChart-CNT6xaNs.cjs → gnssTimeSeriesChart-BgIM5U-H.cjs} +1 -1
  146. package/dist/{gnssTimeSeriesChart-rL9oG1ly.js → gnssTimeSeriesChart-DqH9JFBF.js} +2 -2
  147. package/dist/{gnssXYTrajectory-B1LZAepw.js → gnssXYTrajectory-BviUjxG9.js} +2 -2
  148. package/dist/{gnssXYTrajectory-CwAjhPRc.cjs → gnssXYTrajectory-CH8864n6.cjs} +1 -1
  149. package/dist/{grd-rJXqEimt.cjs → grd-BhpBxrpa.cjs} +1 -1
  150. package/dist/{grd-BLab9IY0.js → grd-DfkGlcW6.js} +2 -2
  151. package/dist/{grdIndass-gGrZ7gRV.js → grdIndass-ByznFwzc.js} +2 -2
  152. package/dist/{grdIndass-niY4UOwz.cjs → grdIndass-DhMfHz31.cjs} +1 -1
  153. package/dist/{grg-Dnro7bLg.js → grg-CVBoetQY.js} +2 -2
  154. package/dist/{grg-C1L5yeyY.cjs → grg-uzBlEm_K.cjs} +1 -1
  155. package/dist/{gridview-DxUsv2ny.cjs → gridview-CyXCqWKq.cjs} +1 -1
  156. package/dist/{gridview-BhjWlD0J.js → gridview-Dt3i1t5d.js} +2 -2
  157. package/dist/{groundwaterFilterBar-bNhTkX1C.js → groundwaterFilterBar-BbS81e9a.js} +2 -2
  158. package/dist/{groundwaterFilterBar-C-2e7S04.cjs → groundwaterFilterBar-C4xCPqa_.cjs} +1 -1
  159. package/dist/{groundwaterProfileChart-dhzmwfwz.js → groundwaterProfileChart-BBPFrt5W.js} +3 -3
  160. package/dist/{groundwaterProfileChart-BxKGPuOe.cjs → groundwaterProfileChart-DvjFvCm5.cjs} +2 -2
  161. package/dist/{groundwaterTimeCurve-BtzP6icm.js → groundwaterTimeCurve-CKlvc2nQ.js} +3 -3
  162. package/dist/{groundwaterTimeCurve-CTQPlTUr.cjs → groundwaterTimeCurve-Cb3xlM78.cjs} +1 -1
  163. package/dist/{groupCard-D00ElZoy.js → groupCard-BBzDl9uX.js} +2 -2
  164. package/dist/{groupCard-D4gdaVqR.cjs → groupCard-BVdjzdqF.cjs} +1 -1
  165. package/dist/{headerBar-MFw1W0qa.cjs → headerBar-B5Z8UviF.cjs} +1 -1
  166. package/dist/{headerBar-DEHj8fJr.js → headerBar-Dty08mHR.js} +2 -2
  167. package/dist/{history-BRkb914v.js → history-TkSKA8F1.js} +1 -1
  168. package/dist/{history-D1R2RAZQ.cjs → history-yI8XiwXi.cjs} +1 -1
  169. package/dist/{index-77aUdspY.cjs → index-6QhTSPkL.cjs} +13 -13
  170. package/dist/{index-BZpYmpDy.js → index-YNdVib_6.js} +3338 -3159
  171. package/dist/{insarDeformChart-pbOnnoN-.js → insarDeformChart-C9UkWIL9.js} +2 -2
  172. package/dist/{insarDeformChart-5EVWIkpL.cjs → insarDeformChart-Dr9Ve1vY.cjs} +1 -1
  173. package/dist/{insarImageViewer-DQJBN4YM.cjs → insarImageViewer-DAKBn2vV.cjs} +1 -1
  174. package/dist/{insarImageViewer-D3bbQA6g.js → insarImageViewer-DZbq2xch.js} +2 -2
  175. package/dist/{kds-D5seJB3L.cjs → kds-BkH8cJCu.cjs} +1 -1
  176. package/dist/{kds-gTJOwHbM.js → kds-__I8-o5i.js} +2 -2
  177. package/dist/{kpiCard-Cx6VNK6L.js → kpiCard-BzuF0qdE.js} +2 -2
  178. package/dist/{kpiCard-Bz-fg6sL.cjs → kpiCard-fRfv1QPb.cjs} +1 -1
  179. package/dist/{landslideMap-5erIcZo7.js → landslideMap-D84pku4Y.js} +3 -3
  180. package/dist/{landslideMap-D7_QpwmM.cjs → landslideMap-zD8SU2Lh.cjs} +1 -1
  181. package/dist/{landslideWarning-CzaddgWf.js → landslideWarning-0mckvEoZ.js} +5 -5
  182. package/dist/{landslideWarning-C3FZqrxT.cjs → landslideWarning-Cq-di-hN.cjs} +1 -1
  183. package/dist/{layerTabs-Dc1Xb11W.cjs → layerTabs-C2zq6a5M.cjs} +1 -1
  184. package/dist/{layerTabs-DqbOykS2.js → layerTabs-COzqQ9mn.js} +2 -2
  185. package/dist/{leaflet-src-BY2SMh9y.js → leaflet-src-2tPn7QVH.js} +1 -1
  186. package/dist/{leaflet-src-Brb8KUL5.cjs → leaflet-src-D8MF2j44.cjs} +1 -1
  187. package/dist/{lerc-Chm_GVte.js → lerc-BCmG0CMS.js} +2 -2
  188. package/dist/{lerc-DGuyYCKG.cjs → lerc-BHcVhBOn.cjs} +1 -1
  189. package/dist/{lin-tqtSA5ci.js → lin-CQ6TCBCr.js} +59 -51
  190. package/dist/{lin-8x2j8aGa.cjs → lin-niA_T9Ql.cjs} +2 -2
  191. package/dist/{linIndass-DHFymSVI.js → linIndass-J9rdji6E.js} +2 -2
  192. package/dist/{linIndass-Dxo_bzrZ.cjs → linIndass-nZx16Vos.cjs} +1 -1
  193. package/dist/{lst-BV6EbDPs.cjs → lst-Cw1XCAv0.cjs} +1 -1
  194. package/dist/{lst-BejIuO0f.js → lst-DieyrYCh.js} +2 -2
  195. package/dist/{manualEntry-DObI0OAq.js → manualEntry-CCmyPMJm.js} +2 -2
  196. package/dist/{manualEntry-Bt4cs6kn.cjs → manualEntry-ChhTpAF2.cjs} +1 -1
  197. package/dist/{mapBackground-oVOBK3zr.cjs → mapBackground-BzOdjhnZ.cjs} +1 -1
  198. package/dist/{mapBackground-Cuym5Dqr.js → mapBackground-CiiG2nHi.js} +3 -3
  199. package/dist/{mappingList-Dzq0zMfs.js → mappingList-CoBD8D27.js} +2 -2
  200. package/dist/{mappingList-BEWAqLd4.cjs → mappingList-D42mILiq.cjs} +1 -1
  201. package/dist/{markdownViewer-Bz50jkb6.js → markdownViewer-C3HUXDvf.js} +2 -2
  202. package/dist/{markdownViewer-V5b1xhPh.cjs → markdownViewer-DHs9ekCh.cjs} +1 -1
  203. package/dist/{mix-control-modal-DzVLdO3S.js → mix-control-modal-BEwriuWS.js} +1 -1
  204. package/dist/{mix-control-modal-I6DqPm04.cjs → mix-control-modal-DGd2S6Jd.cjs} +1 -1
  205. package/dist/{mixGrid-tVSdKPms.js → mixGrid-CBenxHD_.js} +2 -2
  206. package/dist/{mixGrid-_ur8VKLD.cjs → mixGrid-Cnq99D09.cjs} +1 -1
  207. package/dist/mixdashboards.cjs +1 -1
  208. package/dist/mixdashboards.css +1 -1
  209. package/dist/mixdashboards.js +1 -1
  210. package/dist/{mixiotObjectListApi-D5vNNWgT.js → mixiotObjectListApi-CKJLXcnf.js} +1 -1
  211. package/dist/{mixiotObjectListApi-BUQ-RZ3L.cjs → mixiotObjectListApi-e1qL7PHh.cjs} +1 -1
  212. package/dist/{mjpegCamera-DnAPpFJU.js → mjpegCamera-D8lB701i.js} +2 -2
  213. package/dist/{mjpegCamera-CjWe8BEK.cjs → mjpegCamera-DDFrZo-x.cjs} +1 -1
  214. package/dist/{monitorAlert-qmVSQ1lc.cjs → monitorAlert-C-mo-lDe.cjs} +1 -1
  215. package/dist/{monitorAlert-B-fTYPn6.js → monitorAlert-Z1dFDfPh.js} +2 -2
  216. package/dist/{monitorData-YhGSUq3H.cjs → monitorData-CNRfV5Wt.cjs} +1 -1
  217. package/dist/{monitorData-Dopc660L.js → monitorData-DZhO9Gos.js} +2 -2
  218. package/dist/{monitorSpeedChart-Dsvr_QPB.js → monitorSpeedChart-C5pN46lO.js} +1 -1
  219. package/dist/{monitorSpeedChart-Brj_YHsO.cjs → monitorSpeedChart-DrRdMdGD.cjs} +1 -1
  220. package/dist/{mxa-D4WkyBYZ.js → mxa-BFQ70ksk.js} +39 -31
  221. package/dist/mxa-COpw24fq.cjs +2 -0
  222. package/dist/{myValue-DYtBtOJ2.js → myValue-Dosl4Ro5.js} +2 -2
  223. package/dist/{myValue-C0tq-asC.cjs → myValue-Eb3asTOC.cjs} +1 -1
  224. package/dist/{myValueList-Ddpn1S68.js → myValueList-Dkc10vr6.js} +2 -2
  225. package/dist/{myValueList-BJctRTNd.cjs → myValueList-mcqRZanE.cjs} +1 -1
  226. package/dist/{objectList-Csf0hVwo.cjs → objectList-D4owr3ED.cjs} +1 -1
  227. package/dist/{objectList-G4wXFDwe.js → objectList-FWkZ6PAs.js} +3 -3
  228. package/dist/{objectListAPP-UZN4iuTn.cjs → objectListAPP-Bzevu1od.cjs} +1 -1
  229. package/dist/{objectListAPP-BrmUj4At.js → objectListAPP-CdfeZTgm.js} +3 -3
  230. package/dist/{photo-BYH_qg5O.cjs → photo-Dmxxqgrg.cjs} +1 -1
  231. package/dist/{photo-BEPeK7U8.js → photo-DxXTYq73.js} +2 -2
  232. package/dist/pie-BxpiCEYe.cjs +2 -0
  233. package/dist/{pie-CEVKe1lL.js → pie-COixdWUz.js} +85 -75
  234. package/dist/{placeholder-Bwv3VyEg.js → placeholder-CLLNLxRC.js} +1 -1
  235. package/dist/{placeholder-BezBEQGo.cjs → placeholder-Ole-Or58.cjs} +1 -1
  236. package/dist/{pressBtn-1LCNz2gE.js → pressBtn-C7Y-B8Dz.js} +3 -3
  237. package/dist/{pressBtn-CJZTyY8I.cjs → pressBtn-DwKg9PbD.cjs} +1 -1
  238. package/dist/{processTable-CHDazqah.js → processTable-CTkwZWWJ.js} +2 -2
  239. package/dist/{processTable-HtDeg1by.cjs → processTable-DDcKkjJx.cjs} +1 -1
  240. package/dist/{progressBar-BP4SmPZK.cjs → progressBar-7qHg67Sf.cjs} +1 -1
  241. package/dist/{progressBar-C3NcWUrS.js → progressBar-9npgJ9jD.js} +2 -2
  242. package/dist/{progressCircle-Bo9-Qva_.js → progressCircle-DP08TX08.js} +2 -2
  243. package/dist/{progressCircle-CDqK1iFt.cjs → progressCircle-Xgjnl1KF.cjs} +1 -1
  244. package/dist/{qrcode-VmYwvClG.js → qrcode-ClTSNzEN.js} +2 -2
  245. package/dist/{qrcode-qD6tOm4F.cjs → qrcode-D6wDMo-f.cjs} +1 -1
  246. package/dist/raceBar-C8mVFHnd.cjs +2 -0
  247. package/dist/{raceBar-DR2-luKW.js → raceBar-CTmsN8VC.js} +109 -101
  248. package/dist/{rad-1Jy1KDzt.js → rad-DWCSD35t.js} +2 -2
  249. package/dist/{rad-D7-YZJNO.cjs → rad-Dxaakm82.cjs} +1 -1
  250. package/dist/{radarMapViewer-KPhNE5XX.cjs → radarMapViewer-U7IQJjQs.cjs} +1 -1
  251. package/dist/{radarMapViewer-ByQXe0Mu.js → radarMapViewer-eEBE3MS-.js} +2 -2
  252. package/dist/{rainfallFilterBar-C1obotPf.js → rainfallFilterBar-DJTDGu7Z.js} +2 -2
  253. package/dist/{rainfallFilterBar-CVQpQp82.cjs → rainfallFilterBar-ow_wdOwq.cjs} +1 -1
  254. package/dist/{rainfallTimeCurve-DU2tt-Ls.cjs → rainfallTimeCurve-BL1I5Z2D.cjs} +1 -1
  255. package/dist/{rainfallTimeCurve-B2rEx3T_.js → rainfallTimeCurve-CwGmJhxu.js} +3 -3
  256. package/dist/{rangeLin-COsJkCky.cjs → rangeLin-BEz9xapa.cjs} +1 -1
  257. package/dist/{rangeLin-CdfUCFQr.js → rangeLin-BqcJpIva.js} +2 -2
  258. package/dist/{realtimeEvolutionMap-aR63xPW_.js → realtimeEvolutionMap-NOkyU7G3.js} +2 -2
  259. package/dist/{realtimeEvolutionMap-B7GT8MOq.cjs → realtimeEvolutionMap-mzXlR8gS.cjs} +1 -1
  260. package/dist/{regionBar-BYF7IaGA.cjs → regionBar-CEfz0Yol.cjs} +1 -1
  261. package/dist/{regionBar-DB-secNe.js → regionBar-DDk-2UWS.js} +2 -2
  262. package/dist/{request-CBsG4ipL.js → request-BIXfJXjX.js} +1 -1
  263. package/dist/{request-CvdHjG34.cjs → request-BfG3yDz6.cjs} +1 -1
  264. package/dist/{retainer1-1CFk4InO.cjs → retainer1-Ch1oZMeA.cjs} +1 -1
  265. package/dist/{retainer1-CMzTlM5Z.js → retainer1-Cz5rXIJj.js} +3 -3
  266. package/dist/{retainer2-DliOH7it.cjs → retainer2-DJ1R2GJE.cjs} +1 -1
  267. package/dist/{retainer2-DW4ewYX7.js → retainer2-DeelXgAZ.js} +3 -3
  268. package/dist/{retainerRecordList-DV7Tx39d.cjs → retainerRecordList-D3MsCnqy.cjs} +1 -1
  269. package/dist/{retainerRecordList-Bcm6leuD.js → retainerRecordList-DyhfjtfF.js} +2 -2
  270. package/dist/{retainerRecordListAPP-BDRwp8T3.js → retainerRecordListAPP-3Gr7db3D.js} +2 -2
  271. package/dist/{retainerRecordListAPP-CJ-u0Tj2.cjs → retainerRecordListAPP-B_hCyRak.cjs} +1 -1
  272. package/dist/{ringTopN-rd2UwH9f.cjs → ringTopN-fLinQVwX.cjs} +1 -1
  273. package/dist/{ringTopN-Duq0pzm_.js → ringTopN-t9xaVCWg.js} +2 -2
  274. package/dist/{riskRegionTable-BE_ggcEV.js → riskRegionTable-BThwQbTf.js} +2 -2
  275. package/dist/{riskRegionTable-CbPB8mlY.cjs → riskRegionTable-CagcISBC.cjs} +1 -1
  276. package/dist/{sankey-BqBn6_rx.cjs → sankey-BY_nwThw.cjs} +1 -1
  277. package/dist/{sankey-CnKm9PZe.js → sankey-Bwm0omQr.js} +2 -2
  278. package/dist/{scd-BgJ5P7co.cjs → scd-Bs1dG1w8.cjs} +1 -1
  279. package/dist/{scd-BaBLoem8.js → scd-DeYC1Rqx.js} +2 -2
  280. package/dist/{sideMenu-BgiQL2P1.cjs → sideMenu-CAEh3bwF.cjs} +1 -1
  281. package/dist/{sideMenu-CUal1UQY.js → sideMenu-Db_Nc_xz.js} +2 -2
  282. package/dist/{slopeStability-Y2tDzJeh.cjs → slopeStability-BWg6jhBB.cjs} +1 -1
  283. package/dist/{slopeStability-B9YbQLCE.js → slopeStability-CVC68Qcj.js} +2 -2
  284. package/dist/{speedCurve-DERBMtE1.js → speedCurve-CK4CXHeC.js} +2 -2
  285. package/dist/{speedCurve-Kll2RRJ8.cjs → speedCurve-DNNEIz4o.cjs} +1 -1
  286. package/dist/{stressFilterBar-BGI4gVfE.cjs → stressFilterBar-Cigl3IyR.cjs} +1 -1
  287. package/dist/{stressFilterBar-CHRWFnpP.js → stressFilterBar-DQ8nq8jV.js} +2 -2
  288. package/dist/{stressTimeCurve-hrlqSYS3.js → stressTimeCurve-BEANw1F8.js} +3 -3
  289. package/dist/{stressTimeCurve-DE5KiXEt.cjs → stressTimeCurve-BiduKfcg.cjs} +1 -1
  290. package/dist/{swiper-DNHC412s.js → swiper-BgkvIN5U.js} +2 -2
  291. package/dist/{swiper-CnGllhBQ.cjs → swiper-MIRXMnxk.cjs} +1 -1
  292. package/dist/{terminalConfigList-BlHAsyCm.js → terminalConfigList-B3lqvQel.js} +2 -2
  293. package/dist/{terminalConfigList-C45EANO4.cjs → terminalConfigList-C3zRbQvM.cjs} +1 -1
  294. package/dist/{terminalList-CNI3_FGb.cjs → terminalList-ArxJ1jdO.cjs} +1 -1
  295. package/dist/{terminalList-UGjkhyf4.js → terminalList-BevfdySj.js} +2 -2
  296. package/dist/{terminalListAPP-CIJZMdxI.js → terminalListAPP-CbpVft_s.js} +2 -2
  297. package/dist/{terminalListAPP-6fPXF-yJ.cjs → terminalListAPP-Cs0nnBfc.cjs} +1 -1
  298. package/dist/{textbox-BD_LQ0EN.js → textbox-CjkfmdaO.js} +2 -2
  299. package/dist/{textbox-yNPnOaan.cjs → textbox-DC9YLTn5.cjs} +1 -1
  300. package/dist/{timeQueryBar-3qiV0IV9.cjs → timeQueryBar-B69eldHQ.cjs} +1 -1
  301. package/dist/{timeQueryBar-B-uPtN25.js → timeQueryBar-CXd9yNgD.js} +1 -1
  302. package/dist/{timeSeries-DdQI4oZU.js → timeSeries-CLnLd-gX.js} +3 -3
  303. package/dist/{timeSeries-BTUuojvj.cjs → timeSeries-fB14CgRy.cjs} +1 -1
  304. package/dist/{timeSeriesCurve-TGXshTzl.js → timeSeriesCurve-CMcCzR13.js} +3 -3
  305. package/dist/{timeSeriesCurve-Cj_FbK4x.cjs → timeSeriesCurve-DOaxDpjr.cjs} +1 -1
  306. package/dist/{toggleBtn-BXcQfnTB.cjs → toggleBtn-BiUyrx_o.cjs} +1 -1
  307. package/dist/{toggleBtn-BMxqm5WG.js → toggleBtn-CWmuTxSD.js} +2 -2
  308. package/dist/{trajectoryConfigPanel-CqoKO0hL.cjs → trajectoryConfigPanel-D7IDlQIH.cjs} +1 -1
  309. package/dist/{trajectoryConfigPanel-uRLWdXUb.js → trajectoryConfigPanel-DKLN3KY5.js} +1 -1
  310. package/dist/{trajectoryScatter-Dph8PSdN.cjs → trajectoryScatter-CL-2FKZe.cjs} +1 -1
  311. package/dist/{trajectoryScatter-DPE4cC8N.js → trajectoryScatter-TEactc8J.js} +2 -2
  312. package/dist/{universalConfigPanel-Db-pC67o.cjs → universalConfigPanel-B8JIiLXp.cjs} +1 -1
  313. package/dist/{universalConfigPanel-CI1CuBmr.js → universalConfigPanel-wicv4Ypw.js} +1 -1
  314. package/dist/{universalTable-DMrgtBrw.js → universalTable-8e3LrZvD.js} +2 -2
  315. package/dist/{universalTable-dQObEQog.cjs → universalTable-BlTdL3c0.cjs} +1 -1
  316. package/dist/{video-DEhLie80.js → video-DpRcCZZQ.js} +2 -2
  317. package/dist/{video-DbsKQhVD.cjs → video-nPkrKQyL.cjs} +1 -1
  318. package/dist/{videoMonitor-DLBtivXO.cjs → videoMonitor-DOVw5mE0.cjs} +1 -1
  319. package/dist/{videoMonitor-BS6_LYUb.js → videoMonitor-Z_7cZk5Y.js} +2 -2
  320. package/dist/{vlu-DaSjPY3I.js → vlu-BQCrHSlq.js} +2 -2
  321. package/dist/{vlu-DXk_wQf-.cjs → vlu-DEIgGiO-.cjs} +1 -1
  322. package/dist/{warningOverview-CKCEs_Jj.js → warningOverview-C7J5aXTJ.js} +3 -3
  323. package/dist/{warningOverview-DAUlXzr0.cjs → warningOverview-DXJNk5bT.cjs} +1 -1
  324. package/dist/{weather-BAI0IWNH.cjs → weather-B1Pfcn75.cjs} +1 -1
  325. package/dist/{weather-XUj6pFwM.js → weather-C1sjTcwC.js} +2 -2
  326. package/dist/{windLin-C9dsCT1w.cjs → windLin-QKZKJ1h_.cjs} +1 -1
  327. package/dist/{windLin-Bt4q2eUT.js → windLin-vlM63Hu7.js} +2 -2
  328. package/package.json +1 -1
  329. package/dist/dzc-DK16oTVj.cjs +0 -2
  330. package/dist/mxa-BzdI7BLB.cjs +0 -2
  331. package/dist/pie-B57zDxJV.cjs +0 -2
  332. package/dist/raceBar-uAs91hyk.cjs +0 -2
@@ -1,27 +1,27 @@
1
- var L = Object.defineProperty, $ = Object.defineProperties;
2
- var A = Object.getOwnPropertyDescriptors;
3
- var w = Object.getOwnPropertySymbols;
4
- var k = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
5
- var O = (l, a, r) => a in l ? L(l, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : l[a] = r, h = (l, a) => {
1
+ var k = Object.defineProperty, E = Object.defineProperties;
2
+ var $ = Object.getOwnPropertyDescriptors;
3
+ var v = Object.getOwnPropertySymbols;
4
+ var A = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
+ var O = (l, a, r) => a in l ? k(l, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : l[a] = r, u = (l, a) => {
6
6
  for (var r in a || (a = {}))
7
- k.call(a, r) && O(l, r, a[r]);
8
- if (w)
9
- for (var r of w(a))
10
- j.call(a, r) && O(l, r, a[r]);
7
+ A.call(a, r) && O(l, r, a[r]);
8
+ if (v)
9
+ for (var r of v(a))
10
+ B.call(a, r) && O(l, r, a[r]);
11
11
  return l;
12
- }, d = (l, a) => $(l, A(a));
13
- import { defineComponent as z, computed as R, openBlock as B, createElementBlock as I, normalizeStyle as _, unref as m, createElementVNode as y, toDisplayString as N, renderSlot as D } from "vue";
14
- import { l as T, C as M, _ as P } from "./index-BZpYmpDy.js";
12
+ }, d = (l, a) => E(l, $(a));
13
+ import { defineComponent as R, computed as j, openBlock as z, createElementBlock as I, normalizeStyle as _, unref as m, createElementVNode as b, toDisplayString as N, renderSlot as D } from "vue";
14
+ import { l as T, C as P, _ as H } from "./index-YNdVib_6.js";
15
15
  import "element-plus";
16
- import { E as H } from "./EChartComponentBase-i76OGL3z.js";
16
+ import { E as M } from "./EChartComponentBase-BmS2KONN.js";
17
17
  import { g as F } from "./titleStyle-BT5GlpAb.js";
18
- import { A as U, D as G } from "./ele-pie-icon-RPfHJxqp.js";
19
- import { u as K, i as X, a as q } from "./installCanvasRenderer-oDYkyVFy.js";
20
- import { i as J } from "./install-DdM8j5Ll.js";
21
- import { i as Q } from "./install-CEl1AYgZ.js";
22
- import { i as W } from "./install-CIdzgJ44.js";
18
+ import { A as U, D as W } from "./ele-pie-icon-RPfHJxqp.js";
19
+ import { u as G, i as K, a as X } from "./installCanvasRenderer-oDYkyVFy.js";
20
+ import { i as q } from "./install-DdM8j5Ll.js";
21
+ import { i as J } from "./install-CEl1AYgZ.js";
22
+ import { i as Q } from "./install-CIdzgJ44.js";
23
23
  const Y = { class: "mix-body" }, Z = ["id"], ee = {
24
- DEFAULT_ICON: G,
24
+ DEFAULT_ICON: W,
25
25
  ACTIVE_ICON: U,
26
26
  NAME_CN: "饼状图",
27
27
  NAME_EN: "Pie",
@@ -64,8 +64,16 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
64
64
  repel: "pie"
65
65
  },
66
66
  isHideTitle: !1,
67
+ titleAlign: "left",
68
+ titleWeight: "bold",
69
+ titleBgColor: "transparent",
70
+ titleBorderType: "none",
71
+ titleBorderColor: "#cccccc",
72
+ titleBorderWidth: 1,
73
+ titlePaddingH: 8,
74
+ titlePaddingV: 4,
67
75
  showLabel: !1,
68
- showLegend: !0,
76
+ showLegend: { value: !0, type: "checkbox", label: "component.options.showLegend", dependent: "showLabel" },
69
77
  orient: {
70
78
  value: "horizontal",
71
79
  type: "radio",
@@ -76,9 +84,9 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
76
84
  label: "component.options.orient",
77
85
  dependent: "showLegend"
78
86
  },
79
- showValue: !0,
80
- showRate: !1,
81
- wrap: !1,
87
+ showValue: { value: !0, type: "checkbox", label: "component.options.showValue", dependent: "showLabel" },
88
+ showRate: { value: !1, type: "checkbox", label: "component.options.showRate", dependent: "showLabel" },
89
+ wrap: { value: !1, type: "checkbox", label: "component.options.wrap", dependent: "showLabel" },
82
90
  wrapByte: {
83
91
  value: 5,
84
92
  type: "number",
@@ -93,7 +101,7 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
93
101
  useAlias: !1,
94
102
  multiObject: !1,
95
103
  source: "mosaic"
96
- }, ae = { DEFAULT: ee, OPTIONS: te, DATA: oe, PARAMS: ie, SOURCE: ne, COMMON: se }, le = /* @__PURE__ */ z(d(h({}, ae), {
104
+ }, ae = { DEFAULT: ee, OPTIONS: te, DATA: oe, PARAMS: ie, SOURCE: ne, COMMON: se }, le = /* @__PURE__ */ R(d(u({}, ae), {
97
105
  __name: "pie",
98
106
  props: {
99
107
  conf: { type: Object, default: () => ({ data: [] }) },
@@ -102,38 +110,38 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
102
110
  theme: { type: String, default: "light" }
103
111
  },
104
112
  setup(l) {
105
- K([
113
+ G([
114
+ q,
106
115
  J,
107
- Q,
116
+ K,
108
117
  X,
109
- q,
110
- W
118
+ Q
111
119
  ]);
112
- const a = l, r = T(), S = {
120
+ const a = l, r = T(), C = {
113
121
  horizontal: { orient: "horizontal", bottom: "5%", left: "center" },
114
122
  vertical: { orient: "vertical", right: "5%", top: "5%" }
115
123
  };
116
- class C extends H {
124
+ class S extends M {
117
125
  initChart() {
118
- var e, o;
119
- super.initChart(), this.props.mode === "preview" && ((e = this.chartObj) == null || e.off("click"), (o = this.chartObj) == null || o.on("click", (t) => {
120
- var i, s, p, c, u, v;
121
- const n = t == null ? void 0 : t.name;
126
+ var e, t;
127
+ super.initChart(), this.props.mode === "preview" && ((e = this.chartObj) == null || e.off("click"), (t = this.chartObj) == null || t.on("click", (o) => {
128
+ var i, s, p, c, h, g;
129
+ const n = o == null ? void 0 : o.name;
122
130
  if (typeof n == "string" && n) {
123
- const E = ((s = (i = this.props.conf) == null ? void 0 : i.options) == null ? void 0 : s.linkChannel) === "custom" ? (c = (p = this.props.conf) == null ? void 0 : p.options) == null ? void 0 : c.customChannel : (v = (u = this.props.conf) == null ? void 0 : u.options) == null ? void 0 : v.linkChannel;
124
- r.publish(E || "pie", "pie", {
131
+ const V = ((s = (i = this.props.conf) == null ? void 0 : i.options) == null ? void 0 : s.linkChannel) === "custom" ? (c = (p = this.props.conf) == null ? void 0 : p.options) == null ? void 0 : c.customChannel : (g = (h = this.props.conf) == null ? void 0 : h.options) == null ? void 0 : g.linkChannel;
132
+ r.publish(V || "pie", "pie", {
125
133
  objectId: "",
126
134
  deviceId: "",
127
135
  type: "select",
128
136
  fieldKey: n,
129
- fv: h({ key: n }, t),
137
+ fv: u({ key: n }, o),
130
138
  source: "pie"
131
139
  });
132
140
  }
133
141
  }));
134
142
  }
135
143
  extractStyles() {
136
- return d(h({}, super.extractStyles()), {
144
+ return d(u({}, super.extractStyles()), {
137
145
  type: this.getOptionValue("type", "pie"),
138
146
  radius: this.getOptionValue("radius", 50),
139
147
  inside: this.getOptionValue("inside", 40),
@@ -148,27 +156,27 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
148
156
  });
149
157
  }
150
158
  getChartOption() {
151
- const e = this.Style.value, { data: o, name: t } = this.props.conf, n = o.map(
152
- (i, s) => i.color || M[s]
159
+ const e = this.Style.value, { data: t, name: o } = this.props.conf, n = t.map(
160
+ (i, s) => i.color || P[s]
153
161
  );
154
162
  return {
155
- title: { show: !1, text: t || "", x: "center" },
163
+ title: { show: !1, text: o || "", x: "center" },
156
164
  color: n,
157
165
  tooltip: { trigger: "item", formatter: "{a} <br/>{b} : {c} ({d}%)" },
158
- legend: d(h({
159
- show: e.showLegend
160
- }, S[e.orient]), {
161
- data: o.map((i) => i.name),
166
+ legend: d(u({
167
+ show: e.showLabel && e.showLegend
168
+ }, C[e.orient]), {
169
+ data: t.map((i) => i.name),
162
170
  textStyle: { color: e.textColor }
163
171
  }),
164
172
  series: this.formatSeries()
165
173
  };
166
174
  }
167
175
  formatSeries() {
168
- const e = this.Style.value, { data: o, name: t } = this.props.conf, n = o.map((s) => ({ value: 0, name: s.name })), i = e.type === "pie" ? `${e.radius}%` : [`${e.inside}%`, `${e.outside}%`];
176
+ const e = this.Style.value, { data: t, name: o } = this.props.conf, n = t.map((s) => ({ value: 0, name: s.name })), i = e.type === "pie" ? `${e.radius}%` : [`${e.inside}%`, `${e.outside}%`];
169
177
  return [
170
178
  {
171
- name: t,
179
+ name: o,
172
180
  type: "pie",
173
181
  radius: i,
174
182
  center: ["50%", "40%"],
@@ -179,6 +187,7 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
179
187
  shadowColor: "rgba(0, 0, 0, 0.5)"
180
188
  },
181
189
  label: {
190
+ show: e.showLabel,
182
191
  color: e.textColor,
183
192
  lineHeight: 16,
184
193
  fontSize: e.textSize,
@@ -188,62 +197,63 @@ const Y = { class: "mix-body" }, Z = ["id"], ee = {
188
197
  ];
189
198
  }
190
199
  formatLabel(e) {
191
- const o = this.Style.value;
192
- let t = e.name;
193
- 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);
200
+ const t = this.Style.value;
201
+ if (!t.showLabel) return "";
202
+ let o = e.name;
203
+ return t.showValue && t.showRate ? o = `${e.name}: ${e.value}(${e.percent}%)` : t.showValue ? o = `${e.name}: ${e.value}` : t.showRate && (o = `${e.name}${e.percent}%`), this.insertBreaks(o);
194
204
  }
195
205
  insertBreaks(e) {
196
- const o = this.Style.value;
197
- if (!o.wrap) return e;
198
- const t = o.wrapByte || 5;
206
+ const t = this.Style.value;
207
+ if (!t.showLabel || !t.wrap) return e;
208
+ const o = t.wrapByte || 5;
199
209
  let n = "", i = 0, s = 0;
200
210
  for (const p of e)
201
- p.charCodeAt(0) >= 19968 && p.charCodeAt(0) <= 40959 ? (s++, i += 2) : i += 1, n += p, (s >= t || i >= t * 2) && (n += `
211
+ p.charCodeAt(0) >= 19968 && p.charCodeAt(0) <= 40959 ? (s++, i += 2) : i += 1, n += p, (s >= o || i >= o * 2) && (n += `
202
212
  `, s = 0, i = 0);
203
213
  return n;
204
214
  }
205
215
  setHistoryData(e) {
206
216
  if (!e || !(e != null && e.length)) return;
207
- const o = this.chartObj.getOption();
208
- o.series[0].data.forEach((t, n) => {
217
+ const t = this.chartObj.getOption();
218
+ t.series[0].data.forEach((o, n) => {
209
219
  var i;
210
- t.value = (i = e[n].data[0]) != null ? i : 0;
211
- }), this.updateChart(o);
220
+ o.value = (i = e[n].data[0]) != null ? i : 0;
221
+ }), this.updateChart(t);
212
222
  }
213
223
  setSocketData(e) {
214
224
  if (!e || !this.chartObj) return;
215
- const { data: o } = this.props.conf, t = this.chartObj.getOption();
216
- o.forEach((n, i) => {
217
- var p, c, u;
225
+ const { data: t } = this.props.conf, o = this.chartObj.getOption();
226
+ t.forEach((n, i) => {
227
+ var p, c, h;
218
228
  const s = this.extractDataValue(e, n.fv);
219
- (u = (c = (p = t.series) == null ? void 0 : p[0]) == null ? void 0 : c.data) != null && u[i] && (t.series[0].data[i].value = s != null ? s : 0);
220
- }), this.updateChart(t);
229
+ (h = (c = (p = o.series) == null ? void 0 : p[0]) == null ? void 0 : c.data) != null && h[i] && (o.series[0].data[i].value = s != null ? s : 0);
230
+ }), this.updateChart(o);
221
231
  }
222
232
  }
223
- const f = new C(a, "pie");
233
+ const f = new S(a, "pie");
224
234
  f.setupLifecycle();
225
- const b = f.getStyle(), V = f.getEchartId(), x = R(() => F(a.conf.options));
226
- return (g, e) => (B(), I("div", {
235
+ const y = f.getStyle(), L = f.getEchartId(), x = j(() => F(a.conf.options));
236
+ return (w, e) => (z(), I("div", {
227
237
  class: "mix-component",
228
238
  style: _({
229
- background: m(b).bgColor,
230
- borderRadius: `${m(b).radiusSize}px`
239
+ background: m(y).bgColor,
240
+ borderRadius: `${m(y).radiusSize}px`
231
241
  })
232
242
  }, [
233
- y("div", {
243
+ b("div", {
234
244
  class: "mix-title",
235
245
  style: _(x.value)
236
246
  }, N(l.conf.caption || l.conf.name), 5),
237
- y("div", Y, [
238
- y("div", {
247
+ b("div", Y, [
248
+ b("div", {
239
249
  class: "w-full h-full",
240
- id: m(V)
250
+ id: m(L)
241
251
  }, null, 8, Z)
242
252
  ]),
243
- D(g.$slots, "default", {}, void 0, !0)
253
+ D(w.$slots, "default", {}, void 0, !0)
244
254
  ], 4));
245
255
  }
246
- })), ve = /* @__PURE__ */ P(le, [["__scopeId", "data-v-2c38f04d"]]);
256
+ })), ge = /* @__PURE__ */ H(le, [["__scopeId", "data-v-03b40f26"]]);
247
257
  export {
248
- ve as default
258
+ ge as default
249
259
  };
@@ -12,7 +12,7 @@ var $ = (o, e, r) => e in o ? q(o, e, { enumerable: !0, configurable: !0, writab
12
12
  }, D = (o, e) => G(o, H(e));
13
13
  import { defineComponent as Q, computed as w, ref as X, useTemplateRef as Y, onMounted as Z, nextTick as U, onBeforeUnmount as ee, watch as te, openBlock as h, createElementBlock as m, normalizeStyle as R, createElementVNode as p, toDisplayString as i, createCommentVNode as b, createTextVNode as oe, renderSlot as le } from "vue";
14
14
  import { A as ae, D as re } from "./ele-box-icon-Brlhb3oN.js";
15
- import { _ as de } from "./index-BZpYmpDy.js";
15
+ import { _ as de } from "./index-YNdVib_6.js";
16
16
  const ne = ["data-placeholder-id", "data-placeholder-name", "data-x", "data-y", "data-w", "data-h"], ce = {
17
17
  key: 0,
18
18
  class: "mix-placeholder__label"
@@ -1 +1 @@
1
- "use strict";var P=Object.defineProperty,A=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var O=(l,t,r)=>t in l?P(l,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[t]=r,M=(l,t)=>{for(var r in t||(t={}))$.call(t,r)&&O(l,r,t[r]);if(D)for(var r of D(t))U.call(t,r)&&O(l,r,t[r]);return l},T=(l,t)=>A(l,W(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),z=require("./ele-box-icon-NZ0BTjhm.cjs"),j=require("./index-77aUdspY.cjs"),q=["data-placeholder-id","data-placeholder-name","data-x","data-y","data-w","data-h"],G={key:0,class:"mix-placeholder__label"},H={class:"mix-placeholder__title"},J={key:0,class:"mix-placeholder__name"},K={class:"mix-placeholder__meta"},Q={key:0,class:"mix-placeholder__pixel"},X={class:"mix-placeholder__pixel-pos"},Y={key:1,class:"mix-placeholder__desc"},Z={key:0,class:"mix-placeholder__name-runtime"},ee={DEFAULT_ICON:z.DEFAULT_ICON,ACTIVE_ICON:z.ACTIVE_ICON,NAME_CN:"占位组件",NAME_EN:"Placeholder",ORDER:99,PLATFORM:["pc","screen","mobile"]},te={placeholderName:{value:"",type:"string",label:"占位组件名称"},description:{value:"",type:"string",label:"描述"},bgColor:{value:"rgba(64, 158, 255, 0.08)",type:"color",label:"填充色"},borderColor:{value:"#409EFF",type:"color",label:"边框颜色"},borderWidth:{value:2,type:"number",label:"边框宽度",min:0,max:10},borderStyle:{value:"dashed",type:"radio",label:"边框样式",option:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}]},radiusSize:{value:4,type:"number",label:"圆角",min:0,max:50},showLabel:{value:!0,type:"checkbox",label:"显示标签"},showInPreview:{value:!1,type:"checkbox",label:"运行时显示边框"}},oe=[],le={},ae={DEFAULT:ee,OPTIONS:te,SOURCE:oe,COMMON:le},ne=e.defineComponent(T(M({},ae),{__name:"placeholder",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(l){const t=l,r=(o,a)=>{var c,i;const n=(i=(c=t.conf)==null?void 0:c.options)==null?void 0:i[o];return n==null?a:typeof n=="object"&&"value"in n?n.value:n},d=e.computed(()=>({placeholderName:r("placeholderName",""),description:r("description",""),bgColor:r("bgColor","rgba(64, 158, 255, 0.08)"),borderColor:r("borderColor","#409EFF"),borderWidth:Number(r("borderWidth",2))||0,borderStyle:r("borderStyle","dashed"),radiusSize:Number(r("radiusSize",4))||0,showLabel:r("showLabel",!0)!==!1,showInPreview:r("showInPreview",!1)===!0})),_=e.computed(()=>{var o,a;return d.value.placeholderName||((o=t.conf)==null?void 0:o.name)||((a=t.conf)==null?void 0:a.id)||""}),b=e.computed(()=>{var o,a;return d.value.placeholderName||((o=t.conf)==null?void 0:o.caption)||((a=t.conf)==null?void 0:a.name)||""}),F=e.computed(()=>({backgroundColor:d.value.bgColor,borderColor:d.value.borderColor,borderStyle:d.value.borderStyle,borderWidth:`${d.value.borderWidth}px`,borderRadius:`${d.value.radiusSize}px`})),L=e.computed(()=>({borderColor:d.value.borderColor,borderStyle:d.value.borderStyle,borderWidth:`${Math.max(1,d.value.borderWidth)}px`,borderRadius:`${d.value.radiusSize}px`,backgroundColor:"transparent"})),m=e.ref(null),S=e.useTemplateRef("rootRef"),N=()=>{const o=S.value;if(!o)return{gridItem:null,canvas:null};const a=o.closest(".vgl-item")||o.closest(".vue-grid-item"),n=o.closest(".canvas");return{gridItem:a,canvas:n}},x=()=>{const{gridItem:o,canvas:a}=N();if(!o||!a)return;const n=o.getBoundingClientRect(),c=a.getBoundingClientRect(),i=a.offsetWidth||1,u=c.width/i||1,s=u===0?1:u;m.value={left:Math.round((n.left-c.left)/s),top:Math.round((n.top-c.top)/s),width:Math.round(n.width/s),height:Math.round(n.height/s)}},y=o=>{var a,n,c,i,u,s,h,v,f;if(typeof window!="undefined")try{window.dispatchEvent(new CustomEvent(`mix-placeholder:${o}`,{detail:{id:((a=t.conf)==null?void 0:a.id)||"",name:_.value,grid:{x:(c=(n=t.conf)==null?void 0:n.x)!=null?c:0,y:(u=(i=t.conf)==null?void 0:i.y)!=null?u:0,w:(h=(s=t.conf)==null?void 0:s.w)!=null?h:0,h:(f=(v=t.conf)==null?void 0:v.h)!=null?f:0},pixel:m.value,mode:t.mode}}))}catch(g){}};let p=null;return e.onMounted(()=>{e.nextTick(()=>{x(),y("registered");const{gridItem:o}=N();o&&typeof ResizeObserver!="undefined"&&(p=new ResizeObserver(()=>{x(),y("updated")}),p.observe(o))})}),e.onBeforeUnmount(()=>{p==null||p.disconnect(),p=null,y("unregistered")}),e.watch(()=>{var o,a,n,c,i;return[(o=t.conf)==null?void 0:o.x,(a=t.conf)==null?void 0:a.y,(n=t.conf)==null?void 0:n.w,(c=t.conf)==null?void 0:c.h,(i=t.conf)==null?void 0:i.options,t.mode]},()=>{e.nextTick(()=>{x(),y("updated")})},{deep:!0}),(o,a)=>{var n,c,i,u,s,h,v,f,g,w,C,E,k,B,R,I,V;return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:S,class:"mix-placeholder",style:e.normalizeStyle({pointerEvents:l.mode==="edit"?"auto":void 0}),"data-placeholder-id":((n=l.conf)==null?void 0:n.id)||"","data-placeholder-name":_.value,"data-x":(i=(c=l.conf)==null?void 0:c.x)!=null?i:0,"data-y":(s=(u=l.conf)==null?void 0:u.y)!=null?s:0,"data-w":(v=(h=l.conf)==null?void 0:h.w)!=null?v:0,"data-h":(g=(f=l.conf)==null?void 0:f.h)!=null?g:0},[l.mode==="edit"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-placeholder__frame mix-placeholder__frame--edit",style:e.normalizeStyle(F.value)},[d.value.showLabel?(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",H,[a[0]||(a[0]=e.createElementVNode("span",{class:"mix-placeholder__tag"},"占位组件",-1)),b.value?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",K,[e.createElementVNode("span",null,"x:"+e.toDisplayString((C=(w=l.conf)==null?void 0:w.x)!=null?C:0),1),e.createElementVNode("span",null,"y:"+e.toDisplayString((k=(E=l.conf)==null?void 0:E.y)!=null?k:0),1),e.createElementVNode("span",null,"w:"+e.toDisplayString((R=(B=l.conf)==null?void 0:B.w)!=null?R:0),1),e.createElementVNode("span",null,"h:"+e.toDisplayString((V=(I=l.conf)==null?void 0:I.h)!=null?V:0),1)]),m.value?(e.openBlock(),e.createElementBlock("div",Q,[e.createTextVNode(e.toDisplayString(m.value.width)+"px × "+e.toDisplayString(m.value.height)+"px ",1),e.createElementVNode("span",X,"@("+e.toDisplayString(m.value.left)+", "+e.toDisplayString(m.value.top)+")",1)])):e.createCommentVNode("",!0),d.value.description?(e.openBlock(),e.createElementBlock("div",Y,e.toDisplayString(d.value.description),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):d.value.showInPreview?(e.openBlock(),e.createElementBlock("div",{key:1,class:"mix-placeholder__frame mix-placeholder__frame--runtime",style:e.normalizeStyle(L.value)},[d.value.showLabel&&b.value?(e.openBlock(),e.createElementBlock("span",Z,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},void 0,!0)],12,q)}}})),re=j._export_sfc(ne,[["__scopeId","data-v-d6ad7f4c"]]);exports.default=re;
1
+ "use strict";var P=Object.defineProperty,A=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var O=(l,t,r)=>t in l?P(l,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[t]=r,M=(l,t)=>{for(var r in t||(t={}))$.call(t,r)&&O(l,r,t[r]);if(D)for(var r of D(t))U.call(t,r)&&O(l,r,t[r]);return l},T=(l,t)=>A(l,W(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),z=require("./ele-box-icon-NZ0BTjhm.cjs"),j=require("./index-6QhTSPkL.cjs"),q=["data-placeholder-id","data-placeholder-name","data-x","data-y","data-w","data-h"],G={key:0,class:"mix-placeholder__label"},H={class:"mix-placeholder__title"},J={key:0,class:"mix-placeholder__name"},K={class:"mix-placeholder__meta"},Q={key:0,class:"mix-placeholder__pixel"},X={class:"mix-placeholder__pixel-pos"},Y={key:1,class:"mix-placeholder__desc"},Z={key:0,class:"mix-placeholder__name-runtime"},ee={DEFAULT_ICON:z.DEFAULT_ICON,ACTIVE_ICON:z.ACTIVE_ICON,NAME_CN:"占位组件",NAME_EN:"Placeholder",ORDER:99,PLATFORM:["pc","screen","mobile"]},te={placeholderName:{value:"",type:"string",label:"占位组件名称"},description:{value:"",type:"string",label:"描述"},bgColor:{value:"rgba(64, 158, 255, 0.08)",type:"color",label:"填充色"},borderColor:{value:"#409EFF",type:"color",label:"边框颜色"},borderWidth:{value:2,type:"number",label:"边框宽度",min:0,max:10},borderStyle:{value:"dashed",type:"radio",label:"边框样式",option:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}]},radiusSize:{value:4,type:"number",label:"圆角",min:0,max:50},showLabel:{value:!0,type:"checkbox",label:"显示标签"},showInPreview:{value:!1,type:"checkbox",label:"运行时显示边框"}},oe=[],le={},ae={DEFAULT:ee,OPTIONS:te,SOURCE:oe,COMMON:le},ne=e.defineComponent(T(M({},ae),{__name:"placeholder",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(l){const t=l,r=(o,a)=>{var c,i;const n=(i=(c=t.conf)==null?void 0:c.options)==null?void 0:i[o];return n==null?a:typeof n=="object"&&"value"in n?n.value:n},d=e.computed(()=>({placeholderName:r("placeholderName",""),description:r("description",""),bgColor:r("bgColor","rgba(64, 158, 255, 0.08)"),borderColor:r("borderColor","#409EFF"),borderWidth:Number(r("borderWidth",2))||0,borderStyle:r("borderStyle","dashed"),radiusSize:Number(r("radiusSize",4))||0,showLabel:r("showLabel",!0)!==!1,showInPreview:r("showInPreview",!1)===!0})),_=e.computed(()=>{var o,a;return d.value.placeholderName||((o=t.conf)==null?void 0:o.name)||((a=t.conf)==null?void 0:a.id)||""}),b=e.computed(()=>{var o,a;return d.value.placeholderName||((o=t.conf)==null?void 0:o.caption)||((a=t.conf)==null?void 0:a.name)||""}),F=e.computed(()=>({backgroundColor:d.value.bgColor,borderColor:d.value.borderColor,borderStyle:d.value.borderStyle,borderWidth:`${d.value.borderWidth}px`,borderRadius:`${d.value.radiusSize}px`})),L=e.computed(()=>({borderColor:d.value.borderColor,borderStyle:d.value.borderStyle,borderWidth:`${Math.max(1,d.value.borderWidth)}px`,borderRadius:`${d.value.radiusSize}px`,backgroundColor:"transparent"})),m=e.ref(null),S=e.useTemplateRef("rootRef"),N=()=>{const o=S.value;if(!o)return{gridItem:null,canvas:null};const a=o.closest(".vgl-item")||o.closest(".vue-grid-item"),n=o.closest(".canvas");return{gridItem:a,canvas:n}},x=()=>{const{gridItem:o,canvas:a}=N();if(!o||!a)return;const n=o.getBoundingClientRect(),c=a.getBoundingClientRect(),i=a.offsetWidth||1,u=c.width/i||1,s=u===0?1:u;m.value={left:Math.round((n.left-c.left)/s),top:Math.round((n.top-c.top)/s),width:Math.round(n.width/s),height:Math.round(n.height/s)}},y=o=>{var a,n,c,i,u,s,h,v,f;if(typeof window!="undefined")try{window.dispatchEvent(new CustomEvent(`mix-placeholder:${o}`,{detail:{id:((a=t.conf)==null?void 0:a.id)||"",name:_.value,grid:{x:(c=(n=t.conf)==null?void 0:n.x)!=null?c:0,y:(u=(i=t.conf)==null?void 0:i.y)!=null?u:0,w:(h=(s=t.conf)==null?void 0:s.w)!=null?h:0,h:(f=(v=t.conf)==null?void 0:v.h)!=null?f:0},pixel:m.value,mode:t.mode}}))}catch(g){}};let p=null;return e.onMounted(()=>{e.nextTick(()=>{x(),y("registered");const{gridItem:o}=N();o&&typeof ResizeObserver!="undefined"&&(p=new ResizeObserver(()=>{x(),y("updated")}),p.observe(o))})}),e.onBeforeUnmount(()=>{p==null||p.disconnect(),p=null,y("unregistered")}),e.watch(()=>{var o,a,n,c,i;return[(o=t.conf)==null?void 0:o.x,(a=t.conf)==null?void 0:a.y,(n=t.conf)==null?void 0:n.w,(c=t.conf)==null?void 0:c.h,(i=t.conf)==null?void 0:i.options,t.mode]},()=>{e.nextTick(()=>{x(),y("updated")})},{deep:!0}),(o,a)=>{var n,c,i,u,s,h,v,f,g,w,C,E,k,B,R,I,V;return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:S,class:"mix-placeholder",style:e.normalizeStyle({pointerEvents:l.mode==="edit"?"auto":void 0}),"data-placeholder-id":((n=l.conf)==null?void 0:n.id)||"","data-placeholder-name":_.value,"data-x":(i=(c=l.conf)==null?void 0:c.x)!=null?i:0,"data-y":(s=(u=l.conf)==null?void 0:u.y)!=null?s:0,"data-w":(v=(h=l.conf)==null?void 0:h.w)!=null?v:0,"data-h":(g=(f=l.conf)==null?void 0:f.h)!=null?g:0},[l.mode==="edit"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-placeholder__frame mix-placeholder__frame--edit",style:e.normalizeStyle(F.value)},[d.value.showLabel?(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",H,[a[0]||(a[0]=e.createElementVNode("span",{class:"mix-placeholder__tag"},"占位组件",-1)),b.value?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",K,[e.createElementVNode("span",null,"x:"+e.toDisplayString((C=(w=l.conf)==null?void 0:w.x)!=null?C:0),1),e.createElementVNode("span",null,"y:"+e.toDisplayString((k=(E=l.conf)==null?void 0:E.y)!=null?k:0),1),e.createElementVNode("span",null,"w:"+e.toDisplayString((R=(B=l.conf)==null?void 0:B.w)!=null?R:0),1),e.createElementVNode("span",null,"h:"+e.toDisplayString((V=(I=l.conf)==null?void 0:I.h)!=null?V:0),1)]),m.value?(e.openBlock(),e.createElementBlock("div",Q,[e.createTextVNode(e.toDisplayString(m.value.width)+"px × "+e.toDisplayString(m.value.height)+"px ",1),e.createElementVNode("span",X,"@("+e.toDisplayString(m.value.left)+", "+e.toDisplayString(m.value.top)+")",1)])):e.createCommentVNode("",!0),d.value.description?(e.openBlock(),e.createElementBlock("div",Y,e.toDisplayString(d.value.description),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):d.value.showInPreview?(e.openBlock(),e.createElementBlock("div",{key:1,class:"mix-placeholder__frame mix-placeholder__frame--runtime",style:e.normalizeStyle(L.value)},[d.value.showLabel&&b.value?(e.openBlock(),e.createElementBlock("span",Z,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},void 0,!0)],12,q)}}})),re=j._export_sfc(ne,[["__scopeId","data-v-d6ad7f4c"]]);exports.default=re;
@@ -28,10 +28,10 @@ var _ = (o, t, e) => new Promise((d, g) => {
28
28
  });
29
29
  import { defineComponent as t2, reactive as T, ref as S, computed as y, openBlock as L, createElementBlock as v, Fragment as F, createElementVNode as m, normalizeStyle as w, unref as f, createTextVNode as o2, toDisplayString as M, normalizeClass as j, createCommentVNode as I, renderList as s2, renderSlot as i2, createVNode as n2 } from "vue";
30
30
  import "html2canvas";
31
- import { B as l2 } from "./BaseComponent-CQaDWNO0.js";
32
- import { V as a2, A as E, a as r2, _ as c2 } from "./index-BZpYmpDy.js";
31
+ import { B as l2 } from "./BaseComponent-Dwhb9Mde.js";
32
+ import { V as a2, A as E, a as r2, _ as c2 } from "./index-YNdVib_6.js";
33
33
  import { g as d2 } from "./titleStyle-BT5GlpAb.js";
34
- import { _ as u2, g as p2, c as B } from "./mix-control-modal-DzVLdO3S.js";
34
+ import { _ as u2, g as p2, c as B } from "./mix-control-modal-BEwriuWS.js";
35
35
  import { ElMessage as O } from "element-plus";
36
36
  const m2 = "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", f2 = "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", C2 = { class: "font-semibold flex items-center justify-between" }, g2 = { class: "flex items-center" }, h2 = { class: "mix-body" }, L2 = { class: "w-full flex flex-wrap content-start" }, v2 = ["onMousedown", "onMouseup"], w2 = {
37
37
  DEFAULT_ICON: m2,
@@ -1 +1 @@
1
- "use strict";var F=Object.defineProperty,I=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols,P=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,H=Reflect.get;var M=(n,o,t)=>o in n?F(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,k=(n,o)=>{for(var t in o||(o={}))D.call(o,t)&&M(n,t,o[t]);if(_)for(var t of _(o))R.call(o,t)&&M(n,t,o[t]);return n},O=(n,o)=>I(n,j(o));var w=(n,o,t)=>H(P(n),t,o);var x=(n,o,t)=>new Promise((u,C)=>{var g=a=>{try{c(t.next(a))}catch(l){C(l)}},p=a=>{try{c(t.throw(a))}catch(l){C(l)}},c=a=>a.done?u(a.value):Promise.resolve(a.value).then(g,p);c((t=t.apply(n,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const $=require("./BaseComponent-BmhMoM4H.cjs"),h=require("./index-77aUdspY.cjs"),q=require("./titleStyle-NSnz6cUg.cjs"),v=require("./mix-control-modal-I6DqPm04.cjs"),S=require("element-plus"),U="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",W="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",G={class:"font-semibold flex items-center justify-between"},J={class:"flex items-center"},K={class:"mix-body"},Y={class:"w-full flex flex-wrap content-start"},Q=["onMousedown","onMouseup"],X={DEFAULT_ICON:U,ACTIVE_ICON:W,NAME_CN:"双控",NAME_EN:"Dual Control",ORDER:3,PLATFORM:["pc","screen","mobile"]},e2={bgColor:"#fff",titleColor:"#111",textColor:"#fff",titleSize:14,textSize:14,itemHeight:42,radiusSize:8,items:2,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4,method:{value:"alway",type:"select",label:"component.switch.method",options:h.CONTROL_OPTIONS}},z=[{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}],t2=["name","color","upper","down"],o2={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},n2=["mosaic"],l2={DEFAULT:X,OPTIONS:e2,DATA:z,PARAMS:t2,SOURCE:n2,COMMON:o2},i2=e.defineComponent(O(k({},l2),{__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:""}},setup(n){const o=n,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),u=e.reactive({text:"",color:""}),C=e.ref(null),g=e.ref(!0),p=e.ref(!1);class c extends $.BaseComponent{extractStyles(){const{options:i}=this.props.conf;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#fff"),titleSize:this.getOptionValue("titleSize",16),textSize:this.getOptionValue("textSize",14),itemHeight:this.getOptionValue("itemHeight",42),radiusSize:this.getOptionValue("radiusSize",8),items:this.getOptionValue("items",2),method:this.getOptionValue("method","alway"),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){w(c.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:z})}onPreview(){return x(this,null,function*(){yield w(c.prototype,this,"onPreview").call(this);const i=yield v.getAuthorized(this.props);t.authorized=i.authorized,t.password=i.password})}setSocketData(i){var d,b;if(!i)return;const{common:r}=this.props.conf,m=this.extractDataValue(i,r.statusFv);if(m!=null){const f=r.status.find(Z=>String(Z.code)===String(m));u.text=(d=f==null?void 0:f.text)!=null?d:"",u.color=(b=f==null?void 0:f.color)!=null?b:""}}}const a=new c(o,"pressBtn");a.setupLifecycle();const l=a.getStyle(),E=e.computed(()=>q.generateTitleStyle(o.conf.options)),N=e.computed(()=>`${(100/l.value.items).toFixed(2)||100}%`),L=e.computed(()=>{const s=l.value.method||"alway";return s==="once"&&g.value||s==="alway"&&!p.value}),V=()=>{p.value||(C.value.modal.visible=!0)},A=()=>{p.value=!0,l.value.method==="once"&&(g.value=!1)},B=s=>{if(L.value)return;if(!v.checkPermission(t.authorized,s.down.command)){S.ElMessage.error("您没有控制权限!");return}const{common:i}=o.conf,r=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let d={block_mapping:"pusher",action:"publish_command",object_id:i.useAlias?r[i.object_alias]:i.object_id||o.uid,command:s.down.command.toString(),value:s.down.code.toString()||"",control:t.password,rule:l.value.method};y(d,"down")},T=s=>{if(L.value)return;if(!v.checkPermission(t.authorized,s.upper.command)){S.ElMessage.error("您没有控制权限!");return}const{common:i}=o.conf,r=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let d={block_mapping:"pusher",action:"publish_command",object_id:i.useAlias?r[i.object_alias]:i.object_id||o.uid,command:s.upper.command.toString(),value:s.upper.code.toString()||"",control:t.password,rule:l.value.method};y(d,"up")},y=(s,i)=>{h.api.platform(r=>{r.code===200&&(S.ElMessage.success(r.msg),g.value=!1,l.value.method==="alway"&&i==="up"&&(p.value=!1))},s)};return(s,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(l).bgColor,borderRadius:`${e.unref(l).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(E.value)},[e.createElementVNode("div",G,[e.createTextVNode(e.toDisplayString(n.conf.caption||n.conf.name)+" ",1),e.createElementVNode("div",J,[e.unref(l).method!=="never"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["verify-btn",{disabled:p.value}]),onClick:V},"验证密码",2)):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:"status-btn",style:e.normalizeStyle({backgroundColor:u.color,color:e.unref(l).textColor})},e.toDisplayString(u.text),5)):e.createCommentVNode("",!0)])])],4),e.createElementVNode("div",K,[e.createElementVNode("div",Y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.conf.data,(r,m)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:m,style:e.normalizeStyle({width:N.value,height:`${e.unref(l).itemHeight}px`,fontSize:`${e.unref(l).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:L.value}]),style:e.normalizeStyle({backgroundColor:r.color,color:e.unref(l).textColor}),onMousedown:d=>B(r),onMouseup:d=>T(r)},e.toDisplayString(r.name),47,Q)],4))),128))])]),e.renderSlot(s.$slots,"default",{},void 0,!0)],4),e.createVNode(v._sfc_main,{ref_key:"controlRef",ref:C,onSubmit:A,password:t.password},null,8,["password"])],64))}})),s2=h._export_sfc(i2,[["__scopeId","data-v-4a5f2b28"]]);exports.default=s2;
1
+ "use strict";var F=Object.defineProperty,I=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols,P=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,H=Reflect.get;var M=(n,o,t)=>o in n?F(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,k=(n,o)=>{for(var t in o||(o={}))D.call(o,t)&&M(n,t,o[t]);if(_)for(var t of _(o))R.call(o,t)&&M(n,t,o[t]);return n},O=(n,o)=>I(n,j(o));var w=(n,o,t)=>H(P(n),t,o);var x=(n,o,t)=>new Promise((u,C)=>{var g=a=>{try{c(t.next(a))}catch(l){C(l)}},p=a=>{try{c(t.throw(a))}catch(l){C(l)}},c=a=>a.done?u(a.value):Promise.resolve(a.value).then(g,p);c((t=t.apply(n,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const $=require("./BaseComponent-bzb58Hhs.cjs"),h=require("./index-6QhTSPkL.cjs"),q=require("./titleStyle-NSnz6cUg.cjs"),v=require("./mix-control-modal-DGd2S6Jd.cjs"),S=require("element-plus"),U="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",W="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",G={class:"font-semibold flex items-center justify-between"},J={class:"flex items-center"},K={class:"mix-body"},Y={class:"w-full flex flex-wrap content-start"},Q=["onMousedown","onMouseup"],X={DEFAULT_ICON:U,ACTIVE_ICON:W,NAME_CN:"双控",NAME_EN:"Dual Control",ORDER:3,PLATFORM:["pc","screen","mobile"]},e2={bgColor:"#fff",titleColor:"#111",textColor:"#fff",titleSize:14,textSize:14,itemHeight:42,radiusSize:8,items:2,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4,method:{value:"alway",type:"select",label:"component.switch.method",options:h.CONTROL_OPTIONS}},z=[{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}],t2=["name","color","upper","down"],o2={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},n2=["mosaic"],l2={DEFAULT:X,OPTIONS:e2,DATA:z,PARAMS:t2,SOURCE:n2,COMMON:o2},i2=e.defineComponent(O(k({},l2),{__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:""}},setup(n){const o=n,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),u=e.reactive({text:"",color:""}),C=e.ref(null),g=e.ref(!0),p=e.ref(!1);class c extends $.BaseComponent{extractStyles(){const{options:i}=this.props.conf;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#fff"),titleSize:this.getOptionValue("titleSize",16),textSize:this.getOptionValue("textSize",14),itemHeight:this.getOptionValue("itemHeight",42),radiusSize:this.getOptionValue("radiusSize",8),items:this.getOptionValue("items",2),method:this.getOptionValue("method","alway"),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){w(c.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:z})}onPreview(){return x(this,null,function*(){yield w(c.prototype,this,"onPreview").call(this);const i=yield v.getAuthorized(this.props);t.authorized=i.authorized,t.password=i.password})}setSocketData(i){var d,b;if(!i)return;const{common:r}=this.props.conf,m=this.extractDataValue(i,r.statusFv);if(m!=null){const f=r.status.find(Z=>String(Z.code)===String(m));u.text=(d=f==null?void 0:f.text)!=null?d:"",u.color=(b=f==null?void 0:f.color)!=null?b:""}}}const a=new c(o,"pressBtn");a.setupLifecycle();const l=a.getStyle(),E=e.computed(()=>q.generateTitleStyle(o.conf.options)),N=e.computed(()=>`${(100/l.value.items).toFixed(2)||100}%`),L=e.computed(()=>{const s=l.value.method||"alway";return s==="once"&&g.value||s==="alway"&&!p.value}),V=()=>{p.value||(C.value.modal.visible=!0)},A=()=>{p.value=!0,l.value.method==="once"&&(g.value=!1)},B=s=>{if(L.value)return;if(!v.checkPermission(t.authorized,s.down.command)){S.ElMessage.error("您没有控制权限!");return}const{common:i}=o.conf,r=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let d={block_mapping:"pusher",action:"publish_command",object_id:i.useAlias?r[i.object_alias]:i.object_id||o.uid,command:s.down.command.toString(),value:s.down.code.toString()||"",control:t.password,rule:l.value.method};y(d,"down")},T=s=>{if(L.value)return;if(!v.checkPermission(t.authorized,s.upper.command)){S.ElMessage.error("您没有控制权限!");return}const{common:i}=o.conf,r=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let d={block_mapping:"pusher",action:"publish_command",object_id:i.useAlias?r[i.object_alias]:i.object_id||o.uid,command:s.upper.command.toString(),value:s.upper.code.toString()||"",control:t.password,rule:l.value.method};y(d,"up")},y=(s,i)=>{h.api.platform(r=>{r.code===200&&(S.ElMessage.success(r.msg),g.value=!1,l.value.method==="alway"&&i==="up"&&(p.value=!1))},s)};return(s,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(l).bgColor,borderRadius:`${e.unref(l).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(E.value)},[e.createElementVNode("div",G,[e.createTextVNode(e.toDisplayString(n.conf.caption||n.conf.name)+" ",1),e.createElementVNode("div",J,[e.unref(l).method!=="never"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["verify-btn",{disabled:p.value}]),onClick:V},"验证密码",2)):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:"status-btn",style:e.normalizeStyle({backgroundColor:u.color,color:e.unref(l).textColor})},e.toDisplayString(u.text),5)):e.createCommentVNode("",!0)])])],4),e.createElementVNode("div",K,[e.createElementVNode("div",Y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.conf.data,(r,m)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:m,style:e.normalizeStyle({width:N.value,height:`${e.unref(l).itemHeight}px`,fontSize:`${e.unref(l).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:L.value}]),style:e.normalizeStyle({backgroundColor:r.color,color:e.unref(l).textColor}),onMousedown:d=>B(r),onMouseup:d=>T(r)},e.toDisplayString(r.name),47,Q)],4))),128))])]),e.renderSlot(s.$slots,"default",{},void 0,!0)],4),e.createVNode(v._sfc_main,{ref_key:"controlRef",ref:C,onSubmit:A,password:t.password},null,8,["password"])],64))}})),s2=h._export_sfc(i2,[["__scopeId","data-v-4a5f2b28"]]);exports.default=s2;
@@ -12,8 +12,8 @@ var V = (c, o, a) => o in c ? H(c, o, { enumerable: !0, configurable: !0, writab
12
12
  }, D = (c, o) => U(c, I(o));
13
13
  import { defineComponent as Y, computed as C, ref as G, watch as W, openBlock as d, createElementBlock as v, normalizeStyle as m, unref as n, createElementVNode as i, toDisplayString as u, withDirectives as q, Fragment as E, renderList as A, vModelSelect as J, createCommentVNode as h, renderSlot as K } from "vue";
14
14
  import { u as Q } from "./safeI18n-CXZgGKWp.js";
15
- import { B as X } from "./BaseComponent-CQaDWNO0.js";
16
- import { _ as Z } from "./index-BZpYmpDy.js";
15
+ import { B as X } from "./BaseComponent-Dwhb9Mde.js";
16
+ import { _ as Z } from "./index-YNdVib_6.js";
17
17
  import { g as tt } from "./titleStyle-BT5GlpAb.js";
18
18
  import { A as et, D as lt } from "./ele-evn-icon-MWzAujnD.js";
19
19
  const ot = { class: "title-text" }, nt = { class: "title-actions" }, st = ["value"], at = { class: "mix-body" }, it = { class: "pt-thead" }, ct = { class: "pt-th pt-col-stage" }, ut = { class: "pt-th pt-col-duration" }, pt = { class: "pt-th pt-col-status" }, rt = { class: "pt-td pt-col-stage" }, dt = { class: "pt-td pt-col-duration" }, vt = { class: "pt-td pt-col-status" }, _t = {
@@ -1,3 +1,3 @@
1
- "use strict";var B=Object.defineProperty,L=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var C=(i,n,a)=>n in i?B(i,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[n]=a,k=(i,n)=>{for(var a in n||(n={}))z.call(n,a)&&C(i,a,n[a]);if(S)for(var a of S(n))F.call(n,a)&&C(i,a,n[a]);return i},w=(i,n)=>L(i,$(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),A=require("./safeI18n-DR20q_h1.cjs"),j=require("./BaseComponent-BmhMoM4H.cjs"),I=require("./index-77aUdspY.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),E=require("./ele-evn-icon-DUQMS-9T.cjs"),R={class:"title-text"},U={class:"title-actions"},H=["value"],q={class:"mix-body"},P={class:"pt-thead"},Y={class:"pt-th pt-col-stage"},G={class:"pt-th pt-col-duration"},W={class:"pt-th pt-col-status"},J={class:"pt-td pt-col-stage"},K={class:"pt-td pt-col-duration"},Q={class:"pt-td pt-col-status"},X={key:0,class:"pt-empty"},Z={DEFAULT_ICON:E.DEFAULT_ICON,ACTIVE_ICON:E.ACTIVE_ICON,NAME_CN:"流程效率表",NAME_EN:"Process Table",ORDER:12,PLATFORM:["pc","screen"]},ee={bgColor:"#fff",titleColor:"#111",textColor:"#666",radiusSize:8,textSize:13,rowHeight:44,isHideTitle:!1,description:"关注预警发出、任务下达、现场反馈到隐患关闭全过程。",showFilter:!0,defaultLevel:{value:"1",type:"select",label:"component.options.lw_defaultLevel",options:[{label:"component.options.lw_level_1",value:"1"},{label:"component.options.lw_level_2",value:"2"},{label:"component.options.lw_level_3",value:"3"},{label:"component.options.lw_level_4",value:"4"},{label:"component.options.lw_level_all",value:"all"}]},btnText:"数据下载",linkChannel:{value:"landslide",type:"select",label:"component.options.lw_linkChannel",options:[{label:"component.options.lw_linkChannel_landslide",value:"landslide"},{label:"component.options.lw_linkChannel_custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.options.lw_customChannel",showWhen:{linkChannel:"custom"}}},te=[{stage:"预警推送",fv:"",object_id:"",value:1.8,unit:"min",status:"正常",statusType:"normal",level:"1"},{stage:"调度确认",fv:"",object_id:"",value:6.5,unit:"min",status:"可优化",statusType:"warn",level:"1"},{stage:"现场响应",fv:"",object_id:"",value:12.4,unit:"min",status:"波动较大",statusType:"danger",level:"1"},{stage:"隐患关闭",fv:"",object_id:"",value:3.2,unit:"h",status:"持续跟踪",statusType:"info",level:"1"}],le=[{key:"stage",label:"component.options.lw_stage",type:"string"},"fv","object_id",{key:"unit",label:"component.options.lw_unitMinH",type:"string"},{key:"status",label:"component.options.lw_statusText",type:"string"},{key:"statusType",label:"component.options.lw_statusType",type:"select",options:[{label:"component.options.lw_statusType_normal",value:"normal"},{label:"component.options.lw_statusType_warn",value:"warn"},{label:"component.options.lw_statusType_danger",value:"danger"},{label:"component.options.lw_statusType_info",value:"info"}]},{key:"level",label:"component.options.lw_level",type:"select",options:[{label:"component.options.lw_levelShort_1",value:"1"},{label:"component.options.lw_levelShort_2",value:"2"},{label:"component.options.lw_levelShort_3",value:"3"},{label:"component.options.lw_levelShort_4",value:"4"}]}],oe=["mosaic","statistics","calculate"],ne={useAlias:!1,multiObject:!0,source:"statistics"},se={DEFAULT:Z,OPTIONS:ee,DATA:te,PARAMS:le,SOURCE:oe,COMMON:ne},ae=e.defineComponent(w(k({},se),{__name:"processTable",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const n=i,a={normal:{bg:"#e7f7ec",color:"#1f9d4a"},warn:{bg:"#fff5e0",color:"#d97706"},danger:{bg:"#fde8e8",color:"#dc2626"},info:{bg:"#e0ecfd",color:"#2563eb"}};class T extends j.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#666"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",13),rowHeight:this.getOptionValue("rowHeight",44),description:this.getOptionValue("description",""),showFilter:this.getOptionValue("showFilter",!0),defaultLevel:this.getOptionValue("defaultLevel","1"),btnText:this.getOptionValue("btnText",""),linkChannel:this.getOptionValue("linkChannel","landslide"),customChannel:this.getOptionValue("customChannel","")}}getLinkChannel(){const t=this.Style.value;return(t==null?void 0:t.linkChannel)==="custom"?t.customChannel||"":(t==null?void 0:t.linkChannel)||""}setSocketData(t){var r;if(!t)return;(((r=this.props.conf)==null?void 0:r.data)||[]).forEach(m=>{const p=this.extractDataValue(t,m.fv);p!=null&&(m.value=Number(p)||0)})}}const g=new T(n,"processTable");g.setupLifecycle();const{t:c}=A.useSafeI18n(),s=g.getStyle(),b=n.conf,V=e.computed(()=>M.generateTitleStyle(n.conf.options)),x=e.computed(()=>[{label:c("component.options.lw_level_1"),value:"1"},{label:c("component.options.lw_level_2"),value:"2"},{label:c("component.options.lw_level_3"),value:"3"},{label:c("component.options.lw_level_4"),value:"4"},{label:c("component.options.lw_level_all"),value:"all"}]),u=e.ref(s.value.defaultLevel||"1");e.watch(()=>s.value.defaultLevel,l=>{l&&(u.value=l)});const v=e.computed(()=>{var t;const l=((t=n.conf)==null?void 0:t.data)||[];return u.value==="all"?l:l.filter(o=>String(o.level||"1")===String(u.value))});function h(l){const t=l==null?void 0:l.value;if(t==null||t==="")return"--";const o=(l==null?void 0:l.unit)||"",r=typeof t=="number"?Number.isInteger(t)?String(t):t.toFixed(1):String(t);return o?`${r} ${o}`:r}function N(l){const t=a[l]||a.info;return{background:t.bg,color:t.color}}function _(l){const t=String(l!=null?l:"");return/[",\n]/.test(t)?`"${t.replace(/"/g,'""')}"`:t}function O(){const l=new Date,t=o=>String(o).padStart(2,"0");return`${l.getFullYear()}${t(l.getMonth()+1)}${t(l.getDate())}_${t(l.getHours())}${t(l.getMinutes())}${t(l.getSeconds())}`}function D(){if(n.mode!=="preview")return;const l=v.value;if(!l.length)return;const t=["阶段","平均时长","状态"].join(","),o=l.map(f=>[_(f.stage),_(h(f)),_(f.status)].join(",")).join(`
1
+ "use strict";var B=Object.defineProperty,L=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var C=(i,n,a)=>n in i?B(i,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[n]=a,k=(i,n)=>{for(var a in n||(n={}))z.call(n,a)&&C(i,a,n[a]);if(S)for(var a of S(n))F.call(n,a)&&C(i,a,n[a]);return i},w=(i,n)=>L(i,$(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),A=require("./safeI18n-DR20q_h1.cjs"),j=require("./BaseComponent-bzb58Hhs.cjs"),I=require("./index-6QhTSPkL.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),E=require("./ele-evn-icon-DUQMS-9T.cjs"),R={class:"title-text"},U={class:"title-actions"},H=["value"],q={class:"mix-body"},P={class:"pt-thead"},Y={class:"pt-th pt-col-stage"},G={class:"pt-th pt-col-duration"},W={class:"pt-th pt-col-status"},J={class:"pt-td pt-col-stage"},K={class:"pt-td pt-col-duration"},Q={class:"pt-td pt-col-status"},X={key:0,class:"pt-empty"},Z={DEFAULT_ICON:E.DEFAULT_ICON,ACTIVE_ICON:E.ACTIVE_ICON,NAME_CN:"流程效率表",NAME_EN:"Process Table",ORDER:12,PLATFORM:["pc","screen"]},ee={bgColor:"#fff",titleColor:"#111",textColor:"#666",radiusSize:8,textSize:13,rowHeight:44,isHideTitle:!1,description:"关注预警发出、任务下达、现场反馈到隐患关闭全过程。",showFilter:!0,defaultLevel:{value:"1",type:"select",label:"component.options.lw_defaultLevel",options:[{label:"component.options.lw_level_1",value:"1"},{label:"component.options.lw_level_2",value:"2"},{label:"component.options.lw_level_3",value:"3"},{label:"component.options.lw_level_4",value:"4"},{label:"component.options.lw_level_all",value:"all"}]},btnText:"数据下载",linkChannel:{value:"landslide",type:"select",label:"component.options.lw_linkChannel",options:[{label:"component.options.lw_linkChannel_landslide",value:"landslide"},{label:"component.options.lw_linkChannel_custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.options.lw_customChannel",showWhen:{linkChannel:"custom"}}},te=[{stage:"预警推送",fv:"",object_id:"",value:1.8,unit:"min",status:"正常",statusType:"normal",level:"1"},{stage:"调度确认",fv:"",object_id:"",value:6.5,unit:"min",status:"可优化",statusType:"warn",level:"1"},{stage:"现场响应",fv:"",object_id:"",value:12.4,unit:"min",status:"波动较大",statusType:"danger",level:"1"},{stage:"隐患关闭",fv:"",object_id:"",value:3.2,unit:"h",status:"持续跟踪",statusType:"info",level:"1"}],le=[{key:"stage",label:"component.options.lw_stage",type:"string"},"fv","object_id",{key:"unit",label:"component.options.lw_unitMinH",type:"string"},{key:"status",label:"component.options.lw_statusText",type:"string"},{key:"statusType",label:"component.options.lw_statusType",type:"select",options:[{label:"component.options.lw_statusType_normal",value:"normal"},{label:"component.options.lw_statusType_warn",value:"warn"},{label:"component.options.lw_statusType_danger",value:"danger"},{label:"component.options.lw_statusType_info",value:"info"}]},{key:"level",label:"component.options.lw_level",type:"select",options:[{label:"component.options.lw_levelShort_1",value:"1"},{label:"component.options.lw_levelShort_2",value:"2"},{label:"component.options.lw_levelShort_3",value:"3"},{label:"component.options.lw_levelShort_4",value:"4"}]}],oe=["mosaic","statistics","calculate"],ne={useAlias:!1,multiObject:!0,source:"statistics"},se={DEFAULT:Z,OPTIONS:ee,DATA:te,PARAMS:le,SOURCE:oe,COMMON:ne},ae=e.defineComponent(w(k({},se),{__name:"processTable",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const n=i,a={normal:{bg:"#e7f7ec",color:"#1f9d4a"},warn:{bg:"#fff5e0",color:"#d97706"},danger:{bg:"#fde8e8",color:"#dc2626"},info:{bg:"#e0ecfd",color:"#2563eb"}};class T extends j.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#666"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",13),rowHeight:this.getOptionValue("rowHeight",44),description:this.getOptionValue("description",""),showFilter:this.getOptionValue("showFilter",!0),defaultLevel:this.getOptionValue("defaultLevel","1"),btnText:this.getOptionValue("btnText",""),linkChannel:this.getOptionValue("linkChannel","landslide"),customChannel:this.getOptionValue("customChannel","")}}getLinkChannel(){const t=this.Style.value;return(t==null?void 0:t.linkChannel)==="custom"?t.customChannel||"":(t==null?void 0:t.linkChannel)||""}setSocketData(t){var r;if(!t)return;(((r=this.props.conf)==null?void 0:r.data)||[]).forEach(m=>{const p=this.extractDataValue(t,m.fv);p!=null&&(m.value=Number(p)||0)})}}const g=new T(n,"processTable");g.setupLifecycle();const{t:c}=A.useSafeI18n(),s=g.getStyle(),b=n.conf,V=e.computed(()=>M.generateTitleStyle(n.conf.options)),x=e.computed(()=>[{label:c("component.options.lw_level_1"),value:"1"},{label:c("component.options.lw_level_2"),value:"2"},{label:c("component.options.lw_level_3"),value:"3"},{label:c("component.options.lw_level_4"),value:"4"},{label:c("component.options.lw_level_all"),value:"all"}]),u=e.ref(s.value.defaultLevel||"1");e.watch(()=>s.value.defaultLevel,l=>{l&&(u.value=l)});const v=e.computed(()=>{var t;const l=((t=n.conf)==null?void 0:t.data)||[];return u.value==="all"?l:l.filter(o=>String(o.level||"1")===String(u.value))});function h(l){const t=l==null?void 0:l.value;if(t==null||t==="")return"--";const o=(l==null?void 0:l.unit)||"",r=typeof t=="number"?Number.isInteger(t)?String(t):t.toFixed(1):String(t);return o?`${r} ${o}`:r}function N(l){const t=a[l]||a.info;return{background:t.bg,color:t.color}}function _(l){const t=String(l!=null?l:"");return/[",\n]/.test(t)?`"${t.replace(/"/g,'""')}"`:t}function O(){const l=new Date,t=o=>String(o).padStart(2,"0");return`${l.getFullYear()}${t(l.getMonth()+1)}${t(l.getDate())}_${t(l.getHours())}${t(l.getMinutes())}${t(l.getSeconds())}`}function D(){if(n.mode!=="preview")return;const l=v.value;if(!l.length)return;const t=["阶段","平均时长","状态"].join(","),o=l.map(f=>[_(f.stage),_(h(f)),_(f.status)].join(",")).join(`
2
2
  `),r=t+`
3
3
  `+o,m=u.value==="all"?"全部":`${u.value}级`,p=new Blob(["\uFEFF"+r],{type:"text/csv;charset=utf-8;"}),y=URL.createObjectURL(p),d=document.createElement("a");d.href=y,d.download=`流程效率表_${m}_${O()}.csv`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(y)}return(l,t)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(s).bgColor,borderRadius:`${e.unref(s).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(V.value)},[e.createElementVNode("span",R,e.toDisplayString(e.unref(b).caption||e.unref(b).name),1),e.createElementVNode("div",U,[e.unref(s).showFilter?e.withDirectives((e.openBlock(),e.createElementBlock("select",{key:0,"onUpdate:modelValue":t[0]||(t[0]=o=>u.value=o),class:"pt-select"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,o=>(e.openBlock(),e.createElementBlock("option",{key:o.value,value:o.value},e.toDisplayString(o.label),9,H))),128))],512)),[[e.vModelSelect,u.value]]):e.createCommentVNode("",!0),e.unref(s).btnText?(e.openBlock(),e.createElementBlock("button",{key:1,class:"pt-btn",onClick:D},e.toDisplayString(e.unref(s).btnText),1)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",q,[e.unref(s).description?(e.openBlock(),e.createElementBlock("div",{key:0,class:"body-desc",style:e.normalizeStyle({fontSize:`${e.unref(s).textSize}px`,color:e.unref(s).textColor})},e.toDisplayString(e.unref(s).description),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"body-table",style:e.normalizeStyle({fontSize:`${e.unref(s).textSize}px`,color:e.unref(s).textColor})},[e.createElementVNode("div",P,[e.createElementVNode("div",Y,e.toDisplayString(e.unref(c)("component.options.lw_th_stage")),1),e.createElementVNode("div",G,e.toDisplayString(e.unref(c)("component.options.lw_th_duration")),1),e.createElementVNode("div",W,e.toDisplayString(e.unref(c)("component.options.lw_th_status")),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(o,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"pt-tr",style:e.normalizeStyle({minHeight:`${e.unref(s).rowHeight}px`})},[e.createElementVNode("div",J,e.toDisplayString(o.stage||"--"),1),e.createElementVNode("div",K,e.toDisplayString(h(o)),1),e.createElementVNode("div",Q,[e.createElementVNode("span",{class:"pt-tag",style:e.normalizeStyle(N(o.statusType))},e.toDisplayString(o.status||"--"),5)])],4))),128)),v.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",X,e.toDisplayString(e.unref(c)("component.options.lw_noData")),1))],4)]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4))}})),ie=I._export_sfc(ae,[["__scopeId","data-v-231420a4"]]);exports.default=ie;
@@ -1 +1 @@
1
- "use strict";var m=Object.defineProperty,h=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var f=(r,o,l)=>o in r?m(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,g=(r,o)=>{for(var l in o||(o={}))y.call(o,l)&&f(r,l,o[l]);if(p)for(var l of p(o))b.call(o,l)&&f(r,l,o[l]);return r},L=(r,o)=>h(r,v(o));var x=(r,o,l)=>new Promise((c,n)=>{var C=a=>{try{i(l.next(a))}catch(t){n(t)}},d=a=>{try{i(l.throw(a))}catch(t){n(t)}},i=a=>a.done?c(a.value):Promise.resolve(a.value).then(C,d);i((l=l.apply(r,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/progress/style/css");const e=require("vue"),w=require("./BaseComponent-BmhMoM4H.cjs"),M=require("./index-77aUdspY.cjs"),_=require("./titleStyle-NSnz6cUg.cjs"),O="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",T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e条形图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-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",B={class:"mix-body flex flex-col"},k={class:"flex-1"},E={DEFAULT_ICON:O,ACTIVE_ICON:T,NAME_CN:"条形进度",NAME_EN:"Progress Bar",ORDER:2,PLATFORM:["pc","screen","mobile"]},V={titleColor:"#111",textColor:"#111",bgColor:"#fff",barColor:"#ebeef5",radiusSize:8,textSize:14,labelWidth:48,barWidth:16,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},z=[{name:"参数一",fv:"",max:200,color:"#f56c6c",maxType:"value",object_id:""},{name:"参数二",fv:"",max:200,color:"#5cb87a",maxType:"value",object_id:""}],Z=["name","fv","object_id","color","maxType","max"],N=["mosaic"],A={useAlias:!1,multiObject:!1,source:"mosaic"},F={DEFAULT:E,OPTIONS:V,DATA:z,PARAMS:Z,SOURCE:N,COMMON:A},D=e.defineComponent(L(g({},F),{__name:"progressBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){const o=r;class l extends w.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),barColor:this.getOptionValue("barColor","#ebeef5"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),textSize:this.getOptionValue("textSize",14),radiusSize:this.getOptionValue("radiusSize",8),labelWidth:this.getOptionValue("labelWidth",80),barWidth:this.getOptionValue("barWidth",16),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){var i;this.Style.value=this.extractStyles(),this.applyTheme(),(i=this.props.conf.data)!=null&&i.length||(this.props.conf.data=[{name:"参数一",fv:"",max:200,color:"#f56c6c",maxType:"value",object_id:""},{name:"参数二",fv:"",max:200,color:"#5cb87a",maxType:"value",object_id:""}])})}setHistoryData(i){if(!i)return;const{data:a}=this.props.conf;!Array.isArray(a)||!a.length||a.forEach((t,s)=>{var u;t.value=(u=i[s].data[0])!=null?u:0,t.percent=t.value/t.max*100})}setSocketData(i){if(!i)return;const{data:a}=this.props.conf;a.forEach(t=>{t.value=this.extractDataValue(i,t.fv)||0;const s=t.maxType==="value"?t.max:this.extractDataValue(i,t.max)||0;t.percent=s==0?0:Number((t.value/s*100).toFixed(2))})}}const c=new l(o,"progressBar");c.setupLifecycle();const n=c.getStyle(),C=e.computed(()=>_.generateTitleStyle(o.conf.options));return(d,i)=>{const a=S.ElProgress;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(C.value)},e.toDisplayString(r.conf.caption||r.conf.name),5),e.createElementVNode("div",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.conf.data,(t,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:"flex item"},[e.createElementVNode("div",{class:"label",style:e.normalizeStyle({fontSize:e.unref(n).textSize+"px",color:e.unref(n).textColor,width:e.unref(n).labelWidth+"px"})},e.toDisplayString(t.name),5),e.createElementVNode("div",k,[e.createVNode(a,{percentage:t.percent,"text-inside":!0,style:e.normalizeStyle({"--progress-bg-color":e.unref(n).barColor}),color:t.color,"stroke-width":e.unref(n).barWidth},null,8,["percentage","style","color","stroke-width"])]),e.createElementVNode("div",{class:"value",style:e.normalizeStyle({fontSize:e.unref(n).textSize+"px",color:e.unref(n).textColor})},e.toDisplayString(t.value),5)]))),128))]),e.renderSlot(d.$slots,"default",{},void 0,!0)],4)}}})),W=M._export_sfc(D,[["__scopeId","data-v-22bac22c"]]);exports.default=W;
1
+ "use strict";var m=Object.defineProperty,h=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var f=(r,o,l)=>o in r?m(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,g=(r,o)=>{for(var l in o||(o={}))y.call(o,l)&&f(r,l,o[l]);if(p)for(var l of p(o))b.call(o,l)&&f(r,l,o[l]);return r},L=(r,o)=>h(r,v(o));var x=(r,o,l)=>new Promise((c,n)=>{var C=a=>{try{i(l.next(a))}catch(t){n(t)}},d=a=>{try{i(l.throw(a))}catch(t){n(t)}},i=a=>a.done?c(a.value):Promise.resolve(a.value).then(C,d);i((l=l.apply(r,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/progress/style/css");const e=require("vue"),w=require("./BaseComponent-bzb58Hhs.cjs"),M=require("./index-6QhTSPkL.cjs"),_=require("./titleStyle-NSnz6cUg.cjs"),O="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",T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e条形图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-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",B={class:"mix-body flex flex-col"},k={class:"flex-1"},E={DEFAULT_ICON:O,ACTIVE_ICON:T,NAME_CN:"条形进度",NAME_EN:"Progress Bar",ORDER:2,PLATFORM:["pc","screen","mobile"]},V={titleColor:"#111",textColor:"#111",bgColor:"#fff",barColor:"#ebeef5",radiusSize:8,textSize:14,labelWidth:48,barWidth:16,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},z=[{name:"参数一",fv:"",max:200,color:"#f56c6c",maxType:"value",object_id:""},{name:"参数二",fv:"",max:200,color:"#5cb87a",maxType:"value",object_id:""}],Z=["name","fv","object_id","color","maxType","max"],N=["mosaic"],A={useAlias:!1,multiObject:!1,source:"mosaic"},F={DEFAULT:E,OPTIONS:V,DATA:z,PARAMS:Z,SOURCE:N,COMMON:A},D=e.defineComponent(L(g({},F),{__name:"progressBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){const o=r;class l extends w.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),barColor:this.getOptionValue("barColor","#ebeef5"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),textSize:this.getOptionValue("textSize",14),radiusSize:this.getOptionValue("radiusSize",8),labelWidth:this.getOptionValue("labelWidth",80),barWidth:this.getOptionValue("barWidth",16),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){var i;this.Style.value=this.extractStyles(),this.applyTheme(),(i=this.props.conf.data)!=null&&i.length||(this.props.conf.data=[{name:"参数一",fv:"",max:200,color:"#f56c6c",maxType:"value",object_id:""},{name:"参数二",fv:"",max:200,color:"#5cb87a",maxType:"value",object_id:""}])})}setHistoryData(i){if(!i)return;const{data:a}=this.props.conf;!Array.isArray(a)||!a.length||a.forEach((t,s)=>{var u;t.value=(u=i[s].data[0])!=null?u:0,t.percent=t.value/t.max*100})}setSocketData(i){if(!i)return;const{data:a}=this.props.conf;a.forEach(t=>{t.value=this.extractDataValue(i,t.fv)||0;const s=t.maxType==="value"?t.max:this.extractDataValue(i,t.max)||0;t.percent=s==0?0:Number((t.value/s*100).toFixed(2))})}}const c=new l(o,"progressBar");c.setupLifecycle();const n=c.getStyle(),C=e.computed(()=>_.generateTitleStyle(o.conf.options));return(d,i)=>{const a=S.ElProgress;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(C.value)},e.toDisplayString(r.conf.caption||r.conf.name),5),e.createElementVNode("div",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.conf.data,(t,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:"flex item"},[e.createElementVNode("div",{class:"label",style:e.normalizeStyle({fontSize:e.unref(n).textSize+"px",color:e.unref(n).textColor,width:e.unref(n).labelWidth+"px"})},e.toDisplayString(t.name),5),e.createElementVNode("div",k,[e.createVNode(a,{percentage:t.percent,"text-inside":!0,style:e.normalizeStyle({"--progress-bg-color":e.unref(n).barColor}),color:t.color,"stroke-width":e.unref(n).barWidth},null,8,["percentage","style","color","stroke-width"])]),e.createElementVNode("div",{class:"value",style:e.normalizeStyle({fontSize:e.unref(n).textSize+"px",color:e.unref(n).textColor})},e.toDisplayString(t.value),5)]))),128))]),e.renderSlot(d.$slots,"default",{},void 0,!0)],4)}}})),W=M._export_sfc(D,[["__scopeId","data-v-22bac22c"]]);exports.default=W;
@@ -30,8 +30,8 @@ import { ElProgress as T } from "element-plus/es";
30
30
  import "element-plus/es/components/base/style/css";
31
31
  import "element-plus/es/components/progress/style/css";
32
32
  import { defineComponent as B, computed as Z, openBlock as L, createElementBlock as g, normalizeStyle as c, unref as s, createElementVNode as d, toDisplayString as x, Fragment as k, renderList as V, createVNode as z, renderSlot as A } from "vue";
33
- import { B as E } from "./BaseComponent-CQaDWNO0.js";
34
- import { _ as F } from "./index-BZpYmpDy.js";
33
+ import { B as E } from "./BaseComponent-Dwhb9Mde.js";
34
+ import { _ as F } from "./index-YNdVib_6.js";
35
35
  import { g as N } from "./titleStyle-BT5GlpAb.js";
36
36
  const W = "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", D = "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", P = { class: "mix-body flex flex-col" }, j = { class: "flex-1" }, R = {
37
37
  DEFAULT_ICON: W,