web-core-tcm 0.0.62 → 0.0.63

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 (426) hide show
  1. package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
  2. package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
  3. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
  4. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
  5. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
  6. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
  7. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
  8. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
  9. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
  10. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
  11. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
  12. package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
  13. package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
  14. package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
  15. package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
  16. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
  17. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
  18. package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
  19. package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
  20. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
  21. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
  22. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
  23. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
  24. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
  25. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
  26. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
  27. package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
  28. package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
  29. package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
  30. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
  31. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
  32. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
  33. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
  34. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
  35. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
  36. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
  37. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
  38. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
  39. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
  40. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
  41. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
  42. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
  43. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
  44. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
  45. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
  46. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
  47. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
  48. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
  49. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
  50. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
  51. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
  52. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
  53. package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
  54. package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
  55. package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
  56. package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
  57. package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
  58. package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
  59. package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
  60. package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
  61. package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
  62. package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
  63. package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
  64. package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
  65. package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
  66. package/dist/node_modules/@vueuse/core/index.js +5189 -199
  67. package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
  68. package/dist/node_modules/@vueuse/shared/index.js +1172 -23
  69. package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
  70. package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
  71. package/dist/node_modules/alova/dist/alova.esm.js +266 -220
  72. package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
  73. package/dist/node_modules/builder-pattern/dist/index.js +25 -13
  74. package/dist/node_modules/echarts/index.js +5 -0
  75. package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
  76. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
  77. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
  78. package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
  79. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
  80. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
  81. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
  82. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
  83. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
  84. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
  85. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
  86. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
  87. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
  88. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
  89. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
  90. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
  91. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
  92. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
  93. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
  94. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
  95. package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
  96. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
  97. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
  98. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
  99. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
  100. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
  101. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
  102. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
  103. package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
  104. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
  105. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
  106. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
  107. package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
  108. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
  109. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
  110. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
  111. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
  112. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
  113. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
  114. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
  115. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
  116. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
  117. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
  118. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
  119. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
  120. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
  121. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
  122. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
  123. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
  124. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
  125. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
  126. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
  127. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
  128. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
  129. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
  130. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
  131. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
  132. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
  133. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
  134. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
  135. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
  136. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
  137. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
  138. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
  139. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
  140. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
  141. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
  142. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
  143. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
  144. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
  145. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
  146. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
  147. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
  148. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
  149. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
  150. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
  151. package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
  152. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
  153. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
  154. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
  155. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
  156. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
  157. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
  158. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
  159. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
  160. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
  161. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
  162. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
  163. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
  164. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
  165. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
  166. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
  167. package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
  168. package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
  169. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
  170. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
  171. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
  172. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
  173. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
  174. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
  175. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
  176. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
  177. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
  178. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
  179. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
  180. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
  181. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
  182. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
  183. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
  184. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
  185. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
  186. package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
  187. package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
  188. package/dist/node_modules/echarts/lib/core/impl.js +8 -7
  189. package/dist/node_modules/echarts/lib/core/task.js +19 -19
  190. package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
  191. package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
  192. package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
  193. package/dist/node_modules/echarts/lib/data/Source.js +58 -58
  194. package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
  195. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
  196. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
  197. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
  198. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
  199. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
  200. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
  201. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
  202. package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
  203. package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
  204. package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
  205. package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
  206. package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
  207. package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
  208. package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
  209. package/dist/node_modules/echarts/lib/export/api.js +71 -0
  210. package/dist/node_modules/echarts/lib/export/charts.js +46 -0
  211. package/dist/node_modules/echarts/lib/export/components.js +62 -0
  212. package/dist/node_modules/echarts/lib/export/core.js +39 -0
  213. package/dist/node_modules/echarts/lib/export/features.js +6 -0
  214. package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
  215. package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
  216. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
  217. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
  218. package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
  219. package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
  220. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
  221. package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
  222. package/dist/node_modules/echarts/lib/loading/default.js +3 -2
  223. package/dist/node_modules/echarts/lib/model/Global.js +162 -157
  224. package/dist/node_modules/echarts/lib/model/Model.js +14 -12
  225. package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
  226. package/dist/node_modules/echarts/lib/model/Series.js +52 -52
  227. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
  228. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
  229. package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
  230. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
  231. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
  232. package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
  233. package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
  234. package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
  235. package/dist/node_modules/echarts/lib/util/component.js +40 -39
  236. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
  237. package/dist/node_modules/echarts/lib/util/decal.js +54 -52
  238. package/dist/node_modules/echarts/lib/util/format.js +81 -65
  239. package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
  240. package/dist/node_modules/echarts/lib/util/layout.js +29 -29
  241. package/dist/node_modules/echarts/lib/util/log.js +41 -2
  242. package/dist/node_modules/echarts/lib/util/model.js +171 -170
  243. package/dist/node_modules/echarts/lib/util/number.js +97 -90
  244. package/dist/node_modules/echarts/lib/util/states.js +170 -164
  245. package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
  246. package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
  247. package/dist/node_modules/echarts/lib/util/time.js +2 -2
  248. package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
  249. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
  250. package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
  251. package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
  252. package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
  253. package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
  254. package/dist/node_modules/punycode/punycode.es6.js +17 -17
  255. package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +3 -3
  256. package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
  257. package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
  258. package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
  259. package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
  260. package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
  261. package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
  262. package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
  263. package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
  264. package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
  265. package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
  266. package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
  267. package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
  268. package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
  269. package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
  270. package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
  271. package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
  272. package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
  273. package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
  274. package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
  275. package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
  276. package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
  277. package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
  278. package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
  279. package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
  280. package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
  281. package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
  282. package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
  283. package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
  284. package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
  285. package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
  286. package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
  287. package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
  288. package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
  289. package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
  290. package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
  291. package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
  292. package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
  293. package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
  294. package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
  295. package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
  296. package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
  297. package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
  298. package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
  299. package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
  300. package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
  301. package/dist/node_modules/tslib/tslib.es6.js +305 -14
  302. package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
  303. package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
  304. package/dist/node_modules/zrender/lib/Element.js +126 -122
  305. package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
  306. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
  307. package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
  308. package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
  309. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
  310. package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
  311. package/dist/node_modules/zrender/lib/config.js +7 -6
  312. package/dist/node_modules/zrender/lib/contain/path.js +8 -8
  313. package/dist/node_modules/zrender/lib/contain/text.js +50 -46
  314. package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
  315. package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
  316. package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
  317. package/dist/node_modules/zrender/lib/core/curve.js +1 -1
  318. package/dist/node_modules/zrender/lib/core/event.js +12 -10
  319. package/dist/node_modules/zrender/lib/core/platform.js +29 -24
  320. package/dist/node_modules/zrender/lib/core/util.js +94 -91
  321. package/dist/node_modules/zrender/lib/core/vector.js +54 -34
  322. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
  323. package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
  324. package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
  325. package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
  326. package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
  327. package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
  328. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
  329. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
  330. package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
  331. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
  332. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
  333. package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
  334. package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
  335. package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
  336. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
  337. package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
  338. package/dist/node_modules/zrender/lib/tool/color.js +87 -69
  339. package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
  340. package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
  341. package/dist/node_modules/zrender/lib/zrender.js +106 -90
  342. package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
  343. package/dist/src/api/algorithm/alova/implement/index.js +13 -0
  344. package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
  345. package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
  346. package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
  347. package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
  348. package/dist/src/api/algorithm/alova/index.js +14 -21
  349. package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
  350. package/dist/src/api/authorization/alova/globals.js +1 -0
  351. package/dist/src/api/authorization/alova/implement/index.js +4 -0
  352. package/dist/src/api/authorization/alova/index.js +10 -8
  353. package/dist/src/api/check/alova/globals.js +1 -0
  354. package/dist/src/api/check/alova/implement/index.js +5 -0
  355. package/dist/src/api/check/alova/index.js +5 -6
  356. package/dist/src/api/check/check.js +2 -2
  357. package/dist/src/api/doctor/alova/globals.js +1 -0
  358. package/dist/src/api/doctor/alova/implement/index.js +4 -0
  359. package/dist/src/api/doctor/alova/index.js +10 -9
  360. package/dist/src/api/index.js +28 -0
  361. package/dist/src/api/metric/alova/implement/index.js +4 -0
  362. package/dist/src/api/metric/alova/index.js +1 -0
  363. package/dist/src/api/metric/index.js +5 -4
  364. package/dist/src/api/oauth/alova/globals.js +1 -0
  365. package/dist/src/api/oauth/alova/implement/index.js +4 -0
  366. package/dist/src/api/oauth/alova/index.js +13 -11
  367. package/dist/src/api/outpatient/alova/globals.js +1 -0
  368. package/dist/src/api/outpatient/alova/implement/index.js +4 -0
  369. package/dist/src/api/outpatient/alova/index.js +5 -5
  370. package/dist/src/api/patient/alova/globals.js +1 -0
  371. package/dist/src/api/patient/alova/implement/index.js +16 -0
  372. package/dist/src/api/patient/alova/implement/meta.js +44 -44
  373. package/dist/src/api/patient/alova/index.js +9 -12
  374. package/dist/src/api/patient/index.js +23 -22
  375. package/dist/src/api/patient/meta.d.ts +12 -0
  376. package/dist/src/api/patient/meta.js +100 -98
  377. package/dist/src/api/prescription/alova/globals.js +1 -0
  378. package/dist/src/api/prescription/alova/implement/index.js +6 -0
  379. package/dist/src/api/prescription/alova/index.js +8 -7
  380. package/dist/src/api/scientist/alova/globals.js +1 -0
  381. package/dist/src/api/scientist/alova/implement/index.js +4 -0
  382. package/dist/src/api/scientist/alova/index.js +5 -5
  383. package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
  384. package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
  385. package/dist/src/components/tcm/index.d.ts +1 -0
  386. package/dist/src/components/tcm/index.js +28 -0
  387. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
  388. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
  389. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
  390. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
  391. package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
  392. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
  393. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
  394. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
  395. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
  396. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
  397. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
  398. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
  399. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
  400. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
  401. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
  402. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
  403. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
  404. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
  405. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
  406. package/dist/src/components/tcm/inspections/index.d.ts +1 -0
  407. package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
  408. package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
  409. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
  410. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
  411. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
  412. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
  413. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
  414. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
  415. package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
  416. package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
  417. package/dist/src/index.js +63 -58
  418. package/dist/src/proto/index.js +10 -0
  419. package/dist/src/proto/types/Images_pb.js +7 -6
  420. package/dist/src/proto/types/WaveMap_pb.js +4 -3
  421. package/dist/src/util/helper.js +38 -2
  422. package/dist/src/util/number.js +64 -25
  423. package/dist/src/util/string.js +51 -5
  424. package/dist/web-core-tcm.css +1 -1
  425. package/package.json +5 -3
  426. package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
