web-core-tcm 0.0.62 → 0.0.64

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 (470) 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/createApis.js +1 -7
  351. package/dist/src/api/authorization/alova/globals.d.ts +331 -250
  352. package/dist/src/api/authorization/alova/implement/index.js +4 -0
  353. package/dist/src/api/authorization/alova/index.d.ts +1 -1
  354. package/dist/src/api/authorization/alova/index.js +7 -6
  355. package/dist/src/api/check/alova/createApis.js +1 -7
  356. package/dist/src/api/check/alova/globals.d.ts +1227 -1126
  357. package/dist/src/api/check/alova/implement/index.js +5 -0
  358. package/dist/src/api/check/alova/index.d.ts +1 -1
  359. package/dist/src/api/check/alova/index.js +9 -11
  360. package/dist/src/api/check/check.js +2 -2
  361. package/dist/src/api/config/index.d.ts +1 -0
  362. package/dist/src/api/config/index.js +3 -1
  363. package/dist/src/api/doctor/alova/createApis.js +1 -7
  364. package/dist/src/api/doctor/alova/globals.d.ts +510 -419
  365. package/dist/src/api/doctor/alova/implement/index.js +4 -0
  366. package/dist/src/api/doctor/alova/index.d.ts +1 -1
  367. package/dist/src/api/doctor/alova/index.js +4 -4
  368. package/dist/src/api/index.d.ts +1 -0
  369. package/dist/src/api/index.js +30 -0
  370. package/dist/src/api/manager/alova/apiDefinitions.d.ts +62 -0
  371. package/dist/src/api/manager/alova/apiDefinitions.js +50 -0
  372. package/dist/src/api/manager/alova/createApis.d.ts +10 -0
  373. package/dist/src/api/manager/alova/createApis.js +49 -0
  374. package/dist/src/api/manager/alova/globals.d.ts +4890 -0
  375. package/dist/src/api/manager/alova/implement/department.d.ts +7 -0
  376. package/dist/src/api/manager/alova/implement/department.js +44 -0
  377. package/dist/src/api/manager/alova/implement/division.d.ts +7 -0
  378. package/dist/src/api/manager/alova/implement/division.js +44 -0
  379. package/dist/src/api/manager/alova/implement/hospital.d.ts +7 -0
  380. package/dist/src/api/manager/alova/implement/hospital.js +44 -0
  381. package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
  382. package/dist/src/api/manager/alova/implement/index.js +8 -0
  383. package/dist/src/api/manager/alova/index.d.ts +6 -0
  384. package/dist/src/api/manager/alova/index.js +19 -0
  385. package/dist/src/api/manager/department.d.ts +30 -0
  386. package/dist/src/api/manager/department.js +35 -0
  387. package/dist/src/api/manager/division.d.ts +30 -0
  388. package/dist/src/api/manager/division.js +34 -0
  389. package/dist/src/api/manager/hospital.d.ts +32 -0
  390. package/dist/src/api/manager/hospital.js +36 -0
  391. package/dist/src/api/manager/index.d.ts +4 -0
  392. package/dist/src/api/manager/index.js +17 -0
  393. package/dist/src/api/metric/alova/implement/index.js +4 -0
  394. package/dist/src/api/metric/alova/index.js +1 -0
  395. package/dist/src/api/metric/index.js +5 -4
  396. package/dist/src/api/oauth/alova/createApis.js +1 -7
  397. package/dist/src/api/oauth/alova/globals.d.ts +403 -312
  398. package/dist/src/api/oauth/alova/implement/index.js +4 -0
  399. package/dist/src/api/oauth/alova/index.d.ts +1 -1
  400. package/dist/src/api/oauth/alova/index.js +12 -11
  401. package/dist/src/api/outpatient/alova/createApis.js +1 -7
  402. package/dist/src/api/outpatient/alova/globals.d.ts +634 -543
  403. package/dist/src/api/outpatient/alova/implement/index.js +4 -0
  404. package/dist/src/api/outpatient/alova/index.d.ts +1 -1
  405. package/dist/src/api/outpatient/alova/index.js +8 -9
  406. package/dist/src/api/patient/alova/createApis.js +1 -7
  407. package/dist/src/api/patient/alova/globals.d.ts +1627 -1480
  408. package/dist/src/api/patient/alova/implement/index.js +16 -0
  409. package/dist/src/api/patient/alova/implement/meta.js +44 -44
  410. package/dist/src/api/patient/alova/index.d.ts +1 -1
  411. package/dist/src/api/patient/alova/index.js +10 -14
  412. package/dist/src/api/patient/index.js +23 -22
  413. package/dist/src/api/patient/meta.d.ts +12 -0
  414. package/dist/src/api/patient/meta.js +100 -98
  415. package/dist/src/api/prescription/alova/apiDefinitions.d.ts +1 -0
  416. package/dist/src/api/prescription/alova/apiDefinitions.js +1 -0
  417. package/dist/src/api/prescription/alova/createApis.js +1 -7
  418. package/dist/src/api/prescription/alova/globals.d.ts +959 -812
  419. package/dist/src/api/prescription/alova/implement/index.js +6 -0
  420. package/dist/src/api/prescription/alova/index.d.ts +1 -1
  421. package/dist/src/api/prescription/alova/index.js +4 -4
  422. package/dist/src/api/scientist/alova/createApis.js +1 -7
  423. package/dist/src/api/scientist/alova/globals.d.ts +406 -315
  424. package/dist/src/api/scientist/alova/implement/index.js +4 -0
  425. package/dist/src/api/scientist/alova/index.d.ts +1 -1
  426. package/dist/src/api/scientist/alova/index.js +7 -8
  427. package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
  428. package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
  429. package/dist/src/components/tcm/index.d.ts +1 -0
  430. package/dist/src/components/tcm/index.js +28 -0
  431. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
  432. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
  433. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
  434. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
  435. package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
  436. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
  437. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
  438. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
  439. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
  440. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
  441. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
  442. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
  443. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
  444. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
  445. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
  446. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
  447. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
  448. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
  449. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
  450. package/dist/src/components/tcm/inspections/index.d.ts +1 -0
  451. package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
  452. package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
  453. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
  454. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
  455. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
  456. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
  457. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
  458. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
  459. package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
  460. package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
  461. package/dist/src/index.js +65 -58
  462. package/dist/src/proto/index.js +10 -0
  463. package/dist/src/proto/types/Images_pb.js +7 -6
  464. package/dist/src/proto/types/WaveMap_pb.js +4 -3
  465. package/dist/src/util/helper.js +38 -2
  466. package/dist/src/util/number.js +64 -25
  467. package/dist/src/util/string.js +51 -5
  468. package/dist/web-core-tcm.css +1 -1
  469. package/package.json +5 -3
  470. package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
