mixdashboards 1.0.74 → 1.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/dist/BaseComponent-BmhMoM4H.cjs +1 -0
  2. package/dist/{BaseComponent-NnwLq7Cf.js → BaseComponent-CQaDWNO0.js} +10 -10
  3. package/dist/{EChartComponentBase-D7_ZiE7P.cjs → EChartComponentBase-D9EUh4BZ.cjs} +1 -1
  4. package/dist/{EChartComponentBase-C3gcATBZ.js → EChartComponentBase-i76OGL3z.js} +2 -2
  5. package/dist/{EmergencyPlanPanel-0EfbQlQm.js → EmergencyPlanPanel-B9S3Ru5-.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-XDtQc5aN.cjs → EmergencyPlanPanel-BiAHvTfh.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-fbBtPeVt.cjs → HistoryPlanDialog-BU4GayEm.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-ihGqWXNI.js → HistoryPlanDialog-CbbeFm-i.js} +1 -1
  9. package/dist/{MonitoringMap-DysFrw3B.js → MonitoringMap-B6tXBdvK.js} +2 -2
  10. package/dist/{MonitoringMap-UT2OL3ca.cjs → MonitoringMap-FGDoA0fw.cjs} +1 -1
  11. package/dist/{UniverSheet-DeZ-y5mH.cjs → UniverSheet-D7y2pceH.cjs} +1 -1
  12. package/dist/{UniverSheet-CMWL98B8.js → UniverSheet-D8sflrTb.js} +2 -2
  13. package/dist/{accelerationChart-BGjzOc4I.cjs → accelerationChart-DTlwSA0N.cjs} +1 -1
  14. package/dist/{accelerationChart-JNRxAqU5.js → accelerationChart-bch4O3t-.js} +9 -9
  15. package/dist/{actionItem-DnrNafUu.js → actionItem-Cw67YwsR.js} +2 -2
  16. package/dist/{actionItem-DDlL4pxR.cjs → actionItem-cdsgUvaC.cjs} +1 -1
  17. package/dist/{alarmLevelChart-B4TglthF.cjs → alarmLevelChart-BMjTLxB5.cjs} +1 -1
  18. package/dist/{alarmLevelChart-D4ZPyGyd.js → alarmLevelChart-BynSRHG2.js} +2 -2
  19. package/dist/{alertTable-WmivR3n_.cjs → alertTable-3VhkUZSf.cjs} +1 -1
  20. package/dist/{alertTable-IwL3PIbe.js → alertTable-CiwuaydQ.js} +2 -2
  21. package/dist/{aliasObjectSelectorDemo-zcElLG44.cjs → aliasObjectSelectorDemo-BLoecZkV.cjs} +1 -1
  22. package/dist/{aliasObjectSelectorDemo-DCcqetww.js → aliasObjectSelectorDemo-DfdRxb4I.js} +1 -1
  23. package/dist/{annualRainfallChart-CNqrXKJZ.js → annualRainfallChart-CHcr4-0D.js} +2 -2
  24. package/dist/{annualRainfallChart-DspMrDxt.cjs → annualRainfallChart-DKR-A_PT.cjs} +1 -1
  25. package/dist/{aqi-B1bcKY5p.cjs → aqi-D7VqP1QE.cjs} +1 -1
  26. package/dist/{aqi-CdGE9-CD.js → aqi-Gu-pAovO.js} +4 -4
  27. package/dist/{aqiIndass-CuKfMaYn.js → aqiIndass-Bjj6n1aj.js} +18 -18
  28. package/dist/{aqiIndass-BZpPo1tj.cjs → aqiIndass-nfYUZ3UM.cjs} +1 -1
  29. package/dist/{areaDeformCurve-bNNNS8Cb.cjs → areaDeformCurve-fpGWmq05.cjs} +1 -1
  30. package/dist/{areaDeformCurve-Chn4CE8w.js → areaDeformCurve-nwlcUBDv.js} +2 -2
  31. package/dist/arrayCard-TfcgLrHv.js +139 -0
  32. package/dist/arrayCard-UoDqAGbN.cjs +1 -0
  33. package/dist/{audio-YTfr7Lqf.js → audio-BYgGYoEr.js} +2 -2
  34. package/dist/{audio-BeYg08W5.cjs → audio-DdUv9Ot-.cjs} +1 -1
  35. package/dist/bar-CkBXc7t1.cjs +2 -0
  36. package/dist/{bar-YhAAV2al.js → bar-SfGiFl1r.js} +75 -67
  37. package/dist/{bmp-Uj7Bu61U.js → bmp-BbtdzIrI.js} +2 -2
  38. package/dist/{bmp-vWIH5Cu7.cjs → bmp-CY-Hb2x1.cjs} +1 -1
  39. package/dist/{box-Cdzw27uU.cjs → box-B4C_mirv.cjs} +1 -1
  40. package/dist/{box-C8RIfuID.js → box-CV41cJuX.js} +2 -2
  41. package/dist/{chartConfigPanel-DLa3heKy.js → chartConfigPanel-D650rSn7.js} +1 -1
  42. package/dist/{chartConfigPanel-D3voTkdQ.cjs → chartConfigPanel-DBlqAbbH.cjs} +1 -1
  43. package/dist/{circleBar-Dc_qd4gk.cjs → circleBar-DkV7xPBl.cjs} +1 -1
  44. package/dist/{circleBar-DUSP-iMF.js → circleBar-U3iXMQr5.js} +2 -2
  45. package/dist/{clock-0USfNfTc.cjs → clock-CjgMeOhp.cjs} +1 -1
  46. package/dist/{clock-Dk1zjBcJ.js → clock-zKVUU8pu.js} +2 -2
  47. package/dist/clt-BsIA-YPQ.js +301 -0
  48. package/dist/clt-DwI8i7zI.cjs +1 -0
  49. package/dist/cmc-BX9ichBB.cjs +1 -0
  50. package/dist/cmc-CgpHejR2.js +275 -0
  51. package/dist/{cmp-D4ZO7mz7.js → cmp-CS34lG7V.js} +2 -2
  52. package/dist/{cmp-BPM8lMqg.cjs → cmp-CTqtxzo4.cjs} +1 -1
  53. package/dist/{conclusionCard-BYR-fH4f.js → conclusionCard-N6pA6Q9P.js} +2 -2
  54. package/dist/{conclusionCard-BVHHtpxH.cjs → conclusionCard-wvtJmV_8.cjs} +1 -1
  55. package/dist/{controlList-DsEyes9v.cjs → controlList-BUAMdHA3.cjs} +1 -1
  56. package/dist/{controlList-DYV1wgUY.js → controlList-Zz5ABe5b.js} +2 -2
  57. package/dist/{controlRecordList-j0pBrQiU.cjs → controlRecordList-CMR4y_Ml.cjs} +1 -1
  58. package/dist/{controlRecordList-CBGpB41d.js → controlRecordList-Dx0zj7js.js} +2 -2
  59. package/dist/controlRecordListAPP-ZDCKmz_8.cjs +1 -0
  60. package/dist/controlRecordListAPP-bL9oqWzQ.js +569 -0
  61. package/dist/{crd-C8IqmHc6.cjs → crd-8tMwNlgx.cjs} +1 -1
  62. package/dist/{crd-Di7EfiY1.js → crd-DZPpD6XY.js} +2 -2
  63. package/dist/{ctrBtn-BzMHJHA9.js → ctrBtn-6Ql9ulTr.js} +3 -3
  64. package/dist/{ctrBtn-Cj-AqUKM.cjs → ctrBtn-eCu0UDtW.cjs} +1 -1
  65. package/dist/{ctrSet-DMkuRDFI.js → ctrSet-BwFVH1Mk.js} +51 -50
  66. package/dist/{ctrSet-CnDBng-I.cjs → ctrSet-pX-zVivo.cjs} +1 -1
  67. package/dist/{ctrSwitch-BRfl35Aw.cjs → ctrSwitch-D95SI-aJ.cjs} +1 -1
  68. package/dist/{ctrSwitch-FJgD05b0.js → ctrSwitch-b6hHf4QF.js} +3 -3
  69. package/dist/{dataManagement-CXbeNggN.cjs → dataManagement-DubA1TV1.cjs} +1 -1
  70. package/dist/{dataManagement-CQoqc9Rh.js → dataManagement-VucRLCK4.js} +2 -2
  71. package/dist/{dataReport-l2SE8HZx.js → dataReport-CALIw14D.js} +2 -2
  72. package/dist/{dataReport-BkIDOCdC.cjs → dataReport-CkF5J7X1.cjs} +1 -1
  73. package/dist/{dataTable-jf6qXfJJ.js → dataTable-C1rBH_p9.js} +1 -1
  74. package/dist/{dataTable-BdttKfHG.cjs → dataTable-C2q_CX5D.cjs} +1 -1
  75. package/dist/{datetime-eht4XkmD.js → datetime-Cq8scz5Q.js} +2 -2
  76. package/dist/{datetime-BH9orUUf.cjs → datetime-TBTeWqlf.cjs} +1 -1
  77. package/dist/{deepClusterSlipSurface-CF_MN7sO.cjs → deepClusterSlipSurface-CFaxRVmM.cjs} +1 -1
  78. package/dist/{deepClusterSlipSurface-D2d52L50.js → deepClusterSlipSurface-Cm50wbjv.js} +13 -13
  79. package/dist/{deepDataMatrix-DqbCqz8d.cjs → deepDataMatrix-CAYSav3X.cjs} +1 -1
  80. package/dist/{deepDataMatrix-DY1WmgGR.js → deepDataMatrix-DyStA98d.js} +13 -13
  81. package/dist/{deepDisplacement3D-D3-KOmef.cjs → deepDisplacement3D-B3Iju2KK.cjs} +1 -1
  82. package/dist/{deepDisplacement3D-CuVVhd0X.js → deepDisplacement3D-Bat-Wc3i.js} +2 -2
  83. package/dist/{deepDisplacementChart-BwBojI9h.cjs → deepDisplacementChart-C-Tr4DdI.cjs} +1 -1
  84. package/dist/{deepDisplacementChart-DzikjpBz.cjs → deepDisplacementChart-CX9ALM89.cjs} +1 -1
  85. package/dist/{deepDisplacementChart-C_3eHTmR.js → deepDisplacementChart-CYMpNu_W.js} +3 -3
  86. package/dist/{deepDisplacementChart-DFosjAQL.js → deepDisplacementChart-D5rHoC9r.js} +26 -26
  87. package/dist/{deepDisplacementView-gJdi6U9B.cjs → deepDisplacementView-DTSsODJQ.cjs} +1 -1
  88. package/dist/{deepDisplacementView-BNQaheci.js → deepDisplacementView-DnjwQmEW.js} +1 -1
  89. package/dist/{deepNodeTemperatureChart-oMknBT7e.cjs → deepNodeTemperatureChart-C9NRJ49Y.cjs} +1 -1
  90. package/dist/{deepNodeTemperatureChart-C5d-tyOA.js → deepNodeTemperatureChart-CLKg72UA.js} +2 -2
  91. package/dist/{deepTangentAngleChart-C7b7sEab.cjs → deepTangentAngleChart-C9aFSFrD.cjs} +1 -1
  92. package/dist/{deepTangentAngleChart-C35d0nBR.js → deepTangentAngleChart-DklHYHhm.js} +2 -2
  93. package/dist/{deepTemperatureField-BnWHpVPm.cjs → deepTemperatureField-CXBL4_LS.cjs} +1 -1
  94. package/dist/{deepTemperatureField-DbGy0vHS.js → deepTemperatureField-CcnVGgbf.js} +3 -3
  95. package/dist/{deepTrendChart-DdCYjiWZ.js → deepTrendChart-De7ebpk4.js} +2 -2
  96. package/dist/{deepTrendChart-D676owsq.cjs → deepTrendChart-OGW08BX-.cjs} +1 -1
  97. package/dist/{deviceOnlineStatus-DSuaeFZj.cjs → deviceOnlineStatus-DarcMtY4.cjs} +1 -1
  98. package/dist/{deviceOnlineStatus-BH-2-UBD.js → deviceOnlineStatus-_3Txb8Tg.js} +2 -2
  99. package/dist/{deviceStatus-ySE9suGE.cjs → deviceStatus-BiJw8rnz.cjs} +1 -1
  100. package/dist/{deviceStatus-CxjbfqGK.js → deviceStatus-CL6E-pQ0.js} +12 -12
  101. package/dist/{displacementDataTable-DwutxypE.cjs → displacementDataTable-DmAqr-JK.cjs} +1 -1
  102. package/dist/{displacementDataTable-CAYYafN7.js → displacementDataTable-tKtGe2xd.js} +17 -17
  103. package/dist/{displacementTrajectoryChart-zya-qu9n.cjs → displacementTrajectoryChart-DG2YdSqq.cjs} +1 -1
  104. package/dist/{displacementTrajectoryChart-ClUAsle_.js → displacementTrajectoryChart-Dh6oPB0p.js} +31 -31
  105. package/dist/{displacementTrendChart-xqe9LMp8.js → displacementTrendChart-BHORe0qO.js} +40 -40
  106. package/dist/{displacementTrendChart-DZj52qRD.cjs → displacementTrendChart-CT140vXG.cjs} +1 -1
  107. package/dist/{dxf-Cmr9xmL0.cjs → dxf-CVa4Vfm3.cjs} +1 -1
  108. package/dist/{dxf-tZgpovsn.js → dxf-CjcHSJq-.js} +2 -2
  109. package/dist/{dzc-C0VMyvsH.js → dzc-DDXNSuie.js} +6 -6
  110. package/dist/{dzc-BwCEpLKp.cjs → dzc-DK16oTVj.cjs} +1 -1
  111. package/dist/{emergencyPlan-CQtYRB5n.cjs → emergencyPlan-D0AMuD-3.cjs} +1 -1
  112. package/dist/{emergencyPlan-j1icRflR.js → emergencyPlan-Vim4E6h7.js} +3 -3
  113. package/dist/evn-CdMN8gIC.js +165 -0
  114. package/dist/evn-D2mdSoFB.cjs +1 -0
  115. package/dist/{evolutionChart-q9UtSs9r.cjs → evolutionChart-I8XVW05I.cjs} +1 -1
  116. package/dist/{evolutionChart-C1rPjVsB.js → evolutionChart-P0l6P0Bc.js} +3 -3
  117. package/dist/{fileViewer-ZO55zvWU.cjs → fileViewer-D7sAA8-W.cjs} +1 -1
  118. package/dist/{fileViewer-Bj4FYg5G.js → fileViewer-DvntGv0b.js} +2 -2
  119. package/dist/{filterBar-CIYpcc9y.js → filterBar-8gex5oR-.js} +2 -2
  120. package/dist/{filterBar-D7js_Q7g.cjs → filterBar-GSTji96g.cjs} +1 -1
  121. package/dist/{fireCombustionCurve-DEHjb7Lp.js → fireCombustionCurve-B3jAhOft.js} +3 -3
  122. package/dist/{fireCombustionCurve-CiVXjt9E.cjs → fireCombustionCurve-DrMmHf3N.cjs} +1 -1
  123. package/dist/{fireFilterBar-BzgnlY5d.js → fireFilterBar-CH6iK0Xg.js} +2 -2
  124. package/dist/{fireFilterBar-CkQU9Yaf.cjs → fireFilterBar-Dy9DcHij.cjs} +1 -1
  125. package/dist/{fireHistoryTable-BoAArvjx.js → fireHistoryTable-CHxHqPs0.js} +2 -2
  126. package/dist/{fireHistoryTable-JCY4nLos.cjs → fireHistoryTable-n6L3juWp.cjs} +1 -1
  127. package/dist/{gag-DCGVulGC.js → gag-BsO4kmp1.js} +2 -2
  128. package/dist/{gag-CrUeBa30.cjs → gag-BzjuwBvY.cjs} +1 -1
  129. package/dist/gasStationList-7JzUcISs.js +1325 -0
  130. package/dist/gasStationList-QwqTDEAG.cjs +1 -0
  131. package/dist/{geo3dViewer-BSAjBg2m.cjs → geo3dViewer-Cf-jHpvF.cjs} +1 -1
  132. package/dist/{geo3dViewer-Du775tJ7.js → geo3dViewer-doEpUC_J.js} +3 -3
  133. package/dist/{glbModel-2uTNL367.js → glbModel-BgFIj_es.js} +2 -2
  134. package/dist/{glbModel-Cm1M6hko.cjs → glbModel-C6L--3dO.cjs} +1 -1
  135. package/dist/{globalObjectSelector-CEpO2o2w.js → globalObjectSelector-CdfiXRjg.js} +1 -1
  136. package/dist/{globalObjectSelector-W_YToM6x.cjs → globalObjectSelector-P_irB0rv.cjs} +1 -1
  137. package/dist/{gnssFilterBar-BSHEfiyz.cjs → gnssFilterBar-CIwyv2yc.cjs} +1 -1
  138. package/dist/{gnssFilterBar-DZYOL5nC.js → gnssFilterBar-DPNshMIx.js} +2 -2
  139. package/dist/{gnssHistoryTable-naChmXHT.js → gnssHistoryTable-C7x4-Tpp.js} +2 -2
  140. package/dist/{gnssHistoryTable-Ct98Vz6i.cjs → gnssHistoryTable-j5FL6oYs.cjs} +1 -1
  141. package/dist/{gnssMapView-DouWOPLF.js → gnssMapView-BWcS4hqj.js} +4 -4
  142. package/dist/{gnssMapView-CCW4_-Sn.cjs → gnssMapView-_VaJWBcE.cjs} +2 -2
  143. package/dist/{gnssSectionProfile-hzXQ4KzJ.cjs → gnssSectionProfile-DGbTO7lV.cjs} +1 -1
  144. package/dist/{gnssSectionProfile-Be-THvQP.js → gnssSectionProfile-hpyiGI-6.js} +2 -2
  145. package/dist/{gnssTimeSeriesChart-CbMxKxjG.cjs → gnssTimeSeriesChart-CNT6xaNs.cjs} +1 -1
  146. package/dist/{gnssTimeSeriesChart-DoMBz4zf.js → gnssTimeSeriesChart-rL9oG1ly.js} +2 -2
  147. package/dist/{gnssXYTrajectory-Bg2B89Vw.js → gnssXYTrajectory-B1LZAepw.js} +2 -2
  148. package/dist/{gnssXYTrajectory-BNwqQna4.cjs → gnssXYTrajectory-CwAjhPRc.cjs} +1 -1
  149. package/dist/{grd-XTVPofQw.js → grd-BLab9IY0.js} +26 -26
  150. package/dist/{grd-C-x23C0E.cjs → grd-rJXqEimt.cjs} +1 -1
  151. package/dist/{grdIndass-CYawTr5K.js → grdIndass-gGrZ7gRV.js} +2 -2
  152. package/dist/{grdIndass-h7STZwba.cjs → grdIndass-niY4UOwz.cjs} +1 -1
  153. package/dist/{grg-DMRsgNoC.cjs → grg-C1L5yeyY.cjs} +1 -1
  154. package/dist/{grg-BZPHOdr_.js → grg-Dnro7bLg.js} +6 -6
  155. package/dist/{gridview-C_Lqcw3n.js → gridview-BhjWlD0J.js} +2 -2
  156. package/dist/{gridview-BAqXV-TI.cjs → gridview-DxUsv2ny.cjs} +1 -1
  157. package/dist/{groundwaterFilterBar-RcVBt_vt.cjs → groundwaterFilterBar-C-2e7S04.cjs} +1 -1
  158. package/dist/{groundwaterFilterBar-Dq216QFO.js → groundwaterFilterBar-bNhTkX1C.js} +2 -2
  159. package/dist/{groundwaterProfileChart-D31MpfdN.cjs → groundwaterProfileChart-BxKGPuOe.cjs} +2 -2
  160. package/dist/{groundwaterProfileChart-7LN3wfLM.js → groundwaterProfileChart-dhzmwfwz.js} +3 -3
  161. package/dist/{groundwaterTimeCurve-CJgvt43Z.js → groundwaterTimeCurve-BtzP6icm.js} +3 -3
  162. package/dist/{groundwaterTimeCurve-C65gdinn.cjs → groundwaterTimeCurve-CTQPlTUr.cjs} +1 -1
  163. package/dist/{groupCard-BpjcijZW.js → groupCard-D00ElZoy.js} +63 -53
  164. package/dist/{groupCard-DNOawK4_.cjs → groupCard-D4gdaVqR.cjs} +1 -1
  165. package/dist/{headerBar-Bnv8ylmr.js → headerBar-DEHj8fJr.js} +2 -2
  166. package/dist/{headerBar-CNWKR951.cjs → headerBar-MFw1W0qa.cjs} +1 -1
  167. package/dist/{history-DdkBOj8L.js → history-BRkb914v.js} +22 -22
  168. package/dist/{history-xZTq1lUB.cjs → history-D1R2RAZQ.cjs} +1 -1
  169. package/dist/index-77aUdspY.cjs +612 -0
  170. package/dist/{index-D5BukPPY.js → index-BZpYmpDy.js} +3511 -3043
  171. package/dist/{insarDeformChart-DIvxdDkN.cjs → insarDeformChart-5EVWIkpL.cjs} +1 -1
  172. package/dist/{insarDeformChart-BKgJHbFe.js → insarDeformChart-pbOnnoN-.js} +2 -2
  173. package/dist/{insarImageViewer-qI5GBqkU.js → insarImageViewer-D3bbQA6g.js} +2 -2
  174. package/dist/{insarImageViewer-Bray3mKg.cjs → insarImageViewer-DQJBN4YM.cjs} +1 -1
  175. package/dist/{kds-BibvGW1n.cjs → kds-D5seJB3L.cjs} +1 -1
  176. package/dist/{kds-C1Chb0fa.js → kds-gTJOwHbM.js} +2 -2
  177. package/dist/{kpiCard-tnfcEXOn.cjs → kpiCard-Bz-fg6sL.cjs} +1 -1
  178. package/dist/{kpiCard-KuMZjN55.js → kpiCard-Cx6VNK6L.js} +2 -2
  179. package/dist/{landslideMap-B4vzymkZ.js → landslideMap-5erIcZo7.js} +3 -3
  180. package/dist/{landslideMap-DlMSDibx.cjs → landslideMap-D7_QpwmM.cjs} +1 -1
  181. package/dist/{landslideWarning-DtOMb7U_.cjs → landslideWarning-C3FZqrxT.cjs} +1 -1
  182. package/dist/{landslideWarning-BYlaEzUr.js → landslideWarning-CzaddgWf.js} +14 -14
  183. package/dist/{layerTabs-DQm_b2aH.cjs → layerTabs-Dc1Xb11W.cjs} +1 -1
  184. package/dist/{layerTabs-BG0gTvo8.js → layerTabs-DqbOykS2.js} +2 -2
  185. package/dist/{leaflet-src-DVXepwmU.js → leaflet-src-BY2SMh9y.js} +1 -1
  186. package/dist/{leaflet-src-qPfpknMO.cjs → leaflet-src-Brb8KUL5.cjs} +1 -1
  187. package/dist/{lerc-Z6kWrF7V.js → lerc-Chm_GVte.js} +2 -2
  188. package/dist/{lerc-CITZZDb7.cjs → lerc-DGuyYCKG.cjs} +1 -1
  189. package/dist/{lin-CW8Q8u-z.cjs → lin-8x2j8aGa.cjs} +1 -1
  190. package/dist/{lin-zJYjIE2f.js → lin-tqtSA5ci.js} +5 -5
  191. package/dist/{linIndass-27mWriLs.js → linIndass-DHFymSVI.js} +10 -10
  192. package/dist/{linIndass-CQaikC7I.cjs → linIndass-Dxo_bzrZ.cjs} +1 -1
  193. package/dist/{lst-Cu-ohx2m.cjs → lst-BV6EbDPs.cjs} +1 -1
  194. package/dist/{lst-BqXNkXrQ.js → lst-BejIuO0f.js} +2 -2
  195. package/dist/{manualEntry-zj6TEXL7.cjs → manualEntry-Bt4cs6kn.cjs} +1 -1
  196. package/dist/{manualEntry-BPEmSok7.js → manualEntry-DObI0OAq.js} +2 -2
  197. package/dist/{mapBackground-BhcSOZ_h.js → mapBackground-Cuym5Dqr.js} +3 -3
  198. package/dist/{mapBackground-CRI873EC.cjs → mapBackground-oVOBK3zr.cjs} +1 -1
  199. package/dist/{mappingList-DGgPl4t4.cjs → mappingList-BEWAqLd4.cjs} +1 -1
  200. package/dist/{mappingList-CvG8EIIC.js → mappingList-Dzq0zMfs.js} +2 -2
  201. package/dist/{markdownViewer-D9JqGyeI.js → markdownViewer-Bz50jkb6.js} +2 -2
  202. package/dist/{markdownViewer-DvbUv7kn.cjs → markdownViewer-V5b1xhPh.cjs} +1 -1
  203. package/dist/{mix-control-modal-DaRWnX3S.js → mix-control-modal-DzVLdO3S.js} +1 -1
  204. package/dist/{mix-control-modal-DpAs-GHi.cjs → mix-control-modal-I6DqPm04.cjs} +1 -1
  205. package/dist/{mixGrid-CHne1dXO.cjs → mixGrid-_ur8VKLD.cjs} +1 -1
  206. package/dist/{mixGrid-FBiMFT4V.js → mixGrid-tVSdKPms.js} +2 -2
  207. package/dist/mixdashboards.cjs +1 -1
  208. package/dist/mixdashboards.css +1 -1
  209. package/dist/mixdashboards.js +1 -1
  210. package/dist/mixiotObjectListApi-BUQ-RZ3L.cjs +1 -0
  211. package/dist/mixiotObjectListApi-D5vNNWgT.js +212 -0
  212. package/dist/{mjpegCamera-D32gJ5oN.cjs → mjpegCamera-CjWe8BEK.cjs} +1 -1
  213. package/dist/{mjpegCamera-D2quqZNc.js → mjpegCamera-DnAPpFJU.js} +2 -2
  214. package/dist/{monitorAlert-D4qszzHh.js → monitorAlert-B-fTYPn6.js} +15 -15
  215. package/dist/{monitorAlert-CxC81qAu.cjs → monitorAlert-qmVSQ1lc.cjs} +1 -1
  216. package/dist/{monitorData-DnWDsgTT.js → monitorData-Dopc660L.js} +7 -7
  217. package/dist/{monitorData-CVkL2ukF.cjs → monitorData-YhGSUq3H.cjs} +1 -1
  218. package/dist/{monitorSpeedChart-CKxwWE0i.cjs → monitorSpeedChart-Brj_YHsO.cjs} +1 -1
  219. package/dist/{monitorSpeedChart-CHpQsrDt.js → monitorSpeedChart-Dsvr_QPB.js} +1 -1
  220. package/dist/{mxa-UU7rQDd8.cjs → mxa-BzdI7BLB.cjs} +1 -1
  221. package/dist/{mxa-Cbnwonqc.js → mxa-D4WkyBYZ.js} +7 -7
  222. package/dist/{myValue-DzARZpdg.cjs → myValue-C0tq-asC.cjs} +1 -1
  223. package/dist/{myValue-DBxx1jtk.js → myValue-DYtBtOJ2.js} +2 -2
  224. package/dist/{myValueList-BVbeDsWn.cjs → myValueList-BJctRTNd.cjs} +1 -1
  225. package/dist/{myValueList-BbtPVr5y.js → myValueList-Ddpn1S68.js} +2 -2
  226. package/dist/objectList-Csf0hVwo.cjs +1 -0
  227. package/dist/objectList-G4wXFDwe.js +2040 -0
  228. package/dist/{objectListAPP-CYxy9UjL.js → objectListAPP-BrmUj4At.js} +49 -51
  229. package/dist/objectListAPP-UZN4iuTn.cjs +1 -0
  230. package/dist/{photo-DPOhq559.js → photo-BEPeK7U8.js} +2 -2
  231. package/dist/{photo-BRMACjXO.cjs → photo-BYH_qg5O.cjs} +1 -1
  232. package/dist/{pie-B7HO9F24.cjs → pie-B57zDxJV.cjs} +1 -1
  233. package/dist/{pie-CUqy6VGE.js → pie-CEVKe1lL.js} +2 -2
  234. package/dist/{placeholder-D-BpaT59.cjs → placeholder-BezBEQGo.cjs} +1 -1
  235. package/dist/{placeholder-DsyLsZM5.js → placeholder-Bwv3VyEg.js} +1 -1
  236. package/dist/{pressBtn-IefW25bT.js → pressBtn-1LCNz2gE.js} +33 -33
  237. package/dist/{pressBtn-DZz7PZ7o.cjs → pressBtn-CJZTyY8I.cjs} +1 -1
  238. package/dist/{processTable-Bm2HnUrZ.js → processTable-CHDazqah.js} +2 -2
  239. package/dist/{processTable-kVFr2ntb.cjs → processTable-HtDeg1by.cjs} +1 -1
  240. package/dist/{progressBar-00yP_jc2.cjs → progressBar-BP4SmPZK.cjs} +1 -1
  241. package/dist/{progressBar-C7RKpdcE.js → progressBar-C3NcWUrS.js} +2 -2
  242. package/dist/{progressCircle-BBkwMkI0.js → progressCircle-Bo9-Qva_.js} +48 -48
  243. package/dist/{progressCircle-CzqibMlZ.cjs → progressCircle-CDqK1iFt.cjs} +1 -1
  244. package/dist/{qrcode-DaHlY7Vv.js → qrcode-VmYwvClG.js} +2 -2
  245. package/dist/{qrcode-4NUAsx0h.cjs → qrcode-qD6tOm4F.cjs} +1 -1
  246. package/dist/{raceBar-WhOgwnlP.js → raceBar-DR2-luKW.js} +2 -2
  247. package/dist/{raceBar-BVsHg94d.cjs → raceBar-uAs91hyk.cjs} +1 -1
  248. package/dist/{rad-BlEn2Yx1.js → rad-1Jy1KDzt.js} +2 -2
  249. package/dist/{rad-sMtJPs8L.cjs → rad-D7-YZJNO.cjs} +1 -1
  250. package/dist/{radarMapViewer-C1_FFYFi.js → radarMapViewer-ByQXe0Mu.js} +2 -2
  251. package/dist/{radarMapViewer-CzhHFpRX.cjs → radarMapViewer-KPhNE5XX.cjs} +1 -1
  252. package/dist/{rainfallFilterBar-Bt2TbXV6.js → rainfallFilterBar-C1obotPf.js} +2 -2
  253. package/dist/{rainfallFilterBar-F7DU_nqK.cjs → rainfallFilterBar-CVQpQp82.cjs} +1 -1
  254. package/dist/{rainfallTimeCurve-C5tBf1lx.js → rainfallTimeCurve-B2rEx3T_.js} +3 -3
  255. package/dist/{rainfallTimeCurve-DaXSW7dI.cjs → rainfallTimeCurve-DU2tt-Ls.cjs} +1 -1
  256. package/dist/{rangeLin-Cr4NRYc9.cjs → rangeLin-COsJkCky.cjs} +1 -1
  257. package/dist/{rangeLin-Bral8Ev4.js → rangeLin-CdfUCFQr.js} +8 -8
  258. package/dist/{realtimeEvolutionMap-CCisvZz8.cjs → realtimeEvolutionMap-B7GT8MOq.cjs} +1 -1
  259. package/dist/{realtimeEvolutionMap-xJwuPatp.js → realtimeEvolutionMap-aR63xPW_.js} +2 -2
  260. package/dist/{regionBar-C8myvRfQ.cjs → regionBar-BYF7IaGA.cjs} +1 -1
  261. package/dist/{regionBar-D1iKcs2-.js → regionBar-DB-secNe.js} +2 -2
  262. package/dist/{request-C-rUicMg.js → request-CBsG4ipL.js} +1 -1
  263. package/dist/{request-Cxljxwu9.cjs → request-CvdHjG34.cjs} +1 -1
  264. package/dist/{retainer1-CC6TO-vq.cjs → retainer1-1CFk4InO.cjs} +1 -1
  265. package/dist/{retainer1-BvzeaTtU.js → retainer1-CMzTlM5Z.js} +3 -3
  266. package/dist/{retainer2-BeakFCgo.js → retainer2-DW4ewYX7.js} +3 -3
  267. package/dist/{retainer2-CmdgkB1y.cjs → retainer2-DliOH7it.cjs} +1 -1
  268. package/dist/{retainerRecordList-C7lDliOb.js → retainerRecordList-Bcm6leuD.js} +254 -275
  269. package/dist/retainerRecordList-DV7Tx39d.cjs +1 -0
  270. package/dist/retainerRecordListAPP-BDRwp8T3.js +1219 -0
  271. package/dist/retainerRecordListAPP-CJ-u0Tj2.cjs +1 -0
  272. package/dist/{ringTopN-BaKY-79s.js → ringTopN-Duq0pzm_.js} +2 -2
  273. package/dist/{ringTopN-Wfvu1-jE.cjs → ringTopN-rd2UwH9f.cjs} +1 -1
  274. package/dist/{riskRegionTable-ovBbwMl2.js → riskRegionTable-BE_ggcEV.js} +2 -2
  275. package/dist/{riskRegionTable-C7ee9wQX.cjs → riskRegionTable-CbPB8mlY.cjs} +1 -1
  276. package/dist/{sankey-BmWOGLSZ.cjs → sankey-BqBn6_rx.cjs} +1 -1
  277. package/dist/{sankey-K5BLueeX.js → sankey-CnKm9PZe.js} +2 -2
  278. package/dist/{scd-CMVoKjwE.js → scd-BaBLoem8.js} +456 -449
  279. package/dist/scd-BgJ5P7co.cjs +1 -0
  280. package/dist/{sideMenu-BbiMVHw1.cjs → sideMenu-BgiQL2P1.cjs} +1 -1
  281. package/dist/{sideMenu-L_dYXVgD.js → sideMenu-CUal1UQY.js} +2 -2
  282. package/dist/{slopeStability-WUcwG1vB.js → slopeStability-B9YbQLCE.js} +25 -25
  283. package/dist/{slopeStability-BWVxuRRV.cjs → slopeStability-Y2tDzJeh.cjs} +1 -1
  284. package/dist/{speedCurve-uwPuIJp0.js → speedCurve-DERBMtE1.js} +2 -2
  285. package/dist/{speedCurve-QTXe81e1.cjs → speedCurve-Kll2RRJ8.cjs} +1 -1
  286. package/dist/{stressFilterBar-DcqWlqsx.cjs → stressFilterBar-BGI4gVfE.cjs} +1 -1
  287. package/dist/{stressFilterBar-CnFNp7BR.js → stressFilterBar-CHRWFnpP.js} +2 -2
  288. package/dist/{stressTimeCurve-C-qycuZ2.cjs → stressTimeCurve-DE5KiXEt.cjs} +1 -1
  289. package/dist/{stressTimeCurve-C3r3LUBt.js → stressTimeCurve-hrlqSYS3.js} +3 -3
  290. package/dist/{swiper-wWrsPbDA.cjs → swiper-CnGllhBQ.cjs} +1 -1
  291. package/dist/{swiper-JShIvM0E.js → swiper-DNHC412s.js} +2 -2
  292. package/dist/{terminalConfigList-DVhEvcTB.js → terminalConfigList-BlHAsyCm.js} +2 -2
  293. package/dist/{terminalConfigList-nQqB1W5s.cjs → terminalConfigList-C45EANO4.cjs} +1 -1
  294. package/dist/{terminalList-BkMuHXZw.cjs → terminalList-CNI3_FGb.cjs} +1 -1
  295. package/dist/{terminalList-wAz6t4Ib.js → terminalList-UGjkhyf4.js} +2 -2
  296. package/dist/{terminalListAPP-CePxWgcL.cjs → terminalListAPP-6fPXF-yJ.cjs} +1 -1
  297. package/dist/{terminalListAPP-DuLN2OVq.js → terminalListAPP-CIJZMdxI.js} +2 -2
  298. package/dist/{textbox-DxXuhIyj.js → textbox-BD_LQ0EN.js} +2 -2
  299. package/dist/{textbox-BBi-Lg1Z.cjs → textbox-yNPnOaan.cjs} +1 -1
  300. package/dist/{timeQueryBar-BCTeL04F.cjs → timeQueryBar-3qiV0IV9.cjs} +1 -1
  301. package/dist/{timeQueryBar-DtngkLJX.js → timeQueryBar-B-uPtN25.js} +1 -1
  302. package/dist/{timeSeries-DJZnExBA.cjs → timeSeries-BTUuojvj.cjs} +1 -1
  303. package/dist/{timeSeries-CrdyAYs2.js → timeSeries-DdQI4oZU.js} +3 -3
  304. package/dist/{timeSeriesCurve-8_n0JJyf.cjs → timeSeriesCurve-Cj_FbK4x.cjs} +1 -1
  305. package/dist/{timeSeriesCurve-8_exdGlQ.js → timeSeriesCurve-TGXshTzl.js} +3 -3
  306. package/dist/{toggleBtn-DExYfMvi.js → toggleBtn-BMxqm5WG.js} +2 -2
  307. package/dist/{toggleBtn-B6dJ5cAt.cjs → toggleBtn-BXcQfnTB.cjs} +1 -1
  308. package/dist/{trajectoryConfigPanel-B2fwoe-I.cjs → trajectoryConfigPanel-CqoKO0hL.cjs} +1 -1
  309. package/dist/{trajectoryConfigPanel-Ce1SoMtw.js → trajectoryConfigPanel-uRLWdXUb.js} +1 -1
  310. package/dist/{trajectoryScatter-h32teAQ0.js → trajectoryScatter-DPE4cC8N.js} +2 -2
  311. package/dist/{trajectoryScatter-CVLEXMPO.cjs → trajectoryScatter-Dph8PSdN.cjs} +1 -1
  312. package/dist/{universalConfigPanel-CxbrIc2Z.js → universalConfigPanel-CI1CuBmr.js} +1 -1
  313. package/dist/{universalConfigPanel-cRzJmx3l.cjs → universalConfigPanel-Db-pC67o.cjs} +1 -1
  314. package/dist/{universalTable-BssAi-QH.js → universalTable-DMrgtBrw.js} +2 -2
  315. package/dist/{universalTable-V604pFVr.cjs → universalTable-dQObEQog.cjs} +1 -1
  316. package/dist/{video-BjmIbrRS.js → video-DEhLie80.js} +2 -2
  317. package/dist/{video-B8JeGpBc.cjs → video-DbsKQhVD.cjs} +1 -1
  318. package/dist/{videoMonitor-CVkFwlZq.js → videoMonitor-BS6_LYUb.js} +12 -12
  319. package/dist/{videoMonitor-B6FzkJlS.cjs → videoMonitor-DLBtivXO.cjs} +1 -1
  320. package/dist/vlu-DXk_wQf-.cjs +1 -0
  321. package/dist/vlu-DaSjPY3I.js +149 -0
  322. package/dist/{warningOverview-DDOm2wwB.js → warningOverview-CKCEs_Jj.js} +3 -3
  323. package/dist/{warningOverview-4M-WX3Ob.cjs → warningOverview-DAUlXzr0.cjs} +1 -1
  324. package/dist/{weather-BGrOQFPM.cjs → weather-BAI0IWNH.cjs} +1 -1
  325. package/dist/{weather-CETxcsJS.js → weather-XUj6pFwM.js} +2 -2
  326. package/dist/{windLin-B3YXltBn.js → windLin-Bt4q2eUT.js} +2 -2
  327. package/dist/{windLin-B6uEtUnB.cjs → windLin-C9dsCT1w.cjs} +1 -1
  328. package/package.json +1 -1
  329. package/dist/BaseComponent-CaCkjmmb.cjs +0 -1
  330. package/dist/arrayCard-BYZWRop3.cjs +0 -1
  331. package/dist/arrayCard-CVVWnZDk.js +0 -131
  332. package/dist/bar-1K14ZPKy.cjs +0 -2
  333. package/dist/clt-BCHpLoab.cjs +0 -1
  334. package/dist/clt-Ba9Ov5WY.js +0 -296
  335. package/dist/cmc-CdDCboSm.cjs +0 -1
  336. package/dist/cmc-CsVB4uz3.js +0 -277
  337. package/dist/controlRecordListAPP-BktJCkFK.cjs +0 -1
  338. package/dist/controlRecordListAPP-CSt8rFZX.js +0 -502
  339. package/dist/evn-B2F6pbqY.js +0 -158
  340. package/dist/evn-B6WNZ0pv.cjs +0 -1
  341. package/dist/gasStationList-CN2y3zri.cjs +0 -1
  342. package/dist/gasStationList-CifrfkH0.js +0 -1239
  343. package/dist/index-BzWbqJIl.cjs +0 -612
  344. package/dist/mixiotObjectListApi-BwIQvSS-.js +0 -67
  345. package/dist/mixiotObjectListApi-ClirV2tM.cjs +0 -1
  346. package/dist/objectList-Cpu0yqsK.js +0 -1740
  347. package/dist/objectList-D5E8PU66.cjs +0 -1
  348. package/dist/objectListAPP-Cr4uoJuN.cjs +0 -1
  349. package/dist/retainerRecordList-C9xVt3Yk.cjs +0 -1
  350. package/dist/retainerRecordListAPP-BRmG7UnF.cjs +0 -1
  351. package/dist/retainerRecordListAPP-Cjip5JHS.js +0 -1070
  352. package/dist/scd-CCNgUI2Q.cjs +0 -1
  353. package/dist/vlu-CHHDngO6.js +0 -142
  354. package/dist/vlu-Dv1vt9r0.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";var v=Object.defineProperty,T=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var h=(r,o,e)=>o in r?v(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e,g=(r,o)=>{for(var e in o||(o={}))z.call(o,e)&&h(r,e,o[e]);if(C)for(var e of C(o))N.call(o,e)&&h(r,e,o[e]);return r},_=(r,o)=>T(r,b(o));var A=(r,o,e)=>new Promise((S,f)=>{var d=n=>{try{y(e.next(n))}catch(l){f(l)}},p=n=>{try{y(e.throw(n))}catch(l){f(l)}},y=n=>n.done?S(n.value):Promise.resolve(n.value).then(d,p);y((e=e.apply(r,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),V=require("./BaseComponent-CaCkjmmb.cjs"),D=require("./index-BzWbqJIl.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),E=require("./ele-arrayCard-icon-QOabvV0y.cjs"),I={class:"mix-body"},L={DEFAULT_ICON:E.DEFAULT_ICON,ACTIVE_ICON:E.ACTIVE_ICON,NAME_CN:"统计",NAME_EN:"Array Card",ORDER:5,PLATFORM:["pc","screen","mobile"]},k={titleColor:"#111",bgColor:"#fff",textColor:"#111",textSize:48,radiusSize:8,isHideTitle:!0},O=[{fv:"",object_id:""}],B=["fv","object_id"],R=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],U=1,F={useAlias:!1,source:"mosaic",multiObject:!1,hideMultiObject:!0},j={DEFAULT:L,OPTIONS:k,DATA:O,PARAMS:B,SOURCE:R,ITEMS:U,COMMON:F},q=t.defineComponent(_(g({},j),{__name:"arrayCard",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){const e=r;class S extends V.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),textSize:this.getOptionValue("textSize",48),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!0)}}init(){return A(this,null,function*(){var i;this.Style.value=this.extractStyles(),this.applyTheme(),(i=this.props.conf.data)!=null&&i.length||(this.props.conf.data=O)})}setHistoryData(i){if(!i)return;const{data:a}=this.props.conf;!Array.isArray(a)||!a.length||a.forEach((s,c)=>{try{const u=i[c].data[0];u!=null&&(s.value=u)}catch(u){}})}setSocketData(i){if(!i)return;const{data:a}=this.props.conf;a.forEach(s=>{var c;s.value=(c=this.extractDataValue(i,s.fv))!=null?c:"--"})}}const f=new S(e,"arrayCard");f.setupLifecycle();const d=f.getStyle(),p=e.conf,y=t.computed(()=>M.generateTitleStyle(e.conf.options)),n=l=>{var u;const i=((u=l==null?void 0:l[0])==null?void 0:u.value)||0,a=String(Math.floor(Number(i)||0)),s=[];let c=0;for(;c<a.length;)s.push(a.slice(c,c+3)),c+=3;return s.flatMap((m,x)=>x>0?[",",m]:[m])};return(l,i)=>(t.openBlock(),t.createElementBlock("div",{class:"mix-component",style:t.normalizeStyle({background:t.unref(d).bgColor,borderRadius:`${t.unref(d).radiusSize}px`})},[t.createElementVNode("div",{class:"mix-title",style:t.normalizeStyle(y.value)},t.toDisplayString(t.unref(p).caption||t.unref(p).name),5),t.createElementVNode("div",I,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n(t.unref(p).data),(a,s)=>(t.openBlock(),t.createElementBlock("div",{key:s,class:t.normalizeClass(["digit-item",{separator:a==","}]),style:t.normalizeStyle({fontSize:`${t.unref(d).textSize}px`,color:t.unref(d).textColor})},t.toDisplayString(a),7))),128))]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4))}})),H=D._export_sfc(q,[["__scopeId","data-v-25cf3e1d"]]);exports.default=H;
