mixdashboards 1.0.97 → 1.1.1

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 (383) hide show
  1. package/dist/{AgActionsRenderer.vue_vue_type_script_setup_true_lang-Cojc_jSG.cjs → AgActionsRenderer.vue_vue_type_script_setup_true_lang-BJJSNXwf.cjs} +1 -1
  2. package/dist/{syncMixiotListConfig-Cpgnkkws.cjs → AgGridTable-BVwklUqP.cjs} +62 -62
  3. package/dist/{syncMixiotListConfig-CD0wWvPU.js → AgGridTable-D877OEHc.js} +3830 -4056
  4. package/dist/{BaseComponent-D7kfvQid.js → BaseComponent-CcjKs8HB.js} +3 -3
  5. package/dist/{BaseComponent-C42zZPAg.cjs → BaseComponent-pJuOPMpe.cjs} +1 -1
  6. package/dist/{EChartComponentBase-CrdwK43r.js → EChartComponentBase-CtsX7pXX.js} +2 -2
  7. package/dist/{EChartComponentBase-pfIekVB2.cjs → EChartComponentBase-DaRmtdOH.cjs} +1 -1
  8. package/dist/{EmergencyPlanPanel-CjLGAAbP.cjs → EmergencyPlanPanel-95xr02ZT.cjs} +1 -1
  9. package/dist/{EmergencyPlanPanel-CS1QmwbK.js → EmergencyPlanPanel-CUIfbnAe.js} +1 -1
  10. package/dist/{HistoryPlanDialog-B1wtkugg.js → HistoryPlanDialog-DazlekGr.js} +1 -1
  11. package/dist/{HistoryPlanDialog-jhNV_Oqc.cjs → HistoryPlanDialog-DpisKLEC.cjs} +4 -4
  12. package/dist/{MixiotAppDetailPage-BiZoXtfI.js → MixiotAppDetailPage-BIlpmNTs.js} +1 -1
  13. package/dist/{MixiotAppDetailPage-CrJRBNfc.cjs → MixiotAppDetailPage-D0koK4Me.cjs} +1 -1
  14. package/dist/{MonitoringMap-Dzb6SdgR.js → MonitoringMap-D6R0DCiF.js} +2 -2
  15. package/dist/{MonitoringMap-Btz8PiVj.cjs → MonitoringMap-FeiIkrqy.cjs} +4 -4
  16. package/dist/{UniverSheet-DuL-rk5s.js → UniverSheet-D5U__6X4.js} +2 -2
  17. package/dist/{UniverSheet-DHfcCwtp.cjs → UniverSheet-DkanoirD.cjs} +1 -1
  18. package/dist/{accelerationChart-DrJ_eq7I.cjs → accelerationChart-BJE6NpEl.cjs} +2 -2
  19. package/dist/{accelerationChart-B04m3kGz.js → accelerationChart-CYo1ZBy0.js} +2 -2
  20. package/dist/{actionItem-Zm6EHUHY.cjs → actionItem-DRhEbuHQ.cjs} +1 -1
  21. package/dist/{actionItem-e-PLFmgU.js → actionItem-Y19Vb6-x.js} +2 -2
  22. package/dist/{alarmLevelChart-DdgByLdg.js → alarmLevelChart-YZgkOhsr.js} +2 -2
  23. package/dist/{alarmLevelChart-Vu7rFfmM.cjs → alarmLevelChart-dKQjcaue.cjs} +2 -2
  24. package/dist/{alertTable-C5z7ILNj.js → alertTable-DQx-x4if.js} +2 -2
  25. package/dist/{alertTable-C4NnDMYg.cjs → alertTable-Dee2L3kq.cjs} +1 -1
  26. package/dist/{aliasObjectSelectorDemo-C1vc4Qe6.js → aliasObjectSelectorDemo-Dbn3Gx3H.js} +1 -1
  27. package/dist/{aliasObjectSelectorDemo-BoN6KxiC.cjs → aliasObjectSelectorDemo-eAGwu_FB.cjs} +1 -1
  28. package/dist/{annualRainfallChart-BdFRM0vA.cjs → annualRainfallChart-Ds98MjCF.cjs} +1 -1
  29. package/dist/{annualRainfallChart-Cte3Faau.js → annualRainfallChart-gU2cnQ0f.js} +2 -2
  30. package/dist/{aqi-BixnVgn2.js → aqi-BVMH-vDD.js} +9 -9
  31. package/dist/{aqi-Cgb3Vwad.cjs → aqi-WemZK1fS.cjs} +1 -1
  32. package/dist/{aqiIndass-Cs9Ihmtw.cjs → aqiIndass-DT7oko1z.cjs} +3 -3
  33. package/dist/{aqiIndass-DgtV1bOL.js → aqiIndass-DpJv1ujV.js} +15 -15
  34. package/dist/{areaDeformCurve-DUTOFO7B.cjs → areaDeformCurve-C_JDnk5U.cjs} +1 -1
  35. package/dist/{areaDeformCurve-tiJ0tblV.js → areaDeformCurve-DA5m33Qe.js} +2 -2
  36. package/dist/{arrayCard-BhMc72ZG.js → arrayCard-BAj1HMb1.js} +2 -2
  37. package/dist/{arrayCard-DkZVKQGQ.cjs → arrayCard-U9uflAaM.cjs} +1 -1
  38. package/dist/{audio-DGJ648Nc.js → audio-BIAfv80w.js} +2 -2
  39. package/dist/{audio-O6bMgHJQ.cjs → audio-Ci1MENZ9.cjs} +1 -1
  40. package/dist/{bar-D1DpfKwR.cjs → bar-63eZwmdm.cjs} +2 -2
  41. package/dist/{bar-CEUnNrnA.js → bar-BMOonZtq.js} +2 -2
  42. package/dist/{basicShapeToolbox-COWozQbc.cjs → basicShapeToolbox-BpbW2aBT.cjs} +1 -1
  43. package/dist/{basicShapeToolbox-DuNotFN_.js → basicShapeToolbox-Ng_h8zzH.js} +3 -3
  44. package/dist/{bmp-BdA3u_nP.cjs → bmp-DIP5f39Z.cjs} +1 -1
  45. package/dist/{bmp-D_qPtSuK.js → bmp-v736xGeK.js} +2 -2
  46. package/dist/{box-Bny02hiJ.js → box-BkGfEC0X.js} +2 -2
  47. package/dist/{box-DDZH_UNM.cjs → box-C5_VWn7X.cjs} +1 -1
  48. package/dist/{chartConfigPanel-DvzAeXQE.js → chartConfigPanel-BAkMSj-0.js} +1 -1
  49. package/dist/{chartConfigPanel-B9S6EiKT.cjs → chartConfigPanel-vehnY_WD.cjs} +1 -1
  50. package/dist/{circleBar-C-p-P2K3.cjs → circleBar-Bxao7tDI.cjs} +1 -1
  51. package/dist/{circleBar-ISuDghgH.js → circleBar-DqawPufo.js} +8 -8
  52. package/dist/{clock-o-g0Qpa7.js → clock-CWLDbQAA.js} +2 -2
  53. package/dist/{clock-BAZ7gHGS.cjs → clock-CqRm1Yzn.cjs} +1 -1
  54. package/dist/{clt-DPq4dqmh.cjs → clt-4YC18ze4.cjs} +1 -1
  55. package/dist/{clt-CVEtdnpX.js → clt-Dn_j2lvz.js} +2 -2
  56. package/dist/{cmc-4m3QyBlX.js → cmc-CrFJgHLK.js} +2 -2
  57. package/dist/{cmc-B-wg04Ri.cjs → cmc-Dy15A8-6.cjs} +1 -1
  58. package/dist/{cmp-W-8LSAIe.cjs → cmp-D5NhzRqh.cjs} +2 -2
  59. package/dist/{cmp-DD8sRmv_.js → cmp-DZxuKdq2.js} +11 -11
  60. package/dist/{conclusionCard-BrrCOKf2.cjs → conclusionCard-D-C7RC-p.cjs} +1 -1
  61. package/dist/{conclusionCard-mbP-mRcJ.js → conclusionCard-DmT3Pwz_.js} +2 -2
  62. package/dist/controlList-B5FeDkJW.cjs +1 -0
  63. package/dist/{controlList-BrZys8D6.js → controlList-LTC5iXGG.js} +88 -87
  64. package/dist/{controlRecordList-BfQU3BYg.js → controlRecordList-CSuUh3s0.js} +36 -35
  65. package/dist/controlRecordList-zcHQYb_P.cjs +1 -0
  66. package/dist/{controlRecordListAPP-DbSRJUMy.cjs → controlRecordListAPP-BXpLbhUo.cjs} +1 -1
  67. package/dist/{controlRecordListAPP-CV33yLCF.js → controlRecordListAPP-vYhN4bB5.js} +2 -2
  68. package/dist/{crd-D8-JrYYm.cjs → crd-DgEDfJ95.cjs} +1 -1
  69. package/dist/{crd-DpjRg2wi.js → crd-uo-NhVpW.js} +2 -2
  70. package/dist/{ctrBtn-DVnTSpMy.js → ctrBtn-BSn2FSAF.js} +3 -3
  71. package/dist/{ctrBtn-CKhVuncE.cjs → ctrBtn-D-twtrqf.cjs} +1 -1
  72. package/dist/{ctrSet-DgMrl4yM.js → ctrSet-BFeYAtIw.js} +3 -3
  73. package/dist/{ctrSet-D3HJgviN.cjs → ctrSet-CTyy7KGw.cjs} +1 -1
  74. package/dist/{ctrSwitch-CLQPCuk8.cjs → ctrSwitch-Bn-XG-BL.cjs} +1 -1
  75. package/dist/{ctrSwitch-CabBqoqJ.js → ctrSwitch-BujeiXLV.js} +3 -3
  76. package/dist/{dataManagement-DiJg7jlN.js → dataManagement-B4SdQ9nR.js} +2 -2
  77. package/dist/{dataManagement-CmBsCjjz.cjs → dataManagement-BoYxdGY8.cjs} +1 -1
  78. package/dist/{dataReport-BRKlDrnT.js → dataReport-CBzD4yzX.js} +2 -2
  79. package/dist/{dataReport-C58Z1WyN.cjs → dataReport-DeafEOqQ.cjs} +2 -2
  80. package/dist/{dataTable-n4TQYX4v.cjs → dataTable-5_OavfVE.cjs} +1 -1
  81. package/dist/{dataTable-D9pJzwtQ.js → dataTable-BAC5DHBs.js} +1 -1
  82. package/dist/{datetime-B-KYzzjs.js → datetime-BkM3rL3S.js} +2 -2
  83. package/dist/{datetime-Cp-aTjx9.cjs → datetime-DYWvdieJ.cjs} +1 -1
  84. package/dist/{deepClusterSlipSurface-Cb6AKo_u.js → deepClusterSlipSurface-CNGoBLOX.js} +5 -5
  85. package/dist/{deepClusterSlipSurface-Cs4au-D7.cjs → deepClusterSlipSurface-DLS5hKTy.cjs} +1 -1
  86. package/dist/{deepDataMatrix-edH7pl5I.cjs → deepDataMatrix-DEL0R84O.cjs} +1 -1
  87. package/dist/{deepDataMatrix-D18UbgVg.js → deepDataMatrix-xd5kD-2g.js} +2 -2
  88. package/dist/{deepDisplacement3D-CjUFL7gl.cjs → deepDisplacement3D-Civ_9-xA.cjs} +1 -1
  89. package/dist/{deepDisplacement3D-C_ezOVqs.js → deepDisplacement3D-DC_FvCjr.js} +2 -2
  90. package/dist/{deepDisplacementChart-BNVKT9M5.js → deepDisplacementChart-BnN8998o.js} +3 -3
  91. package/dist/{deepDisplacementChart-DlFZBsHh.js → deepDisplacementChart-CGSoihzo.js} +2 -2
  92. package/dist/{deepDisplacementChart-COdOOjQT.cjs → deepDisplacementChart-C_f1KyhJ.cjs} +2 -2
  93. package/dist/{deepDisplacementChart-Tfqj9khW.cjs → deepDisplacementChart-DvN1rcsW.cjs} +1 -1
  94. package/dist/{deepDisplacementView-C5dr_KFf.cjs → deepDisplacementView-BWHp12YG.cjs} +2 -2
  95. package/dist/{deepDisplacementView-BcYMcimK.js → deepDisplacementView-CuPtt2fz.js} +1 -1
  96. package/dist/{deepNodeTemperatureChart-CyjWwmRb.cjs → deepNodeTemperatureChart-Bhmiv4-B.cjs} +1 -1
  97. package/dist/{deepNodeTemperatureChart-DZLc9z6n.js → deepNodeTemperatureChart-DFTIDucL.js} +5 -5
  98. package/dist/{deepTangentAngleChart-DsyFhBgJ.js → deepTangentAngleChart-D9gSED5y.js} +6 -6
  99. package/dist/{deepTangentAngleChart-a41v2DRO.cjs → deepTangentAngleChart-rkTpBAAK.cjs} +1 -1
  100. package/dist/{deepTemperatureField-CTtxBHkt.js → deepTemperatureField-BCFZ_cni.js} +7 -7
  101. package/dist/{deepTemperatureField-BKwbER4Z.cjs → deepTemperatureField-BcgH7b5V.cjs} +1 -1
  102. package/dist/{deepTrendChart-B7T-ykiy.cjs → deepTrendChart-B3ri4lDi.cjs} +1 -1
  103. package/dist/{deepTrendChart-DCJmZ38j.js → deepTrendChart-CG1R9QY2.js} +5 -5
  104. package/dist/{deviceOnlineStatus-vvs3IjoT.js → deviceOnlineStatus-BC5hzamT.js} +2 -2
  105. package/dist/{deviceOnlineStatus-DJLS5d8V.cjs → deviceOnlineStatus-BN35-sd0.cjs} +2 -2
  106. package/dist/{deviceStatus-8Y7fqV7j.js → deviceStatus-B8FDiFyP.js} +2 -2
  107. package/dist/{deviceStatus-fsvw50YY.cjs → deviceStatus-ngb4zOxm.cjs} +1 -1
  108. package/dist/{displacementDataTable-CAj6C6ug.cjs → displacementDataTable-A1oX4BAv.cjs} +1 -1
  109. package/dist/{displacementDataTable-zCrCdDAk.js → displacementDataTable-NUYXC9FY.js} +2 -2
  110. package/dist/{displacementTrajectoryChart-iL4iRKZ2.js → displacementTrajectoryChart-BylRsIdY.js} +2 -2
  111. package/dist/{displacementTrajectoryChart-BArbCJTS.cjs → displacementTrajectoryChart-I9BFKuBz.cjs} +4 -4
  112. package/dist/{displacementTrendChart-B_5KOzmg.cjs → displacementTrendChart-BmDclWgR.cjs} +2 -2
  113. package/dist/{displacementTrendChart-jI9s1jqc.js → displacementTrendChart-DPP5BEgu.js} +2 -2
  114. package/dist/{dxf-EOLYvUtK.cjs → dxf-JfxTKuCC.cjs} +1 -1
  115. package/dist/{dxf-Wr__XlMC.js → dxf-W7WlqYfs.js} +2 -2
  116. package/dist/{dzc-D8XN73z2.cjs → dzc-BjqczvL_.cjs} +1 -1
  117. package/dist/{dzc-BWDvHjPU.js → dzc-WD2VUwy3.js} +12 -12
  118. package/dist/{emergencyPlan-DVQEu9zg.js → emergencyPlan-C-X15SP3.js} +3 -3
  119. package/dist/{emergencyPlan-CI9EkZfn.cjs → emergencyPlan-ChZeqpwb.cjs} +1 -1
  120. package/dist/{evn-CkEHDEjn.js → evn-ChitBoCQ.js} +2 -2
  121. package/dist/{evn-2U-jKoDM.cjs → evn-DjBSvXJ8.cjs} +1 -1
  122. package/dist/{evolutionChart-DxkVM36e.cjs → evolutionChart-B6kVUFjO.cjs} +1 -1
  123. package/dist/{evolutionChart-DAh8Gy4-.js → evolutionChart-CcW72m5e.js} +3 -3
  124. package/dist/{fileViewer-CR0Ldpe9.js → fileViewer-B31rnhby.js} +2 -2
  125. package/dist/{fileViewer-C8XZYud4.cjs → fileViewer-PT8NhrpV.cjs} +1 -1
  126. package/dist/{filterBar-DWLGgMzl.js → filterBar-DBKmjvIZ.js} +2 -2
  127. package/dist/{filterBar-CVm0E6_U.cjs → filterBar-W7DA0PVb.cjs} +1 -1
  128. package/dist/{fireCombustionCurve-yQMkVsEM.cjs → fireCombustionCurve-CyrUSG61.cjs} +1 -1
  129. package/dist/{fireCombustionCurve-w50Ad5Qz.js → fireCombustionCurve-DM3VV4HF.js} +3 -3
  130. package/dist/{fireFilterBar-DbmtTFOx.cjs → fireFilterBar-BJrDOtCX.cjs} +1 -1
  131. package/dist/{fireFilterBar-Duk7OJ9Y.js → fireFilterBar-D_iui044.js} +2 -2
  132. package/dist/{fireHistoryTable-BO6ej88t.cjs → fireHistoryTable-CN2Hzohc.cjs} +1 -1
  133. package/dist/{fireHistoryTable-DPBVjZiJ.js → fireHistoryTable-DspSb34d.js} +2 -2
  134. package/dist/{gag-BMTle0iW.cjs → gag-BUrDQoCO.cjs} +1 -1
  135. package/dist/{gag-CSAmkyDD.js → gag-pfKfrlYO.js} +5 -5
  136. package/dist/gasStationList-Cy_5QLR9.js +1291 -0
  137. package/dist/gasStationList-YZWLjvN8.cjs +1 -0
  138. package/dist/gasStationList.mock---h5F6r5.cjs +1 -0
  139. package/dist/gasStationList.mock-COxtW0Ex.js +120 -0
  140. package/dist/{geo3dViewer-mJDVY5cp.js → geo3dViewer-ChbokLUB.js} +3 -3
  141. package/dist/{geo3dViewer-BIlig7g_.cjs → geo3dViewer-DJ_gqO5r.cjs} +1 -1
  142. package/dist/{glbModel-BzxP8shl.js → glbModel-BrjC3i0h.js} +2 -2
  143. package/dist/{glbModel-DnWXDJic.cjs → glbModel-D3UJSvjN.cjs} +3 -3
  144. package/dist/{globalObjectSelector-lYWLbEt8.js → globalObjectSelector-CdYmLLv2.js} +1 -1
  145. package/dist/{globalObjectSelector-Cp55ZFxL.cjs → globalObjectSelector-Ce3SvC4E.cjs} +1 -1
  146. package/dist/{gnssFilterBar-BcXsjKvN.cjs → gnssFilterBar-B43tZTQX.cjs} +1 -1
  147. package/dist/{gnssFilterBar-4yJR6Hid.js → gnssFilterBar-Bp84YDXJ.js} +2 -2
  148. package/dist/{gnssHistoryTable-CQhYzIkF.cjs → gnssHistoryTable-D8bXGNML.cjs} +2 -2
  149. package/dist/{gnssHistoryTable-V6L8Mapo.js → gnssHistoryTable-RsM1jz2f.js} +2 -2
  150. package/dist/{gnssMapView-CCJ_Y4o6.cjs → gnssMapView-BHb44XkU.cjs} +2 -2
  151. package/dist/{gnssMapView-B-uzWumH.js → gnssMapView-xVqGdW1A.js} +4 -4
  152. package/dist/{gnssSectionProfile-B8Rt-CF9.js → gnssSectionProfile-B3xINEfL.js} +2 -2
  153. package/dist/{gnssSectionProfile-B_8IErhJ.cjs → gnssSectionProfile-uuSceQXY.cjs} +1 -1
  154. package/dist/{gnssTimeSeriesChart-IF2Zzgya.cjs → gnssTimeSeriesChart-BexLKadu.cjs} +1 -1
  155. package/dist/{gnssTimeSeriesChart-BaP9brVp.js → gnssTimeSeriesChart-Da_AJWxA.js} +2 -2
  156. package/dist/{gnssXYTrajectory-BNXHdP5L.js → gnssXYTrajectory-7wgytvX6.js} +2 -2
  157. package/dist/{gnssXYTrajectory-DZXUOtdZ.cjs → gnssXYTrajectory-BR6KieD1.cjs} +2 -2
  158. package/dist/{grd-CRF5hQq3.js → grd-BiSIVP8f.js} +2 -2
  159. package/dist/{grd-q2JwG1LL.cjs → grd-D6m7shg1.cjs} +1 -1
  160. package/dist/{grdIndass-C8DPNROD.js → grdIndass-DMo7AvX-.js} +2 -2
  161. package/dist/{grdIndass-B_nXfqqR.cjs → grdIndass-DWD4c2kI.cjs} +1 -1
  162. package/dist/{grg-M9MwBK9q.js → grg-C2cx2qwL.js} +6 -6
  163. package/dist/{grg-DHuXQP_O.cjs → grg-Dd3zG3uv.cjs} +1 -1
  164. package/dist/{gridview-DTqcftjZ.js → gridview-BE95SgmR.js} +2 -2
  165. package/dist/{gridview-DLILP3no.cjs → gridview-CYQmWtcu.cjs} +1 -1
  166. package/dist/{groundwaterFilterBar-DwrhRk_v.js → groundwaterFilterBar-Cdjy0yl1.js} +2 -2
  167. package/dist/{groundwaterFilterBar-zXbia-fX.cjs → groundwaterFilterBar-DGX3khxf.cjs} +1 -1
  168. package/dist/{groundwaterProfileChart-PjBzMvbw.js → groundwaterProfileChart-0f6UL1uh.js} +3 -3
  169. package/dist/{groundwaterProfileChart-DrdP76cd.cjs → groundwaterProfileChart-Va1KIxBg.cjs} +2 -2
  170. package/dist/{groundwaterTimeCurve-DInTJEEl.js → groundwaterTimeCurve-CLeVdjfy.js} +3 -3
  171. package/dist/{groundwaterTimeCurve-DYk42p1p.cjs → groundwaterTimeCurve-DM4ApM86.cjs} +1 -1
  172. package/dist/{groupCard-BrNzGFVs.js → groupCard-BtORguZA.js} +2 -2
  173. package/dist/{groupCard-CNuEYy3p.cjs → groupCard-C7jBvHEi.cjs} +1 -1
  174. package/dist/{headerBar-BEoo20so.cjs → headerBar-DWgVttHc.cjs} +1 -1
  175. package/dist/{headerBar-C5tkesYI.js → headerBar-FgBaxcWC.js} +2 -2
  176. package/dist/{history-D_JkziAv.js → history-BtzJVDjs.js} +1 -1
  177. package/dist/{history-b7zBiHDz.cjs → history-G4FWNbMx.cjs} +1 -1
  178. package/dist/{index-PR_k3tQg.cjs → index-BxtKIaXl.cjs} +13 -16
  179. package/dist/{index-CaDDNmGU.js → index-DVnOzlFW.js} +3649 -3558
  180. package/dist/{insarDeformChart-C5PiLbYU.js → insarDeformChart-C6YAStZY.js} +2 -2
  181. package/dist/{insarDeformChart-DBXyVjKk.cjs → insarDeformChart-CUi7xmKQ.cjs} +1 -1
  182. package/dist/{insarImageViewer-B9-QQ_De.cjs → insarImageViewer-BWi9Fanb.cjs} +1 -1
  183. package/dist/{insarImageViewer-BEeQiS6N.js → insarImageViewer-BmPHo9Iv.js} +2 -2
  184. package/dist/{kds-BoR05GUP.js → kds-C5mE22Yh.js} +10 -10
  185. package/dist/{kds-JbCbEtJs.cjs → kds-CiOBJc1H.cjs} +1 -1
  186. package/dist/{kpiCard-7v6bZGP2.cjs → kpiCard-D9reZvRs.cjs} +2 -2
  187. package/dist/{kpiCard-BP-GnthE.js → kpiCard-MkcFvWjW.js} +2 -2
  188. package/dist/{landslideMap-BMu2X2bN.js → landslideMap-BflhBLFm.js} +3 -3
  189. package/dist/{landslideMap-D59SrOZE.cjs → landslideMap-C8-CZ6Cz.cjs} +1 -1
  190. package/dist/{landslideWarning-DeB2bNpu.js → landslideWarning-BASv2Fr8.js} +5 -5
  191. package/dist/{landslideWarning-C_hcQ1wr.cjs → landslideWarning-DrUA9D0C.cjs} +1 -1
  192. package/dist/{layerTabs-ByZZMwks.js → layerTabs-CGyjCWQO.js} +2 -2
  193. package/dist/{layerTabs-C1XclQOC.cjs → layerTabs-xEq9dduN.cjs} +1 -1
  194. package/dist/{leaflet-src-w8JmXMPG.cjs → leaflet-src-CyxFiLW0.cjs} +1 -1
  195. package/dist/{leaflet-src-O0MJ0wU5.js → leaflet-src-DjQfvPR-.js} +1 -1
  196. package/dist/{lerc-C0ekD7Me.cjs → lerc-Cu4ZGR3U.cjs} +1 -1
  197. package/dist/{lerc-BSgE4FKp.js → lerc-DDih8NnQ.js} +2 -2
  198. package/dist/{lin-DGOJIF6s.cjs → lin-4W_NoZ6M.cjs} +2 -2
  199. package/dist/{lin-DGafw8zf.js → lin-Bd61Xnu8.js} +11 -11
  200. package/dist/{linIndass-BERNb4X3.cjs → linIndass-DEbmVqHv.cjs} +2 -2
  201. package/dist/{linIndass-BLAQz5op.js → linIndass-apXDypXa.js} +6 -6
  202. package/dist/{lst-Cb1RdJ3D.js → lst-B1xWnPYM.js} +2 -2
  203. package/dist/{lst-BbLp5U-f.cjs → lst-CP3ZrASC.cjs} +1 -1
  204. package/dist/{manualEntry-C3aJpT9g.js → manualEntry-CrDkDTII.js} +2 -2
  205. package/dist/{manualEntry-Ztj3fH3A.cjs → manualEntry-DbZpUS57.cjs} +1 -1
  206. package/dist/{mapBackground-BPNim3nv.js → mapBackground-COtDGSdO.js} +3 -3
  207. package/dist/{mapBackground-CzRZzD1O.cjs → mapBackground-DZn9WsQw.cjs} +1 -1
  208. package/dist/mappingList-A3Q_Tq4f.cjs +1 -0
  209. package/dist/{mappingList-B6NYcjIa.js → mappingList-B4ge3SAq.js} +72 -71
  210. package/dist/{markdownViewer-CSMB8l93.js → markdownViewer-D0r-hbyK.js} +2 -2
  211. package/dist/{markdownViewer-BPdAvoWW.cjs → markdownViewer-DW_gJx8K.cjs} +1 -1
  212. package/dist/materialFileUrl-8YHw7z1T.cjs +1 -0
  213. package/dist/{materialFileUrl-BUkIkwgp.js → materialFileUrl-hKqW_JAq.js} +22 -22
  214. package/dist/{mix-control-modal-46dJ4X4L.js → mix-control-modal-AaG5Zj5V.js} +40 -40
  215. package/dist/mix-control-modal-CVHBMke4.cjs +1 -0
  216. package/dist/{mixGrid-1tOrywk7.cjs → mixGrid-6liStzKv.cjs} +1 -1
  217. package/dist/{mixGrid-F-d2hIht.js → mixGrid-CrW-atps.js} +2 -2
  218. package/dist/mixdashboards.cjs +1 -1
  219. package/dist/mixdashboards.css +1 -1
  220. package/dist/mixdashboards.js +1 -1
  221. package/dist/{mjpegCamera-Bzf9Zlb9.cjs → mjpegCamera-CAplwtGz.cjs} +1 -1
  222. package/dist/{mjpegCamera-CAR217Pv.js → mjpegCamera-DxdRa9v9.js} +2 -2
  223. package/dist/{monitorAlert-CD2NRVzR.js → monitorAlert-Bfd8oKZ3.js} +2 -2
  224. package/dist/{monitorAlert-BJtWNV53.cjs → monitorAlert-Di9ckhWx.cjs} +1 -1
  225. package/dist/{monitorData-D2rrSoJh.cjs → monitorData-BrUV6Nwg.cjs} +1 -1
  226. package/dist/{monitorData-CviwIANH.js → monitorData-HMsGrDkH.js} +2 -2
  227. package/dist/{monitorSpeedChart-BUfGJsBO.cjs → monitorSpeedChart-B-_c8bio.cjs} +1 -1
  228. package/dist/{monitorSpeedChart-DCMb9kVx.js → monitorSpeedChart-t1EgdmW4.js} +1 -1
  229. package/dist/{mxa-CTkUFkJB.cjs → mxa-BpqOJaiB.cjs} +1 -1
  230. package/dist/{mxa-CAgh10Ux.js → mxa-q5TxwpXx.js} +6 -6
  231. package/dist/{myValue-BwWuUkn0.js → myValue-BU9Kfrrr.js} +2 -2
  232. package/dist/{myValue-CTtwYm45.cjs → myValue-OTE8sMVZ.cjs} +1 -1
  233. package/dist/{myValueList-8goYepha.cjs → myValueList-DEfYmX7F.cjs} +1 -1
  234. package/dist/{myValueList-D-EbIIcT.js → myValueList-Dw-ayL7y.js} +2 -2
  235. package/dist/{objectList-B6S5Vbt7.js → objectList-C4cA-YqG.js} +488 -484
  236. package/dist/objectList-DCNrR5lG.cjs +1 -0
  237. package/dist/objectList.history-BkLFQ-o7.cjs +1 -0
  238. package/dist/objectList.history-DXZuLtHy.js +71 -0
  239. package/dist/objectListAPP-BBYGsNqX.cjs +1 -0
  240. package/dist/{objectListAPP-6EVjt25O.js → objectListAPP-TBEYjdIA.js} +591 -627
  241. package/dist/{percentBar-CXFGCu39.js → percentBar-BSjYCHDk.js} +9 -9
  242. package/dist/{percentBar-CllO6t03.cjs → percentBar-C48hKsVI.cjs} +2 -2
  243. package/dist/{photo-Bm9bjJ5L.cjs → photo-DDbR-KiN.cjs} +1 -1
  244. package/dist/{photo-CISKz3py.js → photo-q5P5djEM.js} +4 -4
  245. package/dist/{pie-CsZff0UE.cjs → pie-D0PL5kWu.cjs} +1 -1
  246. package/dist/{pie-B3nio1dC.js → pie-ykfLJ_hJ.js} +8 -8
  247. package/dist/{placeholder-q3O8Bva5.js → placeholder-BpOlpDTG.js} +1 -1
  248. package/dist/{placeholder-CPgwWlNB.cjs → placeholder-D8UJOXeJ.cjs} +1 -1
  249. package/dist/{pressBtn-BSWda69G.js → pressBtn-CMsC6Tna.js} +3 -3
  250. package/dist/{pressBtn-Bq1_wegh.cjs → pressBtn-CxU8XluS.cjs} +1 -1
  251. package/dist/{processTable-BP4EKe75.cjs → processTable-BOwVSynw.cjs} +1 -1
  252. package/dist/{processTable-C9Q2jiVC.js → processTable-DYHDRW2w.js} +2 -2
  253. package/dist/{progressBar-Bb9apofa.cjs → progressBar-B-f_Usik.cjs} +1 -1
  254. package/dist/{progressBar-DGI1hKbd.js → progressBar-DnT4q1r_.js} +2 -2
  255. package/dist/{progressCircle-BRbfwnB-.cjs → progressCircle-BmHEB7KC.cjs} +1 -1
  256. package/dist/{progressCircle-B_yHB1bZ.js → progressCircle-Ia4m1v9_.js} +2 -2
  257. package/dist/{qrcode-B4O103tY.js → qrcode-C8lyRBxh.js} +307 -308
  258. package/dist/qrcode-DVYTa6sB.cjs +1 -0
  259. package/dist/{raceBar-BBTSuU97.cjs → raceBar-BRr_XdlV.cjs} +2 -2
  260. package/dist/{raceBar-CJ4qBGhx.js → raceBar-D4GxDoVJ.js} +26 -23
  261. package/dist/{rad-np3W7CAD.cjs → rad-CbHWivUN.cjs} +1 -1
  262. package/dist/{rad-DR-duEfw.js → rad-vUFG65ay.js} +7 -7
  263. package/dist/{radarMapViewer-BVtJ2q6c.js → radarMapViewer-Cyc_cxsj.js} +2 -2
  264. package/dist/{radarMapViewer-kbdzbDKP.cjs → radarMapViewer-b8LBfM0L.cjs} +1 -1
  265. package/dist/{rainfallFilterBar-CYpib1XL.js → rainfallFilterBar-SzYyeYDz.js} +2 -2
  266. package/dist/{rainfallFilterBar-DuZwhtKa.cjs → rainfallFilterBar-qLf4SQBI.cjs} +1 -1
  267. package/dist/{rainfallTimeCurve-BT4rE2Vc.js → rainfallTimeCurve-3gXRXcta.js} +3 -3
  268. package/dist/{rainfallTimeCurve-DYWpLoT1.cjs → rainfallTimeCurve-CiA92jvM.cjs} +1 -1
  269. package/dist/{rangeLin-BBcJ9PnJ.js → rangeLin-CP_PElKD.js} +7 -7
  270. package/dist/{rangeLin-ChaYkb8_.cjs → rangeLin-t-otAmtq.cjs} +2 -2
  271. package/dist/{realtimeEvolutionMap-CJxCeMCD.js → realtimeEvolutionMap-DDmPQA-n.js} +2 -2
  272. package/dist/{realtimeEvolutionMap-UFga_5-Z.cjs → realtimeEvolutionMap-KTZmuwn3.cjs} +1 -1
  273. package/dist/{regionBar-CdvwMj9w.cjs → regionBar-CE-SzGLB.cjs} +1 -1
  274. package/dist/{regionBar-D2tQM5cu.js → regionBar-eqlDfulL.js} +2 -2
  275. package/dist/{request-D0RrTUSz.js → request-CNIQ5_TJ.js} +1 -1
  276. package/dist/{request-CBFwthty.cjs → request-CVksHch6.cjs} +1 -1
  277. package/dist/{retainer1-YHosRvc1.js → retainer1-CBSRVFGZ.js} +3 -3
  278. package/dist/{retainer1-BGV2MuUp.cjs → retainer1-D0G7_uC8.cjs} +1 -1
  279. package/dist/{retainer2-Un2rhmxB.cjs → retainer2-DluOXy8_.cjs} +1 -1
  280. package/dist/{retainer2-Wvm3l39y.js → retainer2-ptZ1elUB.js} +3 -3
  281. package/dist/retainerRecordList-BR5MAUAr.cjs +1 -0
  282. package/dist/{retainerRecordList-CqOPgM_e.js → retainerRecordList-CL2yALsS.js} +65 -64
  283. package/dist/{retainerRecordListAPP-UOXVHQzs.cjs → retainerRecordListAPP-CgsYe8he.cjs} +1 -1
  284. package/dist/{retainerRecordListAPP-CutsTHxC.js → retainerRecordListAPP-DdlbikGp.js} +3 -3
  285. package/dist/{ringTopN-BhDlEOCJ.js → ringTopN-Cv0R1TTh.js} +5 -5
  286. package/dist/{ringTopN-mA9LAgFN.cjs → ringTopN-X-6FqlBe.cjs} +1 -1
  287. package/dist/{riskRegionTable-Cm9BsaWA.cjs → riskRegionTable-CAaUKuWG.cjs} +1 -1
  288. package/dist/{riskRegionTable-CYTLnsH-.js → riskRegionTable-cFU60MAX.js} +2 -2
  289. package/dist/{sankey-jU9Dscb_.js → sankey-Dq3i5Jou.js} +8 -8
  290. package/dist/{sankey-BmvrkXRY.cjs → sankey-Kawu2sLR.cjs} +1 -1
  291. package/dist/{scd-CGTKGaWO.js → scd-C3n31CBH.js} +3 -3
  292. package/dist/{scd-TQcCDjoj.cjs → scd-DtohWX7o.cjs} +1 -1
  293. package/dist/{sideMenu-D4uEDc38.cjs → sideMenu-CU0LnGjs.cjs} +1 -1
  294. package/dist/{sideMenu-CtdLmpLX.js → sideMenu-Dw50xUft.js} +2 -2
  295. package/dist/{slopeStability-H7iiOf5G.js → slopeStability-B5YeRhwv.js} +2 -2
  296. package/dist/{slopeStability-B-LzCvR7.cjs → slopeStability-BvEaYjeB.cjs} +1 -1
  297. package/dist/{speedCurve-BKMR6Z0r.cjs → speedCurve-COtu8mYG.cjs} +1 -1
  298. package/dist/{speedCurve-lgD_hG_W.js → speedCurve-Hx0cF-DG.js} +2 -2
  299. package/dist/{stackedBar-BJu9_GI7.js → stackedBar-CqiWL95o.js} +9 -9
  300. package/dist/{stackedBar-D-goARDv.cjs → stackedBar-ohKCJ_s6.cjs} +2 -2
  301. package/dist/stationList-BJfXYgrR.cjs +1 -0
  302. package/dist/stationList-sHedP5PJ.js +1773 -0
  303. package/dist/{stressFilterBar-BOsQJoK_.js → stressFilterBar-CCXuMTAH.js} +2 -2
  304. package/dist/{stressFilterBar-D6qiNCAj.cjs → stressFilterBar-CVMDpp8V.cjs} +1 -1
  305. package/dist/{stressTimeCurve-BwZLKFHb.cjs → stressTimeCurve-C2SnXa0R.cjs} +1 -1
  306. package/dist/{stressTimeCurve-Bgxr5Wrf.js → stressTimeCurve-CPTkhIgN.js} +3 -3
  307. package/dist/{swiper-CRtoulGh.js → swiper-DH2Fzx4j.js} +2 -2
  308. package/dist/{swiper-D82oGlpT.cjs → swiper-YXiOqPl7.cjs} +1 -1
  309. package/dist/syncMixiotListConfig-BJm-8v-B.js +240 -0
  310. package/dist/syncMixiotListConfig-Elkp8zAs.cjs +1 -0
  311. package/dist/syncTablemanFormConfig-5nVr0itR.js +4509 -0
  312. package/dist/syncTablemanFormConfig-Cg0Ykosc.cjs +5 -0
  313. package/dist/tablemanCreate-B6wutwoq.cjs +1 -0
  314. package/dist/tablemanCreate-DJGMdzPs.js +180 -0
  315. package/dist/tablemanDetail-D_LazuGx.cjs +1 -0
  316. package/dist/tablemanDetail-DgD7MPHM.js +989 -0
  317. package/dist/tablemanList-BzzEEgBH.js +586 -0
  318. package/dist/tablemanList-DUm2Rwju.cjs +1 -0
  319. package/dist/tablemanTableList-CW_LDJ88.cjs +1 -0
  320. package/dist/{tablemanList-DmHYElUp.js → tablemanTableList-DMZXrRF-.js} +314 -304
  321. package/dist/tablemanUpdate-BS39NFRR.js +180 -0
  322. package/dist/tablemanUpdate-CYZW_BKZ.cjs +1 -0
  323. package/dist/{terminalConfigList-D6NiHYBX.js → terminalConfigList-Bzr42Wvd.js} +42 -41
  324. package/dist/terminalConfigList-C9Fu7oYn.cjs +1 -0
  325. package/dist/terminalList-CQpe62Ka.cjs +1 -0
  326. package/dist/{terminalList-CTBcP9xm.js → terminalList-DsTP6pLM.js} +23 -22
  327. package/dist/{terminalListAPP-Cwe2xdL6.cjs → terminalListAPP-B3ZIaZTE.cjs} +1 -1
  328. package/dist/{terminalListAPP-afa_Ibtw.js → terminalListAPP-LeXxUqQV.js} +3 -3
  329. package/dist/{textbox-D1Qwf3d2.cjs → textbox-B78vorhi.cjs} +1 -1
  330. package/dist/{textbox-BLANVfpn.js → textbox-DVZ_qHv8.js} +2 -2
  331. package/dist/{timeQueryBar-BHTy_h6G.js → timeQueryBar-D4N-0UXg.js} +1 -1
  332. package/dist/{timeQueryBar-CNbq5Bet.cjs → timeQueryBar-DJugILi4.cjs} +1 -1
  333. package/dist/{timeSeries-DSzv8Sp2.js → timeSeries-9BvqZ_6j.js} +3 -3
  334. package/dist/{timeSeries-CVz4_Q5W.cjs → timeSeries-C5soFF43.cjs} +1 -1
  335. package/dist/{timeSeriesCurve-DSAYjkRU.js → timeSeriesCurve-BIaHrqgV.js} +3 -3
  336. package/dist/{timeSeriesCurve-yQo3qHHo.cjs → timeSeriesCurve-CWCjYUsv.cjs} +1 -1
  337. package/dist/{toggleBtn-CsetEz6X.cjs → toggleBtn-CRzJ5Mw6.cjs} +1 -1
  338. package/dist/{toggleBtn-COE-GX9z.js → toggleBtn-CkY3ka1E.js} +9 -9
  339. package/dist/{trajectoryConfigPanel-BzJcwd-3.js → trajectoryConfigPanel-WYjBgHEp.js} +1 -1
  340. package/dist/{trajectoryConfigPanel-BS6SAfIu.cjs → trajectoryConfigPanel-que4yUWf.cjs} +1 -1
  341. package/dist/{trajectoryScatter-DSj9tCgT.js → trajectoryScatter-CsH0QRS5.js} +5 -5
  342. package/dist/{trajectoryScatter-ftlV7dd0.cjs → trajectoryScatter-DXRIuO_R.cjs} +1 -1
  343. package/dist/{universalConfigPanel-BzY0yL6m.js → universalConfigPanel-CfKty-RD.js} +1 -1
  344. package/dist/{universalConfigPanel-DjClEju7.cjs → universalConfigPanel-DkyWJfQY.cjs} +1 -1
  345. package/dist/{universalTable-JvMM251F.js → universalTable-C7MPwsU7.js} +2 -2
  346. package/dist/{universalTable-DPu429rn.cjs → universalTable-CYn9Ta0x.cjs} +2 -2
  347. package/dist/useMixiotPanelPopperClass-2tTzKUsO.cjs +1 -0
  348. package/dist/useMixiotPanelPopperClass-UGlVKJTK.js +53 -0
  349. package/dist/useTablemanApi-D0e3qWmt.js +282 -0
  350. package/dist/useTablemanApi-DhWsaLvq.cjs +3 -0
  351. package/dist/useTablemanFormPanel-BZ3oXKlq.js +21827 -0
  352. package/dist/useTablemanFormPanel-CliUgDl9.cjs +81 -0
  353. package/dist/useTablemanListActions-D2L5OAxQ.js +567 -0
  354. package/dist/useTablemanListActions-DoHRrI1D.cjs +1 -0
  355. package/dist/{video-OJsr6jxT.js → video-BSgDJKSO.js} +2 -2
  356. package/dist/{video-BZbt1v0N.cjs → video-fx8v0Y1x.cjs} +1 -1
  357. package/dist/{videoMonitor-BcfssQX4.js → videoMonitor-Bc8jVS95.js} +2 -2
  358. package/dist/{videoMonitor-DWNh0F6P.cjs → videoMonitor-wrowv7tL.cjs} +1 -1
  359. package/dist/{vlu-BXyZcEQh.js → vlu-C7dW2enk.js} +2 -2
  360. package/dist/{vlu-BrVly_o-.cjs → vlu-D7hqyPF5.cjs} +1 -1
  361. package/dist/{warningOverview-C8qJNEFc.js → warningOverview-BWrTJKjX.js} +3 -3
  362. package/dist/{warningOverview-YqxTqkG6.cjs → warningOverview-FsGBF14a.cjs} +1 -1
  363. package/dist/{weather-Drd-bMhZ.js → weather-BInNSKms.js} +2 -2
  364. package/dist/{weather-Ba0ATW6-.cjs → weather-DgAUfYt_.cjs} +1 -1
  365. package/dist/{windLin-DFzNiUCz.js → windLin-Buv5GCTK.js} +9 -9
  366. package/dist/{windLin-5NXNHy9D.cjs → windLin-CKjU-v9-.cjs} +1 -1
  367. package/package.json +4 -1
  368. package/dist/controlList-DlqgQ510.cjs +0 -1
  369. package/dist/controlRecordList-B-lHEslj.cjs +0 -1
  370. package/dist/gasStationList-CQgakcsg.js +0 -1401
  371. package/dist/gasStationList-DnQK3yKb.cjs +0 -1
  372. package/dist/mappingList-B_FVwWfC.cjs +0 -1
  373. package/dist/materialFileUrl-BR6anfF2.cjs +0 -1
  374. package/dist/mix-control-modal-oDAz2GZ_.cjs +0 -1
  375. package/dist/objectList-Dbkam4GS.cjs +0 -1
  376. package/dist/objectListAPP-BRDAVQcL.cjs +0 -1
  377. package/dist/qrcode-CMYqHUmi.cjs +0 -1
  378. package/dist/retainerRecordList-C_aduEsj.cjs +0 -1
  379. package/dist/tablemanList-10EHbXgv.cjs +0 -1
  380. package/dist/terminalConfigList-cHJ-LVj5.cjs +0 -1
  381. package/dist/terminalList-BVovhzGU.cjs +0 -1
  382. /package/dist/{useApi-DtucMc-S-CRhRQNx-.cjs → useApi-DCywyCly-CRhRQNx-.cjs} +0 -0
  383. /package/dist/{useApi-DtucMc-S-ha66t1D5.js → useApi-DCywyCly-ha66t1D5.js} +0 -0
