mixdashboards 1.1.13 → 1.1.15

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 (365) hide show
  1. package/dist/{AgGridTable-Bi7O66-r.cjs → AgGridTable-B0ARi6iQ.cjs} +39 -39
  2. package/dist/{AgGridTable-BjGMC3qC.js → AgGridTable-CiUB86Yi.js} +34 -35
  3. package/dist/{BaseComponent-B38Blgw3.js → BaseComponent-7Sa7XOg-.js} +3 -3
  4. package/dist/{BaseComponent-9njJjeix.cjs → BaseComponent-BabOc6Kc.cjs} +1 -1
  5. package/dist/{EChartComponentBase-DJScukmS.js → EChartComponentBase-DCKFGbqb.js} +2 -2
  6. package/dist/{EChartComponentBase-BwbycwwW.cjs → EChartComponentBase-DM6aSCAR.cjs} +1 -1
  7. package/dist/{EmergencyPlanPanel-BxzP1xYW.cjs → EmergencyPlanPanel-B95hRGD5.cjs} +1 -1
  8. package/dist/{EmergencyPlanPanel-D3GF-xQQ.js → EmergencyPlanPanel-BJ1w9aHu.js} +1 -1
  9. package/dist/{HistoryPlanDialog-DpaiRZgi.js → HistoryPlanDialog-0jjitoAV.js} +1 -1
  10. package/dist/{HistoryPlanDialog-DQXCUsy4.cjs → HistoryPlanDialog-DjIJTjzR.cjs} +1 -1
  11. package/dist/{MixiotAppDetailPage-BGfF3qrm.js → MixiotAppDetailPage-DcAZ_rZN.js} +1 -1
  12. package/dist/{MixiotAppDetailPage-CL1Sd9HJ.cjs → MixiotAppDetailPage-JpvZKz0u.cjs} +1 -1
  13. package/dist/{MonitoringMap-Wzsw3hVH.cjs → MonitoringMap-BFTZh1EC.cjs} +1 -1
  14. package/dist/{MonitoringMap-DQkO116Z.js → MonitoringMap-D6HBxlBf.js} +2 -2
  15. package/dist/{UniverSheet-Bne7JZyr.cjs → UniverSheet-0biXXXxr.cjs} +1 -1
  16. package/dist/{UniverSheet-Cd2a9LPx.js → UniverSheet-B4uisgP1.js} +2 -2
  17. package/dist/{accelerationChart-BJhVC_l5.cjs → accelerationChart-BDRSdpFi.cjs} +1 -1
  18. package/dist/{accelerationChart-BUsbSkwA.js → accelerationChart-Bw7lk5Ds.js} +19 -19
  19. package/dist/{actionItem-B3B4MFcW.js → actionItem-CvYP-t6r.js} +2 -2
  20. package/dist/{actionItem-DxB7IvtW.cjs → actionItem-DThWcN9C.cjs} +1 -1
  21. package/dist/{alarmLevelChart-DC-q2AgI.js → alarmLevelChart-687B7l09.js} +2 -2
  22. package/dist/{alarmLevelChart-DC_hx4Pn.cjs → alarmLevelChart-tIuQCLIZ.cjs} +1 -1
  23. package/dist/{alertTable-CHfA0TR-.cjs → alertTable-DRMDbKnY.cjs} +1 -1
  24. package/dist/{alertTable-CGRDnNPw.js → alertTable-VF9l7Yae.js} +2 -2
  25. package/dist/{aliasObjectSelectorDemo-DGoLPE4i.cjs → aliasObjectSelectorDemo-CM81kBda.cjs} +1 -1
  26. package/dist/{aliasObjectSelectorDemo-DuGQCEcG.js → aliasObjectSelectorDemo-W1sOe5E-.js} +7 -7
  27. package/dist/{annualRainfallChart-CLxVqN5Z.cjs → annualRainfallChart-CqR6pOpX.cjs} +1 -1
  28. package/dist/{annualRainfallChart-Dr8KKYOG.js → annualRainfallChart-NcsPJb-C.js} +2 -2
  29. package/dist/{aqi-rBhSWA_m.js → aqi-3Gq00rd7.js} +2 -2
  30. package/dist/{aqi-BmYGSf2e.cjs → aqi-CZ_4TrPd.cjs} +1 -1
  31. package/dist/{aqiIndass-DqJBc799.js → aqiIndass-BZ7HrCcK.js} +16 -16
  32. package/dist/{aqiIndass-Cpqau5M0.cjs → aqiIndass-C1bAEiH_.cjs} +1 -1
  33. package/dist/{areaDeformCurve-DpHWg6pf.js → areaDeformCurve-DQ3jFm7O.js} +2 -2
  34. package/dist/{areaDeformCurve-B924KVWX.cjs → areaDeformCurve-DgQjsOl5.cjs} +1 -1
  35. package/dist/{arrayCard-Bzjg3HKN.cjs → arrayCard-BVII-4mg.cjs} +1 -1
  36. package/dist/{arrayCard-C7anoYI-.js → arrayCard-BvkmBFMi.js} +2 -2
  37. package/dist/{audio-DTiS2piX.js → audio-86V-n6Mh.js} +2 -2
  38. package/dist/{audio-aADcgdZP.cjs → audio-DAVcGaCv.cjs} +1 -1
  39. package/dist/{bar-D32xICYZ.js → bar-D0uX_Pwu.js} +2 -2
  40. package/dist/{bar-DqY55XnC.cjs → bar-DdCjm6M9.cjs} +1 -1
  41. package/dist/{basicShapeToolbox-D8q86CzB.js → basicShapeToolbox-cjpSxBSI.js} +12 -12
  42. package/dist/{basicShapeToolbox-BvJjH4fV.cjs → basicShapeToolbox-vlF8ai0y.cjs} +1 -1
  43. package/dist/{bmp-DIFGLoNl.cjs → bmp-DmCehXiK.cjs} +1 -1
  44. package/dist/{bmp-DU3vm7yj.js → bmp-L5PC6_bj.js} +2 -2
  45. package/dist/{box-DTQKGR9g.js → box-BBDYqZhV.js} +16 -16
  46. package/dist/{box-C8pOZXek.cjs → box-DCe5iz-w.cjs} +1 -1
  47. package/dist/{chartConfigPanel-D4vk7zWs.cjs → chartConfigPanel-BDGfFdm5.cjs} +1 -1
  48. package/dist/{chartConfigPanel-Bz82sVyH.js → chartConfigPanel-BG38-Lo9.js} +1 -1
  49. package/dist/{circleBar-B48h_-uK.cjs → circleBar-BBrdfpn6.cjs} +1 -1
  50. package/dist/{circleBar-ClO05bgq.js → circleBar-CnStKTJz.js} +2 -2
  51. package/dist/{clock-D8ZXhy53.js → clock-CfoMLhjJ.js} +2 -2
  52. package/dist/{clock-DB94wQje.cjs → clock-D4FqM5tD.cjs} +1 -1
  53. package/dist/{clt-cxeCTOaA.cjs → clt-DrF15d3K.cjs} +1 -1
  54. package/dist/{clt-BX0SNGZr.js → clt-mVBTHfPs.js} +2 -2
  55. package/dist/{cmc-BvnYrQrR.cjs → cmc-BEKqMpSQ.cjs} +1 -1
  56. package/dist/{cmc-Co13D559.js → cmc-kC4VJ8V0.js} +17 -17
  57. package/dist/{cmp-Dd56EQ09.cjs → cmp-BBKmso3S.cjs} +1 -1
  58. package/dist/{cmp-B4cYCR4p.js → cmp-CEeDDeHU.js} +2 -2
  59. package/dist/{conclusionCard-Bla25-qd.js → conclusionCard-Drlv8OIb.js} +2 -2
  60. package/dist/{conclusionCard-Cd3DoD1l.cjs → conclusionCard-glbRT95d.cjs} +1 -1
  61. package/dist/{controlList-Dx4wSpA7.js → controlList-2sHPYEnd.js} +3 -3
  62. package/dist/{controlList-CyT_LYgr.cjs → controlList-V6TbbBW2.cjs} +1 -1
  63. package/dist/{controlRecordList-DsxYHRrs.cjs → controlRecordList-CqMshyV4.cjs} +1 -1
  64. package/dist/{controlRecordList-BAI_15ZN.js → controlRecordList-kZuqwCCC.js} +3 -3
  65. package/dist/{controlRecordListAPP-Zfiwcrmq.cjs → controlRecordListAPP-BevyiiWD.cjs} +1 -1
  66. package/dist/{controlRecordListAPP-BQlABx3f.js → controlRecordListAPP-rsphOVsE.js} +2 -2
  67. package/dist/{crd-IsqkYOAy.js → crd-1Q8p4BGc.js} +56 -57
  68. package/dist/crd-z0xGDAjD.cjs +1 -0
  69. package/dist/{ctrBtn-LwuY-nVR.js → ctrBtn-CDT6KYFl.js} +12 -12
  70. package/dist/{ctrBtn-C3OqkyNS.cjs → ctrBtn-DNMQrtKl.cjs} +1 -1
  71. package/dist/{ctrSet-B0nYCdwh.cjs → ctrSet-B8m_Qs1d.cjs} +1 -1
  72. package/dist/{ctrSet-Qb5XEdD4.js → ctrSet-DF2TcM9X.js} +13 -13
  73. package/dist/{ctrSwitch-B3jo3Gx0.js → ctrSwitch-_QtKcaSt.js} +3 -3
  74. package/dist/{ctrSwitch-Bps4Ak15.cjs → ctrSwitch-eUtgP6uT.cjs} +1 -1
  75. package/dist/{dataManagement-BFxVtU33.cjs → dataManagement-D1uUQ_Ex.cjs} +1 -1
  76. package/dist/{dataManagement-CVHalRKp.js → dataManagement-xM0ruay1.js} +2 -2
  77. package/dist/{dataReport-Bk79cBkV.cjs → dataReport-DbQ_m74F.cjs} +1 -1
  78. package/dist/{dataReport-B2AiDMdM.js → dataReport-XrPAwXcb.js} +2 -2
  79. package/dist/{dataTable-D9sSJRQn.js → dataTable-BIy_sh-b.js} +1 -1
  80. package/dist/{dataTable-Dh7s14jM.cjs → dataTable-G_Elyj_e.cjs} +1 -1
  81. package/dist/{datetime-C25d1bAc.cjs → datetime-CLJrKpiX.cjs} +1 -1
  82. package/dist/{datetime-CEKzNAlD.js → datetime-Dyw8-i5g.js} +2 -2
  83. package/dist/{deepClusterSlipSurface-DODVh-Qw.js → deepClusterSlipSurface-CcoFFz6r.js} +26 -26
  84. package/dist/{deepClusterSlipSurface-BLZL2xX6.cjs → deepClusterSlipSurface-Cthw-rk5.cjs} +1 -1
  85. package/dist/{deepDataMatrix-D_NPV2sQ.cjs → deepDataMatrix-C8yzdPMG.cjs} +1 -1
  86. package/dist/{deepDataMatrix-9iClruS0.js → deepDataMatrix-Dy-9hAeO.js} +16 -16
  87. package/dist/{deepDisplacement3D-C6puNK1m.cjs → deepDisplacement3D-B3jtZ9_l.cjs} +1 -1
  88. package/dist/{deepDisplacement3D-C5YMqHiD.js → deepDisplacement3D-BqAQle8x.js} +2 -2
  89. package/dist/{deepDisplacementChart-DhQO428W.cjs → deepDisplacementChart-BT5FC0DX.cjs} +1 -1
  90. package/dist/{deepDisplacementChart-9sQF6tFO.js → deepDisplacementChart-BdEWrVgi.js} +20 -20
  91. package/dist/{deepDisplacementChart-DEn2yqGO.js → deepDisplacementChart-C1jrx9vY.js} +25 -25
  92. package/dist/{deepDisplacementChart-D-dqPlzq.cjs → deepDisplacementChart-DL5yJXj2.cjs} +1 -1
  93. package/dist/{deepDisplacementView-tzX-vzxO.cjs → deepDisplacementView-B722va1V.cjs} +1 -1
  94. package/dist/{deepDisplacementView-Cux6lFtG.js → deepDisplacementView-DLOv9gJ6.js} +1 -1
  95. package/dist/{deepNodeTemperatureChart--GH8-4O7.js → deepNodeTemperatureChart-D5ZY6ywC.js} +27 -27
  96. package/dist/{deepNodeTemperatureChart-Cyfnw2BR.cjs → deepNodeTemperatureChart-Dj3Xm6SY.cjs} +1 -1
  97. package/dist/{deepTangentAngleChart-DPMDFXiA.cjs → deepTangentAngleChart-9HyIvRNJ.cjs} +1 -1
  98. package/dist/{deepTangentAngleChart-Dae_3j30.js → deepTangentAngleChart-DVDa5Zxc.js} +26 -26
  99. package/dist/{deepTemperatureField-Cr2e_Ytp.js → deepTemperatureField-BO4TyQ_g.js} +3 -3
  100. package/dist/{deepTemperatureField-B3Eu4zqv.cjs → deepTemperatureField-cbehgtiQ.cjs} +1 -1
  101. package/dist/{deepTrendChart-8fniZ16K.js → deepTrendChart-BRdRCV_a.js} +14 -14
  102. package/dist/{deepTrendChart-BPYqojQ2.cjs → deepTrendChart-D9yoOBuy.cjs} +1 -1
  103. package/dist/{deviceOnlineStatus-mJ0KVMo4.cjs → deviceOnlineStatus-43VQlj7e.cjs} +1 -1
  104. package/dist/{deviceOnlineStatus-DP7-u5lC.js → deviceOnlineStatus-BAas3BvQ.js} +2 -2
  105. package/dist/{deviceStatus-Ih0jQNYO.js → deviceStatus-2Jyg0ILJ.js} +10 -10
  106. package/dist/{deviceStatus-B0AxN-cY.cjs → deviceStatus-CcrMdiqm.cjs} +1 -1
  107. package/dist/{displacementDataTable-BbZjdMtX.js → displacementDataTable-Cuy2--YT.js} +12 -12
  108. package/dist/{displacementDataTable-Dkka_jGJ.cjs → displacementDataTable-VumJPDi3.cjs} +1 -1
  109. package/dist/{displacementTrajectoryChart-DDwm-jr2.cjs → displacementTrajectoryChart-knwhmSBU.cjs} +1 -1
  110. package/dist/{displacementTrajectoryChart-BZDSkYoZ.js → displacementTrajectoryChart-qLo3xtpZ.js} +23 -23
  111. package/dist/{displacementTrendChart-DZZaVi86.js → displacementTrendChart-D2Ronskq.js} +34 -34
  112. package/dist/{displacementTrendChart-CUeVa58Q.cjs → displacementTrendChart-DbAH_mjd.cjs} +1 -1
  113. package/dist/{dxf-BOfmTSO8.cjs → dxf-BAH7igHZ.cjs} +1 -1
  114. package/dist/{dxf-DYC74yWV.js → dxf-BSXyBPzC.js} +2 -2
  115. package/dist/{dzc-DUFiz7a_.cjs → dzc-D105FzEq.cjs} +1 -1
  116. package/dist/{dzc-BU7yYW4I.js → dzc-DvtA7L0o.js} +2 -2
  117. package/dist/{emergencyPlan-DDb6j7YU.cjs → emergencyPlan-CAs6Mk1Y.cjs} +1 -1
  118. package/dist/{emergencyPlan-DabL46QK.js → emergencyPlan-CFmxsb7R.js} +3 -3
  119. package/dist/{evn-DrreVqnm.cjs → evn-D-e0vp61.cjs} +1 -1
  120. package/dist/{evn-DhdColcF.js → evn-DtTKI8zs.js} +2 -2
  121. package/dist/{evolutionChart-QuGAgjXo.cjs → evolutionChart-6EMuwRiR.cjs} +1 -1
  122. package/dist/{evolutionChart-aedDj0mQ.js → evolutionChart-uRWhCC8C.js} +3 -3
  123. package/dist/{fileViewer-CvNnUxUK.cjs → fileViewer-CPG-66F1.cjs} +1 -1
  124. package/dist/{fileViewer-oBpWIjGb.js → fileViewer-Cxo-Sbha.js} +2 -2
  125. package/dist/{filterBar-CwHODFoy.cjs → filterBar-CI0jzG-8.cjs} +1 -1
  126. package/dist/{filterBar-DYpEssxC.js → filterBar-DchvCgB0.js} +2 -2
  127. package/dist/{fireCombustionCurve-wbKsWk4E.js → fireCombustionCurve-fvldUBQh.js} +3 -3
  128. package/dist/{fireCombustionCurve-lu2qH6_b.cjs → fireCombustionCurve-qOiCa6aW.cjs} +1 -1
  129. package/dist/{fireFilterBar-B8su74tt.cjs → fireFilterBar-B8J3V0n-.cjs} +1 -1
  130. package/dist/{fireFilterBar-9_fqGo2q.js → fireFilterBar-D7mx1XUg.js} +2 -2
  131. package/dist/{fireHistoryTable-C1C95uYN.js → fireHistoryTable-CP0kgqS6.js} +2 -2
  132. package/dist/{fireHistoryTable-pOJz1_Rp.cjs → fireHistoryTable-r_xPEo29.cjs} +1 -1
  133. package/dist/{gag-LSkHPD7f.cjs → gag-BhUKp8vX.cjs} +1 -1
  134. package/dist/{gag-BGUeQKJJ.js → gag-n3ajZOT8.js} +2 -2
  135. package/dist/{gasStationList-4TtBLsqC.js → gasStationList-CRZGXdZ-.js} +3 -3
  136. package/dist/{gasStationList-DJTrXjkv.cjs → gasStationList-DX9Q2lFd.cjs} +1 -1
  137. package/dist/{geo3dViewer-CK89hYK7.cjs → geo3dViewer-CfPFjRsL.cjs} +1 -1
  138. package/dist/{geo3dViewer-DIjv75YP.js → geo3dViewer-DFD75mZU.js} +3 -3
  139. package/dist/{glbModel-BDgY9S4f.cjs → glbModel-BrwlvZq6.cjs} +1 -1
  140. package/dist/{glbModel-IOIVpCjq.js → glbModel-x4OZxfPi.js} +2 -2
  141. package/dist/{globalObjectSelector-B2dkzNyk.js → globalObjectSelector-Bx2SbcG0.js} +1 -1
  142. package/dist/{globalObjectSelector-N7s0yyOp.cjs → globalObjectSelector-PiWbhkZ4.cjs} +1 -1
  143. package/dist/{gnssFilterBar-BF_tbN4_.js → gnssFilterBar-8ie4Hrtf.js} +2 -2
  144. package/dist/{gnssFilterBar-8eSkGWMH.cjs → gnssFilterBar-BY7YScHH.cjs} +1 -1
  145. package/dist/{gnssHistoryTable-DUjRjXoS.js → gnssHistoryTable-DH3MNQRj.js} +2 -2
  146. package/dist/{gnssHistoryTable-X_cgOa6r.cjs → gnssHistoryTable-lvtSQu6T.cjs} +1 -1
  147. package/dist/{gnssMapView-DnF2bYAD.cjs → gnssMapView-BalPUoGu.cjs} +2 -2
  148. package/dist/{gnssMapView-BnwPDey9.js → gnssMapView-eqR9-FLA.js} +4 -4
  149. package/dist/{gnssSectionProfile-D0sbRu3A.js → gnssSectionProfile-C2v9LYEI.js} +2 -2
  150. package/dist/{gnssSectionProfile-DoEXHKTy.cjs → gnssSectionProfile-fXM6wumD.cjs} +1 -1
  151. package/dist/{gnssTimeSeriesChart-Csm6PwRv.cjs → gnssTimeSeriesChart-DK08VGh2.cjs} +1 -1
  152. package/dist/{gnssTimeSeriesChart-glTixABx.js → gnssTimeSeriesChart-DO4m_7q7.js} +2 -2
  153. package/dist/{gnssXYTrajectory-4c8JDd_b.cjs → gnssXYTrajectory-CDgAcydt.cjs} +1 -1
  154. package/dist/{gnssXYTrajectory-BMCO0sb0.js → gnssXYTrajectory-Jdb53wOw.js} +2 -2
  155. package/dist/{grd-D1enzYOI.cjs → grd-BcVJB4b5.cjs} +1 -1
  156. package/dist/{grd-BTGTCp0z.js → grd-Bf5VZY3M.js} +19 -19
  157. package/dist/{grdIndass-B6fwa_k8.cjs → grdIndass-CTaKBOun.cjs} +1 -1
  158. package/dist/{grdIndass-Dn62HL6y.js → grdIndass-DrBidpYt.js} +2 -2
  159. package/dist/{grg-DMOF8h8j.js → grg-57h3YudF.js} +5 -5
  160. package/dist/{grg-B5128EcW.cjs → grg-DR1f44AO.cjs} +1 -1
  161. package/dist/{gridview-Dewc5Eax.js → gridview-BEiHeWnU.js} +2 -2
  162. package/dist/{gridview-Ddin99YO.cjs → gridview-DUOWjiqv.cjs} +1 -1
  163. package/dist/{groundwaterFilterBar-mukvYHDm.js → groundwaterFilterBar-Djh4tnLM.js} +2 -2
  164. package/dist/{groundwaterFilterBar-2uj_Hf_Q.cjs → groundwaterFilterBar-WfAm45Iv.cjs} +1 -1
  165. package/dist/{groundwaterProfileChart-DDVsfzyr.cjs → groundwaterProfileChart-B9NrkncY.cjs} +2 -2
  166. package/dist/{groundwaterProfileChart-BPTP8WBi.js → groundwaterProfileChart-Dvme4PHf.js} +3 -3
  167. package/dist/{groundwaterTimeCurve-jtQFr0hU.js → groundwaterTimeCurve-DLhsSDRO.js} +3 -3
  168. package/dist/{groundwaterTimeCurve-Zzn-sEsW.cjs → groundwaterTimeCurve-pLt2KuEY.cjs} +1 -1
  169. package/dist/{groupCard-DWjFdiH0.cjs → groupCard-DK5_osdM.cjs} +1 -1
  170. package/dist/{groupCard-B3fp05QD.js → groupCard-QV7NnbBa.js} +2 -2
  171. package/dist/{headerBar-BkpSQMNy.js → headerBar-CBTHBko2.js} +2 -2
  172. package/dist/{headerBar-B6lX3WST.cjs → headerBar-DcMgFL7n.cjs} +1 -1
  173. package/dist/{history-DqPjJP_E.cjs → history-BKLujk4W.cjs} +1 -1
  174. package/dist/{history-DgSlSTUD.js → history-BvM7EXsN.js} +11 -11
  175. package/dist/{index-Bo49zvKb.cjs → index-Cm7hGuPj.cjs} +13 -13
  176. package/dist/{index-BbXEpgom.js → index-DUL649KZ.js} +3422 -3379
  177. package/dist/{insarDeformChart-8UyVWXTx.cjs → insarDeformChart-D13o5hNr.cjs} +1 -1
  178. package/dist/{insarDeformChart-DNBHbVuk.js → insarDeformChart-DPq39rTv.js} +2 -2
  179. package/dist/{insarImageViewer-BeykgIJy.js → insarImageViewer-BLYbI4bm.js} +2 -2
  180. package/dist/{insarImageViewer-B8PhDcuG.cjs → insarImageViewer-BoqwF7sg.cjs} +1 -1
  181. package/dist/{kds-CS473Sia.js → kds-B2xqXmO8.js} +2 -2
  182. package/dist/{kds-BJwYrjV_.cjs → kds-B8Jdw9vL.cjs} +1 -1
  183. package/dist/{kpiCard-OMuCQe7O.cjs → kpiCard-BGsf7G30.cjs} +1 -1
  184. package/dist/{kpiCard-CNgj9P9s.js → kpiCard-DRR1gTcG.js} +2 -2
  185. package/dist/{landslideMap-NaGM5jJE.cjs → landslideMap-CD2LDzJA.cjs} +1 -1
  186. package/dist/{landslideMap-DMNcfDYF.js → landslideMap-DDlN9f2H.js} +9 -9
  187. package/dist/{landslideWarning-V1wB3aWq.cjs → landslideWarning-27SNVapD.cjs} +1 -1
  188. package/dist/{landslideWarning-DU-dDiiS.js → landslideWarning-r1zdMCih.js} +26 -26
  189. package/dist/{layerTabs-VfYlv6Ks.cjs → layerTabs-B86d5HH7.cjs} +1 -1
  190. package/dist/{layerTabs-Bgi7pfof.js → layerTabs-BjHiCU_F.js} +2 -2
  191. package/dist/{leaflet-src-4AJHN6it.js → leaflet-src-CAGnqnjZ.js} +1 -1
  192. package/dist/{leaflet-src-WG2ob5HA.cjs → leaflet-src-DYGpvxW6.cjs} +1 -1
  193. package/dist/{lerc-CEea2nO1.cjs → lerc-5z3DZffX.cjs} +1 -1
  194. package/dist/{lerc-BDiJ3I_S.js → lerc-Dh5beGkQ.js} +2 -2
  195. package/dist/{lin-BO1pGlXr.js → lin-DDWiOEA0.js} +6 -6
  196. package/dist/{lin-B_rN6QBj.cjs → lin-r6oOjphh.cjs} +1 -1
  197. package/dist/{linIndass-BGpoCQ4j.js → linIndass-CWcaOARi.js} +10 -10
  198. package/dist/{linIndass-B7XnW5XO.cjs → linIndass-CYCVyf-Z.cjs} +1 -1
  199. package/dist/{lst-BBl9nn63.js → lst-BKViAE6J.js} +2 -2
  200. package/dist/{lst-BeB_Gi9l.cjs → lst-Jc5oufSH.cjs} +1 -1
  201. package/dist/{manualEntry-C3qifAlP.js → manualEntry-CR0vY9l1.js} +2 -2
  202. package/dist/{manualEntry-BQVUqtm7.cjs → manualEntry-DpKGLaSi.cjs} +1 -1
  203. package/dist/{mapBackground-CDS60ZJC.js → mapBackground-BmlSVAtG.js} +3 -3
  204. package/dist/{mapBackground-D3-V7S-d.cjs → mapBackground-Cx8KweQ8.cjs} +1 -1
  205. package/dist/{mappingList-DnoAuivo.cjs → mappingList-BZz7GqJ4.cjs} +1 -1
  206. package/dist/{mappingList-B0jG2LlO.js → mappingList-C92OnAaA.js} +3 -3
  207. package/dist/{markdownViewer-BlXaqjhL.js → markdownViewer-ICTPV_72.js} +2 -2
  208. package/dist/{markdownViewer-BMkbW1Cl.cjs → markdownViewer-O5ng8kl7.cjs} +1 -1
  209. package/dist/materialFileUrl-C_Aqly-o.cjs +1 -0
  210. package/dist/{materialFileUrl-hKqW_JAq.js → materialFileUrl-CfFfqtB7.js} +5 -4
  211. package/dist/{mix-control-modal-BEXucxt5.js → mix-control-modal-CGLYKUCc.js} +5 -5
  212. package/dist/{mix-control-modal-aUWGjwZP.cjs → mix-control-modal-oxp6LmrP.cjs} +1 -1
  213. package/dist/{mixGrid-B5pKpGT3.cjs → mixGrid-DO73I4-D.cjs} +1 -1
  214. package/dist/{mixGrid-DQf7U1_8.js → mixGrid-DnxCOTqm.js} +2 -2
  215. package/dist/mixdashboards.cjs +1 -1
  216. package/dist/mixdashboards.css +1 -1
  217. package/dist/mixdashboards.js +1 -1
  218. package/dist/{mjpegCamera-CJgiIk0q.cjs → mjpegCamera-DSMbdhJe.cjs} +1 -1
  219. package/dist/{mjpegCamera-C6pxWuEr.js → mjpegCamera-Dj5Lyrml.js} +2 -2
  220. package/dist/{monitorAlert-BPd1b_Cx.cjs → monitorAlert-C0e3mU_8.cjs} +1 -1
  221. package/dist/{monitorAlert-ZNF5siqY.js → monitorAlert-FwFl3Tjd.js} +12 -12
  222. package/dist/{monitorData-DIxZYNVr.js → monitorData-CnFHs2-k.js} +10 -10
  223. package/dist/{monitorData-slk6ogNe.cjs → monitorData-ICqlDSYT.cjs} +1 -1
  224. package/dist/{monitorSpeedChart-BRwbLD8B.cjs → monitorSpeedChart-B_02qTZy.cjs} +1 -1
  225. package/dist/{monitorSpeedChart-DCO39Aka.js → monitorSpeedChart-XCq3duqZ.js} +1 -1
  226. package/dist/{mxa-Bp4RH0w3.cjs → mxa-B9Ioifrx.cjs} +1 -1
  227. package/dist/{mxa-DFq19ply.js → mxa-DkvNrmvM.js} +2 -2
  228. package/dist/{myValue-g8shJQA9.cjs → myValue-CJZpYcAp.cjs} +1 -1
  229. package/dist/{myValue-BvItzUMv.js → myValue-aYi3bo7x.js} +2 -2
  230. package/dist/{myValueList-A_UGyNxN.js → myValueList-BIZ2JfrI.js} +2 -2
  231. package/dist/{myValueList-DnZBoJXp.cjs → myValueList-CFnHg4pl.cjs} +1 -1
  232. package/dist/objectList-B_BnqBg1.js +1842 -0
  233. package/dist/objectList-BgyTh2e7.cjs +1 -0
  234. package/dist/{objectListAPP-DxRImk8W.cjs → objectListAPP-B7Yk07oG.cjs} +1 -1
  235. package/dist/{objectListAPP-CdewSo8l.js → objectListAPP-Bq1S1FGu.js} +3 -3
  236. package/dist/{percentBar-Cq5ACj9c.cjs → percentBar-DmrRQirp.cjs} +1 -1
  237. package/dist/{percentBar-BvmYW_u6.js → percentBar-L0Ur3boP.js} +2 -2
  238. package/dist/{photo-t11P9WKh.js → photo-9c2Vrzor.js} +3 -3
  239. package/dist/{photo-B-kxNdb5.cjs → photo-BzVvbKrh.cjs} +1 -1
  240. package/dist/{pie-yTahcSl_.js → pie-BVbkpFWj.js} +2 -2
  241. package/dist/{pie-0s6FwVBt.cjs → pie-CeeMdBgu.cjs} +1 -1
  242. package/dist/{placeholder-DBmyvwFn.cjs → placeholder-C07ZscJc.cjs} +1 -1
  243. package/dist/{placeholder-D_CaQ-hg.js → placeholder-CUYSWWf8.js} +1 -1
  244. package/dist/{pressBtn-CP4kJr-P.js → pressBtn-Ds60I7hM.js} +3 -3
  245. package/dist/{pressBtn-JFezb7Yx.cjs → pressBtn-sqz6yim1.cjs} +1 -1
  246. package/dist/{processTable-BXswsnmt.js → processTable-COz7CKEG.js} +2 -2
  247. package/dist/{processTable-DRdI9ExW.cjs → processTable-CytoNBR2.cjs} +1 -1
  248. package/dist/{progressBar-Sn6tAxTY.cjs → progressBar-BxHPc2DD.cjs} +1 -1
  249. package/dist/{progressBar-D1Xh5APg.js → progressBar-CUnuEFaQ.js} +2 -2
  250. package/dist/{progressCircle-DLk9v_Os.cjs → progressCircle-BUNOFiUO.cjs} +1 -1
  251. package/dist/{progressCircle-BMpJVwIE.js → progressCircle-DWKJHFm-.js} +2 -2
  252. package/dist/{qrcode-BDtn3Ql7.cjs → qrcode-DJrUuI_e.cjs} +1 -1
  253. package/dist/{qrcode-BqlqV7Jf.js → qrcode-elzi9Ev5.js} +2 -2
  254. package/dist/{raceBar-BpvWNCV7.cjs → raceBar-BWYiOHgT.cjs} +2 -2
  255. package/dist/{raceBar-zSL-J18j.js → raceBar-C1Js5fWq.js} +156 -136
  256. package/dist/{rad-DSfVfaMa.cjs → rad-B__LOwb8.cjs} +1 -1
  257. package/dist/{rad-CZhY-L-z.js → rad-Dau_xw7q.js} +2 -2
  258. package/dist/{radarMapViewer-B4tTLLyl.js → radarMapViewer-0jrnj6Nm.js} +2 -2
  259. package/dist/{radarMapViewer-GmzS18dJ.cjs → radarMapViewer-30nLi5D4.cjs} +1 -1
  260. package/dist/{rainfallFilterBar-ijVmoglb.js → rainfallFilterBar-CnNMm1L4.js} +2 -2
  261. package/dist/{rainfallFilterBar-DHaVjXt5.cjs → rainfallFilterBar-io0Xy92q.cjs} +1 -1
  262. package/dist/{rainfallTimeCurve-B3_bl5L6.js → rainfallTimeCurve-CO3kxkO1.js} +3 -3
  263. package/dist/{rainfallTimeCurve-Crz3Adzh.cjs → rainfallTimeCurve-CsQNzhJI.cjs} +1 -1
  264. package/dist/{rangeLin-BOEsEaV1.js → rangeLin-C9p4yw-H.js} +8 -8
  265. package/dist/{rangeLin-DpEbvxsg.cjs → rangeLin-F-eJUSOD.cjs} +1 -1
  266. package/dist/{realtimeEvolutionMap-C2u4a2JL.js → realtimeEvolutionMap-BSHmiJdM.js} +2 -2
  267. package/dist/{realtimeEvolutionMap-BwQJkus6.cjs → realtimeEvolutionMap-DbPSlUVo.cjs} +1 -1
  268. package/dist/{regionBar-P1fqv7Vb.cjs → regionBar-BqpQ17-j.cjs} +1 -1
  269. package/dist/{regionBar-BQr-kq-M.js → regionBar-DcIaWt42.js} +2 -2
  270. package/dist/{request-D9N74QdZ.cjs → request-BNiCZV7_.cjs} +1 -1
  271. package/dist/{request-Bn2gQLgM.js → request-CEUCACCR.js} +5 -5
  272. package/dist/{retainer1-Fnw0-Jvy.js → retainer1-BYe-4QPq.js} +3 -3
  273. package/dist/{retainer1-BCh8WSOq.cjs → retainer1-CtwKT7UP.cjs} +1 -1
  274. package/dist/{retainer2-nPyFv6Hs.js → retainer2-C8M7swsz.js} +3 -3
  275. package/dist/{retainer2-_3NOOefF.cjs → retainer2-CQf-EzAl.cjs} +1 -1
  276. package/dist/{retainerRecordList-C_UsUKsQ.js → retainerRecordList-B-xwovFD.js} +3 -3
  277. package/dist/{retainerRecordList-BaOTTQQN.cjs → retainerRecordList-DyRQQ0N-.cjs} +1 -1
  278. package/dist/{retainerRecordListAPP-BgKyfAMh.js → retainerRecordListAPP-CMNYP6hk.js} +3 -3
  279. package/dist/{retainerRecordListAPP-CE3l6WrB.cjs → retainerRecordListAPP-UPROwhvr.cjs} +1 -1
  280. package/dist/{ringTopN-Dz0EoM-A.js → ringTopN-FlVjUrQT.js} +2 -2
  281. package/dist/{ringTopN-DEv30Ms2.cjs → ringTopN-tPWwyl2Y.cjs} +1 -1
  282. package/dist/{riskRegionTable-BODT2UTF.cjs → riskRegionTable-BbJAvy7W.cjs} +1 -1
  283. package/dist/{riskRegionTable-Dot8zD_6.js → riskRegionTable-BjZoKdPt.js} +2 -2
  284. package/dist/{sankey-CYTyQB-L.cjs → sankey-CbPDXthr.cjs} +1 -1
  285. package/dist/{sankey-CbEUEE5B.js → sankey-Df3nSWC_.js} +7 -7
  286. package/dist/{scd-Btsiastw.js → scd-B9eeXnYU.js} +344 -348
  287. package/dist/scd-Ds6_WZDt.cjs +1 -0
  288. package/dist/{sideMenu-BxJRAAdM.js → sideMenu-BZ8iCENQ.js} +2 -2
  289. package/dist/{sideMenu-dnpq3qTF.cjs → sideMenu-CCohX7e6.cjs} +1 -1
  290. package/dist/{slopeStability-DX7WP5ZW.cjs → slopeStability-CO2BLtaT.cjs} +1 -1
  291. package/dist/{slopeStability-DrooNf1g.js → slopeStability-ChLLwaQA.js} +19 -19
  292. package/dist/{speedCurve-CNUJ5ScK.js → speedCurve-B7vwk0ti.js} +2 -2
  293. package/dist/{speedCurve-BT8wnfZI.cjs → speedCurve-DC8GN7er.cjs} +1 -1
  294. package/dist/{stackedBar-X8Y4lVgT.cjs → stackedBar-Bdt1ii7n.cjs} +1 -1
  295. package/dist/{stackedBar-nIfO6Aa3.js → stackedBar-p5hQcLfe.js} +2 -2
  296. package/dist/{stationList-D7lGCblu.js → stationList-4JLmJjJs.js} +3 -3
  297. package/dist/{stationList-DVzvGGHI.cjs → stationList-BHhnU7rg.cjs} +1 -1
  298. package/dist/{stressFilterBar-D5xktTRI.cjs → stressFilterBar-CDvVQZhK.cjs} +1 -1
  299. package/dist/{stressFilterBar-DqeqFHm7.js → stressFilterBar-D5uGrRbV.js} +2 -2
  300. package/dist/{stressTimeCurve-DfjNQ0rU.js → stressTimeCurve-BmXoUDOP.js} +3 -3
  301. package/dist/{stressTimeCurve-Bhhb-eqB.cjs → stressTimeCurve-Chj7Kmdb.cjs} +1 -1
  302. package/dist/{swiper-DuNuvT_N.js → swiper-CkVk-qls.js} +2 -2
  303. package/dist/{swiper-XCpwFkWS.cjs → swiper-OOktak53.cjs} +1 -1
  304. package/dist/{tablemanCreate-Cp5DaYUd.cjs → tablemanCreate-D6UFJZIo.cjs} +1 -1
  305. package/dist/{tablemanCreate-Cp9nOGg2.js → tablemanCreate-Hi3dHyzp.js} +3 -3
  306. package/dist/{tablemanDetail-DvZdgdHD.js → tablemanDetail-Bpuptxn4.js} +4 -4
  307. package/dist/{tablemanDetail-3ZMWkdpz.cjs → tablemanDetail-CHy58vFi.cjs} +1 -1
  308. package/dist/{tablemanList-DZdb1FUR.js → tablemanList-C16Timv1.js} +4 -4
  309. package/dist/{tablemanList-OLxgUmAi.cjs → tablemanList-C_bH6tMi.cjs} +1 -1
  310. package/dist/{tablemanTableList-CqsnRIHS.js → tablemanTableList-BW1WE2Ph.js} +3 -3
  311. package/dist/{tablemanTableList-BN6QjYEV.cjs → tablemanTableList-Duc6n-hm.cjs} +1 -1
  312. package/dist/{tablemanUpdate-CHs5OgAG.js → tablemanUpdate-Cvrm6nnk.js} +3 -3
  313. package/dist/{tablemanUpdate-E3d7A3WM.cjs → tablemanUpdate-DIpc92Cl.cjs} +1 -1
  314. package/dist/{terminalConfigList-BlgcWy40.cjs → terminalConfigList-C8dkmhQS.cjs} +1 -1
  315. package/dist/{terminalConfigList-BEBNi1Nl.js → terminalConfigList-yGZl93f_.js} +3 -3
  316. package/dist/{terminalList-Bl5BPmF9.cjs → terminalList-CanK2pyt.cjs} +1 -1
  317. package/dist/{terminalList-CJpH2Z-r.js → terminalList-dgawgsuV.js} +3 -3
  318. package/dist/{terminalListAPP-Dgvz8I3j.cjs → terminalListAPP-0iTXcRsu.cjs} +1 -1
  319. package/dist/{terminalListAPP-BpONJQOA.js → terminalListAPP-DNQzjxMX.js} +3 -3
  320. package/dist/{textbox-CJnSDwg7.js → textbox-88HaqHYa.js} +2 -2
  321. package/dist/{textbox-DR0bQEX7.cjs → textbox-CJP0S05E.cjs} +1 -1
  322. package/dist/{timeQueryBar-FJDQv-gp.js → timeQueryBar-B6WFuoFy.js} +1 -1
  323. package/dist/{timeQueryBar-Cmyan_30.cjs → timeQueryBar-B7m2zNqC.cjs} +1 -1
  324. package/dist/{timeSeries-t4uZvXRF.js → timeSeries-CBEMu62t.js} +12 -12
  325. package/dist/{timeSeries-_RLSUPmg.cjs → timeSeries-pv1B8rAD.cjs} +1 -1
  326. package/dist/{timeSeriesCurve-BxWiI6w-.js → timeSeriesCurve-C8I6T04V.js} +3 -3
  327. package/dist/{timeSeriesCurve-BUuLFQ8A.cjs → timeSeriesCurve-DfKXoiJf.cjs} +1 -1
  328. package/dist/{toggleBtn-BcpJcxpU.cjs → toggleBtn-D892Lgcg.cjs} +1 -1
  329. package/dist/{toggleBtn-Cx44qVci.js → toggleBtn-DxOPkmCn.js} +2 -2
  330. package/dist/{trajectoryConfigPanel-BTUv5OVS.cjs → trajectoryConfigPanel-2_KO7Fm_.cjs} +1 -1
  331. package/dist/{trajectoryConfigPanel-dyo30nx9.js → trajectoryConfigPanel-CiHG2Nj3.js} +1 -1
  332. package/dist/{trajectoryScatter-CK4_Z1iU.cjs → trajectoryScatter-ceIqjQdd.cjs} +1 -1
  333. package/dist/{trajectoryScatter-BghFGqxH.js → trajectoryScatter-gYFCMKo8.js} +2 -2
  334. package/dist/{universalConfigPanel-Cvlpgn-j.cjs → universalConfigPanel-BuJ0pSOp.cjs} +1 -1
  335. package/dist/{universalConfigPanel-yJFrQDBa.js → universalConfigPanel-T07C_JVG.js} +1 -1
  336. package/dist/{universalTable-CvBC-L9Z.js → universalTable-C6iYcfCe.js} +2 -2
  337. package/dist/{universalTable-CRJ7Rx0P.cjs → universalTable-DA2F0v4F.cjs} +1 -1
  338. package/dist/useMixiotPanelPopperClass-DDtFtXLr.cjs +1 -0
  339. package/dist/useMixiotPanelPopperClass-DtvQI0g1.js +52 -0
  340. package/dist/{useTablemanApi-fqoMpRxe.cjs → useTablemanApi-BbUulkUz.cjs} +1 -1
  341. package/dist/{useTablemanApi-BAt370b-.js → useTablemanApi-Ch3eQRoG.js} +1 -1
  342. package/dist/{useTablemanFormPanel-Cxo0WsI1.cjs → useTablemanFormPanel-BdBoaHFU.cjs} +1 -1
  343. package/dist/{useTablemanFormPanel-BKbM39_H.js → useTablemanFormPanel-EtmBEDl7.js} +2 -2
  344. package/dist/{useTablemanListActions-DRXW-WTa.cjs → useTablemanListActions-Dlfnpnld.cjs} +1 -1
  345. package/dist/{useTablemanListActions-CYauYy6z.js → useTablemanListActions-gqs6gpza.js} +4 -4
  346. package/dist/{video-C1N8Ikkh.js → video-BVmqEL79.js} +2 -2
  347. package/dist/{video-BN19nKK_.cjs → video-jHJpadOt.cjs} +1 -1
  348. package/dist/{videoMonitor-PKypdwRl.cjs → videoMonitor-BZkwTydy.cjs} +1 -1
  349. package/dist/{videoMonitor-fkEuZ25x.js → videoMonitor-BwdC2_nR.js} +8 -8
  350. package/dist/{vlu-B8tqM9md.js → vlu-BSasXwGB.js} +2 -2
  351. package/dist/{vlu-DrABl6SW.cjs → vlu-DONKeVps.cjs} +1 -1
  352. package/dist/{warningOverview-_rp_SbLs.js → warningOverview-7bSJ0uSZ.js} +3 -3
  353. package/dist/{warningOverview-DaTHPveq.cjs → warningOverview-DVtqkIDv.cjs} +1 -1
  354. package/dist/{weather-B_XCWwDa.cjs → weather--IcwH6Si.cjs} +1 -1
  355. package/dist/{weather-qvsptrt0.js → weather-CVLrwzcA.js} +2 -2
  356. package/dist/{windLin-BDtJUYBu.js → windLin-ByNz1LOX.js} +2 -2
  357. package/dist/{windLin-P84T5W3o.cjs → windLin-C-BHdrGl.cjs} +1 -1
  358. package/package.json +1 -1
  359. package/dist/crd-C6iegy7d.cjs +0 -1
  360. package/dist/materialFileUrl-8YHw7z1T.cjs +0 -1
  361. package/dist/objectList-BcSCvy54.cjs +0 -1
  362. package/dist/objectList-DgVJlA1o.js +0 -1828
  363. package/dist/scd-DwdWl6Wz.cjs +0 -1
  364. package/dist/useMixiotPanelPopperClass-2tTzKUsO.cjs +0 -1
  365. package/dist/useMixiotPanelPopperClass-UGlVKJTK.js +0 -53