@@ -1,12 +1,922 @@
1
- import { d as e } from "./devtools-EWN81iOl.js";
2
- import { l as f, o as n } from "./devtools-EWN81iOl.js";
3
- import { inject as o } from "vue";
4
- function u() {
5
- return o(e);
1
+ import { stripBase as xe, NavigationDirection as Z, NavigationType as te, assign as P, computeScrollPosition as re, warn as Ut, normalizeBase as Ve, createHref as Ue, START as he, isArray as ne, mergeOptions as ke, noop as J, isRouteName as He, createRouterError as ae, ErrorTypes as I, routerKey as oe, routeLocationKey as we, isSameRouteRecord as ge, isSameRouteLocationParams as Xe, routerViewLocationKey as ye, viewDepthKey as Ne, matchedRouteKey as Ye, parseQuery as et, stringifyQuery as Oe, useCallbacks as z, START_LOCATION_NORMALIZED as j, isBrowser as Q, applyToParams as de, encodeParam as tt, decode as Se, parseURL as pe, stringifyURL as nt, encodeHash as at, normalizeQuery as rt, isSameRouteLocation as ot, isNavigationFailure as B, extractChangingRecords as it, extractComponentsGuards as me, guardToPromiseFn as W, saveScrollPosition as st, getScrollKey as Ce, getSavedScrollPosition as lt, scrollToPosition as ct } from "./devtools-BLCumUwL.js";
2
+ import { NavigationFailureType as tn, loadRouteLocation as nn, onBeforeRouteLeave as an, onBeforeRouteUpdate as rn } from "./devtools-BLCumUwL.js";
3
+ import { inject as U, computed as $, unref as X, getCurrentInstance as Ft, defineComponent as We, reactive as ut, h as Ke, provide as ve, ref as ft, watch as ht, shallowRef as dt, nextTick as pt, shallowReactive as mt } from "vue";
4
+ let vt = () => location.protocol + "//" + location.host;
5
+ function Fe(e, a) {
6
+ const { pathname: t, search: o, hash: s } = a, p = e.indexOf("#");
7
+ if (p > -1) {
8
+ let g = s.includes(e.slice(p)) ? e.slice(p).length : 1, v = s.slice(g);
9
+ return v[0] !== "/" && (v = "/" + v), xe(v, "");
10
+ }
11
+ return xe(t, e) + o + s;
12
+ }
13
+ function gt(e, a, t, o) {
14
+ let s = [], p = [], g = null;
15
+ const v = ({ state: u }) => {
16
+ const i = Fe(e, location), w = t.value, b = a.value;
17
+ let k = 0;
18
+ if (u) {
19
+ if (t.value = i, a.value = u, g && g === w) {
20
+ g = null;
21
+ return;
22
+ }
23
+ k = b ? u.position - b.position : 0;
24
+ } else o(i);
25
+ s.forEach((N) => {
26
+ N(t.value, w, {
27
+ delta: k,
28
+ type: te.pop,
29
+ direction: k ? k > 0 ? Z.forward : Z.back : Z.unknown
30
+ });
31
+ });
32
+ };
33
+ function l() {
34
+ g = t.value;
35
+ }
36
+ function h(u) {
37
+ s.push(u);
38
+ const i = () => {
39
+ const w = s.indexOf(u);
40
+ w > -1 && s.splice(w, 1);
41
+ };
42
+ return p.push(i), i;
43
+ }
44
+ function c() {
45
+ if (document.visibilityState === "hidden") {
46
+ const { history: u } = window;
47
+ if (!u.state) return;
48
+ u.replaceState(P({}, u.state, { scroll: re() }), "");
49
+ }
50
+ }
51
+ function r() {
52
+ for (const u of p) u();
53
+ p = [], window.removeEventListener("popstate", v), window.removeEventListener("pagehide", c), document.removeEventListener("visibilitychange", c);
54
+ }
55
+ return window.addEventListener("popstate", v), window.addEventListener("pagehide", c), document.addEventListener("visibilitychange", c), {
56
+ pauseListeners: l,
57
+ listen: h,
58
+ destroy: r
59
+ };
60
+ }
61
+ function Ie(e, a, t, o = !1, s = !1) {
62
+ return {
63
+ back: e,
64
+ current: a,
65
+ forward: t,
66
+ replaced: o,
67
+ position: window.history.length,
68
+ scroll: s ? re() : null
69
+ };
70
+ }
71
+ function yt(e) {
72
+ const { history: a, location: t } = window, o = { value: Fe(e, t) }, s = { value: a.state };
73
+ s.value || p(o.value, {
74
+ back: null,
75
+ current: o.value,
76
+ forward: null,
77
+ position: a.length - 1,
78
+ replaced: !0,
79
+ scroll: null
80
+ }, !0);
81
+ function p(l, h, c) {
82
+ const r = e.indexOf("#"), u = r > -1 ? (t.host && document.querySelector("base") ? e : e.slice(r)) + l : vt() + e + l;
83
+ try {
84
+ a[c ? "replaceState" : "pushState"](h, "", u), s.value = h;
85
+ } catch (i) {
86
+ console.error(i), t[c ? "replace" : "assign"](u);
87
+ }
88
+ }
89
+ function g(l, h) {
90
+ p(l, P({}, a.state, Ie(s.value.back, l, s.value.forward, !0), h, { position: s.value.position }), !0), o.value = l;
91
+ }
92
+ function v(l, h) {
93
+ const c = P({}, s.value, a.state, {
94
+ forward: l,
95
+ scroll: re()
96
+ });
97
+ p(c.current, c, !0), p(l, P({}, Ie(o.value, l, null), { position: c.position + 1 }, h), !1), o.value = l;
98
+ }
99
+ return {
100
+ location: o,
101
+ state: s,
102
+ push: v,
103
+ replace: g
104
+ };
105
+ }
106
+ function wt(e) {
107
+ e = Ve(e);
108
+ const a = yt(e), t = gt(e, a.state, a.location, a.replace);
109
+ function o(p, g = !0) {
110
+ g || t.pauseListeners(), history.go(p);
111
+ }
112
+ const s = P({
113
+ location: "",
114
+ base: e,
115
+ go: o,
116
+ createHref: Ue.bind(null, e)
117
+ }, a, t);
118
+ return Object.defineProperty(s, "location", {
119
+ enumerable: !0,
120
+ get: () => a.location.value
121
+ }), Object.defineProperty(s, "state", {
122
+ enumerable: !0,
123
+ get: () => a.state.value
124
+ }), s;
125
+ }
126
+ function zt(e = "") {
127
+ let a = [], t = [[he, {}]], o = 0;
128
+ e = Ve(e);
129
+ function s(v, l = {}) {
130
+ o++, o !== t.length && t.splice(o), t.push([v, l]);
131
+ }
132
+ function p(v, l, { direction: h, delta: c }) {
133
+ const r = {
134
+ direction: h,
135
+ delta: c,
136
+ type: te.pop
137
+ };
138
+ for (const u of a) u(v, l, r);
139
+ }
140
+ const g = {
141
+ location: he,
142
+ state: {},
143
+ base: e,
144
+ createHref: Ue.bind(null, e),
145
+ replace(v, l) {
146
+ t.splice(o--, 1), s(v, l);
147
+ },
148
+ push(v, l) {
149
+ s(v, l);
150
+ },
151
+ listen(v) {
152
+ return a.push(v), () => {
153
+ const l = a.indexOf(v);
154
+ l > -1 && a.splice(l, 1);
155
+ };
156
+ },
157
+ destroy() {
158
+ a = [], t = [[he, {}]], o = 0;
159
+ },
160
+ go(v, l = !0) {
161
+ const h = this.location, c = v < 0 ? Z.back : Z.forward;
162
+ o = Math.max(0, Math.min(o + v, t.length - 1)), l && p(this.location, h, {
163
+ direction: c,
164
+ delta: v
165
+ });
166
+ }
167
+ };
168
+ return Object.defineProperty(g, "location", {
169
+ enumerable: !0,
170
+ get: () => t[o][0]
171
+ }), Object.defineProperty(g, "state", {
172
+ enumerable: !0,
173
+ get: () => t[o][1]
174
+ }), g;
175
+ }
176
+ function Qt(e) {
177
+ return e = location.host ? e || location.pathname + location.search : "", e.includes("#") || (e += "#"), wt(e);
178
+ }
179
+ let V = /* @__PURE__ */ (function(e) {
180
+ return e[e.Static = 0] = "Static", e[e.Param = 1] = "Param", e[e.Group = 2] = "Group", e;
181
+ })({});
182
+ var C = /* @__PURE__ */ (function(e) {
183
+ return e[e.Static = 0] = "Static", e[e.Param = 1] = "Param", e[e.ParamRegExp = 2] = "ParamRegExp", e[e.ParamRegExpEnd = 3] = "ParamRegExpEnd", e[e.EscapeNext = 4] = "EscapeNext", e;
184
+ })(C || {});
185
+ const Rt = {
186
+ type: V.Static,
187
+ value: ""
188
+ }, Et = /[a-zA-Z0-9_]/;
189
+ function At(e) {
190
+ if (!e) return [[]];
191
+ if (e === "/") return [[Rt]];
192
+ if (!e.startsWith("/")) throw new Error(`Invalid path "${e}"`);
193
+ function a(i) {
194
+ throw new Error(`ERR (${t})/"${h}": ${i}`);
195
+ }
196
+ let t = C.Static, o = t;
197
+ const s = [];
198
+ let p;
199
+ function g() {
200
+ p && s.push(p), p = [];
201
+ }
202
+ let v = 0, l, h = "", c = "";
203
+ function r() {
204
+ h && (t === C.Static ? p.push({
205
+ type: V.Static,
206
+ value: h
207
+ }) : t === C.Param || t === C.ParamRegExp || t === C.ParamRegExpEnd ? (p.length > 1 && (l === "*" || l === "+") && a(`A repeatable param (${h}) must be alone in its segment. eg: '/:ids+.`), p.push({
208
+ type: V.Param,
209
+ value: h,
210
+ regexp: c,
211
+ repeatable: l === "*" || l === "+",
212
+ optional: l === "*" || l === "?"
213
+ })) : a("Invalid state to consume buffer"), h = "");
214
+ }
215
+ function u() {
216
+ h += l;
217
+ }
218
+ for (; v < e.length; ) {
219
+ if (l = e[v++], l === "\\" && t !== C.ParamRegExp) {
220
+ o = t, t = C.EscapeNext;
221
+ continue;
222
+ }
223
+ switch (t) {
224
+ case C.Static:
225
+ l === "/" ? (h && r(), g()) : l === ":" ? (r(), t = C.Param) : u();
226
+ break;
227
+ case C.EscapeNext:
228
+ u(), t = o;
229
+ break;
230
+ case C.Param:
231
+ l === "(" ? t = C.ParamRegExp : Et.test(l) ? u() : (r(), t = C.Static, l !== "*" && l !== "?" && l !== "+" && v--);
232
+ break;
233
+ case C.ParamRegExp:
234
+ l === ")" ? c[c.length - 1] == "\\" ? c = c.slice(0, -1) + l : t = C.ParamRegExpEnd : c += l;
235
+ break;
236
+ case C.ParamRegExpEnd:
237
+ r(), t = C.Static, l !== "*" && l !== "?" && l !== "+" && v--, c = "";
238
+ break;
239
+ default:
240
+ a("Unknown state");
241
+ break;
242
+ }
243
+ }
244
+ return t === C.ParamRegExp && a(`Unfinished custom RegExp for param "${h}"`), r(), g(), s;
245
+ }
246
+ const Te = "[^/]+?", bt = {
247
+ sensitive: !1,
248
+ strict: !1,
249
+ start: !0,
250
+ end: !0
251
+ };
252
+ var T = /* @__PURE__ */ (function(e) {
253
+ return e[e._multiplier = 10] = "_multiplier", e[e.Root = 90] = "Root", e[e.Segment = 40] = "Segment", e[e.SubSegment = 30] = "SubSegment", e[e.Static = 40] = "Static", e[e.Dynamic = 20] = "Dynamic", e[e.BonusCustomRegExp = 10] = "BonusCustomRegExp", e[e.BonusWildcard = -50] = "BonusWildcard", e[e.BonusRepeatable = -20] = "BonusRepeatable", e[e.BonusOptional = -8] = "BonusOptional", e[e.BonusStrict = 0.7000000000000001] = "BonusStrict", e[e.BonusCaseSensitive = 0.25] = "BonusCaseSensitive", e;
254
+ })(T || {});
255
+ const Pt = /[.+*?^${}()[\]/\\]/g;
256
+ function xt(e, a) {
257
+ const t = P({}, bt, a), o = [];
258
+ let s = t.start ? "^" : "";
259
+ const p = [];
260
+ for (const h of e) {
261
+ const c = h.length ? [] : [T.Root];
262
+ t.strict && !h.length && (s += "/");
263
+ for (let r = 0; r < h.length; r++) {
264
+ const u = h[r];
265
+ let i = T.Segment + (t.sensitive ? T.BonusCaseSensitive : 0);
266
+ if (u.type === V.Static)
267
+ r || (s += "/"), s += u.value.replace(Pt, "\\$&"), i += T.Static;
268
+ else if (u.type === V.Param) {
269
+ const { value: w, repeatable: b, optional: k, regexp: N } = u;
270
+ p.push({
271
+ name: w,
272
+ repeatable: b,
273
+ optional: k
274
+ });
275
+ const R = N || Te;
276
+ if (R !== Te) {
277
+ i += T.BonusCustomRegExp;
278
+ try {
279
+ `${R}`;
280
+ } catch (D) {
281
+ throw new Error(`Invalid custom RegExp for param "${w}" (${R}): ` + D.message);
282
+ }
283
+ }
284
+ let x = b ? `((?:${R})(?:/(?:${R}))*)` : `(${R})`;
285
+ r || (x = k && h.length < 2 ? `(?:/${x})` : "/" + x), k && (x += "?"), s += x, i += T.Dynamic, k && (i += T.BonusOptional), b && (i += T.BonusRepeatable), R === ".*" && (i += T.BonusWildcard);
286
+ }
287
+ c.push(i);
288
+ }
289
+ o.push(c);
290
+ }
291
+ if (t.strict && t.end) {
292
+ const h = o.length - 1;
293
+ o[h][o[h].length - 1] += T.BonusStrict;
294
+ }
295
+ t.strict || (s += "/?"), t.end ? s += "$" : t.strict && !s.endsWith("/") && (s += "(?:/|$)");
296
+ const g = new RegExp(s, t.sensitive ? "" : "i");
297
+ function v(h) {
298
+ const c = h.match(g), r = {};
299
+ if (!c) return null;
300
+ for (let u = 1; u < c.length; u++) {
301
+ const i = c[u] || "", w = p[u - 1];
302
+ r[w.name] = i && w.repeatable ? i.split("/") : i;
303
+ }
304
+ return r;
305
+ }
306
+ function l(h) {
307
+ let c = "", r = !1;
308
+ for (const u of e) {
309
+ (!r || !c.endsWith("/")) && (c += "/"), r = !1;
310
+ for (const i of u) if (i.type === V.Static) c += i.value;
311
+ else if (i.type === V.Param) {
312
+ const { value: w, repeatable: b, optional: k } = i, N = w in h ? h[w] : "";
313
+ if (ne(N) && !b) throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);
314
+ const R = ne(N) ? N.join("/") : N;
315
+ if (!R) if (k)
316
+ u.length < 2 && (c.endsWith("/") ? c = c.slice(0, -1) : r = !0);
317
+ else throw new Error(`Missing required param "${w}"`);
318
+ c += R;
319
+ }
320
+ }
321
+ return c || "/";
322
+ }
323
+ return {
324
+ re: g,
325
+ score: o,
326
+ keys: p,
327
+ parse: v,
328
+ stringify: l
329
+ };
330
+ }
331
+ function kt(e, a) {
332
+ let t = 0;
333
+ for (; t < e.length && t < a.length; ) {
334
+ const o = a[t] - e[t];
335
+ if (o) return o;
336
+ t++;
337
+ }
338
+ return e.length < a.length ? e.length === 1 && e[0] === T.Static + T.Segment ? -1 : 1 : e.length > a.length ? a.length === 1 && a[0] === T.Static + T.Segment ? 1 : -1 : 0;
339
+ }
340
+ function qe(e, a) {
341
+ let t = 0;
342
+ const o = e.score, s = a.score;
343
+ for (; t < o.length && t < s.length; ) {
344
+ const p = kt(o[t], s[t]);
345
+ if (p) return p;
346
+ t++;
347
+ }
348
+ if (Math.abs(s.length - o.length) === 1) {
349
+ if (_e(o)) return 1;
350
+ if (_e(s)) return -1;
351
+ }
352
+ return s.length - o.length;
353
+ }
354
+ function _e(e) {
355
+ const a = e[e.length - 1];
356
+ return e.length > 0 && a[a.length - 1] < 0;
357
+ }
358
+ const Nt = {
359
+ strict: !1,
360
+ end: !0,
361
+ sensitive: !1
362
+ };
363
+ function Ot(e, a, t) {
364
+ const o = xt(At(e.path), t), s = P(o, {
365
+ record: e,
366
+ parent: a,
367
+ children: [],
368
+ alias: []
369
+ });
370
+ return a && !s.record.aliasOf == !a.record.aliasOf && a.children.push(s), s;
371
+ }
372
+ function St(e, a) {
373
+ const t = [], o = /* @__PURE__ */ new Map();
374
+ a = ke(Nt, a);
375
+ function s(r) {
376
+ return o.get(r);
377
+ }
378
+ function p(r, u, i) {
379
+ const w = !i, b = Le(r);
380
+ b.aliasOf = i && i.record;
381
+ const k = ke(a, r), N = [b];
382
+ if ("alias" in r) {
383
+ const D = typeof r.alias == "string" ? [r.alias] : r.alias;
384
+ for (const G of D) N.push(Le(P({}, b, {
385
+ components: i ? i.record.components : b.components,
386
+ path: G,
387
+ aliasOf: i ? i.record : b
388
+ })));
389
+ }
390
+ let R, x;
391
+ for (const D of N) {
392
+ const { path: G } = D;
393
+ if (u && G[0] !== "/") {
394
+ const M = u.record.path, L = M[M.length - 1] === "/" ? "" : "/";
395
+ D.path = u.record.path + (G && L + G);
396
+ }
397
+ if (R = Ot(D, u, k), i ? i.alias.push(R) : (x = x || R, x !== R && x.alias.push(R), w && r.name && !$e(R) && g(r.name)), ze(R) && l(R), b.children) {
398
+ const M = b.children;
399
+ for (let L = 0; L < M.length; L++) p(M[L], R, i && i.children[L]);
400
+ }
401
+ i = i || R;
402
+ }
403
+ return x ? () => {
404
+ g(x);
405
+ } : J;
406
+ }
407
+ function g(r) {
408
+ if (He(r)) {
409
+ const u = o.get(r);
410
+ u && (o.delete(r), t.splice(t.indexOf(u), 1), u.children.forEach(g), u.alias.forEach(g));
411
+ } else {
412
+ const u = t.indexOf(r);
413
+ u > -1 && (t.splice(u, 1), r.record.name && o.delete(r.record.name), r.children.forEach(g), r.alias.forEach(g));
414
+ }
415
+ }
416
+ function v() {
417
+ return t;
418
+ }
419
+ function l(r) {
420
+ const u = Tt(r, t);
421
+ t.splice(u, 0, r), r.record.name && !$e(r) && o.set(r.record.name, r);
422
+ }
423
+ function h(r, u) {
424
+ let i, w = {}, b, k;
425
+ if ("name" in r && r.name) {
426
+ if (i = o.get(r.name), !i) throw ae(I.MATCHER_NOT_FOUND, { location: r });
427
+ k = i.record.name, w = P(De(u.params, i.keys.filter((x) => !x.optional).concat(i.parent ? i.parent.keys.filter((x) => x.optional) : []).map((x) => x.name)), r.params && De(r.params, i.keys.map((x) => x.name))), b = i.stringify(w);
428
+ } else if (r.path != null)
429
+ b = r.path, i = t.find((x) => x.re.test(b)), i && (w = i.parse(b), k = i.record.name);
430
+ else {
431
+ if (i = u.name ? o.get(u.name) : t.find((x) => x.re.test(u.path)), !i) throw ae(I.MATCHER_NOT_FOUND, {
432
+ location: r,
433
+ currentLocation: u
434
+ });
435
+ k = i.record.name, w = P({}, u.params, r.params), b = i.stringify(w);
436
+ }
437
+ const N = [];
438
+ let R = i;
439
+ for (; R; )
440
+ N.unshift(R.record), R = R.parent;
441
+ return {
442
+ name: k,
443
+ path: b,
444
+ params: w,
445
+ matched: N,
446
+ meta: It(N)
447
+ };
448
+ }
449
+ e.forEach((r) => p(r));
450
+ function c() {
451
+ t.length = 0, o.clear();
452
+ }
453
+ return {
454
+ addRoute: p,
455
+ resolve: h,
456
+ removeRoute: g,
457
+ clearRoutes: c,
458
+ getRoutes: v,
459
+ getRecordMatcher: s
460
+ };
461
+ }
462
+ function De(e, a) {
463
+ const t = {};
464
+ for (const o of a) o in e && (t[o] = e[o]);
465
+ return t;
466
+ }
467
+ function Le(e) {
468
+ const a = {
469
+ path: e.path,
470
+ redirect: e.redirect,
471
+ name: e.name,
472
+ meta: e.meta || {},
473
+ aliasOf: e.aliasOf,
474
+ beforeEnter: e.beforeEnter,
475
+ props: Ct(e),
476
+ children: e.children || [],
477
+ instances: {},
478
+ leaveGuards: /* @__PURE__ */ new Set(),
479
+ updateGuards: /* @__PURE__ */ new Set(),
480
+ enterCallbacks: {},
481
+ components: "components" in e ? e.components || null : e.component && { default: e.component }
482
+ };
483
+ return Object.defineProperty(a, "mods", { value: {} }), a;
484
+ }
485
+ function Ct(e) {
486
+ const a = {}, t = e.props || !1;
487
+ if ("component" in e) a.default = t;
488
+ else for (const o in e.components) a[o] = typeof t == "object" ? t[o] : t;
489
+ return a;
490
+ }
491
+ function $e(e) {
492
+ for (; e; ) {
493
+ if (e.record.aliasOf) return !0;
494
+ e = e.parent;
495
+ }
496
+ return !1;
497
+ }
498
+ function It(e) {
499
+ return e.reduce((a, t) => P(a, t.meta), {});
500
+ }
501
+ function Tt(e, a) {
502
+ let t = 0, o = a.length;
503
+ for (; t !== o; ) {
504
+ const p = t + o >> 1;
505
+ qe(e, a[p]) < 0 ? o = p : t = p + 1;
506
+ }
507
+ const s = _t(e);
508
+ return s && (o = a.lastIndexOf(s, o - 1)), o;
509
+ }
510
+ function _t(e) {
511
+ let a = e;
512
+ for (; a = a.parent; ) if (ze(a) && qe(e, a) === 0) return a;
513
+ }
514
+ function ze({ record: e }) {
515
+ return !!(e.name || e.components && Object.keys(e.components).length || e.redirect);
516
+ }
517
+ function Be(e) {
518
+ const a = U(oe), t = U(we);
519
+ let o = !1, s = null;
520
+ const p = $(() => {
521
+ const c = X(e.to);
522
+ return a.resolve(c);
523
+ }), g = $(() => {
524
+ const { matched: c } = p.value, { length: r } = c, u = c[r - 1], i = t.matched;
525
+ if (!u || !i.length) return -1;
526
+ const w = i.findIndex(ge.bind(null, u));
527
+ if (w > -1) return w;
528
+ const b = Ge(c[r - 2]);
529
+ return r > 1 && Ge(u) === b && i[i.length - 1].path !== b ? i.findIndex(ge.bind(null, c[r - 2])) : w;
530
+ }), v = $(() => g.value > -1 && Gt(t.params, p.value.params)), l = $(() => g.value > -1 && g.value === t.matched.length - 1 && Xe(t.params, p.value.params));
531
+ function h(c = {}) {
532
+ if (Bt(c)) {
533
+ const r = a[X(e.replace) ? "replace" : "push"](X(e.to)).catch(J);
534
+ return e.viewTransition && typeof document < "u" && "startViewTransition" in document && document.startViewTransition(() => r), r;
535
+ }
536
+ return Promise.resolve();
537
+ }
538
+ return {
539
+ route: p,
540
+ href: $(() => p.value.href),
541
+ isActive: v,
542
+ isExactActive: l,
543
+ navigate: h
544
+ };
545
+ }
546
+ function Dt(e) {
547
+ return e.length === 1 ? e[0] : e;
548
+ }
549
+ const Lt = /* @__PURE__ */ We({
550
+ name: "RouterLink",
551
+ compatConfig: { MODE: 3 },
552
+ props: {
553
+ to: {
554
+ type: [String, Object],
555
+ required: !0
556
+ },
557
+ replace: Boolean,
558
+ activeClass: String,
559
+ exactActiveClass: String,
560
+ custom: Boolean,
561
+ ariaCurrentValue: {
562
+ type: String,
563
+ default: "page"
564
+ },
565
+ viewTransition: Boolean
566
+ },
567
+ useLink: Be,
568
+ setup(e, { slots: a }) {
569
+ const t = ut(Be(e)), { options: o } = U(oe), s = $(() => ({
570
+ [Me(e.activeClass, o.linkActiveClass, "router-link-active")]: t.isActive,
571
+ [Me(e.exactActiveClass, o.linkExactActiveClass, "router-link-exact-active")]: t.isExactActive
572
+ }));
573
+ return () => {
574
+ const p = a.default && Dt(a.default(t));
575
+ return e.custom ? p : Ke("a", {
576
+ "aria-current": t.isExactActive ? e.ariaCurrentValue : null,
577
+ href: t.href,
578
+ onClick: t.navigate,
579
+ class: s.value
580
+ }, p);
581
+ };
582
+ }
583
+ }), $t = Lt;
584
+ function Bt(e) {
585
+ if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && !e.defaultPrevented && !(e.button !== void 0 && e.button !== 0)) {
586
+ if (e.currentTarget && e.currentTarget.getAttribute) {
587
+ const a = e.currentTarget.getAttribute("target");
588
+ if (/\b_blank\b/i.test(a)) return;
589
+ }
590
+ return e.preventDefault && e.preventDefault(), !0;
591
+ }
592
+ }
593
+ function Gt(e, a) {
594
+ for (const t in a) {
595
+ const o = a[t], s = e[t];
596
+ if (typeof o == "string") {
597
+ if (o !== s) return !1;
598
+ } else if (!ne(s) || s.length !== o.length || o.some((p, g) => p !== s[g])) return !1;
599
+ }
600
+ return !0;
601
+ }
602
+ function Ge(e) {
603
+ return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
604
+ }
605
+ const Me = (e, a, t) => e ?? a ?? t, Mt = /* @__PURE__ */ We({
606
+ name: "RouterView",
607
+ inheritAttrs: !1,
608
+ props: {
609
+ name: {
610
+ type: String,
611
+ default: "default"
612
+ },
613
+ route: Object
614
+ },
615
+ compatConfig: { MODE: 3 },
616
+ setup(e, { attrs: a, slots: t }) {
617
+ const o = U(ye), s = $(() => e.route || o.value), p = U(Ne, 0), g = $(() => {
618
+ let h = X(p);
619
+ const { matched: c } = s.value;
620
+ let r;
621
+ for (; (r = c[h]) && !r.components; ) h++;
622
+ return h;
623
+ }), v = $(() => s.value.matched[g.value]);
624
+ ve(Ne, $(() => g.value + 1)), ve(Ye, v), ve(ye, s);
625
+ const l = ft();
626
+ return ht(() => [
627
+ l.value,
628
+ v.value,
629
+ e.name
630
+ ], ([h, c, r], [u, i, w]) => {
631
+ c && (c.instances[r] = h, i && i !== c && h && h === u && (c.leaveGuards.size || (c.leaveGuards = i.leaveGuards), c.updateGuards.size || (c.updateGuards = i.updateGuards))), h && c && (!i || !ge(c, i) || !u) && (c.enterCallbacks[r] || []).forEach((b) => b(h));
632
+ }, { flush: "post" }), () => {
633
+ const h = s.value, c = e.name, r = v.value, u = r && r.components[c];
634
+ if (!u) return je(t.default, {
635
+ Component: u,
636
+ route: h
637
+ });
638
+ const i = r.props[c], w = i ? i === !0 ? h.params : typeof i == "function" ? i(h) : i : null, k = Ke(u, P({}, w, a, {
639
+ onVnodeUnmounted: (N) => {
640
+ N.component.isUnmounted && (r.instances[c] = null);
641
+ },
642
+ ref: l
643
+ }));
644
+ return je(t.default, {
645
+ Component: k,
646
+ route: h
647
+ }) || k;
648
+ };
649
+ }
650
+ });
651
+ function je(e, a) {
652
+ if (!e) return null;
653
+ const t = e(a);
654
+ return t.length === 1 ? t[0] : t;
655
+ }
656
+ const jt = Mt;
657
+ function Zt(e) {
658
+ const a = St(e.routes, e), t = e.parseQuery || et, o = e.stringifyQuery || Oe, s = e.history, p = z(), g = z(), v = z(), l = dt(j);
659
+ let h = j;
660
+ Q && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
661
+ const c = de.bind(null, (n) => "" + n), r = de.bind(null, tt), u = de.bind(null, Se);
662
+ function i(n, d) {
663
+ let f, m;
664
+ return He(n) ? (f = a.getRecordMatcher(n), m = d) : m = n, a.addRoute(m, f);
665
+ }
666
+ function w(n) {
667
+ const d = a.getRecordMatcher(n);
668
+ d && a.removeRoute(d);
669
+ }
670
+ function b() {
671
+ return a.getRoutes().map((n) => n.record);
672
+ }
673
+ function k(n) {
674
+ return !!a.getRecordMatcher(n);
675
+ }
676
+ function N(n, d) {
677
+ if (d = P({}, d || l.value), typeof n == "string") {
678
+ const y = pe(t, n, d.path), S = a.resolve({ path: y.path }, d), q = s.createHref(y.fullPath);
679
+ return P(y, S, {
680
+ params: u(S.params),
681
+ hash: Se(y.hash),
682
+ redirectedFrom: void 0,
683
+ href: q
684
+ });
685
+ }
686
+ let f;
687
+ if (n.path != null)
688
+ f = P({}, n, { path: pe(t, n.path, d.path).path });
689
+ else {
690
+ const y = P({}, n.params);
691
+ for (const S in y) y[S] == null && delete y[S];
692
+ f = P({}, n, { params: r(y) }), d.params = r(d.params);
693
+ }
694
+ const m = a.resolve(f, d), A = n.hash || "";
695
+ m.params = c(u(m.params));
696
+ const O = nt(o, P({}, n, {
697
+ hash: at(A),
698
+ path: m.path
699
+ })), E = s.createHref(O);
700
+ return P({
701
+ fullPath: O,
702
+ hash: A,
703
+ query: o === Oe ? rt(n.query) : n.query || {}
704
+ }, m, {
705
+ redirectedFrom: void 0,
706
+ href: E
707
+ });
708
+ }
709
+ function R(n) {
710
+ return typeof n == "string" ? pe(t, n, l.value.path) : P({}, n);
711
+ }
712
+ function x(n, d) {
713
+ if (h !== n) return ae(I.NAVIGATION_CANCELLED, {
714
+ from: d,
715
+ to: n
716
+ });
717
+ }
718
+ function D(n) {
719
+ return L(n);
720
+ }
721
+ function G(n) {
722
+ return D(P(R(n), { replace: !0 }));
723
+ }
724
+ function M(n, d) {
725
+ const f = n.matched[n.matched.length - 1];
726
+ if (f && f.redirect) {
727
+ const { redirect: m } = f;
728
+ let A = typeof m == "function" ? m(n, d) : m;
729
+ return typeof A == "string" && (A = A.includes("?") || A.includes("#") ? A = R(A) : { path: A }, A.params = {}), P({
730
+ query: n.query,
731
+ hash: n.hash,
732
+ params: A.path != null ? {} : n.params
733
+ }, A);
734
+ }
735
+ }
736
+ function L(n, d) {
737
+ const f = h = N(n), m = l.value, A = n.state, O = n.force, E = n.replace === !0, y = M(f, m);
738
+ if (y) return L(P(R(y), {
739
+ state: typeof y == "object" ? P({}, A, y.state) : A,
740
+ force: O,
741
+ replace: E
742
+ }), d || f);
743
+ const S = f;
744
+ S.redirectedFrom = d;
745
+ let q;
746
+ return !O && ot(o, m, f) && (q = ae(I.NAVIGATION_DUPLICATED, {
747
+ to: S,
748
+ from: m
749
+ }), Pe(m, m, !0, !1)), (q ? Promise.resolve(q) : Re(S, m)).catch((_) => B(_) ? B(_, I.NAVIGATION_GUARD_REDIRECT) ? _ : ce(_) : le(_, S, m)).then((_) => {
750
+ if (_) {
751
+ if (B(_, I.NAVIGATION_GUARD_REDIRECT))
752
+ return L(P({ replace: E }, R(_.to), {
753
+ state: typeof _.to == "object" ? P({}, A, _.to.state) : A,
754
+ force: O
755
+ }), d || S);
756
+ } else _ = Ae(S, m, !0, E, A);
757
+ return Ee(S, m, _), _;
758
+ });
759
+ }
760
+ function Qe(n, d) {
761
+ const f = x(n, d);
762
+ return f ? Promise.reject(f) : Promise.resolve();
763
+ }
764
+ function ie(n) {
765
+ const d = ee.values().next().value;
766
+ return d && typeof d.runWithContext == "function" ? d.runWithContext(n) : n();
767
+ }
768
+ function Re(n, d) {
769
+ let f;
770
+ const [m, A, O] = it(n, d);
771
+ f = me(m.reverse(), "beforeRouteLeave", n, d);
772
+ for (const y of m) y.leaveGuards.forEach((S) => {
773
+ f.push(W(S, n, d));
774
+ });
775
+ const E = Qe.bind(null, n, d);
776
+ return f.push(E), H(f).then(() => {
777
+ f = [];
778
+ for (const y of p.list()) f.push(W(y, n, d));
779
+ return f.push(E), H(f);
780
+ }).then(() => {
781
+ f = me(A, "beforeRouteUpdate", n, d);
782
+ for (const y of A) y.updateGuards.forEach((S) => {
783
+ f.push(W(S, n, d));
784
+ });
785
+ return f.push(E), H(f);
786
+ }).then(() => {
787
+ f = [];
788
+ for (const y of O) if (y.beforeEnter) if (ne(y.beforeEnter)) for (const S of y.beforeEnter) f.push(W(S, n, d));
789
+ else f.push(W(y.beforeEnter, n, d));
790
+ return f.push(E), H(f);
791
+ }).then(() => (n.matched.forEach((y) => y.enterCallbacks = {}), f = me(O, "beforeRouteEnter", n, d, ie), f.push(E), H(f))).then(() => {
792
+ f = [];
793
+ for (const y of g.list()) f.push(W(y, n, d));
794
+ return f.push(E), H(f);
795
+ }).catch((y) => B(y, I.NAVIGATION_CANCELLED) ? y : Promise.reject(y));
796
+ }
797
+ function Ee(n, d, f) {
798
+ v.list().forEach((m) => ie(() => m(n, d, f)));
799
+ }
800
+ function Ae(n, d, f, m, A) {
801
+ const O = x(n, d);
802
+ if (O) return O;
803
+ const E = d === j, y = Q ? history.state : {};
804
+ f && (m || E ? s.replace(n.fullPath, P({ scroll: E && y && y.scroll }, A)) : s.push(n.fullPath, A)), l.value = n, Pe(n, d, f, E), ce();
805
+ }
806
+ let K;
807
+ function Ze() {
808
+ K || (K = s.listen((n, d, f) => {
809
+ if (!F.listening) return;
810
+ const m = N(n), A = M(m, F.currentRoute.value);
811
+ if (A) {
812
+ L(P(A, {
813
+ replace: !0,
814
+ force: !0
815
+ }), m).catch(J);
816
+ return;
817
+ }
818
+ h = m;
819
+ const O = l.value;
820
+ Q && st(Ce(O.fullPath, f.delta), re()), Re(m, O).catch((E) => B(E, I.NAVIGATION_ABORTED | I.NAVIGATION_CANCELLED) ? E : B(E, I.NAVIGATION_GUARD_REDIRECT) ? (L(P(R(E.to), { force: !0 }), m).then((y) => {
821
+ B(y, I.NAVIGATION_ABORTED | I.NAVIGATION_DUPLICATED) && !f.delta && f.type === te.pop && s.go(-1, !1);
822
+ }).catch(J), Promise.reject()) : (f.delta && s.go(-f.delta, !1), le(E, m, O))).then((E) => {
823
+ E = E || Ae(m, O, !1), E && (f.delta && !B(E, I.NAVIGATION_CANCELLED) ? s.go(-f.delta, !1) : f.type === te.pop && B(E, I.NAVIGATION_ABORTED | I.NAVIGATION_DUPLICATED) && s.go(-1, !1)), Ee(m, O, E);
824
+ }).catch(J);
825
+ }));
826
+ }
827
+ let se = z(), be = z(), Y;
828
+ function le(n, d, f) {
829
+ ce(n);
830
+ const m = be.list();
831
+ return m.length ? m.forEach((A) => A(n, d, f)) : console.error(n), Promise.reject(n);
832
+ }
833
+ function Je() {
834
+ return Y && l.value !== j ? Promise.resolve() : new Promise((n, d) => {
835
+ se.add([n, d]);
836
+ });
837
+ }
838
+ function ce(n) {
839
+ return Y || (Y = !n, Ze(), se.list().forEach(([d, f]) => n ? f(n) : d()), se.reset()), n;
840
+ }
841
+ function Pe(n, d, f, m) {
842
+ const { scrollBehavior: A } = e;
843
+ if (!Q || !A) return Promise.resolve();
844
+ const O = !f && lt(Ce(n.fullPath, 0)) || (m || !f) && history.state && history.state.scroll || null;
845
+ return pt().then(() => A(n, d, O)).then((E) => E && ct(E)).catch((E) => le(E, n, d));
846
+ }
847
+ const ue = (n) => s.go(n);
848
+ let fe;
849
+ const ee = /* @__PURE__ */ new Set(), F = {
850
+ currentRoute: l,
851
+ listening: !0,
852
+ addRoute: i,
853
+ removeRoute: w,
854
+ clearRoutes: a.clearRoutes,
855
+ hasRoute: k,
856
+ getRoutes: b,
857
+ resolve: N,
858
+ options: e,
859
+ push: D,
860
+ replace: G,
861
+ go: ue,
862
+ back: () => ue(-1),
863
+ forward: () => ue(1),
864
+ beforeEach: p.add,
865
+ beforeResolve: g.add,
866
+ afterEach: v.add,
867
+ onError: be.add,
868
+ isReady: Je,
869
+ install(n) {
870
+ n.component("RouterLink", $t), n.component("RouterView", jt), n.config.globalProperties.$router = F, Object.defineProperty(n.config.globalProperties, "$route", {
871
+ enumerable: !0,
872
+ get: () => X(l)
873
+ }), Q && !fe && l.value === j && (fe = !0, D(s.location).catch((m) => {
874
+ }));
875
+ const d = {};
876
+ for (const m in j) Object.defineProperty(d, m, {
877
+ get: () => l.value[m],
878
+ enumerable: !0
879
+ });
880
+ n.provide(oe, F), n.provide(we, mt(d)), n.provide(ye, l);
881
+ const f = n.unmount;
882
+ ee.add(n), n.unmount = function() {
883
+ ee.delete(n), ee.size < 1 && (h = j, K && K(), K = null, l.value = j, fe = !1, Y = !1), f();
884
+ };
885
+ }
886
+ };
887
+ function H(n) {
888
+ return n.reduce((d, f) => d.then(() => ie(f)), Promise.resolve());
889
+ }
890
+ return F;
891
+ }
892
+ function Jt() {
893
+ return U(oe);
894
+ }
895
+ function Xt(e) {
896
+ return U(we);
6
897
  }
7
898
  export {
8
- f as matchedRouteKey,
9
- n as onBeforeRouteLeave,
10
- e as routerKey,
11
- u as useRouter
899
+ tn as NavigationFailureType,
900
+ $t as RouterLink,
901
+ jt as RouterView,
902
+ j as START_LOCATION,
903
+ zt as createMemoryHistory,
904
+ Zt as createRouter,
905
+ St as createRouterMatcher,
906
+ Qt as createWebHashHistory,
907
+ wt as createWebHistory,
908
+ B as isNavigationFailure,
909
+ nn as loadRouteLocation,
910
+ Ye as matchedRouteKey,
911
+ an as onBeforeRouteLeave,
912
+ rn as onBeforeRouteUpdate,
913
+ et as parseQuery,
914
+ we as routeLocationKey,
915
+ oe as routerKey,
916
+ ye as routerViewLocationKey,
917
+ Oe as stringifyQuery,
918
+ Be as useLink,
919
+ Xt as useRoute,
920
+ Jt as useRouter,
921
+ Ne as viewDepthKey
12
922
  };