@@ -1,131 +0,0 @@
1
- var D = Object.defineProperty, V = Object.defineProperties;
2
- var M = Object.getOwnPropertyDescriptors;
3
- var _ = Object.getOwnPropertySymbols;
4
- var N = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
- var A = (o, e, t) => e in o ? D(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, x = (o, e) => {
6
- for (var t in e || (e = {}))
7
- N.call(e, t) && A(o, t, e[t]);
8
- if (_)
9
- for (var t of _(e))
10
- L.call(e, t) && A(o, t, e[t]);
11
- return o;
12
- }, O = (o, e) => V(o, M(e));
13
- var E = (o, e, t) => new Promise((y, d) => {
14
- var p = (i) => {
15
- try {
16
- m(t.next(i));
17
- } catch (a) {
18
- d(a);
19
- }
20
- }, f = (i) => {
21
- try {
22
- m(t.throw(i));
23
- } catch (a) {
24
- d(a);
25
- }
26
- }, m = (i) => i.done ? y(i.value) : Promise.resolve(i.value).then(p, f);
27
- m((t = t.apply(o, e)).next());
28
- });
29
- import { defineComponent as R, computed as U, openBlock as h, createElementBlock as S, normalizeStyle as C, unref as u, createElementVNode as v, toDisplayString as b, Fragment as F, renderList as I, normalizeClass as j, renderSlot as k } from "vue";
30
- import { B } from "./BaseComponent-NnwLq7Cf.js";
31
- import { _ as H } from "./index-D5BukPPY.js";
32
- import { g as P } from "./titleStyle-BT5GlpAb.js";
33
- import { A as $, D as w } from "./ele-arrayCard-icon-CAk9ojr4.js";
34
- const q = { class: "mix-body" }, G = {
35
- DEFAULT_ICON: w,
36
- ACTIVE_ICON: $,
37
- NAME_CN: "统计",
38
- NAME_EN: "Array Card",
39
- ORDER: 5,
40
- PLATFORM: ["pc", "screen", "mobile"]
41
- }, J = {
42
- titleColor: "#111",
43
- bgColor: "#fff",
44
- textColor: "#111",
45
- textSize: 48,
46
- radiusSize: 8,
47
- isHideTitle: !0
48
- }, T = [{ fv: "", object_id: "" }], K = ["fv", "object_id"], Q = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], W = 1, X = {
49
- useAlias: !1,
50
- source: "mosaic",
51
- multiObject: !1,
52
- hideMultiObject: !0
53
- }, Y = { DEFAULT: G, OPTIONS: J, DATA: T, PARAMS: K, SOURCE: Q, ITEMS: W, COMMON: X }, Z = /* @__PURE__ */ R(O(x({}, Y), {
54
- __name: "arrayCard",
55
- props: {
56
- conf: { type: Object, default: () => ({ data: [] }) },
57
- uid: { type: String, default: "" },
58
- mode: { type: String, default: "edit" },
59
- theme: { type: String, default: "light" }
60
- },
61
- setup(o) {
62
- const t = o;
63
- class y extends B {
64
- extractStyles() {
65
- return {
66
- bgColor: this.getOptionValue("bgColor", "#fff"),
67
- titleColor: this.getOptionValue("titleColor", "#111"),
68
- textColor: this.getOptionValue("textColor", "#111"),
69
- textSize: this.getOptionValue("textSize", 48),
70
- radiusSize: this.getOptionValue("radiusSize", 8),
71
- isHideTitle: this.getOptionValue("isHideTitle", !0)
72
- };
73
- }
74
- init() {
75
- return E(this, null, function* () {
76
- var r;
77
- this.Style.value = this.extractStyles(), this.applyTheme(), (r = this.props.conf.data) != null && r.length || (this.props.conf.data = T);
78
- });
79
- }
80
- setHistoryData(r) {
81
- if (!r) return;
82
- const { data: s } = this.props.conf;
83
- !Array.isArray(s) || !s.length || s.forEach((l, n) => {
84
- try {
85
- const c = r[n].data[0];
86
- c != null && (l.value = c);
87
- } catch (c) {
88
- }
89
- });
90
- }
91
- setSocketData(r) {
92
- if (!r) return;
93
- const { data: s } = this.props.conf;
94
- s.forEach((l) => {
95
- var n;
96
- l.value = (n = this.extractDataValue(r, l.fv)) != null ? n : "--";
97
- });
98
- }
99
- }
100
- const d = new y(t, "arrayCard");
101
- d.setupLifecycle();
102
- const p = d.getStyle(), f = t.conf, m = U(() => P(t.conf.options)), i = (a) => {
103
- var c;
104
- const r = ((c = a == null ? void 0 : a[0]) == null ? void 0 : c.value) || 0, s = String(Math.floor(Number(r) || 0)), l = [];
105
- let n = 0;
106
- for (; n < s.length; )
107
- l.push(s.slice(n, n + 3)), n += 3;
108
- return l.flatMap((g, z) => z > 0 ? [",", g] : [g]);
109
- };
110
- return (a, r) => (h(), S("div", {
111
- class: "mix-component",
112
- style: C({ background: u(p).bgColor, borderRadius: `${u(p).radiusSize}px` })
113
- }, [
114
- v("div", {
115
- class: "mix-title",
116
- style: C(m.value)
117
- }, b(u(f).caption || u(f).name), 5),
118
- v("div", q, [
119
- (h(!0), S(F, null, I(i(u(f).data), (s, l) => (h(), S("div", {
120
- key: l,
121
- class: j(["digit-item", { separator: s == "," }]),
122
- style: C({ fontSize: `${u(p).textSize}px`, color: u(p).textColor })
123
- }, b(s), 7))), 128))
124
- ]),
125
- k(a.$slots, "default", {}, void 0, !0)
126
- ], 4));
127
- }
128
- })), it = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-25cf3e1d"]]);
129
- export {
130
- it as default
131
- };
@@ -1,2 +0,0 @@
1
- "use strict";var q=Object.defineProperty,R=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var U=(p,s,u)=>s in p?q(p,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):p[s]=u,A=(p,s)=>{for(var u in s||(s={}))j.call(s,u)&&U(p,u,s[u]);if(I)for(var u of I(s))W.call(s,u)&&U(p,u,s[u]);return p},_=(p,s)=>R(p,V(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),h=require("./index-BzWbqJIl.cjs");require("element-plus");const $=require("./EChartComponentBase-D7_ZiE7P.cjs"),F=require("./titleStyle-NSnz6cUg.cjs"),D=require("./ele-bar-icon-V94clxg_.cjs"),X=require("./install-DV5cEgNV.cjs"),M=require("./install-CltTFs4e.cjs"),L=require("./installCanvasRenderer-CyhM1Qpl.cjs"),P=require("./install-C8buXQPI.cjs"),B=require("./install-Ch5d8i37.cjs"),H={class:"mix-body"},G=["id"],K={DEFAULT_ICON:D.DEFAULT_ICON,ACTIVE_ICON:D.ACTIVE_ICON,NAME_CN:"基础柱状图",NAME_EN:"Bar Chart",ORDER:1,PLATFORM:["pc","screen","mobile"]},J={titleColor:"#111",textColor:"#111",bgColor:"#fff",top:30,bottom:40,left:40,right:20,radiusSize:8,textSize:12,barWidth:30,points:10,isHideTitle:!1,showLabel:!1},Q=[{name:"参数一",fv:"",object_id:"",color:"#4162ff",periodUnit:"near-hour",periodValue:1}],Y=["name","fv","object_id","color",{key:"periodUnit",label:"setting.timeUnit",type:"select",options:h.DATE_OPTION},{key:"periodValue",label:"setting.timePeriod",type:"number"}],Z=["mosaic","statistics","calculate"],tt={source:"mosaic",useAlias:!1,multiObject:!1,null:{type:"0",value:""}},et={DEFAULT:K,OPTIONS:J,DATA:Q,PARAMS:Y,SOURCE:Z,COMMON:tt},it=a.defineComponent(_(A({},et),{__name:"bar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){L.use([X.install,M.install,L.install,P.install,L.install$1,B.install]);const s=p,u=h.useLinkStore();class k extends $.EChartComponentBase{extractStyles(){return _(A({},super.extractStyles()),{barWidth:this.getOptionValue("barWidth",30),showLabel:this.getOptionValue("showLabel",!1)})}getChartOption(){const t=this.Style.value,e=this.props.conf;return{tooltip:{trigger:"axis",axisPointer:{type:"shadow"},textStyle:{align:"left",fontSize:t.textSize}},grid:{top:t.top,bottom:t.bottom,left:t.left,right:t.right,containLabel:!1},legend:{show:!0,data:e.data.map(o=>o.name),right:20,top:0,textStyle:{color:t.textColor,fontSize:t.textSize}},xAxis:[{type:"category",data:this.getXAxisData(),axisTick:{alignWithLabel:!0},axisLine:{lineStyle:{color:t.textColor}},axisLabel:{formatter:o=>{if(!/^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}$/.test(o))return o;const[r,i]=o.split(" ");return`${r}
2
- ${i}`},color:t.textColor,fontSize:t.textSize}}],yAxis:[{type:"value",nameGap:10,nameTextStyle:{align:"right"},splitLine:{lineStyle:{type:"dashed",color:"#e5e5e5"}},axisLabel:{color:t.textColor,fontSize:t.textSize},axisLine:{lineStyle:{color:t.textColor}},splitNumber:4}],series:this.formatSeries()}}getFixedStatisticsXLabels(){var i;const{data:t,common:e}=this.props.conf,o=(e==null?void 0:e.source)||"mosaic",r=(i=t[0])==null?void 0:i.periodUnit;return["statistics","calculate"].includes(o)&&r&&!String(r).startsWith("near")?h.getStatisticsTimeUnitLabel(r):null}getXAxisData(){var t;return(t=this.getFixedStatisticsXLabels())!=null?t:this.getTimeAxis()}formatSeries(){const t=this.props.conf,e=this.Style.value,o=this.getFixedStatisticsXLabels(),r=o?o.length:e.points;return t.data.map((i,c)=>{const n=i.color||h.COLORS[c];return{type:"bar",data:h.getRandomArr({num:r,max:200,min:0,mode:this.props.mode,hasDataSource:this.hasData()}),name:i.name,itemStyle:{color:n},label:{show:e.showLabel,position:"top",color:n},barWidth:e.barWidth+"%"}})}setSocketData(t){var g;if(!this.hasData()||!this.chartObj||!t)return;const{data:e,common:o}=this.props.conf,r=o.source||"mosaic",i=this.chartObj.getOption(),c=(g=e[0])==null?void 0:g.periodUnit,n=["statistics","calculate"].includes(r)&&c&&!String(c).startsWith("near");if(e.forEach((d,S)=>{const b=this.extractDataValue(t,d.fv);if(["statistics","calculate"].includes(r)&&d.periodUnit&&!String(d.periodUnit).startsWith("near")&&!String(d.periodUnit).startsWith("last")){const x=h.statisticsSocketTimeToXAxisLabel(t.start_time,d.periodUnit),O=x?i.xAxis[0].data.indexOf(x):-1;O>=0&&(i.series[S].data[O]=b);return}const C=["statistics","calculate"].includes(r)?t.start_time:t.datetime;C!=null&&(S===0&&i.xAxis[0].data.push(C),i.series[S].data.push(b))}),n){this.updateChart(i);return}const l=h.addRealtimeData(i.xAxis[0].data,i.series.map(d=>d.data)),f=Number(this.Style.value.points)||10;i.xAxis[0].data=l.times.slice(-f),i.series.forEach((d,S)=>{var b;d.data=((b=l.data[S])==null?void 0:b.slice(-f))||[]}),this.updateChart(i)}setHistoryData(t){if(!t||!(t!=null&&t.length))return;const e=this.chartObj.getOption(),o=Number(this.Style.value.points)||10,{data:r}=this.props.conf,i=n=>{if(n==null||n===""||n==="-")return null;const l=Number(n);return Number.isFinite(l)?l:null},c=this.getFixedStatisticsXLabels();if(c!=null&&c.length){e.xAxis[0].data=[...c],t.forEach((n,l)=>{var C;if(!e.series[l])return;const f=r[l],g=(f==null?void 0:f.periodUnit)||((C=r[0])==null?void 0:C.periodUnit),d=new Array(c.length).fill(null),S=n.time||[],b=n.data||[];for(let x=0;x<S.length;x++){const O=h.statisticsSocketTimeToXAxisLabel(S[x],String(g||"")),v=O?c.indexOf(O):-1;v>=0&&(d[v]=i(b[x]))}e.series[l].data=d}),this.updateChart(e);return}e.xAxis[0].data=t[0].time.slice(-o),t.forEach((n,l)=>{if(!e.series[l])return;const f=n.data||[];e.series[l].data=f.map(i).slice(-o)}),this.updateChart(e)}}const m=new k(s,"bar");m.setupLifecycle();const E=h.useCounterStore();a.onMounted(()=>{var y;if(E.registerInstance(s.uid,m),s.mode==="preview"){const t=((y=m.getChartInstance)==null?void 0:y.call(m))||m.chartObj;t==null||t.off("click"),t==null||t.on("click",e=>{var r,i,c,n,l,f;const o=e==null?void 0:e.seriesName;if(typeof o=="string"&&o){const g=((i=(r=s.conf)==null?void 0:r.options)==null?void 0:i.linkChannel)==="custom"?(n=(c=s.conf)==null?void 0:c.options)==null?void 0:n.customChannel:(f=(l=s.conf)==null?void 0:l.options)==null?void 0:f.linkChannel;u.publish(g||"bar","bar",{objectId:"",deviceId:"",type:"select",fieldKey:o,fv:A({key:o},e),source:"bar"})}})}}),a.onUnmounted(()=>{E.unregisterInstance(s.uid)});const T=m.getStyle(),w=m.getEchartId(),N=s.conf,z=a.computed(()=>F.generateTitleStyle(s.conf.options));return(y,t)=>(a.openBlock(),a.createElementBlock("div",{class:"mix-component",style:a.normalizeStyle({background:a.unref(T).bgColor,borderRadius:`${a.unref(T).radiusSize}px`})},[a.createElementVNode("div",{class:"mix-title",style:a.normalizeStyle(z.value)},a.toDisplayString(a.unref(N).caption||a.unref(N).name),5),a.createElementVNode("div",H,[a.createElementVNode("div",{class:"w-full h-full",id:a.unref(w)},null,8,G)]),a.renderSlot(y.$slots,"default",{},void 0,!0)],4))}})),st=h._export_sfc(it,[["__scopeId","data-v-e27440b4"]]);exports.default=st;
@@ -1 +0,0 @@
1
- "use strict";var A=Object.defineProperty,U=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var B=(u,o,r)=>o in u?A(u,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[o]=r,x=(u,o)=>{for(var r in o||(o={}))M.call(o,r)&&B(u,r,o[r]);if(N)for(var r of N(o))F.call(o,r)&&B(u,r,o[r]);return u},O=(u,o)=>U(u,$(o));var T=(u,o,r)=>new Promise((v,d)=>{var C=m=>{try{p(r.next(m))}catch(_){d(_)}},b=m=>{try{p(r.throw(m))}catch(_){d(_)}},p=m=>m.done?v(m.value):Promise.resolve(m.value).then(C,b);p((r=r.apply(u,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),H=require("./BaseComponent-CaCkjmmb.cjs"),g=require("./index-BzWbqJIl.cjs"),P=require("./titleStyle-NSnz6cUg.cjs"),S=require("element-plus"),z=require("./ele-clt-icon-BEVOS7Tq.cjs"),R={class:"item-val"},L={key:0,class:"item-btn"},W={DEFAULT_ICON:z.DEFAULT_ICON,ACTIVE_ICON:z.ACTIVE_ICON,NAME_CN:"项目采集",NAME_EN:"Project",ORDER:1,PLATFORM:["pc","screen","mobile"]},G={bgColor:"#fff",projectColor:"#999",projectSize:14,paramColor:"#333",labelWidth:64,paramSize:12,paramHeight:32,radiusSize:8,type:{value:"project",type:"radio",option:[{value:"project",label:"component.collect.projectType"},{value:"object",label:"component.collect.objectType"}],label:"component.collect.collectType"},isHideTitle:!1},J=[{project_id:"",object_id:""}],K=["project_id","object_id"],Q={DEFAULT:W,OPTIONS:G,DATA:J,PARAMS:K,COMMON:{}},X=e.defineComponent(O(x({},Q),{__name:"clt",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(u){const o=u;class r extends H.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),projectColor:this.getOptionValue("projectColor","#999"),projectSize:this.getOptionValue("projectSize",14),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){this.Style.value=this.extractStyles(),this.applyTheme()}}const v=new r(o,"clt");v.setupLifecycle();const d=v.getStyle(),C=o.conf,b=e.computed(()=>P.generateTitleStyle(o.conf.options)),p=e.ref([{name:"离线项目",data:[{name:"采集项",type:"Integer",unit:"℃",value:""}]}]);let m=0;const _=()=>T(null,null,function*(){const{data:a}=o.conf;p.value=[];const n=a.filter(f=>f.project_id).map(f=>f.project_id);if(!n.length)return;const t=++m,c={where_in:JSON.stringify([["uid",n.join(",")]])},{result:l}=yield g.api.post("get_collect_list",c);if(t!==m)return;const s=l==null?void 0:l.data;Array.isArray(s)&&s.length>0&&(p.value=s.map(f=>({name:f.name,uid:f.uid,object_id:f.object_id,data:q(f.script)})))}),q=a=>{const n=[];return a.forEach(t=>{n.push({name:t.label_loc,type:t.type,unit:t.unit,key:t.key})}),n},k=e.computed(()=>{let a=!0;return p.value.forEach(n=>{n.data.forEach(t=>{(t.value||t.value===0)&&(a=!1)})}),a}),w=()=>{o.mode!=="edit"&&(d.value.type==="object"?I():D())},D=()=>{const a=[],n=g.auth.getUser();p.value.forEach(t=>{const c={};if(t.data.forEach(s=>{(s.value||s.value===0)&&(c[s.key]=["Integer","Float"].includes(s.type)?Number(s.value):s.type==="Bool"?!!s.value:s.value)}),!Object.keys(c).length)return;const l={name:t.name,value:c,collect_id:t.uid,collector:n.username};a.push(g.api.post("add_collect_value_without_object",l))}),Promise.all(a).then(t=>{let c=!0;t.forEach(l=>{l.code!==200&&(c=!1,S.ElMessage.error(l.msg))}),c&&S.ElMessage.success("操作成功")})},I=()=>{const a=[];p.value.forEach(n=>{const t={};if(n.data.forEach(l=>{(l.value||l.value===0)&&(t[l.key]=["Integer","Float"].includes(l.type)?Number(l.value):l.type==="Bool"?!!l.value:l.value)}),!Object.keys(t).length)return;const c={name:n.name,value:t,collect_id:n.uid,object_id:n.object_id||o.uid};a.push(g.api.post("collect_add",c))}),Promise.all(a).then(n=>{let t=!0;n.forEach(c=>{c.code!==200&&(t=!1,S.ElMessage.error(c.msg))}),t&&S.ElMessage.success("操作成功")})};return e.watch(()=>o.conf.data,()=>{_()},{deep:!0,immediate:!0}),(a,n)=>{const t=h.ElInput,c=h.ElInputNumber,l=h.ElRadio,s=h.ElRadioGroup,f=h.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(d).bgColor,borderRadius:`${e.unref(d).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(b.value)},e.toDisplayString(e.unref(C).caption||e.unref(C).name),5),e.createElementVNode("div",{class:e.normalizeClass(["mix-body",e.unref(d).isHideTitle?"h-[100%]":" h-[calc(100%-42px)]"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(V,E)=>(e.openBlock(),e.createElementBlock("div",{key:E},[e.createElementVNode("div",{class:"item-title",style:e.normalizeStyle({fontSize:`${e.unref(d).projectSize}px`,color:e.unref(d).projectColor})},e.toDisplayString(V.name),5),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.data,(i,j)=>(e.openBlock(),e.createElementBlock("div",{class:"item-wrap",key:`${E}_${j}`},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(d).labelWidth}px`,fontSize:`${e.unref(d).paramSize}px`,color:e.unref(d).paramColor,height:`${e.unref(d).paramHeight}px`})},e.toDisplayString(i.name)+": ",5),e.createElementVNode("div",R,[i.type==="String"?(e.openBlock(),e.createBlock(t,{key:0,type:"text",modelValue:i.value,"onUpdate:modelValue":y=>i.value=y},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Integer"?(e.openBlock(),e.createBlock(c,{key:1,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Float"?(e.openBlock(),e.createBlock(c,{key:2,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Bool"?(e.openBlock(),e.createBlock(s,{key:3,value:i.value,"onUpdate:value":y=>i.value=y},{default:e.withCtx(()=>[e.createVNode(l,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.yes")),1)]),_:1}),e.createVNode(l,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.no")),1)]),_:1})]),_:1},8,["value","onUpdate:value"])):e.createCommentVNode("",!0)]),E===p.value.length-1&&j===V.data.length-1?(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(f,{type:k.value?"default":"primary",disabled:k.value,onClick:w},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)]))),128))]))),128))],2),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Y=g._export_sfc(X,[["__scopeId","data-v-c1e8cba1"]]);exports.default=Y;
@@ -1,296 +0,0 @@
1
- var J = Object.defineProperty, K = Object.defineProperties;
2
- var Q = Object.getOwnPropertyDescriptors;
3
- var $ = Object.getOwnPropertySymbols;
4
- var X = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
- var B = (s, t, l) => t in s ? J(s, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : s[t] = l, D = (s, t) => {
6
- for (var l in t || (t = {}))
7
- X.call(t, l) && B(s, l, t[l]);
8
- if ($)
9
- for (var l of $(t))
10
- Y.call(t, l) && B(s, l, t[l]);
11
- return s;
12
- }, H = (s, t) => K(s, Q(t));
13
- var R = (s, t, l) => new Promise((V, u) => {
14
- var E = (m) => {
15
- try {
16
- d(l.next(m));
17
- } catch (j) {
18
- u(j);
19
- }
20
- }, N = (m) => {
21
- try {
22
- d(l.throw(m));
23
- } catch (j) {
24
- u(j);
25
- }
26
- }, d = (m) => m.done ? V(m.value) : Promise.resolve(m.value).then(E, N);
27
- d((l = l.apply(s, t)).next());
28
- });
29
- import { ElInput as Z, ElInputNumber as ee, ElRadioGroup as te, ElRadio as oe, ElButton as ae } from "element-plus/es";
30
- import "element-plus/es/components/base/style/css";
31
- import "element-plus/es/components/button/style/css";
32
- import "element-plus/es/components/radio-group/style/css";
33
- import "element-plus/es/components/radio/style/css";
34
- import "element-plus/es/components/input-number/style/css";
35
- import "element-plus/es/components/input/style/css";
36
- import { defineComponent as le, computed as F, ref as re, watch as ne, openBlock as y, createElementBlock as g, normalizeStyle as O, unref as p, createElementVNode as S, toDisplayString as _, normalizeClass as ce, Fragment as M, renderList as P, createBlock as k, withCtx as v, createTextVNode as b, createCommentVNode as C, createVNode as A, renderSlot as ie } from "vue";
37
- import { B as se } from "./BaseComponent-NnwLq7Cf.js";
38
- import { a as I, t as ue, _ as de } from "./index-D5BukPPY.js";
39
- import { g as pe } from "./titleStyle-BT5GlpAb.js";
40
- import { ElMessage as z } from "element-plus";
41
- import { A as me, D as fe } from "./ele-clt-icon-DuU4Q401.js";
42
- const ye = { class: "item-val" }, _e = {
43
- key: 0,
44
- class: "item-btn"
45
- }, he = {
46
- DEFAULT_ICON: fe,
47
- ACTIVE_ICON: me,
48
- NAME_CN: "项目采集",
49
- NAME_EN: "Project",
50
- ORDER: 1,
51
- PLATFORM: ["pc", "screen", "mobile"]
52
- }, ve = {
53
- bgColor: "#fff",
54
- projectColor: "#999",
55
- projectSize: 14,
56
- paramColor: "#333",
57
- labelWidth: 64,
58
- paramSize: 12,
59
- paramHeight: 32,
60
- radiusSize: 8,
61
- type: {
62
- value: "project",
63
- type: "radio",
64
- option: [
65
- { value: "project", label: "component.collect.projectType" },
66
- { value: "object", label: "component.collect.objectType" }
67
- ],
68
- label: "component.collect.collectType"
69
- },
70
- isHideTitle: !1
71
- }, ge = [{ project_id: "", object_id: "" }], be = ["project_id", "object_id"], je = { DEFAULT: he, OPTIONS: ve, DATA: ge, PARAMS: be, COMMON: {} }, Se = /* @__PURE__ */ le(H(D({}, je), {
72
- __name: "clt",
73
- props: {
74
- conf: { type: Object, default: () => ({ data: [] }) },
75
- mode: { type: String, default: "edit" },
76
- uid: { type: String, default: "" },
77
- theme: { type: String, default: "light" }
78
- },
79
- setup(s) {
80
- const t = s;
81
- class l extends se {
82
- extractStyles() {
83
- return {
84
- bgColor: this.getOptionValue("bgColor", "#fff"),
85
- projectColor: this.getOptionValue("projectColor", "#999"),
86
- projectSize: this.getOptionValue("projectSize", 14),
87
- paramColor: this.getOptionValue("paramColor", "#333"),
88
- labelWidth: this.getOptionValue("labelWidth", 64),
89
- paramSize: this.getOptionValue("paramSize", 12),
90
- paramHeight: this.getOptionValue("paramHeight", 32),
91
- radiusSize: this.getOptionValue("radiusSize", 4),
92
- isHideTitle: this.getOptionValue("isHideTitle", !1),
93
- type: this.getOptionValue("type", "project")
94
- };
95
- }
96
- init() {
97
- this.Style.value = this.extractStyles(), this.applyTheme();
98
- }
99
- }
100
- const V = new l(t, "clt");
101
- V.setupLifecycle();
102
- const u = V.getStyle(), E = t.conf, N = F(() => pe(t.conf.options)), d = re([
103
- { name: "离线项目", data: [{ name: "采集项", type: "Integer", unit: "℃", value: "" }] }
104
- ]);
105
- let m = 0;
106
- const j = () => R(null, null, function* () {
107
- const { data: a } = t.conf;
108
- d.value = [];
109
- const r = a.filter((f) => f.project_id).map((f) => f.project_id);
110
- if (!r.length) return;
111
- const e = ++m, n = {
112
- where_in: JSON.stringify([["uid", r.join(",")]])
113
- }, { result: o } = yield I.post("get_collect_list", n);
114
- if (e !== m) return;
115
- const i = o == null ? void 0 : o.data;
116
- Array.isArray(i) && i.length > 0 && (d.value = i.map((f) => ({
117
- name: f.name,
118
- uid: f.uid,
119
- object_id: f.object_id,
120
- data: L(f.script)
121
- })));
122
- }), L = (a) => {
123
- const r = [];
124
- return a.forEach((e) => {
125
- r.push({
126
- name: e.label_loc,
127
- type: e.type,
128
- unit: e.unit,
129
- key: e.key
130
- });
131
- }), r;
132
- }, w = F(() => {
133
- let a = !0;
134
- return d.value.forEach((r) => {
135
- r.data.forEach((e) => {
136
- (e.value || e.value === 0) && (a = !1);
137
- });
138
- }), a;
139
- }), q = () => {
140
- t.mode !== "edit" && (u.value.type === "object" ? G() : W());
141
- }, W = () => {
142
- const a = [], r = ue.getUser();
143
- d.value.forEach((e) => {
144
- const n = {};
145
- if (e.data.forEach((i) => {
146
- (i.value || i.value === 0) && (n[i.key] = ["Integer", "Float"].includes(i.type) ? Number(i.value) : i.type === "Bool" ? !!i.value : i.value);
147
- }), !Object.keys(n).length) return;
148
- const o = {
149
- name: e.name,
150
- value: n,
151
- collect_id: e.uid,
152
- collector: r.username
153
- };
154
- a.push(I.post("add_collect_value_without_object", o));
155
- }), Promise.all(a).then((e) => {
156
- let n = !0;
157
- e.forEach((o) => {
158
- o.code !== 200 && (n = !1, z.error(o.msg));
159
- }), n && z.success("操作成功");
160
- });
161
- }, G = () => {
162
- const a = [];
163
- d.value.forEach((r) => {
164
- const e = {};
165
- if (r.data.forEach((o) => {
166
- (o.value || o.value === 0) && (e[o.key] = ["Integer", "Float"].includes(o.type) ? Number(o.value) : o.type === "Bool" ? !!o.value : o.value);
167
- }), !Object.keys(e).length) return;
168
- const n = {
169
- name: r.name,
170
- value: e,
171
- collect_id: r.uid,
172
- object_id: r.object_id || t.uid
173
- };
174
- a.push(I.post("collect_add", n));
175
- }), Promise.all(a).then((r) => {
176
- let e = !0;
177
- r.forEach((n) => {
178
- n.code !== 200 && (e = !1, z.error(n.msg));
179
- }), e && z.success("操作成功");
180
- });
181
- };
182
- return ne(() => t.conf.data, () => {
183
- j();
184
- }, { deep: !0, immediate: !0 }), (a, r) => {
185
- const e = Z, n = ee, o = oe, i = te, f = ae;
186
- return y(), g("div", {
187
- class: "mix-component",
188
- style: O({ backgroundColor: p(u).bgColor, borderRadius: `${p(u).radiusSize}px` })
189
- }, [
190
- S("div", {
191
- class: "mix-title",
192
- style: O(N.value)
193
- }, _(p(E).caption || p(E).name), 5),
194
- S("div", {
195
- class: ce(["mix-body", p(u).isHideTitle ? "h-[100%]" : " h-[calc(100%-42px)]"])
196
- }, [
197
- (y(!0), g(M, null, P(d.value, (T, x) => (y(), g("div", { key: x }, [
198
- S("div", {
199
- class: "item-title",
200
- style: O({ fontSize: `${p(u).projectSize}px`, color: p(u).projectColor })
201
- }, _(T.name), 5),
202
- (y(!0), g(M, null, P(T.data, (c, U) => (y(), g("div", {
203
- class: "item-wrap",
204
- key: `${x}_${U}`
205
- }, [
206
- S("div", {
207
- class: "item-item",
208
- style: O({
209
- width: `${p(u).labelWidth}px`,
210
- fontSize: `${p(u).paramSize}px`,
211
- color: p(u).paramColor,
212
- height: `${p(u).paramHeight}px`
213
- })
214
- }, _(c.name) + ": ", 5),
215
- S("div", ye, [
216
- c.type === "String" ? (y(), k(e, {
217
- key: 0,
218
- type: "text",
219
- modelValue: c.value,
220
- "onUpdate:modelValue": (h) => c.value = h
221
- }, {
222
- suffix: v(() => [
223
- b(_(c.unit), 1)
224
- ]),
225
- _: 2
226
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
227
- c.type === "Integer" ? (y(), k(n, {
228
- key: 1,
229
- style: { width: "100%" },
230
- modelValue: c.value,
231
- "onUpdate:modelValue": (h) => c.value = h,
232
- precision: 0,
233
- controls: !1
234
- }, {
235
- suffix: v(() => [
236
- b(_(c.unit), 1)
237
- ]),
238
- _: 2
239
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
240
- c.type === "Float" ? (y(), k(n, {
241
- key: 2,
242
- style: { width: "100%" },
243
- modelValue: c.value,
244
- "onUpdate:modelValue": (h) => c.value = h,
245
- controls: !1
246
- }, {
247
- suffix: v(() => [
248
- b(_(c.unit), 1)
249
- ]),
250
- _: 2
251
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
252
- c.type === "Bool" ? (y(), k(i, {
253
- key: 3,
254
- value: c.value,
255
- "onUpdate:value": (h) => c.value = h
256
- }, {
257
- default: v(() => [
258
- A(o, { value: 1 }, {
259
- default: v(() => [
260
- b(_(a.$t("common.yes")), 1)
261
- ]),
262
- _: 1
263
- }),
264
- A(o, { value: 0 }, {
265
- default: v(() => [
266
- b(_(a.$t("common.no")), 1)
267
- ]),
268
- _: 1
269
- })
270
- ]),
271
- _: 1
272
- }, 8, ["value", "onUpdate:value"])) : C("", !0)
273
- ]),
274
- x === d.value.length - 1 && U === T.data.length - 1 ? (y(), g("div", _e, [
275
- A(f, {
276
- type: w.value ? "default" : "primary",
277
- disabled: w.value,
278
- onClick: q
279
- }, {
280
- default: v(() => [
281
- b(_(a.$t("common.confirm")), 1)
282
- ]),
283
- _: 1
284
- }, 8, ["type", "disabled"])
285
- ])) : C("", !0)
286
- ]))), 128))
287
- ]))), 128))
288
- ], 2),
289
- ie(a.$slots, "default", {}, void 0, !0)
290
- ], 4);
291
- };
292
- }
293
- })), Be = /* @__PURE__ */ de(Se, [["__scopeId", "data-v-c1e8cba1"]]);
294
- export {
295
- Be as default
296
- };
@@ -1 +0,0 @@
1
- "use strict";var D=Object.defineProperty,A=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var x=(d,l,o)=>l in d?D(d,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):d[l]=o,B=(d,l)=>{for(var o in l||(l={}))z.call(l,o)&&x(d,o,l[o]);if(k)for(var o of k(l))U.call(l,o)&&x(d,o,l[o]);return d},j=(d,l)=>A(d,w(l));var N=(d,l,o)=>new Promise((h,E)=>{var b=f=>{try{_(o.next(f))}catch(V){E(V)}},m=f=>{try{_(o.throw(f))}catch(V){E(V)}},_=f=>f.done?h(f.value):Promise.resolve(f.value).then(b,m);_((o=o.apply(d,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),q=require("./BaseComponent-CaCkjmmb.cjs"),S=require("./index-BzWbqJIl.cjs"),$=require("./titleStyle-NSnz6cUg.cjs"),I=require("./ele-clt-icon-BEVOS7Tq.cjs"),M={class:"item-val"},H={key:0,class:"btn-wrap"},L={DEFAULT_ICON:I.DEFAULT_ICON,ACTIVE_ICON:I.ACTIVE_ICON,NAME_CN:"定制采集",NAME_EN:"Customer",ORDER:2,PLATFORM:["pc","screen","mobile"]},F={bgColor:"#fff",titleColor:"#111",paramColor:"#333",labelWidth:64,titleSize:14,paramSize:12,paramHeight:32,radiusSize:8,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},P=[{object_id:"",project_id:"",collect:"",label_cn:"",item_fv:""}],R=["mosaic"],W=["object_id","project_id","collect","label_cn","item_fv"],G={DEFAULT:L,OPTIONS:F,DATA:P,PARAMS:W,SOURCE:R,COMMON:{}},J=e.defineComponent(j(B({},G),{__name:"cmc",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},sourceData:{type:Object,default:()=>({})}},setup(d){const{proxy:l}=e.getCurrentInstance(),o=d,h="--";class E extends q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),titleSize:this.getOptionValue("titleSize",14),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),V()}setHistoryData(p){const{data:n}=this.props.conf;n.forEach((r,s)=>{var t,u;try{r.value=(u=(t=p.history[s])==null?void 0:t[0][r.item_fv])!=null?u:h}catch(i){r.value=h}})}setSocketData(p){const{common:n,data:r}=this.props.conf;let s="";n.multiObject||(s=S.getObjectId(n,n.useAlias,this.props.uid)),r.forEach(t=>{var u,i,g,a;n.multiObject&&(s=S.getObjectId(t,n.useAlias,this.props.uid));try{t.value=(a=(g=(i=(u=p[s])==null?void 0:u.mosaic)==null?void 0:i.data)==null?void 0:g[t.item_fv])!=null?a:h}catch(O){t.value=h}})}}const b=new E(o,"cmc");b.setupLifecycle();const m=b.getStyle(),_=o.conf,f=e.computed(()=>$.generateTitleStyle(o.conf.options)),V=()=>N(null,null,function*(){const{data:c}=o.conf;if(!c||c.length===0)return;const p=c.filter(t=>t.project_id).map(t=>t.project_id);if(!p.length){o.mode==="edit"&&c.forEach(t=>{t.label_cn=t.label_cn||l.$t("component.collect.collectItem"),t.type=t.type||"Integer",t.unit=t.unit||""});return}let n={where_in:JSON.stringify([["uid",p.join(",")]])};const{result:r}=yield S.api.post("get_collect_list",n,!0),s={};r.data.forEach(t=>{s[t.uid]=t}),c.forEach(t=>{var u;if((u=s[t.project_id])!=null&&u.script){const i=s[t.project_id].script.find(g=>g.key===t.collect);t.unit=i==null?void 0:i.unit,t.label_cn=t.label_cn||(i==null?void 0:i.label_loc),t.type=i==null?void 0:i.type}})}),v=e.computed(()=>{const{data:c}=o.conf;let p=!0;return c.forEach(n=>{(n.setting||n.setting===0)&&(p=!1)}),p}),T=()=>N(null,null,function*(){if(o.mode==="edit")return;const{data:c,common:p}=o.conf,n=JSON.parse(sessionStorage.getItem(S.ALIAS_MAPPING_KEY)||"{}")||{},r=[];if(c.forEach(t=>{const u=p.useAlias?n[t.object_alias]:t.object_id||o.uid;(t.setting||t.setting===0)&&u&&r.push({collect_id:t.project_id,object_id:u,value:{[t.collect]:["Integer","Float"].includes(t.type)?Number(t.setting):t.setting},name:t.label_cn})}),r.length===0)return;const{result:s}=yield S.api.post("add_collect_value_plus",{data:r});s&&l.$message.success(l.$t("common.success"))});return e.watchEffect(()=>{o.conf.socketData&&b.setSocketData(o.conf.socketData)}),(c,p)=>{var i,g;const n=C.ElInput,r=C.ElInputNumber,s=C.ElRadio,t=C.ElRadioGroup,u=C.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},e.toDisplayString(e.unref(_).caption||e.unref(_).name),5),e.createElementVNode("div",{class:e.normalizeClass(["mix-body",e.unref(m).isHideTitle?"h-[100%]":" h-[calc(100%-42px)]"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(_).data,(a,O)=>(e.openBlock(),e.createElementBlock("div",{key:O,class:"item-wrap"},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(m).labelWidth}px`,fontSize:`${e.unref(m).paramSize}px`,color:e.unref(m).paramColor})},e.toDisplayString(a.label_cn)+": ",5),e.createElementVNode("div",M,[a.type==="String"?(e.openBlock(),e.createBlock(n,{key:0,type:"text",class:"w-full",modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.type==="Integer"?(e.openBlock(),e.createBlock(r,{key:1,style:{width:"100%"},modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.type==="Float"?(e.openBlock(),e.createBlock(r,{key:2,style:{width:"100%"},modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.type==="Boolean"?(e.openBlock(),e.createBlock(t,{key:3,class:"w-full",modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y},{default:e.withCtx(()=>[e.createVNode(s,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("common.yes")),1)]),_:1}),e.createVNode(s,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("common.no")),1)]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"item-label",style:e.normalizeStyle({fontSize:`${e.unref(m).paramSize}px`})},e.toDisplayString(a.value||"--"),5)]))),128)),(g=(i=e.unref(_))==null?void 0:i.data)!=null&&g.length?(e.openBlock(),e.createElementBlock("div",H,[e.createVNode(u,{type:v.value?"default":"primary",disabled:v.value,onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)],2),e.renderSlot(c.$slots,"default",{},void 0,!0)],4)}}})),K=S._export_sfc(J,[["__scopeId","data-v-bbf481ac"]]);exports.default=K;