mixdashboards 1.0.78 → 1.0.80

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 (336) hide show
  1. package/dist/{BaseComponent-Dwhb9Mde.js → BaseComponent-CEp8NJiX.js} +8 -8
  2. package/dist/{BaseComponent-bzb58Hhs.cjs → BaseComponent-DaYX7dUF.cjs} +1 -1
  3. package/dist/{EChartComponentBase-BmS2KONN.js → EChartComponentBase-B-VNAC8K.js} +2 -2
  4. package/dist/{EChartComponentBase-CMN_pOMr.cjs → EChartComponentBase-C2sxqwSE.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel-FtvC-aXY.js → EmergencyPlanPanel-CwWvSELn.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-CVusdpDo.cjs → EmergencyPlanPanel-Dcj6mNDZ.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-CrYylrTC.cjs → HistoryPlanDialog-CHHKFCEb.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-DliuSi0p.js → HistoryPlanDialog-MDXWiel6.js} +1 -1
  9. package/dist/{MonitoringMap-CBnv001f.cjs → MonitoringMap-CfcXyLMN.cjs} +1 -1
  10. package/dist/{MonitoringMap-DB3R5nAJ.js → MonitoringMap-Disr1Wm4.js} +2 -2
  11. package/dist/{UniverSheet-DFyIjurx.js → UniverSheet-BcuvQ33A.js} +2 -2
  12. package/dist/{UniverSheet-jy9kOyPN.cjs → UniverSheet-M8Z5JVxm.cjs} +1 -1
  13. package/dist/{accelerationChart-Ceo371ch.cjs → accelerationChart-DoqDRcpd.cjs} +1 -1
  14. package/dist/{accelerationChart-Q_Q_QlU7.js → accelerationChart-Dq5_6weP.js} +14 -14
  15. package/dist/{actionItem-BzMI_4-S.js → actionItem-BryBezOd.js} +2 -2
  16. package/dist/{actionItem-DB74CPi2.cjs → actionItem-JVOxJr61.cjs} +1 -1
  17. package/dist/{alarmLevelChart-CxmiBIKh.cjs → alarmLevelChart-C4_IhtlF.cjs} +1 -1
  18. package/dist/{alarmLevelChart-Bp3SLCMe.js → alarmLevelChart-DUysIMGJ.js} +2 -2
  19. package/dist/{alertTable-B1w_i0VB.cjs → alertTable-DWQGvAmY.cjs} +1 -1
  20. package/dist/{alertTable-DXzTm7mA.js → alertTable-nLYwM6ix.js} +2 -2
  21. package/dist/{aliasObjectSelectorDemo-Dfanalux.js → aliasObjectSelectorDemo-Cgnw6vkp.js} +1 -1
  22. package/dist/{aliasObjectSelectorDemo-CRuq8zju.cjs → aliasObjectSelectorDemo-DdAJ_krx.cjs} +1 -1
  23. package/dist/{annualRainfallChart-DEeyac7q.cjs → annualRainfallChart-BVoSl6rW.cjs} +1 -1
  24. package/dist/{annualRainfallChart-D4Rhc84p.js → annualRainfallChart-C4P7sAvp.js} +2 -2
  25. package/dist/{aqi-BzCTxj0q.js → aqi-BZTi1MAr.js} +2 -2
  26. package/dist/{aqi-CBknBfTF.cjs → aqi-jvYPQWm2.cjs} +1 -1
  27. package/dist/{aqiIndass-CUs24FxP.cjs → aqiIndass-C028TDT1.cjs} +1 -1
  28. package/dist/{aqiIndass-BJGsJsmz.js → aqiIndass-CZfEX0GU.js} +18 -18
  29. package/dist/{areaDeformCurve-bSAkB3Pt.js → areaDeformCurve-B0DUtSgh.js} +2 -2
  30. package/dist/{areaDeformCurve-B8VGdoKK.cjs → areaDeformCurve-BXhSeaoy.cjs} +1 -1
  31. package/dist/{arrayCard-BkD5sytz.js → arrayCard-BlEclzhU.js} +2 -2
  32. package/dist/{arrayCard-kh5WRweD.cjs → arrayCard-CH1c-fdy.cjs} +1 -1
  33. package/dist/{audio-BTrvZwCy.js → audio-DssRoD8a.js} +2 -2
  34. package/dist/{audio-DwJN2gca.cjs → audio-kCcoKcES.cjs} +1 -1
  35. package/dist/{bar-DYIb4143.js → bar-C19ODKbU.js} +2 -2
  36. package/dist/{bar-DsyyzcxB.cjs → bar-Dijd0sQu.cjs} +1 -1
  37. package/dist/{bmp-DbEyuBZw.cjs → bmp-Bxw4TwUB.cjs} +1 -1
  38. package/dist/{bmp-Dt3mSkAr.js → bmp-DUTgixKN.js} +2 -2
  39. package/dist/{box-D7RsK5Qp.js → box-B44mc692.js} +2 -2
  40. package/dist/{box--u3HQFj9.cjs → box-CeE915Ww.cjs} +1 -1
  41. package/dist/{chartConfigPanel-DybQRqg6.cjs → chartConfigPanel-0O_o7wlV.cjs} +1 -1
  42. package/dist/{chartConfigPanel-CD-csrX-.js → chartConfigPanel-w0x44bWL.js} +1 -1
  43. package/dist/circleBar-BJoBZfyx.js +310 -0
  44. package/dist/circleBar-CVYAERg4.cjs +4 -0
  45. package/dist/{clock-Cj0HsizY.js → clock-C5FWG3xy.js} +2 -2
  46. package/dist/{clock-Dc9jgxHT.cjs → clock-CFE1WkOQ.cjs} +1 -1
  47. package/dist/{clt-uJT1jgHk.js → clt-Cycf8W0K.js} +2 -2
  48. package/dist/{clt-CBbtQxMc.cjs → clt-DEzN6BGU.cjs} +1 -1
  49. package/dist/{cmc-JJ6eTxB3.js → cmc-C9PYd5ym.js} +2 -2
  50. package/dist/{cmc-CeTCKLBx.cjs → cmc-DR3T47y4.cjs} +1 -1
  51. package/dist/{cmp-CGZ_2BdE.cjs → cmp-DsKyXUHa.cjs} +1 -1
  52. package/dist/{cmp-D9qlHJoW.js → cmp-Dsc6RprW.js} +2 -2
  53. package/dist/{conclusionCard-BsLeh3yq.js → conclusionCard-BGUQzWMI.js} +2 -2
  54. package/dist/{conclusionCard-CwLwj3zj.cjs → conclusionCard-sUyiTSA6.cjs} +1 -1
  55. package/dist/{controlList-l2ZYM6m5.cjs → controlList-B6EasOKV.cjs} +1 -1
  56. package/dist/{controlList-CYNS0ArB.js → controlList-DeLBnY0K.js} +2 -2
  57. package/dist/{controlRecordList-N79_cTON.cjs → controlRecordList-D63e4vQn.cjs} +1 -1
  58. package/dist/{controlRecordList-BZmCvISO.js → controlRecordList-DCz4Xt9n.js} +2 -2
  59. package/dist/{controlRecordListAPP-aDj520mp.js → controlRecordListAPP-D0cUYXLY.js} +2 -2
  60. package/dist/{controlRecordListAPP-DOzMDV4x.cjs → controlRecordListAPP-pfRdnvv1.cjs} +1 -1
  61. package/dist/{crd-bm_BHuoV.js → crd-B4ZnlIJq.js} +2 -2
  62. package/dist/{crd-CV4kMUTB.cjs → crd-DRUEk13j.cjs} +1 -1
  63. package/dist/{ctrBtn-DYceHTAq.js → ctrBtn-5odXmYf7.js} +17 -17
  64. package/dist/{ctrBtn-Cs6ZmfyJ.cjs → ctrBtn-Bm79a5Sj.cjs} +1 -1
  65. package/dist/{ctrSet-B6PlTSBE.js → ctrSet-B1dpatKF.js} +33 -33
  66. package/dist/ctrSet-BMnG-OkK.cjs +1 -0
  67. package/dist/{ctrSwitch-B9lHJgQn.cjs → ctrSwitch-A9LVcYIN.cjs} +1 -1
  68. package/dist/{ctrSwitch-E0FM_4f2.js → ctrSwitch-C5aPCuez.js} +39 -39
  69. package/dist/{dataManagement-bKmkV2VY.cjs → dataManagement-8NQDTifq.cjs} +1 -1
  70. package/dist/{dataManagement-BAHa-OHl.js → dataManagement-Dqf-T0x4.js} +2 -2
  71. package/dist/{dataReport-B60Rb4sb.js → dataReport-CT4_ly92.js} +2 -2
  72. package/dist/{dataReport-JcrjpK_j.cjs → dataReport-CiB4XAKO.cjs} +1 -1
  73. package/dist/{dataTable-BmvewFlr.js → dataTable-BWc0XycI.js} +1 -1
  74. package/dist/{dataTable-CX6uktOu.cjs → dataTable-BiyK3INj.cjs} +1 -1
  75. package/dist/{datetime-BPM_lGiY.cjs → datetime-BVigJCWY.cjs} +1 -1
  76. package/dist/{datetime-DARBbZJx.js → datetime-Du0fBPZ3.js} +2 -2
  77. package/dist/{deepClusterSlipSurface-BF77Vp7G.js → deepClusterSlipSurface-BJBW_lMx.js} +2 -2
  78. package/dist/{deepClusterSlipSurface-IywdiDlA.cjs → deepClusterSlipSurface-Dh-nEUwt.cjs} +1 -1
  79. package/dist/{deepDataMatrix-sRXkGqdm.cjs → deepDataMatrix-CGCLKdVW.cjs} +1 -1
  80. package/dist/{deepDataMatrix--zgQoWer.js → deepDataMatrix-CMJMtqVu.js} +2 -2
  81. package/dist/{deepDisplacement3D-BYt49pzj.js → deepDisplacement3D-BdzBAOZZ.js} +2 -2
  82. package/dist/{deepDisplacement3D-BET8Ftuc.cjs → deepDisplacement3D-DcwFkrri.cjs} +1 -1
  83. package/dist/{deepDisplacementChart-BGBhipUx.js → deepDisplacementChart-Be9lxAWP.js} +25 -25
  84. package/dist/{deepDisplacementChart-D7loYUI5.cjs → deepDisplacementChart-Ct7iZvof.cjs} +1 -1
  85. package/dist/{deepDisplacementChart-B2zPpsk6.js → deepDisplacementChart-D_dq-XPI.js} +16 -16
  86. package/dist/{deepDisplacementChart-BuuM485C.cjs → deepDisplacementChart-EjGt1LJp.cjs} +1 -1
  87. package/dist/{deepDisplacementView-Bwk9p_Qc.js → deepDisplacementView-1eSVkmqk.js} +1 -1
  88. package/dist/{deepDisplacementView-CTBH3IxP.cjs → deepDisplacementView-VyO91qP0.cjs} +1 -1
  89. package/dist/{deepNodeTemperatureChart-BqTigCTs.js → deepNodeTemperatureChart-BUvEk5T9.js} +2 -2
  90. package/dist/{deepNodeTemperatureChart-CTLHLf0w.cjs → deepNodeTemperatureChart-DPnQPYKr.cjs} +1 -1
  91. package/dist/{deepTangentAngleChart-5oxzMpMF.js → deepTangentAngleChart-5mJOFDsK.js} +2 -2
  92. package/dist/{deepTangentAngleChart-CHxB8OFL.cjs → deepTangentAngleChart-hJHt5aoD.cjs} +1 -1
  93. package/dist/{deepTemperatureField-Cr6YbuR_.cjs → deepTemperatureField-BAS3omfm.cjs} +1 -1
  94. package/dist/{deepTemperatureField-Bhk89D3D.js → deepTemperatureField-DlrB4dKP.js} +3 -3
  95. package/dist/{deepTrendChart-CAbdVR8d.js → deepTrendChart-CLNAoy8P.js} +2 -2
  96. package/dist/{deepTrendChart-Ch94j4W9.cjs → deepTrendChart-DAM_Ds5z.cjs} +1 -1
  97. package/dist/{deviceOnlineStatus-C5ODwFsY.js → deviceOnlineStatus-1UHPkOr2.js} +2 -2
  98. package/dist/{deviceOnlineStatus-DxsTb4Vb.cjs → deviceOnlineStatus-D_oS1F9j.cjs} +1 -1
  99. package/dist/{deviceStatus-DPfOQCSX.js → deviceStatus-CcPjyhrB.js} +10 -10
  100. package/dist/{deviceStatus-CjFTpCaU.cjs → deviceStatus-DdFB86J7.cjs} +1 -1
  101. package/dist/{displacementDataTable-DG36VWok.js → displacementDataTable-B7x4ogcW.js} +9 -9
  102. package/dist/{displacementDataTable-BIqBEkul.cjs → displacementDataTable-NlqtVyYg.cjs} +1 -1
  103. package/dist/{displacementTrajectoryChart-DRltcPfa.cjs → displacementTrajectoryChart-BRy93sPt.cjs} +1 -1
  104. package/dist/{displacementTrajectoryChart-Cpmj24Jn.js → displacementTrajectoryChart-C10Uroic.js} +11 -11
  105. package/dist/{displacementTrendChart-DpD79zii.cjs → displacementTrendChart-B5NRRQzD.cjs} +1 -1
  106. package/dist/{displacementTrendChart-D1yfRFQb.js → displacementTrendChart-D-_Ls7J4.js} +11 -11
  107. package/dist/{dxf-C_9cH0WU.cjs → dxf-B7DB_30i.cjs} +1 -1
  108. package/dist/{dxf-zbCakRgh.js → dxf-CqFFtWRq.js} +2 -2
  109. package/dist/{dzc-CfPVaIgj.js → dzc-BjA7dXWS.js} +2 -2
  110. package/dist/{dzc-CejqHneE.cjs → dzc-DT6Chp2Q.cjs} +1 -1
  111. package/dist/{emergencyPlan-dEwML5xC.cjs → emergencyPlan-DkErPudJ.cjs} +1 -1
  112. package/dist/{emergencyPlan-LbeRH-P9.js → emergencyPlan-IJ0wIcFl.js} +3 -3
  113. package/dist/{evn-DsD_MKQd.js → evn-DeaQXEPO.js} +2 -2
  114. package/dist/{evn-BvgQ3o3T.cjs → evn-Dh71UuO9.cjs} +1 -1
  115. package/dist/{evolutionChart-B4C9qB3I.js → evolutionChart-C3oCrBf3.js} +3 -3
  116. package/dist/{evolutionChart-Dt5-xRsy.cjs → evolutionChart-C7Ae0ZiT.cjs} +1 -1
  117. package/dist/{fileViewer-B0LdLy2P.js → fileViewer-8Us72XkI.js} +2 -2
  118. package/dist/{fileViewer-DZIREgL0.cjs → fileViewer-ERPHU_Zd.cjs} +1 -1
  119. package/dist/{filterBar-D_jcuqwP.cjs → filterBar-CW7bn1-p.cjs} +1 -1
  120. package/dist/{filterBar-Bt6w4_xK.js → filterBar-D9xz6-NL.js} +2 -2
  121. package/dist/{fireCombustionCurve-CHRd1nSv.cjs → fireCombustionCurve-CqiMMU_8.cjs} +1 -1
  122. package/dist/{fireCombustionCurve-C2rWY89D.js → fireCombustionCurve-DIUwJpXU.js} +3 -3
  123. package/dist/{fireFilterBar-CpwHRisZ.js → fireFilterBar-BG-StguC.js} +2 -2
  124. package/dist/{fireFilterBar-DX8qH1rr.cjs → fireFilterBar-Beqb_Dns.cjs} +1 -1
  125. package/dist/{fireHistoryTable-B38M6w5w.cjs → fireHistoryTable-CRzrvuo8.cjs} +1 -1
  126. package/dist/{fireHistoryTable-DcSgHt5q.js → fireHistoryTable-ChqoTAYc.js} +2 -2
  127. package/dist/{gag-qDNPdFJu.cjs → gag-Bx9QvvT7.cjs} +1 -1
  128. package/dist/{gag-BErw_nsf.js → gag-Cf3zHBXx.js} +2 -2
  129. package/dist/{gasStationList-BREZbC_k.js → gasStationList--rmQJ0jp.js} +2 -2
  130. package/dist/{gasStationList-NhJa4GO6.cjs → gasStationList-BjyCsqqM.cjs} +1 -1
  131. package/dist/{geo3dViewer-D9uSt0up.cjs → geo3dViewer-Ch6d1IMg.cjs} +1 -1
  132. package/dist/{geo3dViewer-zAN1eIza.js → geo3dViewer-mDKnyJMa.js} +3 -3
  133. package/dist/{glbModel-C4FiDMM5.cjs → glbModel-DAofoZCs.cjs} +1 -1
  134. package/dist/{glbModel-i6HvK0m8.js → glbModel-aQXnlO7p.js} +2 -2
  135. package/dist/{globalObjectSelector-BrVwJEgp.js → globalObjectSelector-AF67vBmT.js} +1 -1
  136. package/dist/{globalObjectSelector-CR74psMa.cjs → globalObjectSelector-C2t3Jtm6.cjs} +1 -1
  137. package/dist/{gnssFilterBar-BkfBQWXF.cjs → gnssFilterBar-4JNWA-CR.cjs} +1 -1
  138. package/dist/{gnssFilterBar-BEHXIIKI.js → gnssFilterBar-BgpevrmL.js} +2 -2
  139. package/dist/{gnssHistoryTable-DDWGE_ge.js → gnssHistoryTable-De2cn5dP.js} +2 -2
  140. package/dist/{gnssHistoryTable-CQ-7ESYj.cjs → gnssHistoryTable-xnzV8l_Q.cjs} +1 -1
  141. package/dist/{gnssMapView-C9iRAzym.js → gnssMapView-C9IqBqEw.js} +4 -4
  142. package/dist/{gnssMapView-P6ed3l_W.cjs → gnssMapView-D9V5XNlw.cjs} +2 -2
  143. package/dist/{gnssSectionProfile-CIZnF7VA.cjs → gnssSectionProfile-CxXhhOCd.cjs} +1 -1
  144. package/dist/{gnssSectionProfile-BIqyABEf.js → gnssSectionProfile-HfiKe0-s.js} +2 -2
  145. package/dist/{gnssTimeSeriesChart-BgIM5U-H.cjs → gnssTimeSeriesChart-C4onoU3C.cjs} +1 -1
  146. package/dist/{gnssTimeSeriesChart-DqH9JFBF.js → gnssTimeSeriesChart-CvoTHHqa.js} +2 -2
  147. package/dist/{gnssXYTrajectory-CH8864n6.cjs → gnssXYTrajectory-Dug2OwRw.cjs} +1 -1
  148. package/dist/{gnssXYTrajectory-BviUjxG9.js → gnssXYTrajectory-g_pRuL75.js} +2 -2
  149. package/dist/{grd-BhpBxrpa.cjs → grd-CYg3e2B0.cjs} +1 -1
  150. package/dist/{grd-DfkGlcW6.js → grd-DqKnlgw_.js} +20 -20
  151. package/dist/{grdIndass-ByznFwzc.js → grdIndass-CUE7Gb-W.js} +2 -2
  152. package/dist/{grdIndass-DhMfHz31.cjs → grdIndass-D3wFyDpD.cjs} +1 -1
  153. package/dist/{grg-CVBoetQY.js → grg-BpNY4dsd.js} +6 -6
  154. package/dist/{grg-uzBlEm_K.cjs → grg-Cu7muu3_.cjs} +1 -1
  155. package/dist/{gridview-Dt3i1t5d.js → gridview-BLabvs9I.js} +2 -2
  156. package/dist/{gridview-CyXCqWKq.cjs → gridview-BUsfJz0o.cjs} +1 -1
  157. package/dist/{groundwaterFilterBar-BbS81e9a.js → groundwaterFilterBar-BQFayVwl.js} +2 -2
  158. package/dist/{groundwaterFilterBar-C4xCPqa_.cjs → groundwaterFilterBar-f9qXTkoQ.cjs} +1 -1
  159. package/dist/{groundwaterProfileChart-DvjFvCm5.cjs → groundwaterProfileChart-AN7OLcKv.cjs} +2 -2
  160. package/dist/{groundwaterProfileChart-BBPFrt5W.js → groundwaterProfileChart-pVEgD-ec.js} +3 -3
  161. package/dist/{groundwaterTimeCurve-Cb3xlM78.cjs → groundwaterTimeCurve-BoJnmOYq.cjs} +1 -1
  162. package/dist/{groundwaterTimeCurve-CKlvc2nQ.js → groundwaterTimeCurve-DRoycHDe.js} +3 -3
  163. package/dist/{groupCard-BVdjzdqF.cjs → groupCard-Dq6TXOZt.cjs} +1 -1
  164. package/dist/{groupCard-BBzDl9uX.js → groupCard-fPMXeW8L.js} +2 -2
  165. package/dist/{headerBar-B5Z8UviF.cjs → headerBar-Da-XmgLi.cjs} +1 -1
  166. package/dist/{headerBar-Dty08mHR.js → headerBar-ap2M954P.js} +2 -2
  167. package/dist/{history-yI8XiwXi.cjs → history-3PgmioqY.cjs} +1 -1
  168. package/dist/{history-TkSKA8F1.js → history-BC8RESyu.js} +1 -1
  169. package/dist/{index-YNdVib_6.js → index-CqVPeq0-.js} +455 -453
  170. package/dist/index-OgmTZiO-.cjs +612 -0
  171. package/dist/{insarDeformChart-C9UkWIL9.js → insarDeformChart-CKBcUJCV.js} +2 -2
  172. package/dist/{insarDeformChart-Dr9Ve1vY.cjs → insarDeformChart-DABg6b8J.cjs} +1 -1
  173. package/dist/{insarImageViewer-DAKBn2vV.cjs → insarImageViewer-9FpJDh1K.cjs} +1 -1
  174. package/dist/{insarImageViewer-DZbq2xch.js → insarImageViewer-C1XBU0YL.js} +2 -2
  175. package/dist/{kds-BkH8cJCu.cjs → kds-B04fJsat.cjs} +1 -1
  176. package/dist/{kds-__I8-o5i.js → kds-D6TYb16w.js} +21 -21
  177. package/dist/{kpiCard-fRfv1QPb.cjs → kpiCard-Bfi2W9cH.cjs} +1 -1
  178. package/dist/{kpiCard-BzuF0qdE.js → kpiCard-D5S1M8Rs.js} +2 -2
  179. package/dist/{landslideMap-zD8SU2Lh.cjs → landslideMap-CWmIK6ca.cjs} +1 -1
  180. package/dist/{landslideMap-D84pku4Y.js → landslideMap-DXyIahAi.js} +3 -3
  181. package/dist/{landslideWarning-Cq-di-hN.cjs → landslideWarning-CPwRDf3u.cjs} +1 -1
  182. package/dist/{landslideWarning-0mckvEoZ.js → landslideWarning-DaI_F3dC.js} +5 -5
  183. package/dist/{layerTabs-COzqQ9mn.js → layerTabs-DJaWhtYa.js} +2 -2
  184. package/dist/{layerTabs-C2zq6a5M.cjs → layerTabs-DfVZUJvC.cjs} +1 -1
  185. package/dist/{leaflet-src-2tPn7QVH.js → leaflet-src-DU74PJcX.js} +1 -1
  186. package/dist/{leaflet-src-D8MF2j44.cjs → leaflet-src-gpxoqh6Y.cjs} +1 -1
  187. package/dist/{lerc-BHcVhBOn.cjs → lerc-ACN_ZV5f.cjs} +1 -1
  188. package/dist/{lerc-BCmG0CMS.js → lerc-ZmeF7NhV.js} +2 -2
  189. package/dist/{lin-niA_T9Ql.cjs → lin-BqSPUdmV.cjs} +1 -1
  190. package/dist/{lin-CQ6TCBCr.js → lin-DXM61jXV.js} +2 -2
  191. package/dist/{linIndass-J9rdji6E.js → linIndass-DQZjD3lL.js} +12 -12
  192. package/dist/{linIndass-nZx16Vos.cjs → linIndass-jqzXVoXv.cjs} +1 -1
  193. package/dist/{lst-DieyrYCh.js → lst-Bpf41jqR.js} +2 -2
  194. package/dist/{lst-Cw1XCAv0.cjs → lst-C9RrqCgo.cjs} +1 -1
  195. package/dist/{manualEntry-CCmyPMJm.js → manualEntry-BvKEwOnY.js} +2 -2
  196. package/dist/{manualEntry-ChhTpAF2.cjs → manualEntry-wG0RcQYe.cjs} +1 -1
  197. package/dist/{mapBackground-BzOdjhnZ.cjs → mapBackground-DOsGw2Dh.cjs} +1 -1
  198. package/dist/{mapBackground-CiiG2nHi.js → mapBackground-DxQdqWM2.js} +3 -3
  199. package/dist/{mappingList-CoBD8D27.js → mappingList-BRpK5eX_.js} +2 -2
  200. package/dist/{mappingList-D42mILiq.cjs → mappingList-C7qyzN6o.cjs} +1 -1
  201. package/dist/{markdownViewer-C3HUXDvf.js → markdownViewer-CZVNZ8jN.js} +2 -2
  202. package/dist/{markdownViewer-DHs9ekCh.cjs → markdownViewer-C_TA7AX-.cjs} +1 -1
  203. package/dist/{mix-control-modal-BEwriuWS.js → mix-control-modal-DITf1VAp.js} +1 -1
  204. package/dist/{mix-control-modal-DGd2S6Jd.cjs → mix-control-modal-DjG-ChQu.cjs} +1 -1
  205. package/dist/{mixGrid-Cnq99D09.cjs → mixGrid-Zk7NKpBw.cjs} +1 -1
  206. package/dist/{mixGrid-CBenxHD_.js → mixGrid-mbFlywYp.js} +2 -2
  207. package/dist/mixdashboards.cjs +1 -1
  208. package/dist/mixdashboards.css +1 -1
  209. package/dist/mixdashboards.js +1 -1
  210. package/dist/{mixiotObjectListApi-e1qL7PHh.cjs → mixiotObjectListApi-CRPxZbIS.cjs} +1 -1
  211. package/dist/{mixiotObjectListApi-CKJLXcnf.js → mixiotObjectListApi-cTDvF31d.js} +1 -1
  212. package/dist/{mjpegCamera-D8lB701i.js → mjpegCamera-B3m55jok.js} +2 -2
  213. package/dist/{mjpegCamera-DDFrZo-x.cjs → mjpegCamera-Da5NZX0r.cjs} +1 -1
  214. package/dist/{monitorAlert-C-mo-lDe.cjs → monitorAlert-BqUYN_BF.cjs} +1 -1
  215. package/dist/{monitorAlert-Z1dFDfPh.js → monitorAlert-sn_3TrGJ.js} +9 -9
  216. package/dist/{monitorData-CNRfV5Wt.cjs → monitorData-B-dcmDx3.cjs} +1 -1
  217. package/dist/{monitorData-DZhO9Gos.js → monitorData-RhTZn3fI.js} +11 -11
  218. package/dist/{monitorSpeedChart-DrRdMdGD.cjs → monitorSpeedChart-_L0zgWxs.cjs} +1 -1
  219. package/dist/{monitorSpeedChart-C5pN46lO.js → monitorSpeedChart-uWpHlkZd.js} +1 -1
  220. package/dist/{mxa-COpw24fq.cjs → mxa-BNnKgDyq.cjs} +1 -1
  221. package/dist/{mxa-BFQ70ksk.js → mxa-ClEVeLaa.js} +2 -2
  222. package/dist/{myValue-Eb3asTOC.cjs → myValue-DoBpTp1-.cjs} +1 -1
  223. package/dist/{myValue-Dosl4Ro5.js → myValue-Drhoqp_w.js} +2 -2
  224. package/dist/{myValueList-mcqRZanE.cjs → myValueList-BT6mKnwJ.cjs} +1 -1
  225. package/dist/{myValueList-Dkc10vr6.js → myValueList-BfIDIHUe.js} +2 -2
  226. package/dist/{objectList-FWkZ6PAs.js → objectList-CATv4N0g.js} +3 -3
  227. package/dist/{objectList-D4owr3ED.cjs → objectList-CM1T-IQo.cjs} +1 -1
  228. package/dist/{objectListAPP-CdfeZTgm.js → objectListAPP-BG9iL6S_.js} +3 -3
  229. package/dist/{objectListAPP-Bzevu1od.cjs → objectListAPP-lNp3RQsA.cjs} +1 -1
  230. package/dist/percentBar-BOQp427o.js +369 -0
  231. package/dist/percentBar-By73saGo.cjs +5 -0
  232. package/dist/{photo-Dmxxqgrg.cjs → photo-CFomIdjq.cjs} +1 -1
  233. package/dist/{photo-DxXTYq73.js → photo-N8uk9UzU.js} +2 -2
  234. package/dist/{pie-BxpiCEYe.cjs → pie-BzkMCV5O.cjs} +1 -1
  235. package/dist/{pie-COixdWUz.js → pie-DuWuL4rb.js} +2 -2
  236. package/dist/{placeholder-Ole-Or58.cjs → placeholder-B9T7qNoD.cjs} +1 -1
  237. package/dist/{placeholder-CLLNLxRC.js → placeholder-DI_zsp-O.js} +1 -1
  238. package/dist/{pressBtn-DwKg9PbD.cjs → pressBtn-B_D3cFPd.cjs} +1 -1
  239. package/dist/{pressBtn-C7Y-B8Dz.js → pressBtn-D-j1_nDJ.js} +38 -38
  240. package/dist/{processTable-CTkwZWWJ.js → processTable-B-X05x32.js} +2 -2
  241. package/dist/{processTable-DDcKkjJx.cjs → processTable-B5WzGKQr.cjs} +1 -1
  242. package/dist/{progressBar-7qHg67Sf.cjs → progressBar-19d-9U9p.cjs} +1 -1
  243. package/dist/{progressBar-9npgJ9jD.js → progressBar-F61-3H3E.js} +2 -2
  244. package/dist/{progressCircle-DP08TX08.js → progressCircle-Dp4XWdE0.js} +2 -2
  245. package/dist/{progressCircle-Xgjnl1KF.cjs → progressCircle-RZ36ttud.cjs} +1 -1
  246. package/dist/{qrcode-D6wDMo-f.cjs → qrcode-D8C5cFka.cjs} +1 -1
  247. package/dist/{qrcode-ClTSNzEN.js → qrcode-PeEXEcDd.js} +2 -2
  248. package/dist/{raceBar-CTmsN8VC.js → raceBar-BnkzNqH0.js} +2 -2
  249. package/dist/{raceBar-C8mVFHnd.cjs → raceBar-DuCYwMoq.cjs} +1 -1
  250. package/dist/{rad-DWCSD35t.js → rad-BdQ-1k0K.js} +66 -56
  251. package/dist/{rad-Dxaakm82.cjs → rad-DND2sEzm.cjs} +1 -1
  252. package/dist/{radarMapViewer-eEBE3MS-.js → radarMapViewer-BUT7ZD47.js} +2 -2
  253. package/dist/{radarMapViewer-U7IQJjQs.cjs → radarMapViewer-BtwXLg65.cjs} +1 -1
  254. package/dist/{rainfallFilterBar-DJTDGu7Z.js → rainfallFilterBar-0IX3rYUD.js} +2 -2
  255. package/dist/{rainfallFilterBar-ow_wdOwq.cjs → rainfallFilterBar-BVD1fsJF.cjs} +1 -1
  256. package/dist/{rainfallTimeCurve-CwGmJhxu.js → rainfallTimeCurve-BIt0Ax0l.js} +3 -3
  257. package/dist/{rainfallTimeCurve-BL1I5Z2D.cjs → rainfallTimeCurve-DvYAvU9a.cjs} +1 -1
  258. package/dist/{rangeLin-BqcJpIva.js → rangeLin-BpAilzGc.js} +2 -2
  259. package/dist/{rangeLin-BEz9xapa.cjs → rangeLin-DKjgf_Ab.cjs} +1 -1
  260. package/dist/{realtimeEvolutionMap-NOkyU7G3.js → realtimeEvolutionMap-5rOyArZq.js} +2 -2
  261. package/dist/{realtimeEvolutionMap-mzXlR8gS.cjs → realtimeEvolutionMap-Feks0bxX.cjs} +1 -1
  262. package/dist/{regionBar-DDk-2UWS.js → regionBar-D2if9Cyv.js} +2 -2
  263. package/dist/{regionBar-CEfz0Yol.cjs → regionBar-oWO1HZta.cjs} +1 -1
  264. package/dist/{request-BIXfJXjX.js → request-BAa7KXPI.js} +1 -1
  265. package/dist/{request-BfG3yDz6.cjs → request-DRttaVjf.cjs} +1 -1
  266. package/dist/{retainer1-Cz5rXIJj.js → retainer1-Bz3hKsxS.js} +3 -3
  267. package/dist/{retainer1-Ch1oZMeA.cjs → retainer1-CA3lV3eb.cjs} +1 -1
  268. package/dist/{retainer2-DJ1R2GJE.cjs → retainer2-BnfP4WPr.cjs} +1 -1
  269. package/dist/{retainer2-DeelXgAZ.js → retainer2-UsoVsRXo.js} +3 -3
  270. package/dist/{retainerRecordList-DyhfjtfF.js → retainerRecordList-DbXRpaHy.js} +2 -2
  271. package/dist/{retainerRecordList-D3MsCnqy.cjs → retainerRecordList-jkXbz9xr.cjs} +1 -1
  272. package/dist/{retainerRecordListAPP-B_hCyRak.cjs → retainerRecordListAPP-CS4s1t0e.cjs} +1 -1
  273. package/dist/{retainerRecordListAPP-3Gr7db3D.js → retainerRecordListAPP-DI4f5Q6f.js} +2 -2
  274. package/dist/{ringTopN-fLinQVwX.cjs → ringTopN-BBryDUi9.cjs} +1 -1
  275. package/dist/{ringTopN-t9xaVCWg.js → ringTopN-BCZhDz0U.js} +2 -2
  276. package/dist/{riskRegionTable-CagcISBC.cjs → riskRegionTable-DtG9zTy5.cjs} +1 -1
  277. package/dist/{riskRegionTable-BThwQbTf.js → riskRegionTable-Dw573XX4.js} +2 -2
  278. package/dist/{sankey-BY_nwThw.cjs → sankey-BNmzRTH5.cjs} +1 -1
  279. package/dist/{sankey-Bwm0omQr.js → sankey-DHbOEbzP.js} +2 -2
  280. package/dist/{scd-DeYC1Rqx.js → scd-CNcTAStO.js} +2 -2
  281. package/dist/{scd-Bs1dG1w8.cjs → scd-Cf68XDF5.cjs} +1 -1
  282. package/dist/{sideMenu-CAEh3bwF.cjs → sideMenu-BW8ddV-x.cjs} +1 -1
  283. package/dist/{sideMenu-Db_Nc_xz.js → sideMenu-DKAAQcWF.js} +2 -2
  284. package/dist/{slopeStability-CVC68Qcj.js → slopeStability-Ds4exWb_.js} +10 -10
  285. package/dist/{slopeStability-BWg6jhBB.cjs → slopeStability-eVwuAmlY.cjs} +1 -1
  286. package/dist/{speedCurve-CK4CXHeC.js → speedCurve-B_j8P273.js} +2 -2
  287. package/dist/{speedCurve-DNNEIz4o.cjs → speedCurve-PtxSVJ8J.cjs} +1 -1
  288. package/dist/stackedBar-CC0JmrlS.cjs +2 -0
  289. package/dist/stackedBar-uMr9A877.js +325 -0
  290. package/dist/{stressFilterBar-DQ8nq8jV.js → stressFilterBar-B02kr6zY.js} +2 -2
  291. package/dist/{stressFilterBar-Cigl3IyR.cjs → stressFilterBar-Dh4fWQ90.cjs} +1 -1
  292. package/dist/{stressTimeCurve-BiduKfcg.cjs → stressTimeCurve-6eALY4dC.cjs} +1 -1
  293. package/dist/{stressTimeCurve-BEANw1F8.js → stressTimeCurve-D_Rc1PAY.js} +3 -3
  294. package/dist/{swiper-BgkvIN5U.js → swiper-BsAeDuw3.js} +2 -2
  295. package/dist/{swiper-MIRXMnxk.cjs → swiper-CMP_sa_i.cjs} +1 -1
  296. package/dist/{terminalConfigList-B3lqvQel.js → terminalConfigList-BjbgbZHU.js} +2 -2
  297. package/dist/{terminalConfigList-C3zRbQvM.cjs → terminalConfigList-C83kqf7d.cjs} +1 -1
  298. package/dist/{terminalList-ArxJ1jdO.cjs → terminalList-BnitlFL5.cjs} +1 -1
  299. package/dist/{terminalList-BevfdySj.js → terminalList-DPOBOIu3.js} +2 -2
  300. package/dist/{terminalListAPP-Cs0nnBfc.cjs → terminalListAPP-CSYL2-0G.cjs} +1 -1
  301. package/dist/{terminalListAPP-CbpVft_s.js → terminalListAPP-DI6ePX4Y.js} +2 -2
  302. package/dist/{textbox-CjkfmdaO.js → textbox-Dk4Q0jq3.js} +2 -2
  303. package/dist/{textbox-DC9YLTn5.cjs → textbox-OEvn1Q-J.cjs} +1 -1
  304. package/dist/{timeQueryBar-B69eldHQ.cjs → timeQueryBar-Bnqyhyy7.cjs} +1 -1
  305. package/dist/{timeQueryBar-CXd9yNgD.js → timeQueryBar-CoFozltp.js} +1 -1
  306. package/dist/{timeSeries-CLnLd-gX.js → timeSeries-BYWoWCYY.js} +3 -3
  307. package/dist/{timeSeries-fB14CgRy.cjs → timeSeries-Dw-90k-1.cjs} +1 -1
  308. package/dist/{timeSeriesCurve-DOaxDpjr.cjs → timeSeriesCurve-BkdQ_KeE.cjs} +1 -1
  309. package/dist/{timeSeriesCurve-CMcCzR13.js → timeSeriesCurve-iPezzxLC.js} +3 -3
  310. package/dist/{toggleBtn-BiUyrx_o.cjs → toggleBtn-BC4vsMGo.cjs} +1 -1
  311. package/dist/{toggleBtn-CWmuTxSD.js → toggleBtn-CAXFfijH.js} +2 -2
  312. package/dist/{trajectoryConfigPanel-D7IDlQIH.cjs → trajectoryConfigPanel-BXpItzqc.cjs} +1 -1
  313. package/dist/{trajectoryConfigPanel-DKLN3KY5.js → trajectoryConfigPanel-DlN8AZFo.js} +1 -1
  314. package/dist/{trajectoryScatter-TEactc8J.js → trajectoryScatter-CxDHL1um.js} +2 -2
  315. package/dist/{trajectoryScatter-CL-2FKZe.cjs → trajectoryScatter-_1LoFjV7.cjs} +1 -1
  316. package/dist/{universalConfigPanel-B8JIiLXp.cjs → universalConfigPanel-B6jchzUf.cjs} +1 -1
  317. package/dist/{universalConfigPanel-wicv4Ypw.js → universalConfigPanel-BlDmNWc0.js} +1 -1
  318. package/dist/{universalTable-BlTdL3c0.cjs → universalTable-C-oWFP8u.cjs} +1 -1
  319. package/dist/{universalTable-8e3LrZvD.js → universalTable-DbqMwXuL.js} +2 -2
  320. package/dist/{video-DpRcCZZQ.js → video-DHJ-flUN.js} +2 -2
  321. package/dist/{video-nPkrKQyL.cjs → video-HxDzMY56.cjs} +1 -1
  322. package/dist/{videoMonitor-DOVw5mE0.cjs → videoMonitor-CGlM7hRf.cjs} +1 -1
  323. package/dist/{videoMonitor-Z_7cZk5Y.js → videoMonitor-Golf73FP.js} +9 -9
  324. package/dist/{vlu-BQCrHSlq.js → vlu-Wd6itaBz.js} +2 -2
  325. package/dist/{vlu-DEIgGiO-.cjs → vlu-ZFZU2wAQ.cjs} +1 -1
  326. package/dist/{warningOverview-DXJNk5bT.cjs → warningOverview-BkDN-4f-.cjs} +1 -1
  327. package/dist/{warningOverview-C7J5aXTJ.js → warningOverview-DuBMKv_H.js} +3 -3
  328. package/dist/{weather-C1sjTcwC.js → weather-BRKZBZR9.js} +2 -2
  329. package/dist/{weather-B1Pfcn75.cjs → weather-C_9Xmi0b.cjs} +1 -1
  330. package/dist/{windLin-QKZKJ1h_.cjs → windLin-6KfyL12C.cjs} +1 -1
  331. package/dist/{windLin-vlM63Hu7.js → windLin-DCZqaY1W.js} +2 -2
  332. package/package.json +1 -1
  333. package/dist/circleBar-4md65KCX.js +0 -305
  334. package/dist/circleBar-DJY37bwB.cjs +0 -5
  335. package/dist/ctrSet-XqnGgYPn.cjs +0 -1
  336. package/dist/index-6QhTSPkL.cjs +0 -612