@@ -27,14 +27,14 @@ var A = (a, i, l) => new Promise((h, y) => {
27
27
  c((l = l.apply(a, i)).next());
28
28
  });
29
29
  import { defineComponent as M, computed as P, openBlock as j, createElementBlock as V, normalizeStyle as x, unref as d, createElementVNode as m, toDisplayString as w, Fragment as W, renderList as U, renderSlot as q, nextTick as K } from "vue";
30
- import { l as G, C as $, _ as J } from "./index-CaDDNmGU.js";
30
+ import { l as G, C as $, _ as J } from "./index-DVnOzlFW.js";
31
31
  import "element-plus";
32
- import { E as Q } from "./EChartComponentBase-CrdwK43r.js";
32
+ import { E as Q } from "./EChartComponentBase-CtsX7pXX.js";
33
33
  import { g as X } from "./titleStyle-BT5GlpAb.js";
34
34
  import { A as Y, D as Z } from "./ele-circleBar-icon-DNBUxt0A.js";
35
- import { i as tt } from "./install-DdM8j5Ll.js";
36
- import { i as et } from "./install-CEl1AYgZ.js";
37
- import { u as ot, i as it, a as lt } from "./installCanvasRenderer-oDYkyVFy.js";
35
+ import { u as tt, i as et, a as ot } from "./installCanvasRenderer-oDYkyVFy.js";
36
+ import { i as it } from "./install-DdM8j5Ll.js";
37
+ import { i as lt } from "./install-CEl1AYgZ.js";
38
38
  import { i as at } from "./install-CIdzgJ44.js";
