mixdashboards 1.0.46 → 1.0.49

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 (279) hide show
  1. package/dist/{EChartComponentBase-TG0PZTZo.js → EChartComponentBase-CafVdj74.js} +1 -1
  2. package/dist/{EChartComponentBase-DeKOQiqR.cjs → EChartComponentBase-Dz5E-lyI.cjs} +1 -1
  3. package/dist/{UniverSheet-Bsz5NLGD.cjs → UniverSheet-BqLvs6V6.cjs} +1 -1
  4. package/dist/{UniverSheet-C76r5Cx_.js → UniverSheet-CH1YywcZ.js} +2 -2
  5. package/dist/{accelerationChart-DZy0h91Y.cjs → accelerationChart-BWRlw5-L.cjs} +1 -1
  6. package/dist/{accelerationChart-DPtrq3IC.js → accelerationChart-V4UmpPse.js} +3 -3
  7. package/dist/{actionItem-CZYUuFSs.js → actionItem-CBwfWvTO.js} +3 -3
  8. package/dist/{actionItem-RZQss2hZ.cjs → actionItem-Dsg6qYSp.cjs} +1 -1
  9. package/dist/{alarmLevelChart-CZ-EDSds.js → alarmLevelChart-CnKEZZZv.js} +2 -2
  10. package/dist/{alarmLevelChart-CX98nXiH.cjs → alarmLevelChart-DN8hyTdg.cjs} +1 -1
  11. package/dist/{alertTable-CcpZ4bqL.js → alertTable-BluC1smp.js} +2 -2
  12. package/dist/{alertTable-DZCw97ZE.cjs → alertTable-CdkiAZIu.cjs} +1 -1
  13. package/dist/{annualRainfallChart-DBTNbgQw.cjs → annualRainfallChart-BeenDSmW.cjs} +1 -1
  14. package/dist/{annualRainfallChart-DCBkHNka.js → annualRainfallChart-COeieHTg.js} +2 -2
  15. package/dist/{api-D-aFsy-8.js → api-Cyx2Fha0.js} +6 -6
  16. package/dist/{api-B2SQ6Grb.cjs → api-nw_9niqv.cjs} +1 -1
  17. package/dist/{aqi-DQ2WBeIk.cjs → aqi-BXtF-SsB.cjs} +1 -1
  18. package/dist/{aqi-BXOJaqb0.js → aqi-naf_yg1B.js} +3 -3
  19. package/dist/{aqiIndass-djb9lzcz.js → aqiIndass-CiHVV6y-.js} +2 -2
  20. package/dist/{aqiIndass-CnvN_7Jo.cjs → aqiIndass-YO0txxEM.cjs} +1 -1
  21. package/dist/{arrayCard-CMFsIZa2.js → arrayCard-CPtHFB--.js} +2 -2
  22. package/dist/{arrayCard-CosM4EnW.cjs → arrayCard-USJyzspe.cjs} +1 -1
  23. package/dist/{audio-DsKp0CFs.js → audio-7HMku35Z.js} +4 -4
  24. package/dist/{audio-OHsfqvJi.cjs → audio-Uz_XIJyA.cjs} +1 -1
  25. package/dist/{bar-CLlUcZIv.js → bar-Bq_RDVaa.js} +4 -4
  26. package/dist/{bar-CWMXYmbx.cjs → bar-CSideFNS.cjs} +1 -1
  27. package/dist/{bmp-Db1IZGQ6.js → bmp-BF-OdMoW.js} +3 -3
  28. package/dist/{bmp-C6MzP_fu.cjs → bmp-DZ9_aKMT.cjs} +1 -1
  29. package/dist/{box-iiimGZC1.cjs → box-C1n5r8hT.cjs} +1 -1
  30. package/dist/{box-CkUuh1FU.js → box-DfqNW1B6.js} +2 -2
  31. package/dist/{chartConfigPanel-CuNbjfch.js → chartConfigPanel-8wROQoL0.js} +1 -1
  32. package/dist/{chartConfigPanel-BJyh0Ave.cjs → chartConfigPanel-C62JqDqE.cjs} +1 -1
  33. package/dist/{circleBar-C6ywvfm2.js → circleBar-C54UQvaf.js} +3 -3
  34. package/dist/{circleBar-DsMw9g82.cjs → circleBar-UrV2_yVK.cjs} +1 -1
  35. package/dist/{clock-BhSzNknP.js → clock-CbebZdlU.js} +2 -2
  36. package/dist/{clock-CWGuAN9x.cjs → clock-DgkEPumE.cjs} +1 -1
  37. package/dist/{clt-BOttsVNK.js → clt-B32D8bK9.js} +3 -3
  38. package/dist/{clt-DYyapWeR.cjs → clt-DWBynZO1.cjs} +1 -1
  39. package/dist/{cmc-D9UyANKc.cjs → cmc-BVrFcoih.cjs} +1 -1
  40. package/dist/{cmc-B9gxw6sh.js → cmc-CC-6njzU.js} +3 -3
  41. package/dist/{cmp-BFrV5jSb.js → cmp-BCvtkNwO.js} +3 -3
  42. package/dist/{cmp-DAc39qLc.cjs → cmp-D6aHhSC6.cjs} +1 -1
  43. package/dist/{composite-BfKavIJr.js → composite-CWYjAAsg.js} +3 -3
  44. package/dist/{composite-BHzmM-OO.cjs → composite-kODICk08.cjs} +1 -1
  45. package/dist/{controlList-XUZ_Fx9y.cjs → controlList-BXvCyR2L.cjs} +1 -1
  46. package/dist/{controlList-r2nXktPm.js → controlList-zYX8DbNE.js} +3 -3
  47. package/dist/{controlRecordList-CmVccf66.js → controlRecordList-Bc2M0iyo.js} +3 -3
  48. package/dist/{controlRecordList-BILWtzDj.cjs → controlRecordList-Dly5aorA.cjs} +1 -1
  49. package/dist/{crd-CLqvR_LG.cjs → crd--3Oj3Y1t.cjs} +1 -1
  50. package/dist/{crd-DiLWNxMi.js → crd-CoB00gS6.js} +2 -2
  51. package/dist/{ctrBtn-rLKuJD66.cjs → ctrBtn-BusKAhHv.cjs} +1 -1
  52. package/dist/{ctrBtn-72EmD_wM.js → ctrBtn-CUADz_pu.js} +4 -4
  53. package/dist/{ctrSet-D4hV0S7s.js → ctrSet-BKVsejze.js} +4 -4
  54. package/dist/{ctrSet-CnwD1SWD.cjs → ctrSet-C0R2aIby.cjs} +1 -1
  55. package/dist/{ctrSwitch-DRigj-w8.js → ctrSwitch-BqRBh40z.js} +4 -4
  56. package/dist/{ctrSwitch-C-QgHHx7.cjs → ctrSwitch-uIqQRKaq.cjs} +1 -1
  57. package/dist/{dataManagement-DFVmsjB2.cjs → dataManagement-BdP1iSeC.cjs} +1 -1
  58. package/dist/{dataManagement-DTF6mGxC.js → dataManagement-C6jHI7-1.js} +2 -2
  59. package/dist/{dataReport-Cs9TA1DY.js → dataReport-C2XWn_Xv.js} +2 -2
  60. package/dist/{dataReport-jzBxSjPI.cjs → dataReport-DNPD3MZl.cjs} +1 -1
  61. package/dist/{dataTable-DCaVtvoR.js → dataTable-5bUrqBWz.js} +1 -1
  62. package/dist/{dataTable-CdslrSSS.cjs → dataTable-BvlEs83r.cjs} +1 -1
  63. package/dist/{datetime-B3qmWLRU.cjs → datetime-CE5wsyi7.cjs} +1 -1
  64. package/dist/{datetime-CNXXIp4R.js → datetime-Dp8mPzSO.js} +2 -2
  65. package/dist/{deepClusterSlipSurface-XVe2bCYi.cjs → deepClusterSlipSurface-BinAmtCz.cjs} +1 -1
  66. package/dist/{deepClusterSlipSurface-g_jkWPqQ.js → deepClusterSlipSurface-D_7LRpHz.js} +3 -3
  67. package/dist/{deepDataMatrix-DaB52kt2.js → deepDataMatrix-BXTJm6UD.js} +2 -2
  68. package/dist/{deepDataMatrix-Dgjcg3T1.cjs → deepDataMatrix-t6axw0An.cjs} +1 -1
  69. package/dist/{deepDisplacement3D-b-spVbsO.cjs → deepDisplacement3D-BRutQ6Ut.cjs} +1 -1
  70. package/dist/{deepDisplacement3D-vt_Guztk.js → deepDisplacement3D-Cy-FIGAq.js} +3 -3
  71. package/dist/{deepDisplacementChart-CAv4Sdto.js → deepDisplacementChart---DgDx8L.js} +2 -2
  72. package/dist/{deepDisplacementChart-n0ohcudf.js → deepDisplacementChart-BWVcNgaX.js} +4 -4
  73. package/dist/{deepDisplacementChart-CRaOG8qO.cjs → deepDisplacementChart-DboPezyJ.cjs} +1 -1
  74. package/dist/{deepDisplacementChart-CDxZotFV.cjs → deepDisplacementChart-eD2GOxML.cjs} +1 -1
  75. package/dist/{deepDisplacementView-U14jbyjh.cjs → deepDisplacementView-BNVTS7Ar.cjs} +1 -1
  76. package/dist/{deepDisplacementView-CDglUkBG.js → deepDisplacementView-CHFgG2wy.js} +1 -1
  77. package/dist/{deepNodeTemperatureChart-C05hEqn2.cjs → deepNodeTemperatureChart-CpJI7axl.cjs} +1 -1
  78. package/dist/{deepNodeTemperatureChart-BJ-l3Hh4.js → deepNodeTemperatureChart-N1z-KMmu.js} +3 -3
  79. package/dist/{deepTangentAngleChart-AVtK89yY.js → deepTangentAngleChart-ClnxPvUM.js} +3 -3
  80. package/dist/{deepTangentAngleChart-CugBnvGA.cjs → deepTangentAngleChart-DxB4EaWm.cjs} +1 -1
  81. package/dist/{deepTemperatureField-Be5krEbX.js → deepTemperatureField-DT7iyND9.js} +3 -3
  82. package/dist/{deepTemperatureField-8PEC3aMO.cjs → deepTemperatureField-DWO8Dcjh.cjs} +1 -1
  83. package/dist/{deepTrendChart-B0d1XV-N.js → deepTrendChart-C7_BfEiR.js} +3 -3
  84. package/dist/{deepTrendChart-Ddyg0UTz.cjs → deepTrendChart-D9uQKgck.cjs} +1 -1
  85. package/dist/{deviceOnlineStatus-Xl_eRoNv.cjs → deviceOnlineStatus-BA7D5fbt.cjs} +1 -1
  86. package/dist/{deviceOnlineStatus-BJcJ1e90.js → deviceOnlineStatus-DlrB6EXN.js} +2 -2
  87. package/dist/{deviceStatus-C5iyz9I5.js → deviceStatus-aPf8MflS.js} +2 -2
  88. package/dist/{deviceStatus-ChZG-veh.cjs → deviceStatus-mDl8zF_Z.cjs} +1 -1
  89. package/dist/{displacementDataTable-CgyDuMND.cjs → displacementDataTable-Co4In07D.cjs} +1 -1
  90. package/dist/{displacementDataTable-6W7oiNA2.js → displacementDataTable-Da1xkiXG.js} +2 -2
  91. package/dist/{displacementTrajectoryChart-BrI5aqgb.js → displacementTrajectoryChart-B85ad8vc.js} +3 -3
  92. package/dist/{displacementTrajectoryChart-CYFN_qlA.cjs → displacementTrajectoryChart-FPrvrbUa.cjs} +1 -1
  93. package/dist/{displacementTrendChart-D684-4fl.js → displacementTrendChart-BRxIsjeK.js} +2 -2
  94. package/dist/{displacementTrendChart-SmIkZHAd.cjs → displacementTrendChart-DcBu8-_Z.cjs} +1 -1
  95. package/dist/{dxf-BhMMlOFA.cjs → dxf-EDkdonhJ.cjs} +1 -1
  96. package/dist/{dxf-DasdKf-L.js → dxf-FrPSVW4C.js} +4 -4
  97. package/dist/{dzc-DcsgkZr8.cjs → dzc-BBijV6-m.cjs} +1 -1
  98. package/dist/{dzc-BIROZZJB.js → dzc-BOaL7miE.js} +3 -3
  99. package/dist/{element-resize-detector-TyLBpj37.js → element-resize-detector-BCRzpPES.js} +4 -4
  100. package/dist/{element-resize-detector-DgDXXuXN.cjs → element-resize-detector-DYs3pJPp.cjs} +1 -1
  101. package/dist/{evn-FSQEbiRq.cjs → evn-CAWNNpK2.cjs} +1 -1
  102. package/dist/{evn-CenVx17K.js → evn-T-0VLXht.js} +2 -2
  103. package/dist/{evolutionChart-CW_R8CIf.cjs → evolutionChart-B8vzbfrk.cjs} +1 -1
  104. package/dist/{evolutionChart-Bd-eesT_.js → evolutionChart-DYf3V-rl.js} +3 -3
  105. package/dist/{fileViewer-qT2NPp-v.js → fileViewer-BRVwWDA3.js} +4 -4
  106. package/dist/{fileViewer-DdoytC3d.cjs → fileViewer-D6rC0YFY.cjs} +1 -1
  107. package/dist/{filterBar-Dm_JtTcQ.cjs → filterBar-B3Ka4jw8.cjs} +1 -1
  108. package/dist/{filterBar-BMnR6Xfx.js → filterBar-hfIbyNh_.js} +2 -2
  109. package/dist/{fireCombustionCurve-G0epy0wK.js → fireCombustionCurve-D1wKpm4i.js} +2 -2
  110. package/dist/{fireCombustionCurve-NBX7Acgh.cjs → fireCombustionCurve-DKQJzKh2.cjs} +1 -1
  111. package/dist/{fireFilterBar-DYL2nWLE.js → fireFilterBar-Bl0iCn48.js} +2 -2
  112. package/dist/{fireFilterBar-BYlmE5ci.cjs → fireFilterBar-D8TTM4KM.cjs} +1 -1
  113. package/dist/{gag-C05Z9f_L.js → gag-Vt7-rYYR.js} +2 -2
  114. package/dist/{gag-D3X96Dzo.cjs → gag-dKpxHBTV.cjs} +1 -1
  115. package/dist/gasStationList-BDRHTLvR.js +1139 -0
  116. package/dist/gasStationList-g4AUNuxi.cjs +1 -0
  117. package/dist/{glbModel-CDxmAYW2.cjs → glbModel-BCgQzSz1.cjs} +1 -1
  118. package/dist/{glbModel-DgI_-LDx.js → glbModel-BpnMbHQe.js} +2 -2
  119. package/dist/{gnssFilterBar-G_sQM7dF.cjs → gnssFilterBar-BgS-JH3k.cjs} +1 -1
  120. package/dist/{gnssFilterBar-COfJi8BR.js → gnssFilterBar-CaGGhgEk.js} +2 -2
  121. package/dist/{gnssHistoryTable-5R4nW-km.cjs → gnssHistoryTable-Bkt4Zvxa.cjs} +1 -1
  122. package/dist/{gnssHistoryTable-2Ut7WneP.js → gnssHistoryTable-CGY1ROb6.js} +3 -3
  123. package/dist/{gnssMapView-Cd98VXJW.js → gnssMapView-C4-pk-1_.js} +2 -2
  124. package/dist/{gnssMapView-DzQDOAw_.cjs → gnssMapView-DuNotJym.cjs} +1 -1
  125. package/dist/{gnssTimeSeriesChart-D33JIgkn.js → gnssTimeSeriesChart-MZbERhu9.js} +4 -4
  126. package/dist/{gnssTimeSeriesChart-CO1nBVys.cjs → gnssTimeSeriesChart-y7L6j_y5.cjs} +1 -1
  127. package/dist/{gnssXYTrajectory-BOaOmJRw.js → gnssXYTrajectory-DL8WWe1C.js} +3 -3
  128. package/dist/{gnssXYTrajectory-Dmp3XDMu.cjs → gnssXYTrajectory-DZFjqFPv.cjs} +1 -1
  129. package/dist/{grd-Vuu9wxuk.js → grd-BgaxrUfI.js} +3 -3
  130. package/dist/{grd-B0Lm3mx8.cjs → grd-DNJ1rlwR.cjs} +1 -1
  131. package/dist/{grdIndass-CNHq3HNl.js → grdIndass-Bxf2L3J5.js} +3 -3
  132. package/dist/{grdIndass-HRTwKlrE.cjs → grdIndass-DlwlkKKH.cjs} +1 -1
  133. package/dist/{grg-DvZc1CJA.js → grg-78Sh9Nr7.js} +2 -2
  134. package/dist/{grg-BnEbbjAE.cjs → grg-CmxBlYJ6.cjs} +1 -1
  135. package/dist/{gridview-D07swS4S.js → gridview-BWe_qLy-.js} +2 -2
  136. package/dist/{gridview-CeqfXCAW.cjs → gridview-FFx-3wNz.cjs} +1 -1
  137. package/dist/{groupCard-DZiMSqFu.js → groupCard-B2ORsgUN.js} +2 -2
  138. package/dist/{groupCard-Dd0oSF9Y.cjs → groupCard-BOqERSM4.cjs} +1 -1
  139. package/dist/{headerBar-B5bPjkQm.js → headerBar-DPlPX8uD.js} +3 -3
  140. package/dist/{headerBar-i9XS8orQ.cjs → headerBar-o2J2Dqkd.cjs} +1 -1
  141. package/dist/{history-Bujk3UXC.cjs → history-5W6pGCPq.cjs} +1 -1
  142. package/dist/{history-BoYz0EKE.js → history-DH68UK_U.js} +3 -3
  143. package/dist/{index-6FluFNdL.js → index-LgTfdmT4.js} +1713 -1654
  144. package/dist/{index-Bl0Sti1q.cjs → index-ZwyqrmaH.cjs} +7 -7
  145. package/dist/{insarDeformChart-AhDCJz4X.js → insarDeformChart-9Qss0VGu.js} +2 -2
  146. package/dist/{insarDeformChart-BkddwI9H.cjs → insarDeformChart-BTwU5ktS.cjs} +1 -1
  147. package/dist/{insarImageViewer-COlURKDe.cjs → insarImageViewer-B-ExpEa8.cjs} +1 -1
  148. package/dist/{insarImageViewer-QIiWJ4YY.js → insarImageViewer-C7aTZp-m.js} +2 -2
  149. package/dist/{kds-CGOLaPzp.cjs → kds-8n-a2GhL.cjs} +1 -1
  150. package/dist/{kds-mcElYFvi.js → kds-CS7G3BaQ.js} +2 -2
  151. package/dist/{layerTabs-zbohWxOQ.cjs → layerTabs-1lOAiEhu.cjs} +1 -1
  152. package/dist/{layerTabs-CMXHY5dJ.js → layerTabs-pJJzTbu9.js} +2 -2
  153. package/dist/{lin-4mRXWZQ7.js → lin-Bk49Db_G.js} +3 -3
  154. package/dist/{lin-D7gY5yNq.cjs → lin-IHxWU55I.cjs} +1 -1
  155. package/dist/{linIndass-CsO_bJMF.cjs → linIndass-Cpf8pnLn.cjs} +1 -1
  156. package/dist/{linIndass-c-eIWnQj.js → linIndass-Drxnj7KQ.js} +2 -2
  157. package/dist/{lst-CTNSs5YF.js → lst-CL6bmgJ2.js} +2 -2
  158. package/dist/{lst-mpnwUH_T.cjs → lst-CPd37vza.cjs} +1 -1
  159. package/dist/{manualEntry-DvPBV5mH.cjs → manualEntry-CcCE4O6Q.cjs} +1 -1
  160. package/dist/{manualEntry-CYnBHnGm.js → manualEntry-D_doLqqH.js} +2 -2
  161. package/dist/{mapBackground-CRXo1BJb.js → mapBackground-CvLXKuJx.js} +2 -2
  162. package/dist/{mapBackground-CIjA2Wug.cjs → mapBackground-DEBggmVp.cjs} +1 -1
  163. package/dist/{mappingList-DeMPPwP-.js → mappingList-BZODl4t5.js} +3 -3
  164. package/dist/{mappingList-BFkGypRf.cjs → mappingList-qKR-0uhY.cjs} +1 -1
  165. package/dist/{markdownViewer-DLQOO6m3.js → markdownViewer-CtN6ailN.js} +4 -4
  166. package/dist/{markdownViewer-By7BT09t.cjs → markdownViewer-DZ8gvoHk.cjs} +1 -1
  167. package/dist/{mix-control-modal-F98hs7pY.js → mix-control-modal-BlWtiePl.js} +6 -6
  168. package/dist/{mix-control-modal-BUunV3Do.cjs → mix-control-modal-zbr85DkZ.cjs} +1 -1
  169. package/dist/{mixDataPermission-C_c6JH5n.js → mixDataPermission-C-Cu3_y0.js} +62 -38
  170. package/dist/mixDataPermission-Gcl_4czp.cjs +1 -0
  171. package/dist/{mixGrid-DM59mHBg.js → mixGrid-DJQ2jXcg.js} +3 -3
  172. package/dist/{mixGrid-BKS3ZD07.cjs → mixGrid-Dh9y_kW0.cjs} +1 -1
  173. package/dist/{mixMap-CuR0n8gM.js → mixMap-2REwmqmi.js} +3 -3
  174. package/dist/{mixMap-Bcy278fS.cjs → mixMap-BRnDOkNF.cjs} +1 -1
  175. package/dist/{mixModel-gLIYW3eq.cjs → mixModel-C1CKMCLi.cjs} +1 -1
  176. package/dist/{mixModel-DwMxRrdS.js → mixModel-CHtF97xc.js} +3 -3
  177. package/dist/{mixPie-Dh8icXmM.js → mixPie-DwDffWz5.js} +3 -3
  178. package/dist/{mixPie-CofNsTkf.cjs → mixPie-sD-AjwaC.cjs} +1 -1
  179. package/dist/mixdashboards.cjs +1 -1
  180. package/dist/mixdashboards.css +1 -1
  181. package/dist/mixdashboards.js +2 -2
  182. package/dist/{mjpegCamera-Dy7J6ggq.js → mjpegCamera-Dbfd7eUC.js} +2 -2
  183. package/dist/{mjpegCamera-CLIYwXQn.cjs → mjpegCamera-RMS_dnv0.cjs} +1 -1
  184. package/dist/{monitorAlert-CVZ6lbb9.cjs → monitorAlert-CjIQQ6fQ.cjs} +1 -1
  185. package/dist/{monitorAlert-CPPyTf9W.js → monitorAlert-DagV3vuc.js} +2 -2
  186. package/dist/{monitorData-B5g_dKEM.js → monitorData-CTkeA21g.js} +3 -3
  187. package/dist/{monitorData-S1k1GyfC.cjs → monitorData-DUansNO5.cjs} +1 -1
  188. package/dist/{monitorSpeedChart-CNPAWp5P.js → monitorSpeedChart-BFnREZYZ.js} +1 -1
  189. package/dist/{monitorSpeedChart-D94G8rpt.cjs → monitorSpeedChart-CjfFqWon.cjs} +1 -1
  190. package/dist/{mxa-DlUmY7vc.js → mxa-B6ezKf-C.js} +3 -3
  191. package/dist/{mxa-B7OUHl3H.cjs → mxa-CN6zXgZA.cjs} +1 -1
  192. package/dist/{myValue-D7Ufft97.cjs → myValue-BG_jI_HT.cjs} +1 -1
  193. package/dist/{myValue-O-if52RW.js → myValue-C08vYRJC.js} +2 -2
  194. package/dist/{myValueList-BLdGgMNf.js → myValueList-BKVL_kPb.js} +2 -2
  195. package/dist/{myValueList-C0iXTN51.cjs → myValueList-Bwg3XCPF.cjs} +1 -1
  196. package/dist/{objectList-C-Z_KNYu.cjs → objectList-FArM7oEM.cjs} +1 -1
  197. package/dist/{objectList-DMEp2Ec2.js → objectList-emtQyLbD.js} +4 -4
  198. package/dist/{photo-DXKeQKg-.cjs → photo-B9Veb_Am.cjs} +1 -1
  199. package/dist/{photo-1Q-LV4S6.js → photo-DXbQg_FJ.js} +4 -4
  200. package/dist/{pie-l-XgaxNm.js → pie-DZzf2lL7.js} +3 -3
  201. package/dist/{pie-DpBeMxOY.cjs → pie-U9hOnFzz.cjs} +1 -1
  202. package/dist/{pressBtn-BYsOLnTQ.cjs → pressBtn-BNr1R0gW.cjs} +1 -1
  203. package/dist/{pressBtn-BMjo291P.js → pressBtn-R5Wsj-Jw.js} +4 -4
  204. package/dist/{progressBar-TUgp2Sqo.cjs → progressBar-CUSoF6f0.cjs} +1 -1
  205. package/dist/{progressBar-C-lI1grv.js → progressBar-sLfJICdr.js} +2 -2
  206. package/dist/{progressCircle-Cj608C04.cjs → progressCircle-B6P8B-t_.cjs} +1 -1
  207. package/dist/{progressCircle-BnqzofPx.js → progressCircle-BZgPxs_q.js} +2 -2
  208. package/dist/{qrcode-D9dNH9vU.js → qrcode-C96PznAO.js} +2 -2
  209. package/dist/{qrcode-C9adRPR_.cjs → qrcode-DMrNxgq5.cjs} +1 -1
  210. package/dist/{raceBar-CDihtH4v.cjs → raceBar-BTExTEsZ.cjs} +1 -1
  211. package/dist/{raceBar-DIXDtvsv.js → raceBar-Dryx8Onl.js} +3 -3
  212. package/dist/{rad-OvE-8smk.cjs → rad-DpkIOKs_.cjs} +1 -1
  213. package/dist/{rad-DQe3jFyE.js → rad-vw4O2ByZ.js} +2 -2
  214. package/dist/{rainfallFilterBar-CeSh7hox.js → rainfallFilterBar-BjAWqKtM.js} +2 -2
  215. package/dist/{rainfallFilterBar-B_-w8OLn.cjs → rainfallFilterBar-CH3abw6C.cjs} +1 -1
  216. package/dist/{rainfallTimeCurve-Bw-EvxqW.js → rainfallTimeCurve-BPDZGrlQ.js} +3 -3
  217. package/dist/{rainfallTimeCurve-R7dXpzfD.cjs → rainfallTimeCurve-oJUJ2mt7.cjs} +1 -1
  218. package/dist/{rangeLin-CNq5TzGl.js → rangeLin-BFFy57TT.js} +2 -2
  219. package/dist/{rangeLin-D_vfu7Vl.cjs → rangeLin-CBqKAU0P.cjs} +1 -1
  220. package/dist/{request-Dsf-00lN.cjs → request-BcQP_dWt.cjs} +1 -1
  221. package/dist/{request-DK0rMmUu.js → request-jIo7FwQD.js} +1 -1
  222. package/dist/{retainer1-DboHt57L.cjs → retainer1-CfcwA39J.cjs} +1 -1
  223. package/dist/{retainer1-CCRpQQSy.js → retainer1-goSPppQ-.js} +3 -3
  224. package/dist/{retainer2-Dr2UghmE.js → retainer2-BHdnsKrO.js} +3 -3
  225. package/dist/{retainer2-B3-gMMte.cjs → retainer2-DwQmFU10.cjs} +1 -1
  226. package/dist/{riskRegionTable-BxdpPFB6.js → riskRegionTable-B8-f5xx-.js} +2 -2
  227. package/dist/{riskRegionTable-CNnPQ095.cjs → riskRegionTable-CSJpPxPB.cjs} +1 -1
  228. package/dist/{sankey-DcC1efNM.js → sankey-C0gaE3HM.js} +3 -3
  229. package/dist/{sankey-FYco7g_2.cjs → sankey-DXCBHb16.cjs} +1 -1
  230. package/dist/{scd-BheeDpvi.cjs → scd-CkEHu7nZ.cjs} +1 -1
  231. package/dist/{scd-CR0CAnRi.js → scd-Cwyft2g6.js} +2 -2
  232. package/dist/{sideMenu-Bl0XOcvy.js → sideMenu-BtVCCKw9.js} +2 -2
  233. package/dist/{sideMenu-B9lmUGxB.cjs → sideMenu-DUdDDJ9K.cjs} +1 -1
  234. package/dist/{slopeStability-_tr0tCib.cjs → slopeStability-Byb6AKti.cjs} +1 -1
  235. package/dist/{slopeStability-D06Uk1mk.js → slopeStability-DwxDXTQG.js} +3 -3
  236. package/dist/{speedCurve-B94L4i7L.js → speedCurve-BuNsy-ev.js} +3 -3
  237. package/dist/{speedCurve-BMPLz2jy.cjs → speedCurve-DArreweP.cjs} +1 -1
  238. package/dist/{staticLine-DP0PebQH.cjs → staticLine-C50p0CZs.cjs} +1 -1
  239. package/dist/{staticLine-Cxifytvx.js → staticLine-DfkpF6ZW.js} +3 -3
  240. package/dist/{store-CruxVoZn.cjs → store-ByTYoqyI.cjs} +1 -1
  241. package/dist/{store-BNMaBpkH.js → store-D_TrU3nw.js} +2 -2
  242. package/dist/{swiper-BcjC_n8G.js → swiper-CQiRByJd.js} +2 -2
  243. package/dist/{swiper-CEdQi4ty.cjs → swiper-L0Oo2dYD.cjs} +1 -1
  244. package/dist/{terminalConfigList-CVxRf5LT.js → terminalConfigList-BhmfFm4f.js} +3 -3
  245. package/dist/{terminalConfigList-B1kML8wV.cjs → terminalConfigList-ChC43Bwq.cjs} +1 -1
  246. package/dist/{terminalList-1gtqry00.cjs → terminalList-BQModRyk.cjs} +1 -1
  247. package/dist/{terminalList-DUUmgww1.js → terminalList-C6tswBt1.js} +3 -3
  248. package/dist/{textbox-CJ1flXNU.cjs → textbox-CSuiDl8k.cjs} +1 -1
  249. package/dist/{textbox-CVmK4iJd.js → textbox-CgOhFsYo.js} +3 -3
  250. package/dist/{timeQueryBar-CN9ZGqZq.cjs → timeQueryBar-BtCXHgrg.cjs} +1 -1
  251. package/dist/{timeQueryBar-Bjyih9xd.js → timeQueryBar-QEg1Flg9.js} +1 -1
  252. package/dist/{timeSeries-CNLxndUy.js → timeSeries-B7NgbHfJ.js} +4 -4
  253. package/dist/{timeSeries-BBbMEI-q.cjs → timeSeries-DMINp9Fr.cjs} +1 -1
  254. package/dist/{timeSeriesCurve-CJmlFnU8.js → timeSeriesCurve-DEY5KQvu.js} +3 -3
  255. package/dist/{timeSeriesCurve-BHnBdeuj.cjs → timeSeriesCurve-wC9wHGI4.cjs} +1 -1
  256. package/dist/{toggleBtn-U7VXzxfO.js → toggleBtn-Brtfu0-e.js} +3 -3
  257. package/dist/{toggleBtn-EYDDVVYC.cjs → toggleBtn-DO953U-q.cjs} +1 -1
  258. package/dist/{trajectoryConfigPanel-Bwum3Ph2.js → trajectoryConfigPanel-BDdP3SdV.js} +1 -1
  259. package/dist/{trajectoryConfigPanel-C77oQQwR.cjs → trajectoryConfigPanel-Bl_o9h2e.cjs} +1 -1
  260. package/dist/{trajectoryScatter-B976mD6u.js → trajectoryScatter-7-lJ5SMe.js} +3 -3
  261. package/dist/{trajectoryScatter-CGi6DYqO.cjs → trajectoryScatter-DVm5ljvY.cjs} +1 -1
  262. package/dist/{universalConfigPanel-BJRWyOgc.cjs → universalConfigPanel-Cm4TfqAK.cjs} +1 -1
  263. package/dist/{universalConfigPanel-DvuVl6gK.js → universalConfigPanel-DTLFrGXs.js} +1 -1
  264. package/dist/{universalTable-B3lAKXqg.cjs → universalTable-Bl9x3wEx.cjs} +1 -1
  265. package/dist/{universalTable-4JaNkC2D.js → universalTable-CCFr-GKz.js} +2 -2
  266. package/dist/{video-BILoWN-c.cjs → video-DObKrYkw.cjs} +1 -1
  267. package/dist/{video-D1uDxAKr.js → video-gqqvz5Ge.js} +4 -4
  268. package/dist/{videoMonitor-B3pdRJDb.cjs → videoMonitor-B_Ur25fz.cjs} +1 -1
  269. package/dist/{videoMonitor-DRV_4ckZ.js → videoMonitor-CGMHzNdh.js} +2 -2
  270. package/dist/{vlu-Bhy4cwbq.js → vlu-6DSf0haZ.js} +2 -2
  271. package/dist/{vlu-CLzdnzdR.cjs → vlu-Dbj9euY_.cjs} +1 -1
  272. package/dist/{weather-CMxX1ynV.cjs → weather-BsIBTn7G.cjs} +1 -1
  273. package/dist/{weather-CO-BqAO2.js → weather-CQBxQBld.js} +2 -2
  274. package/dist/{windLin-BzCuvNwJ.js → windLin-KIVk9hOD.js} +2 -2
  275. package/dist/{windLin-D7BSeKLl.cjs → windLin-jVF-rhIx.cjs} +1 -1
  276. package/package.json +1 -1
  277. package/dist/gasStationList-BGTIcN9t.js +0 -984
  278. package/dist/gasStationList-DE4iLKqq.cjs +0 -1
  279. package/dist/mixDataPermission-D4uBuCpx.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";var j=Object.defineProperty,W=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var M=(a,s,l)=>s in a?j(a,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[s]=l,x=(a,s)=>{for(var l in s||(s={}))K.call(s,l)&&M(a,l,s[l]);if(b)for(var l of b(s))G.call(s,l)&&M(a,l,s[l]);return a},D=(a,s)=>W(a,Z(s));var O=(a,s,l)=>new Promise((k,h)=>{var v=r=>{try{u(l.next(r))}catch(g){h(g)}},i=r=>{try{u(l.throw(r))}catch(g){h(g)}},u=r=>r.done?k(r.value):Promise.resolve(r.value).then(v,i);u((l=l.apply(a,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),J=require("./element-resize-detector-DgDXXuXN.cjs"),L=require("./index-Bl0Sti1q.cjs"),Q=require("./api-B2SQ6Grb.cjs"),X=require("./config-DbZfhrwE.cjs"),f=require("element-plus"),Y=require("./store-CruxVoZn.cjs"),P=require("./ele-vdo-icon-Bgp9gaT6.cjs"),ee={class:"mix-body"},te={class:"upload-content"},oe={viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",style:{opacity:"0.5"}},le={class:"upload-text"},ne={key:0,class:"upload-hint"},ae={key:1,class:"upload-supported"},se={key:1,class:"stream-input-area"},re={class:"stream-content"},ie={viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",style:{opacity:"0.5"}},ce={key:0,class:"stream-input-container"},de=["placeholder"],ue=["disabled"],pe={key:1,class:"stream-hint"},ve={key:2,class:"stream-hint"},me={key:2,class:"player-container"},fe={key:0,class:"video-controls"},ye={class:"file-info"},he={class:"file-name"},ge=["title"],Ee={class:"video-container"},Ve=["src","controls","autoplay","loop","muted"],Ne={DEFAULT_ICON:P.DEFAULT_ICON,ACTIVE_ICON:P.ACTIVE_ICON,NAME_CN:"视频播放器",NAME_EN:"Video Player",ORDER:1},Ce={sourceType:{value:"upload",type:"select",label:"component.video.sourceType",options:[{label:"component.video.uploadFile",value:"upload"},{label:"component.video.rtmpStream",value:"stream"}]},autoplay:!1,loop:!1,muted:!1,controls:!0,fileUrl:{value:"",type:"string",label:"component.video.fileUrl",placeholder:"component.video.uploadPlaceholder"},fileName:{value:"",type:"string",label:"component.video.fileName",placeholder:"component.video.uploadPlaceholder"},streamUrl:{value:"",type:"string",label:"component.video.streamUrl",placeholder:"component.video.streamPlaceholder"},streamType:{value:"flv",type:"select",label:"component.video.streamType",options:[{label:"HTTP-FLV",value:"flv"},{label:"HLS",value:"hls"}]}},ke=[],Se=[],_e=[],Le=null,Te={DEFAULT:Ne,OPTIONS:Ce,DATA:ke,PARAMS:Se,SOURCE:_e,COMMON:Le},we=e.defineComponent(D(x({},Te),{__name:"video",props:{conf:{type:Object,required:!0},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(a){const s=Y.useCounterStore(),l=a;class k extends J.BaseComponent{extractStyles(){return{radiusSize:this.getOptionValue("radiusSize",0),autoplay:this.getOptionValue("autoplay",!1),loop:this.getOptionValue("loop",!1),muted:this.getOptionValue("muted",!1),controls:this.getOptionValue("controls",!0)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),R()}}const h=new k(l,"video");h.setupLifecycle();const v=h.getStyle(),i=e.ref(""),u=e.ref(""),r=e.ref(null),g=e.ref(null),T=e.ref(!1),m=e.ref(""),y=e.getCurrentInstance();e.computed(()=>({width:"100%",height:"100%",display:"flex",flexDirection:"column"}));const N=e.computed(()=>{var t,o,n;return((n=(o=(t=l.conf)==null?void 0:t.options)==null?void 0:o.sourceType)==null?void 0:n.value)||"upload"}),E=e.computed(()=>{var t,o,n;return((n=(o=(t=l.conf)==null?void 0:t.options)==null?void 0:o.streamType)==null?void 0:n.value)||"flv"}),R=()=>{var t,o,n,p,c,d,C;N.value==="upload"&&((n=(o=(t=l.conf)==null?void 0:t.options)==null?void 0:o.fileUrl)!=null&&n.value)&&(i.value=l.conf.options.fileUrl.value,u.value=((p=l.conf.options.fileName)==null?void 0:p.value)||""),N.value==="stream"&&((C=(d=(c=l.conf)==null?void 0:c.options)==null?void 0:d.streamUrl)!=null&&C.value)&&(m.value=l.conf.options.streamUrl.value,S())},F=()=>{var t;(t=r.value)==null||t.click()},w=t=>O(null,null,function*(){var p,c;const o=t.target.files[0];if(!o)return;if(!o.type.startsWith("video/")){f.ElMessage.warning("请选择有效的视频文件");return}const n=URL.createObjectURL(o);i.value=n,u.value=o.name;try{T.value=!0;const d=yield L.fileToDataUrl(o),C=L.getFileExtension(o.name),V=yield Q.api.post("upload",{dashboard_uid:s.pageData.id,file_data:d,file_type:C,user_id:((p=s.session.userInfo)==null?void 0:p.id)||""},!0);if(V.code===200&&((c=V.result)!=null&&c.relative_path)){const A=X.FILE_URL+V.result.relative_path;URL.revokeObjectURL(n),i.value=A,_("fileUrl",A),_("fileName",V.result.file_name||o.name),f.ElMessage.success("视频上传成功")}else throw new Error(V.msg||"上传失败")}catch(d){console.error("视频上传失败:",d),f.ElMessage.error("视频上传失败: "+(d.message||"未知错误"))}finally{T.value=!1,r.value&&(r.value.value="")}}),S=()=>{if(!m.value.trim()){f.ElMessage.warning("请输入推流地址");return}const t=m.value.trim();_("streamUrl",t),E.value==="flv"?I(t):E.value==="hls"&&H(t),i.value=t,u.value=`${E.value.toUpperCase()} 推流`,f.ElMessage.success("推流连接成功")},I=t=>{console.log("初始化FLV播放器:",t)},H=t=>{console.log("初始化HLS播放器:",t)},_=(t,o)=>{var n;(n=l.conf)!=null&&n.options&&(l.conf.options[t]||(l.conf.options[t]={value:"",type:"string",label:""}),l.conf.options[t].value=o)},B=t=>{t.preventDefault(),t.stopPropagation()},U=t=>{var p;t.preventDefault(),t.stopPropagation();const n=(p=t.dataTransfer)==null?void 0:p.files;if(n&&n.length>0){const c=n[0];if(c!=null&&c.type.startsWith("video/")){const d=new DataTransfer;d.items.add(c),r.value&&(r.value.files=d.files,w({target:r.value}))}else f.ElMessage.warning("请选择有效的视频文件")}},q=()=>{i.value="",u.value="",m.value=""},$=()=>{console.log("Video metadata loaded")},z=t=>{console.error("Video error:",t),f.ElMessage.error("视频加载失败,请检查URL或文件")};return e.onMounted(()=>{var t,o;if(l.mode!=="preview"){const n=(o=(t=y==null?void 0:y.proxy)==null?void 0:t.$el)==null?void 0:o.querySelector(".upload-area");n&&(n.addEventListener("dragover",B),n.addEventListener("drop",U))}}),e.onBeforeUnmount(()=>{var o,n;const t=(n=(o=y==null?void 0:y.proxy)==null?void 0:o.$el)==null?void 0:n.querySelector(".upload-area");t&&(t.removeEventListener("dragover",B),t.removeEventListener("drop",U))}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({borderRadius:`${e.unref(v).radiusSize}px`})},[e.createElementVNode("div",ee,[!i.value&&N.value==="upload"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["upload-area",{"preview-mode":a.mode==="preview"}]),onClick:o[0]||(o[0]=n=>a.mode!=="preview"&&F())},[e.createElementVNode("input",{ref_key:"fileInputRef",ref:r,type:"file",accept:"video/*",onChange:w,style:{display:"none"}},null,544),e.createElementVNode("div",te,[(e.openBlock(),e.createElementBlock("svg",oe,[...o[2]||(o[2]=[e.createElementVNode("path",{d:"M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z"},null,-1)])])),e.createElementVNode("p",le,e.toDisplayString(a.mode==="preview"?"未上传素材":t.$t("component.video.uploadText")||"点击上传视频"),1),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",ne,e.toDisplayString(t.$t("component.video.uploadHint")||"或拖拽文件到此处"),1)):e.createCommentVNode("",!0),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",ae,e.toDisplayString(t.$t("component.video.supportedTypes")||"支持格式: MP4, WebM, OGV"),1)):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0),!i.value&&N.value==="stream"?(e.openBlock(),e.createElementBlock("div",se,[e.createElementVNode("div",re,[(e.openBlock(),e.createElementBlock("svg",ie,[...o[3]||(o[3]=[e.createElementVNode("path",{d:"M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z"},null,-1)])])),o[4]||(o[4]=e.createElementVNode("p",{class:"stream-text"},"RTMP 推流播放",-1)),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",ce,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=n=>m.value=n),type:"text",class:"stream-url-input",placeholder:E.value==="flv"?"请输入HTTP-FLV地址,如:http://xxx/live/stream.flv":"请输入HLS地址,如:http://xxx/live/stream.m3u8",onKeyup:e.withKeys(S,["enter"])},null,40,de),[[e.vModelText,m.value]]),e.createElementVNode("button",{class:"connect-btn",onClick:S,disabled:!m.value.trim()}," 连接 ",8,ue)])):e.createCommentVNode("",!0),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",pe," 支持格式: "+e.toDisplayString(E.value==="flv"?"HTTP-FLV (.flv)":"HLS (.m3u8)"),1)):e.createCommentVNode("",!0),a.mode==="preview"?(e.openBlock(),e.createElementBlock("p",ve,"未配置推流地址")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("div",me,[a.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",ye,[e.createElementVNode("span",he,e.toDisplayString(u.value||i.value),1),e.createElementVNode("button",{class:"change-file-btn",onClick:q,title:t.$t("component.video.changeFile")||"更换文件"},[...o[5]||(o[5]=[e.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor"},[e.createElementVNode("path",{d:"M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z"})],-1)])],8,ge)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ee,[e.createElementVNode("video",{ref_key:"videoRef",ref:g,src:i.value,controls:e.unref(v).controls,autoplay:e.unref(v).autoplay,loop:e.unref(v).loop,muted:e.unref(v).muted,onLoadedmetadata:$,onError:z,class:"video-element"},e.toDisplayString(t.$t("component.video.notSupport")||"您的浏览器不支持视频播放"),41,Ve)])])):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),Be=L._export_sfc(we,[["__scopeId","data-v-a4584d40"]]);exports.default=Be;
1
+ "use strict";var j=Object.defineProperty,W=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var M=(a,s,l)=>s in a?j(a,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[s]=l,x=(a,s)=>{for(var l in s||(s={}))K.call(s,l)&&M(a,l,s[l]);if(b)for(var l of b(s))G.call(s,l)&&M(a,l,s[l]);return a},D=(a,s)=>W(a,Z(s));var O=(a,s,l)=>new Promise((k,h)=>{var v=r=>{try{u(l.next(r))}catch(g){h(g)}},i=r=>{try{u(l.throw(r))}catch(g){h(g)}},u=r=>r.done?k(r.value):Promise.resolve(r.value).then(v,i);u((l=l.apply(a,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),J=require("./element-resize-detector-DYs3pJPp.cjs"),L=require("./index-ZwyqrmaH.cjs"),Q=require("./api-nw_9niqv.cjs"),X=require("./config-DbZfhrwE.cjs"),f=require("element-plus"),Y=require("./store-ByTYoqyI.cjs"),P=require("./ele-vdo-icon-Bgp9gaT6.cjs"),ee={class:"mix-body"},te={class:"upload-content"},oe={viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",style:{opacity:"0.5"}},le={class:"upload-text"},ne={key:0,class:"upload-hint"},ae={key:1,class:"upload-supported"},se={key:1,class:"stream-input-area"},re={class:"stream-content"},ie={viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",style:{opacity:"0.5"}},ce={key:0,class:"stream-input-container"},de=["placeholder"],ue=["disabled"],pe={key:1,class:"stream-hint"},ve={key:2,class:"stream-hint"},me={key:2,class:"player-container"},fe={key:0,class:"video-controls"},ye={class:"file-info"},he={class:"file-name"},ge=["title"],Ee={class:"video-container"},Ve=["src","controls","autoplay","loop","muted"],Ne={DEFAULT_ICON:P.DEFAULT_ICON,ACTIVE_ICON:P.ACTIVE_ICON,NAME_CN:"视频播放器",NAME_EN:"Video Player",ORDER:1},Ce={sourceType:{value:"upload",type:"select",label:"component.video.sourceType",options:[{label:"component.video.uploadFile",value:"upload"},{label:"component.video.rtmpStream",value:"stream"}]},autoplay:!1,loop:!1,muted:!1,controls:!0,fileUrl:{value:"",type:"string",label:"component.video.fileUrl",placeholder:"component.video.uploadPlaceholder"},fileName:{value:"",type:"string",label:"component.video.fileName",placeholder:"component.video.uploadPlaceholder"},streamUrl:{value:"",type:"string",label:"component.video.streamUrl",placeholder:"component.video.streamPlaceholder"},streamType:{value:"flv",type:"select",label:"component.video.streamType",options:[{label:"HTTP-FLV",value:"flv"},{label:"HLS",value:"hls"}]}},ke=[],Se=[],_e=[],Le=null,Te={DEFAULT:Ne,OPTIONS:Ce,DATA:ke,PARAMS:Se,SOURCE:_e,COMMON:Le},we=e.defineComponent(D(x({},Te),{__name:"video",props:{conf:{type:Object,required:!0},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(a){const s=Y.useCounterStore(),l=a;class k extends J.BaseComponent{extractStyles(){return{radiusSize:this.getOptionValue("radiusSize",0),autoplay:this.getOptionValue("autoplay",!1),loop:this.getOptionValue("loop",!1),muted:this.getOptionValue("muted",!1),controls:this.getOptionValue("controls",!0)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),R()}}const h=new k(l,"video");h.setupLifecycle();const v=h.getStyle(),i=e.ref(""),u=e.ref(""),r=e.ref(null),g=e.ref(null),T=e.ref(!1),m=e.ref(""),y=e.getCurrentInstance();e.computed(()=>({width:"100%",height:"100%",display:"flex",flexDirection:"column"}));const N=e.computed(()=>{var t,o,n;return((n=(o=(t=l.conf)==null?void 0:t.options)==null?void 0:o.sourceType)==null?void 0:n.value)||"upload"}),E=e.computed(()=>{var t,o,n;return((n=(o=(t=l.conf)==null?void 0:t.options)==null?void 0:o.streamType)==null?void 0:n.value)||"flv"}),R=()=>{var t,o,n,p,c,d,C;N.value==="upload"&&((n=(o=(t=l.conf)==null?void 0:t.options)==null?void 0:o.fileUrl)!=null&&n.value)&&(i.value=l.conf.options.fileUrl.value,u.value=((p=l.conf.options.fileName)==null?void 0:p.value)||""),N.value==="stream"&&((C=(d=(c=l.conf)==null?void 0:c.options)==null?void 0:d.streamUrl)!=null&&C.value)&&(m.value=l.conf.options.streamUrl.value,S())},F=()=>{var t;(t=r.value)==null||t.click()},w=t=>O(null,null,function*(){var p,c;const o=t.target.files[0];if(!o)return;if(!o.type.startsWith("video/")){f.ElMessage.warning("请选择有效的视频文件");return}const n=URL.createObjectURL(o);i.value=n,u.value=o.name;try{T.value=!0;const d=yield L.fileToDataUrl(o),C=L.getFileExtension(o.name),V=yield Q.api.post("upload",{dashboard_uid:s.pageData.id,file_data:d,file_type:C,user_id:((p=s.session.userInfo)==null?void 0:p.id)||""},!0);if(V.code===200&&((c=V.result)!=null&&c.relative_path)){const A=X.FILE_URL+V.result.relative_path;URL.revokeObjectURL(n),i.value=A,_("fileUrl",A),_("fileName",V.result.file_name||o.name),f.ElMessage.success("视频上传成功")}else throw new Error(V.msg||"上传失败")}catch(d){console.error("视频上传失败:",d),f.ElMessage.error("视频上传失败: "+(d.message||"未知错误"))}finally{T.value=!1,r.value&&(r.value.value="")}}),S=()=>{if(!m.value.trim()){f.ElMessage.warning("请输入推流地址");return}const t=m.value.trim();_("streamUrl",t),E.value==="flv"?I(t):E.value==="hls"&&H(t),i.value=t,u.value=`${E.value.toUpperCase()} 推流`,f.ElMessage.success("推流连接成功")},I=t=>{console.log("初始化FLV播放器:",t)},H=t=>{console.log("初始化HLS播放器:",t)},_=(t,o)=>{var n;(n=l.conf)!=null&&n.options&&(l.conf.options[t]||(l.conf.options[t]={value:"",type:"string",label:""}),l.conf.options[t].value=o)},B=t=>{t.preventDefault(),t.stopPropagation()},U=t=>{var p;t.preventDefault(),t.stopPropagation();const n=(p=t.dataTransfer)==null?void 0:p.files;if(n&&n.length>0){const c=n[0];if(c!=null&&c.type.startsWith("video/")){const d=new DataTransfer;d.items.add(c),r.value&&(r.value.files=d.files,w({target:r.value}))}else f.ElMessage.warning("请选择有效的视频文件")}},q=()=>{i.value="",u.value="",m.value=""},$=()=>{console.log("Video metadata loaded")},z=t=>{console.error("Video error:",t),f.ElMessage.error("视频加载失败,请检查URL或文件")};return e.onMounted(()=>{var t,o;if(l.mode!=="preview"){const n=(o=(t=y==null?void 0:y.proxy)==null?void 0:t.$el)==null?void 0:o.querySelector(".upload-area");n&&(n.addEventListener("dragover",B),n.addEventListener("drop",U))}}),e.onBeforeUnmount(()=>{var o,n;const t=(n=(o=y==null?void 0:y.proxy)==null?void 0:o.$el)==null?void 0:n.querySelector(".upload-area");t&&(t.removeEventListener("dragover",B),t.removeEventListener("drop",U))}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({borderRadius:`${e.unref(v).radiusSize}px`})},[e.createElementVNode("div",ee,[!i.value&&N.value==="upload"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["upload-area",{"preview-mode":a.mode==="preview"}]),onClick:o[0]||(o[0]=n=>a.mode!=="preview"&&F())},[e.createElementVNode("input",{ref_key:"fileInputRef",ref:r,type:"file",accept:"video/*",onChange:w,style:{display:"none"}},null,544),e.createElementVNode("div",te,[(e.openBlock(),e.createElementBlock("svg",oe,[...o[2]||(o[2]=[e.createElementVNode("path",{d:"M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z"},null,-1)])])),e.createElementVNode("p",le,e.toDisplayString(a.mode==="preview"?"未上传素材":t.$t("component.video.uploadText")||"点击上传视频"),1),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",ne,e.toDisplayString(t.$t("component.video.uploadHint")||"或拖拽文件到此处"),1)):e.createCommentVNode("",!0),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",ae,e.toDisplayString(t.$t("component.video.supportedTypes")||"支持格式: MP4, WebM, OGV"),1)):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0),!i.value&&N.value==="stream"?(e.openBlock(),e.createElementBlock("div",se,[e.createElementVNode("div",re,[(e.openBlock(),e.createElementBlock("svg",ie,[...o[3]||(o[3]=[e.createElementVNode("path",{d:"M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z"},null,-1)])])),o[4]||(o[4]=e.createElementVNode("p",{class:"stream-text"},"RTMP 推流播放",-1)),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",ce,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=n=>m.value=n),type:"text",class:"stream-url-input",placeholder:E.value==="flv"?"请输入HTTP-FLV地址,如:http://xxx/live/stream.flv":"请输入HLS地址,如:http://xxx/live/stream.m3u8",onKeyup:e.withKeys(S,["enter"])},null,40,de),[[e.vModelText,m.value]]),e.createElementVNode("button",{class:"connect-btn",onClick:S,disabled:!m.value.trim()}," 连接 ",8,ue)])):e.createCommentVNode("",!0),a.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",pe," 支持格式: "+e.toDisplayString(E.value==="flv"?"HTTP-FLV (.flv)":"HLS (.m3u8)"),1)):e.createCommentVNode("",!0),a.mode==="preview"?(e.openBlock(),e.createElementBlock("p",ve,"未配置推流地址")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("div",me,[a.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",ye,[e.createElementVNode("span",he,e.toDisplayString(u.value||i.value),1),e.createElementVNode("button",{class:"change-file-btn",onClick:q,title:t.$t("component.video.changeFile")||"更换文件"},[...o[5]||(o[5]=[e.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor"},[e.createElementVNode("path",{d:"M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z"})],-1)])],8,ge)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ee,[e.createElementVNode("video",{ref_key:"videoRef",ref:g,src:i.value,controls:e.unref(v).controls,autoplay:e.unref(v).autoplay,loop:e.unref(v).loop,muted:e.unref(v).muted,onLoadedmetadata:$,onError:z,class:"video-element"},e.toDisplayString(t.$t("component.video.notSupport")||"您的浏览器不支持视频播放"),41,Ve)])])):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),Be=L._export_sfc(we,[["__scopeId","data-v-a4584d40"]]);exports.default=Be;
@@ -27,12 +27,12 @@ var B = (a, s, o) => new Promise((x, w) => {
27
27
  v((o = o.apply(a, s)).next());
28
28
  });
29
29
  import { defineComponent as te, ref as L, getCurrentInstance as oe, computed as M, onMounted as le, onBeforeUnmount as ae, openBlock as d, createElementBlock as u, normalizeStyle as se, unref as U, createElementVNode as n, normalizeClass as ne, toDisplayString as V, createCommentVNode as m, withDirectives as ie, withKeys as re, vModelText as de, renderSlot as ue } from "vue";
30
- import { B as ce } from "./element-resize-detector-TyLBpj37.js";
31
- import { f as pe, g as ve, _ as me } from "./index-6FluFNdL.js";
32
- import { a as fe } from "./api-D-aFsy-8.js";
30
+ import { B as ce } from "./element-resize-detector-BCRzpPES.js";
31
+ import { f as pe, g as ve, _ as me } from "./index-LgTfdmT4.js";
32
+ import { a as fe } from "./api-Cyx2Fha0.js";
33
33
  import { F as ye } from "./config-BrMFHyZe.js";
34
34
  import { ElMessage as g } from "element-plus";
35
- import { u as he } from "./store-BNMaBpkH.js";
35
+ import { u as he } from "./store-D_TrU3nw.js";
36
36
  import { A as ge, D as _e } from "./ele-vdo-icon-DcWebTR5.js";
37
37
  const Le = { class: "mix-body" }, Ve = { class: "upload-content" }, we = {
38
38
  viewBox: "0 0 24 24",
@@ -1 +1 @@
1
- "use strict";var F=Object.defineProperty,$=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var O=(n,o,a)=>o in n?F(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,R=(n,o)=>{for(var a in o||(o={}))H.call(o,a)&&O(n,a,o[a]);if(S)for(var a of S(o))K.call(o,a)&&O(n,a,o[a]);return n},A=(n,o)=>$(n,z(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("html2canvas");const y=require("./element-resize-detector-DgDXXuXN.cjs"),U=require("./ele-vdo-icon-Bgp9gaT6.cjs"),Q=require("./index-Bl0Sti1q.cjs"),G={class:"video-monitor-wrapper"},J={class:"panel-header"},W={class:"header-left"},X={class:"header-title"},Y={class:"search-bar"},Z=["placeholder"],ee={class:"time-range-row"},te={class:"time-range-item"},oe={class:"time-range-item"},le={class:"video-area"},re={key:0,class:"rec-badge"},ae={class:"video-content"},ne=["src","autoplay","loop","muted","controls"],ce={key:1,class:"video-placeholder"},se={class:"placeholder-text"},de={DEFAULT_ICON:U.DEFAULT_ICON,ACTIVE_ICON:U.ACTIVE_ICON,NAME_CN:"视频监控",NAME_EN:"Video Monitor",ORDER:11},ie={title:{value:"视频监控",type:"string",label:"component.videoMonitor.title"},realtimeBtnText:{value:"实时更新",type:"string",label:"component.videoMonitor.realtimeBtnText"},searchPlaceholder:{value:"搜索摄像头、位置...",type:"string",label:"component.videoMonitor.searchPlaceholder"},placeholderText:{value:"实时监控",type:"string",label:"component.videoMonitor.placeholderText"},bgColor:{value:"#1a2a3a",type:"color",label:"setting.bgColor"},borderColor:{value:"#2a4a6a",type:"color",label:"component.videoMonitor.borderColor"},textColor:{value:"#ffffff",type:"color",label:"setting.textColor"},accentColor:{value:"#00d4ff",type:"color",label:"component.videoMonitor.accentColor"},recColor:{value:"#e74c3c",type:"color",label:"component.videoMonitor.recColor"},glowEffect:{value:!0,type:"checkbox",label:"component.videoMonitor.glowEffect"},autoplay:{value:!0,type:"checkbox",label:"component.options.autoplay"},loop:{value:!0,type:"checkbox",label:"component.options.loop"},muted:{value:!0,type:"checkbox",label:"component.options.muted"},showControls:{value:!1,type:"checkbox",label:"component.options.controls"}},ue=[{name:"摄像头-01",fv:"video_url",object_id:"",url:""}],fe=["name","fv","object_id","url"],ve=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],me={useAlias:!1,multiObject:!1,source:"mosaic"},pe={DEFAULT:de,OPTIONS:ie,DATA:ue,PARAMS:fe,SOURCE:ve,COMMON:me},he=t.defineComponent(A(R({},pe),{__name:"videoMonitor",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(n){t.useCssVars(d=>({v67bb6460:t.unref(r).bgColor,e55c384e:t.unref(r).borderColor,v051c1810:t.unref(r).textColor,v1c5c55fb:t.unref(r).accentColor,v913de610:t.unref(r).glowEffect?`drop-shadow(0 0 6px ${t.unref(r).accentColor})`:"none",v49efa2a4:t.unref(r).glowEffect?`0 0 10px ${t.unref(r).accentColor}`:"none",v4fb04a9e:t.unref(r).recColor}));const o=n;class a extends y.BaseComponent{extractStyles(){var l,f,c,i,h,s,b,v,m,u,x,N,V,M,k,w,D,T,B;const{options:e}=this.props.conf;return{title:((l=e==null?void 0:e.title)==null?void 0:l.value)||"视频监控",realtimeBtnText:((f=e==null?void 0:e.realtimeBtnText)==null?void 0:f.value)||"实时更新",searchPlaceholder:((c=e==null?void 0:e.searchPlaceholder)==null?void 0:c.value)||"搜索摄像头、位置...",placeholderText:((i=e==null?void 0:e.placeholderText)==null?void 0:i.value)||"实时监控",bgColor:((h=e==null?void 0:e.bgColor)==null?void 0:h.value)||"#1a2a3a",borderColor:((s=e==null?void 0:e.borderColor)==null?void 0:s.value)||"#2a4a6a",textColor:((b=e==null?void 0:e.textColor)==null?void 0:b.value)||"#ffffff",accentColor:((v=e==null?void 0:e.accentColor)==null?void 0:v.value)||"#00d4ff",recColor:((m=e==null?void 0:e.recColor)==null?void 0:m.value)||"#e74c3c",glowEffect:(x=(u=e==null?void 0:e.glowEffect)==null?void 0:u.value)!=null?x:!0,autoplay:(V=(N=e==null?void 0:e.autoplay)==null?void 0:N.value)!=null?V:!0,loop:(k=(M=e==null?void 0:e.loop)==null?void 0:M.value)!=null?k:!0,muted:(D=(w=e==null?void 0:e.muted)==null?void 0:w.value)!=null?D:!0,showControls:(B=(T=e==null?void 0:e.showControls)==null?void 0:T.value)!=null?B:!1}}getDefaultData(){return[{name:"摄像头-01",fv:"video_url",object_id:"",url:""}]}setHistoryData(e){const{data:l,common:f}=this.props.conf;if(!l.some(s=>s.object_id&&s.fv))return;const i=f.source||"mosaic";["statistics","calculate"].includes(i)&&(e=y.formatStatisticsResult(e,l));let h=y.handleNullData(e,this.props,"history");l.forEach((s,b)=>{var v,m;if(!(!s.object_id||!s.fv))try{const u=(m=(v=h.history[b])==null?void 0:v[0])==null?void 0:m[s.fv];u&&(s.url=u)}catch(u){}})}setSocketData(e){if(!e)return;const{data:l}=this.props.conf;l.some(c=>c.object_id&&c.fv)&&l.forEach(c=>{if(!c.object_id||!c.fv)return;const i=this.extractDataValue(e,c.fv);i&&(c.url=i)})}}const C=new a(o,"videoMonitor");(!o.conf.data||o.conf.data.length===0)&&(o.conf.data=C.getDefaultData()),C.setupLifecycle();const r=C.getStyle(),p=t.ref(""),j=t.ref(!0),I=t.ref(null),E=t.ref(""),g=t.ref(""),_=t.computed(()=>{var e,l;const d=(l=(e=o.conf)==null?void 0:e.data)==null?void 0:l[0];return(d==null?void 0:d.url)||""}),P=()=>console.log("实时更新"),q=()=>console.log("搜索:",p.value),L=()=>{p.value=""};return(d,e)=>(t.openBlock(),t.createElementBlock("div",G,[t.createElementVNode("div",J,[t.createElementVNode("div",W,[e[3]||(e[3]=t.createElementVNode("svg",{class:"header-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[t.createElementVNode("path",{d:"M23 7l-7 5 7 5V7z"}),t.createElementVNode("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"})],-1)),t.createElementVNode("span",X,t.toDisplayString(t.unref(r).title),1)]),t.createElementVNode("button",{class:"realtime-btn",onClick:P},t.toDisplayString(t.unref(r).realtimeBtnText),1)]),t.createElementVNode("div",Y,[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":e[0]||(e[0]=l=>p.value=l),type:"text",class:"search-input",placeholder:t.unref(r).searchPlaceholder},null,8,Z),[[t.vModelText,p.value]]),t.createElementVNode("button",{class:"search-btn",onClick:q},[...e[4]||(e[4]=[t.createElementVNode("span",null,"Q",-1)])]),t.createElementVNode("button",{class:"clear-btn",onClick:L},[...e[5]||(e[5]=[t.createElementVNode("span",null,"×",-1)])])]),t.createElementVNode("div",ee,[t.createElementVNode("div",te,[e[6]||(e[6]=t.createElementVNode("label",null,"开始时间",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":e[1]||(e[1]=l=>E.value=l),type:"datetime-local",class:"time-input"},null,512),[[t.vModelText,E.value]])]),t.createElementVNode("div",oe,[e[7]||(e[7]=t.createElementVNode("label",null,"结束时间",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":e[2]||(e[2]=l=>g.value=l),type:"datetime-local",class:"time-input"},null,512),[[t.vModelText,g.value]])])]),t.createElementVNode("div",le,[j.value?(t.openBlock(),t.createElementBlock("div",re,"REC")):t.createCommentVNode("",!0),t.createElementVNode("div",ae,[_.value?(t.openBlock(),t.createElementBlock("video",{key:0,ref_key:"videoRef",ref:I,src:_.value,autoplay:t.unref(r).autoplay,loop:t.unref(r).loop,muted:t.unref(r).muted,controls:t.unref(r).showControls,class:"video-player"}," 您的浏览器不支持视频播放 ",8,ne)):(t.openBlock(),t.createElementBlock("div",ce,[e[8]||(e[8]=t.createElementVNode("svg",{class:"placeholder-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},[t.createElementVNode("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),t.createElementVNode("circle",{cx:"12",cy:"12",r:"3"}),t.createElementVNode("path",{d:"M2 8h2M20 8h2"})],-1)),t.createElementVNode("div",se,t.toDisplayString(t.unref(r).placeholderText),1)]))])]),t.renderSlot(d.$slots,"default",{},void 0,!0)]))}})),be=Q._export_sfc(he,[["__scopeId","data-v-cb156aeb"]]);exports.default=be;
1
+ "use strict";var F=Object.defineProperty,$=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var O=(n,o,a)=>o in n?F(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,R=(n,o)=>{for(var a in o||(o={}))H.call(o,a)&&O(n,a,o[a]);if(S)for(var a of S(o))K.call(o,a)&&O(n,a,o[a]);return n},A=(n,o)=>$(n,z(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("html2canvas");const y=require("./element-resize-detector-DYs3pJPp.cjs"),U=require("./ele-vdo-icon-Bgp9gaT6.cjs"),Q=require("./index-ZwyqrmaH.cjs"),G={class:"video-monitor-wrapper"},J={class:"panel-header"},W={class:"header-left"},X={class:"header-title"},Y={class:"search-bar"},Z=["placeholder"],ee={class:"time-range-row"},te={class:"time-range-item"},oe={class:"time-range-item"},le={class:"video-area"},re={key:0,class:"rec-badge"},ae={class:"video-content"},ne=["src","autoplay","loop","muted","controls"],ce={key:1,class:"video-placeholder"},se={class:"placeholder-text"},de={DEFAULT_ICON:U.DEFAULT_ICON,ACTIVE_ICON:U.ACTIVE_ICON,NAME_CN:"视频监控",NAME_EN:"Video Monitor",ORDER:11},ie={title:{value:"视频监控",type:"string",label:"component.videoMonitor.title"},realtimeBtnText:{value:"实时更新",type:"string",label:"component.videoMonitor.realtimeBtnText"},searchPlaceholder:{value:"搜索摄像头、位置...",type:"string",label:"component.videoMonitor.searchPlaceholder"},placeholderText:{value:"实时监控",type:"string",label:"component.videoMonitor.placeholderText"},bgColor:{value:"#1a2a3a",type:"color",label:"setting.bgColor"},borderColor:{value:"#2a4a6a",type:"color",label:"component.videoMonitor.borderColor"},textColor:{value:"#ffffff",type:"color",label:"setting.textColor"},accentColor:{value:"#00d4ff",type:"color",label:"component.videoMonitor.accentColor"},recColor:{value:"#e74c3c",type:"color",label:"component.videoMonitor.recColor"},glowEffect:{value:!0,type:"checkbox",label:"component.videoMonitor.glowEffect"},autoplay:{value:!0,type:"checkbox",label:"component.options.autoplay"},loop:{value:!0,type:"checkbox",label:"component.options.loop"},muted:{value:!0,type:"checkbox",label:"component.options.muted"},showControls:{value:!1,type:"checkbox",label:"component.options.controls"}},ue=[{name:"摄像头-01",fv:"video_url",object_id:"",url:""}],fe=["name","fv","object_id","url"],ve=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],me={useAlias:!1,multiObject:!1,source:"mosaic"},pe={DEFAULT:de,OPTIONS:ie,DATA:ue,PARAMS:fe,SOURCE:ve,COMMON:me},he=t.defineComponent(A(R({},pe),{__name:"videoMonitor",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(n){t.useCssVars(d=>({v67bb6460:t.unref(r).bgColor,e55c384e:t.unref(r).borderColor,v051c1810:t.unref(r).textColor,v1c5c55fb:t.unref(r).accentColor,v913de610:t.unref(r).glowEffect?`drop-shadow(0 0 6px ${t.unref(r).accentColor})`:"none",v49efa2a4:t.unref(r).glowEffect?`0 0 10px ${t.unref(r).accentColor}`:"none",v4fb04a9e:t.unref(r).recColor}));const o=n;class a extends y.BaseComponent{extractStyles(){var l,f,c,i,h,s,b,v,m,u,x,N,V,M,k,w,D,T,B;const{options:e}=this.props.conf;return{title:((l=e==null?void 0:e.title)==null?void 0:l.value)||"视频监控",realtimeBtnText:((f=e==null?void 0:e.realtimeBtnText)==null?void 0:f.value)||"实时更新",searchPlaceholder:((c=e==null?void 0:e.searchPlaceholder)==null?void 0:c.value)||"搜索摄像头、位置...",placeholderText:((i=e==null?void 0:e.placeholderText)==null?void 0:i.value)||"实时监控",bgColor:((h=e==null?void 0:e.bgColor)==null?void 0:h.value)||"#1a2a3a",borderColor:((s=e==null?void 0:e.borderColor)==null?void 0:s.value)||"#2a4a6a",textColor:((b=e==null?void 0:e.textColor)==null?void 0:b.value)||"#ffffff",accentColor:((v=e==null?void 0:e.accentColor)==null?void 0:v.value)||"#00d4ff",recColor:((m=e==null?void 0:e.recColor)==null?void 0:m.value)||"#e74c3c",glowEffect:(x=(u=e==null?void 0:e.glowEffect)==null?void 0:u.value)!=null?x:!0,autoplay:(V=(N=e==null?void 0:e.autoplay)==null?void 0:N.value)!=null?V:!0,loop:(k=(M=e==null?void 0:e.loop)==null?void 0:M.value)!=null?k:!0,muted:(D=(w=e==null?void 0:e.muted)==null?void 0:w.value)!=null?D:!0,showControls:(B=(T=e==null?void 0:e.showControls)==null?void 0:T.value)!=null?B:!1}}getDefaultData(){return[{name:"摄像头-01",fv:"video_url",object_id:"",url:""}]}setHistoryData(e){const{data:l,common:f}=this.props.conf;if(!l.some(s=>s.object_id&&s.fv))return;const i=f.source||"mosaic";["statistics","calculate"].includes(i)&&(e=y.formatStatisticsResult(e,l));let h=y.handleNullData(e,this.props,"history");l.forEach((s,b)=>{var v,m;if(!(!s.object_id||!s.fv))try{const u=(m=(v=h.history[b])==null?void 0:v[0])==null?void 0:m[s.fv];u&&(s.url=u)}catch(u){}})}setSocketData(e){if(!e)return;const{data:l}=this.props.conf;l.some(c=>c.object_id&&c.fv)&&l.forEach(c=>{if(!c.object_id||!c.fv)return;const i=this.extractDataValue(e,c.fv);i&&(c.url=i)})}}const C=new a(o,"videoMonitor");(!o.conf.data||o.conf.data.length===0)&&(o.conf.data=C.getDefaultData()),C.setupLifecycle();const r=C.getStyle(),p=t.ref(""),j=t.ref(!0),I=t.ref(null),E=t.ref(""),g=t.ref(""),_=t.computed(()=>{var e,l;const d=(l=(e=o.conf)==null?void 0:e.data)==null?void 0:l[0];return(d==null?void 0:d.url)||""}),P=()=>console.log("实时更新"),q=()=>console.log("搜索:",p.value),L=()=>{p.value=""};return(d,e)=>(t.openBlock(),t.createElementBlock("div",G,[t.createElementVNode("div",J,[t.createElementVNode("div",W,[e[3]||(e[3]=t.createElementVNode("svg",{class:"header-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[t.createElementVNode("path",{d:"M23 7l-7 5 7 5V7z"}),t.createElementVNode("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"})],-1)),t.createElementVNode("span",X,t.toDisplayString(t.unref(r).title),1)]),t.createElementVNode("button",{class:"realtime-btn",onClick:P},t.toDisplayString(t.unref(r).realtimeBtnText),1)]),t.createElementVNode("div",Y,[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":e[0]||(e[0]=l=>p.value=l),type:"text",class:"search-input",placeholder:t.unref(r).searchPlaceholder},null,8,Z),[[t.vModelText,p.value]]),t.createElementVNode("button",{class:"search-btn",onClick:q},[...e[4]||(e[4]=[t.createElementVNode("span",null,"Q",-1)])]),t.createElementVNode("button",{class:"clear-btn",onClick:L},[...e[5]||(e[5]=[t.createElementVNode("span",null,"×",-1)])])]),t.createElementVNode("div",ee,[t.createElementVNode("div",te,[e[6]||(e[6]=t.createElementVNode("label",null,"开始时间",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":e[1]||(e[1]=l=>E.value=l),type:"datetime-local",class:"time-input"},null,512),[[t.vModelText,E.value]])]),t.createElementVNode("div",oe,[e[7]||(e[7]=t.createElementVNode("label",null,"结束时间",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":e[2]||(e[2]=l=>g.value=l),type:"datetime-local",class:"time-input"},null,512),[[t.vModelText,g.value]])])]),t.createElementVNode("div",le,[j.value?(t.openBlock(),t.createElementBlock("div",re,"REC")):t.createCommentVNode("",!0),t.createElementVNode("div",ae,[_.value?(t.openBlock(),t.createElementBlock("video",{key:0,ref_key:"videoRef",ref:I,src:_.value,autoplay:t.unref(r).autoplay,loop:t.unref(r).loop,muted:t.unref(r).muted,controls:t.unref(r).showControls,class:"video-player"}," 您的浏览器不支持视频播放 ",8,ne)):(t.openBlock(),t.createElementBlock("div",ce,[e[8]||(e[8]=t.createElementVNode("svg",{class:"placeholder-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},[t.createElementVNode("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),t.createElementVNode("circle",{cx:"12",cy:"12",r:"3"}),t.createElementVNode("path",{d:"M2 8h2M20 8h2"})],-1)),t.createElementVNode("div",se,t.toDisplayString(t.unref(r).placeholderText),1)]))])]),t.renderSlot(d.$slots,"default",{},void 0,!0)]))}})),be=Q._export_sfc(he,[["__scopeId","data-v-cb156aeb"]]);exports.default=be;
@@ -12,9 +12,9 @@ var I = (n, o, c) => o in n ? q(n, o, { enumerable: !0, configurable: !0, writab
12
12
  }, $ = (n, o) => G(n, J(o));
13
13
  import { defineComponent as Y, useCssVars as Z, unref as r, ref as m, computed as ee, openBlock as g, createElementBlock as _, createElementVNode as t, toDisplayString as w, withDirectives as M, vModelText as E, createCommentVNode as te, renderSlot as oe } from "vue";
14
14
  import "html2canvas";
15
- import { B as le, i as ae, j as re } from "./element-resize-detector-TyLBpj37.js";
15
+ import { B as le, i as ae, j as re } from "./element-resize-detector-BCRzpPES.js";
16
16
  import { A as ce, D as ne } from "./ele-vdo-icon-DcWebTR5.js";
17
- import { _ as se } from "./index-6FluFNdL.js";
17
+ import { _ as se } from "./index-LgTfdmT4.js";
18
18
  const ie = { class: "video-monitor-wrapper" }, de = { class: "panel-header" }, ue = { class: "header-left" }, ve = { class: "header-title" }, fe = { class: "search-bar" }, pe = ["placeholder"], he = { class: "time-range-row" }, me = { class: "time-range-item" }, be = { class: "time-range-item" }, Ce = { class: "video-area" }, ye = {
19
19
  key: 0,
20
20
  class: "rec-badge"
@@ -11,8 +11,8 @@ var g = (o, t, e) => t in o ? x(o, t, { enumerable: !0, configurable: !0, writab
11
11
  return o;
12
12
  }, h = (o, t) => b(o, A(t));
13
13
  import { defineComponent as V, ref as M, computed as N, openBlock as T, createElementBlock as j, normalizeStyle as n, unref as i, createElementVNode as l, toDisplayString as r, renderSlot as R } from "vue";
14
- import { B as I } from "./element-resize-detector-TyLBpj37.js";
15
- import { d as k, _ as B } from "./index-6FluFNdL.js";
14
+ import { B as I } from "./element-resize-detector-BCRzpPES.js";
15
+ import { e as k, _ as B } from "./index-LgTfdmT4.js";
16
16
  import { g as L } from "./titleStyle-BT5GlpAb.js";
17
17
  import { A as U, D as Y } from "./ele-vlu-icon-Bg6EHZdJ.js";
18
18
  const $ = { class: "mix-body" }, F = { class: "mix-footer" }, w = "--", H = {
@@ -1 +1 @@
1
- "use strict";var h=Object.defineProperty,E=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var y=(i,t,o)=>t in i?h(i,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[t]=o,v=(i,t)=>{for(var o in t||(t={}))b.call(t,o)&&y(i,o,t[o]);if(p)for(var o of p(t))x.call(t,o)&&y(i,o,t[o]);return i},_=(i,t)=>E(i,V(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),N=require("./element-resize-detector-DgDXXuXN.cjs"),C=require("./index-Bl0Sti1q.cjs"),A=require("./titleStyle-NSnz6cUg.cjs"),g=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),D={class:"mix-body"},T={class:"mix-footer"},M="--",I={DEFAULT_ICON:g.DEFAULT_ICON,ACTIVE_ICON:g.ACTIVE_ICON,NAME_CN:"数值卡片",NAME_EN:"Value",ORDER:3},j={nameSize:14,valueSize:36,timeSize:12,radiusSize:8,bgColor:"#fff",titleColor:"#111",textColor:"#111"},R=[{name:"参数一",fv:"",object_id:""}],k=["name","fv","object_id"],q=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],L={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},U=1,$={DEFAULT:I,OPTIONS:j,DATA:R,PARAMS:k,SOURCE:q,ITEMS:U,COMMON:L},F=e.defineComponent(_(v({},$),{__name:"vlu",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const t=i,o=e.ref(C.dayjs().format("YYYY-MM-DD HH:mm:ss"));class z extends N.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),nameSize:this.getOptionValue("nameSize",14),valueSize:this.getOptionValue("valueSize",36),timeSize:this.getOptionValue("timeSize",12),radiusSize:this.getOptionValue("radiusSize",8)}}init(){var l;this.Style.value=this.extractStyles(),this.applyTheme(),(l=this.props.conf.data)!=null&&l.length||(this.props.conf.data=[{name:"参数一",fv:"",object_id:""}])}setSocketData(l){super.setSocketData(l),l&&l.datetime&&(o.value=l.datetime)}}const s=new z(t,"vlu");s.setupLifecycle();const a=s.getStyle(),n=t.conf,O=e.computed(()=>A.generateTitleStyle(t.conf.options));return(r,l)=>{var c,u,d,m,f,S;return 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(O.value)},e.toDisplayString(e.unref(n).caption||((d=(u=(c=e.unref(n))==null?void 0:c.data)==null?void 0:u[0])==null?void 0:d.name)),5),e.createElementVNode("div",D,[e.createElementVNode("div",{class:"body-value",style:e.normalizeStyle({fontSize:`${e.unref(a).valueSize}px`,color:e.unref(a).textColor})},e.toDisplayString(((S=(f=(m=e.unref(n))==null?void 0:m.data)==null?void 0:f[0])==null?void 0:S.value)||M),5)]),e.createElementVNode("div",T,[e.createElementVNode("div",{class:"footer-time",style:e.normalizeStyle({fontSize:`${e.unref(a).timeSize}px`,color:e.unref(a).titleColor})},e.toDisplayString(o.value),5)]),e.renderSlot(r.$slots,"default",{},void 0,!0)],4)}}})),Y=C._export_sfc(F,[["__scopeId","data-v-f284761a"]]);exports.default=Y;
1
+ "use strict";var h=Object.defineProperty,E=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var y=(i,t,o)=>t in i?h(i,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[t]=o,v=(i,t)=>{for(var o in t||(t={}))b.call(t,o)&&y(i,o,t[o]);if(p)for(var o of p(t))x.call(t,o)&&y(i,o,t[o]);return i},_=(i,t)=>E(i,V(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),N=require("./element-resize-detector-DYs3pJPp.cjs"),C=require("./index-ZwyqrmaH.cjs"),A=require("./titleStyle-NSnz6cUg.cjs"),g=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),D={class:"mix-body"},T={class:"mix-footer"},M="--",I={DEFAULT_ICON:g.DEFAULT_ICON,ACTIVE_ICON:g.ACTIVE_ICON,NAME_CN:"数值卡片",NAME_EN:"Value",ORDER:3},j={nameSize:14,valueSize:36,timeSize:12,radiusSize:8,bgColor:"#fff",titleColor:"#111",textColor:"#111"},R=[{name:"参数一",fv:"",object_id:""}],k=["name","fv","object_id"],q=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],L={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},U=1,$={DEFAULT:I,OPTIONS:j,DATA:R,PARAMS:k,SOURCE:q,ITEMS:U,COMMON:L},F=e.defineComponent(_(v({},$),{__name:"vlu",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const t=i,o=e.ref(C.dayjs().format("YYYY-MM-DD HH:mm:ss"));class z extends N.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),nameSize:this.getOptionValue("nameSize",14),valueSize:this.getOptionValue("valueSize",36),timeSize:this.getOptionValue("timeSize",12),radiusSize:this.getOptionValue("radiusSize",8)}}init(){var l;this.Style.value=this.extractStyles(),this.applyTheme(),(l=this.props.conf.data)!=null&&l.length||(this.props.conf.data=[{name:"参数一",fv:"",object_id:""}])}setSocketData(l){super.setSocketData(l),l&&l.datetime&&(o.value=l.datetime)}}const s=new z(t,"vlu");s.setupLifecycle();const a=s.getStyle(),n=t.conf,O=e.computed(()=>A.generateTitleStyle(t.conf.options));return(r,l)=>{var c,u,d,m,f,S;return 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(O.value)},e.toDisplayString(e.unref(n).caption||((d=(u=(c=e.unref(n))==null?void 0:c.data)==null?void 0:u[0])==null?void 0:d.name)),5),e.createElementVNode("div",D,[e.createElementVNode("div",{class:"body-value",style:e.normalizeStyle({fontSize:`${e.unref(a).valueSize}px`,color:e.unref(a).textColor})},e.toDisplayString(((S=(f=(m=e.unref(n))==null?void 0:m.data)==null?void 0:f[0])==null?void 0:S.value)||M),5)]),e.createElementVNode("div",T,[e.createElementVNode("div",{class:"footer-time",style:e.normalizeStyle({fontSize:`${e.unref(a).timeSize}px`,color:e.unref(a).titleColor})},e.toDisplayString(o.value),5)]),e.renderSlot(r.$slots,"default",{},void 0,!0)],4)}}})),Y=C._export_sfc(F,[["__scopeId","data-v-f284761a"]]);exports.default=Y;
@@ -1 +1 @@
1
- "use strict";var w=Object.defineProperty,v=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var d=(C,t,n)=>t in C?w(C,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):C[t]=n,g=(C,t)=>{for(var n in t||(t={}))b.call(t,n)&&d(C,n,t[n]);if(s)for(var n of s(t))_.call(t,n)&&d(C,n,t[n]);return C},u=(C,t)=>v(C,x(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue");require("html2canvas");const M=require("./element-resize-detector-DgDXXuXN.cjs"),y=require("./index-Bl0Sti1q.cjs"),f=require("./config-DbZfhrwE.cjs"),F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='18px'%20viewBox='0%200%2017%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e天气%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-807.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M817.945888,102.796609%20C819.683477,102.796609%20821.092089,104.205221%20821.092089,105.94281%20C821.092089,106.628082%20820.872999,107.262185%20820.501044,107.778896%20C822.196583,108.244456%20823.44069,109.818548%20823.44069,111.684342%20C823.44069,113.306186%20822.492183,114.753742%20821.051831,115.394536%20C820.713416,115.545093%20820.317026,115.392803%20820.16647,115.054388%20C820.015913,114.715973%20820.168202,114.319583%20820.506617,114.169026%20C821.464713,113.742782%20822.099373,112.774201%20822.099373,111.684342%20C822.099373,110.1861%20820.911369,108.976414%20819.451995,108.976414%20C819.031723,108.976414%20818.626762,109.07618%20818.260607,109.265341%20C817.879726,109.46211%20817.414554,109.255909%20817.304572,108.841551%20C816.799872,106.94008%20815.102249,105.597863%20813.147731,105.597863%20C810.772103,105.597863%20808.841317,107.563868%20808.841317,109.995048%20C808.841317,111.399401%20809.489548,112.691456%20810.568916,113.516983%20C810.863125,113.742002%20810.919215,114.162919%20810.694196,114.457127%20C810.469178,114.751336%20810.048261,114.807426%20809.754052,114.582408%20C808.345227,113.504903%20807.5,111.820195%20807.5,109.995048%20C807.5,106.828451%20810.025832,104.256546%20813.147731,104.256546%20C813.829302,104.256546%20814.486533,104.3802%20815.096693,104.608218%20C815.601039,103.529357%20816.696718,102.796609%20817.945888,102.796609%20Z%20M813.280439,107.176421%20C814.048868,107.176421%20814.770636,107.481714%20815.303171,108.014297%20C815.565067,108.276218%20815.565048,108.700855%20815.303127,108.962752%20C815.041206,109.224648%20814.616569,109.224629%20814.354672,108.962708%20C814.071197,108.679207%20813.689455,108.517738%20813.280439,108.517738%20C812.441385,108.517738%20811.761192,109.197931%20811.761192,110.036985%20C811.761192,110.446001%20811.922661,110.827743%20812.206162,111.111218%20C812.468083,111.373115%20812.468102,111.797752%20812.206206,112.059673%20C811.944309,112.321594%20811.519672,112.321613%20811.257751,112.059717%20C810.725168,111.527182%20810.419875,110.805414%20810.419875,110.036985%20C810.419875,108.457142%20811.700596,107.176421%20813.280439,107.176421%20Z%20M817.945888,104.137926%20C817.210393,104.137926%20816.567249,104.581189%20816.288327,105.226532%20C817.155696,105.815582%20817.856037,106.643608%20818.294581,107.628501%20L818.3271,107.70736%20C819.140827,107.532395%20819.750772,106.808824%20819.750772,105.94281%20C819.750772,104.94601%20818.942688,104.137926%20817.945888,104.137926%20Z%20M822.770031,105.657173%20C823.173193,105.657173%20823.5,105.98398%20823.5,106.387142%20C823.5,106.790304%20823.173193,107.117111%20822.770031,107.117111%20C822.36687,107.117111%20822.040063,106.790304%20822.040063,106.387142%20C822.040063,105.98398%20822.36687,105.657173%20822.770031,105.657173%20Z%20M822.040063,102.372314%20C822.443224,102.372314%20822.770031,102.699132%20822.770031,103.102283%20C822.770031,103.505445%20822.443224,103.832252%20822.040063,103.832252%20C821.636901,103.832252%20821.310094,103.505445%20821.310094,103.102283%20C821.310094,102.699132%20821.636901,102.372314%20822.040063,102.372314%20Z%20M814.740376,101.642346%20C815.143538,101.642346%20815.470345,101.969164%20815.470345,102.372314%20C815.470345,102.775465%20815.143538,103.102283%20814.740376,103.102283%20C814.337215,103.102283%20814.010408,102.775465%20814.010408,102.372314%20C814.010408,101.969164%20814.337215,101.642346%20814.740376,101.642346%20Z%20M818.755204,100.547393%20C819.158366,100.547393%20819.485173,100.874211%20819.485173,101.277361%20C819.485173,101.680512%20819.158366,102.00733%20818.755204,102.00733%20C818.352042,102.00733%20818.025235,101.680512%20818.025235,101.277361%20C818.025235,100.874211%20818.352042,100.547393%20818.755204,100.547393%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",I="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='18px'%20viewBox='0%200%2017%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e天气%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-807.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M817.945888,102.796609%20C819.683477,102.796609%20821.092089,104.205221%20821.092089,105.94281%20C821.092089,106.628082%20820.872999,107.262185%20820.501044,107.778896%20C822.196583,108.244456%20823.44069,109.818548%20823.44069,111.684342%20C823.44069,113.306186%20822.492183,114.753742%20821.051831,115.394536%20C820.713416,115.545093%20820.317026,115.392803%20820.16647,115.054388%20C820.015913,114.715973%20820.168202,114.319583%20820.506617,114.169026%20C821.464713,113.742782%20822.099373,112.774201%20822.099373,111.684342%20C822.099373,110.1861%20820.911369,108.976414%20819.451995,108.976414%20C819.031723,108.976414%20818.626762,109.07618%20818.260607,109.265341%20C817.879726,109.46211%20817.414554,109.255909%20817.304572,108.841551%20C816.799872,106.94008%20815.102249,105.597863%20813.147731,105.597863%20C810.772103,105.597863%20808.841317,107.563868%20808.841317,109.995048%20C808.841317,111.399401%20809.489548,112.691456%20810.568916,113.516983%20C810.863125,113.742002%20810.919215,114.162919%20810.694196,114.457127%20C810.469178,114.751336%20810.048261,114.807426%20809.754052,114.582408%20C808.345227,113.504903%20807.5,111.820195%20807.5,109.995048%20C807.5,106.828451%20810.025832,104.256546%20813.147731,104.256546%20C813.829302,104.256546%20814.486533,104.3802%20815.096693,104.608218%20C815.601039,103.529357%20816.696718,102.796609%20817.945888,102.796609%20Z%20M813.280439,107.176421%20C814.048868,107.176421%20814.770636,107.481714%20815.303171,108.014297%20C815.565067,108.276218%20815.565048,108.700855%20815.303127,108.962752%20C815.041206,109.224648%20814.616569,109.224629%20814.354672,108.962708%20C814.071197,108.679207%20813.689455,108.517738%20813.280439,108.517738%20C812.441385,108.517738%20811.761192,109.197931%20811.761192,110.036985%20C811.761192,110.446001%20811.922661,110.827743%20812.206162,111.111218%20C812.468083,111.373115%20812.468102,111.797752%20812.206206,112.059673%20C811.944309,112.321594%20811.519672,112.321613%20811.257751,112.059717%20C810.725168,111.527182%20810.419875,110.805414%20810.419875,110.036985%20C810.419875,108.457142%20811.700596,107.176421%20813.280439,107.176421%20Z%20M817.945888,104.137926%20C817.210393,104.137926%20816.567249,104.581189%20816.288327,105.226532%20C817.155696,105.815582%20817.856037,106.643608%20818.294581,107.628501%20L818.3271,107.70736%20C819.140827,107.532395%20819.750772,106.808824%20819.750772,105.94281%20C819.750772,104.94601%20818.942688,104.137926%20817.945888,104.137926%20Z%20M822.770031,105.657173%20C823.173193,105.657173%20823.5,105.98398%20823.5,106.387142%20C823.5,106.790304%20823.173193,107.117111%20822.770031,107.117111%20C822.36687,107.117111%20822.040063,106.790304%20822.040063,106.387142%20C822.040063,105.98398%20822.36687,105.657173%20822.770031,105.657173%20Z%20M822.040063,102.372314%20C822.443224,102.372314%20822.770031,102.699132%20822.770031,103.102283%20C822.770031,103.505445%20822.443224,103.832252%20822.040063,103.832252%20C821.636901,103.832252%20821.310094,103.505445%20821.310094,103.102283%20C821.310094,102.699132%20821.636901,102.372314%20822.040063,102.372314%20Z%20M814.740376,101.642346%20C815.143538,101.642346%20815.470345,101.969164%20815.470345,102.372314%20C815.470345,102.775465%20815.143538,103.102283%20814.740376,103.102283%20C814.337215,103.102283%20814.010408,102.775465%20814.010408,102.372314%20C814.010408,101.969164%20814.337215,101.642346%20814.740376,101.642346%20Z%20M818.755204,100.547393%20C819.158366,100.547393%20819.485173,100.874211%20819.485173,101.277361%20C819.485173,101.680512%20819.158366,102.00733%20818.755204,102.00733%20C818.352042,102.00733%20818.025235,101.680512%20818.025235,101.277361%20C818.025235,100.874211%20818.352042,100.547393%20818.755204,100.547393%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",S={class:"mix-component"},Z=["src"],k={DEFAULT_ICON:F,ACTIVE_ICON:I,NAME_CN:"天气",NAME_EN:"Weather",ORDER:4},E={transparent:{value:!1,type:"checkbox",label:"component.options.transparent"},bgColor:"#fff",textColor:{value:"#00B0F0",type:"color",label:"component.options.textColor",hideAlpha:!0},radiusSize:8,bgImg:{value:"",type:"image",label:"component.customized.bgImg"}},N={DEFAULT:k,OPTIONS:E,COMMON:{}},z=r.defineComponent(u(g({},N),{__name:"weather",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(C){const t=C;class n extends M.BaseComponent{extractStyles(){const{options:e}=this.props.conf,c=(a,h)=>a==null?h:typeof a=="object"&&"value"in a?a.value:a;return{bgColor:c(e==null?void 0:e.bgColor,"#fff"),textColor:c(e==null?void 0:e.textColor,"#00B0F0"),radiusSize:c(e==null?void 0:e.radiusSize,8),bgImg:c(e==null?void 0:e.bgImg,""),transparent:c(e==null?void 0:e.transparent,!1)}}}const i=new n(t,"weather");i.setupLifecycle();const l=i.getStyle(),m=o=>o?o.startsWith(f.FILE_URL)||o.startsWith("http")?o:f.FILE_URL+o:"",p=r.computed(()=>{var o,e;return((e=(o=l.value)==null?void 0:o.textColor)==null?void 0:e.replace("#",""))||"00B0F0"});return(o,e)=>(r.openBlock(),r.createElementBlock("div",S,[r.createElementVNode("div",{class:"weather-wrap",style:r.normalizeStyle({backgroundColor:r.unref(l).transparent?"transparent":r.unref(l).bgColor,borderRadius:`${r.unref(l).radiusSize}px`,backgroundImage:r.unref(l).bgImg?`url(${m(r.unref(l).bgImg)})`:""})},[r.createElementVNode("iframe",{width:"200",scrolling:"no",height:"60",frameborder:"0",allowtransparency:"true",src:`https://i.tianqi.com?c=code&id=12&color=%23${p.value}&icon=1&num=1&site=15&align=center`},null,8,Z)],4),r.renderSlot(o.$slots,"default",{},void 0,!0)]))}})),L=y._export_sfc(z,[["__scopeId","data-v-0eacb83f"]]);exports.default=L;
1
+ "use strict";var w=Object.defineProperty,v=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var d=(C,t,n)=>t in C?w(C,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):C[t]=n,g=(C,t)=>{for(var n in t||(t={}))b.call(t,n)&&d(C,n,t[n]);if(s)for(var n of s(t))_.call(t,n)&&d(C,n,t[n]);return C},u=(C,t)=>v(C,x(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue");require("html2canvas");const M=require("./element-resize-detector-DYs3pJPp.cjs"),y=require("./index-ZwyqrmaH.cjs"),f=require("./config-DbZfhrwE.cjs"),F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='18px'%20viewBox='0%200%2017%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e天气%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-807.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M817.945888,102.796609%20C819.683477,102.796609%20821.092089,104.205221%20821.092089,105.94281%20C821.092089,106.628082%20820.872999,107.262185%20820.501044,107.778896%20C822.196583,108.244456%20823.44069,109.818548%20823.44069,111.684342%20C823.44069,113.306186%20822.492183,114.753742%20821.051831,115.394536%20C820.713416,115.545093%20820.317026,115.392803%20820.16647,115.054388%20C820.015913,114.715973%20820.168202,114.319583%20820.506617,114.169026%20C821.464713,113.742782%20822.099373,112.774201%20822.099373,111.684342%20C822.099373,110.1861%20820.911369,108.976414%20819.451995,108.976414%20C819.031723,108.976414%20818.626762,109.07618%20818.260607,109.265341%20C817.879726,109.46211%20817.414554,109.255909%20817.304572,108.841551%20C816.799872,106.94008%20815.102249,105.597863%20813.147731,105.597863%20C810.772103,105.597863%20808.841317,107.563868%20808.841317,109.995048%20C808.841317,111.399401%20809.489548,112.691456%20810.568916,113.516983%20C810.863125,113.742002%20810.919215,114.162919%20810.694196,114.457127%20C810.469178,114.751336%20810.048261,114.807426%20809.754052,114.582408%20C808.345227,113.504903%20807.5,111.820195%20807.5,109.995048%20C807.5,106.828451%20810.025832,104.256546%20813.147731,104.256546%20C813.829302,104.256546%20814.486533,104.3802%20815.096693,104.608218%20C815.601039,103.529357%20816.696718,102.796609%20817.945888,102.796609%20Z%20M813.280439,107.176421%20C814.048868,107.176421%20814.770636,107.481714%20815.303171,108.014297%20C815.565067,108.276218%20815.565048,108.700855%20815.303127,108.962752%20C815.041206,109.224648%20814.616569,109.224629%20814.354672,108.962708%20C814.071197,108.679207%20813.689455,108.517738%20813.280439,108.517738%20C812.441385,108.517738%20811.761192,109.197931%20811.761192,110.036985%20C811.761192,110.446001%20811.922661,110.827743%20812.206162,111.111218%20C812.468083,111.373115%20812.468102,111.797752%20812.206206,112.059673%20C811.944309,112.321594%20811.519672,112.321613%20811.257751,112.059717%20C810.725168,111.527182%20810.419875,110.805414%20810.419875,110.036985%20C810.419875,108.457142%20811.700596,107.176421%20813.280439,107.176421%20Z%20M817.945888,104.137926%20C817.210393,104.137926%20816.567249,104.581189%20816.288327,105.226532%20C817.155696,105.815582%20817.856037,106.643608%20818.294581,107.628501%20L818.3271,107.70736%20C819.140827,107.532395%20819.750772,106.808824%20819.750772,105.94281%20C819.750772,104.94601%20818.942688,104.137926%20817.945888,104.137926%20Z%20M822.770031,105.657173%20C823.173193,105.657173%20823.5,105.98398%20823.5,106.387142%20C823.5,106.790304%20823.173193,107.117111%20822.770031,107.117111%20C822.36687,107.117111%20822.040063,106.790304%20822.040063,106.387142%20C822.040063,105.98398%20822.36687,105.657173%20822.770031,105.657173%20Z%20M822.040063,102.372314%20C822.443224,102.372314%20822.770031,102.699132%20822.770031,103.102283%20C822.770031,103.505445%20822.443224,103.832252%20822.040063,103.832252%20C821.636901,103.832252%20821.310094,103.505445%20821.310094,103.102283%20C821.310094,102.699132%20821.636901,102.372314%20822.040063,102.372314%20Z%20M814.740376,101.642346%20C815.143538,101.642346%20815.470345,101.969164%20815.470345,102.372314%20C815.470345,102.775465%20815.143538,103.102283%20814.740376,103.102283%20C814.337215,103.102283%20814.010408,102.775465%20814.010408,102.372314%20C814.010408,101.969164%20814.337215,101.642346%20814.740376,101.642346%20Z%20M818.755204,100.547393%20C819.158366,100.547393%20819.485173,100.874211%20819.485173,101.277361%20C819.485173,101.680512%20819.158366,102.00733%20818.755204,102.00733%20C818.352042,102.00733%20818.025235,101.680512%20818.025235,101.277361%20C818.025235,100.874211%20818.352042,100.547393%20818.755204,100.547393%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",I="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='18px'%20viewBox='0%200%2017%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e天气%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-807.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M817.945888,102.796609%20C819.683477,102.796609%20821.092089,104.205221%20821.092089,105.94281%20C821.092089,106.628082%20820.872999,107.262185%20820.501044,107.778896%20C822.196583,108.244456%20823.44069,109.818548%20823.44069,111.684342%20C823.44069,113.306186%20822.492183,114.753742%20821.051831,115.394536%20C820.713416,115.545093%20820.317026,115.392803%20820.16647,115.054388%20C820.015913,114.715973%20820.168202,114.319583%20820.506617,114.169026%20C821.464713,113.742782%20822.099373,112.774201%20822.099373,111.684342%20C822.099373,110.1861%20820.911369,108.976414%20819.451995,108.976414%20C819.031723,108.976414%20818.626762,109.07618%20818.260607,109.265341%20C817.879726,109.46211%20817.414554,109.255909%20817.304572,108.841551%20C816.799872,106.94008%20815.102249,105.597863%20813.147731,105.597863%20C810.772103,105.597863%20808.841317,107.563868%20808.841317,109.995048%20C808.841317,111.399401%20809.489548,112.691456%20810.568916,113.516983%20C810.863125,113.742002%20810.919215,114.162919%20810.694196,114.457127%20C810.469178,114.751336%20810.048261,114.807426%20809.754052,114.582408%20C808.345227,113.504903%20807.5,111.820195%20807.5,109.995048%20C807.5,106.828451%20810.025832,104.256546%20813.147731,104.256546%20C813.829302,104.256546%20814.486533,104.3802%20815.096693,104.608218%20C815.601039,103.529357%20816.696718,102.796609%20817.945888,102.796609%20Z%20M813.280439,107.176421%20C814.048868,107.176421%20814.770636,107.481714%20815.303171,108.014297%20C815.565067,108.276218%20815.565048,108.700855%20815.303127,108.962752%20C815.041206,109.224648%20814.616569,109.224629%20814.354672,108.962708%20C814.071197,108.679207%20813.689455,108.517738%20813.280439,108.517738%20C812.441385,108.517738%20811.761192,109.197931%20811.761192,110.036985%20C811.761192,110.446001%20811.922661,110.827743%20812.206162,111.111218%20C812.468083,111.373115%20812.468102,111.797752%20812.206206,112.059673%20C811.944309,112.321594%20811.519672,112.321613%20811.257751,112.059717%20C810.725168,111.527182%20810.419875,110.805414%20810.419875,110.036985%20C810.419875,108.457142%20811.700596,107.176421%20813.280439,107.176421%20Z%20M817.945888,104.137926%20C817.210393,104.137926%20816.567249,104.581189%20816.288327,105.226532%20C817.155696,105.815582%20817.856037,106.643608%20818.294581,107.628501%20L818.3271,107.70736%20C819.140827,107.532395%20819.750772,106.808824%20819.750772,105.94281%20C819.750772,104.94601%20818.942688,104.137926%20817.945888,104.137926%20Z%20M822.770031,105.657173%20C823.173193,105.657173%20823.5,105.98398%20823.5,106.387142%20C823.5,106.790304%20823.173193,107.117111%20822.770031,107.117111%20C822.36687,107.117111%20822.040063,106.790304%20822.040063,106.387142%20C822.040063,105.98398%20822.36687,105.657173%20822.770031,105.657173%20Z%20M822.040063,102.372314%20C822.443224,102.372314%20822.770031,102.699132%20822.770031,103.102283%20C822.770031,103.505445%20822.443224,103.832252%20822.040063,103.832252%20C821.636901,103.832252%20821.310094,103.505445%20821.310094,103.102283%20C821.310094,102.699132%20821.636901,102.372314%20822.040063,102.372314%20Z%20M814.740376,101.642346%20C815.143538,101.642346%20815.470345,101.969164%20815.470345,102.372314%20C815.470345,102.775465%20815.143538,103.102283%20814.740376,103.102283%20C814.337215,103.102283%20814.010408,102.775465%20814.010408,102.372314%20C814.010408,101.969164%20814.337215,101.642346%20814.740376,101.642346%20Z%20M818.755204,100.547393%20C819.158366,100.547393%20819.485173,100.874211%20819.485173,101.277361%20C819.485173,101.680512%20819.158366,102.00733%20818.755204,102.00733%20C818.352042,102.00733%20818.025235,101.680512%20818.025235,101.277361%20C818.025235,100.874211%20818.352042,100.547393%20818.755204,100.547393%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",S={class:"mix-component"},Z=["src"],k={DEFAULT_ICON:F,ACTIVE_ICON:I,NAME_CN:"天气",NAME_EN:"Weather",ORDER:4},E={transparent:{value:!1,type:"checkbox",label:"component.options.transparent"},bgColor:"#fff",textColor:{value:"#00B0F0",type:"color",label:"component.options.textColor",hideAlpha:!0},radiusSize:8,bgImg:{value:"",type:"image",label:"component.customized.bgImg"}},N={DEFAULT:k,OPTIONS:E,COMMON:{}},z=r.defineComponent(u(g({},N),{__name:"weather",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(C){const t=C;class n extends M.BaseComponent{extractStyles(){const{options:e}=this.props.conf,c=(a,h)=>a==null?h:typeof a=="object"&&"value"in a?a.value:a;return{bgColor:c(e==null?void 0:e.bgColor,"#fff"),textColor:c(e==null?void 0:e.textColor,"#00B0F0"),radiusSize:c(e==null?void 0:e.radiusSize,8),bgImg:c(e==null?void 0:e.bgImg,""),transparent:c(e==null?void 0:e.transparent,!1)}}}const i=new n(t,"weather");i.setupLifecycle();const l=i.getStyle(),m=o=>o?o.startsWith(f.FILE_URL)||o.startsWith("http")?o:f.FILE_URL+o:"",p=r.computed(()=>{var o,e;return((e=(o=l.value)==null?void 0:o.textColor)==null?void 0:e.replace("#",""))||"00B0F0"});return(o,e)=>(r.openBlock(),r.createElementBlock("div",S,[r.createElementVNode("div",{class:"weather-wrap",style:r.normalizeStyle({backgroundColor:r.unref(l).transparent?"transparent":r.unref(l).bgColor,borderRadius:`${r.unref(l).radiusSize}px`,backgroundImage:r.unref(l).bgImg?`url(${m(r.unref(l).bgImg)})`:""})},[r.createElementVNode("iframe",{width:"200",scrolling:"no",height:"60",frameborder:"0",allowtransparency:"true",src:`https://i.tianqi.com?c=code&id=12&color=%23${p.value}&icon=1&num=1&site=15&align=center`},null,8,Z)],4),r.renderSlot(o.$slots,"default",{},void 0,!0)]))}})),L=y._export_sfc(z,[["__scopeId","data-v-0eacb83f"]]);exports.default=L;
@@ -12,8 +12,8 @@ var d = (C, t, r) => t in C ? x(C, t, { enumerable: !0, configurable: !0, writab
12
12
  }, m = (C, t) => v(C, _(t));
13
13
  import { defineComponent as y, computed as F, openBlock as I, createElementBlock as Z, createElementVNode as f, normalizeStyle as k, unref as s, renderSlot as S } from "vue";
14
14
  import "html2canvas";
15
- import { B as E } from "./element-resize-detector-TyLBpj37.js";
16
- import { _ as B } from "./index-6FluFNdL.js";
15
+ import { B as E } from "./element-resize-detector-BCRzpPES.js";
16
+ import { _ as B } from "./index-LgTfdmT4.js";
17
17
  import { F as p } from "./config-BrMFHyZe.js";
18
18
  const N = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='18px'%20viewBox='0%200%2017%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e天气%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-807.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M817.945888,102.796609%20C819.683477,102.796609%20821.092089,104.205221%20821.092089,105.94281%20C821.092089,106.628082%20820.872999,107.262185%20820.501044,107.778896%20C822.196583,108.244456%20823.44069,109.818548%20823.44069,111.684342%20C823.44069,113.306186%20822.492183,114.753742%20821.051831,115.394536%20C820.713416,115.545093%20820.317026,115.392803%20820.16647,115.054388%20C820.015913,114.715973%20820.168202,114.319583%20820.506617,114.169026%20C821.464713,113.742782%20822.099373,112.774201%20822.099373,111.684342%20C822.099373,110.1861%20820.911369,108.976414%20819.451995,108.976414%20C819.031723,108.976414%20818.626762,109.07618%20818.260607,109.265341%20C817.879726,109.46211%20817.414554,109.255909%20817.304572,108.841551%20C816.799872,106.94008%20815.102249,105.597863%20813.147731,105.597863%20C810.772103,105.597863%20808.841317,107.563868%20808.841317,109.995048%20C808.841317,111.399401%20809.489548,112.691456%20810.568916,113.516983%20C810.863125,113.742002%20810.919215,114.162919%20810.694196,114.457127%20C810.469178,114.751336%20810.048261,114.807426%20809.754052,114.582408%20C808.345227,113.504903%20807.5,111.820195%20807.5,109.995048%20C807.5,106.828451%20810.025832,104.256546%20813.147731,104.256546%20C813.829302,104.256546%20814.486533,104.3802%20815.096693,104.608218%20C815.601039,103.529357%20816.696718,102.796609%20817.945888,102.796609%20Z%20M813.280439,107.176421%20C814.048868,107.176421%20814.770636,107.481714%20815.303171,108.014297%20C815.565067,108.276218%20815.565048,108.700855%20815.303127,108.962752%20C815.041206,109.224648%20814.616569,109.224629%20814.354672,108.962708%20C814.071197,108.679207%20813.689455,108.517738%20813.280439,108.517738%20C812.441385,108.517738%20811.761192,109.197931%20811.761192,110.036985%20C811.761192,110.446001%20811.922661,110.827743%20812.206162,111.111218%20C812.468083,111.373115%20812.468102,111.797752%20812.206206,112.059673%20C811.944309,112.321594%20811.519672,112.321613%20811.257751,112.059717%20C810.725168,111.527182%20810.419875,110.805414%20810.419875,110.036985%20C810.419875,108.457142%20811.700596,107.176421%20813.280439,107.176421%20Z%20M817.945888,104.137926%20C817.210393,104.137926%20816.567249,104.581189%20816.288327,105.226532%20C817.155696,105.815582%20817.856037,106.643608%20818.294581,107.628501%20L818.3271,107.70736%20C819.140827,107.532395%20819.750772,106.808824%20819.750772,105.94281%20C819.750772,104.94601%20818.942688,104.137926%20817.945888,104.137926%20Z%20M822.770031,105.657173%20C823.173193,105.657173%20823.5,105.98398%20823.5,106.387142%20C823.5,106.790304%20823.173193,107.117111%20822.770031,107.117111%20C822.36687,107.117111%20822.040063,106.790304%20822.040063,106.387142%20C822.040063,105.98398%20822.36687,105.657173%20822.770031,105.657173%20Z%20M822.040063,102.372314%20C822.443224,102.372314%20822.770031,102.699132%20822.770031,103.102283%20C822.770031,103.505445%20822.443224,103.832252%20822.040063,103.832252%20C821.636901,103.832252%20821.310094,103.505445%20821.310094,103.102283%20C821.310094,102.699132%20821.636901,102.372314%20822.040063,102.372314%20Z%20M814.740376,101.642346%20C815.143538,101.642346%20815.470345,101.969164%20815.470345,102.372314%20C815.470345,102.775465%20815.143538,103.102283%20814.740376,103.102283%20C814.337215,103.102283%20814.010408,102.775465%20814.010408,102.372314%20C814.010408,101.969164%20814.337215,101.642346%20814.740376,101.642346%20Z%20M818.755204,100.547393%20C819.158366,100.547393%20819.485173,100.874211%20819.485173,101.277361%20C819.485173,101.680512%20819.158366,102.00733%20818.755204,102.00733%20C818.352042,102.00733%20818.025235,101.680512%20818.025235,101.277361%20C818.025235,100.874211%20818.352042,100.547393%20818.755204,100.547393%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", z = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='18px'%20viewBox='0%200%2017%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e天气%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-807.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M817.945888,102.796609%20C819.683477,102.796609%20821.092089,104.205221%20821.092089,105.94281%20C821.092089,106.628082%20820.872999,107.262185%20820.501044,107.778896%20C822.196583,108.244456%20823.44069,109.818548%20823.44069,111.684342%20C823.44069,113.306186%20822.492183,114.753742%20821.051831,115.394536%20C820.713416,115.545093%20820.317026,115.392803%20820.16647,115.054388%20C820.015913,114.715973%20820.168202,114.319583%20820.506617,114.169026%20C821.464713,113.742782%20822.099373,112.774201%20822.099373,111.684342%20C822.099373,110.1861%20820.911369,108.976414%20819.451995,108.976414%20C819.031723,108.976414%20818.626762,109.07618%20818.260607,109.265341%20C817.879726,109.46211%20817.414554,109.255909%20817.304572,108.841551%20C816.799872,106.94008%20815.102249,105.597863%20813.147731,105.597863%20C810.772103,105.597863%20808.841317,107.563868%20808.841317,109.995048%20C808.841317,111.399401%20809.489548,112.691456%20810.568916,113.516983%20C810.863125,113.742002%20810.919215,114.162919%20810.694196,114.457127%20C810.469178,114.751336%20810.048261,114.807426%20809.754052,114.582408%20C808.345227,113.504903%20807.5,111.820195%20807.5,109.995048%20C807.5,106.828451%20810.025832,104.256546%20813.147731,104.256546%20C813.829302,104.256546%20814.486533,104.3802%20815.096693,104.608218%20C815.601039,103.529357%20816.696718,102.796609%20817.945888,102.796609%20Z%20M813.280439,107.176421%20C814.048868,107.176421%20814.770636,107.481714%20815.303171,108.014297%20C815.565067,108.276218%20815.565048,108.700855%20815.303127,108.962752%20C815.041206,109.224648%20814.616569,109.224629%20814.354672,108.962708%20C814.071197,108.679207%20813.689455,108.517738%20813.280439,108.517738%20C812.441385,108.517738%20811.761192,109.197931%20811.761192,110.036985%20C811.761192,110.446001%20811.922661,110.827743%20812.206162,111.111218%20C812.468083,111.373115%20812.468102,111.797752%20812.206206,112.059673%20C811.944309,112.321594%20811.519672,112.321613%20811.257751,112.059717%20C810.725168,111.527182%20810.419875,110.805414%20810.419875,110.036985%20C810.419875,108.457142%20811.700596,107.176421%20813.280439,107.176421%20Z%20M817.945888,104.137926%20C817.210393,104.137926%20816.567249,104.581189%20816.288327,105.226532%20C817.155696,105.815582%20817.856037,106.643608%20818.294581,107.628501%20L818.3271,107.70736%20C819.140827,107.532395%20819.750772,106.808824%20819.750772,105.94281%20C819.750772,104.94601%20818.942688,104.137926%20817.945888,104.137926%20Z%20M822.770031,105.657173%20C823.173193,105.657173%20823.5,105.98398%20823.5,106.387142%20C823.5,106.790304%20823.173193,107.117111%20822.770031,107.117111%20C822.36687,107.117111%20822.040063,106.790304%20822.040063,106.387142%20C822.040063,105.98398%20822.36687,105.657173%20822.770031,105.657173%20Z%20M822.040063,102.372314%20C822.443224,102.372314%20822.770031,102.699132%20822.770031,103.102283%20C822.770031,103.505445%20822.443224,103.832252%20822.040063,103.832252%20C821.636901,103.832252%20821.310094,103.505445%20821.310094,103.102283%20C821.310094,102.699132%20821.636901,102.372314%20822.040063,102.372314%20Z%20M814.740376,101.642346%20C815.143538,101.642346%20815.470345,101.969164%20815.470345,102.372314%20C815.470345,102.775465%20815.143538,103.102283%20814.740376,103.102283%20C814.337215,103.102283%20814.010408,102.775465%20814.010408,102.372314%20C814.010408,101.969164%20814.337215,101.642346%20814.740376,101.642346%20Z%20M818.755204,100.547393%20C819.158366,100.547393%20819.485173,100.874211%20819.485173,101.277361%20C819.485173,101.680512%20819.158366,102.00733%20818.755204,102.00733%20C818.352042,102.00733%20818.025235,101.680512%20818.025235,101.277361%20C818.025235,100.874211%20818.352042,100.547393%20818.755204,100.547393%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", O = { class: "mix-component" }, L = ["src"], A = {
19
19
  DEFAULT_ICON: N,
@@ -11,9 +11,9 @@ var hn = (V, W, o) => W in V ? yn(V, W, { enumerable: !0, configurable: !0, writ
11
11
  return V;
12
12
  }, dn = (V, W) => Mn(V, Sn(W));
13
13
  import { defineComponent as Cn, ref as Tn, inject as Pn, getCurrentInstance as In, computed as Ln, watchEffect as zn, openBlock as Fn, createElementBlock as Rn, normalizeStyle as gn, unref as $, createElementVNode as an, toDisplayString as Un, renderSlot as On, nextTick as Bn } from "vue";
14
- import { B as Kn, e as Wn, h as on, f as bn, u as Vn, p as Xn, j as Yn } from "./element-resize-detector-TyLBpj37.js";
14
+ import { B as Kn, e as Wn, h as on, f as bn, u as Vn, p as Xn, j as Yn } from "./element-resize-detector-BCRzpPES.js";
15
15
  import { g as Hn } from "./titleStyle-BT5GlpAb.js";
16
- import { b as Gn, _ as Jn } from "./index-6FluFNdL.js";
16
+ import { c as Gn, _ as Jn } from "./index-LgTfdmT4.js";
17
17
  import { A as Zn, D as Qn } from "./ele-aqi-icon-DsYfU5th.js";
18
18
  import { i as qn } from "./install-oGjJ0_bF.js";
19
19
  import { u as wn, i as $n, a as jn } from "./installCanvasRenderer-CLT2hquJ.js";
@@ -1 +1 @@
1
- "use strict";var Mn=Object.defineProperty,An=Object.defineProperties;var Nn=Object.getOwnPropertyDescriptors;var cn=Object.getOwnPropertySymbols;var Cn=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable;var hn=(X,b,o)=>b in X?Mn(X,b,{enumerable:!0,configurable:!0,writable:!0,value:o}):X[b]=o,dn=(X,b)=>{for(var o in b||(b={}))Cn.call(b,o)&&hn(X,o,b[o]);if(cn)for(var o of cn(b))Tn.call(b,o)&&hn(X,o,b[o]);return X},mn=(X,b)=>An(X,Nn(b));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("vue"),Q=require("./element-resize-detector-DgDXXuXN.cjs"),In=require("./titleStyle-NSnz6cUg.cjs"),xn=require("./index-Bl0Sti1q.cjs"),gn=require("./ele-aqi-icon-BMm9WgFH.cjs"),Pn=require("./install-DIlB2q7w.cjs"),on=require("./installCanvasRenderer-CyhM1Qpl.cjs"),zn=require("./install-C8buXQPI.cjs"),Ln=require("./install-CIT6k8Ga.cjs"),Rn=require("./install-z6wShIZI.cjs"),Fn=require("./install-CYwVETsi.cjs"),Un=require("./universalTransition-CIN_u2Cu.cjs"),pn=require("./echarts-BB8O2KSA.cjs");var k={exports:{}},On=k.exports,En;function Bn(){return En||(En=1,(function(X,b){(function(f,n){X.exports=n()})(On,function(){return(function(o){var f={};function n(t){if(f[t])return f[t].exports;var C=f[t]={exports:{},id:t,loaded:!1};return o[t].call(C.exports,C,C.exports,n),C.loaded=!0,C.exports}return n.m=o,n.c=f,n.p="",n(0)})([(function(o,f,n){var t;t=function(C){return{clustering:n(1),regression:n(5),statistics:n(6),histogram:n(15),transform:{regression:n(18),histogram:n(21),clustering:n(22)}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(2),A=m.dataPreprocess,E=m.normalizeDimensions,c=n(3),e=n(4),g=c.size,D=c.sumOfColumn,i=c.sum,y=c.zeros,e=n(4),l=e.isNumber,v=Math.pow,a={SINGLE:"single",MULTIPLE:"multiple"};function h(x,S,M){for(var z=y(x.length,2),P=d(S,R(x,M.dimensions)),N=!0,L,I,U,O;N;){N=!1;for(var T=0;T<x.length;T++){L=1/0,I=-1;for(var W=0;W<S;W++)U=p(x[T],P[W],M),U<L&&(L=U,I=W);z[T][0]!==I&&(N=!0),z[T][0]=I,z[T][1]=L}for(var T=0;T<S;T++){O=[];for(var W=0;W<z.length;W++)z[W][0]===T&&O.push(x[W]);P[T]=u(O,M)}}var w={centroids:P,clusterAssigned:z};return w}function u(x,S){for(var M=[],z,P,N=0;N<S.dimensions.length;N++){var L=S.dimensions[N];z=0;for(var I=0;I<x.length;I++)z+=x[I][L];P=z/x.length,M.push(P)}return M}function r(x,S,M){var z=(l(S)?{clusterCount:S,stepByStep:M}:S)||{clusterCount:2},P=z.clusterCount;if(P<2)return;var N=F(x,z),L=N.outputType===a.SINGLE,I=A(x,{dimensions:N.dimensions}),U=y(I.length,2),O,T,W;function w(V,J){U[V][1]=J}function q(V){return U[V][1]}if(L){O=[];var un=N.outputClusterIndexDimension;T=function(V,J){O[V][un]=J},W=function(V){return O[V][un]};for(var H=0;H<I.length;H++)O.push(I[H].slice()),w(H,0),T(H,0)}else T=function(V,J){U[V][0]=J},W=function(V){return U[V][0]};for(var ln=u(I,N),$=[ln],H=0;H<I.length;H++){var Sn=p(I[H],ln,N);w(H,Sn)}var _,nn,rn,j,en,tn,vn=1,G={data:O,centroids:$,isEnd:!1};L||(G.clusterAssment=U);function fn(){if(vn<P){_=1/0;for(var V,J,Z,Y=0;Y<$.length;Y++){nn=[],rn=[];for(var B=0;B<I.length;B++)W(B)===Y?nn.push(I[B]):rn.push(q(B));j=h(nn,2,N),en=D(j.clusterAssigned,1),tn=i(rn),en+tn<_&&(_=tn+en,V=Y,J=j.centroids,Z=j.clusterAssigned)}for(var B=0;B<Z.length;B++)Z[B][0]===0?Z[B][0]=V:Z[B][0]===1&&(Z[B][0]=$.length);$[V]=J[0],$.push(J[1]);for(var B=0,Y=0;B<I.length&&Y<Z.length;B++)W(B)===V&&(T(B,Z[Y][0]),w(B,Z[Y++][1]));var an=[];if(!L){for(var B=0;B<$.length;B++){an[B]=[];for(var Y=0;Y<I.length;Y++)W(Y)===B&&an[B].push(I[Y])}G.pointsInCluster=an}vn++}else G.isEnd=!0}if(z.stepByStep)G.next=function(){return fn(),s(G,N),G};else for(;fn(),!G.isEnd;);return s(G,N),G}function s(x,S){var M=S.outputCentroidDimensions;if(!(S.outputType!==a.SINGLE||M==null))for(var z=x.data,P=x.centroids,N=0;N<z.length;N++)for(var L=z[N],I=L[S.outputClusterIndexDimension],U=P[I],O=Math.min(U.length,M.length),T=0;T<O;T++)L[M[T]]=U[T]}function d(x,S){for(var M=y(x,S.length),z=0;z<S.length;z++)for(var P=S[z],N=0;N<x;N++)M[N][z]=P.min+P.span*Math.random();return M}function p(x,S,M){for(var z=0,P=M.dimensions,N=M.rawExtents,L=0;L<P.length;L++){var I=N[L].span;if(I){var U=P[L],O=(x[U]-S[L])/I;z+=v(O,2)}}return z}function F(x,S){var M=g(x);if(M.length<1)throw new Error("The input data of clustering should be two-dimension array.");for(var z=M[1],P=[],N=0;N<z;N++)P.push(N);var L=E(S.dimensions,P),I=S.outputType||a.MULTIPLE,U=S.outputClusterIndexDimension;if(I===a.SINGLE&&!e.isNumber(U))throw new Error("outputClusterIndexDimension is required as a number.");var O=R(x,L);return{dimensions:L,rawExtents:O,outputType:I,outputClusterIndexDimension:U,outputCentroidDimensions:S.outputCentroidDimensions}}function R(x,S){for(var M=[],z=S.length,P=0;P<z;P++)M.push({min:1/0,max:-1/0});for(var P=0;P<x.length;P++)for(var N=x[P],L=0;L<z;L++){var I=M[L],U=N[S[L]];I.min>U&&(I.min=U),I.max<U&&(I.max=U)}for(var P=0;P<z;P++)M[P].span=M[P].max-M[P].min;return M}return{OutputType:a,hierarchicalKMeans:r}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(3),A=m.isArray,E=m.size,c=n(4),g=c.isNumber;function D(e,l){return typeof e=="number"?[e]:e==null?l:e}function i(e,l){l=l||{};var v=l.dimensions,a={};if(v!=null)for(var h=0;h<v.length;h++)a[v[h]]=!0;var u=l.toOneDimensionArray?v?v[0]:0:null;function r(x){return!v||a.hasOwnProperty(x)}if(!A(e))throw new Error("Invalid data type, you should input an array");var s=[],d=E(e);if(d.length===1)for(var h=0;h<d[0];h++){var p=e[h];g(p)&&s.push(p)}else if(d.length===2)for(var h=0;h<d[0];h++){for(var F=!0,p=e[h],R=0;R<d[1];R++)r(R)&&!g(p[R])&&(F=!1);F&&s.push(u!=null?p[u]:p)}return s}function y(e){var l=e.toString(),v=l.indexOf(".");return v<0?0:l.length-1-v}return{normalizeDimensions:D,dataPreprocess:i,getPrecision:y}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=Object.prototype.toString,A=Array.prototype,E=A.map;function c(a){for(var h=[];g(a);)h.push(a.length),a=a[0];return h}function g(a){return m.call(a)==="[object Array]"}function D(a,h){for(var u=[],r=0;r<a;r++){u[r]=[];for(var s=0;s<h;s++)u[r][s]=0}return u}function i(a){for(var h=0,u=0;u<a.length;u++)h+=a[u];return h}function y(a,h){for(var u=0,r=0;r<a.length;r++)u+=a[r][h];return u}function e(a,h){return a>h?1:a<h?-1:a===h?0:NaN}function l(a,h,u,r){for(u==null&&(u=0),r==null&&(r=a.length);u<r;){var s=Math.floor((u+r)/2),d=e(a[s],h);if(d>0)r=s;else if(d<0)u=s+1;else return s+1}return u}function v(a,h,u){if(a&&h){if(a.map&&a.map===E)return a.map(h,u);for(var r=[],s=0,d=a.length;s<d;s++)r.push(h.call(u,a[s],s,a));return r}}return{size:c,isArray:g,zeros:D,sum:i,sumOfColumn:y,ascending:e,bisect:l,map:v}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){function m(c){return c=c===null?NaN:+c,typeof c=="number"&&!isNaN(c)}function A(c){return isFinite(c)&&c===Math.round(c)}function E(c){if(c===0)return 0;var g=Math.floor(Math.log(c)/Math.LN10);return c/Math.pow(10,g)>=10&&g++,g}return{isNumber:m,isInteger:A,quantityExponent:E}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(2),A=m.dataPreprocess,E=m.normalizeDimensions,c={linear:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0,u=0,r=i.length,s=0;s<r;s++){var d=i[s];v+=d[e],a+=d[l],h+=d[e]*d[l],u+=d[e]*d[e]}for(var p=(r*h-v*a)/(r*u-v*v),F=a/r-p*v/r,R=[],x=0;x<i.length;x++){var d=i[x],S=d.slice();S[e]=d[e],S[l]=p*d[e]+F,R.push(S)}var M="y = "+Math.round(p*100)/100+"x + "+Math.round(F*100)/100;return{points:R,parameter:{gradient:p,intercept:F},expression:M}},linearThroughOrigin:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0;h<i.length;h++){var u=i[h];v+=u[e]*u[e],a+=u[e]*u[l]}for(var r=a/v,s=[],d=0;d<i.length;d++){var u=i[d],p=u.slice();p[e]=u[e],p[l]=u[e]*r,s.push(p)}var F="y = "+Math.round(r*100)/100+"x";return{points:s,parameter:{gradient:r},expression:F}},exponential:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0,u=0,r=0,s=0,d=0;d<i.length;d++){var p=i[d];v+=p[e],a+=p[l],s+=p[e]*p[l],h+=p[e]*p[e]*p[l],u+=p[l]*Math.log(p[l]),r+=p[e]*p[l]*Math.log(p[l])}for(var F=a*h-s*s,R=Math.pow(Math.E,(h*u-s*r)/F),x=(a*r-s*u)/F,S=[],M=0;M<i.length;M++){var p=i[M],z=p.slice();z[e]=p[e],z[l]=R*Math.pow(Math.E,x*p[e]),S.push(z)}var P="y = "+Math.round(R*100)/100+"e^("+Math.round(x*100)/100+"x)";return{points:S,parameter:{coefficient:R,index:x},expression:P}},logarithmic:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0,u=0,r=0;r<i.length;r++){var s=i[r];v+=Math.log(s[e]),a+=s[l]*Math.log(s[e]),h+=s[l],u+=Math.pow(Math.log(s[e]),2)}for(var d=(r*a-h*v)/(r*u-v*v),p=(h-d*v)/r,F=[],R=0;R<i.length;R++){var s=i[R],x=s.slice();x[e]=s[e],x[l]=d*Math.log(s[e])+p,F.push(x)}var S="y = "+Math.round(p*100)/100+" + "+Math.round(d*100)/100+"ln(x)";return{points:F,parameter:{gradient:d,intercept:p},expression:S}},polynomial:function(i,y){var e=y.dimensions[0],l=y.dimensions[1],v=y.order;v==null&&(v=2);for(var a=[],h=[],u=v+1,r=0;r<u;r++){for(var s=0,d=0;d<i.length;d++){var p=i[d];s+=p[l]*Math.pow(p[e],r)}h.push(s);for(var F=[],R=0;R<u;R++){for(var x=0,S=0;S<i.length;S++)x+=Math.pow(i[S][e],r+R);F.push(x)}a.push(F)}a.push(h);for(var M=g(a,u),z=[],r=0;r<i.length;r++){for(var P=0,p=i[r],d=0;d<M.length;d++)P+=M[d]*Math.pow(p[e],d);var N=p.slice();N[e]=p[e],N[l]=P,z.push(N)}for(var L="y = ",r=M.length-1;r>=0;r--)r>1?L+=Math.round(M[r]*Math.pow(10,r+1))/Math.pow(10,r+1)+"x^"+r+" + ":r===1?L+=Math.round(M[r]*100)/100+"x + ":L+=Math.round(M[r]*100)/100;return{points:z,parameter:M,expression:L}}};function g(i,y){for(var e=0;e<i.length-1;e++){for(var l=e,v=e+1;v<i.length-1;v++)Math.abs(i[e][v])>Math.abs(i[e][l])&&(l=v);for(var a=e;a<i.length;a++){var h=i[a][e];i[a][e]=i[a][l],i[a][l]=h}for(var u=e+1;u<i.length-1;u++)for(var r=i.length-1;r>=e;r--)i[r][u]-=i[r][e]/i[e][e]*i[e][u]}for(var s=new Array(y),d=i.length-1,v=i.length-2;v>=0;v--){for(var h=0,e=v+1;e<i.length-1;e++)h+=i[e][v]*s[e];s[v]=(i[d][v]-h)/i[v][v]}return s}var D=function(i,y,e){var l=typeof e=="number"?{order:e}:e||{},v=E(l.dimensions,[0,1]),a=A(y,{dimensions:v}),h=c[i](a,{order:l.order,dimensions:v}),u=v[0];return h.points.sort(function(r,s){return r[u]-s[u]}),h};return D}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m={};return m.max=n(7),m.deviation=n(8),m.mean=n(10),m.median=n(12),m.min=n(14),m.quantile=n(13),m.sampleVariance=n(9),m.sum=n(11),m}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber;function E(c){for(var g=-1/0,D=0;D<c.length;D++)A(c[D])&&c[D]>g&&(g=c[D]);return g}return E}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(9);return function(A){var E=m(A);return E&&Math.sqrt(E)}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber,E=n(10);function c(g){var D=g.length;if(!D||D<2)return 0;if(g.length>=2){for(var i=E(g),y=0,e,l=0;l<g.length;l++)A(g[l])&&(e=g[l]-i,y+=e*e);return y/(g.length-1)}}return c}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(11);function A(E){var c=E.length;return c?m(E)/E.length:0}return A}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber;function E(c){var g=c.length;if(!g)return 0;for(var D=0,i=0;i<g;i++)A(c[i])&&(D+=c[i]);return D}return E}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(13);function A(E){return m(E,.5)}return A}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){return function(m,A){var E=m.length;if(!E)return 0;if(A<=0||E<2)return m[0];if(A>=1)return m[E-1];var c=(E-1)*A,g=Math.floor(c),D=m[g],i=m[g+1];return D+(i-D)*(c-g)}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber;function E(c){for(var g=1/0,D=0;D<c.length;D++)A(c[D])&&c[D]<g&&(g=c[D]);return g}return E}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(7),A=n(14),E=n(13),c=n(8),g=n(2),D=g.dataPreprocess,i=g.normalizeDimensions,y=n(3),e=y.ascending,l=y.map,v=n(16),a=y.bisect,h=n(17);function u(W,d){for(var p=typeof d=="string"?{method:d}:d||{},F=p.method==null?r.squareRoot:r[p.method],R=i(p.dimensions),x=D(W,{dimensions:R,toOneDimensionArray:!0}),S=m(x),M=A(x),z=F(x,M,S),P=h(M,S,z),N=P.step,L=P.toFixedPrecision,I=v(+(Math.ceil(M/N)*N).toFixed(L),+(Math.floor(S/N)*N).toFixed(L),N,L),U=I.length,O=new Array(U+1),T=0;T<=U;T++)O[T]={},O[T].sample=[],O[T].x0=T>0?I[T-1]:I[T]-M===N?M:I[T]-N,O[T].x1=T<U?I[T]:S-I[T-1]===N?S:I[T-1]+N;for(var T=0;T<x.length;T++)M<=x[T]&&x[T]<=S&&O[a(I,x[T],0,U)].sample.push(x[T]);var W=l(O,function(q){return[+((q.x0+q.x1)/2).toFixed(L),q.sample.length,q.x0,q.x1,q.x0+" - "+q.x1]}),w=l(O,function(q){return[q.x0,q.x1,q.sample.length]});return{bins:O,data:W,customData:w}}var r={squareRoot:function(s){var d=Math.ceil(Math.sqrt(s.length));return d>50?50:d},scott:function(s,d,p){return Math.ceil((p-d)/(3.5*c(s)*Math.pow(s.length,-1/3)))},freedmanDiaconis:function(s,d,p){return s.sort(e),Math.ceil((p-d)/(2*(E(s,.75)-E(s,.25))*Math.pow(s.length,-1/3)))},sturges:function(s){return Math.ceil(Math.log(s.length)/Math.LN2)+1}};return u}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(2),A=m.getPrecision;return function(E,c,g,D){var i=arguments.length;i<2?(c=E,E=0,g=1):i<3?g=1:i<4?(g=+g,D=A(g)):D=+D;for(var y=Math.ceil(((c-E)/g).toFixed(D)),e=new Array(y+1),l=0;l<y+1;l++)e[l]=+(E+l*g).toFixed(D);return e}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4);return function(A,E,c){var g=Math.abs(E-A)/c,D=m.quantityExponent(g),i=Math.pow(10,D),y=g/i;y>=Math.sqrt(50)?i*=10:y>=Math.sqrt(10)?i*=5:y>=Math.sqrt(2)&&(i*=2);var e=D<0?-D:0,l=+(E>=A?i:-i).toFixed(e);return{step:l,toFixedPrecision:e}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(5),A=n(19),E=2;return{type:"ecStat:regression",transform:function(g){var D=g.upstream,i=g.config||{},y=i.method||"linear",e=m(y,D.cloneRawData(),{order:i.order,dimensions:A.normalizeExistingDimensions(g,i.dimensions)}),l=e.points,v=i.formulaOn;v==null&&(v="end");var a;if(v!=="none"){for(var h=0;h<l.length;h++)l[h][E]=v==="start"&&h===0||v==="all"||v==="end"&&h===l.length-1?e.expression:"";a=D.cloneAllDimensionInfo(),a[E]={}}return[{dimensions:a,data:l}]}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(3),A=n(4),E=n(20);function c(D,i){if(i==null)return;var y=D.upstream;if(m.isArray(i)){for(var e=[],l=0;l<i.length;l++){var v=y.getDimensionInfo(i[l]);a(v,i[l]),e[l]=v.index}return e}else{var v=y.getDimensionInfo(i);return a(v,i),v.index}function a(h,u){if(!h)throw new Error("Can not find dimension by "+u)}}function g(D){if(m.isArray(D)){for(var i=[],y=[],e=0;e<D.length;e++){var l=v(D[e]);i.push(l.name),y.push(l.index)}return{name:i,index:y}}else if(D!=null)return v(D);function v(a){if(A.isNumber(a))return{index:a};if(E.isObject(a)&&A.isNumber(a.index))return a;throw new Error("Illegle new dimensions config. Expect `{ name: string, index: number }`.")}}return{normalizeExistingDimensions:c,normalizeNewDimensions:g}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){function m(E,c){if(Object.assign)Object.assign(E,c);else for(var g in c)c.hasOwnProperty(g)&&(E[g]=c[g]);return E}function A(E){const c=typeof E;return c==="function"||!!E&&c==="object"}return{extend:m,isObject:A}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(15),A=n(19);return{type:"ecStat:histogram",transform:function(c){var g=c.upstream,D=c.config||{},i=m(g.cloneRawData(),{method:D.method,dimensions:A.normalizeExistingDimensions(c,D.dimensions)});return[{dimensions:["MeanOfV0V1","VCount","V0","V1","DisplayableName"],data:i.data},{data:i.customData}]}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(1),A=n(4),E=n(19),c=A.isNumber;return{type:"ecStat:clustering",transform:function(D){var i=D.upstream,y=D.config||{},e=y.clusterCount;if(!c(e)||e<=0)throw new Error('config param "clusterCount" need to be specified as an interger greater than 1.');if(e===1)return[{},{data:[]}];var l=E.normalizeNewDimensions(y.outputClusterIndexDimension),v=E.normalizeNewDimensions(y.outputCentroidDimensions);if(l==null)throw new Error("outputClusterIndexDimension is required as a number.");for(var a=m.hierarchicalKMeans(i.cloneRawData(),{clusterCount:e,stepByStep:!1,dimensions:E.normalizeExistingDimensions(D,y.dimensions),outputType:m.OutputType.SINGLE,outputClusterIndexDimension:l.index,outputCentroidDimensions:(v||{}).index}),h=i.cloneAllDimensionInfo(),u=[],r=0;r<h.length;r++){var s=h[r];u.push(s.name)}if(u[l.index]=l.name,v)for(var r=0;r<v.index.length;r++)v.name[r]!=null&&(u[v.index[r]]=v.name[r]);return[{dimensions:u,data:a.data},{data:a.centroids}]}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)})])})})(k)),k.exports}var sn,Dn;function Kn(){return Dn||(Dn=1,sn=Bn()),sn}var Wn=Kn();const bn=xn.getDefaultExportFromCjs(Wn),Vn={DEFAULT_ICON:gn.DEFAULT_ICON,ACTIVE_ICON:gn.ACTIVE_ICON,NAME_CN:"风向图",NAME_EN:"Wind Line",ORDER:5},Xn={titleColor:"#111",bgColor:"#fff",textColor:"#111",lineColor:"#314656",top:30,bottom:40,left:20,right:20,radiusSize:8,textSize:12,points:30,isHideTitle:!1,isSmooth:!1},yn=[{name:"参数一",项目编号:"",object_id:""}],qn=["name","项目编号"],Yn=["index","deviation","stability","balance","increment","risk"],Hn=1,Gn={useAlias:!1,null:{type:"0",value:""},multiObject:!1,hideMultiObject:!0,source:"index"},Jn={DEFAULT:Vn,OPTIONS:Xn,DATA:yn,PARAMS:qn,SOURCE:Yn,ITEMS:Hn,COMMON:Gn},Zn=K.defineComponent(mn(dn({},Jn),{__name:"windLin",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(X){on.use([on.install,zn.install,Ln.install,Rn.install,Fn.install,Pn.install,on.install$1,Un.installUniversalTransition]);const b=K.ref(K.inject("session",null)),{proxy:o}=K.getCurrentInstance(),f="windlin_"+Math.random().toString(16).substring(4,12);let n=null,t=null;const C=X;let m=[];class A extends Q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),lineColor:this.getOptionValue("lineColor","#314656"),radiusSize:this.getOptionValue("radiusSize",4),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),isSmooth:this.getOptionValue("isSmooth",!1)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:yn,C.mode==="edit"&&i(),K.nextTick(()=>{let r=document.querySelector("#"+f);r&&(n||(n=pn.init(r),t=Q.elementResizeDetectorMaker({strategy:"scroll"}),t.listenTo(r,()=>n==null?void 0:n.resize())),n.setOption(D(),!0))})}onPreview(){a.preview()}cleanup(){t&&t.uninstall(document.querySelector("#"+f)),n&&n.clear(),n&&pn.dispose(n),n=null,a.unregister()}}const E=new A(C,"windLin");E.setupLifecycle();const c=E.getStyle(),g=K.computed(()=>In.generateTitleStyle(C.conf.options)),D=()=>{var d,p,F,R;const{data:u,options:r}=C.conf;let s=u[0]||{};return{tooltip:{trigger:"axis",formatter:function(x){return[x[0].value[0],`${s==null?void 0:s.name}: `+x[0].value[1],`${o.$t("setting.gradient")}: `+x[0].value[2]].join("<br>")}},grid:{top:((d=r==null?void 0:r.top)==null?void 0:d.value)||30,bottom:((p=r==null?void 0:r.bottom)==null?void 0:p.value)||40,left:((F=r==null?void 0:r.left)==null?void 0:F.value)||20,right:((R=r==null?void 0:r.right)==null?void 0:R.value)||20,containLabel:!0},xAxis:{type:"time",splitLine:{lineStyle:{color:"#ddd"}}},yAxis:[{axisLine:{lineStyle:{color:"#666"}},splitNumber:4}],visualMap:{type:"piecewise",show:!1,orient:"horizontal",left:"center",bottom:10,pieces:[{lt:0,color:"#18BF12"},{gte:0,lte:0,color:"#f4e9a3"},{gte:0,color:"#D33C3E"}],seriesIndex:1,dimension:2},dataZoom:[{type:"slider",xAxisIndex:0,start:80,end:100,height:15,bottom:15},{type:"inside"}],series:[{type:"line",yAxisIndex:0,showSymbol:!1,emphasis:{scale:!1},symbolSize:10,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:c.value.lineColor},{offset:1,color:c.value.lineColor+"00"}]}},lineStyle:{color:c.value.lineColor},itemStyle:{color:c.value.lineColor},encode:{x:0},data:m,z:2,smooth:c.value.isSmooth},{type:"custom",renderItem:e,data:m,z:10}]}},i=()=>{var F,R;const u=Q.hasDataSource(C.conf);m=[];let r=[];const{options:s}=C.conf;let d=(R=(F=s==null?void 0:s.points)==null?void 0:F.value)!=null?R:30,p=Q.getxAxisDataTime(d,C.mode,u);for(let x=0;x<d;x++){let S=Math.floor(Math.random()*200);r.push([p[x],S])}m=y(r)},y=u=>u.map((r,s)=>{var d;if(s===u.length-1)r[2]=0;else{let p=bn.regression("linear",[[s+1,r[1]],[s+2,u[s+1][1]]],0);r[2]=Math.atan(((d=p.parameter)==null?void 0:d.gradient)||0).toFixed(4)}return r}),e=(u,r)=>{const s=r.coord([r.value(0),0]),d=16;return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-d/2,y:-d/2,width:d,height:d},rotation:r.value(2),position:s,style:r.style({stroke:"#555",lineWidth:1})}},l=u=>{if(!Q.hasDataSource(C.conf))return;const{data:r}=C.conf;let s=Q.handleNullData(u,C,"history");if(!s.history.length)return;let d=s.history[0],p=[];d.forEach(F=>{let R=F[r[0].fv]||0;p.push([F.time,R])}),m=y(p),n==null||n.setOption(D())},v=u=>{Q.hasDataSource(C.conf)},a={preview:()=>Q.preview(C,b.value,l,v,"windLin"),unregister:()=>Q.unregister(C,b.value)};K.watchEffect(()=>{C.conf.socketData&&v(C.conf.socketData)});const h=C.conf;return(u,r)=>(K.openBlock(),K.createElementBlock("div",{class:"mix-component",style:K.normalizeStyle({background:K.unref(c).bgColor,borderRadius:`${K.unref(c).radiusSize}px`})},[K.createElementVNode("div",{class:"mix-title",style:K.normalizeStyle(g.value)},K.toDisplayString(K.unref(h).caption||K.unref(h).name),5),K.createElementVNode("div",{class:"mix-body"},[K.createElementVNode("div",{class:"w-full h-full",id:f})]),K.renderSlot(u.$slots,"default",{},void 0,!0)],4))}})),Qn=xn._export_sfc(Zn,[["__scopeId","data-v-a9a859ce"]]);exports.default=Qn;
1
+ "use strict";var Mn=Object.defineProperty,An=Object.defineProperties;var Nn=Object.getOwnPropertyDescriptors;var cn=Object.getOwnPropertySymbols;var Cn=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable;var hn=(X,b,o)=>b in X?Mn(X,b,{enumerable:!0,configurable:!0,writable:!0,value:o}):X[b]=o,dn=(X,b)=>{for(var o in b||(b={}))Cn.call(b,o)&&hn(X,o,b[o]);if(cn)for(var o of cn(b))Tn.call(b,o)&&hn(X,o,b[o]);return X},mn=(X,b)=>An(X,Nn(b));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("vue"),Q=require("./element-resize-detector-DYs3pJPp.cjs"),In=require("./titleStyle-NSnz6cUg.cjs"),xn=require("./index-ZwyqrmaH.cjs"),gn=require("./ele-aqi-icon-BMm9WgFH.cjs"),Pn=require("./install-DIlB2q7w.cjs"),on=require("./installCanvasRenderer-CyhM1Qpl.cjs"),zn=require("./install-C8buXQPI.cjs"),Ln=require("./install-CIT6k8Ga.cjs"),Rn=require("./install-z6wShIZI.cjs"),Fn=require("./install-CYwVETsi.cjs"),Un=require("./universalTransition-CIN_u2Cu.cjs"),pn=require("./echarts-BB8O2KSA.cjs");var k={exports:{}},On=k.exports,En;function Bn(){return En||(En=1,(function(X,b){(function(f,n){X.exports=n()})(On,function(){return(function(o){var f={};function n(t){if(f[t])return f[t].exports;var C=f[t]={exports:{},id:t,loaded:!1};return o[t].call(C.exports,C,C.exports,n),C.loaded=!0,C.exports}return n.m=o,n.c=f,n.p="",n(0)})([(function(o,f,n){var t;t=function(C){return{clustering:n(1),regression:n(5),statistics:n(6),histogram:n(15),transform:{regression:n(18),histogram:n(21),clustering:n(22)}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(2),A=m.dataPreprocess,E=m.normalizeDimensions,c=n(3),e=n(4),g=c.size,D=c.sumOfColumn,i=c.sum,y=c.zeros,e=n(4),l=e.isNumber,v=Math.pow,a={SINGLE:"single",MULTIPLE:"multiple"};function h(x,S,M){for(var z=y(x.length,2),P=d(S,R(x,M.dimensions)),N=!0,L,I,U,O;N;){N=!1;for(var T=0;T<x.length;T++){L=1/0,I=-1;for(var W=0;W<S;W++)U=p(x[T],P[W],M),U<L&&(L=U,I=W);z[T][0]!==I&&(N=!0),z[T][0]=I,z[T][1]=L}for(var T=0;T<S;T++){O=[];for(var W=0;W<z.length;W++)z[W][0]===T&&O.push(x[W]);P[T]=u(O,M)}}var w={centroids:P,clusterAssigned:z};return w}function u(x,S){for(var M=[],z,P,N=0;N<S.dimensions.length;N++){var L=S.dimensions[N];z=0;for(var I=0;I<x.length;I++)z+=x[I][L];P=z/x.length,M.push(P)}return M}function r(x,S,M){var z=(l(S)?{clusterCount:S,stepByStep:M}:S)||{clusterCount:2},P=z.clusterCount;if(P<2)return;var N=F(x,z),L=N.outputType===a.SINGLE,I=A(x,{dimensions:N.dimensions}),U=y(I.length,2),O,T,W;function w(V,J){U[V][1]=J}function q(V){return U[V][1]}if(L){O=[];var un=N.outputClusterIndexDimension;T=function(V,J){O[V][un]=J},W=function(V){return O[V][un]};for(var H=0;H<I.length;H++)O.push(I[H].slice()),w(H,0),T(H,0)}else T=function(V,J){U[V][0]=J},W=function(V){return U[V][0]};for(var ln=u(I,N),$=[ln],H=0;H<I.length;H++){var Sn=p(I[H],ln,N);w(H,Sn)}var _,nn,rn,j,en,tn,vn=1,G={data:O,centroids:$,isEnd:!1};L||(G.clusterAssment=U);function fn(){if(vn<P){_=1/0;for(var V,J,Z,Y=0;Y<$.length;Y++){nn=[],rn=[];for(var B=0;B<I.length;B++)W(B)===Y?nn.push(I[B]):rn.push(q(B));j=h(nn,2,N),en=D(j.clusterAssigned,1),tn=i(rn),en+tn<_&&(_=tn+en,V=Y,J=j.centroids,Z=j.clusterAssigned)}for(var B=0;B<Z.length;B++)Z[B][0]===0?Z[B][0]=V:Z[B][0]===1&&(Z[B][0]=$.length);$[V]=J[0],$.push(J[1]);for(var B=0,Y=0;B<I.length&&Y<Z.length;B++)W(B)===V&&(T(B,Z[Y][0]),w(B,Z[Y++][1]));var an=[];if(!L){for(var B=0;B<$.length;B++){an[B]=[];for(var Y=0;Y<I.length;Y++)W(Y)===B&&an[B].push(I[Y])}G.pointsInCluster=an}vn++}else G.isEnd=!0}if(z.stepByStep)G.next=function(){return fn(),s(G,N),G};else for(;fn(),!G.isEnd;);return s(G,N),G}function s(x,S){var M=S.outputCentroidDimensions;if(!(S.outputType!==a.SINGLE||M==null))for(var z=x.data,P=x.centroids,N=0;N<z.length;N++)for(var L=z[N],I=L[S.outputClusterIndexDimension],U=P[I],O=Math.min(U.length,M.length),T=0;T<O;T++)L[M[T]]=U[T]}function d(x,S){for(var M=y(x,S.length),z=0;z<S.length;z++)for(var P=S[z],N=0;N<x;N++)M[N][z]=P.min+P.span*Math.random();return M}function p(x,S,M){for(var z=0,P=M.dimensions,N=M.rawExtents,L=0;L<P.length;L++){var I=N[L].span;if(I){var U=P[L],O=(x[U]-S[L])/I;z+=v(O,2)}}return z}function F(x,S){var M=g(x);if(M.length<1)throw new Error("The input data of clustering should be two-dimension array.");for(var z=M[1],P=[],N=0;N<z;N++)P.push(N);var L=E(S.dimensions,P),I=S.outputType||a.MULTIPLE,U=S.outputClusterIndexDimension;if(I===a.SINGLE&&!e.isNumber(U))throw new Error("outputClusterIndexDimension is required as a number.");var O=R(x,L);return{dimensions:L,rawExtents:O,outputType:I,outputClusterIndexDimension:U,outputCentroidDimensions:S.outputCentroidDimensions}}function R(x,S){for(var M=[],z=S.length,P=0;P<z;P++)M.push({min:1/0,max:-1/0});for(var P=0;P<x.length;P++)for(var N=x[P],L=0;L<z;L++){var I=M[L],U=N[S[L]];I.min>U&&(I.min=U),I.max<U&&(I.max=U)}for(var P=0;P<z;P++)M[P].span=M[P].max-M[P].min;return M}return{OutputType:a,hierarchicalKMeans:r}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(3),A=m.isArray,E=m.size,c=n(4),g=c.isNumber;function D(e,l){return typeof e=="number"?[e]:e==null?l:e}function i(e,l){l=l||{};var v=l.dimensions,a={};if(v!=null)for(var h=0;h<v.length;h++)a[v[h]]=!0;var u=l.toOneDimensionArray?v?v[0]:0:null;function r(x){return!v||a.hasOwnProperty(x)}if(!A(e))throw new Error("Invalid data type, you should input an array");var s=[],d=E(e);if(d.length===1)for(var h=0;h<d[0];h++){var p=e[h];g(p)&&s.push(p)}else if(d.length===2)for(var h=0;h<d[0];h++){for(var F=!0,p=e[h],R=0;R<d[1];R++)r(R)&&!g(p[R])&&(F=!1);F&&s.push(u!=null?p[u]:p)}return s}function y(e){var l=e.toString(),v=l.indexOf(".");return v<0?0:l.length-1-v}return{normalizeDimensions:D,dataPreprocess:i,getPrecision:y}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=Object.prototype.toString,A=Array.prototype,E=A.map;function c(a){for(var h=[];g(a);)h.push(a.length),a=a[0];return h}function g(a){return m.call(a)==="[object Array]"}function D(a,h){for(var u=[],r=0;r<a;r++){u[r]=[];for(var s=0;s<h;s++)u[r][s]=0}return u}function i(a){for(var h=0,u=0;u<a.length;u++)h+=a[u];return h}function y(a,h){for(var u=0,r=0;r<a.length;r++)u+=a[r][h];return u}function e(a,h){return a>h?1:a<h?-1:a===h?0:NaN}function l(a,h,u,r){for(u==null&&(u=0),r==null&&(r=a.length);u<r;){var s=Math.floor((u+r)/2),d=e(a[s],h);if(d>0)r=s;else if(d<0)u=s+1;else return s+1}return u}function v(a,h,u){if(a&&h){if(a.map&&a.map===E)return a.map(h,u);for(var r=[],s=0,d=a.length;s<d;s++)r.push(h.call(u,a[s],s,a));return r}}return{size:c,isArray:g,zeros:D,sum:i,sumOfColumn:y,ascending:e,bisect:l,map:v}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){function m(c){return c=c===null?NaN:+c,typeof c=="number"&&!isNaN(c)}function A(c){return isFinite(c)&&c===Math.round(c)}function E(c){if(c===0)return 0;var g=Math.floor(Math.log(c)/Math.LN10);return c/Math.pow(10,g)>=10&&g++,g}return{isNumber:m,isInteger:A,quantityExponent:E}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(2),A=m.dataPreprocess,E=m.normalizeDimensions,c={linear:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0,u=0,r=i.length,s=0;s<r;s++){var d=i[s];v+=d[e],a+=d[l],h+=d[e]*d[l],u+=d[e]*d[e]}for(var p=(r*h-v*a)/(r*u-v*v),F=a/r-p*v/r,R=[],x=0;x<i.length;x++){var d=i[x],S=d.slice();S[e]=d[e],S[l]=p*d[e]+F,R.push(S)}var M="y = "+Math.round(p*100)/100+"x + "+Math.round(F*100)/100;return{points:R,parameter:{gradient:p,intercept:F},expression:M}},linearThroughOrigin:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0;h<i.length;h++){var u=i[h];v+=u[e]*u[e],a+=u[e]*u[l]}for(var r=a/v,s=[],d=0;d<i.length;d++){var u=i[d],p=u.slice();p[e]=u[e],p[l]=u[e]*r,s.push(p)}var F="y = "+Math.round(r*100)/100+"x";return{points:s,parameter:{gradient:r},expression:F}},exponential:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0,u=0,r=0,s=0,d=0;d<i.length;d++){var p=i[d];v+=p[e],a+=p[l],s+=p[e]*p[l],h+=p[e]*p[e]*p[l],u+=p[l]*Math.log(p[l]),r+=p[e]*p[l]*Math.log(p[l])}for(var F=a*h-s*s,R=Math.pow(Math.E,(h*u-s*r)/F),x=(a*r-s*u)/F,S=[],M=0;M<i.length;M++){var p=i[M],z=p.slice();z[e]=p[e],z[l]=R*Math.pow(Math.E,x*p[e]),S.push(z)}var P="y = "+Math.round(R*100)/100+"e^("+Math.round(x*100)/100+"x)";return{points:S,parameter:{coefficient:R,index:x},expression:P}},logarithmic:function(i,y){for(var e=y.dimensions[0],l=y.dimensions[1],v=0,a=0,h=0,u=0,r=0;r<i.length;r++){var s=i[r];v+=Math.log(s[e]),a+=s[l]*Math.log(s[e]),h+=s[l],u+=Math.pow(Math.log(s[e]),2)}for(var d=(r*a-h*v)/(r*u-v*v),p=(h-d*v)/r,F=[],R=0;R<i.length;R++){var s=i[R],x=s.slice();x[e]=s[e],x[l]=d*Math.log(s[e])+p,F.push(x)}var S="y = "+Math.round(p*100)/100+" + "+Math.round(d*100)/100+"ln(x)";return{points:F,parameter:{gradient:d,intercept:p},expression:S}},polynomial:function(i,y){var e=y.dimensions[0],l=y.dimensions[1],v=y.order;v==null&&(v=2);for(var a=[],h=[],u=v+1,r=0;r<u;r++){for(var s=0,d=0;d<i.length;d++){var p=i[d];s+=p[l]*Math.pow(p[e],r)}h.push(s);for(var F=[],R=0;R<u;R++){for(var x=0,S=0;S<i.length;S++)x+=Math.pow(i[S][e],r+R);F.push(x)}a.push(F)}a.push(h);for(var M=g(a,u),z=[],r=0;r<i.length;r++){for(var P=0,p=i[r],d=0;d<M.length;d++)P+=M[d]*Math.pow(p[e],d);var N=p.slice();N[e]=p[e],N[l]=P,z.push(N)}for(var L="y = ",r=M.length-1;r>=0;r--)r>1?L+=Math.round(M[r]*Math.pow(10,r+1))/Math.pow(10,r+1)+"x^"+r+" + ":r===1?L+=Math.round(M[r]*100)/100+"x + ":L+=Math.round(M[r]*100)/100;return{points:z,parameter:M,expression:L}}};function g(i,y){for(var e=0;e<i.length-1;e++){for(var l=e,v=e+1;v<i.length-1;v++)Math.abs(i[e][v])>Math.abs(i[e][l])&&(l=v);for(var a=e;a<i.length;a++){var h=i[a][e];i[a][e]=i[a][l],i[a][l]=h}for(var u=e+1;u<i.length-1;u++)for(var r=i.length-1;r>=e;r--)i[r][u]-=i[r][e]/i[e][e]*i[e][u]}for(var s=new Array(y),d=i.length-1,v=i.length-2;v>=0;v--){for(var h=0,e=v+1;e<i.length-1;e++)h+=i[e][v]*s[e];s[v]=(i[d][v]-h)/i[v][v]}return s}var D=function(i,y,e){var l=typeof e=="number"?{order:e}:e||{},v=E(l.dimensions,[0,1]),a=A(y,{dimensions:v}),h=c[i](a,{order:l.order,dimensions:v}),u=v[0];return h.points.sort(function(r,s){return r[u]-s[u]}),h};return D}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m={};return m.max=n(7),m.deviation=n(8),m.mean=n(10),m.median=n(12),m.min=n(14),m.quantile=n(13),m.sampleVariance=n(9),m.sum=n(11),m}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber;function E(c){for(var g=-1/0,D=0;D<c.length;D++)A(c[D])&&c[D]>g&&(g=c[D]);return g}return E}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(9);return function(A){var E=m(A);return E&&Math.sqrt(E)}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber,E=n(10);function c(g){var D=g.length;if(!D||D<2)return 0;if(g.length>=2){for(var i=E(g),y=0,e,l=0;l<g.length;l++)A(g[l])&&(e=g[l]-i,y+=e*e);return y/(g.length-1)}}return c}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(11);function A(E){var c=E.length;return c?m(E)/E.length:0}return A}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber;function E(c){var g=c.length;if(!g)return 0;for(var D=0,i=0;i<g;i++)A(c[i])&&(D+=c[i]);return D}return E}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(13);function A(E){return m(E,.5)}return A}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){return function(m,A){var E=m.length;if(!E)return 0;if(A<=0||E<2)return m[0];if(A>=1)return m[E-1];var c=(E-1)*A,g=Math.floor(c),D=m[g],i=m[g+1];return D+(i-D)*(c-g)}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4),A=m.isNumber;function E(c){for(var g=1/0,D=0;D<c.length;D++)A(c[D])&&c[D]<g&&(g=c[D]);return g}return E}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(7),A=n(14),E=n(13),c=n(8),g=n(2),D=g.dataPreprocess,i=g.normalizeDimensions,y=n(3),e=y.ascending,l=y.map,v=n(16),a=y.bisect,h=n(17);function u(W,d){for(var p=typeof d=="string"?{method:d}:d||{},F=p.method==null?r.squareRoot:r[p.method],R=i(p.dimensions),x=D(W,{dimensions:R,toOneDimensionArray:!0}),S=m(x),M=A(x),z=F(x,M,S),P=h(M,S,z),N=P.step,L=P.toFixedPrecision,I=v(+(Math.ceil(M/N)*N).toFixed(L),+(Math.floor(S/N)*N).toFixed(L),N,L),U=I.length,O=new Array(U+1),T=0;T<=U;T++)O[T]={},O[T].sample=[],O[T].x0=T>0?I[T-1]:I[T]-M===N?M:I[T]-N,O[T].x1=T<U?I[T]:S-I[T-1]===N?S:I[T-1]+N;for(var T=0;T<x.length;T++)M<=x[T]&&x[T]<=S&&O[a(I,x[T],0,U)].sample.push(x[T]);var W=l(O,function(q){return[+((q.x0+q.x1)/2).toFixed(L),q.sample.length,q.x0,q.x1,q.x0+" - "+q.x1]}),w=l(O,function(q){return[q.x0,q.x1,q.sample.length]});return{bins:O,data:W,customData:w}}var r={squareRoot:function(s){var d=Math.ceil(Math.sqrt(s.length));return d>50?50:d},scott:function(s,d,p){return Math.ceil((p-d)/(3.5*c(s)*Math.pow(s.length,-1/3)))},freedmanDiaconis:function(s,d,p){return s.sort(e),Math.ceil((p-d)/(2*(E(s,.75)-E(s,.25))*Math.pow(s.length,-1/3)))},sturges:function(s){return Math.ceil(Math.log(s.length)/Math.LN2)+1}};return u}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(2),A=m.getPrecision;return function(E,c,g,D){var i=arguments.length;i<2?(c=E,E=0,g=1):i<3?g=1:i<4?(g=+g,D=A(g)):D=+D;for(var y=Math.ceil(((c-E)/g).toFixed(D)),e=new Array(y+1),l=0;l<y+1;l++)e[l]=+(E+l*g).toFixed(D);return e}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(4);return function(A,E,c){var g=Math.abs(E-A)/c,D=m.quantityExponent(g),i=Math.pow(10,D),y=g/i;y>=Math.sqrt(50)?i*=10:y>=Math.sqrt(10)?i*=5:y>=Math.sqrt(2)&&(i*=2);var e=D<0?-D:0,l=+(E>=A?i:-i).toFixed(e);return{step:l,toFixedPrecision:e}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(5),A=n(19),E=2;return{type:"ecStat:regression",transform:function(g){var D=g.upstream,i=g.config||{},y=i.method||"linear",e=m(y,D.cloneRawData(),{order:i.order,dimensions:A.normalizeExistingDimensions(g,i.dimensions)}),l=e.points,v=i.formulaOn;v==null&&(v="end");var a;if(v!=="none"){for(var h=0;h<l.length;h++)l[h][E]=v==="start"&&h===0||v==="all"||v==="end"&&h===l.length-1?e.expression:"";a=D.cloneAllDimensionInfo(),a[E]={}}return[{dimensions:a,data:l}]}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(3),A=n(4),E=n(20);function c(D,i){if(i==null)return;var y=D.upstream;if(m.isArray(i)){for(var e=[],l=0;l<i.length;l++){var v=y.getDimensionInfo(i[l]);a(v,i[l]),e[l]=v.index}return e}else{var v=y.getDimensionInfo(i);return a(v,i),v.index}function a(h,u){if(!h)throw new Error("Can not find dimension by "+u)}}function g(D){if(m.isArray(D)){for(var i=[],y=[],e=0;e<D.length;e++){var l=v(D[e]);i.push(l.name),y.push(l.index)}return{name:i,index:y}}else if(D!=null)return v(D);function v(a){if(A.isNumber(a))return{index:a};if(E.isObject(a)&&A.isNumber(a.index))return a;throw new Error("Illegle new dimensions config. Expect `{ name: string, index: number }`.")}}return{normalizeExistingDimensions:c,normalizeNewDimensions:g}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){function m(E,c){if(Object.assign)Object.assign(E,c);else for(var g in c)c.hasOwnProperty(g)&&(E[g]=c[g]);return E}function A(E){const c=typeof E;return c==="function"||!!E&&c==="object"}return{extend:m,isObject:A}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(15),A=n(19);return{type:"ecStat:histogram",transform:function(c){var g=c.upstream,D=c.config||{},i=m(g.cloneRawData(),{method:D.method,dimensions:A.normalizeExistingDimensions(c,D.dimensions)});return[{dimensions:["MeanOfV0V1","VCount","V0","V1","DisplayableName"],data:i.data},{data:i.customData}]}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)}),(function(o,f,n){var t;t=function(C){var m=n(1),A=n(4),E=n(19),c=A.isNumber;return{type:"ecStat:clustering",transform:function(D){var i=D.upstream,y=D.config||{},e=y.clusterCount;if(!c(e)||e<=0)throw new Error('config param "clusterCount" need to be specified as an interger greater than 1.');if(e===1)return[{},{data:[]}];var l=E.normalizeNewDimensions(y.outputClusterIndexDimension),v=E.normalizeNewDimensions(y.outputCentroidDimensions);if(l==null)throw new Error("outputClusterIndexDimension is required as a number.");for(var a=m.hierarchicalKMeans(i.cloneRawData(),{clusterCount:e,stepByStep:!1,dimensions:E.normalizeExistingDimensions(D,y.dimensions),outputType:m.OutputType.SINGLE,outputClusterIndexDimension:l.index,outputCentroidDimensions:(v||{}).index}),h=i.cloneAllDimensionInfo(),u=[],r=0;r<h.length;r++){var s=h[r];u.push(s.name)}if(u[l.index]=l.name,v)for(var r=0;r<v.index.length;r++)v.name[r]!=null&&(u[v.index[r]]=v.name[r]);return[{dimensions:u,data:a.data},{data:a.centroids}]}}}.call(f,n,f,o),t!==void 0&&(o.exports=t)})])})})(k)),k.exports}var sn,Dn;function Kn(){return Dn||(Dn=1,sn=Bn()),sn}var Wn=Kn();const bn=xn.getDefaultExportFromCjs(Wn),Vn={DEFAULT_ICON:gn.DEFAULT_ICON,ACTIVE_ICON:gn.ACTIVE_ICON,NAME_CN:"风向图",NAME_EN:"Wind Line",ORDER:5},Xn={titleColor:"#111",bgColor:"#fff",textColor:"#111",lineColor:"#314656",top:30,bottom:40,left:20,right:20,radiusSize:8,textSize:12,points:30,isHideTitle:!1,isSmooth:!1},yn=[{name:"参数一",项目编号:"",object_id:""}],qn=["name","项目编号"],Yn=["index","deviation","stability","balance","increment","risk"],Hn=1,Gn={useAlias:!1,null:{type:"0",value:""},multiObject:!1,hideMultiObject:!0,source:"index"},Jn={DEFAULT:Vn,OPTIONS:Xn,DATA:yn,PARAMS:qn,SOURCE:Yn,ITEMS:Hn,COMMON:Gn},Zn=K.defineComponent(mn(dn({},Jn),{__name:"windLin",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(X){on.use([on.install,zn.install,Ln.install,Rn.install,Fn.install,Pn.install,on.install$1,Un.installUniversalTransition]);const b=K.ref(K.inject("session",null)),{proxy:o}=K.getCurrentInstance(),f="windlin_"+Math.random().toString(16).substring(4,12);let n=null,t=null;const C=X;let m=[];class A extends Q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),lineColor:this.getOptionValue("lineColor","#314656"),radiusSize:this.getOptionValue("radiusSize",4),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),isSmooth:this.getOptionValue("isSmooth",!1)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:yn,C.mode==="edit"&&i(),K.nextTick(()=>{let r=document.querySelector("#"+f);r&&(n||(n=pn.init(r),t=Q.elementResizeDetectorMaker({strategy:"scroll"}),t.listenTo(r,()=>n==null?void 0:n.resize())),n.setOption(D(),!0))})}onPreview(){a.preview()}cleanup(){t&&t.uninstall(document.querySelector("#"+f)),n&&n.clear(),n&&pn.dispose(n),n=null,a.unregister()}}const E=new A(C,"windLin");E.setupLifecycle();const c=E.getStyle(),g=K.computed(()=>In.generateTitleStyle(C.conf.options)),D=()=>{var d,p,F,R;const{data:u,options:r}=C.conf;let s=u[0]||{};return{tooltip:{trigger:"axis",formatter:function(x){return[x[0].value[0],`${s==null?void 0:s.name}: `+x[0].value[1],`${o.$t("setting.gradient")}: `+x[0].value[2]].join("<br>")}},grid:{top:((d=r==null?void 0:r.top)==null?void 0:d.value)||30,bottom:((p=r==null?void 0:r.bottom)==null?void 0:p.value)||40,left:((F=r==null?void 0:r.left)==null?void 0:F.value)||20,right:((R=r==null?void 0:r.right)==null?void 0:R.value)||20,containLabel:!0},xAxis:{type:"time",splitLine:{lineStyle:{color:"#ddd"}}},yAxis:[{axisLine:{lineStyle:{color:"#666"}},splitNumber:4}],visualMap:{type:"piecewise",show:!1,orient:"horizontal",left:"center",bottom:10,pieces:[{lt:0,color:"#18BF12"},{gte:0,lte:0,color:"#f4e9a3"},{gte:0,color:"#D33C3E"}],seriesIndex:1,dimension:2},dataZoom:[{type:"slider",xAxisIndex:0,start:80,end:100,height:15,bottom:15},{type:"inside"}],series:[{type:"line",yAxisIndex:0,showSymbol:!1,emphasis:{scale:!1},symbolSize:10,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:c.value.lineColor},{offset:1,color:c.value.lineColor+"00"}]}},lineStyle:{color:c.value.lineColor},itemStyle:{color:c.value.lineColor},encode:{x:0},data:m,z:2,smooth:c.value.isSmooth},{type:"custom",renderItem:e,data:m,z:10}]}},i=()=>{var F,R;const u=Q.hasDataSource(C.conf);m=[];let r=[];const{options:s}=C.conf;let d=(R=(F=s==null?void 0:s.points)==null?void 0:F.value)!=null?R:30,p=Q.getxAxisDataTime(d,C.mode,u);for(let x=0;x<d;x++){let S=Math.floor(Math.random()*200);r.push([p[x],S])}m=y(r)},y=u=>u.map((r,s)=>{var d;if(s===u.length-1)r[2]=0;else{let p=bn.regression("linear",[[s+1,r[1]],[s+2,u[s+1][1]]],0);r[2]=Math.atan(((d=p.parameter)==null?void 0:d.gradient)||0).toFixed(4)}return r}),e=(u,r)=>{const s=r.coord([r.value(0),0]),d=16;return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-d/2,y:-d/2,width:d,height:d},rotation:r.value(2),position:s,style:r.style({stroke:"#555",lineWidth:1})}},l=u=>{if(!Q.hasDataSource(C.conf))return;const{data:r}=C.conf;let s=Q.handleNullData(u,C,"history");if(!s.history.length)return;let d=s.history[0],p=[];d.forEach(F=>{let R=F[r[0].fv]||0;p.push([F.time,R])}),m=y(p),n==null||n.setOption(D())},v=u=>{Q.hasDataSource(C.conf)},a={preview:()=>Q.preview(C,b.value,l,v,"windLin"),unregister:()=>Q.unregister(C,b.value)};K.watchEffect(()=>{C.conf.socketData&&v(C.conf.socketData)});const h=C.conf;return(u,r)=>(K.openBlock(),K.createElementBlock("div",{class:"mix-component",style:K.normalizeStyle({background:K.unref(c).bgColor,borderRadius:`${K.unref(c).radiusSize}px`})},[K.createElementVNode("div",{class:"mix-title",style:K.normalizeStyle(g.value)},K.toDisplayString(K.unref(h).caption||K.unref(h).name),5),K.createElementVNode("div",{class:"mix-body"},[K.createElementVNode("div",{class:"w-full h-full",id:f})]),K.renderSlot(u.$slots,"default",{},void 0,!0)],4))}})),Qn=xn._export_sfc(Zn,[["__scopeId","data-v-a9a859ce"]]);exports.default=Qn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mixdashboards",
3
- "version": "1.0.46",
3
+ "version": "1.0.49",
4
4
  "description": "MixDashboards Display Components - Show, Pro, App",
5
5
  "type": "module",
6
6
  "main": "./dist/mixdashboards.cjs",