@@ -1 +1 @@
1
- "use strict";var Z=Object.defineProperty,ee=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var j=(c,n,i)=>n in c?Z(c,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[n]=i,P=(c,n)=>{for(var i in n||(n={}))le.call(n,i)&&j(c,i,n[i]);if(L)for(var i of L(n))ae.call(n,i)&&j(c,i,n[i]);return c},H=(c,n)=>ee(c,te(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue");require("html2canvas");const oe=require("./BaseComponent-bzb58Hhs.cjs"),d=require("./index-6QhTSPkL.cjs"),q=require("./ele-lin-icon-Dke_1AmT.cjs"),ne={class:"filter-bar"},re={key:0,class:"filter-item"},ie={key:1,class:"filter-item"},se={key:2,class:"filter-item"},ce={key:3,class:"filter-item"},ue={class:"time-range-btns"},de=["onClick"],me={key:4,class:"filter-item date-picker-item"},pe={DEFAULT_ICON:q.DEFAULT_ICON,ACTIVE_ICON:q.ACTIVE_ICON,NAME_CN:"GNSS筛选栏",NAME_EN:"GNSS Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},ve={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},borderColor:{value:"#e8ecef",type:"color",label:"边框颜色"},btnActiveColor:{value:"#409eff",type:"color",label:"按钮激活颜色"},padding:{value:8,type:"number",label:"component.options.padding",min:0,max:40},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},showAreaFilter:{value:!0,type:"checkbox",label:"显示区域筛选"},showLineFilter:{value:!0,type:"checkbox",label:"显示监测线筛选"},showPointFilter:{value:!0,type:"checkbox",label:"显示监测点筛选"},showTimeRange:{value:!0,type:"checkbox",label:"显示时间范围"},showDatePicker:{value:!0,type:"checkbox",label:"显示日期选择器"},showQueryBtn:{value:!0,type:"checkbox",label:"显示查询按钮"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},fe=[{object_id:"",area:"北帮",line:"1号线",point:"35"},{object_id:"",area:"北帮",line:"1号线",point:"55"},{object_id:"",area:"北帮",line:"2号线",point:"110"},{object_id:"",area:"东帮",line:"3号线",point:"33"}],be=["object_id","area","line","point"],ye=["mosaic"],ke={useAlias:!1,multiObject:!0,source:"mosaic"},ge={DEFAULT:pe,OPTIONS:ve,DATA:fe,PARAMS:be,SOURCE:ye,COMMON:ke},he=t.defineComponent(H(P({},ge),{__name:"gnssFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(c){const n=c;class i extends oe.BaseComponent{extractStyles(){var v,f,a,C,B,S,E,V,N,x,R,F,A,D,Y,T,M,z,O;const e=(v=this.props.conf)==null?void 0:v.options,s=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"gnss",u=((a=e==null?void 0:e.customChannel)==null?void 0:a.value)||"";return{bgColor:((C=e==null?void 0:e.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((B=e==null?void 0:e.textColor)==null?void 0:B.value)||"#333333",labelColor:((S=e==null?void 0:e.labelColor)==null?void 0:S.value)||"#1c3d90",borderColor:((E=e==null?void 0:e.borderColor)==null?void 0:E.value)||"#e8ecef",btnActiveColor:((V=e==null?void 0:e.btnActiveColor)==null?void 0:V.value)||"#409eff",padding:(x=(N=e==null?void 0:e.padding)==null?void 0:N.value)!=null?x:8,fontSize:(F=(R=e==null?void 0:e.fontSize)==null?void 0:R.value)!=null?F:13,showAreaFilter:((A=e==null?void 0:e.showAreaFilter)==null?void 0:A.value)!==!1,showLineFilter:((D=e==null?void 0:e.showLineFilter)==null?void 0:D.value)!==!1,showPointFilter:((Y=e==null?void 0:e.showPointFilter)==null?void 0:Y.value)!==!1,showTimeRange:((T=e==null?void 0:e.showTimeRange)==null?void 0:T.value)!==!1,showDatePicker:((M=e==null?void 0:e.showDatePicker)==null?void 0:M.value)!==!1,showQueryBtn:((z=e==null?void 0:e.showQueryBtn)==null?void 0:z.value)!==!1,defaultTimeRange:((O=e==null?void 0:e.defaultTimeRange)==null?void 0:O.value)||"1d",linkChannel:s==="custom"&&u?u:s}}}const m=new i(n,"gnssFilterBar");m.setupLifecycle();const r=m.getStyle(),w=t.computed(()=>{var l;return((l=n.conf)==null?void 0:l.data)||[]}),y=t.computed(()=>{const l=new Set;return w.value.filter(e=>e.point&&!l.has(e.point)?(l.add(e.point),!0):!1)}),I=t.computed(()=>{const l=new Set;return y.value.forEach(e=>e.area&&l.add(e.area)),Array.from(l).map(e=>({label:e,value:e}))}),_=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area).forEach(e=>e.line&&l.add(e.line)),Array.from(l).map(e=>({label:e,value:e}))}),k=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area&&e.line===o.line).forEach(e=>e.point&&l.add(e.point)),Array.from(l).map(e=>({label:e,value:e}))}),U=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],g=(()=>{var e;const l=(((e=n.conf)==null?void 0:e.data)||[]).find(s=>!!s.point);return{area:(l==null?void 0:l.area)||"",line:(l==null?void 0:l.line)||"",point:(l==null?void 0:l.point)||""}})(),h=r.value.defaultTimeRange||"1d",Q=h==="1w"?d.dayjs().subtract(1,"week"):h==="1m"?d.dayjs().subtract(1,"month"):d.dayjs().subtract(1,"day"),o=t.reactive({area:g.area,line:g.line,point:g.point,timeRange:h,dateRange:[Q.format("YYYY/MM/DD HH:mm"),d.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>{var e;const l=_.value;o.line=((e=l[0])==null?void 0:e.value)||"",t.nextTick(()=>{var u;const s=k.value;o.point=((u=s[0])==null?void 0:u.value)||""})},G=()=>{var e;const l=k.value;o.point=((e=l[0])==null?void 0:e.value)||""},W=l=>{o.timeRange=l;const e=d.dayjs(),s=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");o.dateRange=[s.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},J=()=>{if(n.mode==="edit")return;const l=w.value.find(e=>e.area===o.area&&e.line===o.line&&e.point===o.point);m.publish({type:"filter",area:o.area,line:o.line,point:o.point,objectId:(l==null?void 0:l.object_id)||"",timeRange:o.timeRange,dateRange:[...o.dateRange]})},K=t.computed(()=>({backgroundColor:r.value.bgColor,color:r.value.textColor,fontSize:`${r.value.fontSize}px`,borderBottom:`1px solid ${r.value.borderColor}`})),p=t.computed(()=>({color:r.value.labelColor,fontSize:`${r.value.fontSize}px`})),X=t.computed(()=>({color:"#fff",background:r.value.btnActiveColor,borderColor:r.value.btnActiveColor}));return t.onMounted(()=>{m.init()}),t.onUnmounted(()=>{m.cleanup()}),(l,e)=>{const s=b.ElOption,u=b.ElSelect,v=b.ElDatePicker,f=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"gnss-filter-bar-wrap",style:t.normalizeStyle(K.value)},[t.createElementVNode("div",ne,[t.unref(r).showAreaFilter?(t.openBlock(),t.createElementBlock("div",re,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"区域位置:",4),t.createVNode(u,{modelValue:o.area,"onUpdate:modelValue":e[0]||(e[0]=a=>o.area=a),size:"small",style:{width:"90px"},onChange:$},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showLineFilter?(t.openBlock(),t.createElementBlock("div",ie,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测线:",4),t.createVNode(u,{modelValue:o.line,"onUpdate:modelValue":e[1]||(e[1]=a=>o.line=a),size:"small",style:{width:"90px"},onChange:G},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showPointFilter?(t.openBlock(),t.createElementBlock("div",se,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测点:",4),t.createVNode(u,{modelValue:o.point,"onUpdate:modelValue":e[2]||(e[2]=a=>o.point=a),size:"small",style:{width:"80px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showTimeRange?(t.openBlock(),t.createElementBlock("div",ce,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"时间范围:",4),t.createElementVNode("div",ue,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(U,a=>t.createElementVNode("button",{key:a.value,class:t.normalizeClass(["range-btn",{active:o.timeRange===a.value}]),style:t.normalizeStyle(o.timeRange===a.value?X.value:{}),onClick:C=>W(a.value)},t.toDisplayString(a.label),15,de)),64))])])):t.createCommentVNode("",!0),t.unref(r).showDatePicker?(t.openBlock(),t.createElementBlock("div",me,[t.createVNode(v,{modelValue:o.dateRange,"onUpdate:modelValue":e[3]||(e[3]=a=>o.dateRange=a),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{"max-width":"340px","min-width":"200px",width:"100%"}},null,8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showQueryBtn?(t.openBlock(),t.createBlock(f,{key:5,type:"primary",size:"small",onClick:J},{default:t.withCtx(()=>[...e[4]||(e[4]=[t.createTextVNode("查询",-1)])]),_:1})):t.createCommentVNode("",!0)]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Ce=d._export_sfc(he,[["__scopeId","data-v-2639ea88"]]);exports.default=Ce;
1
+ "use strict";var Z=Object.defineProperty,ee=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var j=(c,n,i)=>n in c?Z(c,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[n]=i,P=(c,n)=>{for(var i in n||(n={}))le.call(n,i)&&j(c,i,n[i]);if(L)for(var i of L(n))ae.call(n,i)&&j(c,i,n[i]);return c},H=(c,n)=>ee(c,te(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue");require("html2canvas");const oe=require("./BaseComponent-DaYX7dUF.cjs"),d=require("./index-OgmTZiO-.cjs"),q=require("./ele-lin-icon-Dke_1AmT.cjs"),ne={class:"filter-bar"},re={key:0,class:"filter-item"},ie={key:1,class:"filter-item"},se={key:2,class:"filter-item"},ce={key:3,class:"filter-item"},ue={class:"time-range-btns"},de=["onClick"],me={key:4,class:"filter-item date-picker-item"},pe={DEFAULT_ICON:q.DEFAULT_ICON,ACTIVE_ICON:q.ACTIVE_ICON,NAME_CN:"GNSS筛选栏",NAME_EN:"GNSS Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},ve={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},borderColor:{value:"#e8ecef",type:"color",label:"边框颜色"},btnActiveColor:{value:"#409eff",type:"color",label:"按钮激活颜色"},padding:{value:8,type:"number",label:"component.options.padding",min:0,max:40},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},showAreaFilter:{value:!0,type:"checkbox",label:"显示区域筛选"},showLineFilter:{value:!0,type:"checkbox",label:"显示监测线筛选"},showPointFilter:{value:!0,type:"checkbox",label:"显示监测点筛选"},showTimeRange:{value:!0,type:"checkbox",label:"显示时间范围"},showDatePicker:{value:!0,type:"checkbox",label:"显示日期选择器"},showQueryBtn:{value:!0,type:"checkbox",label:"显示查询按钮"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},fe=[{object_id:"",area:"北帮",line:"1号线",point:"35"},{object_id:"",area:"北帮",line:"1号线",point:"55"},{object_id:"",area:"北帮",line:"2号线",point:"110"},{object_id:"",area:"东帮",line:"3号线",point:"33"}],be=["object_id","area","line","point"],ye=["mosaic"],ke={useAlias:!1,multiObject:!0,source:"mosaic"},ge={DEFAULT:pe,OPTIONS:ve,DATA:fe,PARAMS:be,SOURCE:ye,COMMON:ke},he=t.defineComponent(H(P({},ge),{__name:"gnssFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(c){const n=c;class i extends oe.BaseComponent{extractStyles(){var v,f,a,C,B,S,E,V,N,x,R,F,A,D,Y,T,M,z,O;const e=(v=this.props.conf)==null?void 0:v.options,s=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"gnss",u=((a=e==null?void 0:e.customChannel)==null?void 0:a.value)||"";return{bgColor:((C=e==null?void 0:e.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((B=e==null?void 0:e.textColor)==null?void 0:B.value)||"#333333",labelColor:((S=e==null?void 0:e.labelColor)==null?void 0:S.value)||"#1c3d90",borderColor:((E=e==null?void 0:e.borderColor)==null?void 0:E.value)||"#e8ecef",btnActiveColor:((V=e==null?void 0:e.btnActiveColor)==null?void 0:V.value)||"#409eff",padding:(x=(N=e==null?void 0:e.padding)==null?void 0:N.value)!=null?x:8,fontSize:(F=(R=e==null?void 0:e.fontSize)==null?void 0:R.value)!=null?F:13,showAreaFilter:((A=e==null?void 0:e.showAreaFilter)==null?void 0:A.value)!==!1,showLineFilter:((D=e==null?void 0:e.showLineFilter)==null?void 0:D.value)!==!1,showPointFilter:((Y=e==null?void 0:e.showPointFilter)==null?void 0:Y.value)!==!1,showTimeRange:((T=e==null?void 0:e.showTimeRange)==null?void 0:T.value)!==!1,showDatePicker:((M=e==null?void 0:e.showDatePicker)==null?void 0:M.value)!==!1,showQueryBtn:((z=e==null?void 0:e.showQueryBtn)==null?void 0:z.value)!==!1,defaultTimeRange:((O=e==null?void 0:e.defaultTimeRange)==null?void 0:O.value)||"1d",linkChannel:s==="custom"&&u?u:s}}}const m=new i(n,"gnssFilterBar");m.setupLifecycle();const r=m.getStyle(),w=t.computed(()=>{var l;return((l=n.conf)==null?void 0:l.data)||[]}),y=t.computed(()=>{const l=new Set;return w.value.filter(e=>e.point&&!l.has(e.point)?(l.add(e.point),!0):!1)}),I=t.computed(()=>{const l=new Set;return y.value.forEach(e=>e.area&&l.add(e.area)),Array.from(l).map(e=>({label:e,value:e}))}),_=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area).forEach(e=>e.line&&l.add(e.line)),Array.from(l).map(e=>({label:e,value:e}))}),k=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area&&e.line===o.line).forEach(e=>e.point&&l.add(e.point)),Array.from(l).map(e=>({label:e,value:e}))}),U=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],g=(()=>{var e;const l=(((e=n.conf)==null?void 0:e.data)||[]).find(s=>!!s.point);return{area:(l==null?void 0:l.area)||"",line:(l==null?void 0:l.line)||"",point:(l==null?void 0:l.point)||""}})(),h=r.value.defaultTimeRange||"1d",Q=h==="1w"?d.dayjs().subtract(1,"week"):h==="1m"?d.dayjs().subtract(1,"month"):d.dayjs().subtract(1,"day"),o=t.reactive({area:g.area,line:g.line,point:g.point,timeRange:h,dateRange:[Q.format("YYYY/MM/DD HH:mm"),d.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>{var e;const l=_.value;o.line=((e=l[0])==null?void 0:e.value)||"",t.nextTick(()=>{var u;const s=k.value;o.point=((u=s[0])==null?void 0:u.value)||""})},G=()=>{var e;const l=k.value;o.point=((e=l[0])==null?void 0:e.value)||""},W=l=>{o.timeRange=l;const e=d.dayjs(),s=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");o.dateRange=[s.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},J=()=>{if(n.mode==="edit")return;const l=w.value.find(e=>e.area===o.area&&e.line===o.line&&e.point===o.point);m.publish({type:"filter",area:o.area,line:o.line,point:o.point,objectId:(l==null?void 0:l.object_id)||"",timeRange:o.timeRange,dateRange:[...o.dateRange]})},K=t.computed(()=>({backgroundColor:r.value.bgColor,color:r.value.textColor,fontSize:`${r.value.fontSize}px`,borderBottom:`1px solid ${r.value.borderColor}`})),p=t.computed(()=>({color:r.value.labelColor,fontSize:`${r.value.fontSize}px`})),X=t.computed(()=>({color:"#fff",background:r.value.btnActiveColor,borderColor:r.value.btnActiveColor}));return t.onMounted(()=>{m.init()}),t.onUnmounted(()=>{m.cleanup()}),(l,e)=>{const s=b.ElOption,u=b.ElSelect,v=b.ElDatePicker,f=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"gnss-filter-bar-wrap",style:t.normalizeStyle(K.value)},[t.createElementVNode("div",ne,[t.unref(r).showAreaFilter?(t.openBlock(),t.createElementBlock("div",re,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"区域位置:",4),t.createVNode(u,{modelValue:o.area,"onUpdate:modelValue":e[0]||(e[0]=a=>o.area=a),size:"small",style:{width:"90px"},onChange:$},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showLineFilter?(t.openBlock(),t.createElementBlock("div",ie,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测线:",4),t.createVNode(u,{modelValue:o.line,"onUpdate:modelValue":e[1]||(e[1]=a=>o.line=a),size:"small",style:{width:"90px"},onChange:G},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showPointFilter?(t.openBlock(),t.createElementBlock("div",se,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测点:",4),t.createVNode(u,{modelValue:o.point,"onUpdate:modelValue":e[2]||(e[2]=a=>o.point=a),size:"small",style:{width:"80px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showTimeRange?(t.openBlock(),t.createElementBlock("div",ce,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"时间范围:",4),t.createElementVNode("div",ue,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(U,a=>t.createElementVNode("button",{key:a.value,class:t.normalizeClass(["range-btn",{active:o.timeRange===a.value}]),style:t.normalizeStyle(o.timeRange===a.value?X.value:{}),onClick:C=>W(a.value)},t.toDisplayString(a.label),15,de)),64))])])):t.createCommentVNode("",!0),t.unref(r).showDatePicker?(t.openBlock(),t.createElementBlock("div",me,[t.createVNode(v,{modelValue:o.dateRange,"onUpdate:modelValue":e[3]||(e[3]=a=>o.dateRange=a),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{"max-width":"340px","min-width":"200px",width:"100%"}},null,8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showQueryBtn?(t.openBlock(),t.createBlock(f,{key:5,type:"primary",size:"small",onClick:J},{default:t.withCtx(()=>[...e[4]||(e[4]=[t.createTextVNode("查询",-1)])]),_:1})):t.createCommentVNode("",!0)]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Ce=d._export_sfc(he,[["__scopeId","data-v-2639ea88"]]);exports.default=Ce;
@@ -18,8 +18,8 @@ import "element-plus/es/components/select/style/css";
18
18
  import "element-plus/es/components/option/style/css";
19
19
  import { defineComponent as ye, computed as m, reactive as he, onMounted as ge, onUnmounted as Ce, openBlock as r, createElementBlock as c, normalizeStyle as v, createElementVNode as p, unref as f, createVNode as w, withCtx as k, Fragment as S, renderList as R, createBlock as x, createCommentVNode as b, normalizeClass as _e, toDisplayString as we, createTextVNode as ke, renderSlot as Se, nextTick as Re } from "vue";
20
20
  import "html2canvas";
21
- import { B as xe } from "./BaseComponent-Dwhb9Mde.js";
22
- import { d as h, _ as Ae } from "./index-YNdVib_6.js";
21
+ import { B as xe } from "./BaseComponent-CEp8NJiX.js";
22
+ import { d as h, _ as Ae } from "./index-CqVPeq0-.js";
23
23
  import { A as De, D as Ye } from "./ele-lin-icon-Dax-ZiWV.js";
24
24
  const Fe = { class: "filter-bar" }, Me = {
25
25
  key: 0,
@@ -33,9 +33,9 @@ import "element-plus/es/components/select/style/css";
33
33
  import "element-plus/es/components/option/style/css";
34
34
  import { defineComponent as Ht, ref as V, reactive as dt, computed as q, onMounted as jt, openBlock as j, createElementBlock as E, normalizeStyle as ut, createElementVNode as l, toDisplayString as G, createVNode as $, withCtx as mt, Fragment as Z, renderList as tt, normalizeClass as ft, createCommentVNode as Et, renderSlot as Ot } from "vue";
35
35
  import "html2canvas";
36
- import { d as S, a as Nt, _ as Rt } from "./index-YNdVib_6.js";
36
+ import { d as S, a as Nt, _ as Rt } from "./index-CqVPeq0-.js";
37
37
  import "element-plus";
38
- import { E as It } from "./EChartComponentBase-BmS2KONN.js";
38
+ import { E as It } from "./EChartComponentBase-B-VNAC8K.js";
39
39
  import { A as Tt, D as Vt } from "./ele-lin-icon-Dax-ZiWV.js";
40
40
  const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, Lt = { class: "table-title" }, Pt = { class: "table-toolbar" }, qt = { class: "table-scroll-wrapper" }, Kt = { class: "report-table" }, Ut = { key: 0 }, Bt = ["colspan"], zt = { class: "table-pagination" }, Xt = { class: "page-info" }, Wt = { class: "page-controls" }, Jt = ["disabled"], Qt = { class: "page-num" }, Zt = ["disabled"], te = {
41
41
  DEFAULT_ICON: Vt,
@@ -1,3 +1,3 @@
1
- "use strict";var pe=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var m=Math.pow,ee=(p,s,d)=>s in p?pe(p,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[s]=d,te=(p,s)=>{for(var d in s||(s={}))ge.call(s,d)&&ee(p,d,s[d]);if(Z)for(var d of Z(s))ve.call(s,d)&&ee(p,d,s[d]);return p},ne=(p,s)=>fe(p,ye(s));var U=(p,s,d)=>new Promise((F,R)=>{var _=M=>{try{y(d.next(M))}catch(x){R(x)}},V=M=>{try{y(d.throw(M))}catch(x){R(x)}},y=M=>M.done?F(M.value):Promise.resolve(M.value).then(_,V);y((d=d.apply(p,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const v=require("./index-6QhTSPkL.cjs");require("element-plus");const _e=require("./EChartComponentBase-CMN_pOMr.cjs"),oe=require("./ele-lin-icon-Dke_1AmT.cjs"),be={class:"table-section"},he={class:"table-section-header"},Se={class:"table-title"},xe={class:"table-toolbar"},De={class:"table-scroll-wrapper"},Ye={class:"report-table"},Ee={key:0},Me=["colspan"],Ne={class:"table-pagination"},ke={class:"page-info"},Ce={class:"page-controls"},je=["disabled"],we={class:"page-num"},Fe=["disabled"],Ve={DEFAULT_ICON:oe.DEFAULT_ICON,ACTIVE_ICON:oe.ACTIVE_ICON,NAME_CN:"GNSS历史明细报表",NAME_EN:"GNSS History Table",ORDER:5,PLATFORM:["pc","screen"]},Ae={bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},He=[{name:"序号",fv:"_index",object_id:""},{name:"时间",fv:"_time",object_id:""}],Oe=["name","fv","object_id"],Re=["mosaic","statistics","statisticsRealtime"],Ie={useAlias:!1,multiObject:!0,hideMultiObject:!1,source:"mosaic"},qe={DEFAULT:Ve,OPTIONS:Ae,DATA:He,PARAMS:Oe,SOURCE:Re,COMMON:Ie},Be=e.defineComponent(ne(te({},qe),{__name:"gnssHistoryTable",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(p){const s=p;class d extends _e.EChartComponentBase{constructor(){super(...arguments),this._lastDedupeKey=""}extractStyles(){const t=this.getOptionValue("linkChannel","gnss"),o=this.getOptionValue("customChannel","");return{bgColor:this.getOptionValue("bgColor","#f5f7fa"),textColor:this.getOptionValue("textColor","#333333"),linkChannel:t==="custom"&&o?o:t}}getChartOption(){return{}}onLinkEvent(t){ce(t)}needsHistoryData(){return!1}onPreview(){return U(this,null,function*(){var o,i,r,a,c;const t=((i=(o=this.props.conf)==null?void 0:o.common)==null?void 0:i.object_id)||((c=(a=(r=this.props.conf)==null?void 0:r.data)==null?void 0:a[0])==null?void 0:c.object_id)||"";t&&this.props.mode==="preview"&&(y.value=String(t),M.value=[String(t)],yield $())})}setSocketData(t){if(!t||!t.data)return;const{data:o}=this.props.conf;if(!o||!Array.isArray(o))return;const i=["_index","_time"],r=t.datetime||v.dayjs().format("YYYY/MM/DD HH:mm:ss"),a=`${r}_${JSON.stringify(t.data)}`;if(a===this._lastDedupeKey)return;this._lastDedupeKey=a;const c={};if(o.forEach(u=>{if(u.fv&&!i.includes(u.fv)){const h=this.extractDataValue(t,u.fv);h!=null&&(c[u.fv]=String(h))}}),Object.keys(c).length===0)return;const l={time:r,area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:c};D.rows.unshift(l),D.rows.length>1e3&&(D.rows=D.rows.slice(0,1e3))}}const F=new d(s,"gnssHistoryTable");F.setupLifecycle();const R=F.getStyle(),_=e.ref(""),V=e.ref(""),y=e.ref(""),M=e.ref([]),x=e.reactive({timeRange:"1d",dateRange:[v.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),v.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>U(null,null,function*(){var a,c;if(N.value=1,s.mode==="edit"){J();return}if(!y.value)return;D.rows=[];const n=(a=F.session)==null?void 0:a.value,t=(c=s.conf)==null?void 0:c.id;n!=null&&n.componentRequests&&t&&n.componentRequests.delete(t);const{data:o,common:i}=s.conf;Array.isArray(o)&&o.forEach(l=>{l.object_id=y.value}),i.multiObject||(i.object_id=y.value);try{const l=v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),u=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),h=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").diff(v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),k=Math.max(60,Math.floor(h/500)),Y=(s.conf.data||[]).filter(E=>E.fv&&!z.includes(E.fv)),H=Y.map(E=>E.fv),L={block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:l,end_time:u,time_span:k,time_swing:k,object_id:y.value};H.length>0&&(L.keys=H);const S=[L],C=yield new Promise(E=>{v.api.platform(I=>{E(I.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:S})}),b=Array.isArray(C)?C:[C],w=b[0]&&typeof b[0]=="object"&&Array.isArray(b[0].data)?b[0].data:Array.isArray(b[0])?b[0]:[];if(Array.isArray(w)&&w.length>0){const E=["time","datetime","object_id","_index","_time"];if(Y.length===0){const f=w[0];Object.keys(f).filter(g=>!E.includes(g)).forEach(g=>{s.conf.data.some(O=>O.fv===g)||s.conf.data.push({name:g,fv:g,object_id:y.value})})}const I=(s.conf.data||[]).filter(f=>f.fv&&!z.includes(f.fv));[...w].sort((f,j)=>{const g=f.time||f.datetime||"",A=j.time||j.datetime||"";return new Date(A).getTime()-new Date(g).getTime()}).forEach(f=>{const j=f.time||f.datetime;if(!j)return;const g={};I.forEach(A=>{const O=f[A.fv];O!=null&&(g[A.fv]=String(O))}),Object.keys(g).length>0&&D.rows.push({time:v.dayjs(j).format("YYYY/MM/DD HH:mm:ss"),area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:g})})}console.log(`[GNSS历史明细] 历史数据加载完成,共 ${D.rows.length} 条,时间范围: ${l} ~ ${u}`)}catch(l){console.warn("[GNSS历史明细] 历史数据获取失败:",l)}const r=F.getSource();F.subscribeBySource(r,y.value)}),ae=e.computed(()=>({backgroundColor:R.value.bgColor,color:R.value.textColor})),z=["_index","_time"],se=n=>n==="_index"?"index":n==="_time"?"time":"data",q=e.computed(()=>{const{data:n}=s.conf;return!n||!Array.isArray(n)?[]:n.map(t=>({key:t.fv||"",label:t.name||t.fv||"-",type:se(t.fv||"")})).filter(t=>t.key)}),P=e.ref("hour"),N=e.ref(1),B=15,D=e.reactive({rows:[]}),T=e.computed(()=>{const n=P.value;if(n==="hour")return D.rows;const t=new Set,o=[];for(const i of D.rows){const r=v.dayjs(i.time,"YYYY/MM/DD HH:mm:ss");let a;if(n==="day")a=r.format("YYYY/MM/DD");else if(n==="week"){const c=r.startOf("year");a=r.year()+"-W"+Math.floor(r.diff(c,"day")/7)}else a=r.format("YYYY/MM");t.has(a)||(t.add(a),o.push(i))}return o}),X=e.computed(()=>Math.max(1,Math.ceil(T.value.length/B))),W=e.computed(()=>{const n=(N.value-1)*B;return T.value.slice(n,n+B)}),le=()=>{N.value=1},J=()=>{const n=V.value||"-",t=_.value?`GNSS${_.value}`:"GNSS",o=parseInt(_.value)||50,i=v.dayjs(),r=100,a=+(2450+o*.1).toFixed(2),c=+(1300+o*.02).toFixed(2),l=+(1150+o*.01).toFixed(2);let u=0,h=0,k=0;const Y=[];for(let H=0;H<r;H++){const L=i.subtract((r-H)*60,"minute"),S=()=>Math.random()-.5,C=+(.8+S()*.2).toFixed(2),b=+(.65+S()*.15).toFixed(2),w=+(.01+S()*.02).toFixed(2),E=+Math.sqrt(m(C,2)+m(b,2)).toFixed(2),I=+Math.sqrt(m(C,2)+m(b,2)+m(w,2)).toFixed(2);u+=C,h+=b,k+=w;const G=+(8+S()*1.5).toFixed(2),f=+(8+S()*1.5).toFixed(2),j=+(8.5+S()*1).toFixed(2),g=+Math.sqrt(m(G,2)+m(f,2)).toFixed(2),A=+Math.sqrt(m(G,2)+m(f,2)+m(j,2)).toFixed(2),O=+(S()*.1).toFixed(3),de=+(S()*.08).toFixed(3),ue=+(S()*.06).toFixed(3),me=+(Math.atan2(b,C)*180/Math.PI).toFixed(1);Y.push({time:L.format("YYYY/MM/DD HH:mm:ss"),area:n,device:t,metrics:{base_x:String(a),base_y:String(c),base_h:String(l),x_disp:String(C),y_disp:String(b),h_disp:String(w),xy_disp:String(E),xyh_disp:String(I),x_cum_disp:u.toFixed(2),y_cum_disp:h.toFixed(2),h_cum_disp:k.toFixed(2),xy_cum_disp:Math.sqrt(m(u,2)+m(h,2)).toFixed(2),xyh_cum_disp:Math.sqrt(m(u,2)+m(h,2)+m(k,2)).toFixed(2),x_speed:String(G),y_speed:String(f),h_speed:String(j),xy_speed:String(g),xyh_speed:String(A),x_accel:String(O),y_accel:String(de),h_accel:String(ue),tangent_angle:me+"°"}})}D.rows=Y},re=n=>{if(!n)return"#333";const t=parseFloat(n);return isNaN(t)?"#333":t>=20?"#ee4444":t>=10?"#e6a23c":"#333"},Q=(n,t,o)=>{var i;switch(t.type){case"index":return String((N.value-1)*B+o+1);case"time":return n.time;default:return(i=n.metrics[t.key])!=null?i:"-"}},ie=()=>{const n=q.value,t=T.value;if(!t.length)return;const o=n.map(u=>u.label).join(","),i=t.map((u,h)=>n.map(k=>{const Y=Q(u,k,h);return k.type==="time"||Y.includes(",")||Y.includes('"')?`"${Y.replace(/"/g,'""')}"`:Y}).join(",")).join(`
1
+ "use strict";var pe=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var m=Math.pow,ee=(p,s,d)=>s in p?pe(p,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[s]=d,te=(p,s)=>{for(var d in s||(s={}))ge.call(s,d)&&ee(p,d,s[d]);if(Z)for(var d of Z(s))ve.call(s,d)&&ee(p,d,s[d]);return p},ne=(p,s)=>fe(p,ye(s));var U=(p,s,d)=>new Promise((F,R)=>{var _=M=>{try{y(d.next(M))}catch(x){R(x)}},V=M=>{try{y(d.throw(M))}catch(x){R(x)}},y=M=>M.done?F(M.value):Promise.resolve(M.value).then(_,V);y((d=d.apply(p,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const v=require("./index-OgmTZiO-.cjs");require("element-plus");const _e=require("./EChartComponentBase-C2sxqwSE.cjs"),oe=require("./ele-lin-icon-Dke_1AmT.cjs"),be={class:"table-section"},he={class:"table-section-header"},Se={class:"table-title"},xe={class:"table-toolbar"},De={class:"table-scroll-wrapper"},Ye={class:"report-table"},Ee={key:0},Me=["colspan"],Ne={class:"table-pagination"},ke={class:"page-info"},Ce={class:"page-controls"},je=["disabled"],we={class:"page-num"},Fe=["disabled"],Ve={DEFAULT_ICON:oe.DEFAULT_ICON,ACTIVE_ICON:oe.ACTIVE_ICON,NAME_CN:"GNSS历史明细报表",NAME_EN:"GNSS History Table",ORDER:5,PLATFORM:["pc","screen"]},Ae={bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},He=[{name:"序号",fv:"_index",object_id:""},{name:"时间",fv:"_time",object_id:""}],Oe=["name","fv","object_id"],Re=["mosaic","statistics","statisticsRealtime"],Ie={useAlias:!1,multiObject:!0,hideMultiObject:!1,source:"mosaic"},qe={DEFAULT:Ve,OPTIONS:Ae,DATA:He,PARAMS:Oe,SOURCE:Re,COMMON:Ie},Be=e.defineComponent(ne(te({},qe),{__name:"gnssHistoryTable",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(p){const s=p;class d extends _e.EChartComponentBase{constructor(){super(...arguments),this._lastDedupeKey=""}extractStyles(){const t=this.getOptionValue("linkChannel","gnss"),o=this.getOptionValue("customChannel","");return{bgColor:this.getOptionValue("bgColor","#f5f7fa"),textColor:this.getOptionValue("textColor","#333333"),linkChannel:t==="custom"&&o?o:t}}getChartOption(){return{}}onLinkEvent(t){ce(t)}needsHistoryData(){return!1}onPreview(){return U(this,null,function*(){var o,i,r,a,c;const t=((i=(o=this.props.conf)==null?void 0:o.common)==null?void 0:i.object_id)||((c=(a=(r=this.props.conf)==null?void 0:r.data)==null?void 0:a[0])==null?void 0:c.object_id)||"";t&&this.props.mode==="preview"&&(y.value=String(t),M.value=[String(t)],yield $())})}setSocketData(t){if(!t||!t.data)return;const{data:o}=this.props.conf;if(!o||!Array.isArray(o))return;const i=["_index","_time"],r=t.datetime||v.dayjs().format("YYYY/MM/DD HH:mm:ss"),a=`${r}_${JSON.stringify(t.data)}`;if(a===this._lastDedupeKey)return;this._lastDedupeKey=a;const c={};if(o.forEach(u=>{if(u.fv&&!i.includes(u.fv)){const h=this.extractDataValue(t,u.fv);h!=null&&(c[u.fv]=String(h))}}),Object.keys(c).length===0)return;const l={time:r,area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:c};D.rows.unshift(l),D.rows.length>1e3&&(D.rows=D.rows.slice(0,1e3))}}const F=new d(s,"gnssHistoryTable");F.setupLifecycle();const R=F.getStyle(),_=e.ref(""),V=e.ref(""),y=e.ref(""),M=e.ref([]),x=e.reactive({timeRange:"1d",dateRange:[v.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),v.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>U(null,null,function*(){var a,c;if(N.value=1,s.mode==="edit"){J();return}if(!y.value)return;D.rows=[];const n=(a=F.session)==null?void 0:a.value,t=(c=s.conf)==null?void 0:c.id;n!=null&&n.componentRequests&&t&&n.componentRequests.delete(t);const{data:o,common:i}=s.conf;Array.isArray(o)&&o.forEach(l=>{l.object_id=y.value}),i.multiObject||(i.object_id=y.value);try{const l=v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),u=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),h=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").diff(v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),k=Math.max(60,Math.floor(h/500)),Y=(s.conf.data||[]).filter(E=>E.fv&&!z.includes(E.fv)),H=Y.map(E=>E.fv),L={block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:l,end_time:u,time_span:k,time_swing:k,object_id:y.value};H.length>0&&(L.keys=H);const S=[L],C=yield new Promise(E=>{v.api.platform(I=>{E(I.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:S})}),b=Array.isArray(C)?C:[C],w=b[0]&&typeof b[0]=="object"&&Array.isArray(b[0].data)?b[0].data:Array.isArray(b[0])?b[0]:[];if(Array.isArray(w)&&w.length>0){const E=["time","datetime","object_id","_index","_time"];if(Y.length===0){const f=w[0];Object.keys(f).filter(g=>!E.includes(g)).forEach(g=>{s.conf.data.some(O=>O.fv===g)||s.conf.data.push({name:g,fv:g,object_id:y.value})})}const I=(s.conf.data||[]).filter(f=>f.fv&&!z.includes(f.fv));[...w].sort((f,j)=>{const g=f.time||f.datetime||"",A=j.time||j.datetime||"";return new Date(A).getTime()-new Date(g).getTime()}).forEach(f=>{const j=f.time||f.datetime;if(!j)return;const g={};I.forEach(A=>{const O=f[A.fv];O!=null&&(g[A.fv]=String(O))}),Object.keys(g).length>0&&D.rows.push({time:v.dayjs(j).format("YYYY/MM/DD HH:mm:ss"),area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:g})})}console.log(`[GNSS历史明细] 历史数据加载完成,共 ${D.rows.length} 条,时间范围: ${l} ~ ${u}`)}catch(l){console.warn("[GNSS历史明细] 历史数据获取失败:",l)}const r=F.getSource();F.subscribeBySource(r,y.value)}),ae=e.computed(()=>({backgroundColor:R.value.bgColor,color:R.value.textColor})),z=["_index","_time"],se=n=>n==="_index"?"index":n==="_time"?"time":"data",q=e.computed(()=>{const{data:n}=s.conf;return!n||!Array.isArray(n)?[]:n.map(t=>({key:t.fv||"",label:t.name||t.fv||"-",type:se(t.fv||"")})).filter(t=>t.key)}),P=e.ref("hour"),N=e.ref(1),B=15,D=e.reactive({rows:[]}),T=e.computed(()=>{const n=P.value;if(n==="hour")return D.rows;const t=new Set,o=[];for(const i of D.rows){const r=v.dayjs(i.time,"YYYY/MM/DD HH:mm:ss");let a;if(n==="day")a=r.format("YYYY/MM/DD");else if(n==="week"){const c=r.startOf("year");a=r.year()+"-W"+Math.floor(r.diff(c,"day")/7)}else a=r.format("YYYY/MM");t.has(a)||(t.add(a),o.push(i))}return o}),X=e.computed(()=>Math.max(1,Math.ceil(T.value.length/B))),W=e.computed(()=>{const n=(N.value-1)*B;return T.value.slice(n,n+B)}),le=()=>{N.value=1},J=()=>{const n=V.value||"-",t=_.value?`GNSS${_.value}`:"GNSS",o=parseInt(_.value)||50,i=v.dayjs(),r=100,a=+(2450+o*.1).toFixed(2),c=+(1300+o*.02).toFixed(2),l=+(1150+o*.01).toFixed(2);let u=0,h=0,k=0;const Y=[];for(let H=0;H<r;H++){const L=i.subtract((r-H)*60,"minute"),S=()=>Math.random()-.5,C=+(.8+S()*.2).toFixed(2),b=+(.65+S()*.15).toFixed(2),w=+(.01+S()*.02).toFixed(2),E=+Math.sqrt(m(C,2)+m(b,2)).toFixed(2),I=+Math.sqrt(m(C,2)+m(b,2)+m(w,2)).toFixed(2);u+=C,h+=b,k+=w;const G=+(8+S()*1.5).toFixed(2),f=+(8+S()*1.5).toFixed(2),j=+(8.5+S()*1).toFixed(2),g=+Math.sqrt(m(G,2)+m(f,2)).toFixed(2),A=+Math.sqrt(m(G,2)+m(f,2)+m(j,2)).toFixed(2),O=+(S()*.1).toFixed(3),de=+(S()*.08).toFixed(3),ue=+(S()*.06).toFixed(3),me=+(Math.atan2(b,C)*180/Math.PI).toFixed(1);Y.push({time:L.format("YYYY/MM/DD HH:mm:ss"),area:n,device:t,metrics:{base_x:String(a),base_y:String(c),base_h:String(l),x_disp:String(C),y_disp:String(b),h_disp:String(w),xy_disp:String(E),xyh_disp:String(I),x_cum_disp:u.toFixed(2),y_cum_disp:h.toFixed(2),h_cum_disp:k.toFixed(2),xy_cum_disp:Math.sqrt(m(u,2)+m(h,2)).toFixed(2),xyh_cum_disp:Math.sqrt(m(u,2)+m(h,2)+m(k,2)).toFixed(2),x_speed:String(G),y_speed:String(f),h_speed:String(j),xy_speed:String(g),xyh_speed:String(A),x_accel:String(O),y_accel:String(de),h_accel:String(ue),tangent_angle:me+"°"}})}D.rows=Y},re=n=>{if(!n)return"#333";const t=parseFloat(n);return isNaN(t)?"#333":t>=20?"#ee4444":t>=10?"#e6a23c":"#333"},Q=(n,t,o)=>{var i;switch(t.type){case"index":return String((N.value-1)*B+o+1);case"time":return n.time;default:return(i=n.metrics[t.key])!=null?i:"-"}},ie=()=>{const n=q.value,t=T.value;if(!t.length)return;const o=n.map(u=>u.label).join(","),i=t.map((u,h)=>n.map(k=>{const Y=Q(u,k,h);return k.type==="time"||Y.includes(",")||Y.includes('"')?`"${Y.replace(/"/g,'""')}"`:Y}).join(",")).join(`
2
2
  `),r="\uFEFF"+o+`
3
3
  `+i,a=new Blob([r],{type:"text/csv;charset=utf-8;"}),c=URL.createObjectURL(a),l=document.createElement("a");l.href=c,l.download=`GNSS监测历史明细_${_.value||"all"}_${v.dayjs().format("YYYYMMDDHHmmss")}.csv`,l.click(),URL.revokeObjectURL(c)},ce=n=>{const{payload:t}=n;if(!t)return;if(t.type==="filter"){t.point!=null&&(_.value=String(t.point)),t.area!=null&&(V.value=String(t.area)),t.objectId!=null&&(y.value=String(t.objectId)),t.timeRange&&(x.timeRange=t.timeRange),t.dateRange&&(x.dateRange=t.dateRange),$();return}const o=t.point||t.deviceId;o&&(_.value=String(o),t.objectId&&(y.value=String(t.objectId)),t.area&&(V.value=String(t.area)),y.value&&$())};return e.onMounted(()=>{s.mode==="edit"&&J()}),(n,t)=>{const o=K.ElOption,i=K.ElSelect,r=K.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"gnss-history-table",style:e.normalizeStyle(ae.value)},[e.createElementVNode("div",be,[e.createElementVNode("div",he,[e.createElementVNode("div",Se,[t[3]||(t[3]=e.createElementVNode("span",{class:"table-title-bar"},null,-1)),e.createElementVNode("span",null,e.toDisplayString(p.conf.caption||p.conf.name||"GNSS监测 历史明细报表"),1)]),e.createElementVNode("div",xe,[t[5]||(t[5]=e.createElementVNode("span",{class:"toolbar-label"},"显示频率:",-1)),e.createVNode(i,{modelValue:P.value,"onUpdate:modelValue":t[0]||(t[0]=a=>P.value=a),size:"small",style:{width:"95px"},onChange:le},{default:e.withCtx(()=>[e.createVNode(o,{label:"按小时",value:"hour"}),e.createVNode(o,{label:"按天显示",value:"day"}),e.createVNode(o,{label:"按周显示",value:"week"}),e.createVNode(o,{label:"按月显示",value:"month"})]),_:1},8,["modelValue"]),e.createVNode(r,{size:"small",type:"success",onClick:ie},{default:e.withCtx(()=>[...t[4]||(t[4]=[e.createElementVNode("span",null,"📥 导出分析报表 (Excel)",-1)])]),_:1})])]),e.createElementVNode("div",De,[e.createElementVNode("table",Ye,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,a=>(e.openBlock(),e.createElementBlock("th",{key:a.key,class:e.normalizeClass({"col-fixed":a.type!=="data","col-idx":a.type==="index","col-time":a.type==="time"})},e.toDisplayString(a.label),3))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,(a,c)=>(e.openBlock(),e.createElementBlock("tr",{key:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,l=>(e.openBlock(),e.createElementBlock("td",{key:l.key,class:e.normalizeClass({"col-fixed":l.type!=="data","col-idx":l.type==="index","col-time":l.type==="time","cell-angle":l.key==="tangent_angle"}),style:e.normalizeStyle(l.key==="tangent_angle"?{color:re(a.metrics[l.key])}:{})},e.toDisplayString(Q(a,l,c)),7))),128))]))),128)),W.value.length===0?(e.openBlock(),e.createElementBlock("tr",Ee,[e.createElementVNode("td",{colspan:q.value.length,style:{"text-align":"center",color:"#999",padding:"20px"}},"暂无数据",8,Me)])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ne,[e.createElementVNode("span",ke,"共 "+e.toDisplayString(T.value.length)+" 条记录",1),e.createElementVNode("div",Ce,[e.createElementVNode("button",{class:"page-arrow",disabled:N.value<=1,onClick:t[1]||(t[1]=a=>N.value--)},"◀",8,je),e.createElementVNode("span",we,e.toDisplayString(N.value)+" / "+e.toDisplayString(X.value),1),e.createElementVNode("button",{class:"page-arrow",disabled:N.value>=X.value,onClick:t[2]||(t[2]=a=>N.value++)},"▶",8,Fe)])])]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),Te=v._export_sfc(Be,[["__scopeId","data-v-e1b697cc"]]);exports.default=Te;
@@ -34,9 +34,9 @@ import "element-plus/es/components/select/style/css";
34
34
  import "element-plus/es/components/option/style/css";
35
35
  import { defineComponent as ii, ref as fe, reactive as Ge, computed as oe, watch as Be, onMounted as ri, onUnmounted as oi, openBlock as B, createElementBlock as H, normalizeStyle as Te, createElementVNode as R, unref as si, createVNode as j, withCtx as q, Fragment as Fe, renderList as Ie, createBlock as yt, createTextVNode as ue, toDisplayString as de, createCommentVNode as je, withDirectives as ze, vShow as Ye, mergeProps as ai, normalizeClass as Je, renderSlot as li } from "vue";
36
36
  import "html2canvas";
37
- import { B as ci } from "./BaseComponent-Dwhb9Mde.js";
38
- import { k as mn, _ as fi } from "./index-YNdVib_6.js";
39
- import { L as Ke } from "./leaflet-src-2tPn7QVH.js";
37
+ import { B as ci } from "./BaseComponent-CEp8NJiX.js";
38
+ import { k as mn, _ as fi } from "./index-CqVPeq0-.js";
39
+ import { L as Ke } from "./leaflet-src-DU74PJcX.js";
40
40
  import "./index-eIsZnzkc.js";
41
41
  import { U as ui, X as di, C as At, Y as hi, G as mi, B as Tt, Z as De, L as wt, _ as Wt, P as Qe, $ as pn, q as Jt, e as xt, g as $e, V as he, S as pi, l as gi, W as yi, A as Qt, n as en, h as bt, a as tn, D as wi, a0 as xi, i as bi, M as vi } from "./three.module-DDLQaQWC.js";
42
42
  import { G as Si } from "./GLTFLoader-nke8z0Ol.js";
@@ -883,7 +883,7 @@ ge([8, 32946], () => import("./deflate-Dp_sL4b4.js").then((o) => o.default));
883
883
  ge(32773, () => import("./packbits-AaardaO4.js").then((o) => o.default));
884
884
  ge(
885
885
  34887,
886
- () => import("./lerc-BCmG0CMS.js").then((o) => N(null, null, function* () {
886
+ () => import("./lerc-ZmeF7NhV.js").then((o) => N(null, null, function* () {
887
887
  return yield o.zstd.init(), o;
888
888
  })).then((o) => o.default)
889
889
  );
@@ -1,10 +1,10 @@
1
- "use strict";var wn=Object.defineProperty,xn=Object.defineProperties;var bn=Object.getOwnPropertyDescriptors;var At=Object.getOwnPropertySymbols;var vn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable;var Q=Math.pow,Ct=(o,e,t)=>e in o?wn(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,Ze=(o,e)=>{for(var t in e||(e={}))vn.call(e,t)&&Ct(o,t,e[t]);if(At)for(var t of At(e))Sn.call(e,t)&&Ct(o,t,e[t]);return o},We=(o,e)=>xn(o,bn(e));var _=(o,e,t)=>new Promise((r,n)=>{var i=f=>{try{a(t.next(f))}catch(u){n(u)}},l=f=>{try{a(t.throw(f))}catch(u){n(u)}},a=f=>f.done?r(f.value):Promise.resolve(f.value).then(i,l);a((t=t.apply(o,e)).next())});const Pe=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const s=require("vue");require("html2canvas");const Vn=require("./BaseComponent-bzb58Hhs.cjs"),rt=require("./index-6QhTSPkL.cjs"),Fe=require("./leaflet-src-D8MF2j44.cjs");require("./index-CJgyJTvc.cjs");const T=require("./three.module-CjayKmiG.cjs"),Mn=require("./GLTFLoader-DhebSl5W.cjs"),An=require("./OrbitControls-uuLGjaqy.cjs"),Tt=require("./ele-lin-icon-Dke_1AmT.cjs"),Cn=require("./echarts-BB8O2KSA.cjs"),Tn=/^[og]\s*(.+)?/,Fn=/^mtllib /,En=/^usemtl /,Dn=/^usemap /,Ft=/\s+/,Et=new T.Vector3,Je=new T.Vector3,Dt=new T.Vector3,Lt=new T.Vector3,W=new T.Vector3,Ue=new T.Color;function Ln(){const o={objects:[],object:{},vertices:[],normals:[],colors:[],uvs:[],materials:{},materialLibraries:[],startObject:function(e,t){if(this.object&&this.object.fromDeclaration===!1){this.object.name=e,this.object.fromDeclaration=t!==!1;return}const r=this.object&&typeof this.object.currentMaterial=="function"?this.object.currentMaterial():void 0;if(this.object&&typeof this.object._finalize=="function"&&this.object._finalize(!0),this.object={name:e||"",fromDeclaration:t!==!1,geometry:{vertices:[],normals:[],colors:[],uvs:[],hasUVIndices:!1},materials:[],smooth:!0,startMaterial:function(n,i){const l=this._finalize(!1);l&&(l.inherited||l.groupCount<=0)&&this.materials.splice(l.index,1);const a={index:this.materials.length,name:n||"",mtllib:Array.isArray(i)&&i.length>0?i[i.length-1]:"",smooth:l!==void 0?l.smooth:this.smooth,groupStart:l!==void 0?l.groupEnd:0,groupEnd:-1,groupCount:-1,inherited:!1,clone:function(f){const u={index:typeof f=="number"?f:this.index,name:this.name,mtllib:this.mtllib,smooth:this.smooth,groupStart:0,groupEnd:-1,groupCount:-1,inherited:!1};return u.clone=this.clone.bind(u),u}};return this.materials.push(a),a},currentMaterial:function(){if(this.materials.length>0)return this.materials[this.materials.length-1]},_finalize:function(n){const i=this.currentMaterial();if(i&&i.groupEnd===-1&&(i.groupEnd=this.geometry.vertices.length/3,i.groupCount=i.groupEnd-i.groupStart,i.inherited=!1),n&&this.materials.length>1)for(let l=this.materials.length-1;l>=0;l--)this.materials[l].groupCount<=0&&this.materials.splice(l,1);return n&&this.materials.length===0&&this.materials.push({name:"",smooth:this.smooth}),i}},r&&r.name&&typeof r.clone=="function"){const n=r.clone(0);n.inherited=!0,this.object.materials.push(n)}this.objects.push(this.object)},finalize:function(){this.object&&typeof this.object._finalize=="function"&&this.object._finalize(!0)},parseVertexIndex:function(e,t){const r=parseInt(e,10);return(r>=0?r-1:r+t/3)*3},parseNormalIndex:function(e,t){const r=parseInt(e,10);return(r>=0?r-1:r+t/3)*3},parseUVIndex:function(e,t){const r=parseInt(e,10);return(r>=0?r-1:r+t/2)*2},addVertex:function(e,t,r){const n=this.vertices,i=this.object.geometry.vertices;i.push(n[e+0],n[e+1],n[e+2]),i.push(n[t+0],n[t+1],n[t+2]),i.push(n[r+0],n[r+1],n[r+2])},addVertexPoint:function(e){const t=this.vertices;this.object.geometry.vertices.push(t[e+0],t[e+1],t[e+2])},addVertexLine:function(e){const t=this.vertices;this.object.geometry.vertices.push(t[e+0],t[e+1],t[e+2])},addNormal:function(e,t,r){const n=this.normals,i=this.object.geometry.normals;i.push(n[e+0],n[e+1],n[e+2]),i.push(n[t+0],n[t+1],n[t+2]),i.push(n[r+0],n[r+1],n[r+2])},addFaceNormal:function(e,t,r){const n=this.vertices,i=this.object.geometry.normals;Et.fromArray(n,e),Je.fromArray(n,t),Dt.fromArray(n,r),W.subVectors(Dt,Je),Lt.subVectors(Et,Je),W.cross(Lt),W.normalize(),i.push(W.x,W.y,W.z),i.push(W.x,W.y,W.z),i.push(W.x,W.y,W.z)},addColor:function(e,t,r){const n=this.colors,i=this.object.geometry.colors;n[e]!==void 0&&i.push(n[e+0],n[e+1],n[e+2]),n[t]!==void 0&&i.push(n[t+0],n[t+1],n[t+2]),n[r]!==void 0&&i.push(n[r+0],n[r+1],n[r+2])},addUV:function(e,t,r){const n=this.uvs,i=this.object.geometry.uvs;i.push(n[e+0],n[e+1]),i.push(n[t+0],n[t+1]),i.push(n[r+0],n[r+1])},addDefaultUV:function(){const e=this.object.geometry.uvs;e.push(0,0),e.push(0,0),e.push(0,0)},addUVLine:function(e){const t=this.uvs;this.object.geometry.uvs.push(t[e+0],t[e+1])},addFace:function(e,t,r,n,i,l,a,f,u){const p=this.vertices.length;let h=this.parseVertexIndex(e,p),g=this.parseVertexIndex(t,p),y=this.parseVertexIndex(r,p);if(this.addVertex(h,g,y),this.addColor(h,g,y),a!==void 0&&a!==""){const w=this.normals.length;h=this.parseNormalIndex(a,w),g=this.parseNormalIndex(f,w),y=this.parseNormalIndex(u,w),this.addNormal(h,g,y)}else this.addFaceNormal(h,g,y);if(n!==void 0&&n!==""){const w=this.uvs.length;h=this.parseUVIndex(n,w),g=this.parseUVIndex(i,w),y=this.parseUVIndex(l,w),this.addUV(h,g,y),this.object.geometry.hasUVIndices=!0}else this.addDefaultUV()},addPointGeometry:function(e){this.object.geometry.type="Points";const t=this.vertices.length;for(let r=0,n=e.length;r<n;r++){const i=this.parseVertexIndex(e[r],t);this.addVertexPoint(i),this.addColor(i)}},addLineGeometry:function(e,t){this.object.geometry.type="Line";const r=this.vertices.length,n=this.uvs.length;for(let i=0,l=e.length;i<l;i++)this.addVertexLine(this.parseVertexIndex(e[i],r));for(let i=0,l=t.length;i<l;i++)this.addUVLine(this.parseUVIndex(t[i],n))}};return o.startObject("",!1),o}class In extends T.Loader{constructor(e){super(e),this.materials=null}load(e,t,r,n){const i=this,l=new T.FileLoader(this.manager);l.setPath(this.path),l.setRequestHeader(this.requestHeader),l.setWithCredentials(this.withCredentials),l.load(e,function(a){try{t(i.parse(a))}catch(f){n?n(f):console.error(f),i.manager.itemError(e)}},r,n)}setMaterials(e){return this.materials=e,this}parse(e){const t=new Ln;e.indexOf(`\r
1
+ "use strict";var wn=Object.defineProperty,xn=Object.defineProperties;var bn=Object.getOwnPropertyDescriptors;var At=Object.getOwnPropertySymbols;var vn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable;var Q=Math.pow,Ct=(o,e,t)=>e in o?wn(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,Ze=(o,e)=>{for(var t in e||(e={}))vn.call(e,t)&&Ct(o,t,e[t]);if(At)for(var t of At(e))Sn.call(e,t)&&Ct(o,t,e[t]);return o},We=(o,e)=>xn(o,bn(e));var _=(o,e,t)=>new Promise((r,n)=>{var i=f=>{try{a(t.next(f))}catch(u){n(u)}},l=f=>{try{a(t.throw(f))}catch(u){n(u)}},a=f=>f.done?r(f.value):Promise.resolve(f.value).then(i,l);a((t=t.apply(o,e)).next())});const Pe=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const s=require("vue");require("html2canvas");const Vn=require("./BaseComponent-DaYX7dUF.cjs"),rt=require("./index-OgmTZiO-.cjs"),Fe=require("./leaflet-src-gpxoqh6Y.cjs");require("./index-CJgyJTvc.cjs");const T=require("./three.module-CjayKmiG.cjs"),Mn=require("./GLTFLoader-DhebSl5W.cjs"),An=require("./OrbitControls-uuLGjaqy.cjs"),Tt=require("./ele-lin-icon-Dke_1AmT.cjs"),Cn=require("./echarts-BB8O2KSA.cjs"),Tn=/^[og]\s*(.+)?/,Fn=/^mtllib /,En=/^usemtl /,Dn=/^usemap /,Ft=/\s+/,Et=new T.Vector3,Je=new T.Vector3,Dt=new T.Vector3,Lt=new T.Vector3,W=new T.Vector3,Ue=new T.Color;function Ln(){const o={objects:[],object:{},vertices:[],normals:[],colors:[],uvs:[],materials:{},materialLibraries:[],startObject:function(e,t){if(this.object&&this.object.fromDeclaration===!1){this.object.name=e,this.object.fromDeclaration=t!==!1;return}const r=this.object&&typeof this.object.currentMaterial=="function"?this.object.currentMaterial():void 0;if(this.object&&typeof this.object._finalize=="function"&&this.object._finalize(!0),this.object={name:e||"",fromDeclaration:t!==!1,geometry:{vertices:[],normals:[],colors:[],uvs:[],hasUVIndices:!1},materials:[],smooth:!0,startMaterial:function(n,i){const l=this._finalize(!1);l&&(l.inherited||l.groupCount<=0)&&this.materials.splice(l.index,1);const a={index:this.materials.length,name:n||"",mtllib:Array.isArray(i)&&i.length>0?i[i.length-1]:"",smooth:l!==void 0?l.smooth:this.smooth,groupStart:l!==void 0?l.groupEnd:0,groupEnd:-1,groupCount:-1,inherited:!1,clone:function(f){const u={index:typeof f=="number"?f:this.index,name:this.name,mtllib:this.mtllib,smooth:this.smooth,groupStart:0,groupEnd:-1,groupCount:-1,inherited:!1};return u.clone=this.clone.bind(u),u}};return this.materials.push(a),a},currentMaterial:function(){if(this.materials.length>0)return this.materials[this.materials.length-1]},_finalize:function(n){const i=this.currentMaterial();if(i&&i.groupEnd===-1&&(i.groupEnd=this.geometry.vertices.length/3,i.groupCount=i.groupEnd-i.groupStart,i.inherited=!1),n&&this.materials.length>1)for(let l=this.materials.length-1;l>=0;l--)this.materials[l].groupCount<=0&&this.materials.splice(l,1);return n&&this.materials.length===0&&this.materials.push({name:"",smooth:this.smooth}),i}},r&&r.name&&typeof r.clone=="function"){const n=r.clone(0);n.inherited=!0,this.object.materials.push(n)}this.objects.push(this.object)},finalize:function(){this.object&&typeof this.object._finalize=="function"&&this.object._finalize(!0)},parseVertexIndex:function(e,t){const r=parseInt(e,10);return(r>=0?r-1:r+t/3)*3},parseNormalIndex:function(e,t){const r=parseInt(e,10);return(r>=0?r-1:r+t/3)*3},parseUVIndex:function(e,t){const r=parseInt(e,10);return(r>=0?r-1:r+t/2)*2},addVertex:function(e,t,r){const n=this.vertices,i=this.object.geometry.vertices;i.push(n[e+0],n[e+1],n[e+2]),i.push(n[t+0],n[t+1],n[t+2]),i.push(n[r+0],n[r+1],n[r+2])},addVertexPoint:function(e){const t=this.vertices;this.object.geometry.vertices.push(t[e+0],t[e+1],t[e+2])},addVertexLine:function(e){const t=this.vertices;this.object.geometry.vertices.push(t[e+0],t[e+1],t[e+2])},addNormal:function(e,t,r){const n=this.normals,i=this.object.geometry.normals;i.push(n[e+0],n[e+1],n[e+2]),i.push(n[t+0],n[t+1],n[t+2]),i.push(n[r+0],n[r+1],n[r+2])},addFaceNormal:function(e,t,r){const n=this.vertices,i=this.object.geometry.normals;Et.fromArray(n,e),Je.fromArray(n,t),Dt.fromArray(n,r),W.subVectors(Dt,Je),Lt.subVectors(Et,Je),W.cross(Lt),W.normalize(),i.push(W.x,W.y,W.z),i.push(W.x,W.y,W.z),i.push(W.x,W.y,W.z)},addColor:function(e,t,r){const n=this.colors,i=this.object.geometry.colors;n[e]!==void 0&&i.push(n[e+0],n[e+1],n[e+2]),n[t]!==void 0&&i.push(n[t+0],n[t+1],n[t+2]),n[r]!==void 0&&i.push(n[r+0],n[r+1],n[r+2])},addUV:function(e,t,r){const n=this.uvs,i=this.object.geometry.uvs;i.push(n[e+0],n[e+1]),i.push(n[t+0],n[t+1]),i.push(n[r+0],n[r+1])},addDefaultUV:function(){const e=this.object.geometry.uvs;e.push(0,0),e.push(0,0),e.push(0,0)},addUVLine:function(e){const t=this.uvs;this.object.geometry.uvs.push(t[e+0],t[e+1])},addFace:function(e,t,r,n,i,l,a,f,u){const p=this.vertices.length;let h=this.parseVertexIndex(e,p),g=this.parseVertexIndex(t,p),y=this.parseVertexIndex(r,p);if(this.addVertex(h,g,y),this.addColor(h,g,y),a!==void 0&&a!==""){const w=this.normals.length;h=this.parseNormalIndex(a,w),g=this.parseNormalIndex(f,w),y=this.parseNormalIndex(u,w),this.addNormal(h,g,y)}else this.addFaceNormal(h,g,y);if(n!==void 0&&n!==""){const w=this.uvs.length;h=this.parseUVIndex(n,w),g=this.parseUVIndex(i,w),y=this.parseUVIndex(l,w),this.addUV(h,g,y),this.object.geometry.hasUVIndices=!0}else this.addDefaultUV()},addPointGeometry:function(e){this.object.geometry.type="Points";const t=this.vertices.length;for(let r=0,n=e.length;r<n;r++){const i=this.parseVertexIndex(e[r],t);this.addVertexPoint(i),this.addColor(i)}},addLineGeometry:function(e,t){this.object.geometry.type="Line";const r=this.vertices.length,n=this.uvs.length;for(let i=0,l=e.length;i<l;i++)this.addVertexLine(this.parseVertexIndex(e[i],r));for(let i=0,l=t.length;i<l;i++)this.addUVLine(this.parseUVIndex(t[i],n))}};return o.startObject("",!1),o}class In extends T.Loader{constructor(e){super(e),this.materials=null}load(e,t,r,n){const i=this,l=new T.FileLoader(this.manager);l.setPath(this.path),l.setRequestHeader(this.requestHeader),l.setWithCredentials(this.withCredentials),l.load(e,function(a){try{t(i.parse(a))}catch(f){n?n(f):console.error(f),i.manager.itemError(e)}},r,n)}setMaterials(e){return this.materials=e,this}parse(e){const t=new Ln;e.indexOf(`\r
2
2
  `)!==-1&&(e=e.replace(/\r\n/g,`
3
3
  `)),e.indexOf(`\\
4
4
  `)!==-1&&(e=e.replace(/\\\n/g,""));const r=e.split(`
5
5
  `);let n=[];for(let a=0,f=r.length;a<f;a++){const u=r[a].trimStart();if(u.length===0)continue;const p=u.charAt(0);if(p!=="#")if(p==="v"){const h=u.split(Ft);switch(h[0]){case"v":t.vertices.push(parseFloat(h[1]),parseFloat(h[2]),parseFloat(h[3])),h.length>=7?(Ue.setRGB(parseFloat(h[4]),parseFloat(h[5]),parseFloat(h[6]),T.SRGBColorSpace),t.colors.push(Ue.r,Ue.g,Ue.b)):t.colors.push(void 0,void 0,void 0);break;case"vn":t.normals.push(parseFloat(h[1]),parseFloat(h[2]),parseFloat(h[3]));break;case"vt":t.uvs.push(parseFloat(h[1]),parseFloat(h[2]));break}}else if(p==="f"){const g=u.slice(1).trim().split(Ft),y=[];for(let V=0,v=g.length;V<v;V++){const C=g[V];if(C.length>0){const M=C.split("/");y.push(M)}}const w=y[0];for(let V=1,v=y.length-1;V<v;V++){const C=y[V],M=y[V+1];t.addFace(w[0],C[0],M[0],w[1],C[1],M[1],w[2],C[2],M[2])}}else if(p==="l"){const h=u.substring(1).trim().split(" ");let g=[];const y=[];if(u.indexOf("/")===-1)g=h;else for(let w=0,V=h.length;w<V;w++){const v=h[w].split("/");v[0]!==""&&g.push(v[0]),v[1]!==""&&y.push(v[1])}t.addLineGeometry(g,y)}else if(p==="p"){const g=u.slice(1).trim().split(" ");t.addPointGeometry(g)}else if((n=Tn.exec(u))!==null){const h=(" "+n[0].slice(1).trim()).slice(1);t.startObject(h)}else if(En.test(u))t.object.startMaterial(u.substring(7).trim(),t.materialLibraries);else if(Fn.test(u))t.materialLibraries.push(u.substring(7).trim());else if(Dn.test(u))console.warn('THREE.OBJLoader: Rendering identifier "usemap" not supported. Textures must be defined in MTL files.');else if(p==="s"){if(n=u.split(" "),n.length>1){const g=n[1].trim().toLowerCase();t.object.smooth=g!=="0"&&g!=="off"}else t.object.smooth=!0;const h=t.object.currentMaterial();h&&(h.smooth=t.object.smooth)}else{if(u==="\0")continue;console.warn('THREE.OBJLoader: Unexpected line: "'+u+'"')}}t.finalize();const i=new T.Group;if(i.materialLibraries=[].concat(t.materialLibraries),!(t.objects.length===1&&t.objects[0].geometry.vertices.length===0)===!0)for(let a=0,f=t.objects.length;a<f;a++){const u=t.objects[a],p=u.geometry,h=u.materials,g=p.type==="Line",y=p.type==="Points";let w=!1;if(p.vertices.length===0)continue;const V=new T.BufferGeometry;V.setAttribute("position",new T.Float32BufferAttribute(p.vertices,3)),p.normals.length>0&&V.setAttribute("normal",new T.Float32BufferAttribute(p.normals,3)),p.colors.length>0&&(w=!0,V.setAttribute("color",new T.Float32BufferAttribute(p.colors,3))),p.hasUVIndices===!0&&V.setAttribute("uv",new T.Float32BufferAttribute(p.uvs,2));const v=[];for(let M=0,D=h.length;M<D;M++){const E=h[M],R=E.name+"_"+E.smooth+"_"+w;let m=t.materials[R];if(this.materials!==null){if(m=this.materials.create(E.name),g&&m&&!(m instanceof T.LineBasicMaterial)){const k=new T.LineBasicMaterial;T.Material.prototype.copy.call(k,m),k.color.copy(m.color),m=k}else if(y&&m&&!(m instanceof T.PointsMaterial)){const k=new T.PointsMaterial({size:10,sizeAttenuation:!1});T.Material.prototype.copy.call(k,m),k.color.copy(m.color),k.map=m.map,m=k}}m===void 0&&(g?m=new T.LineBasicMaterial:y?m=new T.PointsMaterial({size:1,sizeAttenuation:!1}):m=new T.MeshPhongMaterial,m.name=E.name,m.flatShading=!E.smooth,m.vertexColors=w,t.materials[R]=m),v.push(m)}let C;if(v.length>1){for(let M=0,D=h.length;M<D;M++){const E=h[M];V.addGroup(E.groupStart,E.groupCount,M)}g?C=new T.LineSegments(V,v):y?C=new T.Points(V,v):C=new T.Mesh(V,v)}else g?C=new T.LineSegments(V,v[0]):y?C=new T.Points(V,v[0]):C=new T.Mesh(V,v[0]);C.name=u.name,i.add(C)}else if(t.vertices.length>0){const a=new T.PointsMaterial({size:1,sizeAttenuation:!1}),f=new T.BufferGeometry;f.setAttribute("position",new T.Float32BufferAttribute(t.vertices,3)),t.colors.length>0&&t.colors[0]!==void 0&&(f.setAttribute("color",new T.Float32BufferAttribute(t.colors,3)),a.vertexColors=!0);const u=new T.Points(f,a);i.add(u)}return i}}function j(o){return(e,...t)=>Nn(o,e,t)}function xe(o,e){return j(Bt(o,e).get)}const{apply:Nn,getOwnPropertyDescriptor:Bt,getPrototypeOf:it,ownKeys:Pn}=Reflect,{iterator:Le,toStringTag:Un}=Symbol,Rn=Object,{create:ot,defineProperty:kn}=Rn,_n=Array,Bn=_n.prototype,Ot=Bn[Le],On=j(Ot),Gt=ArrayBuffer,Gn=Gt.prototype;xe(Gn,"byteLength");const It=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:null;It&&xe(It.prototype,"byteLength");const jt=it(Uint8Array);jt.from;const X=jt.prototype;X[Le];j(X.keys);j(X.values);j(X.entries);j(X.set);j(X.reverse);j(X.fill);j(X.copyWithin);j(X.sort);j(X.slice);j(X.subarray);xe(X,"buffer");xe(X,"byteOffset");xe(X,"length");xe(X,Un);const jn=Uint8Array,zt=Uint16Array,st=Uint32Array,zn=Float32Array,De=it([][Le]()),Yt=j(De.next),Yn=j((function*(){})().next),Kn=it(De),$n=DataView.prototype,Xn=j($n.getUint16),at=WeakMap,Kt=at.prototype,$t=j(Kt.get),qn=j(Kt.set),Xt=new at,Hn=ot(null,{next:{value:function(){const e=$t(Xt,this);return Yt(e)}},[Le]:{value:function(){return this}}});function Zn(o){if(o[Le]===Ot&&De.next===Yt)return o;const e=ot(Hn);return qn(Xt,e,On(o)),e}const Wn=new at,Jn=ot(Kn,{next:{value:function(){const e=$t(Wn,this);return Yn(e)},writable:!0,configurable:!0}});for(const o of Pn(De))o!=="next"&&kn(Jn,o,Bt(De,o));const qt=new Gt(4),Qn=new zn(qt),er=new st(qt),ne=new zt(512),re=new jn(512);for(let o=0;o<256;++o){const e=o-127;e<-24?(ne[o]=0,ne[o|256]=32768,re[o]=24,re[o|256]=24):e<-14?(ne[o]=1024>>-e-14,ne[o|256]=1024>>-e-14|32768,re[o]=-e-1,re[o|256]=-e-1):e<=15?(ne[o]=e+15<<10,ne[o|256]=e+15<<10|32768,re[o]=13,re[o|256]=13):e<128?(ne[o]=31744,ne[o|256]=64512,re[o]=24,re[o|256]=24):(ne[o]=31744,ne[o|256]=64512,re[o]=13,re[o|256]=13)}const lt=new st(2048);for(let o=1;o<1024;++o){let e=o<<13,t=0;for(;(e&8388608)===0;)e<<=1,t-=8388608;e&=-8388609,t+=947912704,lt[o]=e|t}for(let o=1024;o<2048;++o)lt[o]=939524096+(o-1024<<13);const be=new st(64);for(let o=1;o<31;++o)be[o]=o<<23;be[31]=1199570944;be[32]=2147483648;for(let o=33;o<63;++o)be[o]=2147483648+(o-32<<23);be[63]=3347054592;const Ht=new zt(64);for(let o=1;o<64;++o)o!==32&&(Ht[o]=1024);function tr(o){const e=o>>10;return er[0]=lt[Ht[e]+(o&1023)]+be[e],Qn[0]}function Zt(o,e,...t){return tr(Xn(o,e,...Zn(t)))}var Re={exports:{}},Nt;function nr(){if(Nt)return Re.exports;Nt=1;function o(e,t,r){const n=r&&r.debug||!1;n&&console.log("[xml-utils] getting "+t+" in "+e);const i=typeof e=="object"?e.outer:e,l=i.slice(0,i.indexOf(">")+1),a=['"',"'"];for(let f=0;f<a.length;f++){const u=a[f],p=t+"\\="+u+"([^"+u+"]*)"+u;n&&console.log("[xml-utils] pattern:",p);const g=new RegExp(p).exec(l);if(n&&console.log("[xml-utils] match:",g),g)return g[1]}}return Re.exports=o,Re.exports.default=o,Re.exports}var rr=nr();const Qe=rt.getDefaultExportFromCjs(rr);var ke={exports:{}},_e={exports:{}},Be={exports:{}},Pt;function ir(){if(Pt)return Be.exports;Pt=1;function o(e,t,r){const i=new RegExp(t).exec(e.slice(r));return i?r+i.index:-1}return Be.exports=o,Be.exports.default=o,Be.exports}var Oe={exports:{}},Ut;function or(){if(Ut)return Oe.exports;Ut=1;function o(e,t,r){const i=new RegExp(t).exec(e.slice(r));return i?r+i.index+i[0].length-1:-1}return Oe.exports=o,Oe.exports.default=o,Oe.exports}var Ge={exports:{}},Rt;function sr(){if(Rt)return Ge.exports;Rt=1;function o(e,t){const r=new RegExp(t,"g"),n=e.match(r);return n?n.length:0}return Ge.exports=o,Ge.exports.default=o,Ge.exports}var kt;function ar(){if(kt)return _e.exports;kt=1;const o=ir(),e=or(),t=sr();function r(n,i,l){const a=l&&l.debug||!1,f=!(l&&typeof l.nested===!1),u=l&&l.startIndex||0;a&&console.log("[xml-utils] starting findTagByName with",i," and ",l);const p=o(n,`<${i}[
6
6
  >/]`,u);if(a&&console.log("[xml-utils] start:",p),p===-1)return;const h=n.slice(p+i.length);let g=e(h,"^[^<]*[ /]>",0);const y=g!==-1&&h[g-1]==="/";if(a&&console.log("[xml-utils] selfClosing:",y),y===!1)if(f){let C=0,M=1,D=0;for(;(g=e(h,"[ /]"+i+">",C))!==-1;){const E=h.substring(C,g+1);if(M+=t(E,"<"+i+`[
7
- >]`),D+=t(E,"</"+i+">"),D>=M)break;C=g}}else g=e(h,"[ /]"+i+">",0);const w=p+i.length+g+1;if(a&&console.log("[xml-utils] end:",w),w===-1)return;const V=n.slice(p,w);let v;return y?v=null:v=V.slice(V.indexOf(">")+1,V.lastIndexOf("<")),{inner:v,outer:V,start:p,end:w}}return _e.exports=r,_e.exports.default=r,_e.exports}var _t;function lr(){if(_t)return ke.exports;_t=1;const o=ar();function e(t,r,n){const i=[],l=n&&n.debug||!1,a=n&&typeof n.nested=="boolean"?n.nested:!0;let f=n&&n.startIndex||0,u;for(;u=o(t,r,{debug:l,startIndex:f});)a?f=u.start+1+r.length:f=u.end,i.push(u);return l&&console.log("findTagsByName found",i.length,"tags"),i}return ke.exports=e,ke.exports.default=e,ke.exports}var cr=lr();const ur=rt.getDefaultExportFromCjs(cr),Ee={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},ie={};for(const o in Ee)Ee.hasOwnProperty(o)&&(ie[Ee[o]]=parseInt(o,10));const fr=[ie.BitsPerSample,ie.ExtraSamples,ie.SampleFormat,ie.StripByteCounts,ie.StripOffsets,ie.StripRowCounts,ie.TileByteCounts,ie.TileOffsets,ie.SubIFDs],et={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},I={};for(const o in et)et.hasOwnProperty(o)&&(I[et[o]]=parseInt(o,10));const H={WhiteIsZero:0,BlackIsZero:1,RGB:2,Palette:3,CMYK:5,YCbCr:6,CIELab:8},dr={Unspecified:0},hr={AddCompression:1},mr={None:0,Deflate:1,Zstandard:2},gr={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"};function pr(o,e){const{width:t,height:r}=o,n=new Uint8Array(t*r*3);let i;for(let l=0,a=0;l<o.length;++l,a+=3)i=256-o[l]/e*256,n[a]=i,n[a+1]=i,n[a+2]=i;return n}function yr(o,e){const{width:t,height:r}=o,n=new Uint8Array(t*r*3);let i;for(let l=0,a=0;l<o.length;++l,a+=3)i=o[l]/e*256,n[a]=i,n[a+1]=i,n[a+2]=i;return n}function wr(o,e){const{width:t,height:r}=o,n=new Uint8Array(t*r*3),i=e.length/3,l=e.length/3*2;for(let a=0,f=0;a<o.length;++a,f+=3){const u=o[a];n[f]=e[u]/65536*256,n[f+1]=e[u+i]/65536*256,n[f+2]=e[u+l]/65536*256}return n}function xr(o){const{width:e,height:t}=o,r=new Uint8Array(e*t*3);for(let n=0,i=0;n<o.length;n+=4,i+=3){const l=o[n],a=o[n+1],f=o[n+2],u=o[n+3];r[i]=255*((255-l)/256)*((255-u)/256),r[i+1]=255*((255-a)/256)*((255-u)/256),r[i+2]=255*((255-f)/256)*((255-u)/256)}return r}function br(o){const{width:e,height:t}=o,r=new Uint8ClampedArray(e*t*3);for(let n=0,i=0;n<o.length;n+=3,i+=3){const l=o[n],a=o[n+1],f=o[n+2];r[i]=l+1.402*(f-128),r[i+1]=l-.34414*(a-128)-.71414*(f-128),r[i+2]=l+1.772*(a-128)}return r}const vr=.95047,Sr=1,Vr=1.08883;function Mr(o){const{width:e,height:t}=o,r=new Uint8Array(e*t*3);for(let n=0,i=0;n<o.length;n+=3,i+=3){const l=o[n+0],a=o[n+1]<<24>>24,f=o[n+2]<<24>>24;let u=(l+16)/116,p=a/500+u,h=u-f/200,g,y,w;p=vr*(p*p*p>.008856?p*p*p:(p-16/116)/7.787),u=Sr*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),h=Vr*(h*h*h>.008856?h*h*h:(h-16/116)/7.787),g=p*3.2406+u*-1.5372+h*-.4986,y=p*-.9689+u*1.8758+h*.0415,w=p*.0557+u*-.204+h*1.057,g=g>.0031308?1.055*Q(g,1/2.4)-.055:12.92*g,y=y>.0031308?1.055*Q(y,1/2.4)-.055:12.92*y,w=w>.0031308?1.055*Q(w,1/2.4)-.055:12.92*w,r[i]=Math.max(0,Math.min(1,g))*255,r[i+1]=Math.max(0,Math.min(1,y))*255,r[i+2]=Math.max(0,Math.min(1,w))*255}return r}const Wt=new Map;function le(o,e){Array.isArray(o)||(o=[o]),o.forEach(t=>Wt.set(t,e))}function Ar(o){return _(this,null,function*(){const e=Wt.get(o.Compression);if(!e)throw new Error(`Unknown compression method identifier: ${o.Compression}`);const t=yield e();return new t(o)})}le([void 0,1],()=>Promise.resolve().then(()=>require("./raw-B_Sr9gDq.cjs")).then(o=>o.default));le(5,()=>Promise.resolve().then(()=>require("./lzw-DA3XeqBg.cjs")).then(o=>o.default));le(6,()=>{throw new Error("old style JPEG compression is not supported.")});le(7,()=>Promise.resolve().then(()=>require("./jpeg-DLeEjPcb.cjs")).then(o=>o.default));le([8,32946],()=>Promise.resolve().then(()=>require("./deflate-De_6nNhk.cjs")).then(o=>o.default));le(32773,()=>Promise.resolve().then(()=>require("./packbits-fIig5HbM.cjs")).then(o=>o.default));le(34887,()=>Promise.resolve().then(()=>require("./lerc-BHcVhBOn.cjs")).then(o=>_(null,null,function*(){return yield o.zstd.init(),o})).then(o=>o.default));le(50001,()=>Promise.resolve().then(()=>require("./webimage-DQl5wElJ.cjs")).then(o=>o.default));function ze(o,e,t,r=1){return new(Object.getPrototypeOf(o)).constructor(e*t*r)}function Cr(o,e,t,r,n){const i=e/r,l=t/n;return o.map(a=>{const f=ze(a,r,n);for(let u=0;u<n;++u){const p=Math.min(Math.round(l*u),t-1);for(let h=0;h<r;++h){const g=Math.min(Math.round(i*h),e-1),y=a[p*e+g];f[u*r+h]=y}}return f})}function we(o,e,t){return(1-t)*o+t*e}function Tr(o,e,t,r,n){const i=e/r,l=t/n;return o.map(a=>{const f=ze(a,r,n);for(let u=0;u<n;++u){const p=l*u,h=Math.floor(p),g=Math.min(Math.ceil(p),t-1);for(let y=0;y<r;++y){const w=i*y,V=w%1,v=Math.floor(w),C=Math.min(Math.ceil(w),e-1),M=a[h*e+v],D=a[h*e+C],E=a[g*e+v],R=a[g*e+C],m=we(we(M,D,V),we(E,R,V),p%1);f[u*r+y]=m}}return f})}function Fr(o,e,t,r,n,i="nearest"){switch(i.toLowerCase()){case"nearest":return Cr(o,e,t,r,n);case"bilinear":case"linear":return Tr(o,e,t,r,n);default:throw new Error(`Unsupported resampling method: '${i}'`)}}function Er(o,e,t,r,n,i){const l=e/r,a=t/n,f=ze(o,r,n,i);for(let u=0;u<n;++u){const p=Math.min(Math.round(a*u),t-1);for(let h=0;h<r;++h){const g=Math.min(Math.round(l*h),e-1);for(let y=0;y<i;++y){const w=o[p*e*i+g*i+y];f[u*r*i+h*i+y]=w}}}return f}function Dr(o,e,t,r,n,i){const l=e/r,a=t/n,f=ze(o,r,n,i);for(let u=0;u<n;++u){const p=a*u,h=Math.floor(p),g=Math.min(Math.ceil(p),t-1);for(let y=0;y<r;++y){const w=l*y,V=w%1,v=Math.floor(w),C=Math.min(Math.ceil(w),e-1);for(let M=0;M<i;++M){const D=o[h*e*i+v*i+M],E=o[h*e*i+C*i+M],R=o[g*e*i+v*i+M],m=o[g*e*i+C*i+M],k=we(we(D,E,V),we(R,m,V),p%1);f[u*r*i+y*i+M]=k}}}return f}function Lr(o,e,t,r,n,i,l="nearest"){switch(l.toLowerCase()){case"nearest":return Er(o,e,t,r,n,i);case"bilinear":case"linear":return Dr(o,e,t,r,n,i);default:throw new Error(`Unsupported resampling method: '${l}'`)}}function Ir(o,e,t){let r=0;for(let n=e;n<t;++n)r+=o[n];return r}function tt(o,e,t){switch(o){case 1:if(e<=8)return new Uint8Array(t);if(e<=16)return new Uint16Array(t);if(e<=32)return new Uint32Array(t);break;case 2:if(e===8)return new Int8Array(t);if(e===16)return new Int16Array(t);if(e===32)return new Int32Array(t);break;case 3:switch(e){case 16:case 32:return new Float32Array(t);case 64:return new Float64Array(t)}break}throw Error("Unsupported data format/bitsPerSample")}function Nr(o,e){return(o===1||o===2)&&e<=32&&e%8===0?!1:!(o===3&&(e===16||e===32||e===64))}function Pr(o,e,t,r,n,i,l){const a=new DataView(o),f=t===2?l*i:l*i*r,u=t===2?1:r,p=tt(e,n,f),h=parseInt("1".repeat(n),2);if(e===1){let g;t===1?g=r*n:g=n;let y=i*g;(y&7)!==0&&(y=y+7&-8);for(let w=0;w<l;++w){const V=w*y;for(let v=0;v<i;++v){const C=V+v*u*n;for(let M=0;M<u;++M){const D=C+M*n,E=(w*i+v)*u+M,R=Math.floor(D/8),m=D%8;if(m+n<=8)p[E]=a.getUint8(R)>>8-n-m&h;else if(m+n<=16)p[E]=a.getUint16(R)>>16-n-m&h;else if(m+n<=24){const k=a.getUint16(R)<<8|a.getUint8(R+2);p[E]=k>>24-n-m&h}else p[E]=a.getUint32(R)>>32-n-m&h}}}}return p.buffer}class Ur{constructor(e,t,r,n,i,l){this.fileDirectory=e,this.geoKeys=t,this.dataView=r,this.littleEndian=n,this.tiles=i?{}:null,this.isTiled=!e.StripOffsets;const a=e.PlanarConfiguration;if(this.planarConfiguration=typeof a=="undefined"?1:a,this.planarConfiguration!==1&&this.planarConfiguration!==2)throw new Error("Invalid planar configuration.");this.source=l}getFileDirectory(){return this.fileDirectory}getGeoKeys(){return this.geoKeys}getWidth(){return this.fileDirectory.ImageWidth}getHeight(){return this.fileDirectory.ImageLength}getSamplesPerPixel(){return typeof this.fileDirectory.SamplesPerPixel!="undefined"?this.fileDirectory.SamplesPerPixel:1}getTileWidth(){return this.isTiled?this.fileDirectory.TileWidth:this.getWidth()}getTileHeight(){return this.isTiled?this.fileDirectory.TileLength:typeof this.fileDirectory.RowsPerStrip!="undefined"?Math.min(this.fileDirectory.RowsPerStrip,this.getHeight()):this.getHeight()}getBlockWidth(){return this.getTileWidth()}getBlockHeight(e){return this.isTiled||(e+1)*this.getTileHeight()<=this.getHeight()?this.getTileHeight():this.getHeight()-e*this.getTileHeight()}getBytesPerPixel(){let e=0;for(let t=0;t<this.fileDirectory.BitsPerSample.length;++t)e+=this.getSampleByteSize(t);return e}getSampleByteSize(e){if(e>=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);return Math.ceil(this.fileDirectory.BitsPerSample[e]/8)}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:if(r<=8)return DataView.prototype.getUint8;if(r<=16)return DataView.prototype.getUint16;if(r<=32)return DataView.prototype.getUint32;break;case 2:if(r<=8)return DataView.prototype.getInt8;if(r<=16)return DataView.prototype.getInt16;if(r<=32)return DataView.prototype.getInt32;break;case 3:switch(r){case 16:return function(n,i){return Zt(this,n,i)};case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}break}throw Error("Unsupported data format/bitsPerSample")}getSampleFormat(e=0){return this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1}getBitsPerSample(e=0){return this.fileDirectory.BitsPerSample[e]}getArrayForSample(e,t){const r=this.getSampleFormat(e),n=this.getBitsPerSample(e);return tt(r,n,t)}getTileOrStrip(e,t,r,n,i){return _(this,null,function*(){const l=Math.ceil(this.getWidth()/this.getTileWidth()),a=Math.ceil(this.getHeight()/this.getTileHeight());let f;const{tiles:u}=this;this.planarConfiguration===1?f=t*l+e:this.planarConfiguration===2&&(f=r*l*a+t*l+e);let p,h;this.isTiled?(p=this.fileDirectory.TileOffsets[f],h=this.fileDirectory.TileByteCounts[f]):(p=this.fileDirectory.StripOffsets[f],h=this.fileDirectory.StripByteCounts[f]);const g=(yield this.source.fetch([{offset:p,length:h}],i))[0];let y;return u===null||!u[f]?(y=_(this,null,function*(){let w=yield n.decode(this.fileDirectory,g);const V=this.getSampleFormat(),v=this.getBitsPerSample();return Nr(V,v)&&(w=Pr(w,V,this.planarConfiguration,this.getSamplesPerPixel(),v,this.getTileWidth(),this.getBlockHeight(t))),w}),u!==null&&(u[f]=y)):y=u[f],{x:e,y:t,sample:r,data:yield y}})}_readRaster(e,t,r,n,i,l,a,f,u){return _(this,null,function*(){const p=this.getTileWidth(),h=this.getTileHeight(),g=this.getWidth(),y=this.getHeight(),w=Math.max(Math.floor(e[0]/p),0),V=Math.min(Math.ceil(e[2]/p),Math.ceil(g/p)),v=Math.max(Math.floor(e[1]/h),0),C=Math.min(Math.ceil(e[3]/h),Math.ceil(y/h)),M=e[2]-e[0];let D=this.getBytesPerPixel();const E=[],R=[];for(let O=0;O<t.length;++O)this.planarConfiguration===1?E.push(Ir(this.fileDirectory.BitsPerSample,0,t[O])/8):E.push(0),R.push(this.getReaderForSample(t[O]));const m=[],{littleEndian:k}=this;for(let O=v;O<C;++O)for(let se=w;se<V;++se){let ae;this.planarConfiguration===1&&(ae=this.getTileOrStrip(se,O,0,i,u));for(let z=0;z<t.length;++z){const U=z,$=t[z];this.planarConfiguration===2&&(D=this.getSampleByteSize($),ae=this.getTileOrStrip(se,O,$,i,u));const oe=ae.then(ce=>{const Ye=ce.data,Ie=new DataView(Ye),ve=this.getBlockHeight(ce.y),ue=ce.y*h,he=ce.x*p,Se=ue+ve,Ke=(ce.x+1)*p,me=R[U],Ne=Math.min(ve,ve-(Se-e[3]),y-ue),$e=Math.min(p,p-(Ke-e[2]),g-he);for(let fe=Math.max(0,e[1]-ue);fe<Ne;++fe)for(let de=Math.max(0,e[0]-he);de<$e;++de){const Xe=(fe*p+de)*D,Ve=me.call(Ie,Xe+E[U],k);let ge;n?(ge=(fe+ue-e[1])*M*t.length+(de+he-e[0])*t.length+U,r[ge]=Ve):(ge=(fe+ue-e[1])*M+de+he-e[0],r[U][ge]=Ve)}});m.push(oe)}}if(yield Promise.all(m),l&&e[2]-e[0]!==l||a&&e[3]-e[1]!==a){let O;return n?O=Lr(r,e[2]-e[0],e[3]-e[1],l,a,t.length,f):O=Fr(r,e[2]-e[0],e[3]-e[1],l,a,f),O.width=l,O.height=a,O}return r.width=l||e[2]-e[0],r.height=a||e[3]-e[1],r})}readRasters(){return _(this,arguments,function*({window:e,samples:t=[],interleave:r,pool:n=null,width:i,height:l,resampleMethod:a,fillValue:f,signal:u}={}){const p=e||[0,0,this.getWidth(),this.getHeight()];if(p[0]>p[2]||p[1]>p[3])throw new Error("Invalid subsets");const h=p[2]-p[0],g=p[3]-p[1],y=h*g,w=this.getSamplesPerPixel();if(!t||!t.length)for(let M=0;M<w;++M)t.push(M);else for(let M=0;M<t.length;++M)if(t[M]>=w)return Promise.reject(new RangeError(`Invalid sample index '${t[M]}'.`));let V;if(r){const M=this.fileDirectory.SampleFormat?Math.max.apply(null,this.fileDirectory.SampleFormat):1,D=Math.max.apply(null,this.fileDirectory.BitsPerSample);V=tt(M,D,y*t.length),f&&V.fill(f)}else{V=[];for(let M=0;M<t.length;++M){const D=this.getArrayForSample(t[M],y);Array.isArray(f)&&M<f.length?D.fill(f[M]):f&&!Array.isArray(f)&&D.fill(f),V.push(D)}}const v=n||(yield Ar(this.fileDirectory));return yield this._readRaster(p,t,V,r,v,i,l,a,u)})}readRGB(){return _(this,arguments,function*({window:e,interleave:t=!0,pool:r=null,width:n,height:i,resampleMethod:l,enableAlpha:a=!1,signal:f}={}){const u=e||[0,0,this.getWidth(),this.getHeight()];if(u[0]>u[2]||u[1]>u[3])throw new Error("Invalid subsets");const p=this.fileDirectory.PhotometricInterpretation;if(p===H.RGB){let C=[0,1,2];if(this.fileDirectory.ExtraSamples!==dr.Unspecified&&a){C=[];for(let M=0;M<this.fileDirectory.BitsPerSample.length;M+=1)C.push(M)}return this.readRasters({window:e,interleave:t,samples:C,pool:r,width:n,height:i,resampleMethod:l,signal:f})}let h;switch(p){case H.WhiteIsZero:case H.BlackIsZero:case H.Palette:h=[0];break;case H.CMYK:h=[0,1,2,3];break;case H.YCbCr:case H.CIELab:h=[0,1,2];break;default:throw new Error("Invalid or unsupported photometric interpretation.")}const g={window:u,interleave:!0,samples:h,pool:r,width:n,height:i,resampleMethod:l,signal:f},{fileDirectory:y}=this,w=yield this.readRasters(g),V=Q(2,this.fileDirectory.BitsPerSample[0]);let v;switch(p){case H.WhiteIsZero:v=pr(w,V);break;case H.BlackIsZero:v=yr(w,V);break;case H.Palette:v=wr(w,y.ColorMap);break;case H.CMYK:v=xr(w);break;case H.YCbCr:v=br(w);break;case H.CIELab:v=Mr(w);break;default:throw new Error("Unsupported photometric interpretation.")}if(!t){const C=new Uint8Array(v.length/3),M=new Uint8Array(v.length/3),D=new Uint8Array(v.length/3);for(let E=0,R=0;E<v.length;E+=3,++R)C[R]=v[E],M[R]=v[E+1],D[R]=v[E+2];v=[C,M,D]}return v.width=w.width,v.height=w.height,v})}getTiePoints(){if(!this.fileDirectory.ModelTiepoint)return[];const e=[];for(let t=0;t<this.fileDirectory.ModelTiepoint.length;t+=6)e.push({i:this.fileDirectory.ModelTiepoint[t],j:this.fileDirectory.ModelTiepoint[t+1],k:this.fileDirectory.ModelTiepoint[t+2],x:this.fileDirectory.ModelTiepoint[t+3],y:this.fileDirectory.ModelTiepoint[t+4],z:this.fileDirectory.ModelTiepoint[t+5]});return e}getGDALMetadata(e=null){const t={};if(!this.fileDirectory.GDAL_METADATA)return null;const r=this.fileDirectory.GDAL_METADATA;let n=ur(r,"Item");e===null?n=n.filter(i=>Qe(i,"sample")===void 0):n=n.filter(i=>Number(Qe(i,"sample"))===e);for(let i=0;i<n.length;++i){const l=n[i];t[Qe(l,"name")]=l.inner}return t}getGDALNoData(){if(!this.fileDirectory.GDAL_NODATA)return null;const e=this.fileDirectory.GDAL_NODATA;return Number(e.substring(0,e.length-1))}getOrigin(){const e=this.fileDirectory.ModelTiepoint,t=this.fileDirectory.ModelTransformation;if(e&&e.length===6)return[e[3],e[4],e[5]];if(t)return[t[3],t[7],t[11]];throw new Error("The image does not have an affine transformation.")}getResolution(e=null){const t=this.fileDirectory.ModelPixelScale,r=this.fileDirectory.ModelTransformation;if(t)return[t[0],-t[1],t[2]];if(r)return r[1]===0&&r[4]===0?[r[0],-r[5],r[10]]:[Math.sqrt(r[0]*r[0]+r[4]*r[4]),-Math.sqrt(r[1]*r[1]+r[5]*r[5]),r[10]];if(e){const[n,i,l]=e.getResolution();return[n*e.getWidth()/this.getWidth(),i*e.getHeight()/this.getHeight(),l*e.getWidth()/this.getWidth()]}throw new Error("The image does not have an affine transformation.")}pixelIsArea(){return this.geoKeys.GTRasterTypeGeoKey===1}getBoundingBox(e=!1){const t=this.getHeight(),r=this.getWidth();if(this.fileDirectory.ModelTransformation&&!e){const[n,i,l,a,f,u,p,h]=this.fileDirectory.ModelTransformation,y=[[0,0],[0,t],[r,0],[r,t]].map(([v,C])=>[a+n*v+i*C,h+f*v+u*C]),w=y.map(v=>v[0]),V=y.map(v=>v[1]);return[Math.min(...w),Math.min(...V),Math.max(...w),Math.max(...V)]}else{const n=this.getOrigin(),i=this.getResolution(),l=n[0],a=n[1],f=l+i[0]*r,u=a+i[1]*t;return[Math.min(l,f),Math.min(a,u),Math.max(l,f),Math.max(a,u)]}}}class Rr{constructor(e){this._dataView=new DataView(e)}get buffer(){return this._dataView.buffer}getUint64(e,t){const r=this.getUint32(e,t),n=this.getUint32(e+4,t);let i;if(t){if(i=r+Q(2,32)*n,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}if(i=Q(2,32)*r+n,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}getInt64(e,t){let r=0;const n=(this._dataView.getUint8(e+(t?7:0))&128)>0;let i=!0;for(let l=0;l<8;l++){let a=this._dataView.getUint8(e+(t?l:7-l));n&&(i?a!==0&&(a=~(a-1)&255,i=!1):a=~a&255),r+=a*Q(256,l)}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat16(e,t){return Zt(this._dataView,e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class kr{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+Q(2,32)*r,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}if(n=Q(2,32)*t+r,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}readInt64(e){let t=0;const r=(this._dataView.getUint8(e+(this._littleEndian?7:0))&128)>0;let n=!0;for(let i=0;i<8;i++){let l=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?l!==0&&(l=~(l-1)&255,n=!1):l=~l&255),t+=l*Q(256,i)}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}class _r{fetch(e,t=void 0){return _(this,null,function*(){return Promise.all(e.map(r=>this.fetchSlice(r,t)))})}fetchSlice(e){return _(this,null,function*(){throw new Error(`fetching of slice ${e} not possible, not implemented`)})}get fileSize(){return null}close(){return _(this,null,function*(){})}}class ct extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,ct),this.name="AbortError"}}class Br extends _r{constructor(e){super(),this.arrayBuffer=e}fetchSlice(e,t){if(t&&t.aborted)throw new ct("Request aborted");return this.arrayBuffer.slice(e.offset,e.offset+e.length)}}function Or(o){return new Br(o)}function nt(o){switch(o){case I.BYTE:case I.ASCII:case I.SBYTE:case I.UNDEFINED:return 1;case I.SHORT:case I.SSHORT:return 2;case I.LONG:case I.SLONG:case I.FLOAT:case I.IFD:return 4;case I.RATIONAL:case I.SRATIONAL:case I.DOUBLE:case I.LONG8:case I.SLONG8:case I.IFD8:return 8;default:throw new RangeError(`Invalid field type: ${o}`)}}function Gr(o){const e=o.GeoKeyDirectory;if(!e)return null;const t={};for(let r=4;r<=e[3]*4;r+=4){const n=gr[e[r]],i=e[r+1]?Ee[e[r+1]]:null,l=e[r+2],a=e[r+3];let f=null;if(!i)f=a;else{if(f=o[i],typeof f=="undefined"||f===null)throw new Error(`Could not get value of geoKey '${n}'.`);typeof f=="string"?f=f.substring(a,a+l-1):f.subarray&&(f=f.subarray(a,a+l),l===1&&(f=f[0]))}t[n]=f}return t}function ye(o,e,t,r){let n=null,i=null;const l=nt(e);switch(e){case I.BYTE:case I.ASCII:case I.UNDEFINED:n=new Uint8Array(t),i=o.readUint8;break;case I.SBYTE:n=new Int8Array(t),i=o.readInt8;break;case I.SHORT:n=new Uint16Array(t),i=o.readUint16;break;case I.SSHORT:n=new Int16Array(t),i=o.readInt16;break;case I.LONG:case I.IFD:n=new Uint32Array(t),i=o.readUint32;break;case I.SLONG:n=new Int32Array(t),i=o.readInt32;break;case I.LONG8:case I.IFD8:n=new Array(t),i=o.readUint64;break;case I.SLONG8:n=new Array(t),i=o.readInt64;break;case I.RATIONAL:n=new Uint32Array(t*2),i=o.readUint32;break;case I.SRATIONAL:n=new Int32Array(t*2),i=o.readInt32;break;case I.FLOAT:n=new Float32Array(t),i=o.readFloat32;break;case I.DOUBLE:n=new Float64Array(t),i=o.readFloat64;break;default:throw new RangeError(`Invalid field type: ${e}`)}if(e===I.RATIONAL||e===I.SRATIONAL)for(let a=0;a<t;a+=2)n[a]=i.call(o,r+a*l),n[a+1]=i.call(o,r+(a*l+4));else for(let a=0;a<t;++a)n[a]=i.call(o,r+a*l);return e===I.ASCII?new TextDecoder("utf-8").decode(n):n}class jr{constructor(e,t,r){this.fileDirectory=e,this.geoKeyDirectory=t,this.nextIFDByteOffset=r}}class je extends Error{constructor(e){super(`No image at index ${e}`),this.index=e}}class zr{readRasters(){return _(this,arguments,function*(e={}){const{window:t,width:r,height:n}=e;let{resX:i,resY:l,bbox:a}=e;const f=yield this.getImage();let u=f;const p=yield this.getImageCount(),h=f.getBoundingBox();if(t&&a)throw new Error('Both "bbox" and "window" passed.');if(r||n){if(t){const[w,V]=f.getOrigin(),[v,C]=f.getResolution();a=[w+t[0]*v,V+t[1]*C,w+t[2]*v,V+t[3]*C]}const y=a||h;if(r){if(i)throw new Error("Both width and resX passed");i=(y[2]-y[0])/r}if(n){if(l)throw new Error("Both width and resY passed");l=(y[3]-y[1])/n}}if(i||l){const y=[];for(let w=0;w<p;++w){const V=yield this.getImage(w),{SubfileType:v,NewSubfileType:C}=V.fileDirectory;(w===0||v===2||C&1)&&y.push(V)}y.sort((w,V)=>w.getWidth()-V.getWidth());for(let w=0;w<y.length;++w){const V=y[w],v=(h[2]-h[0])/V.getWidth(),C=(h[3]-h[1])/V.getHeight();if(u=V,i&&i>v||l&&l>C)break}}let g=t;if(a){const[y,w]=f.getOrigin(),[V,v]=u.getResolution(f);g=[Math.round((a[0]-y)/V),Math.round((a[1]-w)/v),Math.round((a[2]-y)/V),Math.round((a[3]-w)/v)],g=[Math.min(g[0],g[2]),Math.min(g[1],g[3]),Math.max(g[0],g[2]),Math.max(g[1],g[3])]}return u.readRasters(We(Ze({},e),{window:g}))})}}class ut extends zr{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}getSlice(e,t){return _(this,null,function*(){const r=this.bigTiff?4048:1024;return new kr((yield this.source.fetch([{offset:e,length:typeof t!="undefined"?t:r}]))[0],e,this.littleEndian,this.bigTiff)})}parseFileDirectoryAt(e){return _(this,null,function*(){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=yield this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),l=i*t+(this.bigTiff?16:6);n.covers(e,l)||(n=yield this.getSlice(e,l));const a={};let f=e+(this.bigTiff?8:2);for(let h=0;h<i;f+=t,++h){const g=n.readUint16(f),y=n.readUint16(f+2),w=this.bigTiff?n.readUint64(f+4):n.readUint32(f+4);let V,v;const C=nt(y),M=f+(this.bigTiff?12:8);if(C*w<=(this.bigTiff?8:4))V=ye(n,y,w,M);else{const D=n.readOffset(M),E=nt(y)*w;if(n.covers(D,E))V=ye(n,y,w,D);else{const R=yield this.getSlice(D,E);V=ye(R,y,w,D)}}w===1&&fr.indexOf(g)===-1&&!(y===I.RATIONAL||y===I.SRATIONAL)?v=V[0]:v=V,a[Ee[g]]=v}const u=Gr(a),p=n.readOffset(e+r+t*i);return new jr(a,u,p)})}requestIFD(e){return _(this,null,function*(){if(this.ifdRequests[e])return this.ifdRequests[e];if(e===0)return this.ifdRequests[e]=this.parseFileDirectoryAt(this.firstIFDOffset),this.ifdRequests[e];if(!this.ifdRequests[e-1])try{this.ifdRequests[e-1]=this.requestIFD(e-1)}catch(t){throw t instanceof je?new je(e):t}return this.ifdRequests[e]=_(this,null,function*(){const t=yield this.ifdRequests[e-1];if(t.nextIFDByteOffset===0)throw new je(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)}),this.ifdRequests[e]})}getImage(e=0){return _(this,null,function*(){const t=yield this.requestIFD(e);return new Ur(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)})}getImageCount(){return _(this,null,function*(){let e=0,t=!0;for(;t;)try{yield this.requestIFD(e),++e}catch(r){if(r instanceof je)t=!1;else throw r}return e})}getGhostValues(){return _(this,null,function*(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=yield this.getSlice(e,r);if(t===ye(n,I.ASCII,t.length,e)){const l=ye(n,I.ASCII,r,e).split(`
7
+ >]`),D+=t(E,"</"+i+">"),D>=M)break;C=g}}else g=e(h,"[ /]"+i+">",0);const w=p+i.length+g+1;if(a&&console.log("[xml-utils] end:",w),w===-1)return;const V=n.slice(p,w);let v;return y?v=null:v=V.slice(V.indexOf(">")+1,V.lastIndexOf("<")),{inner:v,outer:V,start:p,end:w}}return _e.exports=r,_e.exports.default=r,_e.exports}var _t;function lr(){if(_t)return ke.exports;_t=1;const o=ar();function e(t,r,n){const i=[],l=n&&n.debug||!1,a=n&&typeof n.nested=="boolean"?n.nested:!0;let f=n&&n.startIndex||0,u;for(;u=o(t,r,{debug:l,startIndex:f});)a?f=u.start+1+r.length:f=u.end,i.push(u);return l&&console.log("findTagsByName found",i.length,"tags"),i}return ke.exports=e,ke.exports.default=e,ke.exports}var cr=lr();const ur=rt.getDefaultExportFromCjs(cr),Ee={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},ie={};for(const o in Ee)Ee.hasOwnProperty(o)&&(ie[Ee[o]]=parseInt(o,10));const fr=[ie.BitsPerSample,ie.ExtraSamples,ie.SampleFormat,ie.StripByteCounts,ie.StripOffsets,ie.StripRowCounts,ie.TileByteCounts,ie.TileOffsets,ie.SubIFDs],et={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},I={};for(const o in et)et.hasOwnProperty(o)&&(I[et[o]]=parseInt(o,10));const H={WhiteIsZero:0,BlackIsZero:1,RGB:2,Palette:3,CMYK:5,YCbCr:6,CIELab:8},dr={Unspecified:0},hr={AddCompression:1},mr={None:0,Deflate:1,Zstandard:2},gr={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"};function pr(o,e){const{width:t,height:r}=o,n=new Uint8Array(t*r*3);let i;for(let l=0,a=0;l<o.length;++l,a+=3)i=256-o[l]/e*256,n[a]=i,n[a+1]=i,n[a+2]=i;return n}function yr(o,e){const{width:t,height:r}=o,n=new Uint8Array(t*r*3);let i;for(let l=0,a=0;l<o.length;++l,a+=3)i=o[l]/e*256,n[a]=i,n[a+1]=i,n[a+2]=i;return n}function wr(o,e){const{width:t,height:r}=o,n=new Uint8Array(t*r*3),i=e.length/3,l=e.length/3*2;for(let a=0,f=0;a<o.length;++a,f+=3){const u=o[a];n[f]=e[u]/65536*256,n[f+1]=e[u+i]/65536*256,n[f+2]=e[u+l]/65536*256}return n}function xr(o){const{width:e,height:t}=o,r=new Uint8Array(e*t*3);for(let n=0,i=0;n<o.length;n+=4,i+=3){const l=o[n],a=o[n+1],f=o[n+2],u=o[n+3];r[i]=255*((255-l)/256)*((255-u)/256),r[i+1]=255*((255-a)/256)*((255-u)/256),r[i+2]=255*((255-f)/256)*((255-u)/256)}return r}function br(o){const{width:e,height:t}=o,r=new Uint8ClampedArray(e*t*3);for(let n=0,i=0;n<o.length;n+=3,i+=3){const l=o[n],a=o[n+1],f=o[n+2];r[i]=l+1.402*(f-128),r[i+1]=l-.34414*(a-128)-.71414*(f-128),r[i+2]=l+1.772*(a-128)}return r}const vr=.95047,Sr=1,Vr=1.08883;function Mr(o){const{width:e,height:t}=o,r=new Uint8Array(e*t*3);for(let n=0,i=0;n<o.length;n+=3,i+=3){const l=o[n+0],a=o[n+1]<<24>>24,f=o[n+2]<<24>>24;let u=(l+16)/116,p=a/500+u,h=u-f/200,g,y,w;p=vr*(p*p*p>.008856?p*p*p:(p-16/116)/7.787),u=Sr*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),h=Vr*(h*h*h>.008856?h*h*h:(h-16/116)/7.787),g=p*3.2406+u*-1.5372+h*-.4986,y=p*-.9689+u*1.8758+h*.0415,w=p*.0557+u*-.204+h*1.057,g=g>.0031308?1.055*Q(g,1/2.4)-.055:12.92*g,y=y>.0031308?1.055*Q(y,1/2.4)-.055:12.92*y,w=w>.0031308?1.055*Q(w,1/2.4)-.055:12.92*w,r[i]=Math.max(0,Math.min(1,g))*255,r[i+1]=Math.max(0,Math.min(1,y))*255,r[i+2]=Math.max(0,Math.min(1,w))*255}return r}const Wt=new Map;function le(o,e){Array.isArray(o)||(o=[o]),o.forEach(t=>Wt.set(t,e))}function Ar(o){return _(this,null,function*(){const e=Wt.get(o.Compression);if(!e)throw new Error(`Unknown compression method identifier: ${o.Compression}`);const t=yield e();return new t(o)})}le([void 0,1],()=>Promise.resolve().then(()=>require("./raw-B_Sr9gDq.cjs")).then(o=>o.default));le(5,()=>Promise.resolve().then(()=>require("./lzw-DA3XeqBg.cjs")).then(o=>o.default));le(6,()=>{throw new Error("old style JPEG compression is not supported.")});le(7,()=>Promise.resolve().then(()=>require("./jpeg-DLeEjPcb.cjs")).then(o=>o.default));le([8,32946],()=>Promise.resolve().then(()=>require("./deflate-De_6nNhk.cjs")).then(o=>o.default));le(32773,()=>Promise.resolve().then(()=>require("./packbits-fIig5HbM.cjs")).then(o=>o.default));le(34887,()=>Promise.resolve().then(()=>require("./lerc-ACN_ZV5f.cjs")).then(o=>_(null,null,function*(){return yield o.zstd.init(),o})).then(o=>o.default));le(50001,()=>Promise.resolve().then(()=>require("./webimage-DQl5wElJ.cjs")).then(o=>o.default));function ze(o,e,t,r=1){return new(Object.getPrototypeOf(o)).constructor(e*t*r)}function Cr(o,e,t,r,n){const i=e/r,l=t/n;return o.map(a=>{const f=ze(a,r,n);for(let u=0;u<n;++u){const p=Math.min(Math.round(l*u),t-1);for(let h=0;h<r;++h){const g=Math.min(Math.round(i*h),e-1),y=a[p*e+g];f[u*r+h]=y}}return f})}function we(o,e,t){return(1-t)*o+t*e}function Tr(o,e,t,r,n){const i=e/r,l=t/n;return o.map(a=>{const f=ze(a,r,n);for(let u=0;u<n;++u){const p=l*u,h=Math.floor(p),g=Math.min(Math.ceil(p),t-1);for(let y=0;y<r;++y){const w=i*y,V=w%1,v=Math.floor(w),C=Math.min(Math.ceil(w),e-1),M=a[h*e+v],D=a[h*e+C],E=a[g*e+v],R=a[g*e+C],m=we(we(M,D,V),we(E,R,V),p%1);f[u*r+y]=m}}return f})}function Fr(o,e,t,r,n,i="nearest"){switch(i.toLowerCase()){case"nearest":return Cr(o,e,t,r,n);case"bilinear":case"linear":return Tr(o,e,t,r,n);default:throw new Error(`Unsupported resampling method: '${i}'`)}}function Er(o,e,t,r,n,i){const l=e/r,a=t/n,f=ze(o,r,n,i);for(let u=0;u<n;++u){const p=Math.min(Math.round(a*u),t-1);for(let h=0;h<r;++h){const g=Math.min(Math.round(l*h),e-1);for(let y=0;y<i;++y){const w=o[p*e*i+g*i+y];f[u*r*i+h*i+y]=w}}}return f}function Dr(o,e,t,r,n,i){const l=e/r,a=t/n,f=ze(o,r,n,i);for(let u=0;u<n;++u){const p=a*u,h=Math.floor(p),g=Math.min(Math.ceil(p),t-1);for(let y=0;y<r;++y){const w=l*y,V=w%1,v=Math.floor(w),C=Math.min(Math.ceil(w),e-1);for(let M=0;M<i;++M){const D=o[h*e*i+v*i+M],E=o[h*e*i+C*i+M],R=o[g*e*i+v*i+M],m=o[g*e*i+C*i+M],k=we(we(D,E,V),we(R,m,V),p%1);f[u*r*i+y*i+M]=k}}}return f}function Lr(o,e,t,r,n,i,l="nearest"){switch(l.toLowerCase()){case"nearest":return Er(o,e,t,r,n,i);case"bilinear":case"linear":return Dr(o,e,t,r,n,i);default:throw new Error(`Unsupported resampling method: '${l}'`)}}function Ir(o,e,t){let r=0;for(let n=e;n<t;++n)r+=o[n];return r}function tt(o,e,t){switch(o){case 1:if(e<=8)return new Uint8Array(t);if(e<=16)return new Uint16Array(t);if(e<=32)return new Uint32Array(t);break;case 2:if(e===8)return new Int8Array(t);if(e===16)return new Int16Array(t);if(e===32)return new Int32Array(t);break;case 3:switch(e){case 16:case 32:return new Float32Array(t);case 64:return new Float64Array(t)}break}throw Error("Unsupported data format/bitsPerSample")}function Nr(o,e){return(o===1||o===2)&&e<=32&&e%8===0?!1:!(o===3&&(e===16||e===32||e===64))}function Pr(o,e,t,r,n,i,l){const a=new DataView(o),f=t===2?l*i:l*i*r,u=t===2?1:r,p=tt(e,n,f),h=parseInt("1".repeat(n),2);if(e===1){let g;t===1?g=r*n:g=n;let y=i*g;(y&7)!==0&&(y=y+7&-8);for(let w=0;w<l;++w){const V=w*y;for(let v=0;v<i;++v){const C=V+v*u*n;for(let M=0;M<u;++M){const D=C+M*n,E=(w*i+v)*u+M,R=Math.floor(D/8),m=D%8;if(m+n<=8)p[E]=a.getUint8(R)>>8-n-m&h;else if(m+n<=16)p[E]=a.getUint16(R)>>16-n-m&h;else if(m+n<=24){const k=a.getUint16(R)<<8|a.getUint8(R+2);p[E]=k>>24-n-m&h}else p[E]=a.getUint32(R)>>32-n-m&h}}}}return p.buffer}class Ur{constructor(e,t,r,n,i,l){this.fileDirectory=e,this.geoKeys=t,this.dataView=r,this.littleEndian=n,this.tiles=i?{}:null,this.isTiled=!e.StripOffsets;const a=e.PlanarConfiguration;if(this.planarConfiguration=typeof a=="undefined"?1:a,this.planarConfiguration!==1&&this.planarConfiguration!==2)throw new Error("Invalid planar configuration.");this.source=l}getFileDirectory(){return this.fileDirectory}getGeoKeys(){return this.geoKeys}getWidth(){return this.fileDirectory.ImageWidth}getHeight(){return this.fileDirectory.ImageLength}getSamplesPerPixel(){return typeof this.fileDirectory.SamplesPerPixel!="undefined"?this.fileDirectory.SamplesPerPixel:1}getTileWidth(){return this.isTiled?this.fileDirectory.TileWidth:this.getWidth()}getTileHeight(){return this.isTiled?this.fileDirectory.TileLength:typeof this.fileDirectory.RowsPerStrip!="undefined"?Math.min(this.fileDirectory.RowsPerStrip,this.getHeight()):this.getHeight()}getBlockWidth(){return this.getTileWidth()}getBlockHeight(e){return this.isTiled||(e+1)*this.getTileHeight()<=this.getHeight()?this.getTileHeight():this.getHeight()-e*this.getTileHeight()}getBytesPerPixel(){let e=0;for(let t=0;t<this.fileDirectory.BitsPerSample.length;++t)e+=this.getSampleByteSize(t);return e}getSampleByteSize(e){if(e>=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);return Math.ceil(this.fileDirectory.BitsPerSample[e]/8)}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:if(r<=8)return DataView.prototype.getUint8;if(r<=16)return DataView.prototype.getUint16;if(r<=32)return DataView.prototype.getUint32;break;case 2:if(r<=8)return DataView.prototype.getInt8;if(r<=16)return DataView.prototype.getInt16;if(r<=32)return DataView.prototype.getInt32;break;case 3:switch(r){case 16:return function(n,i){return Zt(this,n,i)};case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}break}throw Error("Unsupported data format/bitsPerSample")}getSampleFormat(e=0){return this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1}getBitsPerSample(e=0){return this.fileDirectory.BitsPerSample[e]}getArrayForSample(e,t){const r=this.getSampleFormat(e),n=this.getBitsPerSample(e);return tt(r,n,t)}getTileOrStrip(e,t,r,n,i){return _(this,null,function*(){const l=Math.ceil(this.getWidth()/this.getTileWidth()),a=Math.ceil(this.getHeight()/this.getTileHeight());let f;const{tiles:u}=this;this.planarConfiguration===1?f=t*l+e:this.planarConfiguration===2&&(f=r*l*a+t*l+e);let p,h;this.isTiled?(p=this.fileDirectory.TileOffsets[f],h=this.fileDirectory.TileByteCounts[f]):(p=this.fileDirectory.StripOffsets[f],h=this.fileDirectory.StripByteCounts[f]);const g=(yield this.source.fetch([{offset:p,length:h}],i))[0];let y;return u===null||!u[f]?(y=_(this,null,function*(){let w=yield n.decode(this.fileDirectory,g);const V=this.getSampleFormat(),v=this.getBitsPerSample();return Nr(V,v)&&(w=Pr(w,V,this.planarConfiguration,this.getSamplesPerPixel(),v,this.getTileWidth(),this.getBlockHeight(t))),w}),u!==null&&(u[f]=y)):y=u[f],{x:e,y:t,sample:r,data:yield y}})}_readRaster(e,t,r,n,i,l,a,f,u){return _(this,null,function*(){const p=this.getTileWidth(),h=this.getTileHeight(),g=this.getWidth(),y=this.getHeight(),w=Math.max(Math.floor(e[0]/p),0),V=Math.min(Math.ceil(e[2]/p),Math.ceil(g/p)),v=Math.max(Math.floor(e[1]/h),0),C=Math.min(Math.ceil(e[3]/h),Math.ceil(y/h)),M=e[2]-e[0];let D=this.getBytesPerPixel();const E=[],R=[];for(let O=0;O<t.length;++O)this.planarConfiguration===1?E.push(Ir(this.fileDirectory.BitsPerSample,0,t[O])/8):E.push(0),R.push(this.getReaderForSample(t[O]));const m=[],{littleEndian:k}=this;for(let O=v;O<C;++O)for(let se=w;se<V;++se){let ae;this.planarConfiguration===1&&(ae=this.getTileOrStrip(se,O,0,i,u));for(let z=0;z<t.length;++z){const U=z,$=t[z];this.planarConfiguration===2&&(D=this.getSampleByteSize($),ae=this.getTileOrStrip(se,O,$,i,u));const oe=ae.then(ce=>{const Ye=ce.data,Ie=new DataView(Ye),ve=this.getBlockHeight(ce.y),ue=ce.y*h,he=ce.x*p,Se=ue+ve,Ke=(ce.x+1)*p,me=R[U],Ne=Math.min(ve,ve-(Se-e[3]),y-ue),$e=Math.min(p,p-(Ke-e[2]),g-he);for(let fe=Math.max(0,e[1]-ue);fe<Ne;++fe)for(let de=Math.max(0,e[0]-he);de<$e;++de){const Xe=(fe*p+de)*D,Ve=me.call(Ie,Xe+E[U],k);let ge;n?(ge=(fe+ue-e[1])*M*t.length+(de+he-e[0])*t.length+U,r[ge]=Ve):(ge=(fe+ue-e[1])*M+de+he-e[0],r[U][ge]=Ve)}});m.push(oe)}}if(yield Promise.all(m),l&&e[2]-e[0]!==l||a&&e[3]-e[1]!==a){let O;return n?O=Lr(r,e[2]-e[0],e[3]-e[1],l,a,t.length,f):O=Fr(r,e[2]-e[0],e[3]-e[1],l,a,f),O.width=l,O.height=a,O}return r.width=l||e[2]-e[0],r.height=a||e[3]-e[1],r})}readRasters(){return _(this,arguments,function*({window:e,samples:t=[],interleave:r,pool:n=null,width:i,height:l,resampleMethod:a,fillValue:f,signal:u}={}){const p=e||[0,0,this.getWidth(),this.getHeight()];if(p[0]>p[2]||p[1]>p[3])throw new Error("Invalid subsets");const h=p[2]-p[0],g=p[3]-p[1],y=h*g,w=this.getSamplesPerPixel();if(!t||!t.length)for(let M=0;M<w;++M)t.push(M);else for(let M=0;M<t.length;++M)if(t[M]>=w)return Promise.reject(new RangeError(`Invalid sample index '${t[M]}'.`));let V;if(r){const M=this.fileDirectory.SampleFormat?Math.max.apply(null,this.fileDirectory.SampleFormat):1,D=Math.max.apply(null,this.fileDirectory.BitsPerSample);V=tt(M,D,y*t.length),f&&V.fill(f)}else{V=[];for(let M=0;M<t.length;++M){const D=this.getArrayForSample(t[M],y);Array.isArray(f)&&M<f.length?D.fill(f[M]):f&&!Array.isArray(f)&&D.fill(f),V.push(D)}}const v=n||(yield Ar(this.fileDirectory));return yield this._readRaster(p,t,V,r,v,i,l,a,u)})}readRGB(){return _(this,arguments,function*({window:e,interleave:t=!0,pool:r=null,width:n,height:i,resampleMethod:l,enableAlpha:a=!1,signal:f}={}){const u=e||[0,0,this.getWidth(),this.getHeight()];if(u[0]>u[2]||u[1]>u[3])throw new Error("Invalid subsets");const p=this.fileDirectory.PhotometricInterpretation;if(p===H.RGB){let C=[0,1,2];if(this.fileDirectory.ExtraSamples!==dr.Unspecified&&a){C=[];for(let M=0;M<this.fileDirectory.BitsPerSample.length;M+=1)C.push(M)}return this.readRasters({window:e,interleave:t,samples:C,pool:r,width:n,height:i,resampleMethod:l,signal:f})}let h;switch(p){case H.WhiteIsZero:case H.BlackIsZero:case H.Palette:h=[0];break;case H.CMYK:h=[0,1,2,3];break;case H.YCbCr:case H.CIELab:h=[0,1,2];break;default:throw new Error("Invalid or unsupported photometric interpretation.")}const g={window:u,interleave:!0,samples:h,pool:r,width:n,height:i,resampleMethod:l,signal:f},{fileDirectory:y}=this,w=yield this.readRasters(g),V=Q(2,this.fileDirectory.BitsPerSample[0]);let v;switch(p){case H.WhiteIsZero:v=pr(w,V);break;case H.BlackIsZero:v=yr(w,V);break;case H.Palette:v=wr(w,y.ColorMap);break;case H.CMYK:v=xr(w);break;case H.YCbCr:v=br(w);break;case H.CIELab:v=Mr(w);break;default:throw new Error("Unsupported photometric interpretation.")}if(!t){const C=new Uint8Array(v.length/3),M=new Uint8Array(v.length/3),D=new Uint8Array(v.length/3);for(let E=0,R=0;E<v.length;E+=3,++R)C[R]=v[E],M[R]=v[E+1],D[R]=v[E+2];v=[C,M,D]}return v.width=w.width,v.height=w.height,v})}getTiePoints(){if(!this.fileDirectory.ModelTiepoint)return[];const e=[];for(let t=0;t<this.fileDirectory.ModelTiepoint.length;t+=6)e.push({i:this.fileDirectory.ModelTiepoint[t],j:this.fileDirectory.ModelTiepoint[t+1],k:this.fileDirectory.ModelTiepoint[t+2],x:this.fileDirectory.ModelTiepoint[t+3],y:this.fileDirectory.ModelTiepoint[t+4],z:this.fileDirectory.ModelTiepoint[t+5]});return e}getGDALMetadata(e=null){const t={};if(!this.fileDirectory.GDAL_METADATA)return null;const r=this.fileDirectory.GDAL_METADATA;let n=ur(r,"Item");e===null?n=n.filter(i=>Qe(i,"sample")===void 0):n=n.filter(i=>Number(Qe(i,"sample"))===e);for(let i=0;i<n.length;++i){const l=n[i];t[Qe(l,"name")]=l.inner}return t}getGDALNoData(){if(!this.fileDirectory.GDAL_NODATA)return null;const e=this.fileDirectory.GDAL_NODATA;return Number(e.substring(0,e.length-1))}getOrigin(){const e=this.fileDirectory.ModelTiepoint,t=this.fileDirectory.ModelTransformation;if(e&&e.length===6)return[e[3],e[4],e[5]];if(t)return[t[3],t[7],t[11]];throw new Error("The image does not have an affine transformation.")}getResolution(e=null){const t=this.fileDirectory.ModelPixelScale,r=this.fileDirectory.ModelTransformation;if(t)return[t[0],-t[1],t[2]];if(r)return r[1]===0&&r[4]===0?[r[0],-r[5],r[10]]:[Math.sqrt(r[0]*r[0]+r[4]*r[4]),-Math.sqrt(r[1]*r[1]+r[5]*r[5]),r[10]];if(e){const[n,i,l]=e.getResolution();return[n*e.getWidth()/this.getWidth(),i*e.getHeight()/this.getHeight(),l*e.getWidth()/this.getWidth()]}throw new Error("The image does not have an affine transformation.")}pixelIsArea(){return this.geoKeys.GTRasterTypeGeoKey===1}getBoundingBox(e=!1){const t=this.getHeight(),r=this.getWidth();if(this.fileDirectory.ModelTransformation&&!e){const[n,i,l,a,f,u,p,h]=this.fileDirectory.ModelTransformation,y=[[0,0],[0,t],[r,0],[r,t]].map(([v,C])=>[a+n*v+i*C,h+f*v+u*C]),w=y.map(v=>v[0]),V=y.map(v=>v[1]);return[Math.min(...w),Math.min(...V),Math.max(...w),Math.max(...V)]}else{const n=this.getOrigin(),i=this.getResolution(),l=n[0],a=n[1],f=l+i[0]*r,u=a+i[1]*t;return[Math.min(l,f),Math.min(a,u),Math.max(l,f),Math.max(a,u)]}}}class Rr{constructor(e){this._dataView=new DataView(e)}get buffer(){return this._dataView.buffer}getUint64(e,t){const r=this.getUint32(e,t),n=this.getUint32(e+4,t);let i;if(t){if(i=r+Q(2,32)*n,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}if(i=Q(2,32)*r+n,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}getInt64(e,t){let r=0;const n=(this._dataView.getUint8(e+(t?7:0))&128)>0;let i=!0;for(let l=0;l<8;l++){let a=this._dataView.getUint8(e+(t?l:7-l));n&&(i?a!==0&&(a=~(a-1)&255,i=!1):a=~a&255),r+=a*Q(256,l)}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat16(e,t){return Zt(this._dataView,e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class kr{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+Q(2,32)*r,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}if(n=Q(2,32)*t+r,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}readInt64(e){let t=0;const r=(this._dataView.getUint8(e+(this._littleEndian?7:0))&128)>0;let n=!0;for(let i=0;i<8;i++){let l=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?l!==0&&(l=~(l-1)&255,n=!1):l=~l&255),t+=l*Q(256,i)}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}class _r{fetch(e,t=void 0){return _(this,null,function*(){return Promise.all(e.map(r=>this.fetchSlice(r,t)))})}fetchSlice(e){return _(this,null,function*(){throw new Error(`fetching of slice ${e} not possible, not implemented`)})}get fileSize(){return null}close(){return _(this,null,function*(){})}}class ct extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,ct),this.name="AbortError"}}class Br extends _r{constructor(e){super(),this.arrayBuffer=e}fetchSlice(e,t){if(t&&t.aborted)throw new ct("Request aborted");return this.arrayBuffer.slice(e.offset,e.offset+e.length)}}function Or(o){return new Br(o)}function nt(o){switch(o){case I.BYTE:case I.ASCII:case I.SBYTE:case I.UNDEFINED:return 1;case I.SHORT:case I.SSHORT:return 2;case I.LONG:case I.SLONG:case I.FLOAT:case I.IFD:return 4;case I.RATIONAL:case I.SRATIONAL:case I.DOUBLE:case I.LONG8:case I.SLONG8:case I.IFD8:return 8;default:throw new RangeError(`Invalid field type: ${o}`)}}function Gr(o){const e=o.GeoKeyDirectory;if(!e)return null;const t={};for(let r=4;r<=e[3]*4;r+=4){const n=gr[e[r]],i=e[r+1]?Ee[e[r+1]]:null,l=e[r+2],a=e[r+3];let f=null;if(!i)f=a;else{if(f=o[i],typeof f=="undefined"||f===null)throw new Error(`Could not get value of geoKey '${n}'.`);typeof f=="string"?f=f.substring(a,a+l-1):f.subarray&&(f=f.subarray(a,a+l),l===1&&(f=f[0]))}t[n]=f}return t}function ye(o,e,t,r){let n=null,i=null;const l=nt(e);switch(e){case I.BYTE:case I.ASCII:case I.UNDEFINED:n=new Uint8Array(t),i=o.readUint8;break;case I.SBYTE:n=new Int8Array(t),i=o.readInt8;break;case I.SHORT:n=new Uint16Array(t),i=o.readUint16;break;case I.SSHORT:n=new Int16Array(t),i=o.readInt16;break;case I.LONG:case I.IFD:n=new Uint32Array(t),i=o.readUint32;break;case I.SLONG:n=new Int32Array(t),i=o.readInt32;break;case I.LONG8:case I.IFD8:n=new Array(t),i=o.readUint64;break;case I.SLONG8:n=new Array(t),i=o.readInt64;break;case I.RATIONAL:n=new Uint32Array(t*2),i=o.readUint32;break;case I.SRATIONAL:n=new Int32Array(t*2),i=o.readInt32;break;case I.FLOAT:n=new Float32Array(t),i=o.readFloat32;break;case I.DOUBLE:n=new Float64Array(t),i=o.readFloat64;break;default:throw new RangeError(`Invalid field type: ${e}`)}if(e===I.RATIONAL||e===I.SRATIONAL)for(let a=0;a<t;a+=2)n[a]=i.call(o,r+a*l),n[a+1]=i.call(o,r+(a*l+4));else for(let a=0;a<t;++a)n[a]=i.call(o,r+a*l);return e===I.ASCII?new TextDecoder("utf-8").decode(n):n}class jr{constructor(e,t,r){this.fileDirectory=e,this.geoKeyDirectory=t,this.nextIFDByteOffset=r}}class je extends Error{constructor(e){super(`No image at index ${e}`),this.index=e}}class zr{readRasters(){return _(this,arguments,function*(e={}){const{window:t,width:r,height:n}=e;let{resX:i,resY:l,bbox:a}=e;const f=yield this.getImage();let u=f;const p=yield this.getImageCount(),h=f.getBoundingBox();if(t&&a)throw new Error('Both "bbox" and "window" passed.');if(r||n){if(t){const[w,V]=f.getOrigin(),[v,C]=f.getResolution();a=[w+t[0]*v,V+t[1]*C,w+t[2]*v,V+t[3]*C]}const y=a||h;if(r){if(i)throw new Error("Both width and resX passed");i=(y[2]-y[0])/r}if(n){if(l)throw new Error("Both width and resY passed");l=(y[3]-y[1])/n}}if(i||l){const y=[];for(let w=0;w<p;++w){const V=yield this.getImage(w),{SubfileType:v,NewSubfileType:C}=V.fileDirectory;(w===0||v===2||C&1)&&y.push(V)}y.sort((w,V)=>w.getWidth()-V.getWidth());for(let w=0;w<y.length;++w){const V=y[w],v=(h[2]-h[0])/V.getWidth(),C=(h[3]-h[1])/V.getHeight();if(u=V,i&&i>v||l&&l>C)break}}let g=t;if(a){const[y,w]=f.getOrigin(),[V,v]=u.getResolution(f);g=[Math.round((a[0]-y)/V),Math.round((a[1]-w)/v),Math.round((a[2]-y)/V),Math.round((a[3]-w)/v)],g=[Math.min(g[0],g[2]),Math.min(g[1],g[3]),Math.max(g[0],g[2]),Math.max(g[1],g[3])]}return u.readRasters(We(Ze({},e),{window:g}))})}}class ut extends zr{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}getSlice(e,t){return _(this,null,function*(){const r=this.bigTiff?4048:1024;return new kr((yield this.source.fetch([{offset:e,length:typeof t!="undefined"?t:r}]))[0],e,this.littleEndian,this.bigTiff)})}parseFileDirectoryAt(e){return _(this,null,function*(){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=yield this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),l=i*t+(this.bigTiff?16:6);n.covers(e,l)||(n=yield this.getSlice(e,l));const a={};let f=e+(this.bigTiff?8:2);for(let h=0;h<i;f+=t,++h){const g=n.readUint16(f),y=n.readUint16(f+2),w=this.bigTiff?n.readUint64(f+4):n.readUint32(f+4);let V,v;const C=nt(y),M=f+(this.bigTiff?12:8);if(C*w<=(this.bigTiff?8:4))V=ye(n,y,w,M);else{const D=n.readOffset(M),E=nt(y)*w;if(n.covers(D,E))V=ye(n,y,w,D);else{const R=yield this.getSlice(D,E);V=ye(R,y,w,D)}}w===1&&fr.indexOf(g)===-1&&!(y===I.RATIONAL||y===I.SRATIONAL)?v=V[0]:v=V,a[Ee[g]]=v}const u=Gr(a),p=n.readOffset(e+r+t*i);return new jr(a,u,p)})}requestIFD(e){return _(this,null,function*(){if(this.ifdRequests[e])return this.ifdRequests[e];if(e===0)return this.ifdRequests[e]=this.parseFileDirectoryAt(this.firstIFDOffset),this.ifdRequests[e];if(!this.ifdRequests[e-1])try{this.ifdRequests[e-1]=this.requestIFD(e-1)}catch(t){throw t instanceof je?new je(e):t}return this.ifdRequests[e]=_(this,null,function*(){const t=yield this.ifdRequests[e-1];if(t.nextIFDByteOffset===0)throw new je(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)}),this.ifdRequests[e]})}getImage(e=0){return _(this,null,function*(){const t=yield this.requestIFD(e);return new Ur(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)})}getImageCount(){return _(this,null,function*(){let e=0,t=!0;for(;t;)try{yield this.requestIFD(e),++e}catch(r){if(r instanceof je)t=!1;else throw r}return e})}getGhostValues(){return _(this,null,function*(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=yield this.getSlice(e,r);if(t===ye(n,I.ASCII,t.length,e)){const l=ye(n,I.ASCII,r,e).split(`
8
8
  `)[0],a=Number(l.split("=")[1].split(" ")[0])+l.length;a>r&&(n=yield this.getSlice(e,a));const f=ye(n,I.ASCII,a,e);this.ghostValues={},f.split(`
9
9
  `).filter(u=>u.length>0).map(u=>u.split("=")).forEach(([u,p])=>{this.ghostValues[u]=p})}return this.ghostValues})}static fromSource(e,t,r){return _(this,null,function*(){const n=(yield e.fetch([{offset:0,length:1024}],r))[0],i=new Rr(n),l=i.getUint16(0,0);let a;if(l===18761)a=!0;else if(l===19789)a=!1;else throw new TypeError("Invalid byte order value.");const f=i.getUint16(2,a);let u;if(f===42)u=!1;else if(f===43){if(u=!0,i.getUint16(4,a)!==8)throw new Error("Unsupported offset byte-size.")}else throw new TypeError("Invalid magic number.");const p=u?i.getUint64(8,a):i.getUint32(4,a);return new ut(e,a,u,p,t)})}close(){return typeof this.source.close=="function"?this.source.close():!1}}function Yr(o,e){return _(this,null,function*(){return ut.fromSource(Or(o),e)})}class Kr{constructor(e){this.scene=null,this.camera=null,this.renderer=null,this.controls=null,this.animationId=null,this.container=null,this.resizeHandler=null,this.dblClickHandler=null,this.animate=()=>{this.animationId=requestAnimationFrame(this.animate),this.controls&&this.controls.update(),this.renderer&&this.scene&&this.camera&&this.renderer.render(this.scene,this.camera)},this.container=e,this.init()}init(){if(!this.container)return;this.dispose();const e=this.container.clientWidth,t=this.container.clientHeight;this.scene=new T.Scene,this.scene.background=new T.Color(16777215),this.camera=new T.PerspectiveCamera(75,e/t,.1,1e4),this.camera.position.z=5,this.renderer=new T.WebGLRenderer({antialias:!0,alpha:!0}),this.renderer.setSize(e,t),this.renderer.setPixelRatio(window.devicePixelRatio),this.container.appendChild(this.renderer.domElement),this.controls=new An.OrbitControls(this.camera,this.renderer.domElement),this.controls.enableDamping=!0,this.controls.dampingFactor=.08,this.controls.screenSpacePanning=!0,this.controls.enablePan=!0,this.controls.minDistance=1,this.controls.maxDistance=5e3,this.controls.target.set(0,0,0),this.controls.update(),this.dblClickHandler=i=>{this.container&&this.container.contains(i.target)&&this.resetView()},this.container.addEventListener("dblclick",this.dblClickHandler);const r=new T.AmbientLight(16777215,.6);this.scene.add(r);const n=new T.DirectionalLight(16777215,.8);n.position.set(5,10,5),this.scene.add(n),this.resizeHandler=()=>this.onWindowResize(),window.addEventListener("resize",this.resizeHandler),this.animate()}onWindowResize(){if(!this.container||!this.camera||!this.renderer)return;const e=this.container.clientWidth,t=this.container.clientHeight;this.camera.aspect=e/t,this.camera.updateProjectionMatrix(),this.renderer.setSize(e,t)}resetView(){!this.camera||!this.controls||(this.camera.position.set(0,0,5),this.controls.target.set(0,0,0),this.camera.lookAt(0,0,0),this.controls.update())}fitCameraToObject(e){if(!this.camera||!this.controls)return;const t=new T.Box3().setFromObject(e),r=t.getSize(new T.Vector3),n=t.getCenter(new T.Vector3),i=Math.max(r.x,r.y,r.z)||1,l=this.camera.fov*(Math.PI/180),a=i/2/Math.tan(l/2)*1.6;this.camera.position.set(n.x,n.y,n.z+a),this.camera.near=Math.max(.1,a/1e3),this.camera.far=Math.max(1e4,a*10),this.camera.updateProjectionMatrix(),this.controls.target.copy(n),this.controls.update()}loadGeologyModel(e){return _(this,null,function*(){if(!this.scene||!e)return;e.toLowerCase().endsWith(".glb")||e.toLowerCase().endsWith(".gltf")?new Mn.GLTFLoader().load(e,n=>{this.scene.add(n.scene);const l=new T.Box3().setFromObject(n.scene).getSize(new T.Vector3),f=4/(Math.max(l.x,l.y,l.z)||1);n.scene.scale.multiplyScalar(f),this.fitCameraToObject(n.scene)},void 0,n=>{console.error("Failed to load GLTF model:",n)}):new In().load(e,n=>{this.scene.add(n);const l=new T.Box3().setFromObject(n).getSize(new T.Vector3),f=4/(Math.max(l.x,l.y,l.z)||1);n.scale.multiplyScalar(f),this.fitCameraToObject(n)},void 0,n=>{console.error("Failed to load OBJ model:",n)})})}loadDTMTerrain(e){return _(this,null,function*(){if(!(!this.scene||!e))try{const r=yield(yield fetch(e)).arrayBuffer(),i=yield(yield Yr(r)).getImage(),l=yield i.readRasters(),a=i.getWidth(),f=i.getHeight(),u=l[0],p=Math.max(1,Math.floor(Math.max(a,f)/100)),h=new T.BufferGeometry,g=[],y=[];let w=0;for(let C=0;C<u.length;C+=p)w=Math.max(w,u[C]);for(let C=0;C<f;C+=p)for(let M=0;M<a;M+=p){const D=C*a+M,E=(u[D]||0)/w*3-1.5;g.push(M/a*4-2,E,C/f*4-2);const R=u[D]/w,m=new T.Color().setHSL(.6-R*.6,1,.5);y.push(m.r,m.g,m.b)}h.setAttribute("position",new T.BufferAttribute(new Float32Array(g),3)),h.setAttribute("color",new T.BufferAttribute(new Float32Array(y),3)),h.computeVertexNormals();const V=new T.MeshPhongMaterial({vertexColors:!0,side:T.DoubleSide}),v=new T.Mesh(h,V);this.scene.add(v),this.fitCameraToObject(v)}catch(t){console.error("Failed to load DTM TIFF:",t)}})}loadUAVImage(e){return _(this,null,function*(){if(!this.scene||!e)return;new T.TextureLoader().load(e,r=>{const n=r.image.width/r.image.height,i=new T.PlaneGeometry(4*n,4),l=new T.MeshBasicMaterial({map:r}),a=new T.Mesh(i,l);this.scene.add(a),this.fitCameraToObject(a)},void 0,r=>{console.error("Failed to load UAV image:",r)})})}clearScene(){if(!this.scene)return;for(;this.scene.children.length>0;){const r=this.scene.children[0];r instanceof T.Mesh&&(r.geometry.dispose(),Array.isArray(r.material)?r.material.forEach(n=>n.dispose()):r.material.dispose()),this.scene.remove(r)}const e=new T.AmbientLight(16777215,.6);this.scene.add(e);const t=new T.DirectionalLight(16777215,.8);t.position.set(5,10,5),this.scene.add(t)}dispose(){this.animationId&&cancelAnimationFrame(this.animationId),this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.container&&this.dblClickHandler&&(this.container.removeEventListener("dblclick",this.dblClickHandler),this.dblClickHandler=null),this.controls&&(this.controls.dispose(),this.controls=null),this.renderer&&this.container&&this.renderer.domElement.parentNode===this.container&&this.container.removeChild(this.renderer.domElement),this.renderer&&this.renderer.dispose(),this.scene=null,this.camera=null,this.renderer=null,this.animationId=null}}const $r={class:"filter-tabs"},Xr={class:"toolbar-right"},qr={key:0,class:"pick-hint-bar"},Hr={class:"map-model-overlay"},Zr={key:0,class:"map-mode-edit-tip"},Wr=["viewBox"],Jr=["d","stroke"],Qr=["x1","y1","x2","y2"],ei=["onClick","onMouseenter"],ti={class:"point-bubble"},ni={class:"point-id"},ri=["innerHTML"],ii={class:"drawer-cards"},oi=["onClick"],si={class:"card-icon"},ai={class:"card-label"},li={class:"profile-dialog-header"},ci={class:"profile-header-btns"},ui={DEFAULT_ICON:Tt.DEFAULT_ICON,ACTIVE_ICON:Tt.ACTIVE_ICON,NAME_CN:"GNSS地图监测视图",NAME_EN:"GNSS Map Monitor View",ORDER:10,PLATFORM:["pc","screen"]},fi={bgColor:{value:"#0b1a31",type:"color",label:"setting.bgColor"},toolbarBg:{value:"#ffffff",type:"color",label:"工具栏背景色"},toolbarFontSize:{value:12,type:"number",label:"工具栏字体大小",min:10,max:20},geologyMapUrl:{value:"",type:"string",label:"地质模型地图URL"},dtmMapUrl:{value:"",type:"string",label:"DTM面地图URL"},uavMapUrl:{value:"",type:"string",label:"无人机地图URL"},satelliteMapUrl:{value:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",type:"string",label:"Esri卫星影像URL"},mapCenterLon:{value:119.40331,type:"number",label:"地图中心经度",min:-180,max:180},mapCenterLat:{value:45.369465,type:"number",label:"地图中心纬度",min:-90,max:90},mapZoomLevel:{value:10,type:"number",label:"地图缩放级别",min:1,max:18},mapElevation:{value:1e3,type:"number",label:"参考高程(m)"},pointCount:{value:80,type:"number",label:"模拟监测点数量",min:20,max:200},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},di=[{name:"GNSS001",object_id:"",fvDeviceName:"",deviceType:"GNSS",x:1e3,y:400,elevation:"",region:"北帮",lineName:"北帮线",row1Label:"累计位移",row1FV:"",row1Unit:"mm",row2Label:"当前速度",row2FV:"",row2Unit:"mm/h",row3Label:"X/Y/H变化",row3FV:"",row3Unit:"mm",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""},{name:"GNSS002",object_id:"",fvDeviceName:"",deviceType:"GNSS",x:1300,y:400,elevation:"",region:"北帮",lineName:"北帮线",row1Label:"累计位移",row1FV:"",row1Unit:"mm",row2Label:"当前速度",row2FV:"",row2Unit:"mm/h",row3Label:"X/Y/H变化",row3FV:"",row3Unit:"mm",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""},{name:"GNSS003",object_id:"",fvDeviceName:"",deviceType:"GNSS",x:1600,y:400,elevation:"",region:"北帮",lineName:"北帮线",row1Label:"累计位移",row1FV:"",row1Unit:"mm",row2Label:"当前速度",row2FV:"",row2Unit:"mm/h",row3Label:"X/Y/H变化",row3FV:"",row3Unit:"mm",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""},{name:"DEEP001",object_id:"",fvDeviceName:"",deviceType:"深部位移",x:500,y:1200,elevation:"",region:"西帮",lineName:"",row1Label:"深层位移",row1FV:"",row1Unit:"mm",row2Label:"测斜深度",row2FV:"",row2Unit:"m",row3Label:"",row3FV:"",row3Unit:"",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""},{name:"RADAR001",object_id:"",fvDeviceName:"",deviceType:"雷达",x:2500,y:1e3,elevation:"",region:"东帮",lineName:"",row1Label:"形变量",row1FV:"",row1Unit:"mm",row2Label:"形变速度",row2FV:"",row2Unit:"mm/d",row3Label:"",row3FV:"",row3Unit:"",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""},{name:"CRACK001",object_id:"",fvDeviceName:"",deviceType:"裂缝",x:1500,y:1250,elevation:"",region:"中央区",lineName:"",row1Label:"裂缝宽度",row1FV:"",row1Unit:"mm",row2Label:"开裂速度",row2FV:"",row2Unit:"mm/d",row3Label:"",row3FV:"",row3Unit:"",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""},{name:"FIRE001",object_id:"",fvDeviceName:"",deviceType:"煤自燃",x:1200,y:2100,elevation:"",region:"南帮",lineName:"",row1Label:"温度",row1FV:"",row1Unit:"℃",row2Label:"CO浓度",row2FV:"",row2Unit:"ppm",row3Label:"",row3FV:"",row3Unit:"",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""},{name:"WATER001",object_id:"",fvDeviceName:"",deviceType:"降雨",x:1800,y:2100,elevation:"",region:"南帮",lineName:"",row1Label:"降雨量",row1FV:"",row1Unit:"mm",row2Label:"雨强",row2FV:"",row2Unit:"mm/h",row3Label:"",row3FV:"",row3Unit:"",row4Label:"",row4FV:"",row4Unit:"",row5Label:"",row5FV:"",row5Unit:"",arrowXFV:"",arrowYFV:""}],hi=["object_id","name","fvDeviceName","deviceType","x","y","elevation","region","lineName","row1Label","row1FV","row1Unit","row2Label","row2FV","row2Unit","row3Label","row3FV","row3Unit","row4Label","row4FV","row4Unit","row5Label","row5FV","row5Unit","arrowXFV","arrowYFV"],mi=["mosaic"],gi={useAlias:!1,multiObject:!0,source:"mosaic"},pi=200,yi={DEFAULT:ui,OPTIONS:fi,DATA:di,PARAMS:hi,SOURCE:mi,COMMON:gi,ITEMS:pi},wi=s.defineComponent(We(Ze({},yi),{__name:"gnssMapView",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(o){const e=o,t=3e3,r=2500,n={GNSS:"GNSS",gnss:"GNSS",DEEP:"DEEP",deep:"DEEP",深部位移:"DEEP",RADAR:"RADAR",radar:"RADAR",雷达:"RADAR",SURFACE:"SURFACE",surface:"SURFACE",地表:"SURFACE",CRACK:"CRACK",crack:"CRACK",裂缝:"CRACK",FIRE:"FIRE",fire:"FIRE",煤自燃:"FIRE",WATER:"WATER",water:"WATER",降雨:"WATER",GROUND:"GROUND",ground:"GROUND",地下水:"GROUND",STRESS:"STRESS",stress:"STRESS",应力:"STRESS",VIB:"VIB",vib:"VIB",爆破震动:"VIB",SAT:"SAT",sat:"SAT",遥感卫星:"SAT"},i={GNSS:"📍",DEEP:"⚓",RADAR:"📡",SURFACE:"📐",CRACK:"🧱",FIRE:"🔥",WATER:"💧",GROUND:"🌍",STRESS:"📊",VIB:"💥",SAT:"🛸"},l=[{key:"GNSS",label:"GNSS监测",icon:"📍"},{key:"DEEP",label:"深部位移监测",icon:"⚓"},{key:"RADAR",label:"雷达监测",icon:"📡"},{key:"SURFACE",label:"地质写实",icon:"📐"},{key:"CRACK",label:"裂缝监测",icon:"🧱"},{key:"FIRE",label:"煤自燃监测",icon:"🔥"},{key:"WATER",label:"降雨监测",icon:"💧"},{key:"GROUND",label:"地下水监测",icon:"🌍"},{key:"STRESS",label:"应力监测",icon:"📊"},{key:"VIB",label:"振动监测",icon:"💥"},{key:"SAT",label:"遥感监测",icon:"🛸"}],a=["#F57676","#FFA500","#fadb14","#66B1FF","#71C446"],f=[{name:"北帮",xRange:[800,2200],yRange:[200,600]},{name:"南帮",xRange:[800,2200],yRange:[1900,2300]},{name:"西帮",xRange:[200,700],yRange:[800,1700]},{name:"东帮",xRange:[2300,2800],yRange:[800,1700]},{name:"中央区",xRange:[1100,1900],yRange:[1e3,1500]}],u=["#F57676","#FFA500","#66B1FF","#71C446","#9254de","#13c2c2"];class p extends Vn.BaseComponent{extractStyles(){var A,L,b,F,P,G,N,B,Z,Y,K,q,ee,J,pe,Me,Ae,Ce,Te;const c=(A=this.props.conf)==null?void 0:A.options,x=((L=c==null?void 0:c.linkChannel)==null?void 0:L.value)||"gnss",S=((b=c==null?void 0:c.customChannel)==null?void 0:b.value)||"";return{bgColor:((F=c==null?void 0:c.bgColor)==null?void 0:F.value)||"#0b1a31",toolbarBg:((P=c==null?void 0:c.toolbarBg)==null?void 0:P.value)||"#ffffff",toolbarFontSize:((G=c==null?void 0:c.toolbarFontSize)==null?void 0:G.value)||12,geologyMapUrl:((N=c==null?void 0:c.geologyMapUrl)==null?void 0:N.value)||"",dtmMapUrl:((B=c==null?void 0:c.dtmMapUrl)==null?void 0:B.value)||"",uavMapUrl:((Z=c==null?void 0:c.uavMapUrl)==null?void 0:Z.value)||"",satelliteMapUrl:((Y=c==null?void 0:c.satelliteMapUrl)==null?void 0:Y.value)||"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",mapCenterLon:(q=(K=c==null?void 0:c.mapCenterLon)==null?void 0:K.value)!=null?q:119.40331,mapCenterLat:(J=(ee=c==null?void 0:c.mapCenterLat)==null?void 0:ee.value)!=null?J:45.369465,mapZoomLevel:(Me=(pe=c==null?void 0:c.mapZoomLevel)==null?void 0:pe.value)!=null?Me:10,mapElevation:(Ce=(Ae=c==null?void 0:c.mapElevation)==null?void 0:Ae.value)!=null?Ce:1e3,pointCount:((Te=c==null?void 0:c.pointCount)==null?void 0:Te.value)||80,linkChannel:x==="custom"&&S?S:x}}onLinkEvent(c){ln(c)}setSocketData(c){if(!(c!=null&&c.data))return;const x=c.object_id||"";if(!x)return;const S=E.value.find(F=>F.objectId===x);if(!S)return;const A=c.data,L=F=>{const P=parseFloat(F);return isNaN(P)?String(F):P.toFixed(2)};let b=!1;if(S.fvXCoord&&A[S.fvXCoord]!=null){const F=parseFloat(A[S.fvXCoord]);isNaN(F)||(S.x=F,b=!0)}if(S.fvYCoord&&A[S.fvYCoord]!=null){const F=parseFloat(A[S.fvYCoord]);isNaN(F)||(S.y=F,b=!0)}if(b&&qe(E.value),S.fvDeviceName&&A[S.fvDeviceName]!=null&&(S.liveValues.deviceName=String(A[S.fvDeviceName])),S.fvElevation&&A[S.fvElevation]!=null&&(S.liveValues.elevation=L(A[S.fvElevation])),S.rows.forEach((F,P)=>{if(!F.fv)return;const N=F.fv.split("|").map(B=>B.trim()).map(B=>A[B]!=null?L(A[B]):null).filter(Boolean);N.length&&(S.liveValues[`row_${P}`]=N.join("/"))}),S.arrowXFV&&A[S.arrowXFV]!=null&&(S.liveValues.arrowX=L(A[S.arrowXFV])),S.arrowYFV&&A[S.arrowYFV]!=null&&(S.liveValues.arrowY=L(A[S.arrowYFV])),S.arrowXFV||S.arrowYFV){const F=parseFloat(S.liveValues.arrowX||"0")||0,P=parseFloat(S.liveValues.arrowY||"0")||0;(F!==0||P!==0)&&(S.liveValues.arrowAngle=String(Math.round(Math.atan2(P,F)*180/Math.PI*10)/10))}}}const h=new p(e,"gnssMapView");h.setupLifecycle();const g=h.getStyle(),y=s.ref(null),w=s.ref(null),V=s.ref(null),v=s.ref(null),C=s.ref(!1),M=s.reactive(new Set(l.map(d=>d.key)));let D=null;const E=s.ref([]),R=s.ref([]),m=s.reactive({scale:.4,posX:0,posY:0,displayMode:"geology",selectedRegion:"全部",selectedLine:"全部",selectedPoints:["__ALL__"]});let k=null,O=null;const se=s.ref(!1),ae=s.reactive({x:0,y:0}),z=s.reactive({visible:!1,x:0,y:0,content:""}),U=s.reactive({picking:!1,pickedPoints:[],dialogVisible:!1});let $=null;const oe=s.ref(""),ce={onWheel:d=>{d.preventDefault(),en(d)},onMousedown:d=>tn(d),onMousemove:d=>nn(d),onMouseup:()=>ft(),onMouseleave:()=>ft()},Ye=s.computed(()=>({backgroundColor:g.value.bgColor})),Ie=s.computed(()=>({geology:g.value.geologyMapUrl,dtm:g.value.dtmMapUrl,uav:g.value.uavMapUrl,leaflet:g.value.satelliteMapUrl})[m.displayMode]||""),ve=s.computed(()=>({transform:`translate(${m.posX}px, ${m.posY}px) scale(${m.scale})`,width:t+"px",height:r+"px",backgroundImage:Ie.value?`url(${Ie.value})`:"none"})),ue=s.computed(()=>{const d=new Set;return E.value.forEach(c=>{c.region&&d.add(c.region)}),Array.from(d)}),he=s.computed(()=>R.value.map(d=>d.name)),Se=s.computed(()=>E.value.filter(d=>{const c=m.selectedRegion==="全部"||d.region===m.selectedRegion,x=m.selectedLine==="全部"||d.lineName===m.selectedLine;return c&&x}).map(d=>({value:d.id,label:`${d.deviceId}${d.region?`(${d.region})`:""}`}))),Ke=s.computed(()=>{const d=m.selectedPoints||[];if(d.length===0||d.includes("__ALL__"))return"全部监测点";if(d.length===1){const c=Se.value.find(x=>x.value===d[0]);return(c==null?void 0:c.label)||"已选1个监测点"}return`已选${d.length}个监测点`}),me=s.computed(()=>{const d=m.selectedPoints||[],c=d.length===0||d.includes("__ALL__");return E.value.filter(x=>{const S=M.has(x.type),A=m.selectedRegion==="全部"||x.region===m.selectedRegion,L=m.selectedLine==="全部"||x.lineName===m.selectedLine,b=c||d.includes(x.id);return S&&A&&L&&b})}),Ne=d=>{if(!Array.isArray(d)){m.selectedPoints=["__ALL__"];return}const c=new Set(Se.value.map(S=>S.value));let x=d.filter(S=>S==="__ALL__"||c.has(S));if(x.includes("__ALL__")&&x.length>1&&(x=x.filter(S=>S!=="__ALL__")),x.length===0){m.selectedPoints=["__ALL__"];return}m.selectedPoints=x},$e=s.computed(()=>M.has("GNSS")?R.value.filter(d=>m.selectedRegion!=="全部"&&d.region!==m.selectedRegion||m.selectedLine!=="全部"&&d.name!==m.selectedLine?!1:d.pointIds.filter(x=>me.value.some(S=>S.id===x)).length>=2):[]),fe=d=>{const c=d.isOnline?a[d.alarmIdx]||"#71C446":"#999";return{left:d.x+"px",top:d.y+"px",backgroundColor:c,color:c}},de=d=>U.pickedPoints.some(c=>c.id===d.id),Xe=s.computed(()=>{var d;return((d=e.conf)==null?void 0:d.data)||[]}),Ve=()=>{const d=Xe.value;d.length>0?Jt(d):Qt()},ge={GNSS:[{label:"累计位移",unit:"mm"},{label:"当前速度",unit:"mm/h"},{label:"X/Y/H变化",unit:"mm"}],DEEP:[{label:"深层位移",unit:"mm"},{label:"测斜深度",unit:"m"}],RADAR:[{label:"形变量",unit:"mm"},{label:"形变速度",unit:"mm/d"}],SURFACE:[{label:"垂直位移",unit:"mm"},{label:"水平位移",unit:"mm"}],CRACK:[{label:"裂缝宽度",unit:"mm"},{label:"开列速度",unit:"mm/d"}],FIRE:[{label:"温度",unit:"℃"},{label:"CO浓度",unit:"ppm"}],WATER:[{label:"降雨量",unit:"mm"},{label:"雨强",unit:"mm/h"}],GROUND:[{label:"水位",unit:"m"},{label:"渗透压力",unit:"kPa"}],STRESS:[{label:"应力值",unit:"MPa"},{label:"变化量",unit:"MPa"}],VIB:[{label:"振动速度",unit:"cm/s"},{label:"振动频率",unit:"Hz"}],SAT:[{label:"地表形变",unit:"mm"},{label:"变化速率",unit:"mm/y"}]},Jt=d=>{const c=[];d.forEach((x,S)=>{var J,pe,Me,Ae,Ce,Te,xt,bt,vt,St;const A=x.name||x.deviceId||"",L=x.deviceType||x.type||"GNSS",b=n[L]||n[(J=L.toUpperCase)==null?void 0:J.call(L)]||"GNSS",F=x.x,P=x.y,G=F!==""&&F!=null&&!isNaN(Number(F)),N=P!==""&&P!=null&&!isNaN(Number(P)),B=G?Number(F):-9999,Z=N?Number(P):-9999,Y=G?"":String(F||""),K=N?"":String(P||""),q=ge[b]||[],ee=[];for(let te=0;te<5;te++){const Vt=x[`row${te+1}FV`]||"",Mt=x[`row${te+1}Label`]||((pe=q[te])==null?void 0:pe.label)||"",yn=(Ae=x[`row${te+1}Unit`])!=null?Ae:((Me=q[te])==null?void 0:Me.unit)||"";(Vt||Mt)&&ee.push({label:Mt,fv:Vt,unit:yn})}if(ee.length===0){x.fvDisplacement&&ee.push({label:((Ce=q[0])==null?void 0:Ce.label)||"累计位移",fv:x.fvDisplacement,unit:((Te=q[0])==null?void 0:Te.unit)||x.unitDisplacement||"mm"}),x.fvSpeed&&ee.push({label:((xt=q[1])==null?void 0:xt.label)||"当前速度",fv:x.fvSpeed,unit:((bt=q[1])==null?void 0:bt.unit)||x.unitSpeed||"mm/h"});const te=[x.fvX,x.fvY,x.fvH].filter(Boolean);te.length&&ee.push({label:((vt=q[2])==null?void 0:vt.label)||"X/Y/H变化",fv:te.join("|"),unit:((St=q[2])==null?void 0:St.unit)||x.unitXYH||"mm"})}c.push({id:A||`pt-${S}`,type:b,alarmIdx:typeof x.alarmIdx=="number"?x.alarmIdx:4,isOnline:x.isOnline!==!1,deviceId:A||`${b}${S}`,region:x.region||"未分区",x:B,y:Z,isOnDetectionLine:!!x.lineName,lineName:x.lineName||"",objectId:x.object_id||"",fvDeviceName:x.fvDeviceName||"",fvXCoord:Y,fvYCoord:K,fvElevation:x.elevation||x.高程||"",rows:ee,arrowXFV:x.arrowXFV||"",arrowYFV:x.arrowYFV||"",liveValues:{}})}),E.value=c,qe(c)},Qt=()=>{const d=g.value.pointCount||80,c=Object.keys(i),x=[],S=[],A=60,L={};f.forEach(b=>L[b.name]=0);for(let b=0;b<d;b++){let F=c[b%c.length];b<7?F="RADAR":F==="RADAR"&&(F="GNSS");const P=b*7%5,G=b%8!==0,N=f[b%f.length];let B=!1,Z="";F==="GNSS"&&L[N.name]<3&&(B=!0,Z=`${N.name}线`,L[N.name]++);let Y=0,K=0,q=0;for(;q<100;){if(B){const J=L[N.name]-1;N.name==="北帮"||N.name==="南帮"?(K=(N.yRange[0]+N.yRange[1])/2,Y=N.xRange[0]+300+J*250):(Y=(N.xRange[0]+N.xRange[1])/2,K=N.yRange[0]+300+J*250)}else Y=N.xRange[0]+Math.random()*(N.xRange[1]-N.xRange[0]),K=N.yRange[0]+Math.random()*(N.yRange[1]-N.yRange[0]);if(!S.some(J=>Math.hypot(Y-J.x,K-J.y)<A))break;q++}S.push({x:Y,y:K}),x.push({id:`pt-${b}`,type:F,alarmIdx:P,isOnline:G,deviceId:`${F}${b}`,region:N.name,x:Y,y:K,isOnDetectionLine:B,lineName:Z,objectId:"",fvDeviceName:"",fvXCoord:"",fvYCoord:"",fvElevation:"",rows:[],arrowXFV:"",arrowYFV:"",liveValues:{}})}E.value=x,qe(x)},qe=d=>{const c=new Map;d.filter(A=>A.lineName&&A.x!==-9999&&A.y!==-9999).forEach(A=>{c.has(A.lineName)||c.set(A.lineName,[]),c.get(A.lineName).push(A)});const x=[];let S=0;c.forEach((A,L)=>{var P,G,N,B;const b=Math.abs(((P=A[A.length-1])==null?void 0:P.x)-((G=A[0])==null?void 0:G.x)),F=Math.abs(((N=A[A.length-1])==null?void 0:N.y)-((B=A[0])==null?void 0:B.y));if(A.sort((Z,Y)=>b>=F?Z.x-Y.x:Z.y-Y.y),A.length>=2){const Z=`M ${A[0].x+16} ${A[0].y+16} `+A.slice(1).map(K=>`L ${K.x+16} ${K.y+16}`).join(" "),Y=A[0].region||"";x.push({name:L,region:Y,color:u[S%u.length],path:Z,pointIds:A.map(K=>K.id)}),S++}}),R.value=x},en=d=>{const c=y.value;if(!c)return;const x=Math.min(Math.max(.15,m.scale+d.deltaY*-.001),2.5),S=c.getBoundingClientRect(),A=d.clientX-S.left,L=d.clientY-S.top,b=x/m.scale;m.posX=A-(A-m.posX)*b,m.posY=L-(L-m.posY)*b,m.scale=x},tn=d=>{d.button===0&&(se.value=!0,ae.x=d.clientX-m.posX,ae.y=d.clientY-m.posY)},nn=d=>{se.value&&(m.posX=d.clientX-ae.x,m.posY=d.clientY-ae.y)},ft=()=>{se.value=!1},rn=()=>{const d=y.value;if(!d){m.scale=.4,m.posX=0,m.posY=0;return}const c=d.clientWidth,x=d.clientHeight;if(c===0||x===0){m.scale=.4,m.posX=0,m.posY=0;return}const S=c/t,A=x/r,L=Math.min(S,A)*.9;m.scale=Math.max(.15,Math.min(L,1.5)),m.posX=(c-t*m.scale)/2,m.posY=(x-r*m.scale)/2},dt=d=>{if(e.mode!=="edit"){if(U.picking){const c=U.pickedPoints.findIndex(x=>x.id===d.id);if(c>=0){U.pickedPoints.splice(c,1);return}U.pickedPoints.length<2&&U.pickedPoints.push(d),U.pickedPoints.length===2&&(U.picking=!1,U.dialogVisible=!0);return}d.isOnline&&(oe.value=d.id,setTimeout(()=>{oe.value===d.id&&(oe.value="")},3e3),h.publish({objectId:d.objectId,deviceId:d.deviceId,point:d.deviceId,deviceType:d.type,region:d.region,alarmIdx:d.alarmIdx}))}},on=(d,c)=>{var L,b;z.visible=!0,z.x=d.clientX-(((L=y.value)==null?void 0:L.getBoundingClientRect().left)||0)+15,z.y=d.clientY-(((b=y.value)==null?void 0:b.getBoundingClientRect().top)||0)+15;const x=c.liveValues;let S="";c.rows.forEach((F,P)=>{var B;if(!F.fv)return;const G=(B=x[`row_${P}`])!=null?B:"--",N=F.label||"测量值";S+=`<div>${N}: <b style="color:#fff">${G}</b>${F.unit?" "+F.unit:""}</div>`}),S||(S='<div style="color:rgba(255,255,255,0.4);font-size:11px">暂未配置测量字段</div>');const A=c.fvDeviceName&&x.deviceName?x.deviceName:c.deviceId;z.content=`
10
10
  <b style="color:#85C6F1;">[${c.region}] ${A}</b>
@@ -1 +1 @@
1
- "use strict";var Q=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var $=(d,s,r)=>s in d?Q(d,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):d[s]=r,L=(d,s)=>{for(var r in s||(s={}))Z.call(s,r)&&$(d,r,s[r]);if(q)for(var r of q(s))ee.call(s,r)&&$(d,r,s[r]);return d},z=(d,s)=>X(d,Y(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/switch/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/button/style/css");const e=require("vue");require("./index-CJgyJTvc.cjs");require("html2canvas");const te=require("./BaseComponent-bzb58Hhs.cjs"),le=require("./index-6QhTSPkL.cjs"),R=require("./ele-lin-icon-Dke_1AmT.cjs"),oe=require("./echarts-BB8O2KSA.cjs"),ne={class:"profile-card"},ae={class:"profile-header"},se={class:"header-left"},ie={class:"profile-title"},re={class:"header-right"},ce={class:"profile-body"},de={class:"control-panel"},ue={class:"panel-block"},ve={class:"point-list"},me=["onClick"],pe={class:"point-meta"},fe={class:"point-name"},ge={class:"point-sub"},Se={class:"point-check"},he={class:"panel-block"},Ne={class:"param-grid"},ye={class:"param-item"},_e={class:"param-item"},Ce={class:"param-item"},Ve={class:"param-item"},Ee={class:"tip-line"},be={class:"chart-panel"},ke={class:"chart-toolbar"},xe={class:"chart-info"},Te={class:"chart-label"},Me={class:"chart-sub"},we={class:"chart-actions"},Ge={DEFAULT_ICON:R.DEFAULT_ICON,ACTIVE_ICON:R.ACTIVE_ICON,NAME_CN:"GNSS单线剖面",NAME_EN:"GNSS Section Profile",ORDER:3,PLATFORM:["pc","screen"]},De={title:{value:"单线剖面",type:"string",label:"组件标题"},bgColor:{value:"#f5f7fa",type:"color",label:"背景色"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},lineColor:{value:"#3373CC",type:"color",label:"剖面主线颜色"},referenceColor:{value:"#f5222d",type:"color",label:"参考线颜色"},showExport:{value:!0,type:"boolean",label:"允许导出"},showMock:{value:!0,type:"boolean",label:"允许切换模拟数据"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},Ie=[{id:"gnss-001",name:"GNSS001",deviceType:"GNSS",region:"北帮",color:"#3373CC"},{id:"gnss-002",name:"GNSS002",deviceType:"GNSS",region:"北帮",color:"#91cc75"},{id:"gnss-003",name:"GNSS003",deviceType:"GNSS",region:"南帮",color:"#fac858"},{id:"gnss-004",name:"GNSS004",deviceType:"GNSS",region:"东帮",color:"#ee6666"}],Oe=["id","name","deviceType","region","color"],Pe=["mosaic"],Ae={useAlias:!1,multiObject:!0,source:"mosaic"},Be={DEFAULT:Ge,OPTIONS:De,DATA:Ie,PARAMS:Oe,SOURCE:Pe,COMMON:Ae},qe=e.defineComponent(z(L({},Be),{__name:"gnssSectionProfile",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(d){const s=d;class r extends te.BaseComponent{extractStyles(){var f,v,o,c,C,S,O,P,A,B;const t=(f=this.props.conf)==null?void 0:f.options,n=((v=t==null?void 0:t.linkChannel)==null?void 0:v.value)||"gnss",u=((o=t==null?void 0:t.customChannel)==null?void 0:o.value)||"";return{title:((c=t==null?void 0:t.title)==null?void 0:c.value)||"单线剖面",bgColor:((C=t==null?void 0:t.bgColor)==null?void 0:C.value)||"#f5f7fa",panelBgColor:((S=t==null?void 0:t.panelBgColor)==null?void 0:S.value)||"#ffffff",lineColor:((O=t==null?void 0:t.lineColor)==null?void 0:O.value)||"#3373CC",referenceColor:((P=t==null?void 0:t.referenceColor)==null?void 0:P.value)||"#f5222d",showExport:((A=t==null?void 0:t.showExport)==null?void 0:A.value)!==!1,showMock:((B=t==null?void 0:t.showMock)==null?void 0:B.value)!==!1,linkChannel:n==="custom"&&u?u:n}}}const E=new r(s,"gnssSectionProfile");E.setupLifecycle();const m=E.getStyle(),b=e.ref(null);let i=null;const w=e.ref(!1),h=e.ref(!0),g=e.ref("GNSS单线剖面"),k=e.ref(30),x=e.ref(!0),T=e.ref(!0),l=e.ref([]),p=e.ref([]),N=e.ref([]),G=e.computed(()=>{var t;const a=((t=s.conf)==null?void 0:t.data)||[];return a.length?a.map((n,u)=>({id:String(n.id||n.deviceId||`pt-${u}`),name:String(n.name||n.deviceId||`点位${u+1}`),deviceType:String(n.deviceType||"GNSS"),region:String(n.region||"未分区"),color:String(n.color||["#3373CC","#91cc75","#fac858","#ee6666"][u%4])})):[]}),y=e.computed(()=>G.value.length?G.value:[{id:"mock-1",name:"GNSS001",deviceType:"GNSS",region:"北帮",color:"#3373CC"},{id:"mock-2",name:"GNSS002",deviceType:"GNSS",region:"北帮",color:"#91cc75"},{id:"mock-3",name:"GNSS003",deviceType:"GNSS",region:"南帮",color:"#fac858"},{id:"mock-4",name:"GNSS004",deviceType:"GNSS",region:"东帮",color:"#ee6666"}]),U=e.computed(()=>({backgroundColor:m.value.bgColor})),F=e.computed(()=>l.value.length>=2?`已选 ${l.value[0].name} → ${l.value[1].name}`:"请选择两个点位生成剖面"),j=e.computed(()=>l.value.length===0?"请点击两个监测点作为剖面起终点。":l.value.length===1?`已选起点:${l.value[0].name}`:`起点:${l.value[0].name},终点:${l.value[1].name}`),D=()=>{b.value&&(i&&i.dispose(),i=oe.init(b.value),w.value=!0,i.setOption(M()))},I=()=>{var v;const a=Math.max(10,Math.min(k.value||30,120)),t=[],n=[],u=[],f=l.value.length&&l.value[0].name.length+((v=l.value[1])==null?void 0:v.name.length)||0;for(let o=0;o<a;o++){const c=o/(a-1),C=Math.round(c*1e3);t.push(C);const S=1e3+Math.sin(c*Math.PI)*160+Math.sin(c*Math.PI*2.4)*35+f%40;n.push(Math.round(S*10)/10),u.push(Math.round((S-70-Math.cos(c*Math.PI*1.3)*25)*10)/10)}return{distance:t,elevation:n,reference:u}},M=()=>{const a=p.value.length?[{name:"剖面曲线",type:"line",data:p.value,smooth:!0,symbol:"none",lineStyle:{color:m.value.lineColor,width:2.5}},{name:"参考线",type:"line",data:N.value,smooth:!0,symbol:"none",lineStyle:{color:m.value.referenceColor,width:2,type:"dashed"}}]:[];return{backgroundColor:m.value.panelBgColor,grid:{left:55,right:30,top:50,bottom:55},title:{text:g.value,left:"center",top:10,textStyle:{color:"#333",fontSize:16}},tooltip:{trigger:"axis"},legend:{bottom:6,data:["剖面曲线","参考线"]},xAxis:{type:"category",boundaryGap:!1,name:x.value?"距离(m)":"",data:p.value.map((t,n)=>`${n}`),axisLabel:{color:"#666"}},yAxis:{type:"value",name:T.value?"高程(m)":"",axisLabel:{color:"#666"},splitLine:{lineStyle:{color:"#e8e8e8",type:"dashed"}}},series:a}},_=()=>{if(l.value.length<2)return;const a=(h.value,I());N.value=a.reference,p.value=a.elevation,i&&i.setOption(M(),!0)},H=a=>{const t=l.value.findIndex(n=>n.id===a.id);t>=0?l.value.splice(t,1):l.value.length<2?l.value.push(a):l.value=[l.value[1],a],l.value.length===2&&_()},W=()=>{l.value=[],p.value=[],N.value=[],i&&i.setOption(M(),!0)},J=()=>{m.value.showMock&&(h.value=!h.value,l.value.length===2&&_())},K=()=>{if(!i||!m.value.showExport)return;const a=document.createElement("a");a.href=i.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),a.download=`${g.value}_${Date.now()}.png`,a.click()};return e.watch(()=>s.conf,()=>{s.mode==="edit"&&(l.value=[],p.value=[],N.value=[],e.nextTick(()=>D()))},{deep:!0}),e.onMounted(()=>{E.init(),e.nextTick(()=>{D(),s.mode==="edit"&&y.value.length>=2&&(l.value=[y.value[0],y.value[1]],_())})}),e.onBeforeUnmount(()=>{i&&(i.dispose(),i=null)}),(a,t)=>{const n=V.ElButton,u=V.ElInput,f=V.ElInputNumber,v=V.ElSwitch;return e.openBlock(),e.createElementBlock("div",{class:"gnss-section-profile",style:e.normalizeStyle(U.value)},[e.createElementVNode("div",ne,[e.createElementVNode("div",ae,[e.createElementVNode("div",se,[t[4]||(t[4]=e.createElementVNode("span",{class:"indicator-dot blue"},null,-1)),e.createElementVNode("span",ie,e.toDisplayString(e.unref(m).title),1)]),e.createElementVNode("div",re,[e.createVNode(n,{size:"small",onClick:W,disabled:!l.value.length},{default:e.withCtx(()=>[...t[5]||(t[5]=[e.createTextVNode("清空选择",-1)])]),_:1},8,["disabled"]),e.createVNode(n,{size:"small",type:"primary",onClick:J},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value?"切换真实数据模式":"切换模拟数据模式"),1)]),_:1}),e.createVNode(n,{size:"small",type:"success",onClick:K,disabled:!w.value},{default:e.withCtx(()=>[...t[6]||(t[6]=[e.createTextVNode("导出图像",-1)])]),_:1},8,["disabled"])])]),e.createElementVNode("div",ce,[e.createElementVNode("div",de,[e.createElementVNode("div",ue,[t[7]||(t[7]=e.createElementVNode("div",{class:"block-title"},"剖面点选择",-1)),t[8]||(t[8]=e.createElementVNode("div",{class:"block-desc"},"依次选择起点和终点,生成一条单线剖面。",-1)),e.createElementVNode("div",ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("div",{key:o.id,class:e.normalizeClass(["point-item",{active:l.value.some(c=>c.id===o.id)}]),onClick:c=>H(o)},[e.createElementVNode("div",{class:"point-dot",style:e.normalizeStyle({backgroundColor:o.color})},null,4),e.createElementVNode("div",pe,[e.createElementVNode("div",fe,e.toDisplayString(o.name),1),e.createElementVNode("div",ge,e.toDisplayString(o.region)+" · "+e.toDisplayString(o.deviceType),1)]),e.createElementVNode("div",Se,e.toDisplayString(l.value.some(c=>c.id===o.id)?"✓":""),1)],10,me))),128))])]),e.createElementVNode("div",he,[t[13]||(t[13]=e.createElementVNode("div",{class:"block-title"},"剖面参数",-1)),e.createElementVNode("div",Ne,[e.createElementVNode("div",ye,[t[9]||(t[9]=e.createElementVNode("span",null,"剖面名称",-1)),e.createVNode(u,{modelValue:g.value,"onUpdate:modelValue":t[0]||(t[0]=o=>g.value=o),size:"small"},null,8,["modelValue"])]),e.createElementVNode("div",_e,[t[10]||(t[10]=e.createElementVNode("span",null,"显示点位数",-1)),e.createVNode(f,{modelValue:k.value,"onUpdate:modelValue":t[1]||(t[1]=o=>k.value=o),min:10,max:120,size:"small"},null,8,["modelValue"])]),e.createElementVNode("div",Ce,[t[11]||(t[11]=e.createElementVNode("span",null,"显示距离轴",-1)),e.createVNode(v,{modelValue:x.value,"onUpdate:modelValue":t[2]||(t[2]=o=>x.value=o)},null,8,["modelValue"])]),e.createElementVNode("div",Ve,[t[12]||(t[12]=e.createElementVNode("span",null,"显示高程轴",-1)),e.createVNode(v,{modelValue:T.value,"onUpdate:modelValue":t[3]||(t[3]=o=>T.value=o)},null,8,["modelValue"])])]),e.createElementVNode("div",Ee,e.toDisplayString(j.value),1)])]),e.createElementVNode("div",be,[e.createElementVNode("div",ke,[e.createElementVNode("div",xe,[e.createElementVNode("div",Te,e.toDisplayString(g.value),1),e.createElementVNode("div",Me,e.toDisplayString(F.value),1)]),e.createElementVNode("div",we,[e.createVNode(n,{size:"small",onClick:_,type:"primary"},{default:e.withCtx(()=>[...t[14]||(t[14]=[e.createTextVNode("生成剖面",-1)])]),_:1})])]),e.createElementVNode("div",{ref_key:"chartRef",ref:b,class:"chart-container"},null,512)])])]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),$e=le._export_sfc(qe,[["__scopeId","data-v-f50b5c17"]]);exports.default=$e;
1
+ "use strict";var Q=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var $=(d,s,r)=>s in d?Q(d,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):d[s]=r,L=(d,s)=>{for(var r in s||(s={}))Z.call(s,r)&&$(d,r,s[r]);if(q)for(var r of q(s))ee.call(s,r)&&$(d,r,s[r]);return d},z=(d,s)=>X(d,Y(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/switch/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/button/style/css");const e=require("vue");require("./index-CJgyJTvc.cjs");require("html2canvas");const te=require("./BaseComponent-DaYX7dUF.cjs"),le=require("./index-OgmTZiO-.cjs"),R=require("./ele-lin-icon-Dke_1AmT.cjs"),oe=require("./echarts-BB8O2KSA.cjs"),ne={class:"profile-card"},ae={class:"profile-header"},se={class:"header-left"},ie={class:"profile-title"},re={class:"header-right"},ce={class:"profile-body"},de={class:"control-panel"},ue={class:"panel-block"},ve={class:"point-list"},me=["onClick"],pe={class:"point-meta"},fe={class:"point-name"},ge={class:"point-sub"},Se={class:"point-check"},he={class:"panel-block"},Ne={class:"param-grid"},ye={class:"param-item"},_e={class:"param-item"},Ce={class:"param-item"},Ve={class:"param-item"},Ee={class:"tip-line"},be={class:"chart-panel"},ke={class:"chart-toolbar"},xe={class:"chart-info"},Te={class:"chart-label"},Me={class:"chart-sub"},we={class:"chart-actions"},Ge={DEFAULT_ICON:R.DEFAULT_ICON,ACTIVE_ICON:R.ACTIVE_ICON,NAME_CN:"GNSS单线剖面",NAME_EN:"GNSS Section Profile",ORDER:3,PLATFORM:["pc","screen"]},De={title:{value:"单线剖面",type:"string",label:"组件标题"},bgColor:{value:"#f5f7fa",type:"color",label:"背景色"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},lineColor:{value:"#3373CC",type:"color",label:"剖面主线颜色"},referenceColor:{value:"#f5222d",type:"color",label:"参考线颜色"},showExport:{value:!0,type:"boolean",label:"允许导出"},showMock:{value:!0,type:"boolean",label:"允许切换模拟数据"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},Ie=[{id:"gnss-001",name:"GNSS001",deviceType:"GNSS",region:"北帮",color:"#3373CC"},{id:"gnss-002",name:"GNSS002",deviceType:"GNSS",region:"北帮",color:"#91cc75"},{id:"gnss-003",name:"GNSS003",deviceType:"GNSS",region:"南帮",color:"#fac858"},{id:"gnss-004",name:"GNSS004",deviceType:"GNSS",region:"东帮",color:"#ee6666"}],Oe=["id","name","deviceType","region","color"],Pe=["mosaic"],Ae={useAlias:!1,multiObject:!0,source:"mosaic"},Be={DEFAULT:Ge,OPTIONS:De,DATA:Ie,PARAMS:Oe,SOURCE:Pe,COMMON:Ae},qe=e.defineComponent(z(L({},Be),{__name:"gnssSectionProfile",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(d){const s=d;class r extends te.BaseComponent{extractStyles(){var f,v,o,c,C,S,O,P,A,B;const t=(f=this.props.conf)==null?void 0:f.options,n=((v=t==null?void 0:t.linkChannel)==null?void 0:v.value)||"gnss",u=((o=t==null?void 0:t.customChannel)==null?void 0:o.value)||"";return{title:((c=t==null?void 0:t.title)==null?void 0:c.value)||"单线剖面",bgColor:((C=t==null?void 0:t.bgColor)==null?void 0:C.value)||"#f5f7fa",panelBgColor:((S=t==null?void 0:t.panelBgColor)==null?void 0:S.value)||"#ffffff",lineColor:((O=t==null?void 0:t.lineColor)==null?void 0:O.value)||"#3373CC",referenceColor:((P=t==null?void 0:t.referenceColor)==null?void 0:P.value)||"#f5222d",showExport:((A=t==null?void 0:t.showExport)==null?void 0:A.value)!==!1,showMock:((B=t==null?void 0:t.showMock)==null?void 0:B.value)!==!1,linkChannel:n==="custom"&&u?u:n}}}const E=new r(s,"gnssSectionProfile");E.setupLifecycle();const m=E.getStyle(),b=e.ref(null);let i=null;const w=e.ref(!1),h=e.ref(!0),g=e.ref("GNSS单线剖面"),k=e.ref(30),x=e.ref(!0),T=e.ref(!0),l=e.ref([]),p=e.ref([]),N=e.ref([]),G=e.computed(()=>{var t;const a=((t=s.conf)==null?void 0:t.data)||[];return a.length?a.map((n,u)=>({id:String(n.id||n.deviceId||`pt-${u}`),name:String(n.name||n.deviceId||`点位${u+1}`),deviceType:String(n.deviceType||"GNSS"),region:String(n.region||"未分区"),color:String(n.color||["#3373CC","#91cc75","#fac858","#ee6666"][u%4])})):[]}),y=e.computed(()=>G.value.length?G.value:[{id:"mock-1",name:"GNSS001",deviceType:"GNSS",region:"北帮",color:"#3373CC"},{id:"mock-2",name:"GNSS002",deviceType:"GNSS",region:"北帮",color:"#91cc75"},{id:"mock-3",name:"GNSS003",deviceType:"GNSS",region:"南帮",color:"#fac858"},{id:"mock-4",name:"GNSS004",deviceType:"GNSS",region:"东帮",color:"#ee6666"}]),U=e.computed(()=>({backgroundColor:m.value.bgColor})),F=e.computed(()=>l.value.length>=2?`已选 ${l.value[0].name} → ${l.value[1].name}`:"请选择两个点位生成剖面"),j=e.computed(()=>l.value.length===0?"请点击两个监测点作为剖面起终点。":l.value.length===1?`已选起点:${l.value[0].name}`:`起点:${l.value[0].name},终点:${l.value[1].name}`),D=()=>{b.value&&(i&&i.dispose(),i=oe.init(b.value),w.value=!0,i.setOption(M()))},I=()=>{var v;const a=Math.max(10,Math.min(k.value||30,120)),t=[],n=[],u=[],f=l.value.length&&l.value[0].name.length+((v=l.value[1])==null?void 0:v.name.length)||0;for(let o=0;o<a;o++){const c=o/(a-1),C=Math.round(c*1e3);t.push(C);const S=1e3+Math.sin(c*Math.PI)*160+Math.sin(c*Math.PI*2.4)*35+f%40;n.push(Math.round(S*10)/10),u.push(Math.round((S-70-Math.cos(c*Math.PI*1.3)*25)*10)/10)}return{distance:t,elevation:n,reference:u}},M=()=>{const a=p.value.length?[{name:"剖面曲线",type:"line",data:p.value,smooth:!0,symbol:"none",lineStyle:{color:m.value.lineColor,width:2.5}},{name:"参考线",type:"line",data:N.value,smooth:!0,symbol:"none",lineStyle:{color:m.value.referenceColor,width:2,type:"dashed"}}]:[];return{backgroundColor:m.value.panelBgColor,grid:{left:55,right:30,top:50,bottom:55},title:{text:g.value,left:"center",top:10,textStyle:{color:"#333",fontSize:16}},tooltip:{trigger:"axis"},legend:{bottom:6,data:["剖面曲线","参考线"]},xAxis:{type:"category",boundaryGap:!1,name:x.value?"距离(m)":"",data:p.value.map((t,n)=>`${n}`),axisLabel:{color:"#666"}},yAxis:{type:"value",name:T.value?"高程(m)":"",axisLabel:{color:"#666"},splitLine:{lineStyle:{color:"#e8e8e8",type:"dashed"}}},series:a}},_=()=>{if(l.value.length<2)return;const a=(h.value,I());N.value=a.reference,p.value=a.elevation,i&&i.setOption(M(),!0)},H=a=>{const t=l.value.findIndex(n=>n.id===a.id);t>=0?l.value.splice(t,1):l.value.length<2?l.value.push(a):l.value=[l.value[1],a],l.value.length===2&&_()},W=()=>{l.value=[],p.value=[],N.value=[],i&&i.setOption(M(),!0)},J=()=>{m.value.showMock&&(h.value=!h.value,l.value.length===2&&_())},K=()=>{if(!i||!m.value.showExport)return;const a=document.createElement("a");a.href=i.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),a.download=`${g.value}_${Date.now()}.png`,a.click()};return e.watch(()=>s.conf,()=>{s.mode==="edit"&&(l.value=[],p.value=[],N.value=[],e.nextTick(()=>D()))},{deep:!0}),e.onMounted(()=>{E.init(),e.nextTick(()=>{D(),s.mode==="edit"&&y.value.length>=2&&(l.value=[y.value[0],y.value[1]],_())})}),e.onBeforeUnmount(()=>{i&&(i.dispose(),i=null)}),(a,t)=>{const n=V.ElButton,u=V.ElInput,f=V.ElInputNumber,v=V.ElSwitch;return e.openBlock(),e.createElementBlock("div",{class:"gnss-section-profile",style:e.normalizeStyle(U.value)},[e.createElementVNode("div",ne,[e.createElementVNode("div",ae,[e.createElementVNode("div",se,[t[4]||(t[4]=e.createElementVNode("span",{class:"indicator-dot blue"},null,-1)),e.createElementVNode("span",ie,e.toDisplayString(e.unref(m).title),1)]),e.createElementVNode("div",re,[e.createVNode(n,{size:"small",onClick:W,disabled:!l.value.length},{default:e.withCtx(()=>[...t[5]||(t[5]=[e.createTextVNode("清空选择",-1)])]),_:1},8,["disabled"]),e.createVNode(n,{size:"small",type:"primary",onClick:J},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value?"切换真实数据模式":"切换模拟数据模式"),1)]),_:1}),e.createVNode(n,{size:"small",type:"success",onClick:K,disabled:!w.value},{default:e.withCtx(()=>[...t[6]||(t[6]=[e.createTextVNode("导出图像",-1)])]),_:1},8,["disabled"])])]),e.createElementVNode("div",ce,[e.createElementVNode("div",de,[e.createElementVNode("div",ue,[t[7]||(t[7]=e.createElementVNode("div",{class:"block-title"},"剖面点选择",-1)),t[8]||(t[8]=e.createElementVNode("div",{class:"block-desc"},"依次选择起点和终点,生成一条单线剖面。",-1)),e.createElementVNode("div",ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("div",{key:o.id,class:e.normalizeClass(["point-item",{active:l.value.some(c=>c.id===o.id)}]),onClick:c=>H(o)},[e.createElementVNode("div",{class:"point-dot",style:e.normalizeStyle({backgroundColor:o.color})},null,4),e.createElementVNode("div",pe,[e.createElementVNode("div",fe,e.toDisplayString(o.name),1),e.createElementVNode("div",ge,e.toDisplayString(o.region)+" · "+e.toDisplayString(o.deviceType),1)]),e.createElementVNode("div",Se,e.toDisplayString(l.value.some(c=>c.id===o.id)?"✓":""),1)],10,me))),128))])]),e.createElementVNode("div",he,[t[13]||(t[13]=e.createElementVNode("div",{class:"block-title"},"剖面参数",-1)),e.createElementVNode("div",Ne,[e.createElementVNode("div",ye,[t[9]||(t[9]=e.createElementVNode("span",null,"剖面名称",-1)),e.createVNode(u,{modelValue:g.value,"onUpdate:modelValue":t[0]||(t[0]=o=>g.value=o),size:"small"},null,8,["modelValue"])]),e.createElementVNode("div",_e,[t[10]||(t[10]=e.createElementVNode("span",null,"显示点位数",-1)),e.createVNode(f,{modelValue:k.value,"onUpdate:modelValue":t[1]||(t[1]=o=>k.value=o),min:10,max:120,size:"small"},null,8,["modelValue"])]),e.createElementVNode("div",Ce,[t[11]||(t[11]=e.createElementVNode("span",null,"显示距离轴",-1)),e.createVNode(v,{modelValue:x.value,"onUpdate:modelValue":t[2]||(t[2]=o=>x.value=o)},null,8,["modelValue"])]),e.createElementVNode("div",Ve,[t[12]||(t[12]=e.createElementVNode("span",null,"显示高程轴",-1)),e.createVNode(v,{modelValue:T.value,"onUpdate:modelValue":t[3]||(t[3]=o=>T.value=o)},null,8,["modelValue"])])]),e.createElementVNode("div",Ee,e.toDisplayString(j.value),1)])]),e.createElementVNode("div",be,[e.createElementVNode("div",ke,[e.createElementVNode("div",xe,[e.createElementVNode("div",Te,e.toDisplayString(g.value),1),e.createElementVNode("div",Me,e.toDisplayString(F.value),1)]),e.createElementVNode("div",we,[e.createVNode(n,{size:"small",onClick:_,type:"primary"},{default:e.withCtx(()=>[...t[14]||(t[14]=[e.createTextVNode("生成剖面",-1)])]),_:1})])]),e.createElementVNode("div",{ref_key:"chartRef",ref:b,class:"chart-container"},null,512)])])]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),$e=le._export_sfc(qe,[["__scopeId","data-v-f50b5c17"]]);exports.default=$e;
@@ -19,8 +19,8 @@ import "element-plus/es/components/button/style/css";
19
19
  import { defineComponent as pe, ref as v, computed as C, watch as me, nextTick as K, onMounted as fe, onBeforeUnmount as ge, openBlock as I, createElementBlock as $, normalizeStyle as Q, createElementVNode as l, toDisplayString as p, unref as he, createVNode as f, withCtx as G, createTextVNode as w, Fragment as Se, renderList as _e, normalizeClass as ye, renderSlot as Ce } from "vue";
20
20
  import "./index-eIsZnzkc.js";
21
21
  import "html2canvas";
22
- import { B as be } from "./BaseComponent-Dwhb9Mde.js";
23
- import { _ as ke } from "./index-YNdVib_6.js";
22
+ import { B as be } from "./BaseComponent-CEp8NJiX.js";
23
+ import { _ as ke } from "./index-CqVPeq0-.js";
24
24
  import { A as Ne, D as xe } from "./ele-lin-icon-Dax-ZiWV.js";
25
25
  import { i as Me } from "./echarts-Bp7QN4X6.js";
26
26
  const Ge = { class: "profile-card" }, we = { class: "profile-header" }, Ee = { class: "header-left" }, Te = { class: "profile-title" }, Pe = { class: "header-right" }, Ae = { class: "profile-body" }, Ve = { class: "control-panel" }, Oe = { class: "panel-block" }, Ie = { class: "point-list" }, $e = ["onClick"], De = { class: "point-meta" }, Be = { class: "point-name" }, Re = { class: "point-sub" }, ze = { class: "point-check" }, Le = { class: "panel-block" }, Ue = { class: "param-grid" }, Fe = { class: "param-item" }, je = { class: "param-item" }, He = { class: "param-item" }, We = { class: "param-item" }, qe = { class: "tip-line" }, Je = { class: "chart-panel" }, Ke = { class: "chart-toolbar" }, Qe = { class: "chart-info" }, Xe = { class: "chart-label" }, Ye = { class: "chart-sub" }, Ze = { class: "chart-actions" }, el = {