39
39
  import { i as st } from "./echarts-Bp7QN4X6.js";
40
40
  const rt = { class: "mix-body" }, nt = ["id"], ct = { class: "bar-wrap" }, ut = {
@@ -113,11 +113,11 @@ const rt = { class: "mix-body" }, nt = ["id"], ct = { class: "bar-wrap" }, ut =
113
113
  theme: { type: String, default: "light" }
114
114
  },
115
115
  setup(a) {
116
- ot([
117
- tt,
118
- et,
116
+ tt([
119
117
  it,
120
118
  lt,
119
+ et,
120
+ ot,
121
121
  at
122
122
  ]);
123
123
  const i = a, l = G();
@@ -11,8 +11,8 @@ var z = (s, n, i) => n in s ? ie(s, n, { enumerable: !0, configurable: !0, writa
11
11
  return s;
12
12
  }, I = (s, n) => se(s, re(n));
13
13
  import { defineComponent as de, ref as m, computed as t, onMounted as he, openBlock as u, createElementBlock as c, normalizeStyle as p, createElementVNode as d, toDisplayString as y, createCommentVNode as k, Fragment as F, renderList as P, renderSlot as ve } from "vue";
14
- import { B as me } from "./BaseComponent-D7kfvQid.js";
15
- import { _ as pe } from "./index-CaDDNmGU.js";
14
+ import { B as me } from "./BaseComponent-CcjKs8HB.js";
15
+ import { _ as pe } from "./index-DVnOzlFW.js";
16
16
  import { A as ge, D as fe } from "./ele-dateTime-icon-BEGFlwID.js";
17
17
  const ye = {
18
18
  key: 0,
@@ -1 +1 @@
1
- "use strict";var X=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var _=(r,n,c)=>n in r?X(r,n,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[n]=c,x=(r,n)=>{for(var c in n||(n={}))te.call(n,c)&&_(r,c,n[c]);if(V)for(var c of V(n))oe.call(n,c)&&_(r,c,n[c]);return r},M=(r,n)=>Z(r,ee(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),le=require("./BaseComponent-C42zZPAg.cjs"),ae=require("./index-PR_k3tQg.cjs"),w=require("./ele-dateTime-icon-BgZ2_KWW.cjs"),ne={key:0,class:"digital-clock"},ce={key:1,class:"analog-clock-wrapper"},re=["width","height"],ie=["r","stroke","stroke-width"],ue=["r","fill"],se=["x1","y1","x2","y2","stroke"],de={key:0},me=["x","y","fill","font-size"],he=["x2","y2","stroke","stroke-width"],pe=["x2","y2","stroke","stroke-width"],ve=["x2","y2","stroke","stroke-width"],ge=["r","fill"],ke={DEFAULT_ICON:w.DEFAULT_ICON,ACTIVE_ICON:w.ACTIVE_ICON,NAME_CN:"钟表",NAME_EN:"Clock",ORDER:5,PLATFORM:["pc","screen","mobile"]},ye={clockType:{value:"analog",type:"select",label:"时钟类型",options:[{label:"模拟时钟",value:"analog"},{label:"数字时钟",value:"digital"}]},timeFormat:{value:"24",type:"select",label:"时间格式",options:[{label:"24小时制",value:"24"},{label:"12小时制",value:"12"}]},showDate:{value:!0,type:"checkbox",label:"显示日期"},showSecondHand:{value:!0,type:"checkbox",label:"显示秒针"},showNumbers:{value:!0,type:"checkbox",label:"显示数字"},digitalFontSize:32,digitalColor:"#1f2937",digitalDateSize:14,digitalDateColor:"#6b7280",clockSize:200,backgroundColor:"#ffffff",borderColor:"#374151",borderWidth:2,tickColor:"#374151",numberColor:"#1f2937",numberSize:14,hourHandColor:"#374151",minuteHandColor:"#374151",secondHandColor:"#ef4444",centerDotColor:"#374151"},fe=[],Ce=[],Se=[],be={},Ve={DEFAULT:ke,OPTIONS:ye,DATA:fe,PARAMS:Ce,SOURCE:Se,COMMON:be},_e=e.defineComponent(M(x({},Ve),{__name:"clock",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(r){const n=r;class c extends le.BaseComponent{constructor(){super(...arguments),this.timer=null}extractStyles(){return{clockType:this.getOptionValue("clockType","analog"),timeFormat:this.getOptionValue("timeFormat","24"),showDate:this.getOptionValue("showDate",!0),showSecondHand:this.getOptionValue("showSecondHand",!0),showNumbers:this.getOptionValue("showNumbers",!0),clockSize:this.getOptionValue("clockSize",200),backgroundColor:this.getOptionValue("backgroundColor","#ffffff"),borderColor:this.getOptionValue("borderColor","#374151"),borderWidth:this.getOptionValue("borderWidth",2),tickColor:this.getOptionValue("tickColor","#374151"),numberColor:this.getOptionValue("numberColor","#1f2937"),numberSize:this.getOptionValue("numberSize",14),hourHandColor:this.getOptionValue("hourHandColor","#374151"),minuteHandColor:this.getOptionValue("minuteHandColor","#374151"),secondHandColor:this.getOptionValue("secondHandColor","#ef4444"),centerDotColor:this.getOptionValue("centerDotColor","#374151"),digitalFontSize:this.getOptionValue("digitalFontSize",32),digitalColor:this.getOptionValue("digitalColor","#1f2937"),digitalDateSize:this.getOptionValue("digitalDateSize",14),digitalDateColor:this.getOptionValue("digitalDateColor","#6b7280")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),this.timer&&clearInterval(this.timer),p(),this.timer=setInterval(p,1e3)}cleanup(){this.timer&&clearInterval(this.timer)}}const v=new c(n,"clock");v.setupLifecycle();const o=v.getStyle(),g=e.ref(""),h=e.ref(""),d=e.ref(0),s=e.ref(0),m=e.ref(0),N=e.computed(()=>({width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})),D=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.clockType)||"analog"}),O=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.timeFormat)||"24"}),k=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showDate)!==!1}),E=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showSecondHand)!==!1}),H=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showNumbers)!==!1}),u=e.computed(()=>{var a;const t=(a=o.value)==null?void 0:a.clockSize,l=Number(t);return typeof l=="number"&&!Number.isNaN(l)&&l>0?l:200}),i=e.computed(()=>{const t=u.value;return typeof t=="number"&&!Number.isNaN(t)?t*.45:90}),z=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.backgroundColor)||"#ffffff"}),I=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderColor)||"#374151"}),y=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderWidth)||2}),B=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.tickColor)||"#374151"}),T=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberColor)||"#1f2937"}),F=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberSize)||14}),P=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.hourHandColor)||"#374151"}),$=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.minuteHandColor)||"#374151"}),A=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.secondHandColor)||"#ef4444"}),L=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.centerDotColor)||"#374151"}),f=e.computed(()=>i.value*.5),C=e.computed(()=>i.value*.7),S=e.computed(()=>i.value*.8),W=e.computed(()=>Math.max(3,u.value*.015)),R=e.computed(()=>Math.max(2,u.value*.01)),q=e.computed(()=>Math.max(1,u.value*.005)),U=e.computed(()=>Math.max(3,u.value*.015)),j=e.computed(()=>({width:`${u.value}px`,height:`${u.value}px`,maxWidth:"100%",maxHeight:"100%"})),Y=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalFontSize)||32}px`,color:((l=o.value)==null?void 0:l.digitalColor)||"#1f2937",fontWeight:"bold",fontFamily:"monospace"}}),b=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalDateSize)||14}px`,color:((l=o.value)==null?void 0:l.digitalDateColor)||"#6b7280",fontFamily:"monospace",marginTop:"8px"}}),p=()=>{const t=new Date;d.value=t.getHours(),s.value=t.getMinutes(),m.value=t.getSeconds();let l=d.value,a="";O.value==="12"&&(a=l>=12?" PM":" AM",l=l%12,l===0&&(l=12)),g.value=`${l.toString().padStart(2,"0")}:${s.value.toString().padStart(2,"0")}:${m.value.toString().padStart(2,"0")}${a}`;const G=t.getFullYear(),J=(t.getMonth()+1).toString().padStart(2,"0"),K=t.getDate().toString().padStart(2,"0"),Q=["周日","周一","周二","周三","周四","周五","周六"];h.value=`${G}-${J}-${K} ${Q[t.getDay()]}`};return e.onMounted(()=>p()),(t,l)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(N.value),class:"mix-component"},[D.value==="digital"?(e.openBlock(),e.createElementBlock("div",ne,[e.createElementVNode("div",{class:"time-display",style:e.normalizeStyle(Y.value)},e.toDisplayString(g.value),5),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",{class:"analog-clock",style:e.normalizeStyle(j.value)},[(e.openBlock(),e.createElementBlock("svg",{width:u.value,height:u.value,viewBox:"0 0 200 200",class:"clock-svg"},[e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value,stroke:I.value,"stroke-width":y.value,fill:"none"},null,8,ie),e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value-y.value/2,fill:z.value},null,8,ue),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("g",{key:`hour-${a}`},[e.createElementVNode("line",{x1:100+(i.value-15)*Math.cos((a*30-90)*Math.PI/180),y1:100+(i.value-15)*Math.sin((a*30-90)*Math.PI/180),x2:100+(i.value-5)*Math.cos((a*30-90)*Math.PI/180),y2:100+(i.value-5)*Math.sin((a*30-90)*Math.PI/180),stroke:B.value,"stroke-width":"2"},null,8,se)])),64)),H.value?(e.openBlock(),e.createElementBlock("g",de,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("text",{key:`number-${a}`,x:100+(i.value-25)*Math.cos((a*30-90)*Math.PI/180),y:100+(i.value-25)*Math.sin((a*30-90)*Math.PI/180),"text-anchor":"middle","dominant-baseline":"central",fill:T.value,"font-size":F.value,"font-weight":"bold"},e.toDisplayString(a),9,me)),64))])):e.createCommentVNode("",!0),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+f.value*Math.cos((d.value*30+s.value*.5-90)*Math.PI/180),y2:100+f.value*Math.sin((d.value*30+s.value*.5-90)*Math.PI/180),stroke:P.value,"stroke-width":W.value,"stroke-linecap":"round"},null,8,he),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+C.value*Math.cos((s.value*6-90)*Math.PI/180),y2:100+C.value*Math.sin((s.value*6-90)*Math.PI/180),stroke:$.value,"stroke-width":R.value,"stroke-linecap":"round"},null,8,pe),E.value?(e.openBlock(),e.createElementBlock("line",{key:1,x1:"100",y1:"100",x2:100+S.value*Math.cos((m.value*6-90)*Math.PI/180),y2:100+S.value*Math.sin((m.value*6-90)*Math.PI/180),stroke:A.value,"stroke-width":q.value,"stroke-linecap":"round"},null,8,ve)):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:"100",cy:"100",r:U.value,fill:L.value},null,8,ge)],8,re))],4),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),xe=ae._export_sfc(_e,[["__scopeId","data-v-d8289d01"]]);exports.default=xe;
1
+ "use strict";var X=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var _=(c,n,r)=>n in c?X(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,x=(c,n)=>{for(var r in n||(n={}))te.call(n,r)&&_(c,r,n[r]);if(V)for(var r of V(n))oe.call(n,r)&&_(c,r,n[r]);return c},M=(c,n)=>Z(c,ee(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),le=require("./BaseComponent-pJuOPMpe.cjs"),ae=require("./index-BxtKIaXl.cjs"),w=require("./ele-dateTime-icon-BgZ2_KWW.cjs"),ne={key:0,class:"digital-clock"},re={key:1,class:"analog-clock-wrapper"},ce=["width","height"],ie=["r","stroke","stroke-width"],ue=["r","fill"],se=["x1","y1","x2","y2","stroke"],de={key:0},me=["x","y","fill","font-size"],he=["x2","y2","stroke","stroke-width"],pe=["x2","y2","stroke","stroke-width"],ve=["x2","y2","stroke","stroke-width"],ge=["r","fill"],ke={DEFAULT_ICON:w.DEFAULT_ICON,ACTIVE_ICON:w.ACTIVE_ICON,NAME_CN:"钟表",NAME_EN:"Clock",ORDER:5,PLATFORM:["pc","screen","mobile"]},ye={clockType:{value:"analog",type:"select",label:"时钟类型",options:[{label:"模拟时钟",value:"analog"},{label:"数字时钟",value:"digital"}]},timeFormat:{value:"24",type:"select",label:"时间格式",options:[{label:"24小时制",value:"24"},{label:"12小时制",value:"12"}]},showDate:{value:!0,type:"checkbox",label:"显示日期"},showSecondHand:{value:!0,type:"checkbox",label:"显示秒针"},showNumbers:{value:!0,type:"checkbox",label:"显示数字"},digitalFontSize:32,digitalColor:"#1f2937",digitalDateSize:14,digitalDateColor:"#6b7280",clockSize:200,backgroundColor:"#ffffff",borderColor:"#374151",borderWidth:2,tickColor:"#374151",numberColor:"#1f2937",numberSize:14,hourHandColor:"#374151",minuteHandColor:"#374151",secondHandColor:"#ef4444",centerDotColor:"#374151"},fe=[],Ce=[],Se=[],be={},Ve={DEFAULT:ke,OPTIONS:ye,DATA:fe,PARAMS:Ce,SOURCE:Se,COMMON:be},_e=e.defineComponent(M(x({},Ve),{__name:"clock",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 r extends le.BaseComponent{constructor(){super(...arguments),this.timer=null}extractStyles(){return{clockType:this.getOptionValue("clockType","analog"),timeFormat:this.getOptionValue("timeFormat","24"),showDate:this.getOptionValue("showDate",!0),showSecondHand:this.getOptionValue("showSecondHand",!0),showNumbers:this.getOptionValue("showNumbers",!0),clockSize:this.getOptionValue("clockSize",200),backgroundColor:this.getOptionValue("backgroundColor","#ffffff"),borderColor:this.getOptionValue("borderColor","#374151"),borderWidth:this.getOptionValue("borderWidth",2),tickColor:this.getOptionValue("tickColor","#374151"),numberColor:this.getOptionValue("numberColor","#1f2937"),numberSize:this.getOptionValue("numberSize",14),hourHandColor:this.getOptionValue("hourHandColor","#374151"),minuteHandColor:this.getOptionValue("minuteHandColor","#374151"),secondHandColor:this.getOptionValue("secondHandColor","#ef4444"),centerDotColor:this.getOptionValue("centerDotColor","#374151"),digitalFontSize:this.getOptionValue("digitalFontSize",32),digitalColor:this.getOptionValue("digitalColor","#1f2937"),digitalDateSize:this.getOptionValue("digitalDateSize",14),digitalDateColor:this.getOptionValue("digitalDateColor","#6b7280")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),this.timer&&clearInterval(this.timer),p(),this.timer=setInterval(p,1e3)}cleanup(){this.timer&&clearInterval(this.timer)}}const v=new r(n,"clock");v.setupLifecycle();const o=v.getStyle(),g=e.ref(""),h=e.ref(""),d=e.ref(0),s=e.ref(0),m=e.ref(0),N=e.computed(()=>({width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})),D=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.clockType)||"analog"}),O=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.timeFormat)||"24"}),k=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showDate)!==!1}),E=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showSecondHand)!==!1}),H=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showNumbers)!==!1}),u=e.computed(()=>{var a;const t=(a=o.value)==null?void 0:a.clockSize,l=Number(t);return typeof l=="number"&&!Number.isNaN(l)&&l>0?l:200}),i=e.computed(()=>{const t=u.value;return typeof t=="number"&&!Number.isNaN(t)?t*.45:90}),z=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.backgroundColor)||"#ffffff"}),I=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderColor)||"#374151"}),y=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderWidth)||2}),B=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.tickColor)||"#374151"}),T=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberColor)||"#1f2937"}),F=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberSize)||14}),P=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.hourHandColor)||"#374151"}),$=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.minuteHandColor)||"#374151"}),A=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.secondHandColor)||"#ef4444"}),L=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.centerDotColor)||"#374151"}),f=e.computed(()=>i.value*.5),C=e.computed(()=>i.value*.7),S=e.computed(()=>i.value*.8),W=e.computed(()=>Math.max(3,u.value*.015)),R=e.computed(()=>Math.max(2,u.value*.01)),q=e.computed(()=>Math.max(1,u.value*.005)),U=e.computed(()=>Math.max(3,u.value*.015)),j=e.computed(()=>({width:`${u.value}px`,height:`${u.value}px`,maxWidth:"100%",maxHeight:"100%"})),Y=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalFontSize)||32}px`,color:((l=o.value)==null?void 0:l.digitalColor)||"#1f2937",fontWeight:"bold",fontFamily:"monospace"}}),b=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalDateSize)||14}px`,color:((l=o.value)==null?void 0:l.digitalDateColor)||"#6b7280",fontFamily:"monospace",marginTop:"8px"}}),p=()=>{const t=new Date;d.value=t.getHours(),s.value=t.getMinutes(),m.value=t.getSeconds();let l=d.value,a="";O.value==="12"&&(a=l>=12?" PM":" AM",l=l%12,l===0&&(l=12)),g.value=`${l.toString().padStart(2,"0")}:${s.value.toString().padStart(2,"0")}:${m.value.toString().padStart(2,"0")}${a}`;const G=t.getFullYear(),J=(t.getMonth()+1).toString().padStart(2,"0"),K=t.getDate().toString().padStart(2,"0"),Q=["周日","周一","周二","周三","周四","周五","周六"];h.value=`${G}-${J}-${K} ${Q[t.getDay()]}`};return e.onMounted(()=>p()),(t,l)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(N.value),class:"mix-component"},[D.value==="digital"?(e.openBlock(),e.createElementBlock("div",ne,[e.createElementVNode("div",{class:"time-display",style:e.normalizeStyle(Y.value)},e.toDisplayString(g.value),5),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",re,[e.createElementVNode("div",{class:"analog-clock",style:e.normalizeStyle(j.value)},[(e.openBlock(),e.createElementBlock("svg",{width:u.value,height:u.value,viewBox:"0 0 200 200",class:"clock-svg"},[e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value,stroke:I.value,"stroke-width":y.value,fill:"none"},null,8,ie),e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value-y.value/2,fill:z.value},null,8,ue),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("g",{key:`hour-${a}`},[e.createElementVNode("line",{x1:100+(i.value-15)*Math.cos((a*30-90)*Math.PI/180),y1:100+(i.value-15)*Math.sin((a*30-90)*Math.PI/180),x2:100+(i.value-5)*Math.cos((a*30-90)*Math.PI/180),y2:100+(i.value-5)*Math.sin((a*30-90)*Math.PI/180),stroke:B.value,"stroke-width":"2"},null,8,se)])),64)),H.value?(e.openBlock(),e.createElementBlock("g",de,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("text",{key:`number-${a}`,x:100+(i.value-25)*Math.cos((a*30-90)*Math.PI/180),y:100+(i.value-25)*Math.sin((a*30-90)*Math.PI/180),"text-anchor":"middle","dominant-baseline":"central",fill:T.value,"font-size":F.value,"font-weight":"bold"},e.toDisplayString(a),9,me)),64))])):e.createCommentVNode("",!0),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+f.value*Math.cos((d.value*30+s.value*.5-90)*Math.PI/180),y2:100+f.value*Math.sin((d.value*30+s.value*.5-90)*Math.PI/180),stroke:P.value,"stroke-width":W.value,"stroke-linecap":"round"},null,8,he),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+C.value*Math.cos((s.value*6-90)*Math.PI/180),y2:100+C.value*Math.sin((s.value*6-90)*Math.PI/180),stroke:$.value,"stroke-width":R.value,"stroke-linecap":"round"},null,8,pe),E.value?(e.openBlock(),e.createElementBlock("line",{key:1,x1:"100",y1:"100",x2:100+S.value*Math.cos((m.value*6-90)*Math.PI/180),y2:100+S.value*Math.sin((m.value*6-90)*Math.PI/180),stroke:A.value,"stroke-width":q.value,"stroke-linecap":"round"},null,8,ve)):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:"100",cy:"100",r:U.value,fill:L.value},null,8,ge)],8,ce))],4),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),xe=ae._export_sfc(_e,[["__scopeId","data-v-d8289d01"]]);exports.default=xe;
@@ -1 +1 @@
1
- "use strict";var A=Object.defineProperty,U=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var B=(s,l,n)=>l in s?A(s,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[l]=n,x=(s,l)=>{for(var n in l||(l={}))M.call(l,n)&&B(s,n,l[n]);if(k)for(var n of k(l))P.call(l,n)&&B(s,n,l[n]);return s},O=(s,l)=>U(s,$(l));var V=(s,l,n)=>new Promise((v,u)=>{var S=m=>{try{p(n.next(m))}catch(_){u(_)}},b=m=>{try{p(n.throw(m))}catch(_){u(_)}},p=m=>m.done?v(m.value):Promise.resolve(m.value).then(S,b);p((n=n.apply(s,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),F=require("./BaseComponent-C42zZPAg.cjs"),g=require("./index-PR_k3tQg.cjs"),H=require("./titleStyle-NSnz6cUg.cjs"),C=require("element-plus"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),R={class:"item-val"},L={class:"w-full flex justify-end"},W={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"项目采集",NAME_EN:"Project",ORDER:1,PLATFORM:["pc","screen","mobile"]},G={bgColor:"#fff",projectColor:"#999",projectSize:14,paramColor:"#333",labelWidth:64,paramSize:12,paramHeight:32,radiusSize:8,type:{value:"project",type:"radio",option:[{value:"project",label:"component.collect.projectType"},{value:"object",label:"component.collect.objectType"}],label:"component.collect.collectType"},isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},J=[{project_id:"",object_id:""}],K=["project_id","object_id"],Q={DEFAULT:W,OPTIONS:G,DATA:J,PARAMS:K,COMMON:{}},X=e.defineComponent(O(x({},Q),{__name:"clt",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(s){const l=s;class n extends F.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),projectColor:this.getOptionValue("projectColor","#999"),projectSize:this.getOptionValue("projectSize",14),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){return V(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme(),_()})}}const v=new n(l,"clt");v.setupLifecycle();const u=v.getStyle(),S=l.conf,b=e.computed(()=>H.generateTitleStyle(l.conf.options)),p=e.ref([{name:"离线项目",data:[{name:"采集项",type:"Integer",unit:"℃",value:""}]}]);let m=0;const _=()=>V(null,null,function*(){const{data:a}=l.conf;p.value=[];const d=a.filter(f=>f.project_id).map(f=>f.project_id);if(!d.length)return;const t=++m,r={where_in:JSON.stringify([["uid",d.join(",")]])},{result:c}=yield g.api.post("get_collect_list",r);if(t!==m)return;const o=c==null?void 0:c.data;Array.isArray(o)&&o.length>0&&(p.value=o.map(f=>({name:f.name,uid:f.uid,object_id:f.object_id,data:z(f.script)})))}),z=a=>{const d=[];return a.forEach(t=>{d.push({name:t.label_loc,type:t.type,unit:t.unit,key:t.key})}),d},E=e.computed(()=>{let a=!0;return p.value.forEach(d=>{d.data.forEach(t=>{(t.value||t.value===0)&&(a=!1)})}),a}),q=()=>{l.mode!=="edit"&&(u.value.type==="object"?D():w())},w=()=>{const a=[],d=g.auth.getUser();p.value.forEach(t=>{const r={};if(t.data.forEach(o=>{(o.value||o.value===0)&&(r[o.key]=["Integer","Float"].includes(o.type)?Number(o.value):o.type==="Bool"?!!o.value:o.value)}),!Object.keys(r).length)return;const c={name:t.name,value:r,collect_id:t.uid,collector:d.name};a.push(g.api.post("add_collect_value_without_object",c))}),Promise.all(a).then(t=>{let r=!0;t.forEach(c=>{c.code!==200&&(r=!1,C.ElMessage.error(c.msg))}),r&&C.ElMessage.success("操作成功")})},D=()=>{const a=[],d=g.auth.getUser();p.value.forEach(t=>{const r={};if(t.data.forEach(o=>{(o.value||o.value===0)&&(r[o.key]=["Integer","Float"].includes(o.type)?Number(o.value):o.type==="Bool"?!!o.value:o.value)}),!Object.keys(r).length)return;const c={name:t.name,value:r,collect_id:t.uid,object_id:t.object_id||l.uid,collector:d.name};a.push(g.api.post("add_collect_value",c))}),Promise.all(a).then(t=>{let r=!0;t.forEach(c=>{c.code!==200&&(r=!1,C.ElMessage.error(c.msg))}),r&&C.ElMessage.success("操作成功")})};return(a,d)=>{const t=h.ElInput,r=h.ElInputNumber,c=h.ElRadio,o=h.ElRadioGroup,f=h.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(b.value)},e.toDisplayString(e.unref(S).caption||e.unref(S).name),5),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(u).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(j,N)=>(e.openBlock(),e.createElementBlock("div",{key:N},[e.createElementVNode("div",{class:"item-title",style:e.normalizeStyle({fontSize:`${e.unref(u).projectSize}px`,color:e.unref(u).projectColor})},e.toDisplayString(j.name),5),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.data,(i,I)=>(e.openBlock(),e.createElementBlock("div",{class:"item-wrap",key:`${N}_${I}`},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(u).labelWidth}px`,fontSize:`${e.unref(u).paramSize}px`,color:e.unref(u).paramColor,height:`${e.unref(u).paramHeight}px`})},e.toDisplayString(i.name)+": ",5),e.createElementVNode("div",R,[i.type==="String"?(e.openBlock(),e.createBlock(t,{key:0,type:"text",modelValue:i.value,"onUpdate:modelValue":y=>i.value=y},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Integer"?(e.openBlock(),e.createBlock(r,{key:1,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Float"?(e.openBlock(),e.createBlock(r,{key:2,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Bool"?(e.openBlock(),e.createBlock(o,{key:3,value:i.value,"onUpdate:value":y=>i.value=y},{default:e.withCtx(()=>[e.createVNode(c,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.yes")),1)]),_:1}),e.createVNode(c,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.no")),1)]),_:1})]),_:1},8,["value","onUpdate:value"])):e.createCommentVNode("",!0)])]))),128))]))),128)),e.createElementVNode("div",L,[e.createVNode(f,{type:E.value?"default":"primary",disabled:E.value,onClick:q},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])],4),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Y=g._export_sfc(X,[["__scopeId","data-v-c54bd4ad"]]);exports.default=Y;
1
+ "use strict";var A=Object.defineProperty,$=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var B=(s,l,n)=>l in s?A(s,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[l]=n,x=(s,l)=>{for(var n in l||(l={}))M.call(l,n)&&B(s,n,l[n]);if(k)for(var n of k(l))P.call(l,n)&&B(s,n,l[n]);return s},O=(s,l)=>$(s,U(l));var V=(s,l,n)=>new Promise((v,u)=>{var S=m=>{try{p(n.next(m))}catch(_){u(_)}},b=m=>{try{p(n.throw(m))}catch(_){u(_)}},p=m=>m.done?v(m.value):Promise.resolve(m.value).then(S,b);p((n=n.apply(s,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),F=require("./BaseComponent-pJuOPMpe.cjs"),g=require("./index-BxtKIaXl.cjs"),H=require("./titleStyle-NSnz6cUg.cjs"),C=require("element-plus"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),R={class:"item-val"},L={class:"w-full flex justify-end"},W={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"项目采集",NAME_EN:"Project",ORDER:1,PLATFORM:["pc","screen","mobile"]},G={bgColor:"#fff",projectColor:"#999",projectSize:14,paramColor:"#333",labelWidth:64,paramSize:12,paramHeight:32,radiusSize:8,type:{value:"project",type:"radio",option:[{value:"project",label:"component.collect.projectType"},{value:"object",label:"component.collect.objectType"}],label:"component.collect.collectType"},isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},J=[{project_id:"",object_id:""}],K=["project_id","object_id"],Q={DEFAULT:W,OPTIONS:G,DATA:J,PARAMS:K,COMMON:{}},X=e.defineComponent(O(x({},Q),{__name:"clt",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(s){const l=s;class n extends F.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),projectColor:this.getOptionValue("projectColor","#999"),projectSize:this.getOptionValue("projectSize",14),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){return V(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme(),_()})}}const v=new n(l,"clt");v.setupLifecycle();const u=v.getStyle(),S=l.conf,b=e.computed(()=>H.generateTitleStyle(l.conf.options)),p=e.ref([{name:"离线项目",data:[{name:"采集项",type:"Integer",unit:"℃",value:""}]}]);let m=0;const _=()=>V(null,null,function*(){const{data:a}=l.conf;p.value=[];const d=a.filter(f=>f.project_id).map(f=>f.project_id);if(!d.length)return;const t=++m,r={where_in:JSON.stringify([["uid",d.join(",")]])},{result:c}=yield g.api.post("get_collect_list",r);if(t!==m)return;const o=c==null?void 0:c.data;Array.isArray(o)&&o.length>0&&(p.value=o.map(f=>({name:f.name,uid:f.uid,object_id:f.object_id,data:z(f.script)})))}),z=a=>{const d=[];return a.forEach(t=>{d.push({name:t.label_loc,type:t.type,unit:t.unit,key:t.key})}),d},E=e.computed(()=>{let a=!0;return p.value.forEach(d=>{d.data.forEach(t=>{(t.value||t.value===0)&&(a=!1)})}),a}),q=()=>{l.mode!=="edit"&&(u.value.type==="object"?D():w())},w=()=>{const a=[],d=g.auth.getUser();p.value.forEach(t=>{const r={};if(t.data.forEach(o=>{(o.value||o.value===0)&&(r[o.key]=["Integer","Float"].includes(o.type)?Number(o.value):o.type==="Bool"?!!o.value:o.value)}),!Object.keys(r).length)return;const c={name:t.name,value:r,collect_id:t.uid,collector:d.name};a.push(g.api.post("add_collect_value_without_object",c))}),Promise.all(a).then(t=>{let r=!0;t.forEach(c=>{c.code!==200&&(r=!1,C.ElMessage.error(c.msg))}),r&&C.ElMessage.success("操作成功")})},D=()=>{const a=[],d=g.auth.getUser();p.value.forEach(t=>{const r={};if(t.data.forEach(o=>{(o.value||o.value===0)&&(r[o.key]=["Integer","Float"].includes(o.type)?Number(o.value):o.type==="Bool"?!!o.value:o.value)}),!Object.keys(r).length)return;const c={name:t.name,value:r,collect_id:t.uid,object_id:t.object_id||l.uid,collector:d.name};a.push(g.api.post("add_collect_value",c))}),Promise.all(a).then(t=>{let r=!0;t.forEach(c=>{c.code!==200&&(r=!1,C.ElMessage.error(c.msg))}),r&&C.ElMessage.success("操作成功")})};return(a,d)=>{const t=h.ElInput,r=h.ElInputNumber,c=h.ElRadio,o=h.ElRadioGroup,f=h.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(b.value)},e.toDisplayString(e.unref(S).caption||e.unref(S).name),5),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(u).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(j,N)=>(e.openBlock(),e.createElementBlock("div",{key:N},[e.createElementVNode("div",{class:"item-title",style:e.normalizeStyle({fontSize:`${e.unref(u).projectSize}px`,color:e.unref(u).projectColor})},e.toDisplayString(j.name),5),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.data,(i,I)=>(e.openBlock(),e.createElementBlock("div",{class:"item-wrap",key:`${N}_${I}`},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(u).labelWidth}px`,fontSize:`${e.unref(u).paramSize}px`,color:e.unref(u).paramColor,height:`${e.unref(u).paramHeight}px`})},e.toDisplayString(i.name)+": ",5),e.createElementVNode("div",R,[i.type==="String"?(e.openBlock(),e.createBlock(t,{key:0,type:"text",modelValue:i.value,"onUpdate:modelValue":y=>i.value=y},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Integer"?(e.openBlock(),e.createBlock(r,{key:1,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Float"?(e.openBlock(),e.createBlock(r,{key:2,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Bool"?(e.openBlock(),e.createBlock(o,{key:3,value:i.value,"onUpdate:value":y=>i.value=y},{default:e.withCtx(()=>[e.createVNode(c,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.yes")),1)]),_:1}),e.createVNode(c,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.no")),1)]),_:1})]),_:1},8,["value","onUpdate:value"])):e.createCommentVNode("",!0)])]))),128))]))),128)),e.createElementVNode("div",L,[e.createVNode(f,{type:E.value?"default":"primary",disabled:E.value,onClick:q},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])],4),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Y=g._export_sfc(X,[["__scopeId","data-v-c54bd4ad"]]);exports.default=Y;
@@ -34,8 +34,8 @@ import "element-plus/es/components/radio/style/css";
34
34
  import "element-plus/es/components/input-number/style/css";
35
35
  import "element-plus/es/components/input/style/css";
36
36
  import { defineComponent as re, computed as P, ref as ie, openBlock as y, createElementBlock as C, normalizeStyle as S, unref as d, createElementVNode as g, toDisplayString as _, Fragment as R, renderList as F, createBlock as O, withCtx as h, createTextVNode as b, createCommentVNode as k, createVNode as z, renderSlot as ne } from "vue";
37
- import { B as ce } from "./BaseComponent-D7kfvQid.js";
38
- import { a as A, f as M, _ as se } from "./index-CaDDNmGU.js";
37
+ import { B as ce } from "./BaseComponent-CcjKs8HB.js";
38
+ import { a as A, f as M, _ as se } from "./index-DVnOzlFW.js";
39
39
  import { g as ue } from "./titleStyle-BT5GlpAb.js";
40
40
  import { ElMessage as x } from "element-plus";
41
41
  import { A as de, D as pe } from "./ele-clt-icon-DuU4Q401.js";
@@ -34,8 +34,8 @@ import "element-plus/es/components/radio/style/css";
34
34
  import "element-plus/es/components/input-number/style/css";
35
35
  import "element-plus/es/components/input/style/css";
36
36
  import { defineComponent as X, getCurrentInstance as Z, computed as M, watchEffect as tt, openBlock as y, createElementBlock as N, normalizeStyle as E, unref as u, createElementVNode as v, toDisplayString as _, Fragment as et, renderList as ot, createBlock as I, withCtx as b, createTextVNode as S, createCommentVNode as O, createVNode as z, renderSlot as at } from "vue";
37
- import { B as lt } from "./BaseComponent-D7kfvQid.js";
38
- import { a as H, w as it, f as nt, _ as st } from "./index-CaDDNmGU.js";
37
+ import { B as lt } from "./BaseComponent-CcjKs8HB.js";
38
+ import { a as H, w as it, f as nt, _ as st } from "./index-DVnOzlFW.js";
39
39
  import { g as ct } from "./titleStyle-BT5GlpAb.js";
40
40
  import { A as rt, D as dt } from "./ele-clt-icon-DuU4Q401.js";
41
41
  import { ElMessage as pt } from "element-plus";
@@ -1 +1 @@
1
- "use strict";var z=Object.defineProperty,A=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var x=(c,a,o)=>a in c?z(c,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):c[a]=o,O=(c,a)=>{for(var o in a||(a={}))w.call(a,o)&&x(c,o,a[o]);if(v)for(var o of v(a))U.call(a,o)&&x(c,o,a[o]);return c},B=(c,a)=>A(c,j(a));var N=(c,a,o)=>new Promise((C,b)=>{var y=f=>{try{g(o.next(f))}catch(h){b(h)}},m=f=>{try{g(o.throw(f))}catch(h){b(h)}},g=f=>f.done?C(f.value):Promise.resolve(f.value).then(y,m);g((o=o.apply(c,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),q=require("./BaseComponent-C42zZPAg.cjs"),V=require("./index-PR_k3tQg.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),P=require("element-plus"),$={class:"item-val"},H={key:0,class:"btn-wrap"},L={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"定制采集",NAME_EN:"Customer",ORDER:2,PLATFORM:["pc","screen","mobile"]},F={bgColor:"#fff",titleColor:"#111",paramColor:"#333",labelWidth:64,titleSize:14,paramSize:12,paramHeight:32,radiusSize:8,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},R=[{object_id:"",project_id:"",collect:"",label_cn:"",fv:""}],W=["mosaic"],G=["object_id","project_id","collect","label_cn","fv"],J={DEFAULT:L,OPTIONS:F,DATA:R,PARAMS:G,SOURCE:W,COMMON:{}},K=e.defineComponent(B(O({},J),{__name:"cmc",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},sourceData:{type:Object,default:()=>({})}},setup(c){const{proxy:a}=e.getCurrentInstance(),o=c,C="--";class b extends q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),titleSize:this.getOptionValue("titleSize",14),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){return N(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme(),h()})}setHistoryData(r){const{data:d}=this.props.conf;d.forEach((u,p)=>{var t;u.value=(t=r[p].data[0])!=null?t:C})}setSocketData(r){const{common:d,data:u,uid:p}=this.props.conf;console.log(r,"result socket"),u.forEach(t=>{var s;t.value=(s=r.data[t.fv])!=null?s:C})}}const y=new b(o,"cmc");y.setupLifecycle();const m=y.getStyle(),g=o.conf,f=e.computed(()=>M.generateTitleStyle(o.conf.options)),h=()=>N(null,null,function*(){const{data:n}=o.conf;if(!n||n.length===0)return;const r=n.filter(t=>t.project_id).map(t=>t.project_id);if(!r.length){o.mode==="edit"&&n.forEach(t=>{t.label_cn=t.label_cn||a.$t("component.collect.collectItem"),t.type=t.type||"Integer",t.unit=t.unit||""});return}let d={where_in:JSON.stringify([["uid",r.join(",")]])};const{result:u}=yield V.api.post("get_collect_list",d,!0),p={};u.data.forEach(t=>{p[t.uid]=t}),n.forEach(t=>{var s;if((s=p[t.project_id])!=null&&s.script){const i=p[t.project_id].script.find(E=>E.key===t.collect);t.unit=i==null?void 0:i.unit,t.label_cn=t.label_cn||(i==null?void 0:i.label_loc),t.type=i==null?void 0:i.type}})}),k=e.computed(()=>{const{data:n}=o.conf;let r=!0;return n.forEach(d=>{(d.setting||d.setting===0)&&(r=!1)}),r}),D=()=>N(null,null,function*(){if(o.mode==="edit")return;const{data:n,common:r}=o.conf,d=JSON.parse(sessionStorage.getItem(V.ALIAS_MAPPING_KEY)||"{}")||{},u=[],p=V.auth.getUser();n.forEach(t=>{const s=r.useAlias?d[t.object_alias]:t.object_id||o.uid;if((t.setting||t.setting===0)&&s){let i={collect_id:t.project_id,object_id:s,value:{[t.collect]:["Integer","Float"].includes(t.type)?Number(t.setting):t.setting},name:t.label_cn,collector:p.name};u.push(V.api.post("add_collect_value",i))}}),Promise.all(u).then(t=>{console.log(t),t.every(s=>s.code===200)&&P.ElMessage.success("操作成功")})});return e.watchEffect(()=>{o.conf.socketData&&y.setSocketData(o.conf.socketData)}),(n,r)=>{var i,E;const d=S.ElInput,u=S.ElInputNumber,p=S.ElRadio,t=S.ElRadioGroup,s=S.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},e.toDisplayString(e.unref(g).caption||e.unref(g).name),5),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(m).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(g).data,(l,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:"item-wrap"},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(m).labelWidth}px`,fontSize:`${e.unref(m).paramSize}px`,color:e.unref(m).paramColor})},e.toDisplayString(l.label_cn)+": ",5),e.createElementVNode("div",$,[l.type==="String"?(e.openBlock(),e.createBlock(d,{key:0,type:"text",class:"w-full",modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Integer"?(e.openBlock(),e.createBlock(u,{key:1,style:{width:"100%"},modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Float"?(e.openBlock(),e.createBlock(u,{key:2,style:{width:"100%"},modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Boolean"?(e.openBlock(),e.createBlock(t,{key:3,class:"w-full",modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_},{default:e.withCtx(()=>[e.createVNode(p,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.yes")),1)]),_:1}),e.createVNode(p,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.no")),1)]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"item-label",style:e.normalizeStyle({fontSize:`${e.unref(m).paramSize}px`})},e.toDisplayString(l.value||"--"),5)]))),128)),(E=(i=e.unref(g))==null?void 0:i.data)!=null&&E.length?(e.openBlock(),e.createElementBlock("div",H,[e.createVNode(s,{type:k.value?"default":"primary",disabled:k.value,onClick:D},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)],4),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),Y=V._export_sfc(K,[["__scopeId","data-v-e71e3deb"]]);exports.default=Y;
1
+ "use strict";var z=Object.defineProperty,A=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var v=(c,a,o)=>a in c?z(c,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):c[a]=o,O=(c,a)=>{for(var o in a||(a={}))w.call(a,o)&&v(c,o,a[o]);if(x)for(var o of x(a))U.call(a,o)&&v(c,o,a[o]);return c},B=(c,a)=>A(c,j(a));var N=(c,a,o)=>new Promise((C,b)=>{var y=f=>{try{g(o.next(f))}catch(h){b(h)}},m=f=>{try{g(o.throw(f))}catch(h){b(h)}},g=f=>f.done?C(f.value):Promise.resolve(f.value).then(y,m);g((o=o.apply(c,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),q=require("./BaseComponent-pJuOPMpe.cjs"),V=require("./index-BxtKIaXl.cjs"),$=require("./titleStyle-NSnz6cUg.cjs"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),M=require("element-plus"),P={class:"item-val"},H={key:0,class:"btn-wrap"},L={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"定制采集",NAME_EN:"Customer",ORDER:2,PLATFORM:["pc","screen","mobile"]},F={bgColor:"#fff",titleColor:"#111",paramColor:"#333",labelWidth:64,titleSize:14,paramSize:12,paramHeight:32,radiusSize:8,isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},R=[{object_id:"",project_id:"",collect:"",label_cn:"",fv:""}],W=["mosaic"],G=["object_id","project_id","collect","label_cn","fv"],J={DEFAULT:L,OPTIONS:F,DATA:R,PARAMS:G,SOURCE:W,COMMON:{}},K=e.defineComponent(B(O({},J),{__name:"cmc",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},sourceData:{type:Object,default:()=>({})}},setup(c){const{proxy:a}=e.getCurrentInstance(),o=c,C="--";class b extends q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),titleSize:this.getOptionValue("titleSize",14),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){return N(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme(),h()})}setHistoryData(r){const{data:d}=this.props.conf;d.forEach((u,p)=>{var t;u.value=(t=r[p].data[0])!=null?t:C})}setSocketData(r){const{common:d,data:u,uid:p}=this.props.conf;console.log(r,"result socket"),u.forEach(t=>{var s;t.value=(s=r.data[t.fv])!=null?s:C})}}const y=new b(o,"cmc");y.setupLifecycle();const m=y.getStyle(),g=o.conf,f=e.computed(()=>$.generateTitleStyle(o.conf.options)),h=()=>N(null,null,function*(){const{data:n}=o.conf;if(!n||n.length===0)return;const r=n.filter(t=>t.project_id).map(t=>t.project_id);if(!r.length){o.mode==="edit"&&n.forEach(t=>{t.label_cn=t.label_cn||a.$t("component.collect.collectItem"),t.type=t.type||"Integer",t.unit=t.unit||""});return}let d={where_in:JSON.stringify([["uid",r.join(",")]])};const{result:u}=yield V.api.post("get_collect_list",d,!0),p={};u.data.forEach(t=>{p[t.uid]=t}),n.forEach(t=>{var s;if((s=p[t.project_id])!=null&&s.script){const i=p[t.project_id].script.find(E=>E.key===t.collect);t.unit=i==null?void 0:i.unit,t.label_cn=t.label_cn||(i==null?void 0:i.label_loc),t.type=i==null?void 0:i.type}})}),k=e.computed(()=>{const{data:n}=o.conf;let r=!0;return n.forEach(d=>{(d.setting||d.setting===0)&&(r=!1)}),r}),D=()=>N(null,null,function*(){if(o.mode==="edit")return;const{data:n,common:r}=o.conf,d=JSON.parse(sessionStorage.getItem(V.ALIAS_MAPPING_KEY)||"{}")||{},u=[],p=V.auth.getUser();n.forEach(t=>{const s=r.useAlias?d[t.object_alias]:t.object_id||o.uid;if((t.setting||t.setting===0)&&s){let i={collect_id:t.project_id,object_id:s,value:{[t.collect]:["Integer","Float"].includes(t.type)?Number(t.setting):t.setting},name:t.label_cn,collector:p.name};u.push(V.api.post("add_collect_value",i))}}),Promise.all(u).then(t=>{console.log(t),t.every(s=>s.code===200)&&M.ElMessage.success("操作成功")})});return e.watchEffect(()=>{o.conf.socketData&&y.setSocketData(o.conf.socketData)}),(n,r)=>{var i,E;const d=S.ElInput,u=S.ElInputNumber,p=S.ElRadio,t=S.ElRadioGroup,s=S.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},e.toDisplayString(e.unref(g).caption||e.unref(g).name),5),e.createElementVNode("div",{class:"mix-body",style:e.normalizeStyle({height:e.unref(m).isHideTitle?"100%":"calc(100% - 42px)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(g).data,(l,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:"item-wrap"},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(m).labelWidth}px`,fontSize:`${e.unref(m).paramSize}px`,color:e.unref(m).paramColor})},e.toDisplayString(l.label_cn)+": ",5),e.createElementVNode("div",P,[l.type==="String"?(e.openBlock(),e.createBlock(d,{key:0,type:"text",class:"w-full",modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Integer"?(e.openBlock(),e.createBlock(u,{key:1,style:{width:"100%"},modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Float"?(e.openBlock(),e.createBlock(u,{key:2,style:{width:"100%"},modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),l.type==="Boolean"?(e.openBlock(),e.createBlock(t,{key:3,class:"w-full",modelValue:l.setting,"onUpdate:modelValue":_=>l.setting=_},{default:e.withCtx(()=>[e.createVNode(p,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.yes")),1)]),_:1}),e.createVNode(p,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.no")),1)]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"item-label",style:e.normalizeStyle({fontSize:`${e.unref(m).paramSize}px`})},e.toDisplayString(l.value||"--"),5)]))),128)),(E=(i=e.unref(g))==null?void 0:i.data)!=null&&E.length?(e.openBlock(),e.createElementBlock("div",H,[e.createVNode(s,{type:k.value?"default":"primary",disabled:k.value,onClick:D},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)],4),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),Y=V._export_sfc(K,[["__scopeId","data-v-e71e3deb"]]);exports.default=Y;