mixdashboards 1.0.71 → 1.0.73

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 (470) hide show
  1. package/dist/{BaseComponent-D5tlYehc.js → BaseComponent-CBagahPU.js} +138 -109
  2. package/dist/BaseComponent-Chnv4fBT.cjs +1 -0
  3. package/dist/{EChartComponentBase-CAabYXSj.js → EChartComponentBase-cFfawl6h.js} +2 -2
  4. package/dist/{EChartComponentBase-D4wMej9X.cjs → EChartComponentBase-dLE5F7Tt.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel-Th4ZNdCb.js → EmergencyPlanPanel--jTGG89o.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-D96XjhRq.cjs → EmergencyPlanPanel-BJb-Bbxh.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-rn2Bp0Gx.cjs → HistoryPlanDialog-C-QPdV4V.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-D2mQLhkO.js → HistoryPlanDialog-DerClU2U.js} +1 -1
  9. package/dist/{MonitoringMap-BZ98NYTJ.cjs → MonitoringMap-B6RMbiIS.cjs} +1 -1
  10. package/dist/{MonitoringMap-Coozb35G.js → MonitoringMap-CNaGsq83.js} +2 -2
  11. package/dist/UniverSheet-CM-vvc23.cjs +1 -0
  12. package/dist/{UniverSheet-CJCunVAM.js → UniverSheet-KI09RqKm.js} +16 -15
  13. package/dist/{accelerationChart-DacjcSHD.js → accelerationChart-D7KNk5fI.js} +61 -59
  14. package/dist/accelerationChart-HBCb2bRW.cjs +6 -0
  15. package/dist/{actionItem-d-4p5HZK.js → actionItem-BmNYzAXu.js} +48 -41
  16. package/dist/actionItem-Bx4mW0jP.cjs +1 -0
  17. package/dist/alarmLevelChart-Cvnw4z1w.cjs +2 -0
  18. package/dist/{alarmLevelChart-DddN1NVy.js → alarmLevelChart-DdSw2s7W.js} +91 -46
  19. package/dist/{alertTable-Q-Waa5jf.js → alertTable-CC3c8DFb.js} +40 -39
  20. package/dist/alertTable-hH6HA9pY.cjs +1 -0
  21. package/dist/aliasObjectSelectorDemo-C7E_fnCf.cjs +1 -0
  22. package/dist/{aliasObjectSelectorDemo-BZygQw9k.js → aliasObjectSelectorDemo-yDiavTpG.js} +11 -10
  23. package/dist/{annualRainfallChart-CthANCvn.js → annualRainfallChart-B9ar8vo8.js} +32 -30
  24. package/dist/annualRainfallChart-C6JLSPIf.cjs +1 -0
  25. package/dist/{aqi-C_HnKsjh.js → aqi-BNc5QCM3.js} +21 -19
  26. package/dist/{aqi-BFW_8xYd.cjs → aqi-DEiCVIVa.cjs} +3 -3
  27. package/dist/aqiIndass-Bowic_Pc.cjs +3 -0
  28. package/dist/{aqiIndass-NVRa3lmj.js → aqiIndass-CAGV8_Uf.js} +41 -40
  29. package/dist/{areaDeformCurve-mQiOHdtN.js → areaDeformCurve-CSpR060t.js} +51 -49
  30. package/dist/areaDeformCurve-CVy23kV2.cjs +1 -0
  31. package/dist/arrayCard-NqoQKcE9.cjs +1 -0
  32. package/dist/{arrayCard-DZitcjMs.js → arrayCard-PPDb7U6X.js} +29 -28
  33. package/dist/{audio-CDAMVEgC.js → audio-BJPFIQIr.js} +42 -41
  34. package/dist/audio-Bw-GaYe1.cjs +1 -0
  35. package/dist/{bar--JrlRud9.js → bar-C38h_mUA.js} +72 -70
  36. package/dist/{bar-C7uQADV1.cjs → bar-Cru6WosS.cjs} +2 -2
  37. package/dist/bmp-BXaEkkpa.cjs +1 -0
  38. package/dist/{bmp-DrVcnYxy.js → bmp-BnSOaFEr.js} +15 -14
  39. package/dist/box-CKuGsh2k.cjs +1 -0
  40. package/dist/{box-szcLhted.js → box-DIHVOqrV.js} +58 -57
  41. package/dist/chartConfigPanel-BVdVXbs6.cjs +1 -0
  42. package/dist/{chartConfigPanel-C32o1gyJ.js → chartConfigPanel-D1rO6SGh.js} +86 -79
  43. package/dist/{circleBar-CeL2rqMJ.cjs → circleBar-BzXqA-Cz.cjs} +3 -3
  44. package/dist/{circleBar-BmTjsLHo.js → circleBar-CBLcp4Xi.js} +27 -25
  45. package/dist/{clock-CuQpD76K.js → clock-4AMfFDGC.js} +35 -34
  46. package/dist/clock-DmWyBpo-.cjs +1 -0
  47. package/dist/clt-CmPPtp9c.cjs +1 -0
  48. package/dist/{clt-XCswxZ6i.js → clt-D5i_8-pq.js} +60 -59
  49. package/dist/cmc-8jH3DGv9.cjs +1 -0
  50. package/dist/{cmc-CXmAv6fz.js → cmc-Cjb5w3om.js} +23 -22
  51. package/dist/{cmp-Duz_v-LC.js → cmp-COJzlQPa.js} +19 -18
  52. package/dist/{cmp-DmpxjexT.cjs → cmp-CpmGtNal.cjs} +2 -2
  53. package/dist/{composite-CWgy-w61.js → composite-CsFgfxih.js} +37 -36
  54. package/dist/{composite-DdHASMFQ.cjs → composite-DLmzZNIj.cjs} +3 -3
  55. package/dist/{conclusionCard-BtB0rARK.js → conclusionCard-BQUlLFde.js} +15 -14
  56. package/dist/conclusionCard-C-TT6znN.cjs +1 -0
  57. package/dist/{controlList-C0AQ8Yb8.js → controlList-5D5UIDQL.js} +40 -38
  58. package/dist/controlList-CIwzKylK.cjs +1 -0
  59. package/dist/{controlRecordList-CSPKG1HU.js → controlRecordList-Cp5mmEQ1.js} +55 -53
  60. package/dist/controlRecordList-uEQ3ohmB.cjs +1 -0
  61. package/dist/controlRecordListAPP-B5d4x_xH.cjs +1 -0
  62. package/dist/controlRecordListAPP-p_skbQVD.js +502 -0
  63. package/dist/{crd-DQruf9o3.js → crd-8gRWMf2Y.js} +14 -13
  64. package/dist/crd-Dfl2XKAx.cjs +1 -0
  65. package/dist/{ctrBtn-jEWTt_f2.js → ctrBtn-BzmFxucy.js} +106 -107
  66. package/dist/ctrBtn-OOgL9esv.cjs +1 -0
  67. package/dist/{ctrSet-C4wCODMY.js → ctrSet-Btg2T9w6.js} +24 -23
  68. package/dist/ctrSet-CifyJt05.cjs +1 -0
  69. package/dist/ctrSwitch-6nMHbIE7.js +206 -0
  70. package/dist/ctrSwitch-C8mwxLPe.cjs +1 -0
  71. package/dist/{dataManagement-BQVZS7Hi.js → dataManagement-BZiSmktM.js} +52 -45
  72. package/dist/dataManagement-sQpuBaDz.cjs +1 -0
  73. package/dist/{dataReport-vP1LBJjE.js → dataReport-CbJzXeCE.js} +25 -24
  74. package/dist/{dataReport-DRopth3A.cjs → dataReport-D9Q9c43B.cjs} +2 -2
  75. package/dist/{dataTable-C2AgSR36.cjs → dataTable-BJ4SVFbu.cjs} +1 -1
  76. package/dist/{dataTable-B1FQ3XIq.js → dataTable-BuBB0b-A.js} +1 -1
  77. package/dist/datetime-B66VgJL1.cjs +1 -0
  78. package/dist/{datetime-DU3rzi1v.js → datetime-DO03QrXz.js} +25 -24
  79. package/dist/deepClusterSlipSurface-BqT55vkY.cjs +1 -0
  80. package/dist/{deepClusterSlipSurface-BHwB0eu9.js → deepClusterSlipSurface-DpSAXgFf.js} +45 -43
  81. package/dist/{deepDataMatrix-C3uKZmon.js → deepDataMatrix-CPrIOv5r.js} +46 -45
  82. package/dist/deepDataMatrix-DZZaTMbD.cjs +1 -0
  83. package/dist/{deepDisplacement3D-BBYgB-rK.cjs → deepDisplacement3D-Cd9nwwPt.cjs} +3 -3
  84. package/dist/{deepDisplacement3D-CDNPul6D.js → deepDisplacement3D-JlMej7-5.js} +9 -7
  85. package/dist/{deepDisplacementChart-C_pwwgIC.js → deepDisplacementChart-BiDt60xI.js} +89 -88
  86. package/dist/deepDisplacementChart-CALM3gna.cjs +5 -0
  87. package/dist/deepDisplacementChart-CEaj2bUV.cjs +6 -0
  88. package/dist/{deepDisplacementChart-C6GQHO-J.js → deepDisplacementChart-CjlGpeHj.js} +54 -52
  89. package/dist/{deepDisplacementView-C837RNer.js → deepDisplacementView-BpUw-b-i.js} +37 -36
  90. package/dist/deepDisplacementView-CoSNzN1q.cjs +8 -0
  91. package/dist/deepNodeTemperatureChart-DPN0rYir.cjs +1 -0
  92. package/dist/{deepNodeTemperatureChart-BcH3ZNi4.js → deepNodeTemperatureChart-DfZq7kLx.js} +50 -48
  93. package/dist/{deepTangentAngleChart-DSpCyIdq.js → deepTangentAngleChart-Ca01hah9.js} +92 -90
  94. package/dist/deepTangentAngleChart-Dg9PJspK.cjs +1 -0
  95. package/dist/deepTemperatureField-BqDB97SW.cjs +1 -0
  96. package/dist/{deepTemperatureField-B2qIHL1-.js → deepTemperatureField-CYBTjhEp.js} +95 -93
  97. package/dist/deepTrendChart-B5BAHTeY.cjs +1 -0
  98. package/dist/{deepTrendChart-DFGSV17a.js → deepTrendChart-DBjxV7_A.js} +56 -54
  99. package/dist/{deviceOnlineStatus-CiIFdo9I.js → deviceOnlineStatus-1eoHCl_-.js} +58 -50
  100. package/dist/deviceOnlineStatus-DHzaAzCp.cjs +2 -0
  101. package/dist/deviceStatus-4BMy4qBD.cjs +1 -0
  102. package/dist/{deviceStatus-Dd1pqVnO.js → deviceStatus-90rQa1uj.js} +61 -60
  103. package/dist/{displacementDataTable-CGIHGxye.js → displacementDataTable-BArwj-xp.js} +52 -51
  104. package/dist/displacementDataTable-BLWjiaRQ.cjs +1 -0
  105. package/dist/{displacementTrajectoryChart-RL97CTML.js → displacementTrajectoryChart-CxOPJVlD.js} +34 -32
  106. package/dist/displacementTrajectoryChart-DfJMOCFJ.cjs +22 -0
  107. package/dist/{displacementTrendChart-Bqnv7hiP.js → displacementTrendChart-4E6cDsX8.js} +49 -48
  108. package/dist/displacementTrendChart-Cuxa5iTp.cjs +5 -0
  109. package/dist/{dxf-BQoArgPS.cjs → dxf-BgklkksV.cjs} +1 -1
  110. package/dist/{dxf-DBu1iA-r.js → dxf-BogwbJID.js} +5 -4
  111. package/dist/{dzc-DMVPjosV.cjs → dzc-CApfzriC.cjs} +2 -2
  112. package/dist/{dzc-7tLxe18d.js → dzc-D7tTBLaA.js} +24 -22
  113. package/dist/emergencyPlan-BuFz4XFc.cjs +1 -0
  114. package/dist/{emergencyPlan-C9Edkw51.js → emergencyPlan-CjbuX-N5.js} +19 -18
  115. package/dist/evn-BcSenXF3.cjs +1 -0
  116. package/dist/{evn-CeLoYCUr.js → evn-DTPm72ZM.js} +23 -22
  117. package/dist/evolutionChart-CrwR8i40.cjs +1 -0
  118. package/dist/{evolutionChart-DAlncdLU.js → evolutionChart-D1dVKWOt.js} +25 -23
  119. package/dist/{fileViewer-BFMFEN2f.js → fileViewer-BNHwlZRa.js} +57 -56
  120. package/dist/fileViewer-BUuST3Rp.cjs +1 -0
  121. package/dist/filterBar-BJzjPFFg.cjs +1 -0
  122. package/dist/{filterBar-qJJKdxYE.js → filterBar-CRJinh5K.js} +44 -43
  123. package/dist/fireCombustionCurve-BGdJ1ybj.cjs +1 -0
  124. package/dist/{fireCombustionCurve-DyRikhHw.js → fireCombustionCurve-BZ6qJ1kq.js} +69 -67
  125. package/dist/fireFilterBar-DZejT0oL.cjs +1 -0
  126. package/dist/{fireFilterBar-DkjBGPXa.js → fireFilterBar-KvvbsCsZ.js} +25 -24
  127. package/dist/{fireHistoryTable-ldXil5up.js → fireHistoryTable-80ygqnOG.js} +73 -65
  128. package/dist/fireHistoryTable-CMSGKb3w.cjs +3 -0
  129. package/dist/gag-1bvAZ5m6.cjs +1 -0
  130. package/dist/{gag-KZfFHn72.js → gag-D2obj7AF.js} +30 -28
  131. package/dist/{gasStationList-Btoo_olJ.js → gasStationList-DM-laJsi.js} +527 -526
  132. package/dist/gasStationList-DjJtXnqL.cjs +1 -0
  133. package/dist/{geo3dViewer-Cif9uFqd.cjs → geo3dViewer-CL_89mQf.cjs} +1 -1
  134. package/dist/{geo3dViewer-iZhkCiTP.js → geo3dViewer-FhmMIvMJ.js} +12 -5
  135. package/dist/{glbModel-MJZgDSJf.js → glbModel-B0nWYYJQ.js} +19 -18
  136. package/dist/{glbModel-2xydaxDT.cjs → glbModel-DakMJal6.cjs} +3 -3
  137. package/dist/{globalObjectSelector-CHtYGpi9.js → globalObjectSelector-Gv4srHhp.js} +79 -78
  138. package/dist/globalObjectSelector-jNzZxdnL.cjs +1 -0
  139. package/dist/{gnssFilterBar-CPis6bUI.js → gnssFilterBar-C4rpyNw3.js} +70 -63
  140. package/dist/gnssFilterBar-kEIW7Tjs.cjs +1 -0
  141. package/dist/{gnssHistoryTable-kHZY48EZ.js → gnssHistoryTable-CyMwQJ7_.js} +58 -50
  142. package/dist/gnssHistoryTable-DRKlP8-b.cjs +3 -0
  143. package/dist/{gnssMapView-BNIkieqL.cjs → gnssMapView-DpExCi0x.cjs} +4 -4
  144. package/dist/{gnssMapView-DXP8yz0v.js → gnssMapView-EVufCGrW.js} +174 -167
  145. package/dist/{gnssSectionProfile-DEUDEvJ1.js → gnssSectionProfile-CaJwF9wp.js} +41 -34
  146. package/dist/gnssSectionProfile-DdcOMdNC.cjs +1 -0
  147. package/dist/{gnssTimeSeriesChart-C_xqd0su.js → gnssTimeSeriesChart-iffDvMNx.js} +57 -49
  148. package/dist/gnssTimeSeriesChart-y11Y8k2-.cjs +1 -0
  149. package/dist/{gnssXYTrajectory-GqgFw_qK.js → gnssXYTrajectory-C_1fuLWn.js} +53 -45
  150. package/dist/gnssXYTrajectory-DGBGGDwi.cjs +5 -0
  151. package/dist/grd-C4hCrpvH.cjs +1 -0
  152. package/dist/{grd-QCuVN1jE.js → grd-FfuMQJb7.js} +43 -42
  153. package/dist/{grdIndass-BEcfZTYw.js → grdIndass-BTbZmPLZ.js} +30 -29
  154. package/dist/grdIndass-CyuRKD5H.cjs +1 -0
  155. package/dist/{grg-CMVrF5tB.js → grg-CcnI5kRY.js} +27 -26
  156. package/dist/grg-Cuxa17d6.cjs +1 -0
  157. package/dist/gridview-CKjBuTRq.cjs +1 -0
  158. package/dist/{gridview-Cd3Tqzph.js → gridview-ffVc5Wvg.js} +32 -31
  159. package/dist/groundwaterFilterBar-D3l7GLVY.cjs +1 -0
  160. package/dist/{groundwaterFilterBar-D7lrbzDC.js → groundwaterFilterBar-DaPR-kbl.js} +13 -12
  161. package/dist/groundwaterProfileChart-BxJKIPXF.cjs +11 -0
  162. package/dist/{groundwaterProfileChart-Bjtqz-Zv.js → groundwaterProfileChart-DoSx7WWp.js} +42 -40
  163. package/dist/groundwaterTimeCurve-Bp5MxM9k.cjs +1 -0
  164. package/dist/{groundwaterTimeCurve-Bu6vgAaC.js → groundwaterTimeCurve-D-SdVYeq.js} +57 -55
  165. package/dist/{groupCard-CPvAsuPb.cjs → groupCard-BzUQ8xY0.cjs} +1 -1
  166. package/dist/{groupCard-DQvEe6cc.js → groupCard-COMEkzIb.js} +29 -28
  167. package/dist/headerBar-iFe0YQKE.cjs +1 -0
  168. package/dist/{headerBar-CGOtSvFn.js → headerBar-ouXO8bzC.js} +48 -47
  169. package/dist/{history-D6C3tSut.js → history-BZ869y2d.js} +18 -18
  170. package/dist/{history-9ToM-rJ6.cjs → history-MxYUUwkm.cjs} +1 -1
  171. package/dist/index-DVqMfQVc.cjs +612 -0
  172. package/dist/{index-Bdq33405.js → index-DwPJu6XM.js} +1159 -1128
  173. package/dist/{insarDeformChart-Ls-cdqaP.js → insarDeformChart-5BhCUq8L.js} +24 -17
  174. package/dist/insarDeformChart-Ca3AMsBk.cjs +1 -0
  175. package/dist/{insarImageViewer-Dnke9JDG.js → insarImageViewer-DHNxmLpa.js} +41 -34
  176. package/dist/insarImageViewer-DWPsoHz6.cjs +1 -0
  177. package/dist/{kds-B4BKGG0r.js → kds-BYZC4pIM.js} +57 -50
  178. package/dist/{kds-BjX5tXhF.cjs → kds-Dpf_3WWj.cjs} +2 -2
  179. package/dist/{kpiCard-C77vHJ_E.js → kpiCard-CStPtl-c.js} +5 -4
  180. package/dist/kpiCard-OLJgA48-.cjs +2 -0
  181. package/dist/{landslideMap-BEkbnCqP.js → landslideMap-BUq0x7rd.js} +34 -33
  182. package/dist/landslideMap-JTdoQjW-.cjs +1 -0
  183. package/dist/{landslideWarning-C5upI2cf.js → landslideWarning-VAn9XGUj.js} +55 -54
  184. package/dist/landslideWarning-ZA5LCsIr.cjs +1 -0
  185. package/dist/{layerTabs-DoGw1Jfv.js → layerTabs-CAJ6f-2W.js} +40 -38
  186. package/dist/layerTabs-CdhowHB1.cjs +1 -0
  187. package/dist/{leaflet-src-BUWIqhPn.cjs → leaflet-src-CxFQ_Cn7.cjs} +1 -1
  188. package/dist/{leaflet-src-DFE_g2gF.js → leaflet-src-DNO2-OsP.js} +1 -1
  189. package/dist/{lerc-CXc9KSRL.js → lerc-bF2jqjoV.js} +2 -2
  190. package/dist/{lerc-BBgQP785.cjs → lerc-qU4WKXeS.cjs} +1 -1
  191. package/dist/{lin-ClO2MqZl.cjs → lin-BHI2KgyW.cjs} +2 -2
  192. package/dist/{lin-Difz8N88.js → lin-DbQw7wZw.js} +20 -18
  193. package/dist/linIndass-CIrObeZT.cjs +2 -0
  194. package/dist/{linIndass-DqXVOBh3.js → linIndass-Cd9Hjzs_.js} +31 -30
  195. package/dist/lst-BRsEe-Hq.cjs +1 -0
  196. package/dist/{lst-4RMMZZkY.js → lst-C3C2m1v_.js} +40 -39
  197. package/dist/{manualEntry-B3_4Z-Lj.js → manualEntry-B8TDMcDg.js} +29 -22
  198. package/dist/manualEntry-C3_WtYz8.cjs +1 -0
  199. package/dist/{mapBackground-B3OHQsXZ.js → mapBackground-BrVIQUcT.js} +21 -20
  200. package/dist/{mapBackground-Bmt-oZt6.cjs → mapBackground-Du7R_ICY.cjs} +2 -2
  201. package/dist/{mappingList-DVj7H206.js → mappingList-BpJUawmv.js} +22 -20
  202. package/dist/mappingList-C5OZ8oUx.cjs +1 -0
  203. package/dist/{markdownViewer-fheM5uV4.js → markdownViewer-CoRrvdY7.js} +16 -15
  204. package/dist/{markdownViewer-BAuNEWRt.cjs → markdownViewer-D96bwxEt.cjs} +2 -2
  205. package/dist/materialFileUrl-CubtnHeq.js +108 -0
  206. package/dist/materialFileUrl-DfPNm265.cjs +1 -0
  207. package/dist/{mix-control-modal-BoYynGT2.cjs → mix-control-modal-DwxwW65v.cjs} +1 -1
  208. package/dist/{mix-control-modal-BBiKe4MM.js → mix-control-modal-Qg_mzyT_.js} +1 -1
  209. package/dist/{mixGrid-BUjP1qv2.js → mixGrid-CtJWul6c.js} +44 -43
  210. package/dist/mixGrid-Hj0OJjkg.cjs +1 -0
  211. package/dist/mixMap-CJzmC0IR.cjs +1 -0
  212. package/dist/{mixMap-DPIwyKuP.js → mixMap-E36SDnEa.js} +36 -35
  213. package/dist/mixModel-BMRxhvWn.cjs +3 -0
  214. package/dist/{mixModel-CIdQp4V9.js → mixModel-_McJ6OuH.js} +30 -29
  215. package/dist/{mixPie-C6OhdOCV.js → mixPie-CMOkAe9p.js} +31 -30
  216. package/dist/mixPie-MAKXeYVp.cjs +2 -0
  217. package/dist/mixdashboards.cjs +1 -1
  218. package/dist/mixdashboards.css +1 -1
  219. package/dist/mixdashboards.js +1 -1
  220. package/dist/mixiotObjectListApi-BaeBL318.js +82 -0
  221. package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +1 -0
  222. package/dist/mjpegCamera-BY7pmbDc.cjs +1 -0
  223. package/dist/{mjpegCamera-Cd1vhZ5v.js → mjpegCamera-Dc4IsJA6.js} +12 -11
  224. package/dist/monitorAlert-DVNvJyTy.cjs +1 -0
  225. package/dist/{monitorAlert-DIJtH557.js → monitorAlert-F8QFOchR.js} +45 -44
  226. package/dist/monitorData-AkPbhJ9q.cjs +1 -0
  227. package/dist/{monitorData-B6jhpzVK.js → monitorData-BzqNIdrW.js} +61 -59
  228. package/dist/{monitorSpeedChart-DF5zvxs9.js → monitorSpeedChart-348U37LW.js} +22 -21
  229. package/dist/{monitorSpeedChart-EIcGs3NX.cjs → monitorSpeedChart-DVH1xihw.cjs} +2 -2
  230. package/dist/{mxa-COxjxwpC.js → mxa-CkJjCHA-.js} +29 -27
  231. package/dist/{mxa-BfwIV49n.cjs → mxa-DShU528J.cjs} +2 -2
  232. package/dist/myValue-BCeycpdO.cjs +1 -0
  233. package/dist/{myValue-Crba15Wc.js → myValue-CEfp19i2.js} +17 -16
  234. package/dist/myValueList-CAPOW8TK.cjs +1 -0
  235. package/dist/{myValueList-m2yaIcuf.js → myValueList-y3GR4AX2.js} +41 -40
  236. package/dist/objectList-4rYQk5uq.cjs +1 -0
  237. package/dist/{objectList-BwZJzrXs.js → objectList-D16yLbzD.js} +538 -599
  238. package/dist/objectListAPP-DCwTyqFp.js +1864 -0
  239. package/dist/objectListAPP-Db5beOAM.cjs +1 -0
  240. package/dist/photo-BV6rkbWO.js +811 -0
  241. package/dist/photo-D67wLRkY.cjs +1 -0
  242. package/dist/{pie-CSLVJv0Y.cjs → pie-BeRwVkTk.cjs} +2 -2
  243. package/dist/{pie-C9MU90ON.js → pie-bNKhq6ak.js} +16 -14
  244. package/dist/{placeholder-CRARTMF4.js → placeholder-_iK4rVyU.js} +26 -25
  245. package/dist/placeholder-zByzfWaH.cjs +1 -0
  246. package/dist/{pressBtn-CkYcW1a8.js → pressBtn-B-rZPXK2.js} +124 -124
  247. package/dist/pressBtn-BjqYIPC-.cjs +1 -0
  248. package/dist/processTable-ByPlSKRJ.cjs +3 -0
  249. package/dist/{processTable-BgAhGGAq.js → processTable-s_y8uups.js} +12 -11
  250. package/dist/{progressBar-BbDFps1r.cjs → progressBar-CRdA7oJT.cjs} +1 -1
  251. package/dist/{progressBar-CIPUVeaf.js → progressBar-DskxZk1P.js} +19 -18
  252. package/dist/{progressCircle-DDc5zsd6.js → progressCircle-BE_Am-AP.js} +13 -12
  253. package/dist/{progressCircle-CgkZ1EC1.cjs → progressCircle-CHe-12Hb.cjs} +1 -1
  254. package/dist/{qrcode-CQbWGVgq.cjs → qrcode-D8cFyUpL.cjs} +1 -1
  255. package/dist/{qrcode-CCu677Ad.js → qrcode-Dgth6KwU.js} +39 -38
  256. package/dist/{raceBar-CzNGSYCt.cjs → raceBar-CeybrpCB.cjs} +3 -3
  257. package/dist/{raceBar-Cn8oPhCE.js → raceBar-DV-3KFg2.js} +18 -16
  258. package/dist/rad-BerkC70H.cjs +1 -0
  259. package/dist/{rad-D_cLWeMk.js → rad-BhsfF0XI.js} +22 -20
  260. package/dist/{radarMapViewer-BaAXjsWx.js → radarMapViewer-C2dde8EN.js} +82 -81
  261. package/dist/radarMapViewer-HWzvBTzT.cjs +1 -0
  262. package/dist/{rainfallFilterBar-Bhpadat8.js → rainfallFilterBar-CiT1mvYh.js} +22 -21
  263. package/dist/rainfallFilterBar-kuAQO0M-.cjs +1 -0
  264. package/dist/rainfallTimeCurve-7uHaSkuE.cjs +1 -0
  265. package/dist/{rainfallTimeCurve-sDYapogL.js → rainfallTimeCurve-BlOnCq2M.js} +58 -56
  266. package/dist/rangeLin-BQeWFL_E.cjs +3 -0
  267. package/dist/{rangeLin-CdMOPwMP.js → rangeLin-BvKd8kEv.js} +32 -31
  268. package/dist/realtimeEvolutionMap-BUnD3JjE.cjs +1 -0
  269. package/dist/{realtimeEvolutionMap-CIH_sZ29.js → realtimeEvolutionMap-DZ6yniwl.js} +46 -44
  270. package/dist/regionBar-mMaN5NEc.cjs +3 -0
  271. package/dist/{regionBar-VB-2GpR0.js → regionBar-vp5D52Jd.js} +14 -13
  272. package/dist/{request-BHfDxLXZ.js → request-CMbwWTDF.js} +9 -9
  273. package/dist/{request-DU8pRyvu.cjs → request-DegEaaCG.cjs} +1 -1
  274. package/dist/retainer1-CF2Tr7Zt.cjs +1 -0
  275. package/dist/{retainer1-C_109Weq.js → retainer1-Xvdlh-B_.js} +17 -16
  276. package/dist/retainer2-BQVUhgcH.cjs +1 -0
  277. package/dist/{retainer2-BiHUTumr.js → retainer2-D3a-c_BA.js} +43 -42
  278. package/dist/{retainerRecordList-Cgil_g8a.js → retainerRecordList-BJbPsJ4D.js} +47 -45
  279. package/dist/retainerRecordList-Rqnoz6_6.cjs +1 -0
  280. package/dist/retainerRecordListAPP-B4IDQK3C.cjs +1 -0
  281. package/dist/retainerRecordListAPP-CNntGyA-.js +1068 -0
  282. package/dist/{ringTopN-C9AH-t3T.js → ringTopN-BFKlXqGX.js} +18 -16
  283. package/dist/ringTopN-CsouIsk1.cjs +1 -0
  284. package/dist/{riskRegionTable-Co1uxMzf.js → riskRegionTable-B6k4uM0_.js} +26 -19
  285. package/dist/riskRegionTable-DttMvHe5.cjs +1 -0
  286. package/dist/sankey-CAuBQaYh.cjs +1 -0
  287. package/dist/{sankey-Bag0ladh.js → sankey-DEQK7uU6.js} +17 -15
  288. package/dist/{scd-D9AiOiPg.js → scd-D5TicpCZ.js} +1282 -1062
  289. package/dist/scd-qaap6hGW.cjs +1 -0
  290. package/dist/{sideMenu-869HFB0p.js → sideMenu-ByyrOOYh.js} +28 -27
  291. package/dist/sideMenu-D-73DoYb.cjs +1 -0
  292. package/dist/{slopeStability-bZ0lHLjZ.js → slopeStability-BtgMH3oW.js} +44 -42
  293. package/dist/slopeStability-CTN6Kpva.cjs +1 -0
  294. package/dist/speedCurve-C5NoQCjK.cjs +1 -0
  295. package/dist/{speedCurve-DZ52XKCk.js → speedCurve-CInn7NAC.js} +43 -41
  296. package/dist/staticLine-BC-zj5yZ.cjs +1 -0
  297. package/dist/{staticLine-CyPnmKCh.js → staticLine-CLqN4lpU.js} +51 -50
  298. package/dist/stressFilterBar-Cpfbmllu.cjs +1 -0
  299. package/dist/{stressFilterBar-BAUt2bGy.js → stressFilterBar-D_QqOHna.js} +46 -45
  300. package/dist/{stressTimeCurve-IW4ArsyA.js → stressTimeCurve-1HXHUj-F.js} +64 -62
  301. package/dist/stressTimeCurve-Bp6Cevk1.cjs +1 -0
  302. package/dist/{swiper-BPS9C2GV.cjs → swiper-B8YZ2VQ2.cjs} +1 -1
  303. package/dist/{swiper-RM0GoZkW.js → swiper-D_y4Fj_D.js} +25 -24
  304. package/dist/terminalConfigList-B39cEptG.cjs +1 -0
  305. package/dist/{terminalConfigList-n7NE5NdJ.js → terminalConfigList-CHbA4y-S.js} +38 -36
  306. package/dist/terminalList-Vf-Dbybr.cjs +1 -0
  307. package/dist/{terminalList-Byb4eLcD.js → terminalList-oJFrGVtT.js} +38 -36
  308. package/dist/terminalListAPP-CdBG8krw.cjs +1 -0
  309. package/dist/terminalListAPP-DWArp2D4.js +1366 -0
  310. package/dist/{textbox-DM1AUWw8.js → textbox-D8nmoGjG.js} +13 -12
  311. package/dist/textbox-DPoyxB4u.cjs +1 -0
  312. package/dist/{timeQueryBar-Tbd9M8UT.js → timeQueryBar-DyC0iHq9.js} +21 -20
  313. package/dist/timeQueryBar-uUGotoTx.cjs +1 -0
  314. package/dist/{timeSeries-DCV2YjC2.cjs → timeSeries-BhlqgEOq.cjs} +2 -2
  315. package/dist/{timeSeries-CdpEx6bf.js → timeSeries-U91gMDDQ.js} +66 -64
  316. package/dist/timeSeriesCurve-CiRMnZRD.cjs +1 -0
  317. package/dist/{timeSeriesCurve-C1AmF6TP.js → timeSeriesCurve-DOhIS88N.js} +68 -66
  318. package/dist/{toggleBtn-BGjXjIuK.cjs → toggleBtn-CuWwHFjD.cjs} +1 -1
  319. package/dist/{toggleBtn-XS9MjfKM.js → toggleBtn-DE35dkxx.js} +46 -44
  320. package/dist/trajectoryConfigPanel-DAbF8oE9.cjs +1 -0
  321. package/dist/{trajectoryConfigPanel-BC90nD1T.js → trajectoryConfigPanel-Ye7NY6rd.js} +35 -34
  322. package/dist/{trajectoryScatter-DF_ESBn8.js → trajectoryScatter-DL7HUNJI.js} +47 -45
  323. package/dist/trajectoryScatter-Dg99HzM3.cjs +1 -0
  324. package/dist/universalConfigPanel-1svBCvD9.cjs +1 -0
  325. package/dist/{universalConfigPanel-DjNTwJkz.js → universalConfigPanel-CkyIDl_x.js} +50 -49
  326. package/dist/{universalTable-BY9vRraC.js → universalTable--dpnyNO2.js} +56 -54
  327. package/dist/universalTable-D8w7FQbl.cjs +2 -0
  328. package/dist/useMixiotPanelSurface-CAZgexY5.cjs +1 -0
  329. package/dist/useMixiotPanelSurface-DRl3cZvc.js +22 -0
  330. package/dist/useTableBodyHeight-CwrQvi7M.js +21 -0
  331. package/dist/useTableBodyHeight-pf87uGjw.cjs +1 -0
  332. package/dist/{video-DDvDGDql.js → video-BmMSRRa_.js} +5 -4
  333. package/dist/{video-8_Sf1uz0.cjs → video-RGIZoUn6.cjs} +2 -2
  334. package/dist/videoMonitor-Bo5T0MT_.cjs +1 -0
  335. package/dist/{videoMonitor-sce5N4Q5.js → videoMonitor-uf6tt2E6.js} +34 -33
  336. package/dist/{vlu-BKeYJtOO.js → vlu-D8l5zE_P.js} +24 -23
  337. package/dist/vlu-DEo_h1qN.cjs +1 -0
  338. package/dist/warningOverview-A5AA_vCc.cjs +1 -0
  339. package/dist/{warningOverview-CG5mwtaO.js → warningOverview-CA0PikjV.js} +31 -30
  340. package/dist/{weather-CWvAqxgX.cjs → weather-D20MGzuJ.cjs} +1 -1
  341. package/dist/{weather-BrX2a1an.js → weather-DuseqeNF.js} +19 -18
  342. package/dist/{windLin-BbbsSwuF.cjs → windLin-BU6Q87dE.cjs} +1 -1
  343. package/dist/{windLin-P4Gs2aBB.js → windLin-D8AUL_dV.js} +58 -57
  344. package/package.json +120 -120
  345. package/dist/BaseComponent-CNXUpPY1.cjs +0 -1
  346. package/dist/UniverSheet-CntkzcVZ.cjs +0 -1
  347. package/dist/accelerationChart-DLV-1mpA.cjs +0 -6
  348. package/dist/actionItem-CFxzHf4E.cjs +0 -1
  349. package/dist/alarmLevelChart-DCC6D1fH.cjs +0 -2
  350. package/dist/alertTable-BREZBeS5.cjs +0 -1
  351. package/dist/aliasObjectSelectorDemo-DunKWEkT.cjs +0 -1
  352. package/dist/annualRainfallChart-BJyoUBDn.cjs +0 -1
  353. package/dist/aqiIndass-B441j8CT.cjs +0 -3
  354. package/dist/areaDeformCurve-Dj405Jil.cjs +0 -1
  355. package/dist/arrayCard-B7zb1dFi.cjs +0 -1
  356. package/dist/audio-BfsYRWbm.cjs +0 -1
  357. package/dist/bmp-DIkLqzRN.cjs +0 -1
  358. package/dist/box-kXjrgG2u.cjs +0 -1
  359. package/dist/chartConfigPanel-DN4LMy8-.cjs +0 -1
  360. package/dist/clock-EbmFBRb-.cjs +0 -1
  361. package/dist/clt-C-9xGiKs.cjs +0 -1
  362. package/dist/cmc-CFa8Q3tu.cjs +0 -1
  363. package/dist/conclusionCard-Dlg5GWlE.cjs +0 -1
  364. package/dist/controlList-C1vhlonT.cjs +0 -1
  365. package/dist/controlRecordList-BhK7KtLR.cjs +0 -1
  366. package/dist/crd-CgxqxwKV.cjs +0 -1
  367. package/dist/ctrBtn-BSJ9c7Pt.cjs +0 -1
  368. package/dist/ctrSet-B9M4yI53.cjs +0 -1
  369. package/dist/ctrSwitch-C6dUn_qm.js +0 -206
  370. package/dist/ctrSwitch-ZvMCYKvG.cjs +0 -1
  371. package/dist/dataManagement-CNrEa_zB.cjs +0 -1
  372. package/dist/datetime-CAyDWKE8.cjs +0 -1
  373. package/dist/deepClusterSlipSurface-DzoyF6i1.cjs +0 -1
  374. package/dist/deepDataMatrix--AstWPiL.cjs +0 -1
  375. package/dist/deepDisplacementChart-BnT1ZdfR.cjs +0 -6
  376. package/dist/deepDisplacementChart-DOPij7KP.cjs +0 -5
  377. package/dist/deepDisplacementView-u1IPcbxN.cjs +0 -8
  378. package/dist/deepNodeTemperatureChart-CD3JbqkA.cjs +0 -1
  379. package/dist/deepTangentAngleChart-BCAauuDY.cjs +0 -1
  380. package/dist/deepTemperatureField-BxuKsrtc.cjs +0 -1
  381. package/dist/deepTrendChart-6L4cCHgh.cjs +0 -1
  382. package/dist/deviceOnlineStatus-WkwzGom4.cjs +0 -2
  383. package/dist/deviceStatus-BoIv8fbr.cjs +0 -1
  384. package/dist/displacementDataTable-BwcxrsuU.cjs +0 -1
  385. package/dist/displacementTrajectoryChart-BOPIBgi5.cjs +0 -22
  386. package/dist/displacementTrendChart-CI8i0oQY.cjs +0 -5
  387. package/dist/emergencyPlan-BRFhMubg.cjs +0 -1
  388. package/dist/evn-B05d7LtF.cjs +0 -1
  389. package/dist/evolutionChart-y2mkLVwU.cjs +0 -1
  390. package/dist/fileViewer-Dy2fdABW.cjs +0 -1
  391. package/dist/filterBar-CcrUdD-O.cjs +0 -1
  392. package/dist/fireCombustionCurve-B-6MZLul.cjs +0 -1
  393. package/dist/fireFilterBar-C9b_Ohvr.cjs +0 -1
  394. package/dist/fireHistoryTable-5sG5FDCD.cjs +0 -3
  395. package/dist/gag-CDX99Ta4.cjs +0 -1
  396. package/dist/gasStationList-Dl9qawf_.cjs +0 -1
  397. package/dist/globalObjectSelector-Bz2XhgxT.cjs +0 -1
  398. package/dist/gnssFilterBar-BT19n0j_.cjs +0 -1
  399. package/dist/gnssHistoryTable-CrS2qO6S.cjs +0 -3
  400. package/dist/gnssSectionProfile-_KbP1NXU.cjs +0 -1
  401. package/dist/gnssTimeSeriesChart-BgFoXAZv.cjs +0 -1
  402. package/dist/gnssXYTrajectory-C1N3RWzp.cjs +0 -5
  403. package/dist/grd-DtDoJOOa.cjs +0 -1
  404. package/dist/grdIndass-ci3JkvGZ.cjs +0 -1
  405. package/dist/grg-C2qVuXYE.cjs +0 -1
  406. package/dist/gridview-BLAlr5uj.cjs +0 -1
  407. package/dist/groundwaterFilterBar-1E1j67JT.cjs +0 -1
  408. package/dist/groundwaterProfileChart-CS9xelz8.cjs +0 -11
  409. package/dist/groundwaterTimeCurve-DYiDLgVY.cjs +0 -1
  410. package/dist/headerBar-OwCxpc4o.cjs +0 -1
  411. package/dist/index-D8dh_6Qd.cjs +0 -612
  412. package/dist/insarDeformChart-CSQ7fc2p.cjs +0 -1
  413. package/dist/insarImageViewer-DvaRS1zr.cjs +0 -1
  414. package/dist/kpiCard-oLpk5d4m.cjs +0 -2
  415. package/dist/landslideMap-CO8o7T8J.cjs +0 -1
  416. package/dist/landslideWarning-BZXa5qTB.cjs +0 -1
  417. package/dist/layerTabs-BxRAsklw.cjs +0 -1
  418. package/dist/linIndass-Bb7UA-zk.cjs +0 -2
  419. package/dist/lst-Dri1MTDI.cjs +0 -1
  420. package/dist/manualEntry-D74dgZv8.cjs +0 -1
  421. package/dist/mappingList-CBN7ArkQ.cjs +0 -1
  422. package/dist/mixGrid-DTj2pmFW.cjs +0 -1
  423. package/dist/mixMap-B4T4R6kA.cjs +0 -1
  424. package/dist/mixModel-BzilRtjf.cjs +0 -3
  425. package/dist/mixPie-DtQm-LGp.cjs +0 -2
  426. package/dist/mjpegCamera-Lu3UHJ83.cjs +0 -1
  427. package/dist/monitorAlert-Ctt2kCxQ.cjs +0 -1
  428. package/dist/monitorData-D_tMbx_Y.cjs +0 -1
  429. package/dist/myValue-FZPOucSS.cjs +0 -1
  430. package/dist/myValueList-XIDK3ove.cjs +0 -1
  431. package/dist/objectList-BtbxHtJj.cjs +0 -1
  432. package/dist/photo-BITvEhKG.cjs +0 -1
  433. package/dist/photo-CjulDHTM.js +0 -873
  434. package/dist/placeholder-3kajeeeb.cjs +0 -1
  435. package/dist/pressBtn-pUcQtd5n.cjs +0 -1
  436. package/dist/processTable-CDulvQlu.cjs +0 -3
  437. package/dist/rad-Dk4PrnyI.cjs +0 -1
  438. package/dist/radarMapViewer-TJIPACdT.cjs +0 -1
  439. package/dist/rainfallFilterBar-Myq0MBCf.cjs +0 -1
  440. package/dist/rainfallTimeCurve-BUI-RlnG.cjs +0 -1
  441. package/dist/rangeLin-DYCZ8wVc.cjs +0 -3
  442. package/dist/realtimeEvolutionMap-BwyQdAhL.cjs +0 -1
  443. package/dist/regionBar-DsxqfirI.cjs +0 -3
  444. package/dist/retainer1-CSqjvY4k.cjs +0 -1
  445. package/dist/retainer2-Bqlwvr53.cjs +0 -1
  446. package/dist/retainerRecordList-DWZ3WDiz.cjs +0 -1
  447. package/dist/ringTopN-Bp0er_zV.cjs +0 -1
  448. package/dist/riskRegionTable-B3bzMaR_.cjs +0 -1
  449. package/dist/sankey-B4BJ4xIo.cjs +0 -1
  450. package/dist/scd-Dgd3KDpk.cjs +0 -1
  451. package/dist/sideMenu-BQ5rrGBr.cjs +0 -1
  452. package/dist/slopeStability-D96aiykf.cjs +0 -1
  453. package/dist/speedCurve-5nWqVAzz.cjs +0 -1
  454. package/dist/staticLine-DUCg-0tI.cjs +0 -1
  455. package/dist/stressFilterBar-CorWdmpQ.cjs +0 -1
  456. package/dist/stressTimeCurve-Bci50Cwv.cjs +0 -1
  457. package/dist/terminalConfigList-O881ke5o.cjs +0 -1
  458. package/dist/terminalList-C9TB2cJH.cjs +0 -1
  459. package/dist/textbox-BMWnbPvz.cjs +0 -1
  460. package/dist/timeQueryBar-C6ZheMvD.cjs +0 -1
  461. package/dist/timeSeriesCurve-DRlr5n3U.cjs +0 -1
  462. package/dist/trajectoryConfigPanel-DJ6fOeb1.cjs +0 -1
  463. package/dist/trajectoryScatter-C7kfSkyS.cjs +0 -1
  464. package/dist/universalConfigPanel-PO1hdgjw.cjs +0 -1
  465. package/dist/universalTable-QAb6UKCq.cjs +0 -2
  466. package/dist/useMixiotPanelSurface-BMNrWBMF.cjs +0 -1
  467. package/dist/useMixiotPanelSurface-DlVkLttU.js +0 -40
  468. package/dist/videoMonitor-BKLD_aQs.cjs +0 -1
  469. package/dist/vlu-C0XLDKKk.cjs +0 -1
  470. package/dist/warningOverview--n7crFnZ.cjs +0 -1