@@ -1,835 +1,7 @@
1
- import ge from "../../../../node_modules/quasar/src/components/option-group/QOptionGroup.js";
2
- import f from "../../../../node_modules/quasar/src/components/card/QCardSection.js";
3
- import pe from "../../../../node_modules/quasar/src/components/input/QInput.js";
4
- import v from "../../../../node_modules/quasar/src/components/btn/QBtn.js";
5
- import P from "../../../../node_modules/quasar/src/components/card/QCard.js";
6
- import B from "../../../../node_modules/quasar/src/components/item/QItem.js";
7
- import Y from "../../../../node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js";
8
- import { defineComponent as _e, reactive as ue, ref as C, watch as $, onMounted as de, createElementBlock as G, openBlock as b, Fragment as k, createElementVNode as g, createVNode as n, toDisplayString as M, renderList as x, withDirectives as me, vShow as be, withCtx as p, createBlock as S, createTextVNode as D, unref as U } from "vue";
9
- import j from "../../../../node_modules/quasar/src/utils/date/date.js";
10
- import H from "../../../../node_modules/quasar/src/components/spinner/QSpinnerBall.js";
11
- import he from "../../../../node_modules/quasar/src/composables/use-quasar/use-quasar.js";
12
- import { useRouter as fe } from "../../../../node_modules/vue-router/dist/vue-router.js";
13
- import "../../../../node_modules/echarts/index.js";
14
- import "../../../api/core/core.js";
15
- import { MetaType as L, ECGMeta as Ce, PCGMeta as Ge } from "../../../api/patient/meta.js";
16
- import { Patient as ye } from "../../../api/patient/patient.js";
17
- import "../../../api/patient/alova/index.js";
18
- import { init as ve } from "../../../../node_modules/echarts/lib/core/echarts.js";
19
- const ke = { class: "column justify-center items-center" }, Ee = { class: "col-10" }, we = ["id"], Ve = {
20
- class: "q-pa-sm",
21
- style: { border: "1px solid #ddd", "border-radius": "4px", width: "100%" }
22
- }, Ie = { class: "col-12" }, Pe = {
23
- class: "row q-col-gutter-md q-mt-md",
24
- style: { height: "225px" }
25
- }, xe = { class: "row q-gutter-md q-mt-md justify-center" }, De = ["onClick"], qe = ["onClick"], We = /* @__PURE__ */ _e({
26
- __name: "EcgAndPcgCollect",
27
- setup(Me) {
28
- const r = ue(ye.builder().build()), O = async (s, t) => {
29
- const c = await r.metas.ecgs.append(s + 1, 10);
30
- t(c.isLastPage);
31
- }, N = async (s, t) => {
32
- const c = await r.metas.pcgs.append(s + 1, 10);
33
- t(c.isLastPage);
34
- }, Z = fe(), _ = he(), J = C(!1), E = C({
35
- "ECG-I": 1,
36
- "ECG-II": 1,
37
- "ECG-III": 1,
38
- "ECG-aVR": 1,
39
- "ECG-aVL": 1,
40
- "ECG-aVF": 1,
41
- "ECG-V1": 1,
42
- "ECG-V2": 1,
43
- "ECG-V3": 1,
44
- "ECG-V4": 1,
45
- "ECG-V5": 1,
46
- "ECG-V6": 1,
47
- "PCG-1": 1,
48
- "PCG-2": 1,
49
- "PCG-3": 1,
50
- "PCG-4": 1,
51
- "PCG-5": 1
52
- });
53
- $(J, (s) => {
54
- console.log(s ? " connected" : "Disconnected");
55
- });
56
- const h = C([
57
- "ECG-I",
58
- "ECG-II",
59
- "ECG-III",
60
- "ECG-aVR",
61
- "ECG-aVL",
62
- "ECG-aVF",
63
- "ECG-V1",
64
- "ECG-V2",
65
- "ECG-V3",
66
- "ECG-V4",
67
- "ECG-V5",
68
- "ECG-V6",
69
- "PCG-1",
70
- "PCG-2",
71
- "PCG-3",
72
- "PCG-4",
73
- "PCG-5"
74
- ]);
75
- $(h, (s) => {
76
- console.log(s);
77
- });
78
- const q = [
79
- {
80
- label: "ECG-I",
81
- value: "ECG-I"
82
- },
83
- {
84
- label: "ECG-II",
85
- value: "ECG-II"
86
- },
87
- {
88
- label: "ECG-III",
89
- value: "ECG-III"
90
- },
91
- {
92
- label: "ECG-aVR",
93
- value: "ECG-aVR"
94
- },
95
- {
96
- label: "ECG-aVL",
97
- value: "ECG-aVL"
98
- },
99
- {
100
- label: "ECG-aVF",
101
- value: "ECG-aVF"
102
- },
103
- {
104
- label: "ECG-V1",
105
- value: "ECG-V1"
106
- },
107
- {
108
- label: "ECG-V2",
109
- value: "ECG-V2"
110
- },
111
- {
112
- label: "ECG-V3",
113
- value: "ECG-V3"
114
- },
115
- {
116
- label: "ECG-V4",
117
- value: "ECG-V4"
118
- },
119
- {
120
- label: "ECG-V5",
121
- value: "ECG-V5"
122
- },
123
- {
124
- label: "ECG-V6",
125
- value: "ECG-V6"
126
- },
127
- {
128
- label: "PCG-1",
129
- value: "PCG-1"
130
- },
131
- {
132
- label: "PCG-2",
133
- value: "PCG-2"
134
- },
135
- {
136
- label: "PCG-3",
137
- value: "PCG-3"
138
- },
139
- {
140
- label: "PCG-4",
141
- value: "PCG-4"
142
- },
143
- {
144
- label: "PCG-5",
145
- value: "PCG-5"
146
- }
147
- ], z = (s) => {
148
- Z.push(encodeURI(s));
149
- };
150
- function A(s) {
151
- s.delete().then((t) => {
152
- t ? (_.notify({
153
- message: "删除成功",
154
- color: "positive",
155
- position: "bottom-right",
156
- timeout: 500
157
- }), s.type === L.ECG ? r.metas.ecgs.query(0, 9999) : s.type === L.PCG ? r.metas.pcgs.query(0, 9999) : s.type === L.PPG && r.metas.ppgs.query(0, 9999)) : _.notify({
158
- message: "删除失败",
159
- color: "negative",
160
- position: "bottom-right",
161
- timeout: 500
162
- });
163
- });
164
- }
165
- const y = C(!0), w = C(!1);
166
- function K() {
167
- y.value = !1, setTimeout(() => {
168
- ae();
169
- for (const s of h.value)
170
- I[s].setOption({
171
- series: [{ data: [] }]
172
- });
173
- }, 1e3);
174
- }
175
- function W() {
176
- w.value = !w.value;
177
- }
178
- function X() {
179
- y.value = !1;
180
- const s = {
181
- ecg: {
182
- ecg_1: a.ecg_1.slice(1499, 2e4),
183
- ecg_2: a.ecg_2.slice(1499, 2e4),
184
- ecg_3: a.ecg_3.slice(1499, 2e4),
185
- ecg_4: a.ecg_4.slice(1499, 2e4),
186
- ecg_5: a.ecg_5.slice(1499, 2e4),
187
- ecg_6: a.ecg_6.slice(1499, 2e4),
188
- ecg_7: a.ecg_7.slice(1499, 2e4),
189
- ecg_8: a.ecg_8.slice(1499, 2e4)
190
- },
191
- pcg: {
192
- pcg_1: a.pcg_1.slice(1499, 2e4),
193
- pcg_2: a.pcg_2.slice(1499, 2e4),
194
- pcg_3: a.pcg_3.slice(1499, 2e4),
195
- pcg_4: a.pcg_4.slice(1499, 2e4),
196
- pcg_5: a.pcg_5.slice(1499, 2e4)
197
- }
198
- };
199
- ee(s.ecg), setTimeout(() => {
200
- te(s.pcg);
201
- }, 3e3);
202
- }
203
- async function ee(s) {
204
- _.loading.show({
205
- message: "正在上传",
206
- customClass: "text-h5",
207
- spinner: H
208
- }), console.log("patient.id", r.id);
209
- const t = await Ce.builder().owner(r).build().inject(s, s);
210
- t.post().then(async () => {
211
- const c = ["xl", "temp_rr", "temp_pt", "t_temp", "p_temp"];
212
- await t.analyze(), t.tags = t.tags.filter((l) => c.includes(l.key)), await t.put(), await r.metas.ecgs.query(0, 9999), _.notify({
213
- message: "上传成功",
214
- color: "positive",
215
- position: "bottom-right",
216
- timeout: 500
217
- });
218
- }).catch(() => {
219
- _.notify({
220
- message: "上传失败",
221
- color: "negative",
222
- position: "bottom-right",
223
- timeout: 500
224
- });
225
- }).finally(() => {
226
- _.loading.hide();
227
- });
228
- }
229
- async function te(s) {
230
- _.loading.show({
231
- message: "正在上传",
232
- customClass: "text-h5",
233
- spinner: H
234
- }), console.log("patient.id", r.id);
235
- const t = await Ge.builder().owner(r).build().inject(s, s);
236
- t.post().then(async () => {
237
- const c = [
238
- "temp_s1s1",
239
- "temp_s2s2",
240
- "temp_s1s2",
241
- "s1_temp",
242
- "s2_temp",
243
- "systole_temp",
244
- "diastole_temp",
245
- "s1_energy",
246
- "s2_energy",
247
- "systole_energy",
248
- "diastole_energy",
249
- "0-15hz",
250
- "15-31hz",
251
- "31-62hz",
252
- "62-125hz",
253
- "125-250hz",
254
- "250-500hz",
255
- "rs1_temp",
256
- "rs2_temp",
257
- "predictions"
258
- ];
259
- await t.analyze(), t.tags = t.tags.filter((l) => c.includes(l.key)), await t.put(), await r.metas.pcgs.query(0, 9999), _.notify({
260
- message: "上传成功",
261
- color: "positive",
262
- position: "bottom-right",
263
- timeout: 500
264
- });
265
- }).catch(() => {
266
- _.notify({
267
- message: "上传失败",
268
- color: "negative",
269
- position: "bottom-right",
270
- timeout: 500
271
- });
272
- }).finally(() => {
273
- _.loading.hide();
274
- });
275
- }
276
- class Q {
277
- ecg_1 = [];
278
- ecg_2 = [];
279
- ecg_3 = [];
280
- ecg_4 = [];
281
- ecg_5 = [];
282
- ecg_6 = [];
283
- ecg_7 = [];
284
- ecg_8 = [];
285
- pcg_1 = [];
286
- pcg_2 = [];
287
- pcg_3 = [];
288
- pcg_4 = [];
289
- pcg_5 = [];
290
- }
291
- let a = new Q();
292
- const F = C("当前数据包:0");
293
- setInterval(() => {
294
- let s = 0;
295
- for (const t in a)
296
- s += a[t].length;
297
- F.value = `当前数据包:${s}`;
298
- }, 1e3);
299
- function ae() {
300
- a.ecg_1 = [], a.ecg_2 = [], a.ecg_3 = [], a.ecg_4 = [], a.ecg_5 = [], a.ecg_6 = [], a.ecg_7 = [], a.ecg_8 = [], a.pcg_1 = [], a.pcg_2 = [], a.pcg_3 = [], a.pcg_4 = [], a.pcg_5 = [];
301
- }
302
- class se {
303
- global_data = new Q();
304
- changewavetodata(t) {
305
- for (let c = 0; c < 3e3; c += 300) {
306
- const l = t.slice(c, c + 300);
307
- for (let i = 0; i < 150; i++)
308
- if (l[0] !== 245)
309
- if (l.length > 0)
310
- l.shift();
311
- else return;
312
- const o = l.slice(0, 150);
313
- let u = 0;
314
- for (let i = 0; i < 48; i++) {
315
- if (i < 8)
316
- if (o[i * 3 + 6] === 128 && o[i * 3 + 7] === 0 && o[i * 3 + 8] === 0)
317
- u = -8388608;
318
- else {
319
- const m = [o[i * 3 + 8], o[i * 3 + 7], o[i * 3 + 6], 0];
320
- u = m[2] << 16 | m[1] << 8 | m[0], u > 8388607 && (u -= 16777216);
321
- }
322
- else {
323
- const m = [o[i * 3 + 8], o[i * 3 + 7] & 15, 0, 0];
324
- u = m[2] << 16 | m[1] << 8 | m[0];
325
- }
326
- let e = 0;
327
- if (i < 8 ? e = u / 8388608 * 2.4 : e = u / 4096 * 3.3, e != 0)
328
- switch (i) {
329
- case 0:
330
- this.global_data.ecg_1.push(e);
331
- break;
332
- case 1:
333
- this.global_data.ecg_2.push(e);
334
- break;
335
- case 2:
336
- this.global_data.ecg_3.push(e);
337
- break;
338
- case 3:
339
- this.global_data.ecg_4.push(e);
340
- break;
341
- case 4:
342
- this.global_data.ecg_5.push(e);
343
- break;
344
- case 5:
345
- this.global_data.ecg_6.push(e);
346
- break;
347
- case 6:
348
- this.global_data.ecg_7.push(e);
349
- break;
350
- case 7:
351
- this.global_data.ecg_8.push(e);
352
- break;
353
- case 8:
354
- this.global_data.pcg_1.push(e);
355
- break;
356
- case 9:
357
- this.global_data.pcg_2.push(e);
358
- break;
359
- case 10:
360
- this.global_data.pcg_3.push(e);
361
- break;
362
- case 11:
363
- this.global_data.pcg_4.push(e);
364
- break;
365
- case 12:
366
- this.global_data.pcg_5.push(e);
367
- break;
368
- case 13:
369
- this.global_data.pcg_1.push(e);
370
- break;
371
- case 14:
372
- this.global_data.pcg_2.push(e);
373
- break;
374
- case 15:
375
- this.global_data.pcg_3.push(e);
376
- break;
377
- case 16:
378
- this.global_data.pcg_4.push(e);
379
- break;
380
- case 17:
381
- this.global_data.pcg_5.push(e);
382
- break;
383
- case 18:
384
- this.global_data.pcg_1.push(e);
385
- break;
386
- case 19:
387
- this.global_data.pcg_2.push(e);
388
- break;
389
- case 20:
390
- this.global_data.pcg_3.push(e);
391
- break;
392
- case 21:
393
- this.global_data.pcg_4.push(e);
394
- break;
395
- case 22:
396
- this.global_data.pcg_5.push(e);
397
- break;
398
- case 23:
399
- this.global_data.pcg_1.push(e);
400
- break;
401
- case 24:
402
- this.global_data.pcg_2.push(e);
403
- break;
404
- case 25:
405
- this.global_data.pcg_3.push(e);
406
- break;
407
- case 26:
408
- this.global_data.pcg_4.push(e);
409
- break;
410
- case 27:
411
- this.global_data.pcg_5.push(e);
412
- break;
413
- case 28:
414
- this.global_data.pcg_1.push(e);
415
- break;
416
- case 29:
417
- this.global_data.pcg_2.push(e);
418
- break;
419
- case 30:
420
- this.global_data.pcg_3.push(e);
421
- break;
422
- case 31:
423
- this.global_data.pcg_4.push(e);
424
- break;
425
- case 32:
426
- this.global_data.pcg_5.push(e);
427
- break;
428
- case 33:
429
- this.global_data.pcg_1.push(e);
430
- break;
431
- case 34:
432
- this.global_data.pcg_2.push(e);
433
- break;
434
- case 35:
435
- this.global_data.pcg_3.push(e);
436
- break;
437
- case 36:
438
- this.global_data.pcg_4.push(e);
439
- break;
440
- case 37:
441
- this.global_data.pcg_5.push(e);
442
- break;
443
- case 38:
444
- this.global_data.pcg_1.push(e);
445
- break;
446
- case 39:
447
- this.global_data.pcg_2.push(e);
448
- break;
449
- case 40:
450
- this.global_data.pcg_3.push(e);
451
- break;
452
- case 41:
453
- this.global_data.pcg_4.push(e);
454
- break;
455
- case 42:
456
- this.global_data.pcg_5.push(e);
457
- break;
458
- case 43:
459
- this.global_data.pcg_1.push(e);
460
- break;
461
- case 44:
462
- this.global_data.pcg_2.push(e);
463
- break;
464
- case 45:
465
- this.global_data.pcg_3.push(e);
466
- break;
467
- case 46:
468
- this.global_data.pcg_4.push(e);
469
- break;
470
- case 47:
471
- this.global_data.pcg_5.push(e);
472
- break;
473
- }
474
- }
475
- }
476
- }
477
- }
478
- const d = window.electronAPI.FTDI;
479
- let V = null;
480
- function le() {
481
- if (r.id == "") {
482
- _.notify({
483
- message: "请选择患者",
484
- type: "error",
485
- timeout: 2e3,
486
- position: "bottom",
487
- progress: !0,
488
- actions: []
489
- });
490
- return;
491
- }
492
- y.value = !0, d.getDevices().then((s) => {
493
- s.length === 0 && _.notify({
494
- message: "没有设备",
495
- color: "negative",
496
- position: "bottom-right",
497
- timeout: 500
498
- });
499
- for (const t of s)
500
- d.openDevice(t.serial_number).then(async () => (V = t, console.log("device", V), await d.write(Uint8Array.from([239, 150])), console.log(await d.getStatus()), console.log("write1 success"), await d.setTimeouts(500, 500), console.log("设置超时"), await d.purge(), console.log("purge success"), await d.write(Uint8Array.from([239, 145])), console.log("write2 success"), ce()));
501
- });
502
- }
503
- const I = {};
504
- de(() => {
505
- q.forEach((s) => {
506
- const t = document.getElementById(s.value), c = ve(t), l = {
507
- grid: {
508
- containLabel: !0
509
- },
510
- title: { text: `${s.label}` },
511
- tooltip: { trigger: "axis" },
512
- xAxis: {
513
- type: "category",
514
- boundaryGap: !1,
515
- data: Array.from({ length: 1e4 }, (o, u) => u)
516
- },
517
- yAxis: {
518
- type: "value"
519
- },
520
- series: [
521
- {
522
- name: s,
523
- type: "line",
524
- data: []
525
- }
526
- ],
527
- dataZoom: [
528
- {
529
- type: "inside",
530
- // 使用鼠标滚轮和触摸板进行缩放和平移
531
- start: 0,
532
- end: 100
533
- },
534
- {
535
- type: "slider",
536
- // 可选:添加一个滑块式的 dataZoom 控件
537
- start: 0,
538
- end: 100
539
- }
540
- ]
541
- };
542
- c.setOption(l), I[s.value] = c;
543
- }), h.value = [];
544
- });
545
- function oe(s) {
546
- return new Promise((t) => setTimeout(t, s));
547
- }
548
- async function ce() {
549
- if (!V) {
550
- console.error("Device not initialized!");
551
- return;
552
- }
553
- const s = [];
554
- try {
555
- const t = new se();
556
- for (a = t.global_data, y.value = !0; y.value; ) {
557
- if (w.value) {
558
- await oe(1e3), await d.purge();
559
- continue;
560
- }
561
- const c = await d.monitorDataQueue();
562
- for (const i of c)
563
- s.push(i);
564
- let l = 999999;
565
- for (const i in a)
566
- l = Math.min(l, a[i].length);
567
- l = Math.min(l, 1e4);
568
- const o = {
569
- ecg_1: a.ecg_1.slice(-l),
570
- ecg_2: a.ecg_2.slice(-l),
571
- ecg_3: a.ecg_3.slice(-l),
572
- ecg_4: a.ecg_4.slice(-l),
573
- ecg_5: a.ecg_5.slice(-l),
574
- ecg_6: a.ecg_6.slice(-l),
575
- ecg_7: a.ecg_7.slice(-l),
576
- ecg_8: a.ecg_8.slice(-l),
577
- pcg_1: a.pcg_1.slice(-1e4),
578
- pcg_2: a.pcg_2.slice(-1e4),
579
- pcg_3: a.pcg_3.slice(-1e4),
580
- pcg_4: a.pcg_4.slice(-1e4),
581
- pcg_5: a.pcg_5.slice(-1e4)
582
- }, u = {
583
- "ECG-I": o.ecg_2,
584
- "ECG-II": o.ecg_3,
585
- "ECG-III": Array.from(
586
- { length: l },
587
- (i, e) => o.ecg_3[e] - o.ecg_2[e]
588
- ),
589
- "ECG-aVR": Array.from(
590
- { length: l },
591
- (i, e) => 0.5 * (o.ecg_2[e] + o.ecg_3[e])
592
- ),
593
- "ECG-aVL": Array.from(
594
- { length: l },
595
- (i, e) => o.ecg_2[e] - 0.5 * o.ecg_3[e]
596
- ),
597
- "ECG-aVF": Array.from(
598
- { length: l },
599
- (i, e) => o.ecg_3[e] - 0.5 * o.ecg_2[e]
600
- ),
601
- "ECG-V1": o.ecg_8,
602
- "ECG-V2": o.ecg_4,
603
- "ECG-V3": o.ecg_5,
604
- "ECG-V4": o.ecg_6,
605
- "ECG-V5": o.ecg_7,
606
- "ECG-V6": o.ecg_1,
607
- "PCG-1": o.pcg_1,
608
- "PCG-2": o.pcg_2,
609
- "PCG-3": o.pcg_3,
610
- "PCG-4": o.pcg_4,
611
- "PCG-5": o.pcg_5
612
- };
613
- for (const i of h.value) {
614
- const e = Math.min(...u[i]), m = Math.max(...u[i]), ie = E.value["ECG-I"], T = (m - e) / ie, R = (m + e) / 2, ne = R - T * 1.5 / 2, re = R + T * 1.5 / 2;
615
- I[i].setOption({
616
- series: [
617
- {
618
- data: u[i]
619
- }
620
- ],
621
- yAxis: {
622
- min: ne.toFixed(5),
623
- max: re.toFixed(5),
624
- scale: !0
625
- }
626
- }), I[i].resize();
627
- }
628
- for (; s.length > 3e3; )
629
- t.changewavetodata(s.splice(0, 3e3));
630
- a.ecg_1.length > 2e4 && X();
631
- }
632
- } catch (t) {
633
- console.error("Error during data monitoring", t);
634
- } finally {
635
- V = null, await d.close(), console.log("close success"), _.notify({
636
- type: "positive",
637
- message: "数据采集结束",
638
- icon: "check",
639
- timeout: 500
640
- });
641
- }
642
- }
643
- return (s, t) => (b(), G(k, null, [
644
- g("div", ke, [
645
- g("label", Ee, M(F.value), 1),
646
- (b(), G(k, null, x(q, (c, l) => me(g("div", {
647
- key: l,
648
- id: c.value,
649
- class: "col-10",
650
- style: { height: "400px", width: "95vw", border: "1px solid #ddd", padding: "10px", "border-radius": "4px", "margin-bottom": "20px" }
651
- }, null, 8, we), [
652
- [be, h.value.find((o) => o == c.value)]
653
- ])), 64))
654
- ]),
655
- n(P, { class: "col-8 column" }, {
656
- default: p(() => [
657
- n(f, {
658
- class: "row items-start q-gutter-sm",
659
- style: { width: "100%" }
660
- }, {
661
- default: p(() => [
662
- g("div", Ve, [
663
- t[1] || (t[1] = g("div", { class: "text-h6 q-mb-sm" }, "FF", -1)),
664
- n(ge, {
665
- modelValue: h.value,
666
- "onUpdate:modelValue": t[0] || (t[0] = (c) => h.value = c),
667
- options: q,
668
- class: "q-gutter-sm",
669
- color: "green",
670
- style: { display: "grid", "grid-template-columns": "repeat(4, 1fr)", gap: "10px", width: "100%" },
671
- type: "checkbox"
672
- }, null, 8, ["modelValue"])
673
- ])
674
- ]),
675
- _: 1
676
- }),
677
- n(f, { class: "column col-4" }, {
678
- default: p(() => [
679
- g("div", Ie, [
680
- g("div", Pe, [
681
- (b(!0), G(k, null, x(E.value, (c, l) => (b(), G("div", {
682
- key: l,
683
- class: "col-2 q-mb-md"
684
- }, [
685
- n(pe, {
686
- modelValue: E.value[l],
687
- "onUpdate:modelValue": (o) => E.value[l] = o,
688
- label: l,
689
- min: "0",
690
- type: "number",
691
- outlined: ""
692
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label"])
693
- ]))), 128))
694
- ]),
695
- g("div", xe, [
696
- n(v, {
697
- class: "q-mr-sm",
698
- color: "primary",
699
- label: "连接",
700
- onClick: le
701
- }),
702
- n(v, {
703
- class: "q-mr-sm",
704
- color: "primary",
705
- label: w.value ? "继续" : "暂停",
706
- onClick: W
707
- }, null, 8, ["label"]),
708
- n(v, {
709
- class: "q-mr-sm",
710
- color: "secondary",
711
- label: "重置",
712
- onClick: K
713
- })
714
- ])
715
- ])
716
- ]),
717
- _: 1
718
- })
719
- ]),
720
- _: 1
721
- }),
722
- n(P, {
723
- class: "column col-4",
724
- style: { "margin-top": "2vh" }
725
- }, {
726
- default: p(() => [
727
- n(f, { class: "col-6" }, {
728
- default: p(() => [
729
- t[4] || (t[4] = g("label", null, "心电历史数据", -1)),
730
- n(Y, {
731
- onLoad: O,
732
- offset: 250,
733
- bordered: "",
734
- class: "rounded-borders",
735
- padding: ""
736
- }, {
737
- default: p(() => [
738
- (b(!0), G(k, null, x(r.metas.ecgs.data, (c) => (b(), S(B, {
739
- key: c.id,
740
- clickable: ""
741
- }, {
742
- default: p(() => [
743
- n(P, { class: "full-width" }, {
744
- default: p(() => [
745
- n(f, { class: "row" }, {
746
- default: p(() => [
747
- g("label", {
748
- class: "col",
749
- style: { "font-size": "1rem" },
750
- onClick: (l) => z("/医生/门户/中医/闻诊/心电心音/心电/" + c.id)
751
- }, [
752
- t[2] || (t[2] = D("采集日期:", -1)),
753
- t[3] || (t[3] = g("br", null, null, -1)),
754
- D(" " + M(U(j).formatDate(c.createdTimestamp, "YYYY-MM-DD HH:mm:ss")), 1)
755
- ], 8, De),
756
- n(v, {
757
- color: "negative",
758
- icon: "delete",
759
- rounded: "",
760
- onClick: (l) => A(c)
761
- }, null, 8, ["onClick"])
762
- ]),
763
- _: 2
764
- }, 1024)
765
- ]),
766
- _: 2
767
- }, 1024)
768
- ]),
769
- _: 2
770
- }, 1024))), 128))
771
- ]),
772
- _: 1
773
- })
774
- ]),
775
- _: 1
776
- }),
777
- n(f, { class: "col-6" }, {
778
- default: p(() => [
779
- t[7] || (t[7] = g("label", null, "心音历史数据", -1)),
780
- n(Y, {
781
- onLoad: N,
782
- offset: 250,
783
- bordered: "",
784
- class: "rounded-borders",
785
- padding: ""
786
- }, {
787
- default: p(() => [
788
- (b(!0), G(k, null, x(r.metas.pcgs.data, (c) => (b(), S(B, {
789
- key: c.id,
790
- clickable: ""
791
- }, {
792
- default: p(() => [
793
- n(P, { class: "full-width" }, {
794
- default: p(() => [
795
- n(f, { class: "row" }, {
796
- default: p(() => [
797
- g("label", {
798
- class: "col",
799
- style: { "font-size": "1rem" },
800
- onClick: (l) => z("/医生/门户/中医/闻诊/心电心音/心音/" + c.id)
801
- }, [
802
- t[5] || (t[5] = D("采集日期:", -1)),
803
- t[6] || (t[6] = g("br", null, null, -1)),
804
- D(" " + M(U(j).formatDate(c.createdTimestamp, "YYYY-MM-DD HH:mm:ss")), 1)
805
- ], 8, qe),
806
- n(v, {
807
- color: "negative",
808
- icon: "delete",
809
- rounded: "",
810
- onClick: (l) => A(c)
811
- }, null, 8, ["onClick"])
812
- ]),
813
- _: 2
814
- }, 1024)
815
- ]),
816
- _: 2
817
- }, 1024)
818
- ]),
819
- _: 2
820
- }, 1024))), 128))
821
- ]),
822
- _: 1
823
- })
824
- ]),
825
- _: 1
826
- })
827
- ]),
828
- _: 1
829
- })
830
- ], 64));
831
- }
832
- });
1
+ import o from "./EcgAndPcgCollect.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e9596bd7"]]);
833
5
  export {
834
- We as default
6
+ m as default
835
7
  };