@@ -0,0 +1 @@
1
+ "use strict";var L=Object.defineProperty,D=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var O=(p,i,l)=>i in p?L(p,i,{enumerable:!0,configurable:!0,writable:!0,value:l}):p[i]=l,y=(p,i)=>{for(var l in i||(i={}))j.call(i,l)&&O(p,l,i[l]);if(V)for(var l of V(i))R.call(i,l)&&O(p,l,i[l]);return p},I=(p,i)=>D(p,H(i));var _=(p,i,l)=>new Promise((h,g)=>{var c=u=>{try{m(l.next(u))}catch(f){g(f)}},S=u=>{try{m(l.throw(u))}catch(f){g(f)}},m=u=>u.done?h(u.value):Promise.resolve(u.value).then(c,S);m((l=l.apply(p,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),$=require("./BaseComponent-BabOc6Kc.cjs"),N=require("./index-Cm7hGuPj.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),B=require("./ele-crd-icon-BvNgAPKW.cjs"),W={class:"value-main"},U={key:0,class:"value-unit"},G="--",q={DEFAULT_ICON:B.DEFAULT_ICON,ACTIVE_ICON:B.ACTIVE_ICON,NAME_CN:"基础卡片",NAME_EN:"Card",ORDER:1,PLATFORM:["pc","screen","mobile"]},J={titleColor:"#111",titleSize:14,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4,labelColor:"#111",textColor:"#111",bgColor:"#fff",valueSize:28,nameSize:14,radiusSize:8,isHideTitle:!0,showTopGradient:!1,topGradientStart:{value:"#f5a623",type:"color",label:"component.options.topGradientStart",dependent:"showTopGradient"},topGradientHeight:{value:2,type:"number",min:1,max:16,label:"component.options.topGradientHeight",dependent:"showTopGradient"},topGradientPosition:{value:"cardItem",type:"select",label:"component.options.topGradientPosition",dependent:"showTopGradient",options:[{label:"component.options.topGradientPosition_cardItem",value:"cardItem"},{label:"component.options.topGradientPosition_aboveTitle",value:"aboveTitle"}]},showBgIcon:!1,defaultBgIcon:{value:"",type:"text",label:"component.options.defaultBgIcon",dependent:"showBgIcon"},bgIconOpacity:{value:.06,type:"number",min:0,max:1,step:.01,label:"component.options.bgIconOpacity",dependent:"showBgIcon"},bgIconSize:{value:40,type:"number",min:8,max:120,label:"component.options.bgIconSize",dependent:"showBgIcon"},bgIconPosition:{value:"right",type:"select",label:"component.options.bgIconPosition",dependent:"showBgIcon",options:[{label:"component.options.bgIconPosition_right",value:"right"},{label:"component.options.bgIconPosition_left",value:"left"}]},paramsLayout:{value:"horizontal",type:"select",label:"component.options.paramsLayout",options:[{label:"component.options.paramsLayout_horizontal",value:"horizontal"},{label:"component.options.paramsLayout_vertical",value:"vertical"}]}},K=[{name:"参数一",fv:"",object_id:"",unit:"",default:"",isText:!1,valueFontSize:0,nameFontSize:0,valueTextColor:"",nameTextColor:"",areaWeight:1,cellPadding:0,valueAlign:"center"}],Q=["name","fv","object_id","unit","default","isText",{key:"valueFontSize",type:"number",label:"component.options.crdValueFontSize",group:"component.options.crdGroupCellStyle",groupCollapsedByDefault:!0,min:0,max:120},{key:"nameFontSize",type:"number",label:"component.options.crdNameFontSize",group:"component.options.crdGroupCellStyle",min:0,max:120},{key:"valueTextColor",type:"color",label:"component.options.crdValueTextColor",group:"component.options.crdGroupCellStyle"},{key:"valueAlign",type:"select",label:"component.options.crdValueAlign",group:"component.options.crdGroupCellStyle",options:[{label:"component.options.crdValueAlign_left",value:"left"},{label:"component.options.crdValueAlign_center",value:"center"},{label:"component.options.crdValueAlign_right",value:"right"}]},{key:"nameTextColor",type:"color",label:"component.options.crdNameTextColor",group:"component.options.crdGroupCellStyle"},{key:"areaWeight",type:"number",label:"component.options.crdAreaWeight",group:"component.options.crdGroupCellStyle",min:1,max:32},{key:"cellPadding",type:"number",label:"component.options.crdCellPadding",group:"component.options.crdGroupCellStyle",min:0,max:64}],X=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime","summary"],Y={useAlias:!1,multiObject:!1,source:"mosaic",object_id:"",object_alias:""},Z={DEFAULT:q,OPTIONS:J,DATA:K,PARAMS:Q,SOURCE:X,COMMON:Y},ee=e.defineComponent(I(y({},Z),{__name:"crd",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){const i={valueFontSize:0,nameFontSize:0,valueTextColor:"",nameTextColor:"",areaWeight:1,cellPadding:0,valueAlign:"center"},l=p;class h extends $.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),labelColor:this.getOptionValue("labelColor","#111"),textColor:this.getOptionValue("textColor","#111"),nameSize:this.getOptionValue("nameSize",14),valueSize:this.getOptionValue("valueSize",28),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!0),showTopGradient:this.getOptionValue("showTopGradient",!1),topGradientStart:this.getOptionValue("topGradientStart","#f5a623"),topGradientHeight:this.getOptionValue("topGradientHeight",2),topGradientPosition:this.getOptionValue("topGradientPosition","cardItem"),showBgIcon:this.getOptionValue("showBgIcon",!1),defaultBgIcon:this.getOptionValue("defaultBgIcon",""),bgIconOpacity:this.getOptionValue("bgIconOpacity",.06),bgIconSize:this.getOptionValue("bgIconSize",40),bgIconPosition:this.getOptionValue("bgIconPosition","right"),paramsLayout:this.getOptionValue("paramsLayout","horizontal")}}init(){return _(this,null,function*(){var o;this.Style.value=this.extractStyles(),this.applyTheme();const n={name:"参数一",fv:"",object_id:"",unit:"",default:"",isText:!1};if(!((o=this.props.conf.data)!=null&&o.length))this.props.conf.data=[y(y({},n),i)];else for(const a of this.props.conf.data)if(!(!a||typeof a!="object"))for(const[s,r]of Object.entries(i))a[s]===void 0&&(a[s]=r)})}setHistoryData(n){if(!n)return;const{data:o}=this.props.conf;!Array.isArray(o)||!o.length||o.forEach((a,s)=>{try{const r=n[s].data[0];r!=null&&(a.value=r)}catch(r){}})}}const g=new h(l,"crd");g.setupLifecycle();const c=g.getStyle(),S=e.computed(()=>M.generateTitleStyle(l.conf.options)),m=e.computed(()=>{const t=S.value||{},n=parseFloat(String(t.fontSize||"14"))||14,o=String(t.padding||"").split(" ").filter(Boolean),a=o.length>0&&parseFloat(o[0])||0,s=Math.ceil(n*1.5),r=Math.max(0,s+a*2);return I(y({},t),{minHeight:`${r}px`})}),u=e.computed(()=>{const t=c.value,n=Number(t.topGradientHeight)||2,o=t.topGradientStart||"#f5a623";return{height:`${n}px`,background:`linear-gradient(90deg, ${o}, transparent)`}}),f=e.computed(()=>{const t=c.value;return!!t.showTopGradient&&t.topGradientPosition==="aboveTitle"}),k=e.computed(()=>{const t=c.value;return!!t.showTopGradient&&t.topGradientPosition!=="aboveTitle"}),C=e.computed(()=>c.value.paramsLayout==="vertical"),A=e.computed(()=>{var o;const t=c.value,n=t.bgIconPosition==="right";return{opacity:(o=t.bgIconOpacity)!=null?o:.06,fontSize:`${Number(t.bgIconSize)||40}px`,display:"flex",alignItems:"center",justifyContent:n?"flex-end":"flex-start",paddingRight:n?"12px":void 0,paddingLeft:n?void 0:"12px"}});function E(t){const n=Number(t==null?void 0:t.areaWeight),o=Number.isFinite(n)&&n>0?n:1,a=Number(t==null?void 0:t.cellPadding),s={flex:`${o} 1 0`,minWidth:"0",minHeight:"0"};return Number.isFinite(a)&&a>0&&(s.padding=`${a}px`),s}function P(t){const n=c.value,o=Number(t==null?void 0:t.valueFontSize),a=Number.isFinite(o)&&o>0?o:n.valueSize,s=typeof(t==null?void 0:t.valueTextColor)=="string"?t.valueTextColor.trim():"",r=t==null?void 0:t.valueAlign,d=r==="left"||r==="right"||r==="center"?r:"center",b=d==="left"?"flex-start":d==="right"?"flex-end":"center",z={color:s||n.textColor,fontSize:`${a}px`,justifyContent:b,textAlign:d};return C.value||(z.width="100%"),z}function w(t){const n=c.value,o=Number(t==null?void 0:t.nameFontSize),a=Number.isFinite(o)&&o>0?o:n.nameSize;return{color:(typeof(t==null?void 0:t.nameTextColor)=="string"?t.nameTextColor.trim():"")||n.labelColor,fontSize:`${a}px`}}function T(){const t=c.value.defaultBgIcon,n=typeof t=="string"?t.trim():"";return n?N.decodeIconFromStorage(n):""}const v=t=>{var s,r,d,b;if(!t)return{value:G,name:"--",unit:""};const n=(s=t.name)!=null?s:"",o=typeof t.unit=="string"?t.unit.trim():"";return t.isText?{value:(((r=t.flag)==null?void 0:r.find(F=>String(F.code)==String(t.value)))||{}).text||G,name:n,unit:o}:{value:(b=(d=t.value)!=null?d:t.default)!=null?b:0,name:n,unit:o}},x=l.conf;return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:e.unref(c).radiusSize+"px"})},[f.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-component-top-gradient",style:e.normalizeStyle(u.value)},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(m.value)},e.toDisplayString(e.unref(x).caption||e.unref(x).name),5),e.createElementVNode("div",{class:e.normalizeClass(["mix-body",{"mix-body--params-vertical":C.value}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(x).data,(o,a)=>(e.openBlock(),e.createElementBlock("div",{key:a,class:"card-item",style:e.normalizeStyle(E(o))},[e.createElementVNode("div",{class:"card-item-surface",style:e.normalizeStyle({background:e.unref(c).bgColor})},null,4),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"card-item-top-gradient",style:e.normalizeStyle(u.value)},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["card-item-inner",{"card-item-inner--row":C.value}])},[e.createElementVNode("div",{class:"value",style:e.normalizeStyle(P(o))},[e.createElementVNode("span",W,e.toDisplayString(v(o).value),1),v(o).unit?(e.openBlock(),e.createElementBlock("span",U,e.toDisplayString(v(o).unit),1)):e.createCommentVNode("",!0)],4),e.createElementVNode("div",{class:"name",style:e.normalizeStyle(w(o))},e.toDisplayString(v(o).name),5)],2)],4))),128)),e.unref(c).showBgIcon&&T()?(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-body-bg-icon",style:e.normalizeStyle(A.value)},e.toDisplayString(T()),5)):e.createCommentVNode("",!0)],2),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),te=N._export_sfc(ee,[["__scopeId","data-v-3b75ca77"]]);exports.default=te;
@@ -26,12 +26,12 @@ var y = (o, e, t) => new Promise((u, r) => {
26
26
  }, d = (a) => a.done ? u(a.value) : Promise.resolve(a.value).then(g, x);
27
27
  d((t = t.apply(o, e)).next());
28
28
  });
29
- import { defineComponent as G, reactive as O, ref as L, computed as M, openBlock as v, createElementBlock as b, Fragment as B, createElementVNode as p, normalizeStyle as h, unref as f, createTextVNode as J, toDisplayString as k, createCommentVNode as K, renderList as Y, normalizeClass as q, renderSlot as Q, createVNode as X } from "vue";
29
+ import { defineComponent as G, reactive as O, ref as L, computed as M, openBlock as w, createElementBlock as b, Fragment as B, createElementVNode as p, normalizeStyle as h, unref as f, createTextVNode as J, toDisplayString as k, createCommentVNode as K, renderList as Y, normalizeClass as q, renderSlot as Q, createVNode as X } from "vue";
30
30
  import "html2canvas";
31
- import { B as t2 } from "./BaseComponent-B38Blgw3.js";
32
- import { a1 as e2, w as o2, a as i2, _ as s2 } from "./index-BbXEpgom.js";
31
+ import { B as t2 } from "./BaseComponent-7Sa7XOg-.js";
32
+ import { a2 as e2, x as o2, a as i2, _ as s2 } from "./index-DUL649KZ.js";
33
33
  import { g as l2 } from "./titleStyle-BT5GlpAb.js";
34
- import { _ as n2, g as a2, c as c2 } from "./mix-control-modal-BEXucxt5.js";
34
+ import { _ as n2, g as a2, c as c2 } from "./mix-control-modal-CGLYKUCc.js";
35
35
  import { ElMessage as r2 } from "element-plus";
36
36
  const d2 = "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(-213.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M225.674156,1208.89481%20C225.944595,1209.04924%20226.205387,1209.21954%20226.455068,1209.40467%20C226.881095,1209.72052%20227.273774,1210.07876%20227.626647,1210.47337%20C228.878628,1211.87353%20229.582251,1213.67438%20229.582251,1215.58182%20C229.582251,1219.84629%20226.083331,1223.3%20221.771264,1223.3%20C217.459198,1223.3%20213.960278,1219.84629%20213.960278,1215.58182%20C213.960278,1213.67437%20214.663898,1211.87352%20215.9159,1210.47335%20C216.268755,1210.07876%20216.661433,1209.72052%20217.087434,1209.40469%20C217.337142,1209.21954%20217.597933,1209.04924%20217.868372,1208.89481%20C218.16979,1208.7227%20218.55366,1208.82753%20218.725771,1209.12895%20C218.897882,1209.43036%20218.793058,1209.81423%20218.49164,1209.98634%20C218.264609,1210.11598%20218.045681,1210.25894%20217.836048,1210.41438%20C217.478472,1210.67948%20217.148907,1210.98015%20216.85287,1211.31119%20C215.804685,1212.48343%20215.217218,1213.98699%20215.217218,1215.58182%20C215.217218,1219.14841%20218.149754,1222.04306%20221.771264,1222.04306%20C225.392775,1222.04306%20228.32531,1219.14841%20228.32531,1215.58182%20C228.32531,1213.987%20227.73784,1212.48344%20226.689675,1211.31121%20C226.393622,1210.98015%20226.064056,1210.67948%20225.706453,1210.41436%20C225.496847,1210.25894%20225.27792,1210.11598%20225.050889,1209.98634%20C224.749471,1209.81423%20224.644647,1209.43036%20224.816758,1209.12895%20C224.988868,1208.82753%20225.372739,1208.7227%20225.674156,1208.89481%20Z%20M221.771264,1207.3%20C222.089434,1207.3%20222.352382,1207.53643%20222.393997,1207.84319%20L222.399735,1207.92847%20L222.399735,1215.48901%20C222.399735,1215.83611%20222.118359,1216.11748%20221.771264,1216.11748%20C221.453094,1216.11748%20221.190147,1215.88105%20221.148531,1215.57429%20L221.142794,1215.48901%20L221.142794,1207.92847%20C221.142794,1207.58138%20221.42417,1207.3%20221.771264,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", 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='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-103.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M115.0528,1208.89481%20C115.323239,1209.04924%20115.58403,1209.21954%20115.833711,1209.40467%20C116.259739,1209.72052%20116.652418,1210.07876%20117.00529,1210.47337%20C118.257271,1211.87353%20118.960894,1213.67438%20118.960894,1215.58182%20C118.960894,1219.84629%20115.461974,1223.3%20111.149908,1223.3%20C106.837841,1223.3%20103.338921,1219.84629%20103.338921,1215.58182%20C103.338921,1213.67437%20104.042541,1211.87352%20105.294544,1210.47335%20C105.647398,1210.07876%20106.040077,1209.72052%20106.466077,1209.40469%20C106.715786,1209.21954%20106.976577,1209.04924%20107.247016,1208.89481%20C107.548433,1208.7227%20107.932304,1208.82753%20108.104414,1209.12895%20C108.276525,1209.43036%20108.171701,1209.81423%20107.870284,1209.98634%20C107.643252,1210.11598%20107.424325,1210.25894%20107.214692,1210.41438%20C106.857116,1210.67948%20106.52755,1210.98015%20106.231514,1211.31119%20C105.183328,1212.48343%20104.595862,1213.98699%20104.595862,1215.58182%20C104.595862,1219.14841%20107.528398,1222.04306%20111.149908,1222.04306%20C114.771418,1222.04306%20117.703954,1219.14841%20117.703954,1215.58182%20C117.703954,1213.987%20117.116484,1212.48344%20116.068318,1211.31121%20C115.772265,1210.98015%20115.4427,1210.67948%20115.085097,1210.41436%20C114.875491,1210.25894%20114.656563,1210.11598%20114.429532,1209.98634%20C114.128115,1209.81423%20114.023291,1209.43036%20114.195401,1209.12895%20C114.367512,1208.82753%20114.751382,1208.7227%20115.0528,1208.89481%20Z%20M111.149908,1207.3%20C111.468078,1207.3%20111.731026,1207.53643%20111.772641,1207.84319%20L111.778378,1207.92847%20L111.778378,1215.48901%20C111.778378,1215.83611%20111.497002,1216.11748%20111.149908,1216.11748%20C110.831738,1216.11748%20110.56879,1215.88105%20110.527175,1215.57429%20L110.521438,1215.48901%20L110.521438,1207.92847%20C110.521438,1207.58138%20110.802813,1207.3%20111.149908,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", u2 = { class: "font-semibold flex items-center justify-between" }, p2 = { class: "mix-body" }, f2 = { class: "w-full flex flex-wrap content-start" }, g2 = ["onClick"], C2 = {
37
37
  DEFAULT_ICON: d2,
@@ -67,14 +67,14 @@ const d2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
67
67
  }, E = [
68
68
  { command: "Control_01", name: "关机", color: "#c92309", code: "0" },
69
69
  { command: "Control_01", name: "开机", color: "#217406", code: "1" }
70
- ], x2 = ["name", "command", "color", "code"], w2 = ["mosaic"], v2 = {
70
+ ], x2 = ["name", "command", "color", "code"], v2 = ["mosaic"], w2 = {
71
71
  useAlias: !1,
72
72
  multiObject: !1,
73
73
  hideMultiObject: !0,
74
74
  statusFv: "",
75
75
  statusType: 1,
76
76
  status: [{ code: 0, text: "离线", color: "#c92309" }]
77
- }, b2 = { DEFAULT: C2, OPTIONS: h2, DATA: E, PARAMS: x2, SOURCE: w2, COMMON: v2 }, S2 = /* @__PURE__ */ G(V(N({}, b2), {
77
+ }, b2 = { DEFAULT: C2, OPTIONS: h2, DATA: E, PARAMS: x2, SOURCE: v2, COMMON: w2 }, S2 = /* @__PURE__ */ G(V(N({}, b2), {
78
78
  __name: "ctrBtn",
79
79
  props: {
80
80
  conf: {
@@ -141,7 +141,7 @@ const d2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
141
141
  if (!s) return;
142
142
  const { common: i } = this.props.conf, l = this.extractDataValue(s, i.statusFv);
143
143
  if (l != null) {
144
- const m = i.status.find((w) => String(w.code) === String(l));
144
+ const m = i.status.find((v) => String(v.code) === String(l));
145
145
  r.text = (C = m == null ? void 0 : m.text) != null ? C : "", r.color = (S = m == null ? void 0 : m.color) != null ? S : "";
146
146
  }
147
147
  }
@@ -165,11 +165,11 @@ const d2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
165
165
  rule: s,
166
166
  control: t.password
167
167
  };
168
- i2.platform((w) => {
169
- w.code === 200 && (r2.success(w.msg), g.value.modal.visible = !1, x.value = !1);
168
+ i2.platform((v) => {
169
+ v.code === 200 && (r2.success(v.msg), g.value.modal.visible = !1, x.value = !1);
170
170
  }, m);
171
171
  };
172
- return (c, s) => (v(), b(B, null, [
172
+ return (c, s) => (w(), b(B, null, [
173
173
  p("div", {
174
174
  class: "mix-component",
175
175
  style: h({ background: f(n).bgColor, borderRadius: `${f(n).radiusSize}px` })
@@ -180,7 +180,7 @@ const d2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
180
180
  }, [
181
181
  p("div", u2, [
182
182
  J(k(o.conf.caption || o.conf.name) + " ", 1),
183
- r.text ? (v(), b("div", {
183
+ r.text ? (w(), b("div", {
184
184
  key: 0,
185
185
  class: "status-btn",
186
186
  style: h({ backgroundColor: r.color, color: f(n).textColor })
@@ -189,7 +189,7 @@ const d2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
189
189
  ], 4),
190
190
  p("div", p2, [
191
191
  p("div", f2, [
192
- (v(!0), b(B, null, Y(o.conf.data, (i, l) => (v(), b("div", {
192
+ (w(!0), b(B, null, Y(o.conf.data, (i, l) => (w(), b("div", {
193
193
  class: "btn-wrap",
194
194
  key: l,
195
195
  style: h({ width: I.value, height: `${f(n).itemHeight}px`, fontSize: `${f(n).textSize}px` })
@@ -1 +1 @@
1
- "use strict";var A=Object.defineProperty,F=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,j=Reflect.get;var O=(l,o,t)=>o in l?A(l,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[o]=t,z=(l,o)=>{for(var t in o||(o={}))P.call(o,t)&&O(l,t,o[t]);if(k)for(var t of k(o))I.call(o,t)&&O(l,t,o[t]);return l},N=(l,o)=>F(l,M(o));var w=(l,o,t)=>j(L(l),t,o);var S=(l,o,t)=>new Promise((p,d)=>{var f=r=>{try{u(t.next(r))}catch(c){d(c)}},C=r=>{try{u(t.throw(r))}catch(c){d(c)}},u=r=>r.done?p(r.value):Promise.resolve(r.value).then(f,C);u((t=t.apply(l,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const D=require("./BaseComponent-9njJjeix.cjs"),v=require("./index-Bo49zvKb.cjs"),R=require("./titleStyle-NSnz6cUg.cjs"),y=require("./mix-control-modal-aUWGjwZP.cjs"),H=require("element-plus"),q="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e按钮%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-213.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M225.674156,1208.89481%20C225.944595,1209.04924%20226.205387,1209.21954%20226.455068,1209.40467%20C226.881095,1209.72052%20227.273774,1210.07876%20227.626647,1210.47337%20C228.878628,1211.87353%20229.582251,1213.67438%20229.582251,1215.58182%20C229.582251,1219.84629%20226.083331,1223.3%20221.771264,1223.3%20C217.459198,1223.3%20213.960278,1219.84629%20213.960278,1215.58182%20C213.960278,1213.67437%20214.663898,1211.87352%20215.9159,1210.47335%20C216.268755,1210.07876%20216.661433,1209.72052%20217.087434,1209.40469%20C217.337142,1209.21954%20217.597933,1209.04924%20217.868372,1208.89481%20C218.16979,1208.7227%20218.55366,1208.82753%20218.725771,1209.12895%20C218.897882,1209.43036%20218.793058,1209.81423%20218.49164,1209.98634%20C218.264609,1210.11598%20218.045681,1210.25894%20217.836048,1210.41438%20C217.478472,1210.67948%20217.148907,1210.98015%20216.85287,1211.31119%20C215.804685,1212.48343%20215.217218,1213.98699%20215.217218,1215.58182%20C215.217218,1219.14841%20218.149754,1222.04306%20221.771264,1222.04306%20C225.392775,1222.04306%20228.32531,1219.14841%20228.32531,1215.58182%20C228.32531,1213.987%20227.73784,1212.48344%20226.689675,1211.31121%20C226.393622,1210.98015%20226.064056,1210.67948%20225.706453,1210.41436%20C225.496847,1210.25894%20225.27792,1210.11598%20225.050889,1209.98634%20C224.749471,1209.81423%20224.644647,1209.43036%20224.816758,1209.12895%20C224.988868,1208.82753%20225.372739,1208.7227%20225.674156,1208.89481%20Z%20M221.771264,1207.3%20C222.089434,1207.3%20222.352382,1207.53643%20222.393997,1207.84319%20L222.399735,1207.92847%20L222.399735,1215.48901%20C222.399735,1215.83611%20222.118359,1216.11748%20221.771264,1216.11748%20C221.453094,1216.11748%20221.190147,1215.88105%20221.148531,1215.57429%20L221.142794,1215.48901%20L221.142794,1207.92847%20C221.142794,1207.58138%20221.42417,1207.3%20221.771264,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",$="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(-103.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M115.0528,1208.89481%20C115.323239,1209.04924%20115.58403,1209.21954%20115.833711,1209.40467%20C116.259739,1209.72052%20116.652418,1210.07876%20117.00529,1210.47337%20C118.257271,1211.87353%20118.960894,1213.67438%20118.960894,1215.58182%20C118.960894,1219.84629%20115.461974,1223.3%20111.149908,1223.3%20C106.837841,1223.3%20103.338921,1219.84629%20103.338921,1215.58182%20C103.338921,1213.67437%20104.042541,1211.87352%20105.294544,1210.47335%20C105.647398,1210.07876%20106.040077,1209.72052%20106.466077,1209.40469%20C106.715786,1209.21954%20106.976577,1209.04924%20107.247016,1208.89481%20C107.548433,1208.7227%20107.932304,1208.82753%20108.104414,1209.12895%20C108.276525,1209.43036%20108.171701,1209.81423%20107.870284,1209.98634%20C107.643252,1210.11598%20107.424325,1210.25894%20107.214692,1210.41438%20C106.857116,1210.67948%20106.52755,1210.98015%20106.231514,1211.31119%20C105.183328,1212.48343%20104.595862,1213.98699%20104.595862,1215.58182%20C104.595862,1219.14841%20107.528398,1222.04306%20111.149908,1222.04306%20C114.771418,1222.04306%20117.703954,1219.14841%20117.703954,1215.58182%20C117.703954,1213.987%20117.116484,1212.48344%20116.068318,1211.31121%20C115.772265,1210.98015%20115.4427,1210.67948%20115.085097,1210.41436%20C114.875491,1210.25894%20114.656563,1210.11598%20114.429532,1209.98634%20C114.128115,1209.81423%20114.023291,1209.43036%20114.195401,1209.12895%20C114.367512,1208.82753%20114.751382,1208.7227%20115.0528,1208.89481%20Z%20M111.149908,1207.3%20C111.468078,1207.3%20111.731026,1207.53643%20111.772641,1207.84319%20L111.778378,1207.92847%20L111.778378,1215.48901%20C111.778378,1215.83611%20111.497002,1216.11748%20111.149908,1216.11748%20C110.831738,1216.11748%20110.56879,1215.88105%20110.527175,1215.57429%20L110.521438,1215.48901%20L110.521438,1207.92847%20C110.521438,1207.58138%20110.802813,1207.3%20111.149908,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",U={class:"font-semibold flex items-center justify-between"},Z={class:"mix-body"},W={class:"w-full flex flex-wrap content-start"},G=["onClick"],J={DEFAULT_ICON:q,ACTIVE_ICON:$,NAME_CN:"按键",NAME_EN:"Button",ORDER:2,PLATFORM:["pc","screen","mobile"]},K={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:v.CONTROL_OPTIONS}},V=[{command:"Control_01",name:"关机",color:"#c92309",code:"0"},{command:"Control_01",name:"开机",color:"#217406",code:"1"}],Y=["name","command","color","code"],Q=["mosaic"],X={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},e2={DEFAULT:J,OPTIONS:K,DATA:V,PARAMS:Y,SOURCE:Q,COMMON:X},t2=e.defineComponent(N(z({},e2),{__name:"ctrBtn",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(l){const o=l,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),p=e.reactive({rule:"",code:"",command:""}),d=e.reactive({text:"",color:""}),f=e.ref(null),C=e.ref(!0);class u extends D.BaseComponent{extractStyles(){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),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return S(this,null,function*(){w(u.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:V})}onPreview(){return S(this,null,function*(){yield w(u.prototype,this,"onPreview").call(this);const n=yield y.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){var g,x;if(!n)return;const{common:i}=this.props.conf,s=this.extractDataValue(n,i.statusFv);if(s!=null){const m=i.status.find(h=>String(h.code)===String(s));d.text=(g=m==null?void 0:m.text)!=null?g:"",d.color=(x=m==null?void 0:m.color)!=null?x:""}}}const r=new u(o,"ctrBtn");r.setupLifecycle();const c=r.getStyle(),E=e.computed(()=>R.generateTitleStyle(o.conf.options)),B=e.computed(()=>`${(100/c.value.items).toFixed(2)||100}%`),b=a=>!y.checkPermission(t.authorized,a.command),T=a=>{var s;if(b(a))return;const{options:n}=o.conf;let i=((s=n==null?void 0:n.method)==null?void 0:s.value)||"alway";p.rule=i,p.code=String(a.code),p.command=a.command,i==="alway"||i==="once"&&C.value?f.value.modal.visible=!0:_()},_=()=>{const{code:a,rule:n,command:i}=p,{common:s}=o.conf,g=JSON.parse(sessionStorage.getItem(v.ALIAS_MAPPING_KEY)||"{}");let m={block_mapping:"mapping",action:"publish_command",object_id:s.useAlias?g[s.object_alias]:s.object_id||o.uid,command:i,value:a,rule:n,control:t.password};v.api.platform(h=>{h.code===200&&(H.ElMessage.success(h.msg),f.value.modal.visible=!1,C.value=!1)},m)};return(a,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(E.value)},[e.createElementVNode("div",U,[e.createTextVNode(e.toDisplayString(l.conf.caption||l.conf.name)+" ",1),d.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"status-btn",style:e.normalizeStyle({backgroundColor:d.color,color:e.unref(c).textColor})},e.toDisplayString(d.text),5)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",Z,[e.createElementVNode("div",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.data,(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:s,style:e.normalizeStyle({width:B.value,height:`${e.unref(c).itemHeight}px`,fontSize:`${e.unref(c).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:b(i)}]),style:e.normalizeStyle({backgroundColor:i.color,color:e.unref(c).textColor}),onClick:g=>T(i)},e.toDisplayString(i.name),15,G)],4))),128))])]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4),e.createVNode(y._sfc_main,{ref_key:"controlRef",ref:f,onSubmit:_,password:t.password},null,8,["password"])],64))}})),o2=v._export_sfc(t2,[["__scopeId","data-v-061fd8dc"]]);exports.default=o2;
1
+ "use strict";var A=Object.defineProperty,F=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,j=Reflect.get;var O=(l,o,t)=>o in l?A(l,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[o]=t,z=(l,o)=>{for(var t in o||(o={}))P.call(o,t)&&O(l,t,o[t]);if(k)for(var t of k(o))I.call(o,t)&&O(l,t,o[t]);return l},N=(l,o)=>F(l,M(o));var w=(l,o,t)=>j(L(l),t,o);var S=(l,o,t)=>new Promise((p,d)=>{var f=r=>{try{u(t.next(r))}catch(c){d(c)}},C=r=>{try{u(t.throw(r))}catch(c){d(c)}},u=r=>r.done?p(r.value):Promise.resolve(r.value).then(f,C);u((t=t.apply(l,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const D=require("./BaseComponent-BabOc6Kc.cjs"),v=require("./index-Cm7hGuPj.cjs"),R=require("./titleStyle-NSnz6cUg.cjs"),y=require("./mix-control-modal-oxp6LmrP.cjs"),H=require("element-plus"),q="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e按钮%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-213.000000,%20-1207.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M225.674156,1208.89481%20C225.944595,1209.04924%20226.205387,1209.21954%20226.455068,1209.40467%20C226.881095,1209.72052%20227.273774,1210.07876%20227.626647,1210.47337%20C228.878628,1211.87353%20229.582251,1213.67438%20229.582251,1215.58182%20C229.582251,1219.84629%20226.083331,1223.3%20221.771264,1223.3%20C217.459198,1223.3%20213.960278,1219.84629%20213.960278,1215.58182%20C213.960278,1213.67437%20214.663898,1211.87352%20215.9159,1210.47335%20C216.268755,1210.07876%20216.661433,1209.72052%20217.087434,1209.40469%20C217.337142,1209.21954%20217.597933,1209.04924%20217.868372,1208.89481%20C218.16979,1208.7227%20218.55366,1208.82753%20218.725771,1209.12895%20C218.897882,1209.43036%20218.793058,1209.81423%20218.49164,1209.98634%20C218.264609,1210.11598%20218.045681,1210.25894%20217.836048,1210.41438%20C217.478472,1210.67948%20217.148907,1210.98015%20216.85287,1211.31119%20C215.804685,1212.48343%20215.217218,1213.98699%20215.217218,1215.58182%20C215.217218,1219.14841%20218.149754,1222.04306%20221.771264,1222.04306%20C225.392775,1222.04306%20228.32531,1219.14841%20228.32531,1215.58182%20C228.32531,1213.987%20227.73784,1212.48344%20226.689675,1211.31121%20C226.393622,1210.98015%20226.064056,1210.67948%20225.706453,1210.41436%20C225.496847,1210.25894%20225.27792,1210.11598%20225.050889,1209.98634%20C224.749471,1209.81423%20224.644647,1209.43036%20224.816758,1209.12895%20C224.988868,1208.82753%20225.372739,1208.7227%20225.674156,1208.89481%20Z%20M221.771264,1207.3%20C222.089434,1207.3%20222.352382,1207.53643%20222.393997,1207.84319%20L222.399735,1207.92847%20L222.399735,1215.48901%20C222.399735,1215.83611%20222.118359,1216.11748%20221.771264,1216.11748%20C221.453094,1216.11748%20221.190147,1215.88105%20221.148531,1215.57429%20L221.142794,1215.48901%20L221.142794,1207.92847%20C221.142794,1207.58138%20221.42417,1207.3%20221.771264,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",$="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(-103.000000,%20-1207.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M115.0528,1208.89481%20C115.323239,1209.04924%20115.58403,1209.21954%20115.833711,1209.40467%20C116.259739,1209.72052%20116.652418,1210.07876%20117.00529,1210.47337%20C118.257271,1211.87353%20118.960894,1213.67438%20118.960894,1215.58182%20C118.960894,1219.84629%20115.461974,1223.3%20111.149908,1223.3%20C106.837841,1223.3%20103.338921,1219.84629%20103.338921,1215.58182%20C103.338921,1213.67437%20104.042541,1211.87352%20105.294544,1210.47335%20C105.647398,1210.07876%20106.040077,1209.72052%20106.466077,1209.40469%20C106.715786,1209.21954%20106.976577,1209.04924%20107.247016,1208.89481%20C107.548433,1208.7227%20107.932304,1208.82753%20108.104414,1209.12895%20C108.276525,1209.43036%20108.171701,1209.81423%20107.870284,1209.98634%20C107.643252,1210.11598%20107.424325,1210.25894%20107.214692,1210.41438%20C106.857116,1210.67948%20106.52755,1210.98015%20106.231514,1211.31119%20C105.183328,1212.48343%20104.595862,1213.98699%20104.595862,1215.58182%20C104.595862,1219.14841%20107.528398,1222.04306%20111.149908,1222.04306%20C114.771418,1222.04306%20117.703954,1219.14841%20117.703954,1215.58182%20C117.703954,1213.987%20117.116484,1212.48344%20116.068318,1211.31121%20C115.772265,1210.98015%20115.4427,1210.67948%20115.085097,1210.41436%20C114.875491,1210.25894%20114.656563,1210.11598%20114.429532,1209.98634%20C114.128115,1209.81423%20114.023291,1209.43036%20114.195401,1209.12895%20C114.367512,1208.82753%20114.751382,1208.7227%20115.0528,1208.89481%20Z%20M111.149908,1207.3%20C111.468078,1207.3%20111.731026,1207.53643%20111.772641,1207.84319%20L111.778378,1207.92847%20L111.778378,1215.48901%20C111.778378,1215.83611%20111.497002,1216.11748%20111.149908,1216.11748%20C110.831738,1216.11748%20110.56879,1215.88105%20110.527175,1215.57429%20L110.521438,1215.48901%20L110.521438,1207.92847%20C110.521438,1207.58138%20110.802813,1207.3%20111.149908,1207.3%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",U={class:"font-semibold flex items-center justify-between"},Z={class:"mix-body"},W={class:"w-full flex flex-wrap content-start"},G=["onClick"],J={DEFAULT_ICON:q,ACTIVE_ICON:$,NAME_CN:"按键",NAME_EN:"Button",ORDER:2,PLATFORM:["pc","screen","mobile"]},K={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:v.CONTROL_OPTIONS}},V=[{command:"Control_01",name:"关机",color:"#c92309",code:"0"},{command:"Control_01",name:"开机",color:"#217406",code:"1"}],Y=["name","command","color","code"],Q=["mosaic"],X={useAlias:!1,multiObject:!1,hideMultiObject:!0,statusFv:"",statusType:1,status:[{code:0,text:"离线",color:"#c92309"}]},e2={DEFAULT:J,OPTIONS:K,DATA:V,PARAMS:Y,SOURCE:Q,COMMON:X},t2=e.defineComponent(N(z({},e2),{__name:"ctrBtn",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(l){const o=l,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),p=e.reactive({rule:"",code:"",command:""}),d=e.reactive({text:"",color:""}),f=e.ref(null),C=e.ref(!0);class u extends D.BaseComponent{extractStyles(){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),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return S(this,null,function*(){w(u.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:V})}onPreview(){return S(this,null,function*(){yield w(u.prototype,this,"onPreview").call(this);const n=yield y.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){var g,x;if(!n)return;const{common:i}=this.props.conf,s=this.extractDataValue(n,i.statusFv);if(s!=null){const m=i.status.find(h=>String(h.code)===String(s));d.text=(g=m==null?void 0:m.text)!=null?g:"",d.color=(x=m==null?void 0:m.color)!=null?x:""}}}const r=new u(o,"ctrBtn");r.setupLifecycle();const c=r.getStyle(),E=e.computed(()=>R.generateTitleStyle(o.conf.options)),B=e.computed(()=>`${(100/c.value.items).toFixed(2)||100}%`),b=a=>!y.checkPermission(t.authorized,a.command),T=a=>{var s;if(b(a))return;const{options:n}=o.conf;let i=((s=n==null?void 0:n.method)==null?void 0:s.value)||"alway";p.rule=i,p.code=String(a.code),p.command=a.command,i==="alway"||i==="once"&&C.value?f.value.modal.visible=!0:_()},_=()=>{const{code:a,rule:n,command:i}=p,{common:s}=o.conf,g=JSON.parse(sessionStorage.getItem(v.ALIAS_MAPPING_KEY)||"{}");let m={block_mapping:"mapping",action:"publish_command",object_id:s.useAlias?g[s.object_alias]:s.object_id||o.uid,command:i,value:a,rule:n,control:t.password};v.api.platform(h=>{h.code===200&&(H.ElMessage.success(h.msg),f.value.modal.visible=!1,C.value=!1)},m)};return(a,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(E.value)},[e.createElementVNode("div",U,[e.createTextVNode(e.toDisplayString(l.conf.caption||l.conf.name)+" ",1),d.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"status-btn",style:e.normalizeStyle({backgroundColor:d.color,color:e.unref(c).textColor})},e.toDisplayString(d.text),5)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",Z,[e.createElementVNode("div",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.data,(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:"btn-wrap",key:s,style:e.normalizeStyle({width:B.value,height:`${e.unref(c).itemHeight}px`,fontSize:`${e.unref(c).textSize}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["btn-item",{disabled:b(i)}]),style:e.normalizeStyle({backgroundColor:i.color,color:e.unref(c).textColor}),onClick:g=>T(i)},e.toDisplayString(i.name),15,G)],4))),128))])]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4),e.createVNode(y._sfc_main,{ref_key:"controlRef",ref:f,onSubmit:_,password:t.password},null,8,["password"])],64))}})),o2=v._export_sfc(t2,[["__scopeId","data-v-061fd8dc"]]);exports.default=o2;
@@ -1 +1 @@
1
- "use strict";var j=Object.defineProperty,L=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols,F=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,W=Reflect.get;var w=(a,t,o)=>t in a?j(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,z=(a,t)=>{for(var o in t||(t={}))U.call(t,o)&&w(a,o,t[o]);if(x)for(var o of x(t))$.call(t,o)&&w(a,o,t[o]);return a},A=(a,t)=>L(a,R(t));var T=(a,t,o)=>W(F(a),o,t);var O=(a,t,o)=>new Promise((f,h)=>{var u=s=>{try{r(o.next(s))}catch(d){h(d)}},_=s=>{try{r(o.throw(s))}catch(d){h(d)}},r=s=>s.done?f(s.value):Promise.resolve(s.value).then(u,_);r((o=o.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),H=require("./BaseComponent-9njJjeix.cjs"),b=require("./index-Bo49zvKb.cjs"),G=require("./titleStyle-NSnz6cUg.cjs"),E=require("./mix-control-modal-aUWGjwZP.cjs"),I=require("element-plus"),M=require("./ele-ctrSet-icon-DCsPO0tL.cjs"),J={class:"font-[600]"},K={class:"submint"},Y={DEFAULT_ICON:M.DEFAULT_ICON,ACTIVE_ICON:M.ACTIVE_ICON,NAME_CN:"参数控件",NAME_EN:"Parameter Control",ORDER:1,PLATFORM:["pc","screen","mobile"]},Q={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,labelWidth:100,radiusSize:8,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.params.verifyMethod",options:"CONTROL_OPTIONS"}},X=[{command:"Control_01",name:"参数一",unit:"",fv:""}],Z=["name","fv","command","unit"],ee=["mosaic"],te={useAlias:!1,multiObject:!1,hideMultiObject:!0},le={DEFAULT:Y,OPTIONS:Q,DATA:X,PARAMS:Z,SOURCE:ee,COMMON:te},oe=e.defineComponent(A(z({},le),{__name:"ctrSet",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""},socketData:{type:Object,default:()=>({})}},setup(a){const t=a,o="--";class f extends H.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),titleSize:this.getOptionValue("titleSize",14),textSize:this.getOptionValue("textSize",12),labelWidth:this.getOptionValue("labelWidth",100),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return O(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme()})}onPreview(){return O(this,null,function*(){yield T(f.prototype,this,"onPreview").call(this);const n=yield E.getAuthorized(this.props);r.authorized=n.authorized,r.password=n.password})}setSocketData(n){if(!n)return;const{data:i}=this.props.conf;i.forEach(m=>{const c=this.extractDataValue(n,m.fv);m.value=c!=null?c:o})}}const h=new f(t,"ctrSet");h.setupLifecycle();const u=h.getStyle(),_=e.computed(()=>G.generateTitleStyle(t.conf.options)),r=e.reactive({authorized:{type:"black_list",list:[]},password:""}),s=e.ref([]),d=e.ref(null),C=e.ref(!0),D=e.computed(()=>{var l;return((l=t.conf.data)==null?void 0:l.length)===1}),P=l=>!E.checkPermission(r.authorized,l.command),V=e.computed(()=>s.value.filter(l=>l).length===0);e.computed(()=>{var n,i;const{data:l}=t.conf;return(((n=l==null?void 0:l[0])==null?void 0:n.value)||o)+" "+(((i=l==null?void 0:l[0])==null?void 0:i.unit)||"")});const B=()=>{var i;const{options:l}=t.conf,n=((i=l==null?void 0:l.method)==null?void 0:i.value)||"alway";n==="alway"||n==="once"&&C.value?d.value.modal.visible=!0:N()},N=()=>{var p,y;const{common:l,data:n,options:i}=t.conf,m=JSON.parse(sessionStorage.getItem(b.ALIAS_MAPPING_KEY)||"{}")||{},c=l.useAlias?m[l.object_alias]:l.object_id||t.uid;if(D.value){const S={block_mapping:"mapping",action:"publish_command",object_id:c,command:n[0].command,value:s.value[0],control:r.password,rule:((p=i==null?void 0:i.method)==null?void 0:p.value)||"alway"};b.api.platform(g=>{g.code===200&&(I.ElMessage.success(g.msg),d.value.modal.visible=!1,C.value=!1)},S)}else{const S=[];s.value.forEach((v,q)=>{v&&S.push({object_id:c,command:n[q].command,value:v})});const g={block_mapping:"mapping",action:"publish_command_plus",publishes:S,control:r.password,rule:((y=i==null?void 0:i.method)==null?void 0:y.value)||"alway"};b.api.platform(v=>{v.code===200&&(I.ElMessage.success(v.msg),d.value.modal.visible=!1,C.value=!1)},g)}};return(l,n)=>{const i=k.ElInput,m=k.ElButton;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title flex-1",style:e.normalizeStyle(_.value)},[e.createElementVNode("div",J,e.toDisplayString(a.conf.caption||a.conf.name),1)],4),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(u).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.conf.data,(c,p)=>(e.openBlock(),e.createElementBlock("div",{class:"set-item",key:p,style:e.normalizeStyle({fontSize:`${e.unref(u).textSize}px`,color:e.unref(u).textColor})},[e.createElementVNode("div",{class:"item-name",style:e.normalizeStyle({width:`${e.unref(u).labelWidth}px`})},e.toDisplayString(c.name),5),e.createVNode(i,{modelValue:s.value[p],"onUpdate:modelValue":y=>s.value[p]=y,disabled:P(c)},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createVNode(i,{value:c.value?`${c.value} ${c.unit}`:o,style:{width:"100px","margin-left":"12px"},readonly:""},null,8,["value"])],4))),128)),e.createElementVNode("div",K,[e.createVNode(m,{type:V.value?"default":"primary",onClick:B,disabled:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])],4),e.renderSlot(l.$slots,"default",{},void 0,!0)],4),e.createVNode(E._sfc_main,{ref_key:"controlRef",ref:d,onSubmit:N,password:r.password},null,8,["password"])],64)}}})),ae=b._export_sfc(oe,[["__scopeId","data-v-9fb911b4"]]);exports.default=ae;
1
+ "use strict";var j=Object.defineProperty,L=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols,F=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,W=Reflect.get;var w=(a,t,o)=>t in a?j(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,z=(a,t)=>{for(var o in t||(t={}))U.call(t,o)&&w(a,o,t[o]);if(x)for(var o of x(t))$.call(t,o)&&w(a,o,t[o]);return a},A=(a,t)=>L(a,R(t));var T=(a,t,o)=>W(F(a),o,t);var O=(a,t,o)=>new Promise((f,h)=>{var u=s=>{try{r(o.next(s))}catch(d){h(d)}},_=s=>{try{r(o.throw(s))}catch(d){h(d)}},r=s=>s.done?f(s.value):Promise.resolve(s.value).then(u,_);r((o=o.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),H=require("./BaseComponent-BabOc6Kc.cjs"),b=require("./index-Cm7hGuPj.cjs"),G=require("./titleStyle-NSnz6cUg.cjs"),E=require("./mix-control-modal-oxp6LmrP.cjs"),I=require("element-plus"),M=require("./ele-ctrSet-icon-DCsPO0tL.cjs"),J={class:"font-[600]"},K={class:"submint"},Y={DEFAULT_ICON:M.DEFAULT_ICON,ACTIVE_ICON:M.ACTIVE_ICON,NAME_CN:"参数控件",NAME_EN:"Parameter Control",ORDER:1,PLATFORM:["pc","screen","mobile"]},Q={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,labelWidth:100,radiusSize:8,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.params.verifyMethod",options:"CONTROL_OPTIONS"}},X=[{command:"Control_01",name:"参数一",unit:"",fv:""}],Z=["name","fv","command","unit"],ee=["mosaic"],te={useAlias:!1,multiObject:!1,hideMultiObject:!0},le={DEFAULT:Y,OPTIONS:Q,DATA:X,PARAMS:Z,SOURCE:ee,COMMON:te},oe=e.defineComponent(A(z({},le),{__name:"ctrSet",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""},socketData:{type:Object,default:()=>({})}},setup(a){const t=a,o="--";class f extends H.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),titleSize:this.getOptionValue("titleSize",14),textSize:this.getOptionValue("textSize",12),labelWidth:this.getOptionValue("labelWidth",100),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return O(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme()})}onPreview(){return O(this,null,function*(){yield T(f.prototype,this,"onPreview").call(this);const n=yield E.getAuthorized(this.props);r.authorized=n.authorized,r.password=n.password})}setSocketData(n){if(!n)return;const{data:i}=this.props.conf;i.forEach(m=>{const c=this.extractDataValue(n,m.fv);m.value=c!=null?c:o})}}const h=new f(t,"ctrSet");h.setupLifecycle();const u=h.getStyle(),_=e.computed(()=>G.generateTitleStyle(t.conf.options)),r=e.reactive({authorized:{type:"black_list",list:[]},password:""}),s=e.ref([]),d=e.ref(null),C=e.ref(!0),D=e.computed(()=>{var l;return((l=t.conf.data)==null?void 0:l.length)===1}),P=l=>!E.checkPermission(r.authorized,l.command),V=e.computed(()=>s.value.filter(l=>l).length===0);e.computed(()=>{var n,i;const{data:l}=t.conf;return(((n=l==null?void 0:l[0])==null?void 0:n.value)||o)+" "+(((i=l==null?void 0:l[0])==null?void 0:i.unit)||"")});const B=()=>{var i;const{options:l}=t.conf,n=((i=l==null?void 0:l.method)==null?void 0:i.value)||"alway";n==="alway"||n==="once"&&C.value?d.value.modal.visible=!0:N()},N=()=>{var p,y;const{common:l,data:n,options:i}=t.conf,m=JSON.parse(sessionStorage.getItem(b.ALIAS_MAPPING_KEY)||"{}")||{},c=l.useAlias?m[l.object_alias]:l.object_id||t.uid;if(D.value){const S={block_mapping:"mapping",action:"publish_command",object_id:c,command:n[0].command,value:s.value[0],control:r.password,rule:((p=i==null?void 0:i.method)==null?void 0:p.value)||"alway"};b.api.platform(g=>{g.code===200&&(I.ElMessage.success(g.msg),d.value.modal.visible=!1,C.value=!1)},S)}else{const S=[];s.value.forEach((v,q)=>{v&&S.push({object_id:c,command:n[q].command,value:v})});const g={block_mapping:"mapping",action:"publish_command_plus",publishes:S,control:r.password,rule:((y=i==null?void 0:i.method)==null?void 0:y.value)||"alway"};b.api.platform(v=>{v.code===200&&(I.ElMessage.success(v.msg),d.value.modal.visible=!1,C.value=!1)},g)}};return(l,n)=>{const i=k.ElInput,m=k.ElButton;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title flex-1",style:e.normalizeStyle(_.value)},[e.createElementVNode("div",J,e.toDisplayString(a.conf.caption||a.conf.name),1)],4),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(u).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.conf.data,(c,p)=>(e.openBlock(),e.createElementBlock("div",{class:"set-item",key:p,style:e.normalizeStyle({fontSize:`${e.unref(u).textSize}px`,color:e.unref(u).textColor})},[e.createElementVNode("div",{class:"item-name",style:e.normalizeStyle({width:`${e.unref(u).labelWidth}px`})},e.toDisplayString(c.name),5),e.createVNode(i,{modelValue:s.value[p],"onUpdate:modelValue":y=>s.value[p]=y,disabled:P(c)},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createVNode(i,{value:c.value?`${c.value} ${c.unit}`:o,style:{width:"100px","margin-left":"12px"},readonly:""},null,8,["value"])],4))),128)),e.createElementVNode("div",K,[e.createVNode(m,{type:V.value?"default":"primary",onClick:B,disabled:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])],4),e.renderSlot(l.$slots,"default",{},void 0,!0)],4),e.createVNode(E._sfc_main,{ref_key:"controlRef",ref:d,onSubmit:N,password:r.password},null,8,["password"])],64)}}})),ae=b._export_sfc(oe,[["__scopeId","data-v-9fb911b4"]]);exports.default=ae;
@@ -17,13 +17,13 @@ var A = (l, e, o) => new Promise((h, v) => {
17
17
  } catch (d) {
18
18
  v(d);
19
19
  }
20
- }, w = (s) => {
20
+ }, x = (s) => {
21
21
  try {
22
22
  c(o.throw(s));
23
23
  } catch (d) {
24
24
  v(d);
25
25
  }
26
- }, c = (s) => s.done ? h(s.value) : Promise.resolve(s.value).then(r, w);
26
+ }, c = (s) => s.done ? h(s.value) : Promise.resolve(s.value).then(r, x);
27
27
  c((o = o.apply(l, e)).next());
28
28
  });
29
29
  import { ElInput as X, ElButton as Z } from "element-plus/es";
@@ -31,10 +31,10 @@ import "element-plus/es/components/base/style/css";
31
31
  import "element-plus/es/components/button/style/css";
32
32
  import "element-plus/es/components/input/style/css";
33
33
  import { defineComponent as ee, computed as O, reactive as te, ref as V, openBlock as z, createElementBlock as E, Fragment as B, createElementVNode as p, normalizeStyle as g, unref as f, toDisplayString as T, renderList as oe, createVNode as C, withCtx as le, createTextVNode as ae, renderSlot as ie } from "vue";
34
- import { B as se } from "./BaseComponent-B38Blgw3.js";
35
- import { w as ne, a as L, _ as ce } from "./index-BbXEpgom.js";
34
+ import { B as se } from "./BaseComponent-7Sa7XOg-.js";
35
+ import { x as ne, a as L, _ as ce } from "./index-DUL649KZ.js";
36
36
  import { g as re } from "./titleStyle-BT5GlpAb.js";
37
- import { _ as de, g as ue, c as me } from "./mix-control-modal-BEXucxt5.js";
37
+ import { _ as de, g as ue, c as me } from "./mix-control-modal-CGLYKUCc.js";
38
38
  import { ElMessage as R } from "element-plus";
39
39
  import { A as pe, D as fe } from "./ele-ctrSet-icon-BtKGrCid.js";
40
40
  const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
@@ -71,7 +71,7 @@ const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
71
71
  useAlias: !1,
72
72
  multiObject: !1,
73
73
  hideMultiObject: !0
74
- }, Ce = { DEFAULT: be, OPTIONS: ge, DATA: ye, PARAMS: Se, SOURCE: _e, COMMON: Oe }, we = /* @__PURE__ */ ee(I(P({}, Ce), {
74
+ }, Ce = { DEFAULT: be, OPTIONS: ge, DATA: ye, PARAMS: Se, SOURCE: _e, COMMON: Oe }, xe = /* @__PURE__ */ ee(I(P({}, Ce), {
75
75
  __name: "ctrSet",
76
76
  props: {
77
77
  conf: { type: Object, default: () => ({ data: [] }) },
@@ -119,10 +119,10 @@ const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
119
119
  }
120
120
  const v = new h(e, "ctrSet");
121
121
  v.setupLifecycle();
122
- const r = v.getStyle(), w = O(() => re(e.conf.options)), c = te({
122
+ const r = v.getStyle(), x = O(() => re(e.conf.options)), c = te({
123
123
  authorized: { type: "black_list", list: [] },
124
124
  password: ""
125
- }), s = V([]), d = V(null), x = V(!0), $ = O(() => {
125
+ }), s = V([]), d = V(null), w = V(!0), $ = O(() => {
126
126
  var t;
127
127
  return ((t = e.conf.data) == null ? void 0 : t.length) === 1;
128
128
  }), U = (t) => !me(c.authorized, t.command), N = O(() => s.value.filter((t) => t).length === 0);
@@ -134,7 +134,7 @@ const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
134
134
  const F = () => {
135
135
  var a;
136
136
  const { options: t } = e.conf, i = ((a = t == null ? void 0 : t.method) == null ? void 0 : a.value) || "alway";
137
- i === "alway" || i === "once" && x.value ? d.value.modal.visible = !0 : k();
137
+ i === "alway" || i === "once" && w.value ? d.value.modal.visible = !0 : k();
138
138
  }, k = () => {
139
139
  var m, y;
140
140
  const { common: t, data: i, options: a } = e.conf, u = JSON.parse(sessionStorage.getItem(ne) || "{}") || {}, n = t.useAlias ? u[t.object_alias] : t.object_id || e.uid;
@@ -149,7 +149,7 @@ const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
149
149
  rule: ((m = a == null ? void 0 : a.method) == null ? void 0 : m.value) || "alway"
150
150
  };
151
151
  L.platform((_) => {
152
- _.code === 200 && (R.success(_.msg), d.value.modal.visible = !1, x.value = !1);
152
+ _.code === 200 && (R.success(_.msg), d.value.modal.visible = !1, w.value = !1);
153
153
  }, S);
154
154
  } else {
155
155
  const S = [];
@@ -164,7 +164,7 @@ const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
164
164
  rule: ((y = a == null ? void 0 : a.method) == null ? void 0 : y.value) || "alway"
165
165
  };
166
166
  L.platform((b) => {
167
- b.code === 200 && (R.success(b.msg), d.value.modal.visible = !1, x.value = !1);
167
+ b.code === 200 && (R.success(b.msg), d.value.modal.visible = !1, w.value = !1);
168
168
  }, _);
169
169
  }
170
170
  };
@@ -177,7 +177,7 @@ const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
177
177
  }, [
178
178
  p("div", {
179
179
  class: "mix-title flex-1",
180
- style: g(w.value)
180
+ style: g(x.value)
181
181
  }, [
182
182
  p("div", he, T(l.conf.caption || l.conf.name), 1)
183
183
  ], 4),
@@ -229,7 +229,7 @@ const he = { class: "font-[600]" }, ve = { class: "submint" }, be = {
229
229
  ], 64);
230
230
  };
231
231
  }
232
- })), je = /* @__PURE__ */ ce(we, [["__scopeId", "data-v-9fb911b4"]]);
232
+ })), je = /* @__PURE__ */ ce(xe, [["__scopeId", "data-v-9fb911b4"]]);
233
233
  export {
234
234
  je as default
235
235
  };
@@ -28,10 +28,10 @@ var _ = (s, e, t) => new Promise((d, u) => {
28
28
  });
29
29
  import { defineComponent as Z, reactive as M, ref as T, computed as W, openBlock as S, createElementBlock as x, Fragment as E, createElementVNode as r, normalizeStyle as h, unref as m, toDisplayString as F, renderList as G, normalizeClass as N, renderSlot as J, createVNode as K } from "vue";
30
30
  import "html2canvas";
31
- import { B as Y } from "./BaseComponent-B38Blgw3.js";
32
- import { a1 as q, w as Q, a as X, _ as t1 } from "./index-BbXEpgom.js";
31
+ import { B as Y } from "./BaseComponent-7Sa7XOg-.js";
32
+ import { a2 as q, x as Q, a as X, _ as t1 } from "./index-DUL649KZ.js";
33
33
  import { g as e1 } from "./titleStyle-BT5GlpAb.js";
34
- import { _ as o1, g as s1, c as i1 } from "./mix-control-modal-BEXucxt5.js";
34
+ import { _ as o1, g as s1, c as i1 } from "./mix-control-modal-CGLYKUCc.js";
35
35
  import { ElMessage as V } from "element-plus";
36
36
  const l1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%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(-1145.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", a1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%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='数据大屏备份-2'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", n1 = { class: "mix-body" }, c1 = { class: "switch-wrap" }, r1 = { class: "name" }, d1 = ["onClick"], u1 = ["onClick"], p1 = "--", g1 = {
37
37
  DEFAULT_ICON: l1,
@@ -1 +1 @@
1
- "use strict";var V=Object.defineProperty,A=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols,T=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,P=Reflect.get;var k=(l,o,t)=>o in l?V(l,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[o]=t,z=(l,o)=>{for(var t in o||(o={}))F.call(o,t)&&k(l,t,o[t]);if(b)for(var t of b(o))B.call(o,t)&&k(l,t,o[t]);return l},O=(l,o)=>A(l,M(o));var C=(l,o,t)=>P(T(l),t,o);var w=(l,o,t)=>new Promise((d,u)=>{var f=s=>{try{m(t.next(s))}catch(g){u(g)}},p=s=>{try{m(t.throw(s))}catch(g){u(g)}},m=s=>s.done?d(s.value):Promise.resolve(s.value).then(f,p);m((t=t.apply(l,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-9njJjeix.cjs"),h=require("./index-Bo49zvKb.cjs"),D=require("./titleStyle-NSnz6cUg.cjs"),S=require("./mix-control-modal-aUWGjwZP.cjs"),E=require("element-plus"),j="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%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(-1145.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",R="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%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='数据大屏备份-2'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",H={class:"mix-body"},q={class:"switch-wrap"},U={class:"name"},$=["onClick"],Z=["onClick"],W="--",G={DEFAULT_ICON:j,ACTIVE_ICON:R,NAME_CN:"开关",NAME_EN:"Switch",ORDER:1,PLATFORM:["pc","screen","mobile"]},J={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,itemHeight:32,radiusSize:8,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}},L=[{command:"Control_01",status_name:"状态",status_fv:"",start:"",stop:""}],K=["status_fv","status_name","command","start","stop"],Y=["mosaic"],Q={useAlias:!1,multiObject:!1,hideMultiObject:!0},X={DEFAULT:G,OPTIONS:J,DATA:L,PARAMS:K,SOURCE:Y,COMMON:Q},e1=e.defineComponent(O(z({},X),{__name:"ctrSwitch",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(l){const o=l,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),d=e.reactive({mode:"",item:{},rule:""}),u=e.ref(null),f=e.ref(!0);class p extends I.BaseComponent{extractStyles(){const{options:n}=this.props.conf;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),titleSize:this.getOptionValue("titleSize",16),textSize:this.getOptionValue("textSize",14),itemHeight:this.getOptionValue("itemHeight",32),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return w(this,null,function*(){C(p.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:L})}onPreview(){return w(this,null,function*(){yield C(p.prototype,this,"onPreview").call(this);const n=yield S.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){if(!n)return;const{data:i}=this.props.conf;i.forEach(a=>{const r=this.extractDataValue(n,a.status_fv);a.value=r!=null?r:W})}}const m=new p(o,"ctrSwitch");m.setupLifecycle();const s=m.getStyle(),g=e.computed(()=>D.generateTitleStyle(o.conf.options)),v=c=>!S.checkPermission(t.authorized,c.command),_=(c,n)=>{var r;if(v(n)){E.ElMessage.warning("无权限操作");return}const{options:i}=o.conf;let a=((r=i==null?void 0:i.method)==null?void 0:r.value)||"alway";d.mode=c,d.item=n,d.rule=a,a==="alway"||a==="once"&&f.value?u.value.modal.visible=!0:x()},x=()=>{const{mode:c,item:n,rule:i}=d,{common:a}=o.conf,r=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let N={block_mapping:"mapping",action:"publish_command",object_id:a.useAlias?r[a.object_alias]:a.object_id||o.uid,command:n.command,value:n[c],rule:i,control:t.password};h.api.platform(y=>{y.code===200&&(E.ElMessage.success(y.msg),u.value.modal.visible=!1,f.value=!1)},N)};return(c,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("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(g.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",H,[e.createElementVNode("div",q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.data,(i,a)=>(e.openBlock(),e.createElementBlock("div",{class:"switch-item",key:a,style:e.normalizeStyle({height:`${e.unref(s).itemHeight}px`,backgroundColor:e.unref(s).bgColor,fontSize:`${e.unref(s).textSize}px`,color:e.unref(s).textColor})},[e.createElementVNode("div",U,e.toDisplayString(i.status_name),1),e.createElementVNode("div",{class:e.normalizeClass(["circle-on",{"active-on":String(i.value)&&String(i.value)===i.start}]),style:e.normalizeStyle({cursor:v(i)?"not-allowed":"pointer"}),onClick:r=>_("start",i)},null,14,$),e.createElementVNode("div",{class:e.normalizeClass(["circle-off",{"active-off":String(i.value)&&String(i.value)===i.stop}]),style:e.normalizeStyle({cursor:v(i)?"not-allowed":"pointer"}),onClick:r=>_("stop",i)},null,14,Z)],4))),128))])]),e.renderSlot(c.$slots,"default",{},void 0,!0)],4),e.createVNode(S._sfc_main,{ref_key:"controlRef",ref:u,onSubmit:x,password:t.password},null,8,["password"])],64))}})),t1=h._export_sfc(e1,[["__scopeId","data-v-c009fc5f"]]);exports.default=t1;
1
+ "use strict";var V=Object.defineProperty,A=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols,T=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,P=Reflect.get;var k=(l,o,t)=>o in l?V(l,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[o]=t,z=(l,o)=>{for(var t in o||(o={}))F.call(o,t)&&k(l,t,o[t]);if(b)for(var t of b(o))B.call(o,t)&&k(l,t,o[t]);return l},O=(l,o)=>A(l,M(o));var C=(l,o,t)=>P(T(l),t,o);var w=(l,o,t)=>new Promise((d,u)=>{var f=s=>{try{m(t.next(s))}catch(g){u(g)}},p=s=>{try{m(t.throw(s))}catch(g){u(g)}},m=s=>s.done?d(s.value):Promise.resolve(s.value).then(f,p);m((t=t.apply(l,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-BabOc6Kc.cjs"),h=require("./index-Cm7hGuPj.cjs"),D=require("./titleStyle-NSnz6cUg.cjs"),S=require("./mix-control-modal-oxp6LmrP.cjs"),E=require("element-plus"),j="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%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(-1145.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",R="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%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='数据大屏备份-2'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",H={class:"mix-body"},q={class:"switch-wrap"},U={class:"name"},$=["onClick"],Z=["onClick"],W="--",G={DEFAULT_ICON:j,ACTIVE_ICON:R,NAME_CN:"开关",NAME_EN:"Switch",ORDER:1,PLATFORM:["pc","screen","mobile"]},J={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,itemHeight:32,radiusSize:8,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}},L=[{command:"Control_01",status_name:"状态",status_fv:"",start:"",stop:""}],K=["status_fv","status_name","command","start","stop"],Y=["mosaic"],Q={useAlias:!1,multiObject:!1,hideMultiObject:!0},X={DEFAULT:G,OPTIONS:J,DATA:L,PARAMS:K,SOURCE:Y,COMMON:Q},e1=e.defineComponent(O(z({},X),{__name:"ctrSwitch",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(l){const o=l,t=e.reactive({authorized:{type:"black_list",list:[]},password:""}),d=e.reactive({mode:"",item:{},rule:""}),u=e.ref(null),f=e.ref(!0);class p extends I.BaseComponent{extractStyles(){const{options:n}=this.props.conf;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),titleSize:this.getOptionValue("titleSize",16),textSize:this.getOptionValue("textSize",14),itemHeight:this.getOptionValue("itemHeight",32),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return w(this,null,function*(){C(p.prototype,this,"init").call(this),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:L})}onPreview(){return w(this,null,function*(){yield C(p.prototype,this,"onPreview").call(this);const n=yield S.getAuthorized(this.props);t.authorized=n.authorized,t.password=n.password})}setSocketData(n){if(!n)return;const{data:i}=this.props.conf;i.forEach(a=>{const r=this.extractDataValue(n,a.status_fv);a.value=r!=null?r:W})}}const m=new p(o,"ctrSwitch");m.setupLifecycle();const s=m.getStyle(),g=e.computed(()=>D.generateTitleStyle(o.conf.options)),v=c=>!S.checkPermission(t.authorized,c.command),_=(c,n)=>{var r;if(v(n)){E.ElMessage.warning("无权限操作");return}const{options:i}=o.conf;let a=((r=i==null?void 0:i.method)==null?void 0:r.value)||"alway";d.mode=c,d.item=n,d.rule=a,a==="alway"||a==="once"&&f.value?u.value.modal.visible=!0:x()},x=()=>{const{mode:c,item:n,rule:i}=d,{common:a}=o.conf,r=JSON.parse(sessionStorage.getItem(h.ALIAS_MAPPING_KEY)||"{}");let N={block_mapping:"mapping",action:"publish_command",object_id:a.useAlias?r[a.object_alias]:a.object_id||o.uid,command:n.command,value:n[c],rule:i,control:t.password};h.api.platform(y=>{y.code===200&&(E.ElMessage.success(y.msg),u.value.modal.visible=!1,f.value=!1)},N)};return(c,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("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(g.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",H,[e.createElementVNode("div",q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.data,(i,a)=>(e.openBlock(),e.createElementBlock("div",{class:"switch-item",key:a,style:e.normalizeStyle({height:`${e.unref(s).itemHeight}px`,backgroundColor:e.unref(s).bgColor,fontSize:`${e.unref(s).textSize}px`,color:e.unref(s).textColor})},[e.createElementVNode("div",U,e.toDisplayString(i.status_name),1),e.createElementVNode("div",{class:e.normalizeClass(["circle-on",{"active-on":String(i.value)&&String(i.value)===i.start}]),style:e.normalizeStyle({cursor:v(i)?"not-allowed":"pointer"}),onClick:r=>_("start",i)},null,14,$),e.createElementVNode("div",{class:e.normalizeClass(["circle-off",{"active-off":String(i.value)&&String(i.value)===i.stop}]),style:e.normalizeStyle({cursor:v(i)?"not-allowed":"pointer"}),onClick:r=>_("stop",i)},null,14,Z)],4))),128))])]),e.renderSlot(c.$slots,"default",{},void 0,!0)],4),e.createVNode(S._sfc_main,{ref_key:"controlRef",ref:u,onSubmit:x,password:t.password},null,8,["password"])],64))}})),t1=h._export_sfc(e1,[["__scopeId","data-v-c009fc5f"]]);exports.default=t1;
@@ -1 +1 @@
1
- "use strict";var he=Object.defineProperty,Ce=Object.defineProperties;var _e=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var Be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var H=(v,d,c)=>d in v?he(v,d,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[d]=c,W=(v,d)=>{for(var c in d||(d={}))Be.call(d,c)&&H(v,c,d[c]);if(G)for(var c of G(d))Ne.call(d,c)&&H(v,c,d[c]);return v},Q=(v,d)=>Ce(v,_e(d));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const e=require("vue");require("html2canvas");const we=require("./BaseComponent-9njJjeix.cjs"),Ee=require("./index-Bo49zvKb.cjs"),Z=require("./ele-lin-icon-Dke_1AmT.cjs"),xe={key:0,class:"edit-placeholder"},De={class:"mgmt-header"},Te={class:"breadcrumb"},Se={class:"crumb-active"},Ae={class:"header-actions"},ze={class:"mgmt-tabs"},Me=["onClick"],Ue={class:"mgmt-filter-bar"},Ie={class:"filter-label"},Fe={class:"table-area"},Oe={class:"pagination-bar"},Le={class:"modal-form"},qe={class:"form-label"},Pe={class:"dialog-footer"},Re={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"基础数据管理",NAME_EN:"Data Management",ORDER:14,PLATFORM:["pc","screen"]},Ye={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},je=[],Xe=["object_id","name","fv","fvDeviceName"],$e=["mosaic"],Ge={useAlias:!1,multiObject:!1,source:"mosaic"},He={DEFAULT:Re,OPTIONS:Ye,DATA:je,PARAMS:Xe,SOURCE:$e,COMMON:Ge},We=e.defineComponent(Q(W({},He),{__name:"dataManagement",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(v){const d=v,c=["时间","安装日期","下载时间","采集时间","设置日期"],E=["北帮","南帮","东帮","西帮","中央区"],M=["陈晓晓","王大力","李工程师","张三"],F=["全部权限","仅数据查询权限","人工录入权限","基础数据管理权限"],O=["国产雷达","进口雷达","GNSS","锚索应力计","土压力计","水位计","流量计","裂缝计","震动计"],L={partition:{title:"分区管理",filters:[{label:"分区名称",key:"名称",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]}],columns:["时间","人员","名称","坐标"],addFields:["时间","人员","名称","坐标"]},device:{title:"设备管理",filters:[{label:"设备编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]},{label:"设备状态",key:"状态",type:"select",options:["全部","正常","离线"]},{label:"设备类型",key:"类型",type:"select",options:["全部",...O]}],columns:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线"],addFields:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线","状态"]},radar:{title:"雷达扫描区域管理",filters:[{label:"区域编号",key:"编号",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]},{label:"扫描区域",key:"扫描区域",type:"select",options:["全部",...E]}],columns:["时间","人员","编号","文件名称","圈定位置","扫描区域"],addFields:["时间","人员","编号","文件名称","圈定位置","扫描区域"]},virtual_point:{title:"雷达虚拟设置管理",filters:[{label:"点位编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]}],columns:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"],addFields:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"]},satellite:{title:"卫星数据管理",filters:[{label:"数据编号",key:"数据编号",type:"input"},{label:"卫星类型",key:"卫星类型",type:"input"}],columns:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"],addFields:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"]},map_info:{title:"地图信息管理",filters:[{label:"数据类型",key:"数据类型",type:"select",options:["全部","正射影像","倾斜摄影"]},{label:"采集时间",key:"采集时间",type:"datetime-local"}],columns:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"],addFields:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"]},permission:{title:"权限管理",filters:[{label:"账号名称",key:"用户名",type:"input"},{label:"角色权限",key:"角色权限",type:"select",options:["全部",...F]},{label:"授权状态",key:"授权状态",type:"select",options:["全部","已授权","未授权"]}],columns:["用户ID","用户名","角色权限","授权状态"],addFields:["用户ID","用户名","角色权限","授权状态"]}},J=Object.entries(L).map(([a,l])=>({key:a,title:l.title})),K=()=>({partition:[{时间:"2026-01-19T20:00",人员:"陈晓晓",名称:"北帮一区",坐标:"X:1200, Y:300"}],device:[{类型:"GNSS",编号:"G001",型号:"T9-Pro",安装日期:"2025-12-01T10:00",厂商:"中海达",安装位置:"E:103.5, N:30.5",所属区域:"南帮",所属监测线:"S1",状态:"正常"}],radar:[{时间:"2026-01-15T09:00",人员:"陈晓晓",编号:"RAD-AREA-001",文件名称:"20260115_东帮1区.las",圈定位置:"X:2450.55, Y:1300.12, M:1326.56, N:1256.09......",扫描区域:"东帮"},{时间:"2026-01-17T14:30",人员:"王大力",编号:"RAD-AREA-002",文件名称:"20260117_西帮1区.las",圈定位置:"X:2100.20, Y:1150.45, M:1326.56, N:1256.09......",扫描区域:"西帮"}],virtual_point:[{类型:"虚拟点",编号:"VP-001",设置日期:"2026-01-21T09:30",所属雷达:"RAD-AREA-001",设置位置:"X:500, Y:600, Z:200",所属区域:"北帮",所属监测线:"X1-1",状态:"正常"},{类型:"虚拟面域",编号:"VA-205",设置日期:"2026-01-22T14:15",所属雷达:"RAD-AREA-002",设置位置:"X:1200, Y:800 (覆盖范围)",所属区域:"南帮",所属监测线:"无",状态:"正常"}],satellite:[{ID:"SAT-001",数据名称:"区域A遥感影像",数据编号:"SAT-2023-001",下载时间:"2023-06-10T09:30","数据大小(MB)":"256.5",卫星类型:"高分七号"},{ID:"SAT-002",数据名称:"区域B地形数据",数据编号:"SAT-2023-002",下载时间:"2023-06-15T14:20","数据大小(MB)":"420.3",卫星类型:"资源三号"}],map_info:[{ID:"MAP-001",数据名称:"区域A正射影像",数据编号:"MAP-2023-001",数据类型:"正射影像",采集时间:"2023-05-20T08:00","覆盖面积(km²)":"5.2"},{ID:"MAP-002",数据名称:"区域B倾斜摄影",数据编号:"MAP-2023-002",数据类型:"倾斜摄影",采集时间:"2023-05-25T10:15","覆盖面积(km²)":"3.8"}],permission:[{用户ID:"admin",用户名:"系统管理员",角色权限:"超级管理员",授权状态:"已授权"}]});class ee extends we.BaseComponent{extractStyles(){var m,w,_,C,A,z;const l=(m=this.props.conf)==null?void 0:m.options,s=((w=l==null?void 0:l.linkChannel)==null?void 0:w.value)||"gnss",r=((_=l==null?void 0:l.customChannel)==null?void 0:_.value)||"";return{bgColor:((C=l==null?void 0:l.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((A=l==null?void 0:l.textColor)==null?void 0:A.value)||"#333333",fontSize:((z=l==null?void 0:l.fontSize)==null?void 0:z.value)||13,linkChannel:s==="custom"&&r?r:s}}onLinkEvent(l){}}const x=new ee(d,"dataManagement");x.setupLifecycle();const D=x.getStyle(),i=e.ref("partition"),y=e.computed(()=>L[i.value]),le=e.computed(()=>y.value.columns),k=e.ref({}),p=e.reactive({}),f=e.ref(null),V=e.ref([]),g=e.ref(1),T=10,U=e.ref(null),h=e.ref(!1),u=e.ref("add"),B=e.ref(-1),n=e.reactive({}),N=e.ref(!1),S=e.ref(!1),te=e.computed(()=>u.value==="add"?"新增"+y.value.title:u.value==="edit"?"编辑数据":"详情查看"),ae=e.computed(()=>{var a,l;return(l=(a=f.value)!=null?a:k.value[i.value])!=null?l:[]}),q=e.computed(()=>ae.value),P=e.computed(()=>{const a=(g.value-1)*T;return q.value.slice(a,a+T)}),oe=a=>c.includes(a),R=()=>{const a=new Date,l=a.getTimezoneOffset()*6e4;return new Date(a.getTime()-l).toISOString().slice(0,16)},ne=(a,l)=>a?c.includes(l)?a.replace("T"," "):a:"--",se=a=>["圈定位置","安装位置","设置位置"].includes(a)?200:["文件名称","数据名称"].includes(a)||c.includes(a)?160:110,re=a=>["坐标","安装位置","圈定位置","设置位置"].includes(a)?`请输入${a},每个坐标用,隔开`:`请输入${a}`,Y=a=>{const l=P.value[a];return k.value[i.value].indexOf(l)},ie=a=>{i.value=a,V.value=[],f.value=null,g.value=1,Object.keys(p).forEach(l=>delete p[l])},ue=()=>{const a=k.value[i.value];f.value=a.filter(l=>Object.keys(p).every(s=>{const r=p[s];return!r||r==="全部"?!0:l[s]?String(l[s]).toLowerCase().includes(r.toLowerCase()):!1})),V.value=[],g.value=1},de=()=>{Object.keys(p).forEach(a=>delete p[a]),f.value=null,g.value=1},ce=a=>{V.value=a},me=()=>{if(!V.value.length)return;const a=new Set(V.value);k.value[i.value]=k.value[i.value].filter(l=>!a.has(l)),f.value=null,V.value=[]},I=a=>{if(Object.keys(n).forEach(l=>delete n[l]),a!==void 0&&a>=0){const l=k.value[i.value][a];y.value.addFields.forEach(s=>{n[s]=l[s]||""})}else y.value.addFields.forEach(l=>{n[l]=c.includes(l)?R():""})},pe=()=>{u.value="add",B.value=-1,I(),N.value=!1,S.value=!1,h.value=!0},ve=a=>{u.value="edit",B.value=a,I(a),j(),h.value=!0},ke=a=>{u.value="view",B.value=a,I(a),j(),h.value=!0},j=()=>{i.value==="device"&&X(n.类型),i.value==="virtual_point"&&$(n.类型)},X=a=>{N.value=!!a&&a.includes("雷达"),N.value&&(n.所属监测线="")},$=a=>{S.value=a==="虚拟面域",S.value&&(n.所属监测线="无")},ye=()=>{const a={};y.value.addFields.forEach(l=>{a[l]=n[l]||""}),B.value>=0?k.value[i.value][B.value]=a:k.value[i.value].push(a),f.value=null,h.value=!1},Ve=()=>{var a;(a=U.value)==null||a.click()},be=()=>{var a;(a=U.value)==null||a.click()},fe=a=>{var r;if(!((r=a.target.files)==null?void 0:r[0]))return;const s={};y.value.addFields.forEach(m=>{s[m]=c.includes(m)?R():"导入-"+m}),k.value[i.value].push(s),f.value=null,a.target.value=""};return e.onMounted(()=>{x.init(),d.mode!=="edit"&&(k.value=K())}),e.onUnmounted(()=>{x.cleanup()}),(a,l)=>{const s=b.ElButton,r=b.ElOption,m=b.ElSelect,w=b.ElDatePicker,_=b.ElInput,C=b.ElTableColumn,A=b.ElTable,z=b.ElPagination,ge=b.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"data-mgmt",style:e.normalizeStyle({backgroundColor:e.unref(D).bgColor,color:e.unref(D).textColor,fontSize:e.unref(D).fontSize+"px"})},[d.mode==="edit"?(e.openBlock(),e.createElementBlock("div",xe,[...l[3]||(l[3]=[e.createElementVNode("div",{class:"placeholder-icon"},"📋",-1),e.createElementVNode("div",{class:"placeholder-title"},"基础数据管理",-1),e.createElementVNode("div",{class:"placeholder-desc"},"包含7个管理模块:分区 / 设备 / 雷达扫描区域 / 雷达虚拟设置 / 卫星数据 / 地图信息 / 权限",-1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",De,[e.createElementVNode("div",Te,[l[4]||(l[4]=e.createTextVNode("基础数据管理 / ",-1)),e.createElementVNode("span",Se,e.toDisplayString(y.value.title),1)]),e.createElementVNode("div",Ae,[e.createVNode(s,{size:"small",type:"primary",onClick:pe},{default:e.withCtx(()=>[...l[5]||(l[5]=[e.createTextVNode("+ 新增",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"success",onClick:Ve},{default:e.withCtx(()=>[...l[6]||(l[6]=[e.createTextVNode("📥 导入数据",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"danger",disabled:!V.value.length,onClick:me},{default:e.withCtx(()=>[e.createTextVNode(" 🗑️ 批量删除"+e.toDisplayString(V.value.length?` (${V.value.length})`:""),1)]),_:1},8,["disabled"]),e.createElementVNode("input",{ref_key:"importInput",ref:U,type:"file",style:{display:"none"},onChange:fe},null,544)])]),e.createElementVNode("div",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(J),t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:e.normalizeClass(["tab-item",{active:i.value===t.key}]),onClick:o=>ie(t.key)},e.toDisplayString(t.title),11,Me))),128))]),e.createElementVNode("div",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.filters,t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:"filter-group"},[e.createElementVNode("span",Ie,e.toDisplayString(t.label)+":",1),t.type==="select"?(e.openBlock(),e.createBlock(m,{key:0,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"全部",clearable:"",style:{width:"140px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((t.options||[]).filter(o=>o!=="全部"),o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):t.type==="datetime-local"?(e.openBlock(),e.createBlock(w,{key:1,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,type:"datetime",size:"small",placeholder:"选择时间",style:{width:"200px"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue"])):(e.openBlock(),e.createBlock(_,{key:2,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"输入搜索...",style:{width:"140px"},clearable:""},null,8,["modelValue","onUpdate:modelValue"]))]))),128)),e.createVNode(s,{size:"small",type:"primary",onClick:ue},{default:e.withCtx(()=>[...l[7]||(l[7]=[e.createTextVNode("查询",-1)])]),_:1}),e.createVNode(s,{size:"small",onClick:de},{default:e.withCtx(()=>[...l[8]||(l[8]=[e.createTextVNode("重置",-1)])]),_:1})]),e.createElementVNode("div",Fe,[e.createVNode(A,{data:P.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},onSelectionChange:ce},{default:e.withCtx(()=>[e.createVNode(C,{type:"selection",width:"40"}),e.createVNode(C,{label:"序号",width:"60",align:"center"},{default:e.withCtx(({$index:t})=>[e.createTextVNode(e.toDisplayString((g.value-1)*T+t+1),1)]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,t=>(e.openBlock(),e.createBlock(C,{key:t,prop:t,label:t,"min-width":se(t),align:"center"},{default:e.withCtx(({row:o})=>[e.createTextVNode(e.toDisplayString(ne(o[t],t)),1)]),_:2},1032,["prop","label","min-width"]))),128)),e.createVNode(C,{label:"操作","min-width":"120",align:"center",fixed:"right"},{default:e.withCtx(({$index:t})=>[e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ve(Y(t))},{default:e.withCtx(()=>[...l[9]||(l[9]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"]),e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ke(Y(t))},{default:e.withCtx(()=>[...l[10]||(l[10]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"]),e.createElementVNode("div",Oe,[e.createVNode(z,{small:"",layout:"prev, pager, next",total:q.value.length,"page-size":T,"current-page":g.value,"onUpdate:currentPage":l[0]||(l[0]=t=>g.value=t)},null,8,["total","current-page"])])]),e.createVNode(ge,{modelValue:h.value,"onUpdate:modelValue":l[2]||(l[2]=t=>h.value=t),title:te.value,width:"520px",top:"8vh","close-on-click-modal":!1,"destroy-on-close":"",style:e.normalizeStyle({fontSize:e.unref(D).fontSize+"px"}),class:"data-mgmt-dialog"},{footer:e.withCtx(()=>[e.createElementVNode("div",Pe,[u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:0,size:"small",type:"success",onClick:be},{default:e.withCtx(()=>[...l[11]||(l[11]=[e.createTextVNode("导入数据",-1)])]),_:1})):e.createCommentVNode("",!0),l[14]||(l[14]=e.createElementVNode("span",{style:{flex:"1"}},null,-1)),e.createVNode(s,{size:"small",onClick:l[1]||(l[1]=t=>h.value=!1)},{default:e.withCtx(()=>[...l[12]||(l[12]=[e.createTextVNode("取消",-1)])]),_:1}),u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:ye},{default:e.withCtx(()=>[...l[13]||(l[13]=[e.createTextVNode("确定",-1)])]),_:1})):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.addFields,t=>(e.openBlock(),e.createElementBlock("div",{key:t,class:"form-item"},[e.createElementVNode("label",qe,e.toDisplayString(t),1),oe(t)?(e.openBlock(),e.createBlock(w,{key:0,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,type:"datetime",size:"small",disabled:u.value==="view",style:{width:"100%"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:1,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:X},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(O,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:2,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:$},{default:e.withCtx(()=>[e.createVNode(r,{label:"虚拟点",value:"虚拟点"}),e.createVNode(r,{label:"虚拟面域",value:"虚拟面域"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="所属监测线"?(e.openBlock(),e.createBlock(m,{key:3,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||S.value,style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"无",value:"无"}),e.createVNode(r,{label:"X1-1",value:"X1-1"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="状态"||t==="授权状态"?(e.openBlock(),e.createBlock(m,{key:4,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==="状态"?["正常","离线"]:["已授权","未授权"],o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):t==="所属区域"||t==="扫描区域"?(e.openBlock(),e.createBlock(m,{key:5,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(E,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="人员"?(e.openBlock(),e.createBlock(m,{key:6,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(M,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="角色权限"?(e.openBlock(),e.createBlock(m,{key:7,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(F,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="数据类型"?(e.openBlock(),e.createBlock(m,{key:8,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"正射影像",value:"正射影像"}),e.createVNode(r,{label:"倾斜摄影",value:"倾斜摄影"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="所属监测线"?(e.openBlock(),e.createBlock(_,{key:9,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||N.value,placeholder:N.value?"雷达无需填写监测线":"请输入监测线",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):(e.openBlock(),e.createBlock(_,{key:10,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",placeholder:re(t),style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"]))]))),128))])]),_:1},8,["modelValue","title","style"])],64)),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Qe=Ee._export_sfc(We,[["__scopeId","data-v-d5bd116e"]]);exports.default=Qe;
1
+ "use strict";var he=Object.defineProperty,Ce=Object.defineProperties;var _e=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var Be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var H=(v,d,c)=>d in v?he(v,d,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[d]=c,W=(v,d)=>{for(var c in d||(d={}))Be.call(d,c)&&H(v,c,d[c]);if(G)for(var c of G(d))Ne.call(d,c)&&H(v,c,d[c]);return v},Q=(v,d)=>Ce(v,_e(d));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const e=require("vue");require("html2canvas");const we=require("./BaseComponent-BabOc6Kc.cjs"),Ee=require("./index-Cm7hGuPj.cjs"),Z=require("./ele-lin-icon-Dke_1AmT.cjs"),xe={key:0,class:"edit-placeholder"},De={class:"mgmt-header"},Te={class:"breadcrumb"},Se={class:"crumb-active"},Ae={class:"header-actions"},ze={class:"mgmt-tabs"},Me=["onClick"],Ue={class:"mgmt-filter-bar"},Ie={class:"filter-label"},Fe={class:"table-area"},Oe={class:"pagination-bar"},Le={class:"modal-form"},qe={class:"form-label"},Pe={class:"dialog-footer"},Re={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"基础数据管理",NAME_EN:"Data Management",ORDER:14,PLATFORM:["pc","screen"]},Ye={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},je=[],Xe=["object_id","name","fv","fvDeviceName"],$e=["mosaic"],Ge={useAlias:!1,multiObject:!1,source:"mosaic"},He={DEFAULT:Re,OPTIONS:Ye,DATA:je,PARAMS:Xe,SOURCE:$e,COMMON:Ge},We=e.defineComponent(Q(W({},He),{__name:"dataManagement",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(v){const d=v,c=["时间","安装日期","下载时间","采集时间","设置日期"],E=["北帮","南帮","东帮","西帮","中央区"],M=["陈晓晓","王大力","李工程师","张三"],F=["全部权限","仅数据查询权限","人工录入权限","基础数据管理权限"],O=["国产雷达","进口雷达","GNSS","锚索应力计","土压力计","水位计","流量计","裂缝计","震动计"],L={partition:{title:"分区管理",filters:[{label:"分区名称",key:"名称",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]}],columns:["时间","人员","名称","坐标"],addFields:["时间","人员","名称","坐标"]},device:{title:"设备管理",filters:[{label:"设备编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]},{label:"设备状态",key:"状态",type:"select",options:["全部","正常","离线"]},{label:"设备类型",key:"类型",type:"select",options:["全部",...O]}],columns:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线"],addFields:["类型","编号","型号","安装日期","厂商","安装位置","所属区域","所属监测线","状态"]},radar:{title:"雷达扫描区域管理",filters:[{label:"区域编号",key:"编号",type:"input"},{label:"操作人员",key:"人员",type:"select",options:["全部",...M]},{label:"扫描区域",key:"扫描区域",type:"select",options:["全部",...E]}],columns:["时间","人员","编号","文件名称","圈定位置","扫描区域"],addFields:["时间","人员","编号","文件名称","圈定位置","扫描区域"]},virtual_point:{title:"雷达虚拟设置管理",filters:[{label:"点位编号",key:"编号",type:"input"},{label:"所属区域",key:"所属区域",type:"select",options:["全部",...E]}],columns:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"],addFields:["类型","编号","设置日期","所属雷达","设置位置","所属区域","所属监测线","状态"]},satellite:{title:"卫星数据管理",filters:[{label:"数据编号",key:"数据编号",type:"input"},{label:"卫星类型",key:"卫星类型",type:"input"}],columns:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"],addFields:["ID","数据名称","数据编号","下载时间","数据大小(MB)","卫星类型"]},map_info:{title:"地图信息管理",filters:[{label:"数据类型",key:"数据类型",type:"select",options:["全部","正射影像","倾斜摄影"]},{label:"采集时间",key:"采集时间",type:"datetime-local"}],columns:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"],addFields:["ID","数据名称","数据编号","数据类型","采集时间","覆盖面积(km²)"]},permission:{title:"权限管理",filters:[{label:"账号名称",key:"用户名",type:"input"},{label:"角色权限",key:"角色权限",type:"select",options:["全部",...F]},{label:"授权状态",key:"授权状态",type:"select",options:["全部","已授权","未授权"]}],columns:["用户ID","用户名","角色权限","授权状态"],addFields:["用户ID","用户名","角色权限","授权状态"]}},J=Object.entries(L).map(([a,l])=>({key:a,title:l.title})),K=()=>({partition:[{时间:"2026-01-19T20:00",人员:"陈晓晓",名称:"北帮一区",坐标:"X:1200, Y:300"}],device:[{类型:"GNSS",编号:"G001",型号:"T9-Pro",安装日期:"2025-12-01T10:00",厂商:"中海达",安装位置:"E:103.5, N:30.5",所属区域:"南帮",所属监测线:"S1",状态:"正常"}],radar:[{时间:"2026-01-15T09:00",人员:"陈晓晓",编号:"RAD-AREA-001",文件名称:"20260115_东帮1区.las",圈定位置:"X:2450.55, Y:1300.12, M:1326.56, N:1256.09......",扫描区域:"东帮"},{时间:"2026-01-17T14:30",人员:"王大力",编号:"RAD-AREA-002",文件名称:"20260117_西帮1区.las",圈定位置:"X:2100.20, Y:1150.45, M:1326.56, N:1256.09......",扫描区域:"西帮"}],virtual_point:[{类型:"虚拟点",编号:"VP-001",设置日期:"2026-01-21T09:30",所属雷达:"RAD-AREA-001",设置位置:"X:500, Y:600, Z:200",所属区域:"北帮",所属监测线:"X1-1",状态:"正常"},{类型:"虚拟面域",编号:"VA-205",设置日期:"2026-01-22T14:15",所属雷达:"RAD-AREA-002",设置位置:"X:1200, Y:800 (覆盖范围)",所属区域:"南帮",所属监测线:"无",状态:"正常"}],satellite:[{ID:"SAT-001",数据名称:"区域A遥感影像",数据编号:"SAT-2023-001",下载时间:"2023-06-10T09:30","数据大小(MB)":"256.5",卫星类型:"高分七号"},{ID:"SAT-002",数据名称:"区域B地形数据",数据编号:"SAT-2023-002",下载时间:"2023-06-15T14:20","数据大小(MB)":"420.3",卫星类型:"资源三号"}],map_info:[{ID:"MAP-001",数据名称:"区域A正射影像",数据编号:"MAP-2023-001",数据类型:"正射影像",采集时间:"2023-05-20T08:00","覆盖面积(km²)":"5.2"},{ID:"MAP-002",数据名称:"区域B倾斜摄影",数据编号:"MAP-2023-002",数据类型:"倾斜摄影",采集时间:"2023-05-25T10:15","覆盖面积(km²)":"3.8"}],permission:[{用户ID:"admin",用户名:"系统管理员",角色权限:"超级管理员",授权状态:"已授权"}]});class ee extends we.BaseComponent{extractStyles(){var m,w,_,C,A,z;const l=(m=this.props.conf)==null?void 0:m.options,s=((w=l==null?void 0:l.linkChannel)==null?void 0:w.value)||"gnss",r=((_=l==null?void 0:l.customChannel)==null?void 0:_.value)||"";return{bgColor:((C=l==null?void 0:l.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((A=l==null?void 0:l.textColor)==null?void 0:A.value)||"#333333",fontSize:((z=l==null?void 0:l.fontSize)==null?void 0:z.value)||13,linkChannel:s==="custom"&&r?r:s}}onLinkEvent(l){}}const x=new ee(d,"dataManagement");x.setupLifecycle();const D=x.getStyle(),i=e.ref("partition"),y=e.computed(()=>L[i.value]),le=e.computed(()=>y.value.columns),k=e.ref({}),p=e.reactive({}),f=e.ref(null),V=e.ref([]),g=e.ref(1),T=10,U=e.ref(null),h=e.ref(!1),u=e.ref("add"),B=e.ref(-1),n=e.reactive({}),N=e.ref(!1),S=e.ref(!1),te=e.computed(()=>u.value==="add"?"新增"+y.value.title:u.value==="edit"?"编辑数据":"详情查看"),ae=e.computed(()=>{var a,l;return(l=(a=f.value)!=null?a:k.value[i.value])!=null?l:[]}),q=e.computed(()=>ae.value),P=e.computed(()=>{const a=(g.value-1)*T;return q.value.slice(a,a+T)}),oe=a=>c.includes(a),R=()=>{const a=new Date,l=a.getTimezoneOffset()*6e4;return new Date(a.getTime()-l).toISOString().slice(0,16)},ne=(a,l)=>a?c.includes(l)?a.replace("T"," "):a:"--",se=a=>["圈定位置","安装位置","设置位置"].includes(a)?200:["文件名称","数据名称"].includes(a)||c.includes(a)?160:110,re=a=>["坐标","安装位置","圈定位置","设置位置"].includes(a)?`请输入${a},每个坐标用,隔开`:`请输入${a}`,Y=a=>{const l=P.value[a];return k.value[i.value].indexOf(l)},ie=a=>{i.value=a,V.value=[],f.value=null,g.value=1,Object.keys(p).forEach(l=>delete p[l])},ue=()=>{const a=k.value[i.value];f.value=a.filter(l=>Object.keys(p).every(s=>{const r=p[s];return!r||r==="全部"?!0:l[s]?String(l[s]).toLowerCase().includes(r.toLowerCase()):!1})),V.value=[],g.value=1},de=()=>{Object.keys(p).forEach(a=>delete p[a]),f.value=null,g.value=1},ce=a=>{V.value=a},me=()=>{if(!V.value.length)return;const a=new Set(V.value);k.value[i.value]=k.value[i.value].filter(l=>!a.has(l)),f.value=null,V.value=[]},I=a=>{if(Object.keys(n).forEach(l=>delete n[l]),a!==void 0&&a>=0){const l=k.value[i.value][a];y.value.addFields.forEach(s=>{n[s]=l[s]||""})}else y.value.addFields.forEach(l=>{n[l]=c.includes(l)?R():""})},pe=()=>{u.value="add",B.value=-1,I(),N.value=!1,S.value=!1,h.value=!0},ve=a=>{u.value="edit",B.value=a,I(a),j(),h.value=!0},ke=a=>{u.value="view",B.value=a,I(a),j(),h.value=!0},j=()=>{i.value==="device"&&X(n.类型),i.value==="virtual_point"&&$(n.类型)},X=a=>{N.value=!!a&&a.includes("雷达"),N.value&&(n.所属监测线="")},$=a=>{S.value=a==="虚拟面域",S.value&&(n.所属监测线="无")},ye=()=>{const a={};y.value.addFields.forEach(l=>{a[l]=n[l]||""}),B.value>=0?k.value[i.value][B.value]=a:k.value[i.value].push(a),f.value=null,h.value=!1},Ve=()=>{var a;(a=U.value)==null||a.click()},be=()=>{var a;(a=U.value)==null||a.click()},fe=a=>{var r;if(!((r=a.target.files)==null?void 0:r[0]))return;const s={};y.value.addFields.forEach(m=>{s[m]=c.includes(m)?R():"导入-"+m}),k.value[i.value].push(s),f.value=null,a.target.value=""};return e.onMounted(()=>{x.init(),d.mode!=="edit"&&(k.value=K())}),e.onUnmounted(()=>{x.cleanup()}),(a,l)=>{const s=b.ElButton,r=b.ElOption,m=b.ElSelect,w=b.ElDatePicker,_=b.ElInput,C=b.ElTableColumn,A=b.ElTable,z=b.ElPagination,ge=b.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"data-mgmt",style:e.normalizeStyle({backgroundColor:e.unref(D).bgColor,color:e.unref(D).textColor,fontSize:e.unref(D).fontSize+"px"})},[d.mode==="edit"?(e.openBlock(),e.createElementBlock("div",xe,[...l[3]||(l[3]=[e.createElementVNode("div",{class:"placeholder-icon"},"📋",-1),e.createElementVNode("div",{class:"placeholder-title"},"基础数据管理",-1),e.createElementVNode("div",{class:"placeholder-desc"},"包含7个管理模块:分区 / 设备 / 雷达扫描区域 / 雷达虚拟设置 / 卫星数据 / 地图信息 / 权限",-1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",De,[e.createElementVNode("div",Te,[l[4]||(l[4]=e.createTextVNode("基础数据管理 / ",-1)),e.createElementVNode("span",Se,e.toDisplayString(y.value.title),1)]),e.createElementVNode("div",Ae,[e.createVNode(s,{size:"small",type:"primary",onClick:pe},{default:e.withCtx(()=>[...l[5]||(l[5]=[e.createTextVNode("+ 新增",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"success",onClick:Ve},{default:e.withCtx(()=>[...l[6]||(l[6]=[e.createTextVNode("📥 导入数据",-1)])]),_:1}),e.createVNode(s,{size:"small",type:"danger",disabled:!V.value.length,onClick:me},{default:e.withCtx(()=>[e.createTextVNode(" 🗑️ 批量删除"+e.toDisplayString(V.value.length?` (${V.value.length})`:""),1)]),_:1},8,["disabled"]),e.createElementVNode("input",{ref_key:"importInput",ref:U,type:"file",style:{display:"none"},onChange:fe},null,544)])]),e.createElementVNode("div",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(J),t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:e.normalizeClass(["tab-item",{active:i.value===t.key}]),onClick:o=>ie(t.key)},e.toDisplayString(t.title),11,Me))),128))]),e.createElementVNode("div",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.filters,t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:"filter-group"},[e.createElementVNode("span",Ie,e.toDisplayString(t.label)+":",1),t.type==="select"?(e.openBlock(),e.createBlock(m,{key:0,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"全部",clearable:"",style:{width:"140px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((t.options||[]).filter(o=>o!=="全部"),o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):t.type==="datetime-local"?(e.openBlock(),e.createBlock(w,{key:1,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,type:"datetime",size:"small",placeholder:"选择时间",style:{width:"200px"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue"])):(e.openBlock(),e.createBlock(_,{key:2,modelValue:p[t.key],"onUpdate:modelValue":o=>p[t.key]=o,size:"small",placeholder:"输入搜索...",style:{width:"140px"},clearable:""},null,8,["modelValue","onUpdate:modelValue"]))]))),128)),e.createVNode(s,{size:"small",type:"primary",onClick:ue},{default:e.withCtx(()=>[...l[7]||(l[7]=[e.createTextVNode("查询",-1)])]),_:1}),e.createVNode(s,{size:"small",onClick:de},{default:e.withCtx(()=>[...l[8]||(l[8]=[e.createTextVNode("重置",-1)])]),_:1})]),e.createElementVNode("div",Fe,[e.createVNode(A,{data:P.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},onSelectionChange:ce},{default:e.withCtx(()=>[e.createVNode(C,{type:"selection",width:"40"}),e.createVNode(C,{label:"序号",width:"60",align:"center"},{default:e.withCtx(({$index:t})=>[e.createTextVNode(e.toDisplayString((g.value-1)*T+t+1),1)]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,t=>(e.openBlock(),e.createBlock(C,{key:t,prop:t,label:t,"min-width":se(t),align:"center"},{default:e.withCtx(({row:o})=>[e.createTextVNode(e.toDisplayString(ne(o[t],t)),1)]),_:2},1032,["prop","label","min-width"]))),128)),e.createVNode(C,{label:"操作","min-width":"120",align:"center",fixed:"right"},{default:e.withCtx(({$index:t})=>[e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ve(Y(t))},{default:e.withCtx(()=>[...l[9]||(l[9]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"]),e.createVNode(s,{link:"",type:"primary",size:"small",onClick:o=>ke(Y(t))},{default:e.withCtx(()=>[...l[10]||(l[10]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"]),e.createElementVNode("div",Oe,[e.createVNode(z,{small:"",layout:"prev, pager, next",total:q.value.length,"page-size":T,"current-page":g.value,"onUpdate:currentPage":l[0]||(l[0]=t=>g.value=t)},null,8,["total","current-page"])])]),e.createVNode(ge,{modelValue:h.value,"onUpdate:modelValue":l[2]||(l[2]=t=>h.value=t),title:te.value,width:"520px",top:"8vh","close-on-click-modal":!1,"destroy-on-close":"",style:e.normalizeStyle({fontSize:e.unref(D).fontSize+"px"}),class:"data-mgmt-dialog"},{footer:e.withCtx(()=>[e.createElementVNode("div",Pe,[u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:0,size:"small",type:"success",onClick:be},{default:e.withCtx(()=>[...l[11]||(l[11]=[e.createTextVNode("导入数据",-1)])]),_:1})):e.createCommentVNode("",!0),l[14]||(l[14]=e.createElementVNode("span",{style:{flex:"1"}},null,-1)),e.createVNode(s,{size:"small",onClick:l[1]||(l[1]=t=>h.value=!1)},{default:e.withCtx(()=>[...l[12]||(l[12]=[e.createTextVNode("取消",-1)])]),_:1}),u.value!=="view"?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:ye},{default:e.withCtx(()=>[...l[13]||(l[13]=[e.createTextVNode("确定",-1)])]),_:1})):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.addFields,t=>(e.openBlock(),e.createElementBlock("div",{key:t,class:"form-item"},[e.createElementVNode("label",qe,e.toDisplayString(t),1),oe(t)?(e.openBlock(),e.createBlock(w,{key:0,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,type:"datetime",size:"small",disabled:u.value==="view",style:{width:"100%"},"value-format":"YYYY-MM-DDTHH:mm"},null,8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:1,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:X},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(O,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="类型"?(e.openBlock(),e.createBlock(m,{key:2,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"},onChange:$},{default:e.withCtx(()=>[e.createVNode(r,{label:"虚拟点",value:"虚拟点"}),e.createVNode(r,{label:"虚拟面域",value:"虚拟面域"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="virtual_point"&&t==="所属监测线"?(e.openBlock(),e.createBlock(m,{key:3,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||S.value,style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"无",value:"无"}),e.createVNode(r,{label:"X1-1",value:"X1-1"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="状态"||t==="授权状态"?(e.openBlock(),e.createBlock(m,{key:4,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==="状态"?["正常","离线"]:["已授权","未授权"],o=>(e.openBlock(),e.createBlock(r,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):t==="所属区域"||t==="扫描区域"?(e.openBlock(),e.createBlock(m,{key:5,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(E,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="人员"?(e.openBlock(),e.createBlock(m,{key:6,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(M,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="角色权限"?(e.openBlock(),e.createBlock(m,{key:7,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(F,o=>e.createVNode(r,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):t==="数据类型"?(e.openBlock(),e.createBlock(m,{key:8,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",style:{width:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{label:"正射影像",value:"正射影像"}),e.createVNode(r,{label:"倾斜摄影",value:"倾斜摄影"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])):i.value==="device"&&t==="所属监测线"?(e.openBlock(),e.createBlock(_,{key:9,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view"||N.value,placeholder:N.value?"雷达无需填写监测线":"请输入监测线",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):(e.openBlock(),e.createBlock(_,{key:10,modelValue:n[t],"onUpdate:modelValue":o=>n[t]=o,size:"small",disabled:u.value==="view",placeholder:re(t),style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"]))]))),128))])]),_:1},8,["modelValue","title","style"])],64)),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Qe=Ee._export_sfc(We,[["__scopeId","data-v-d5bd116e"]]);exports.default=Qe;
@@ -23,8 +23,8 @@ import "element-plus/es/components/option/style/css";
23
23
  import "element-plus/es/components/button/style/css";
24
24
  import { defineComponent as We, ref as V, computed as I, reactive as ie, onMounted as Qe, onUnmounted as Ze, openBlock as o, createElementBlock as k, normalizeStyle as de, unref as x, createElementVNode as p, Fragment as h, createTextVNode as f, toDisplayString as M, createVNode as u, withCtx as s, renderList as w, normalizeClass as qe, createBlock as r, createCommentVNode as re, renderSlot as Je } from "vue";
25
25
  import "html2canvas";
26
- import { B as Ke } from "./BaseComponent-B38Blgw3.js";
27
- import { _ as el } from "./index-BbXEpgom.js";
26
+ import { B as Ke } from "./BaseComponent-7Sa7XOg-.js";
27
+ import { _ as el } from "./index-DUL649KZ.js";
28
28
  import { A as ll, D as tl } from "./ele-lin-icon-Dax-ZiWV.js";
29
29
  const al = {
30
30
  key: 0,