@@ -1,35 +1,35 @@
1
1
  var Y = Object.defineProperty, Z = Object.defineProperties;
2
2
  var ee = Object.getOwnPropertyDescriptors;
3
- var M = Object.getOwnPropertySymbols;
3
+ var B = Object.getOwnPropertySymbols;
4
4
  var te = Object.prototype.hasOwnProperty, oe = Object.prototype.propertyIsEnumerable;
5
- var L = (p, a, s) => a in p ? Y(p, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : p[a] = s, D = (p, a) => {
5
+ var L = (d, a, s) => a in d ? Y(d, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : d[a] = s, D = (d, a) => {
6
6
  for (var s in a || (a = {}))
7
- te.call(a, s) && L(p, s, a[s]);
8
- if (M)
9
- for (var s of M(a))
10
- oe.call(a, s) && L(p, s, a[s]);
11
- return p;
12
- }, N = (p, a) => Z(p, ee(a));
13
- var $ = (p, a, s) => new Promise((w, m) => {
7
+ te.call(a, s) && L(d, s, a[s]);
8
+ if (B)
9
+ for (var s of B(a))
10
+ oe.call(a, s) && L(d, s, a[s]);
11
+ return d;
12
+ }, N = (d, a) => Z(d, ee(a));
13
+ var $ = (d, a, s) => new Promise((w, m) => {
14
14
  var i = (f) => {
15
15
  try {
16
16
  g(s.next(f));
17
- } catch (d) {
18
- m(d);
17
+ } catch (p) {
18
+ m(p);
19
19
  }
20
20
  }, n = (f) => {
21
21
  try {
22
22
  g(s.throw(f));
23
- } catch (d) {
24
- m(d);
23
+ } catch (p) {
24
+ m(p);
25
25
  }
26
26
  }, g = (f) => f.done ? w(f.value) : Promise.resolve(f.value).then(i, n);
27
- g((s = s.apply(p, a)).next());
27
+ g((s = s.apply(d, a)).next());
28
28
  });
29
- import { defineComponent as le, getCurrentInstance as re, reactive as V, openBlock as k, createElementBlock as _, normalizeStyle as se, unref as u, createElementVNode as b, normalizeClass as O, toDisplayString as y, createCommentVNode as C, renderSlot as ae, nextTick as ie } from "vue";
30
- import { B as ne } from "./BaseComponent-D5tlYehc.js";
31
- import { E as R, C as F, a as ce, _ as ue } from "./index-Bdq33405.js";
32
- import { m as de, t as H, p as pe, s as U, a as j, c as S } from "./composite-CbsUYl-u.js";
29
+ import { defineComponent as le, getCurrentInstance as re, reactive as R, openBlock as k, createElementBlock as _, normalizeStyle as se, unref as u, createElementVNode as b, normalizeClass as O, toDisplayString as y, createCommentVNode as C, renderSlot as ae, nextTick as ie } from "vue";
30
+ import { B as ne } from "./BaseComponent-CBagahPU.js";
31
+ import { I as V, C as F, a as ce, _ as ue } from "./index-DwPJu6XM.js";
32
+ import { m as pe, t as H, p as de, s as P, a as j, c as S } from "./composite-CbsUYl-u.js";
33
33
  import { A as me, D as fe } from "./ele-bmp-icon-Pdolk1J5.js";
34
34
  import { u as be, i as he, a as xe } from "./installCanvasRenderer-CLT2hquJ.js";
35
35
  import { i as ge } from "./install-BBrAry2m.js";
@@ -37,7 +37,7 @@ import { i as ve } from "./install-CBde4hAM.js";
37
37
  import { i as ke } from "./install-hfre7yvV.js";
38
38
  import { i as _e } from "./install-BzdOSCzO.js";
39
39
  import { i as ye } from "./install-MS3ZY7fF.js";
40
- import { i as P, d as W } from "./echarts-BVht3HHb.js";
40
+ import { i as U, d as W } from "./echarts-BVht3HHb.js";
41
41
  const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "font-bold w-[54px] text-[14px] mt-[4px] text-center border-solid border-[#000] border-[1px] rounded-[2px]" }, we = {
42
42
  key: 0,
43
43
  class: "font-bold"
@@ -46,31 +46,32 @@ const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "fon
46
46
  ACTIVE_ICON: me,
47
47
  NAME_CN: "组合组件",
48
48
  NAME_EN: "Composite Component",
49
- ORDER: 4
50
- }, Be = {
49
+ ORDER: 4,
50
+ PLATFORM: ["pc", "screen", "mobile"]
51
+ }, Ie = {
51
52
  bgColor: "#fff",
52
53
  radiusSize: 8,
53
54
  isHideTitle: !1,
54
55
  block: {
55
56
  value: "user",
56
57
  type: "select",
57
- options: [...de],
58
+ options: [...pe],
58
59
  label: "component.pro.projectStatistic",
59
60
  control: "title"
60
61
  },
61
62
  title: { value: "用户管理", type: "string", label: "component.pro.statisticTitle" }
62
- }, Ie = { DEFAULT: Ae, OPTIONS: Be }, Me = /* @__PURE__ */ le(N(D({}, Ie), {
63
+ }, Me = { DEFAULT: Ae, OPTIONS: Ie }, Be = /* @__PURE__ */ le(N(D({}, Me), {
63
64
  __name: "composite",
64
65
  props: {
65
66
  conf: { type: Object, default: () => ({ data: [] }) },
66
67
  mode: { type: String, default: "edit" },
67
68
  theme: { type: String, default: "light" }
68
69
  },
69
- setup(p) {
70
+ setup(d) {
70
71
  be([ge, ve, ke, he, xe, _e, ye]);
71
72
  const { proxy: a } = re(), s = "circle_" + Math.random().toString(16).substring(4, 12), w = "bar_" + Math.random().toString(16).substring(4, 12);
72
73
  let m = null, i = null, n = null, g = [];
73
- const f = p, d = V({ total: 0, open: 0, close: 0 }), h = V({ xData: [], yData: [] });
74
+ const f = d, p = R({ total: 0, open: 0, close: 0 }), h = R({ xData: [], yData: [] });
74
75
  class q extends ne {
75
76
  extractStyles() {
76
77
  return {
@@ -82,7 +83,7 @@ const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "fon
82
83
  };
83
84
  }
84
85
  init() {
85
- super.init(), this.props.mode === "edit" && (g = [{ name: "参数一", value: 10 }, { name: "参数二", value: 20 }], d.total = 30, d.open = 10, d.close = 20, h.xData = ["参数一", "参数二"], h.yData = [10, 20]), ie(() => T());
86
+ super.init(), this.props.mode === "edit" && (g = [{ name: "参数一", value: 10 }, { name: "参数二", value: 20 }], p.total = 30, p.open = 10, p.close = 20, h.xData = ["参数一", "参数二"], h.yData = [10, 20]), ie(() => T());
86
87
  }
87
88
  onPreview() {
88
89
  X();
@@ -100,12 +101,12 @@ const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "fon
100
101
  setTimeout(T, 100);
101
102
  return;
102
103
  }
103
- r && !i && (i = P(r), m = R({ strategy: "scroll" }), m.listenTo(r, () => i == null ? void 0 : i.resize())), i && i.setOption(z(), !0), o && !n && (n = P(o), m || (m = R({ strategy: "scroll" })), m.listenTo(o, () => n == null ? void 0 : n.resize())), n && n.setOption(A(), !0);
104
+ r && !i && (i = U(r), m = V({ strategy: "scroll" }), m.listenTo(r, () => i == null ? void 0 : i.resize())), i && i.setOption(z(), !0), o && !n && (n = U(o), m || (m = V({ strategy: "scroll" })), m.listenTo(o, () => n == null ? void 0 : n.resize())), n && n.setOption(A(), !0);
104
105
  }, z = () => ({
105
106
  title: {
106
107
  zlevel: 0,
107
108
  show: !0,
108
- text: d.total,
109
+ text: p.total,
109
110
  top: "center",
110
111
  left: "center",
111
112
  textStyle: {
@@ -230,8 +231,8 @@ const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "fon
230
231
  }, K = (r, o = 4) => {
231
232
  let l = "", e = 0, c = 0;
232
233
  for (let v = 0; v < r.length; v++) {
233
- const B = r[v], I = B.charCodeAt(0);
234
- I >= 19968 && I <= 40959 ? (c++, e += 2) : e += 1, l += B, (c >= o || e >= o * 2) && (l += `
234
+ const I = r[v], M = I.charCodeAt(0);
235
+ M >= 19968 && M <= 40959 ? (c++, e += 2) : e += 1, l += I, (c >= o || e >= o * 2) && (l += `
235
236
  `, c = 0, e = 0);
236
237
  }
237
238
  return l;
@@ -252,10 +253,10 @@ const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "fon
252
253
  l.push(o[e]);
253
254
  return l;
254
255
  }, X = () => $(null, null, function* () {
255
- let r = D({}, pe[t.value.block]);
256
+ let r = D({}, de[t.value.block]);
256
257
  ce.platform((o) => {
257
258
  let l = o.result;
258
- if (d.total = l.total_records || l.data.length, ["customer", "project", "object"].includes(t.value.block) || (d.open = l.data.filter((e) => e[U[t.value.block]] == 1).length, d.close = l.data.filter((e) => e[U[t.value.block]] == 0).length), ["user", "customer", "project", "object", "terminal", "agent"].includes(t.value.block) && (g = J[t.value.block](l.data), i && i.setOption(z(), !0)), ["customer", "project", "object", "agent"].includes(t.value.block))
259
+ if (p.total = l.total_records || l.data.length, ["customer", "project", "object"].includes(t.value.block) || (p.open = l.data.filter((e) => e[P[t.value.block]] == 1).length, p.close = l.data.filter((e) => e[P[t.value.block]] == 0).length), ["user", "customer", "project", "object", "terminal", "agent"].includes(t.value.block) && (g = J[t.value.block](l.data), i && i.setOption(z(), !0)), ["customer", "project", "object", "agent"].includes(t.value.block))
259
260
  try {
260
261
  let e = Q(l.data);
261
262
  h.xData = [], h.yData = [], e.forEach((c) => {
@@ -279,16 +280,16 @@ const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "fon
279
280
  b("div", {
280
281
  class: O(["text-[16px] font-bold", ["customer", "project", "object"].includes(u(t).block) ? "mr-[12px]" : ""])
281
282
  }, y(u(t).title), 3),
282
- b("div", je, y(d.total), 1)
283
+ b("div", je, y(p.total), 1)
283
284
  ], 2),
284
285
  ["customer", "project", "object"].includes(u(t).block) ? C("", !0) : (k(), _("div", we, [
285
286
  b("div", Se, [
286
287
  b("div", De, y((e = (l = u(H)) == null ? void 0 : l[u(t).block]) == null ? void 0 : e[0]), 1),
287
- b("div", Oe, y(d.open), 1)
288
+ b("div", Oe, y(p.open), 1)
288
289
  ]),
289
290
  b("div", Ee, [
290
291
  b("div", Te, y((v = (c = u(H)) == null ? void 0 : c[u(t).block]) == null ? void 0 : v[1]), 1),
291
- b("div", ze, y(d.close), 1)
292
+ b("div", ze, y(p.close), 1)
292
293
  ])
293
294
  ])),
294
295
  ["customer", "project", "object"].includes(u(t).block) ? (k(), _("div", {
@@ -316,7 +317,7 @@ const Ce = { class: "flex-1 flex flex-col justify-between" }, je = { class: "fon
316
317
  ], 4);
317
318
  };
318
319
  }
319
- })), Ke = /* @__PURE__ */ ue(Me, [["__scopeId", "data-v-34f2cea6"]]);
320
+ })), Ke = /* @__PURE__ */ ue(Be, [["__scopeId", "data-v-f0444a53"]]);
320
321
  export {
321
322
  Ke as default
322
323
  };
@@ -1,3 +1,3 @@
1
- "use strict";var $=Object.defineProperty,H=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var O=(m,s,a)=>s in m?$(m,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):m[s]=a,C=(m,s)=>{for(var a in s||(s={}))P.call(s,a)&&O(m,a,s[a]);if(M)for(var a of M(s))W.call(s,a)&&O(m,a,s[a]);return m},V=(m,s)=>H(m,U(s));var T=(m,s,a)=>new Promise((k,f)=>{var i=b=>{try{x(a.next(b))}catch(p){f(p)}},c=b=>{try{x(a.throw(b))}catch(p){f(p)}},x=b=>b.done?k(b.value):Promise.resolve(b.value).then(i,c);x((a=a.apply(m,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),G=require("./BaseComponent-CNXUpPY1.cjs"),v=require("./index-D8dh_6Qd.cjs"),d=require("./composite-Cf24lSyN.cjs"),z=require("./ele-bmp-icon-BBI0-SX7.cjs"),E=require("./installCanvasRenderer-CyhM1Qpl.cjs"),J=require("./install-C8buXQPI.cjs"),K=require("./install-DV5cEgNV.cjs"),Q=require("./install-CltTFs4e.cjs"),X=require("./install-nDY6w-GK.cjs"),Y=require("./install-Ch5d8i37.cjs"),_=require("./echarts-BB8O2KSA.cjs"),Z={class:"flex-1 flex flex-col justify-between"},ee={class:"font-bold w-[54px] text-[14px] mt-[4px] text-center border-solid border-[#000] border-[1px] rounded-[2px]"},te={key:0,class:"font-bold"},oe={class:"flex mb-[8px] whitespace-nowrap items-center"},le={class:"mr-[8px] text-[15px]"},re={class:"w-[64px] text-[14px] text-center border-solid border-[#000] border-[1px] rounded-[2px]"},ne={class:"flex mb-[8px] whitespace-nowrap items-center"},ae={class:"mr-[8px] text-[15px]"},se={class:"w-[64px] text-[14px] text-center border-solid border-[#000] border-[1px] rounded-[2px]"},ie={DEFAULT_ICON:z.DEFAULT_ICON,ACTIVE_ICON:z.ACTIVE_ICON,NAME_CN:"组合组件",NAME_EN:"Composite Component",ORDER:4},ce={bgColor:"#fff",radiusSize:8,isHideTitle:!1,block:{value:"user",type:"select",options:[...d.modeOptions],label:"component.pro.projectStatistic",control:"title"},title:{value:"用户管理",type:"string",label:"component.pro.statisticTitle"}},ue={DEFAULT:ie,OPTIONS:ce},de=e.defineComponent(V(C({},ue),{__name:"composite",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(m){E.use([J.install,K.install,Q.install,E.install,E.install$1,X.install,Y.install]);const{proxy:s}=e.getCurrentInstance(),a="circle_"+Math.random().toString(16).substring(4,12),k="bar_"+Math.random().toString(16).substring(4,12);let f=null,i=null,c=null,x=[];const b=m,p=e.reactive({total:0,open:0,close:0}),g=e.reactive({xData:[],yData:[]});class F extends G.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),block:this.getOptionValue("block","user"),title:this.getOptionValue("title","用户管理")}}init(){super.init(),this.props.mode==="edit"&&(x=[{name:"参数一",value:10},{name:"参数二",value:20}],p.total=30,p.open=10,p.close=20,g.xData=["参数一","参数二"],g.yData=[10,20]),e.nextTick(()=>j())}onPreview(){R()}cleanup(){f&&f.uninstall(document.querySelector("#"+a)),i&&i.clear(),c&&c.clear(),i&&_.dispose(i),c&&_.dispose(c),i=null,c=null}}const S=new F(b,"composite");S.setupLifecycle();const o=S.getStyle(),j=()=>{let n=document.getElementById(a),l=document.getElementById(k);const r=["user","terminal","retainer","care","agent","customer","project","object"].includes(o.value.block),t=["customer","project","object","agent"].includes(o.value.block);if(r&&!n||t&&!l){setTimeout(j,100);return}n&&!i&&(i=_.init(n),f=v.elementResizeDetectorMaker({strategy:"scroll"}),f.listenTo(n,()=>i==null?void 0:i.resize())),i&&i.setOption(D(),!0),l&&!c&&(c=_.init(l),f||(f=v.elementResizeDetectorMaker({strategy:"scroll"})),f.listenTo(l,()=>c==null?void 0:c.resize())),c&&c.setOption(N(),!0)},D=()=>({title:{zlevel:0,show:!0,text:p.total,top:"center",left:"center",textStyle:{fontSize:14,color:"#000"}},color:v.COLORS,series:[{name:"Access From",type:"pie",radius:["45%","75%"],avoidLabelOverlap:!1,label:{show:!0,color:"#000"},startAngle:10,emphasis:{label:{show:!0,fontSize:12,fontWeight:"bold",formatter:`{b}
2
- {c}`,lineHeight:18,top:"center",left:"center"}},labelLine:{show:!0,length:6,length2:4},data:x}]}),N=()=>({grid:{top:20,bottom:30,left:20,right:20},tooltip:{show:!0,formatter:"{b}: {c}"},xAxis:{axisLine:{show:!0},axisTick:{show:!1},axisLabel:{formatter:n=>A(n)},data:g.xData},yAxis:{axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",data:g.yData,barWidth:30,label:{show:!0,position:"top",fontSize:12},itemStyle:{color:function(n){return v.COLORS[n.dataIndex]||"#5470c6"}}}]}),I=n=>{let l={},r=[];n.forEach(t=>{let u=t.roles[0]?t.roles[0].id:"undefined";l[u]?l[u].value++:l[u]={name:t.roles[0]?t.roles[0].role_name:"未知",value:1}});for(let t in l)r.push(l[t]);return r},h=n=>{let l={undefined:{name:"未知",value:0}},r=[];try{n.forEach(t=>{t[d.typeFieldMapping[o.value.block]]?l[t[d.typeFieldMapping[o.value.block]]]?l[t[d.typeFieldMapping[o.value.block]]].value++:l[t[d.typeFieldMapping[o.value.block]]]={name:t[d.typeFieldMapping[o.value.block]],value:1}:l.undefined.value++})}catch(t){console.log(t)}for(let t in l)l[t].value&&r.push(l[t]);return r},q={user:I,customer:h,project:h,terminal:h,object:h,dashboard:h,care:h,retainer:h,agent:h},A=(n,l=4)=>{let r="",t=0,u=0;for(let y=0;y<n.length;y++){const w=n[y],B=w.charCodeAt(0);B>=19968&&B<=40959?(u++,t+=2):t+=1,r+=w,(u>=l||t>=l*2)&&(r+=`
3
- `,u=0,t=0)}return r},L=n=>{let l={},r=[];try{n.forEach(t=>{let u=t[d.categoryFieldMapping[o.value.block]];l[t[d.categoryFieldMapping[o.value.block]]]?l[t[d.categoryFieldMapping[o.value.block]]].value++:l[t[d.categoryFieldMapping[o.value.block]]]={name:["","-",null].includes(u)?s.$t("common.undefined"):u,value:1}})}catch(t){console.log(t)}for(let t in l)r.push(l[t]);return r},R=()=>T(null,null,function*(){let n=C({},d.projectMapping[o.value.block]);v.api.platform(l=>{let r=l.result;if(p.total=r.total_records||r.data.length,["customer","project","object"].includes(o.value.block)||(p.open=r.data.filter(t=>t[d.statusFieldMapping[o.value.block]]==1).length,p.close=r.data.filter(t=>t[d.statusFieldMapping[o.value.block]]==0).length),["user","customer","project","object","terminal","agent"].includes(o.value.block)&&(x=q[o.value.block](r.data),i&&i.setOption(D(),!0)),["customer","project","object","agent"].includes(o.value.block))try{let t=L(r.data);g.xData=[],g.yData=[],t.forEach(u=>{g.xData.push(u.name),g.yData.push(u.value)}),c&&c.setOption(N(),!0)}catch(t){console.log(t)}},n)});return b.conf,(n,l)=>{var r,t,u,y;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(o).bgColor,borderRadius:`${e.unref(o).radiusSize}px`})},[e.createElementVNode("div",Z,[e.createElementVNode("div",{class:e.normalizeClass(["title-wrap",["customer","project","object"].includes(e.unref(o).block)?"flex items-center":""])},[e.createElementVNode("div",{class:e.normalizeClass(["text-[16px] font-bold",["customer","project","object"].includes(e.unref(o).block)?"mr-[12px]":""])},e.toDisplayString(e.unref(o).title),3),e.createElementVNode("div",ee,e.toDisplayString(p.total),1)],2),["customer","project","object"].includes(e.unref(o).block)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("div",oe,[e.createElementVNode("div",le,e.toDisplayString((t=(r=e.unref(d.titleMapping))==null?void 0:r[e.unref(o).block])==null?void 0:t[0]),1),e.createElementVNode("div",re,e.toDisplayString(p.open),1)]),e.createElementVNode("div",ne,[e.createElementVNode("div",ae,e.toDisplayString((y=(u=e.unref(d.titleMapping))==null?void 0:u[e.unref(o).block])==null?void 0:y[1]),1),e.createElementVNode("div",se,e.toDisplayString(p.close),1)])])),["customer","project","object"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:1,id:a,class:"flex-1 w-[100%]"})):e.createCommentVNode("",!0)]),["user","terminal","retainer","care","customer","project","object","agent"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["chart-wrapper flex",e.unref(o).block==="agent"?"flex-[3_3_0%]":"flex-[2_2_0%]"])},[["user","terminal","retainer","care","agent"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:0,id:a,class:"chart-container"})):e.createCommentVNode("",!0),["customer","project","object","agent"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:1,id:k,class:"chart-container flex-[2_2_0%]"})):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),pe=v._export_sfc(de,[["__scopeId","data-v-34f2cea6"]]);exports.default=pe;
1
+ "use strict";var $=Object.defineProperty,H=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var B=(m,s,a)=>s in m?$(m,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):m[s]=a,C=(m,s)=>{for(var a in s||(s={}))U.call(s,a)&&B(m,a,s[a]);if(O)for(var a of O(s))W.call(s,a)&&B(m,a,s[a]);return m},V=(m,s)=>H(m,P(s));var T=(m,s,a)=>new Promise((k,f)=>{var i=b=>{try{x(a.next(b))}catch(p){f(p)}},c=b=>{try{x(a.throw(b))}catch(p){f(p)}},x=b=>b.done?k(b.value):Promise.resolve(b.value).then(i,c);x((a=a.apply(m,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),G=require("./BaseComponent-Chnv4fBT.cjs"),v=require("./index-DVqMfQVc.cjs"),d=require("./composite-Cf24lSyN.cjs"),z=require("./ele-bmp-icon-BBI0-SX7.cjs"),E=require("./installCanvasRenderer-CyhM1Qpl.cjs"),J=require("./install-C8buXQPI.cjs"),K=require("./install-DV5cEgNV.cjs"),Q=require("./install-CltTFs4e.cjs"),X=require("./install-nDY6w-GK.cjs"),Y=require("./install-Ch5d8i37.cjs"),_=require("./echarts-BB8O2KSA.cjs"),Z={class:"flex-1 flex flex-col justify-between"},ee={class:"font-bold w-[54px] text-[14px] mt-[4px] text-center border-solid border-[#000] border-[1px] rounded-[2px]"},te={key:0,class:"font-bold"},oe={class:"flex mb-[8px] whitespace-nowrap items-center"},le={class:"mr-[8px] text-[15px]"},re={class:"w-[64px] text-[14px] text-center border-solid border-[#000] border-[1px] rounded-[2px]"},ne={class:"flex mb-[8px] whitespace-nowrap items-center"},ae={class:"mr-[8px] text-[15px]"},se={class:"w-[64px] text-[14px] text-center border-solid border-[#000] border-[1px] rounded-[2px]"},ie={DEFAULT_ICON:z.DEFAULT_ICON,ACTIVE_ICON:z.ACTIVE_ICON,NAME_CN:"组合组件",NAME_EN:"Composite Component",ORDER:4,PLATFORM:["pc","screen","mobile"]},ce={bgColor:"#fff",radiusSize:8,isHideTitle:!1,block:{value:"user",type:"select",options:[...d.modeOptions],label:"component.pro.projectStatistic",control:"title"},title:{value:"用户管理",type:"string",label:"component.pro.statisticTitle"}},ue={DEFAULT:ie,OPTIONS:ce},de=e.defineComponent(V(C({},ue),{__name:"composite",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(m){E.use([J.install,K.install,Q.install,E.install,E.install$1,X.install,Y.install]);const{proxy:s}=e.getCurrentInstance(),a="circle_"+Math.random().toString(16).substring(4,12),k="bar_"+Math.random().toString(16).substring(4,12);let f=null,i=null,c=null,x=[];const b=m,p=e.reactive({total:0,open:0,close:0}),g=e.reactive({xData:[],yData:[]});class F extends G.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),block:this.getOptionValue("block","user"),title:this.getOptionValue("title","用户管理")}}init(){super.init(),this.props.mode==="edit"&&(x=[{name:"参数一",value:10},{name:"参数二",value:20}],p.total=30,p.open=10,p.close=20,g.xData=["参数一","参数二"],g.yData=[10,20]),e.nextTick(()=>j())}onPreview(){R()}cleanup(){f&&f.uninstall(document.querySelector("#"+a)),i&&i.clear(),c&&c.clear(),i&&_.dispose(i),c&&_.dispose(c),i=null,c=null}}const S=new F(b,"composite");S.setupLifecycle();const o=S.getStyle(),j=()=>{let n=document.getElementById(a),l=document.getElementById(k);const r=["user","terminal","retainer","care","agent","customer","project","object"].includes(o.value.block),t=["customer","project","object","agent"].includes(o.value.block);if(r&&!n||t&&!l){setTimeout(j,100);return}n&&!i&&(i=_.init(n),f=v.elementResizeDetectorMaker({strategy:"scroll"}),f.listenTo(n,()=>i==null?void 0:i.resize())),i&&i.setOption(D(),!0),l&&!c&&(c=_.init(l),f||(f=v.elementResizeDetectorMaker({strategy:"scroll"})),f.listenTo(l,()=>c==null?void 0:c.resize())),c&&c.setOption(N(),!0)},D=()=>({title:{zlevel:0,show:!0,text:p.total,top:"center",left:"center",textStyle:{fontSize:14,color:"#000"}},color:v.COLORS,series:[{name:"Access From",type:"pie",radius:["45%","75%"],avoidLabelOverlap:!1,label:{show:!0,color:"#000"},startAngle:10,emphasis:{label:{show:!0,fontSize:12,fontWeight:"bold",formatter:`{b}
2
+ {c}`,lineHeight:18,top:"center",left:"center"}},labelLine:{show:!0,length:6,length2:4},data:x}]}),N=()=>({grid:{top:20,bottom:30,left:20,right:20},tooltip:{show:!0,formatter:"{b}: {c}"},xAxis:{axisLine:{show:!0},axisTick:{show:!1},axisLabel:{formatter:n=>A(n)},data:g.xData},yAxis:{axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",data:g.yData,barWidth:30,label:{show:!0,position:"top",fontSize:12},itemStyle:{color:function(n){return v.COLORS[n.dataIndex]||"#5470c6"}}}]}),I=n=>{let l={},r=[];n.forEach(t=>{let u=t.roles[0]?t.roles[0].id:"undefined";l[u]?l[u].value++:l[u]={name:t.roles[0]?t.roles[0].role_name:"未知",value:1}});for(let t in l)r.push(l[t]);return r},h=n=>{let l={undefined:{name:"未知",value:0}},r=[];try{n.forEach(t=>{t[d.typeFieldMapping[o.value.block]]?l[t[d.typeFieldMapping[o.value.block]]]?l[t[d.typeFieldMapping[o.value.block]]].value++:l[t[d.typeFieldMapping[o.value.block]]]={name:t[d.typeFieldMapping[o.value.block]],value:1}:l.undefined.value++})}catch(t){console.log(t)}for(let t in l)l[t].value&&r.push(l[t]);return r},q={user:I,customer:h,project:h,terminal:h,object:h,dashboard:h,care:h,retainer:h,agent:h},A=(n,l=4)=>{let r="",t=0,u=0;for(let y=0;y<n.length;y++){const w=n[y],M=w.charCodeAt(0);M>=19968&&M<=40959?(u++,t+=2):t+=1,r+=w,(u>=l||t>=l*2)&&(r+=`
3
+ `,u=0,t=0)}return r},L=n=>{let l={},r=[];try{n.forEach(t=>{let u=t[d.categoryFieldMapping[o.value.block]];l[t[d.categoryFieldMapping[o.value.block]]]?l[t[d.categoryFieldMapping[o.value.block]]].value++:l[t[d.categoryFieldMapping[o.value.block]]]={name:["","-",null].includes(u)?s.$t("common.undefined"):u,value:1}})}catch(t){console.log(t)}for(let t in l)r.push(l[t]);return r},R=()=>T(null,null,function*(){let n=C({},d.projectMapping[o.value.block]);v.api.platform(l=>{let r=l.result;if(p.total=r.total_records||r.data.length,["customer","project","object"].includes(o.value.block)||(p.open=r.data.filter(t=>t[d.statusFieldMapping[o.value.block]]==1).length,p.close=r.data.filter(t=>t[d.statusFieldMapping[o.value.block]]==0).length),["user","customer","project","object","terminal","agent"].includes(o.value.block)&&(x=q[o.value.block](r.data),i&&i.setOption(D(),!0)),["customer","project","object","agent"].includes(o.value.block))try{let t=L(r.data);g.xData=[],g.yData=[],t.forEach(u=>{g.xData.push(u.name),g.yData.push(u.value)}),c&&c.setOption(N(),!0)}catch(t){console.log(t)}},n)});return b.conf,(n,l)=>{var r,t,u,y;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(o).bgColor,borderRadius:`${e.unref(o).radiusSize}px`})},[e.createElementVNode("div",Z,[e.createElementVNode("div",{class:e.normalizeClass(["title-wrap",["customer","project","object"].includes(e.unref(o).block)?"flex items-center":""])},[e.createElementVNode("div",{class:e.normalizeClass(["text-[16px] font-bold",["customer","project","object"].includes(e.unref(o).block)?"mr-[12px]":""])},e.toDisplayString(e.unref(o).title),3),e.createElementVNode("div",ee,e.toDisplayString(p.total),1)],2),["customer","project","object"].includes(e.unref(o).block)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("div",oe,[e.createElementVNode("div",le,e.toDisplayString((t=(r=e.unref(d.titleMapping))==null?void 0:r[e.unref(o).block])==null?void 0:t[0]),1),e.createElementVNode("div",re,e.toDisplayString(p.open),1)]),e.createElementVNode("div",ne,[e.createElementVNode("div",ae,e.toDisplayString((y=(u=e.unref(d.titleMapping))==null?void 0:u[e.unref(o).block])==null?void 0:y[1]),1),e.createElementVNode("div",se,e.toDisplayString(p.close),1)])])),["customer","project","object"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:1,id:a,class:"flex-1 w-[100%]"})):e.createCommentVNode("",!0)]),["user","terminal","retainer","care","customer","project","object","agent"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["chart-wrapper flex",e.unref(o).block==="agent"?"flex-[3_3_0%]":"flex-[2_2_0%]"])},[["user","terminal","retainer","care","agent"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:0,id:a,class:"chart-container"})):e.createCommentVNode("",!0),["customer","project","object","agent"].includes(e.unref(o).block)?(e.openBlock(),e.createElementBlock("div",{key:1,id:k,class:"chart-container flex-[2_2_0%]"})):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),pe=v._export_sfc(de,[["__scopeId","data-v-f0444a53"]]);exports.default=pe;
@@ -1,26 +1,27 @@
1
1
  var T = Object.defineProperty, I = Object.defineProperties;
2
2
  var E = Object.getOwnPropertyDescriptors;
3
3
  var C = Object.getOwnPropertySymbols;
4
- var z = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
4
+ var L = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
5
5
  var _ = (o, t, n) => t in o ? T(o, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[t] = n, y = (o, t) => {
6
6
  for (var n in t || (t = {}))
7
- z.call(t, n) && _(o, n, t[n]);
7
+ L.call(t, n) && _(o, n, t[n]);
8
8
  if (C)
9
9
  for (var n of C(t))
10
- L.call(t, n) && _(o, n, t[n]);
10
+ z.call(t, n) && _(o, n, t[n]);
11
11
  return o;
12
12
  }, x = (o, t) => I(o, E(t));
13
13
  import { defineComponent as N, ref as D, computed as S, openBlock as A, createElementBlock as O, normalizeStyle as h, unref as s, createElementVNode as d, toDisplayString as f, createCommentVNode as U, renderSlot as H } from "vue";
14
- import { B as M } from "./BaseComponent-D5tlYehc.js";
15
- import { _ as j } from "./index-Bdq33405.js";
16
- import { g as R } from "./titleStyle-BT5GlpAb.js";
17
- import { A as B, D as $ } from "./ele-evn-icon-MWzAujnD.js";
18
- const F = { class: "title-text" }, P = { class: "mix-body" }, W = {
19
- DEFAULT_ICON: $,
14
+ import { B as M } from "./BaseComponent-CBagahPU.js";
15
+ import { _ as R } from "./index-DwPJu6XM.js";
16
+ import { g as j } from "./titleStyle-BT5GlpAb.js";
17
+ import { A as B, D as F } from "./ele-evn-icon-MWzAujnD.js";
18
+ const P = { class: "title-text" }, $ = { class: "mix-body" }, W = {
19
+ DEFAULT_ICON: F,
20
20
  ACTIVE_ICON: B,
21
21
  NAME_CN: "识别结论卡",
22
22
  NAME_EN: "Conclusion Card",
23
- ORDER: 14
23
+ ORDER: 14,
24
+ PLATFORM: ["pc", "screen"]
24
25
  }, q = {
25
26
  bgColor: "#fff8e1",
26
27
  titleColor: "#1f2329",
@@ -104,7 +105,7 @@ const F = { class: "title-text" }, P = { class: "mix-body" }, W = {
104
105
  }
105
106
  const m = new w(t, "conclusionCard");
106
107
  m.setupLifecycle();
107
- const i = m.getStyle(), p = t.conf, k = S(() => R(t.conf.options)), b = S(() => n.value || i.value.content || "--");
108
+ const i = m.getStyle(), p = t.conf, k = S(() => j(t.conf.options)), b = S(() => n.value || i.value.content || "--");
108
109
  function V() {
109
110
  if (t.mode !== "preview") return;
110
111
  const a = i.value;
@@ -134,14 +135,14 @@ const F = { class: "title-text" }, P = { class: "mix-body" }, W = {
134
135
  class: "mix-title",
135
136
  style: h(k.value)
136
137
  }, [
137
- d("span", F, f(s(p).caption || s(p).name), 1),
138
+ d("span", P, f(s(p).caption || s(p).name), 1),
138
139
  s(i).btnText ? (A(), O("button", {
139
140
  key: 0,
140
141
  class: "cc-btn",
141
142
  onClick: V
142
143
  }, f(s(i).btnText), 1)) : U("", !0)
143
144
  ], 4),
144
- d("div", P, [
145
+ d("div", $, [
145
146
  d("p", {
146
147
  class: "body-content",
147
148
  style: h({ fontSize: `${s(i).textSize}px`, color: s(i).textColor, lineHeight: s(i).lineHeight })
@@ -150,7 +151,7 @@ const F = { class: "title-text" }, P = { class: "mix-body" }, W = {
150
151
  H(a.$slots, "default", {}, void 0, !0)
151
152
  ], 4));
152
153
  }
153
- })), it = /* @__PURE__ */ j(Y, [["__scopeId", "data-v-45a89734"]]);
154
+ })), it = /* @__PURE__ */ R(Y, [["__scopeId", "data-v-35c5f9d1"]]);
154
155
  export {
155
156
  it as default
156
157
  };
@@ -0,0 +1 @@
1
+ "use strict";var O=Object.defineProperty,A=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var g=(l,t,o)=>t in l?O(l,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[t]=o,C=(l,t)=>{for(var o in t||(t={}))k.call(t,o)&&g(l,o,t[o]);if(b)for(var o of b(t))w.call(t,o)&&g(l,o,t[o]);return l},v=(l,t)=>A(l,V(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),E=require("./BaseComponent-Chnv4fBT.cjs"),T=require("./index-DVqMfQVc.cjs"),I=require("./titleStyle-NSnz6cUg.cjs"),y=require("./ele-evn-icon-DUQMS-9T.cjs"),N={class:"title-text"},z={class:"mix-body"},L={DEFAULT_ICON:y.DEFAULT_ICON,ACTIVE_ICON:y.ACTIVE_ICON,NAME_CN:"识别结论卡",NAME_EN:"Conclusion Card",ORDER:14,PLATFORM:["pc","screen"]},D={bgColor:"#fff8e1",titleColor:"#1f2329",textColor:"#333",radiusSize:8,textSize:13,isHideTitle:!1,content:"南帮区域误报率持续偏高,建议优先复核春耕样本范围与扰动数据剔除规则。",lineHeight:1.6,btnText:"策略编辑",btnAction:{value:"publish",type:"select",label:"component.options.lw_btnAction",options:[{label:"component.options.lw_btnAction_publish",value:"publish"},{label:"component.options.lw_btnAction_modal",value:"modal"},{label:"component.options.lw_btnAction_navigate",value:"navigate"}]},modalLayerId:{value:"",type:"string",label:"component.options.lw_modalLayerId",dependent:"btnAction",dependentValue:"modal"},navigateUrl:{value:"",type:"string",label:"component.options.lw_navigateUrl",dependent:"btnAction",dependentValue:"navigate"},linkChannel:{value:"landslide",type:"select",label:"component.options.lw_linkChannel",options:[{label:"component.options.lw_linkChannel_landslide",value:"landslide"},{label:"component.options.lw_linkChannel_custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.options.lw_customChannel",showWhen:{linkChannel:"custom"}}},U=[{name:"结论文本",fv:"",object_id:""}],M=["name","fv","object_id"],H=["mosaic","statistics","calculate"],j={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},B={DEFAULT:L,OPTIONS:D,DATA:U,PARAMS:M,SOURCE:H,COMMON:j},R=e.defineComponent(v(C({},B),{__name:"conclusionCard",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(l){const t=l,o=e.ref("");class _ extends E.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff8e1"),titleColor:this.getOptionValue("titleColor","#1f2329"),textColor:this.getOptionValue("textColor","#333"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",13),content:this.getOptionValue("content",""),lineHeight:this.getOptionValue("lineHeight",1.6),btnText:this.getOptionValue("btnText",""),btnAction:this.getOptionValue("btnAction","publish"),modalLayerId:this.getOptionValue("modalLayerId",""),navigateUrl:this.getOptionValue("navigateUrl",""),linkChannel:this.getOptionValue("linkChannel","landslide"),customChannel:this.getOptionValue("customChannel","")}}getLinkChannel(){const n=this.Style.value;return(n==null?void 0:n.linkChannel)==="custom"?n.customChannel||"":(n==null?void 0:n.linkChannel)||""}setSocketData(n){var r,u;if(!n)return;const i=(u=(r=this.props.conf)==null?void 0:r.data)==null?void 0:u[0];if(!(i!=null&&i.fv))return;const c=this.extractDataValue(n,i.fv);c!=null&&c!==""&&(o.value=String(c))}setHistoryData(n){var r,u,f,h;if(!n||!Array.isArray(n.history))return;const i=(u=(r=this.props.conf)==null?void 0:r.data)==null?void 0:u[0];if(!(i!=null&&i.fv))return;const c=(h=(f=n.history)==null?void 0:f[0])==null?void 0:h[0];c&&c[i.fv]&&(o.value=String(c[i.fv]))}}const p=new _(t,"conclusionCard");p.setupLifecycle();const a=p.getStyle(),d=t.conf,S=e.computed(()=>I.generateTitleStyle(t.conf.options)),m=e.computed(()=>o.value||a.value.content||"--");function x(){if(t.mode!=="preview")return;const s=a.value;switch(s.btnAction){case"modal":s.modalLayerId&&window.dispatchEvent(new CustomEvent("mix-modal",{detail:{action:"show",layerId:s.modalLayerId,sheetIndex:-1}}));break;case"navigate":s.navigateUrl&&window.open(s.navigateUrl,"_blank");break;default:p.publish({type:"conclusion-action",title:d.caption||d.name,content:m.value,action:s.btnText})}}return(s,n)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(a).bgColor,borderRadius:`${e.unref(a).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(S.value)},[e.createElementVNode("span",N,e.toDisplayString(e.unref(d).caption||e.unref(d).name),1),e.unref(a).btnText?(e.openBlock(),e.createElementBlock("button",{key:0,class:"cc-btn",onClick:x},e.toDisplayString(e.unref(a).btnText),1)):e.createCommentVNode("",!0)],4),e.createElementVNode("div",z,[e.createElementVNode("p",{class:"body-content",style:e.normalizeStyle({fontSize:`${e.unref(a).textSize}px`,color:e.unref(a).textColor,lineHeight:e.unref(a).lineHeight})},e.toDisplayString(m.value),5)]),e.renderSlot(s.$slots,"default",{},void 0,!0)],4))}})),q=T._export_sfc(R,[["__scopeId","data-v-35c5f9d1"]]);exports.default=q;
@@ -1,13 +1,13 @@
1
1
  var Ae = Object.defineProperty, De = Object.defineProperties;
2
2
  var Ne = Object.getOwnPropertyDescriptors;
3
3
  var se = Object.getOwnPropertySymbols;
4
- var Ue = Object.prototype.hasOwnProperty, Te = Object.prototype.propertyIsEnumerable;
4
+ var Te = Object.prototype.hasOwnProperty, Ue = Object.prototype.propertyIsEnumerable;
5
5
  var re = (f, u, m) => u in f ? Ae(f, u, { enumerable: !0, configurable: !0, writable: !0, value: m }) : f[u] = m, X = (f, u) => {
6
6
  for (var m in u || (u = {}))
7
- Ue.call(u, m) && re(f, m, u[m]);
7
+ Te.call(u, m) && re(f, m, u[m]);
8
8
  if (se)
9
9
  for (var m of se(u))
10
- Te.call(u, m) && re(f, m, u[m]);
10
+ Ue.call(u, m) && re(f, m, u[m]);
11
11
  return f;
12
12
  }, ue = (f, u) => De(f, Ne(u));
13
13
  var N = (f, u, m) => new Promise((K, S) => {
@@ -26,7 +26,7 @@ var N = (f, u, m) => new Promise((K, S) => {
26
26
  }, P = (B) => B.done ? K(B.value) : Promise.resolve(B.value).then(ee, te);
27
27
  P((m = m.apply(f, u)).next());
28
28
  });
29
- import { ElInput as Le, ElIcon as Fe, ElSelect as Je, ElOption as Pe, ElButton as Re, ElTable as $e, ElTableColumn as je, ElPagination as Ie, ElLoadingDirective as Me, ElDialog as Ke, ElForm as We, ElFormItem as He, ElDescriptions as qe, ElDescriptionsItem as Qe } from "element-plus/es";
29
+ import { ElInput as Le, ElIcon as Fe, ElSelect as Je, ElOption as Pe, ElButton as Re, ElTable as $e, ElTableColumn as Me, ElPagination as je, ElLoadingDirective as Ie, ElDialog as Ke, ElForm as We, ElFormItem as He, ElDescriptions as qe, ElDescriptionsItem as Qe } from "element-plus/es";
30
30
  import "element-plus/es/components/base/style/css";
31
31
  import "element-plus/es/components/loading/style/css";
32
32
  import "element-plus/es/components/descriptions/style/css";
@@ -42,10 +42,11 @@ import "element-plus/es/components/select/style/css";
42
42
  import "element-plus/es/components/option/style/css";
43
43
  import "element-plus/es/components/input/style/css";
44
44
  import "element-plus/es/components/icon/style/css";
45
- import { defineComponent as Ge, computed as Y, reactive as de, ref as k, watch as Xe, onMounted as Ye, openBlock as y, createElementBlock as U, Fragment as Z, withDirectives as pe, normalizeStyle as ce, unref as C, normalizeClass as Ze, toDisplayString as z, createCommentVNode as E, createElementVNode as L, createVNode as o, withKeys as et, withCtx as n, createTextVNode as c, createBlock as F, renderList as tt, renderSlot as lt } from "vue";
46
- import { u as it, a as ot } from "./useMixiotPanelSurface-DlVkLttU.js";
47
- import { B as at } from "./BaseComponent-D5tlYehc.js";
48
- import { a as J, _ as nt } from "./index-Bdq33405.js";
45
+ import { defineComponent as Ge, computed as Y, reactive as de, ref as k, watch as Xe, onMounted as Ye, openBlock as y, createElementBlock as T, Fragment as Z, withDirectives as pe, normalizeStyle as ce, unref as C, normalizeClass as Ze, toDisplayString as z, createCommentVNode as E, createElementVNode as L, createVNode as o, withKeys as et, withCtx as n, createTextVNode as c, createBlock as F, renderList as tt, renderSlot as lt } from "vue";
46
+ import { u as it } from "./useTableBodyHeight-CwrQvi7M.js";
47
+ import { u as ot } from "./useMixiotPanelSurface-DRl3cZvc.js";
48
+ import { B as at } from "./BaseComponent-CBagahPU.js";
49
+ import { a as J, _ as nt } from "./index-DwPJu6XM.js";
49
50
  import { g as st } from "./titleStyle-BT5GlpAb.js";
50
51
  import { ElMessage as v, ElMessageBox as me } from "element-plus";
51
52
  import { Search as rt } from "@element-plus/icons-vue";
@@ -56,7 +57,8 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
56
57
  ACTIVE_ICON: dt,
57
58
  NAME_CN: "控制码列表",
58
59
  NAME_EN: "ControlList",
59
- ORDER: 3
60
+ ORDER: 3,
61
+ PLATFORM: ["pc", "screen"]
60
62
  }, gt = {
61
63
  panelBgTone: {
62
64
  value: "light",
@@ -194,7 +196,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
194
196
  }
195
197
  const K = new m(u, "controlList");
196
198
  K.setupLifecycle();
197
- const S = K.getStyle(), { mixiotPanelClass: ee, mixiotPanelRootStyle: te } = it(S), { tableWrapRef: P, tableBodyHeight: B } = ot(), R = Y(() => st(u.conf.options)), ve = Y(() => {
199
+ const S = K.getStyle(), { mixiotPanelClass: ee, mixiotPanelRootStyle: te } = ot(S), { tableWrapRef: P, tableBodyHeight: B } = it(), R = Y(() => st(u.conf.options)), ve = Y(() => {
198
200
  var a, s, d, p;
199
201
  const i = ((s = (a = u.conf) == null ? void 0 : a.options) == null ? void 0 : s.columns) || [], e = ((p = (d = u.conf) == null ? void 0 : d.data) == null ? void 0 : p[0]) || {};
200
202
  return (Array.isArray(i) ? i : []).map((r) => {
@@ -266,7 +268,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
266
268
  b.current = 1, x();
267
269
  }
268
270
  );
269
- const $ = k(!1), j = k(!1), O = k(!1), l = de({
271
+ const $ = k(!1), M = k(!1), O = k(!1), l = de({
270
272
  id: 0,
271
273
  uid: "",
272
274
  name: "",
@@ -292,8 +294,8 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
292
294
  }
293
295
  function Se(i) {
294
296
  return N(this, null, function* () {
295
- var e, a, s, d, p, r, _, A, G, h, I, T;
296
- H(), j.value = !0, O.value = !0;
297
+ var e, a, s, d, p, r, _, A, G, h, j, U;
298
+ H(), M.value = !0, O.value = !0;
297
299
  try {
298
300
  const w = yield J.post("control_item", { uid: i.uid }, !0), V = (e = w == null ? void 0 : w.result) != null ? e : w;
299
301
  if (V && typeof V == "object") {
@@ -305,7 +307,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
305
307
  } else
306
308
  l.uid = String(i.uid), l.name = String((_ = i.name) != null ? _ : ""), l.alias = String((A = i.alias) != null ? A : ""), l.description = String((G = i.description) != null ? G : "");
307
309
  } catch (w) {
308
- l.uid = String(i.uid), l.name = String((h = i.name) != null ? h : ""), l.alias = String((I = i.alias) != null ? I : ""), l.description = String((T = i.description) != null ? T : ""), v.warning("拉取控制码详情失败,已使用列表行数据编辑");
310
+ l.uid = String(i.uid), l.name = String((h = i.name) != null ? h : ""), l.alias = String((j = i.alias) != null ? j : ""), l.description = String((U = i.description) != null ? U : ""), v.warning("拉取控制码详情失败,已使用列表行数据编辑");
309
311
  } finally {
310
312
  O.value = !1;
311
313
  }
@@ -369,7 +371,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
369
371
  template: e
370
372
  },
371
373
  !0
372
- ), v.success("保存成功"), j.value = !1, yield x();
374
+ ), v.success("保存成功"), M.value = !1, yield x();
373
375
  } catch (s) {
374
376
  v.error("保存失败");
375
377
  } finally {
@@ -425,13 +427,13 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
425
427
  return Ye(() => {
426
428
  x();
427
429
  }), (i, e) => {
428
- const a = Fe, s = Le, d = Pe, p = Je, r = Re, _ = je, A = $e, G = Ie, h = He, I = We, T = Ke, w = Qe, V = qe, D = Me;
429
- return y(), U(Z, null, [
430
- pe((y(), U("div", {
430
+ const a = Fe, s = Le, d = Pe, p = Je, r = Re, _ = Me, A = $e, G = je, h = He, j = We, U = Ke, w = Qe, V = qe, D = Ie;
431
+ return y(), T(Z, null, [
432
+ pe((y(), T("div", {
431
433
  class: Ze(["control-list mix-component", C(ee)]),
432
434
  style: ce(C(te))
433
435
  }, [
434
- C(S).isHideTitle ? E("", !0) : (y(), U("div", {
436
+ C(S).isHideTitle ? E("", !0) : (y(), T("div", {
435
437
  key: 0,
436
438
  class: "mix-title",
437
439
  style: ce(R.value)
@@ -521,7 +523,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
521
523
  height: C(B)
522
524
  }, {
523
525
  default: n(() => [
524
- (y(!0), U(Z, null, tt(ve.value, (t) => (y(), U(Z, {
526
+ (y(!0), T(Z, null, tt(ve.value, (t) => (y(), T(Z, {
525
527
  key: t.prop
526
528
  }, [
527
529
  t.visible ? (y(), F(_, {
@@ -531,8 +533,8 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
531
533
  width: t.width,
532
534
  "min-width": t.minWidth
533
535
  }, {
534
- default: n((M) => [
535
- L("span", null, z(ye(M.row, t.prop)), 1)
536
+ default: n((I) => [
537
+ L("span", null, z(ye(I.row, t.prop)), 1)
536
538
  ]),
537
539
  _: 2
538
540
  }, 1032, ["prop", "label", "width", "min-width"])) : E("", !0)
@@ -546,7 +548,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
546
548
  C(S).showViewBtn ? (y(), F(r, {
547
549
  key: 0,
548
550
  size: "small",
549
- onClick: (M) => Oe(t.row)
551
+ onClick: (I) => Oe(t.row)
550
552
  }, {
551
553
  default: n(() => [...e[22] || (e[22] = [
552
554
  c("查看", -1)
@@ -557,7 +559,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
557
559
  key: 1,
558
560
  size: "small",
559
561
  type: "primary",
560
- onClick: (M) => Se(t.row)
562
+ onClick: (I) => Se(t.row)
561
563
  }, {
562
564
  default: n(() => [...e[23] || (e[23] = [
563
565
  c("编辑", -1)
@@ -568,7 +570,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
568
570
  key: 2,
569
571
  size: "small",
570
572
  type: "info",
571
- onClick: (M) => ze(t.row)
573
+ onClick: (I) => ze(t.row)
572
574
  }, {
573
575
  default: n(() => [...e[24] || (e[24] = [
574
576
  c("资料备档", -1)
@@ -579,7 +581,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
579
581
  key: 3,
580
582
  size: "small",
581
583
  type: "danger",
582
- onClick: (M) => Ee(t.row)
584
+ onClick: (I) => Ee(t.row)
583
585
  }, {
584
586
  default: n(() => [...e[25] || (e[25] = [
585
587
  c("删除", -1)
@@ -611,7 +613,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
611
613
  ], 6)), [
612
614
  [D, oe.value]
613
615
  ]),
614
- o(T, {
616
+ o(U, {
615
617
  modelValue: $.value,
616
618
  "onUpdate:modelValue": e[9] || (e[9] = (t) => $.value = t),
617
619
  title: "添加控制码",
@@ -640,7 +642,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
640
642
  }, 8, ["loading"])
641
643
  ]),
642
644
  default: n(() => [
643
- o(I, {
645
+ o(j, {
644
646
  model: l,
645
647
  "label-width": "110px"
646
648
  }, {
@@ -697,9 +699,9 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
697
699
  ]),
698
700
  _: 1
699
701
  }, 8, ["modelValue"]),
700
- o(T, {
701
- modelValue: j.value,
702
- "onUpdate:modelValue": e[16] || (e[16] = (t) => j.value = t),
702
+ o(U, {
703
+ modelValue: M.value,
704
+ "onUpdate:modelValue": e[16] || (e[16] = (t) => M.value = t),
703
705
  title: "编辑控制码",
704
706
  width: "640px",
705
707
  "destroy-on-close": "",
@@ -707,7 +709,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
707
709
  }, {
708
710
  footer: n(() => [
709
711
  o(r, {
710
- onClick: e[15] || (e[15] = (t) => j.value = !1)
712
+ onClick: e[15] || (e[15] = (t) => M.value = !1)
711
713
  }, {
712
714
  default: n(() => [...e[28] || (e[28] = [
713
715
  c("取消", -1)
@@ -726,7 +728,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
726
728
  }, 8, ["loading"])
727
729
  ]),
728
730
  default: n(() => [
729
- o(I, {
731
+ o(j, {
730
732
  model: l,
731
733
  "label-width": "110px"
732
734
  }, {
@@ -791,7 +793,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
791
793
  ]),
792
794
  _: 1
793
795
  }, 8, ["modelValue"]),
794
- o(T, {
796
+ o(U, {
795
797
  modelValue: Q.value,
796
798
  "onUpdate:modelValue": e[18] || (e[18] = (t) => Q.value = t),
797
799
  title: "控制码详情",
@@ -810,8 +812,8 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
810
812
  })
811
813
  ]),
812
814
  default: n(() => [
813
- pe((y(), U("div", vt, [
814
- g.value ? (y(), U(Z, { key: 0 }, [
815
+ pe((y(), T("div", vt, [
816
+ g.value ? (y(), T(Z, { key: 0 }, [
815
817
  o(V, {
816
818
  column: 2,
817
819
  border: ""
@@ -894,7 +896,7 @@ const ct = { class: "mix-body" }, mt = { class: "toolbar" }, ft = { class: "pagi
894
896
  ], 64);
895
897
  };
896
898
  }
897
- })), Qt = /* @__PURE__ */ nt(Vt, [["__scopeId", "data-v-27ad520d"]]);
899
+ })), Gt = /* @__PURE__ */ nt(Vt, [["__scopeId", "data-v-95b08a91"]]);
898
900
  export {
899
- Qt as default
901
+ Gt as default
900
902
  };
@@ -0,0 +1 @@
1
+ "use strict";var Ve=Object.defineProperty,he=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var X=(m,s,c)=>s in m?Ve(m,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[s]=c,J=(m,s)=>{for(var c in s||(s={}))be.call(s,c)&&X(m,c,s[c]);if(G)for(var c of G(s))we.call(s,c)&&X(m,c,s[c]);return m},Y=(m,s)=>he(m,ye(s));var _=(m,s,c)=>new Promise((M,w)=>{var R=C=>{try{T(c.next(C))}catch(O){w(O)}},$=C=>{try{T(c.throw(C))}catch(O){w(O)}},T=C=>C.done?M(C.value):Promise.resolve(C.value).then(R,$);T((c=c.apply(m,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/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/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),Ce=require("./useTableBodyHeight-pf87uGjw.cjs"),Ne=require("./useMixiotPanelSurface-CAZgexY5.cjs"),xe=require("./BaseComponent-Chnv4fBT.cjs"),B=require("./index-DVqMfQVc.cjs"),ke=require("./titleStyle-NSnz6cUg.cjs"),p=require("element-plus"),Se=require("@element-plus/icons-vue"),_e=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),Z=require("./ele-lst-icon-CrxnHZ-A.cjs"),Be={class:"mix-body"},Ee={class:"toolbar"},Te={class:"pagination"},Oe={class:"view-body"},De={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"控制码列表",NAME_EN:"ControlList",ORDER:3,PLATFORM:["pc","screen"]},ze={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"uid",label:"控制码编号",width:160,visible:!0},{key:"alias",label:"控制码别名",width:140,visible:!0},{key:"name",label:"控制码名称",width:160,visible:!0},{key:"description",label:"描述",minWidth:160,visible:!0},{key:"created",label:"创建时间",width:170,visible:!0},{key:"last_modified",label:"更新时间",width:170,visible:!0}]},ee=[{name:"控制码名称",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0,uid:"控制码编号",uid_visible:!0,alias:"控制码别名",alias_visible:!0,description:"描述",description_visible:!0,created:"创建时间",created_visible:!0,last_modified:"更新时间",last_modified_visible:!0}],Ae=[{key:"showAddBtn",label:"添加控制码",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组"},{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showArchiveBtn",label:"资料备档",type:"checkbox",group:"操作组"},{key:"showDeleteBtn",label:"删除",type:"checkbox",group:"操作组"},{key:"name",label:"参数名称"},{key:"uid",label:"控制码编号",checkable:!0,checkboxKey:"uid_visible"},{key:"alias",label:"控制码别名",checkable:!0,checkboxKey:"alias_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"},{key:"last_modified",label:"更新时间",checkable:!0,checkboxKey:"last_modified_visible"}],qe=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Me={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.name"},{value:"uid",label:"setting.gridFields.uid"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"description",label:"setting.gridFields.description"}]},Ue={DEFAULT:De,OPTIONS:ze,DATA:ee,PARAMS:Ae,SOURCE:qe,COMMON:Me},Le=e.defineComponent(Y(J({},Ue),{__name:"controlList",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{},theme:{},code:{default:""},controlUidList:{default:()=>[]}},setup(m){const s=m;class c extends xe.BaseComponent{getDataBool(t,a){var d,u;const n=(u=(d=this.props.conf)==null?void 0:d.data)==null?void 0:u[0];return n&&Object.prototype.hasOwnProperty.call(n,t)&&n[t]!==void 0?!!n[t]:this.getOptionValue(t,a)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),showAddBtn:this.getDataBool("showAddBtn",!0),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length))this.props.conf.data=JSON.parse(JSON.stringify(ee));else{const a=this.props.conf.data[0],n={showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[u,r]of Object.entries(n))a[u]===void 0&&(a[u]=r);const d={uid_visible:!0,alias_visible:!0,description_visible:!0,created_visible:!0,last_modified_visible:!0};for(const[u,r]of Object.entries(d))a[u]===void 0&&(a[u]=r)}}}const M=new c(s,"controlList");M.setupLifecycle();const w=M.getStyle(),{mixiotPanelClass:R,mixiotPanelRootStyle:$}=Ne.useMixiotPanelSurface(w),{tableWrapRef:T,tableBodyHeight:C}=Ce.useTableBodyHeight(),O=e.computed(()=>ke.generateTitleStyle(s.conf.options)),te=e.computed(()=>{var a,n,d,u;const o=((n=(a=s.conf)==null?void 0:a.options)==null?void 0:n.columns)||[],t=((u=(d=s.conf)==null?void 0:d.data)==null?void 0:u[0])||{};return(Array.isArray(o)?o:[]).map(r=>{const y=t[r.key],k=t[`${r.key}_visible`];return{prop:r.key,label:y!==void 0&&y!==""?String(y):r.label,width:r.width,minWidth:r.minWidth,visible:k!==void 0?!!k:r.visible!==!1}})}),g=e.reactive({current:1,pageSize:10,total:0}),U=e.ref(""),j=e.ref("name"),W=e.ref([]),H=e.ref(!1);function le(){const o={page_index:g.current,page_size:g.pageSize},t=[],a=U.value.trim();return a&&t.push([j.value,"like",`%${a}%`]),_e.appendCommonDesignerWhereAnd(s.conf.common,t),t.length&&(o.where_and=JSON.stringify(t)),o}function N(){return _(this,null,function*(){var o,t;H.value=!0;try{const a=yield B.api.post("control_list",le(),!0),n=(o=a==null?void 0:a.result)!=null?o:a;let d=Array.isArray(n==null?void 0:n.data)?[...n.data]:[];if((t=s.controlUidList)!=null&&t.length){const r=new Set(s.controlUidList.map(String));d=d.filter(y=>r.has(String(y.uid)))}W.value=d;const u=n==null?void 0:n.total_records;g.total=typeof u=="number"?u:d.length,a&&a.code!==void 0&&a.code!==200&&console.warn("[controlList] 列表接口非成功",a.msg||a.info,a)}catch(a){console.error(a),W.value=[],g.total=0}finally{H.value=!1}})}const ie=e.computed(()=>W.value);function oe(o,t){const a=o[t];return a==null?"":String(a)}function Q(){g.current=1,N()}function ae(){U.value="",g.current=1,N()}function ne(){g.current=1,N()}function re(){N()}e.watch(()=>{var o;return(o=s.controlUidList)==null?void 0:o.join(",")},()=>{g.current=1,N()});const D=e.ref(!1),z=e.ref(!1),x=e.ref(!1),i=e.reactive({id:0,uid:"",name:"",alias:"",description:"",script:"[]",template:"[]"});function L(){i.id=0,i.uid="",i.name="",i.alias="",i.description="",i.script="[]",i.template="[]"}function F(o,t){const a=(o==null?void 0:o.trim())||"";if(!a)return t;try{return JSON.stringify(JSON.parse(a))}catch(n){return null}}function se(){L(),D.value=!0}function de(o){return _(this,null,function*(){var t,a,n,d,u,r,y,k,I,V,A,E;L(),z.value=!0,x.value=!0;try{const h=yield B.api.post("control_item",{uid:o.uid},!0),b=(t=h==null?void 0:h.result)!=null?t:h;if(b&&typeof b=="object"){i.id=Number(b.id)||0,i.uid=String((n=(a=b.uid)!=null?a:o.uid)!=null?n:""),i.name=String((d=b.name)!=null?d:""),i.alias=String((u=b.alias)!=null?u:""),i.description=String((r=b.description)!=null?r:"");const S=b.script;i.script=typeof S=="string"?S:S!=null?JSON.stringify(S):"[]";const l=b.template;i.template=typeof l=="string"?l:l!=null?JSON.stringify(l):"[]"}else i.uid=String(o.uid),i.name=String((y=o.name)!=null?y:""),i.alias=String((k=o.alias)!=null?k:""),i.description=String((I=o.description)!=null?I:"")}catch(h){i.uid=String(o.uid),i.name=String((V=o.name)!=null?V:""),i.alias=String((A=o.alias)!=null?A:""),i.description=String((E=o.description)!=null?E:""),p.ElMessage.warning("拉取控制码详情失败,已使用列表行数据编辑")}finally{x.value=!1}})}function ue(){return _(this,null,function*(){var a;if(!((a=i.name)!=null&&a.trim())){p.ElMessage.warning("请填写控制码名称");return}const o=F(i.script,"[]"),t=F(i.template,"[]");if(o===null||t===null){p.ElMessage.error("脚本或模板不是合法 JSON");return}x.value=!0;try{yield B.api.post("control_create",{name:i.name.trim(),alias:i.alias.trim(),description:i.description,script:o,template:t},!0),p.ElMessage.success("添加成功"),D.value=!1,yield N()}catch(n){p.ElMessage.error("添加失败")}finally{x.value=!1}})}function ce(){return _(this,null,function*(){var a;if(!((a=i.name)!=null&&a.trim())){p.ElMessage.warning("请填写控制码名称");return}const o=F(i.script,"[]"),t=F(i.template,"[]");if(o===null||t===null){p.ElMessage.error("脚本或模板不是合法 JSON");return}x.value=!0;try{yield B.api.post("control_update",{id:i.id,uid:i.uid,name:i.name.trim(),alias:i.alias.trim(),description:i.description,script:o,template:t},!0),p.ElMessage.success("保存成功"),z.value=!1,yield N()}catch(n){p.ElMessage.error("保存失败")}finally{x.value=!1}})}const P=e.ref(!1),K=e.ref(!1),v=e.ref(null);function pe(o){if(o==null)return"";if(typeof o=="string")try{return JSON.stringify(JSON.parse(o),null,2)}catch(t){return o}try{return JSON.stringify(o,null,2)}catch(t){return String(o)}}const me=e.computed(()=>v.value?pe(v.value.script):"");function fe(o){return _(this,null,function*(){v.value=null,P.value=!0,K.value=!0;try{const t=yield B.api.post("control_item",{uid:o.uid},!0),a=t==null?void 0:t.result;a&&typeof a=="object"?v.value=a:(v.value=J({},o),p.ElMessage.warning("未返回详情,已显示列表行数据"))}catch(t){v.value=J({},o),p.ElMessage.warning("加载详情失败,已显示列表行数据")}finally{K.value=!1}})}function ge(o){p.ElMessageBox.confirm(`确认对控制码「${o.name||o.uid}」进行资料备档吗?`,"提示",{type:"info"}).then(()=>{p.ElMessage.success("已提交备档(完整流程请在 mixui 控制码管理中操作)")}).catch(()=>{})}function ve(o){p.ElMessageBox.confirm(`确认删除控制码「${o.name||o.uid}」吗?`,"警告",{type:"warning"}).then(()=>_(null,null,function*(){try{yield B.api.post("control_delete",{uid:o.uid,id:o.id},!0),p.ElMessage.success("删除成功"),yield N()}catch(t){p.ElMessage.error("删除失败")}})).catch(()=>{})}return e.onMounted(()=>{N()}),(o,t)=>{const a=f.ElIcon,n=f.ElInput,d=f.ElOption,u=f.ElSelect,r=f.ElButton,y=f.ElTableColumn,k=f.ElTable,I=f.ElPagination,V=f.ElFormItem,A=f.ElForm,E=f.ElDialog,h=f.ElDescriptionsItem,b=f.ElDescriptions,S=f.ElLoadingDirective;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["control-list mix-component",e.unref(R)]),style:e.normalizeStyle(e.unref($))},[e.unref(w).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle(O.value)},e.toDisplayString(m.conf.caption||m.conf.name),5)),e.createElementVNode("div",Be,[e.createElementVNode("div",Ee,[e.createVNode(n,{modelValue:U.value,"onUpdate:modelValue":t[0]||(t[0]=l=>U.value=l),placeholder:"搜索控制码",size:"small",class:"toolbar-search",onKeyup:e.withKeys(Q,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(a,{class:"toolbar-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Se.Search))]),_:1})]),_:1},8,["modelValue"]),e.createVNode(u,{modelValue:j.value,"onUpdate:modelValue":t[1]||(t[1]=l=>j.value=l),size:"small",class:"toolbar-field-select"},{default:e.withCtx(()=>[e.createVNode(d,{label:"控制码名称",value:"name"}),e.createVNode(d,{label:"控制码编号",value:"uid"}),e.createVNode(d,{label:"控制码别名",value:"alias"}),e.createVNode(d,{label:"描述",value:"description"})]),_:1},8,["modelValue"]),e.createVNode(r,{type:"primary",onClick:Q},{default:e.withCtx(()=>[...t[19]||(t[19]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(r,{onClick:ae},{default:e.withCtx(()=>[...t[20]||(t[20]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(w).showAddBtn?(e.openBlock(),e.createBlock(r,{key:0,type:"success",onClick:se},{default:e.withCtx(()=>[...t[21]||(t[21]=[e.createTextVNode("添加控制码",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"tableWrapRef",ref:T,class:"table-wrapper"},[e.createVNode(k,{data:ie.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},height:e.unref(C)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(te.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l.prop},[l.visible?(e.openBlock(),e.createBlock(y,{key:0,prop:l.prop,label:l.label,width:l.width,"min-width":l.minWidth},{default:e.withCtx(q=>[e.createElementVNode("span",null,e.toDisplayString(oe(q.row,l.prop)),1)]),_:2},1032,["prop","label","width","min-width"])):e.createCommentVNode("",!0)],64))),128)),e.createVNode(y,{label:"操作","min-width":"220",fixed:"right"},{default:e.withCtx(l=>[e.unref(w).showViewBtn?(e.openBlock(),e.createBlock(r,{key:0,size:"small",onClick:q=>fe(l.row)},{default:e.withCtx(()=>[...t[22]||(t[22]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(w).showEditBtn?(e.openBlock(),e.createBlock(r,{key:1,size:"small",type:"primary",onClick:q=>de(l.row)},{default:e.withCtx(()=>[...t[23]||(t[23]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(w).showArchiveBtn?(e.openBlock(),e.createBlock(r,{key:2,size:"small",type:"info",onClick:q=>ge(l.row)},{default:e.withCtx(()=>[...t[24]||(t[24]=[e.createTextVNode("资料备档",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(w).showDeleteBtn?(e.openBlock(),e.createBlock(r,{key:3,size:"small",type:"danger",onClick:q=>ve(l.row)},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("删除",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data","height"])],512),e.createElementVNode("div",Te,[e.createVNode(I,{"current-page":g.current,"onUpdate:currentPage":t[2]||(t[2]=l=>g.current=l),"page-size":g.pageSize,"onUpdate:pageSize":t[3]||(t[3]=l=>g.pageSize=l),"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next, jumper",total:g.total,onSizeChange:ne,onCurrentChange:re},null,8,["current-page","page-size","total"])])]),e.renderSlot(o.$slots,"default",{},void 0,!0)],6)),[[S,H.value]]),e.createVNode(E,{modelValue:D.value,"onUpdate:modelValue":t[9]||(t[9]=l=>D.value=l),title:"添加控制码",width:"640px","destroy-on-close":"",onClosed:L},{footer:e.withCtx(()=>[e.createVNode(r,{onClick:t[8]||(t[8]=l=>D.value=!1)},{default:e.withCtx(()=>[...t[26]||(t[26]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(r,{type:"primary",loading:x.value,onClick:ue},{default:e.withCtx(()=>[...t[27]||(t[27]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(A,{model:i,"label-width":"110px"},{default:e.withCtx(()=>[e.createVNode(V,{label:"控制码名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.name,"onUpdate:modelValue":t[4]||(t[4]=l=>i.name=l),placeholder:"必填"},null,8,["modelValue"])]),_:1}),e.createVNode(V,{label:"控制码别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.alias,"onUpdate:modelValue":t[5]||(t[5]=l=>i.alias=l),placeholder:"可选"},null,8,["modelValue"])]),_:1}),e.createVNode(V,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.description,"onUpdate:modelValue":t[6]||(t[6]=l=>i.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1}),e.createVNode(V,{label:"控制码脚本"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.script,"onUpdate:modelValue":t[7]||(t[7]=l=>i.script=l),type:"textarea",rows:8,placeholder:"JSON 数组,默认 []"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(E,{modelValue:z.value,"onUpdate:modelValue":t[16]||(t[16]=l=>z.value=l),title:"编辑控制码",width:"640px","destroy-on-close":"",onClosed:L},{footer:e.withCtx(()=>[e.createVNode(r,{onClick:t[15]||(t[15]=l=>z.value=!1)},{default:e.withCtx(()=>[...t[28]||(t[28]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(r,{type:"primary",loading:x.value,onClick:ce},{default:e.withCtx(()=>[...t[29]||(t[29]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(A,{model:i,"label-width":"110px"},{default:e.withCtx(()=>[e.createVNode(V,{label:"控制码编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.uid,"onUpdate:modelValue":t[10]||(t[10]=l=>i.uid=l),disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(V,{label:"控制码名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.name,"onUpdate:modelValue":t[11]||(t[11]=l=>i.name=l),placeholder:"必填"},null,8,["modelValue"])]),_:1}),e.createVNode(V,{label:"控制码别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.alias,"onUpdate:modelValue":t[12]||(t[12]=l=>i.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(V,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.description,"onUpdate:modelValue":t[13]||(t[13]=l=>i.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1}),e.createVNode(V,{label:"控制码脚本"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:i.script,"onUpdate:modelValue":t[14]||(t[14]=l=>i.script=l),type:"textarea",rows:8},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(E,{modelValue:P.value,"onUpdate:modelValue":t[18]||(t[18]=l=>P.value=l),title:"控制码详情",width:"720px","destroy-on-close":""},{footer:e.withCtx(()=>[e.createVNode(r,{type:"primary",onClick:t[17]||(t[17]=l=>P.value=!1)},{default:e.withCtx(()=>[...t[31]||(t[31]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",Oe,[v.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(b,{column:2,border:""},{default:e.withCtx(()=>[e.createVNode(h,{label:"控制码编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=v.value.uid)!=null?l:""),1)]}),_:1}),e.createVNode(h,{label:"控制码名称"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=v.value.name)!=null?l:""),1)]}),_:1}),e.createVNode(h,{label:"控制码别名"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=v.value.alias)!=null?l:""),1)]}),_:1}),e.createVNode(h,{label:"创建时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=v.value.created)!=null?l:""),1)]}),_:1}),e.createVNode(h,{label:"更新时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=v.value.last_modified)!=null?l:""),1)]}),_:1}),e.createVNode(h,{label:"描述",span:2},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=v.value.description)!=null?l:""),1)]}),_:1})]),_:1}),t[30]||(t[30]=e.createElementVNode("div",{class:"view-block-title"},"控制码脚本",-1)),e.createVNode(n,{"model-value":me.value,type:"textarea",rows:10,readonly:""},null,8,["model-value"])],64)):e.createCommentVNode("",!0)])),[[S,K.value]])]),_:1},8,["modelValue"])],64)}}})),Fe=B._export_sfc(Le,[["__scopeId","data-v-95b08a91"]]);exports.default=Fe;