web-core-tcm 0.0.59 → 0.0.61
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.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -1
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -1
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +5 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -1,256 +1,207 @@
|
|
|
1
|
-
import {
|
|
2
|
-
let
|
|
1
|
+
import { newInstance as g, pushItem as x, trueValue as q, createEventManager as Re, undefinedValue as m, createAssert as ke, getConfig as A, isPlainObject as oe, forEach as K, filterItem as $, objectKeys as L, isFn as H, getContextOptions as qe, mapItem as M, isArray as $e, deleteAttr as U, falseValue as W, len as R, usePromise as We, setTimeoutFn as je, key as Ge, promiseThen as D, promiseCatch as Ve, promiseFinally as ve, isAlovaCacheKey as Je, JSONParse as Ye, JSONStringify as ze, instanceOf as ae, isString as be, promiseResolve as Qe, PromiseCls as v, getOptions as Xe, noop as fe, getMethodInternalKey as ne, getLocalCacheConfigParam as Ze, getContext as ce, $self as me, isSpecialRequestBody as Ie, sloughFunction as et, buildCompletedURL as tt, promiseReject as st, objAssign as ot, isSSR as at, MEMORY as nt, STORAGE_RESTORE as Q, deepClone as ct, buildNamespacedCacheKey as re, getTime as xe, RegExpCls as ie } from "../../@alova/shared/dist/alova-shared.esm.js";
|
|
2
|
+
let Ee = {
|
|
3
3
|
autoHitCache: "global",
|
|
4
|
-
ssr:
|
|
4
|
+
ssr: at
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
const J = "color: black; font-size: 12px; font-weight: bolder";
|
|
13
|
-
var rt = (s, e, t, o) => {
|
|
14
|
-
const a = console, r = (...l) => console.log(...l), { url: n } = e, c = t === K, h = "\x1B[42m%s\x1B[49m", d = "\x1B[32m%s\x1B[39m", i = ` [HitCache]${n} `, u = () => Array(x(i) + 1).join("^");
|
|
15
|
-
X.ssr ? (r(h, i), r(d, " Cache ", s), r(d, " Mode ", t), c && r(d, " Tag ", o), r(d, u())) : (a.groupCollapsed ? a.groupCollapsed("%cHitCache", "padding: 2px 6px; background: #c4fcd3; color: #53b56d;", n) : r(h, i), r("%c[Cache]", J, s), r("%c[Mode]", J, t), c && r("%c[Tag]", J, o), r("%c[Method]", J, e), a.groupEnd ? a.groupEnd() : r(d, u()));
|
|
6
|
+
const k = "color: black; font-size: 12px; font-weight: bolder";
|
|
7
|
+
var rt = (a, e, t, o) => {
|
|
8
|
+
const s = console, l = (...i) => console.log(...i), { url: n } = e, c = t === Q, p = "\x1B[42m%s\x1B[49m", d = "\x1B[32m%s\x1B[39m", r = ` [HitCache]${n} `, h = () => Array(R(r) + 1).join("^");
|
|
9
|
+
Ee.ssr ? (l(p, r), l(d, " Cache ", a), l(d, " Mode ", t), c && l(d, " Tag ", o), l(d, h())) : (s.groupCollapsed ? s.groupCollapsed("%cHitCache", "padding: 2px 6px; background: #c4fcd3; color: #53b56d;", n) : l(p, r), l("%c[Cache]", k, a), l("%c[Mode]", k, t), c && l("%c[Tag]", k, o), l("%c[Method]", k, e), s.groupEnd ? s.groupEnd() : l(d, h()));
|
|
16
10
|
};
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
if (o >
|
|
21
|
-
const c =
|
|
22
|
-
if (await
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
|
|
11
|
+
const X = (a) => `hss.${a}`, He = "hsr.", Z = (a) => He + a, j = "$$hsrs", Pe = "__$<>$__", I = (a, e) => {
|
|
12
|
+
a[e] = 0;
|
|
13
|
+
}, Y = async (a, e, t, o, s, l, n) => {
|
|
14
|
+
if (o > xe() && t) {
|
|
15
|
+
const c = re(a, e);
|
|
16
|
+
if (await s.set(c, $([t, o === 1 / 0 ? m : o, n], Boolean)), l) {
|
|
17
|
+
const p = {}, d = [];
|
|
18
|
+
K(l, (i) => {
|
|
19
|
+
const u = ae(i, ie), S = u ? i.source + (i.flags ? Pe + i.flags : "") : i;
|
|
20
|
+
S && (u && !p[S] && x(d, S), I(p, u ? Z(S) : X(S)));
|
|
27
21
|
});
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
}),
|
|
32
|
-
if (
|
|
33
|
-
const
|
|
34
|
-
|
|
22
|
+
const r = M(L(p), async (i) => {
|
|
23
|
+
const u = await s.get(i) || {};
|
|
24
|
+
I(u, c), await s.set(i, u);
|
|
25
|
+
}), h = async () => {
|
|
26
|
+
if (R(d)) {
|
|
27
|
+
const i = await s.get(j) || [];
|
|
28
|
+
x(i, ...d), await s.set(j, i);
|
|
35
29
|
}
|
|
36
30
|
};
|
|
37
|
-
await
|
|
31
|
+
await v.all([...r, h()]);
|
|
38
32
|
}
|
|
39
33
|
}
|
|
40
|
-
},
|
|
41
|
-
const o =
|
|
34
|
+
}, it = async (a, e, t) => {
|
|
35
|
+
const o = re(a, e);
|
|
42
36
|
await t.remove(o);
|
|
43
|
-
},
|
|
44
|
-
const
|
|
45
|
-
if (
|
|
46
|
-
const [
|
|
47
|
-
if (c === o && (!n || n >
|
|
48
|
-
return
|
|
49
|
-
await
|
|
37
|
+
}, Ke = async (a, e, t, o) => {
|
|
38
|
+
const s = await t.get(re(a, e));
|
|
39
|
+
if (s) {
|
|
40
|
+
const [l, n, c] = s;
|
|
41
|
+
if (c === o && (!n || n > xe()))
|
|
42
|
+
return s;
|
|
43
|
+
await it(a, e, t);
|
|
50
44
|
}
|
|
51
|
-
},
|
|
52
|
-
const
|
|
53
|
-
return
|
|
54
|
-
},
|
|
55
|
-
const o = `${e}`,
|
|
56
|
-
|
|
45
|
+
}, lt = async (a, e, t, o) => {
|
|
46
|
+
const s = await Ke(a, e, t, o);
|
|
47
|
+
return s ? s[0] : m;
|
|
48
|
+
}, ht = async (a, e, t) => {
|
|
49
|
+
const o = `${e}`, s = {}, l = X(a);
|
|
50
|
+
s[l] = await t.get(l);
|
|
57
51
|
let n;
|
|
58
52
|
if (e) {
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
const
|
|
62
|
-
n &&
|
|
63
|
-
const [
|
|
64
|
-
g(
|
|
65
|
-
}), await
|
|
66
|
-
const
|
|
67
|
-
|
|
53
|
+
const r = X(o);
|
|
54
|
+
s[r] = await t.get(r), n = await t.get(j);
|
|
55
|
+
const h = [];
|
|
56
|
+
n && R(n) && (K(n, (i) => {
|
|
57
|
+
const [u, S] = i.split(Pe);
|
|
58
|
+
g(ie, u, S).test(o) && x(h, i);
|
|
59
|
+
}), await v.all(M(h, async (i) => {
|
|
60
|
+
const u = Z(i);
|
|
61
|
+
s[u] = await t.get(u);
|
|
68
62
|
})));
|
|
69
63
|
}
|
|
70
|
-
const c = async (
|
|
64
|
+
const c = async (r) => {
|
|
71
65
|
try {
|
|
72
|
-
await t.remove(
|
|
73
|
-
for (const
|
|
74
|
-
const
|
|
75
|
-
|
|
66
|
+
await t.remove(r);
|
|
67
|
+
for (const h in s) {
|
|
68
|
+
const i = s[h];
|
|
69
|
+
i && U(i, r);
|
|
76
70
|
}
|
|
77
71
|
} catch {
|
|
78
72
|
}
|
|
79
|
-
},
|
|
80
|
-
await
|
|
81
|
-
const
|
|
82
|
-
if (
|
|
83
|
-
const
|
|
84
|
-
for (const
|
|
85
|
-
|
|
86
|
-
await
|
|
73
|
+
}, p = {};
|
|
74
|
+
await v.all(M(L(s), async (r) => {
|
|
75
|
+
const h = s[r];
|
|
76
|
+
if (h) {
|
|
77
|
+
const i = [];
|
|
78
|
+
for (const u in h)
|
|
79
|
+
p[u] || (I(p, u), x(i, c(u)));
|
|
80
|
+
await v.all(i);
|
|
87
81
|
}
|
|
88
82
|
}));
|
|
89
|
-
const d =
|
|
90
|
-
await
|
|
91
|
-
const
|
|
92
|
-
|
|
93
|
-
})), d !==
|
|
83
|
+
const d = R(n || []);
|
|
84
|
+
await v.all(M(L(s), async (r) => {
|
|
85
|
+
const h = s[r];
|
|
86
|
+
h && (R(L(h)) ? await t.set(r, h) : (await t.remove(r), r.includes(He) && n && (n = $(n, (i) => Z(i) !== r))));
|
|
87
|
+
})), d !== R(n || []) && await t.set(j, n);
|
|
94
88
|
};
|
|
95
|
-
var
|
|
96
|
-
const { data: e, config: t } =
|
|
97
|
-
o.headers = { ...
|
|
98
|
-
const c = g(
|
|
99
|
-
return
|
|
100
|
-
...
|
|
89
|
+
var ut = (a) => {
|
|
90
|
+
const { data: e, config: t } = a, o = { ...t }, { headers: s = {}, params: l = {} } = o, n = ce(a);
|
|
91
|
+
o.headers = { ...s }, o.params = be(l) ? l : { ...l };
|
|
92
|
+
const c = g(y, a.type, n, a.url, o, e);
|
|
93
|
+
return ot(c, {
|
|
94
|
+
...a,
|
|
101
95
|
config: o
|
|
102
96
|
});
|
|
103
97
|
};
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
if (c)
|
|
108
|
-
return n();
|
|
109
|
-
let u = e !== "l2" ? await O(t, r, o) : f;
|
|
110
|
-
return e === "l2" ? u = await O(t, r, a, i) : e === "all" && !u && h && d(K) > te() && (u = await O(t, r, a, i)), u;
|
|
111
|
-
}
|
|
112
|
-
}, Kt = async (s, e, { policy: t = "all" } = {}) => {
|
|
113
|
-
const a = (ge(s) ? s : [s]).map(async (r) => {
|
|
114
|
-
const { hitSource: n } = r, { id: c, l1Cache: h, l2Cache: d } = A(r), i = U(r), { e: u, s: l, t: p, c: y } = se(r);
|
|
115
|
-
if (y)
|
|
116
|
-
return;
|
|
117
|
-
let S = e;
|
|
118
|
-
if (b(e)) {
|
|
119
|
-
let M = t !== "l2" ? await O(c, i, h) : f;
|
|
120
|
-
if ((t === "l2" || t === "all" && !M && l && u(K) > te()) && (M = await O(c, i, d, p)), S = e(M), S === f)
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
return C.all([
|
|
124
|
-
t !== "l2" && q(c, i, S, u(Pe), h, n),
|
|
125
|
-
t === "l2" || t === "all" && l ? q(c, i, S, u(K), d, n, p) : f
|
|
126
|
-
]);
|
|
127
|
-
});
|
|
128
|
-
return C.all(a);
|
|
129
|
-
}, Pt = async (s) => {
|
|
130
|
-
if (!s) {
|
|
131
|
-
await C.all([xe(I), xe(ee)]);
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
const t = (ge(s) ? s : [s]).map((o) => {
|
|
135
|
-
const { id: a, l1Cache: r, l2Cache: n } = A(o), { c, m: h } = se(o);
|
|
136
|
-
if (c)
|
|
137
|
-
return;
|
|
138
|
-
const d = U(o);
|
|
139
|
-
return C.all([
|
|
140
|
-
he(a, d, r),
|
|
141
|
-
h === K ? he(a, d, n) : Ye()
|
|
142
|
-
]);
|
|
143
|
-
});
|
|
144
|
-
await C.all(t);
|
|
145
|
-
}, ht = async (s) => {
|
|
146
|
-
const { autoHitCache: e } = X, { l1Cache: t, l2Cache: o } = A(s), a = U(s), { name: r } = $(s), n = {
|
|
147
|
-
global: [...I, ...ee],
|
|
98
|
+
const pt = async (a) => {
|
|
99
|
+
const { autoHitCache: e } = Ee, { l1Cache: t, l2Cache: o } = ce(a), s = ne(a), { name: l } = A(a), n = {
|
|
100
|
+
global: [...te, ...se],
|
|
148
101
|
self: [t, o],
|
|
149
102
|
close: []
|
|
150
103
|
}[e];
|
|
151
|
-
n &&
|
|
152
|
-
},
|
|
153
|
-
function
|
|
154
|
-
let t =
|
|
155
|
-
const
|
|
104
|
+
n && R(n) && await v.all(M(n, (c) => ht(s, l, c)));
|
|
105
|
+
}, Ce = {};
|
|
106
|
+
function dt(a, e) {
|
|
107
|
+
let t = q, o;
|
|
108
|
+
const s = g(v, (n) => {
|
|
156
109
|
o = n;
|
|
157
110
|
});
|
|
158
111
|
return {
|
|
159
112
|
// request interrupt function
|
|
160
113
|
abort: () => {
|
|
161
|
-
D(
|
|
114
|
+
D(s, (n) => n && n.abort());
|
|
162
115
|
},
|
|
163
116
|
onDownload: (n) => {
|
|
164
|
-
D(
|
|
117
|
+
D(s, (c) => c && c.onDownload && c.onDownload(n));
|
|
165
118
|
},
|
|
166
119
|
onUpload: (n) => {
|
|
167
|
-
D(
|
|
120
|
+
D(s, (c) => c && c.onUpload && c.onUpload(n));
|
|
168
121
|
},
|
|
169
122
|
response: async () => {
|
|
170
|
-
const { beforeRequest: n =
|
|
171
|
-
let
|
|
123
|
+
const { beforeRequest: n = fe, responded: c, requestAdapter: p, cacheLogger: d } = Xe(a), r = ne(a), { s: h, t: i, m: u, e: S } = Ze(a), { id: E, l1Cache: G, l2Cache: he, snapshots: Me } = ce(a), { cacheFor: ue } = A(a), { hitSource: V } = a;
|
|
124
|
+
let T = await (H(ue) ? ue() : (
|
|
172
125
|
// If it is a forced request, skip the step of getting it from the cache
|
|
173
126
|
// Otherwise, determine whether to use cached data
|
|
174
|
-
e ?
|
|
127
|
+
e ? m : lt(E, r, G)
|
|
175
128
|
));
|
|
176
|
-
if (
|
|
177
|
-
const
|
|
178
|
-
if (
|
|
179
|
-
const [
|
|
180
|
-
await
|
|
129
|
+
if (u === Q && !T && !e) {
|
|
130
|
+
const f = await Ke(E, r, he, i);
|
|
131
|
+
if (f) {
|
|
132
|
+
const [w, P] = f;
|
|
133
|
+
await Y(E, r, w, P, G, V), T = w;
|
|
181
134
|
}
|
|
182
135
|
}
|
|
183
|
-
const
|
|
184
|
-
await n(
|
|
185
|
-
const { baseURL:
|
|
186
|
-
let
|
|
187
|
-
if (
|
|
188
|
-
|
|
189
|
-
else if (
|
|
190
|
-
const { onSuccess:
|
|
191
|
-
|
|
136
|
+
const C = ut(a);
|
|
137
|
+
await n(C);
|
|
138
|
+
const { baseURL: Te, url: Oe, type: De, data: Le } = C, { params: Ae = {}, headers: Ue = {}, transform: _e = me, shareRequest: Fe } = A(C), _ = Ce[E] = Ce[E] || {}, pe = C.data, de = Ie(pe);
|
|
139
|
+
let O = de ? m : _[r], F = me, B = m, N = fe;
|
|
140
|
+
if (H(c))
|
|
141
|
+
F = c;
|
|
142
|
+
else if (oe(c)) {
|
|
143
|
+
const { onSuccess: f, onError: w, onComplete: P } = c;
|
|
144
|
+
F = H(f) ? f : F, B = H(w) ? w : B, N = H(P) ? P : N;
|
|
192
145
|
}
|
|
193
|
-
if (
|
|
194
|
-
return o(),
|
|
195
|
-
if (t =
|
|
196
|
-
const
|
|
197
|
-
url:
|
|
198
|
-
type:
|
|
199
|
-
data:
|
|
200
|
-
headers:
|
|
201
|
-
},
|
|
202
|
-
|
|
146
|
+
if (T !== m)
|
|
147
|
+
return o(), C.fromCache = q, et(d, rt)(T, C, u, i), N(C), T;
|
|
148
|
+
if (t = W, !Fe || !O) {
|
|
149
|
+
const f = p({
|
|
150
|
+
url: tt(Te, Oe, Ae),
|
|
151
|
+
type: De,
|
|
152
|
+
data: Le,
|
|
153
|
+
headers: Ue
|
|
154
|
+
}, C);
|
|
155
|
+
O = _[r] = f;
|
|
203
156
|
}
|
|
204
|
-
o(
|
|
205
|
-
const
|
|
206
|
-
const
|
|
207
|
-
|
|
157
|
+
o(O);
|
|
158
|
+
const ge = async (f, w, P = q) => {
|
|
159
|
+
const Be = await f, J = await _e(Be, w || {});
|
|
160
|
+
Me.save(a);
|
|
208
161
|
try {
|
|
209
|
-
await
|
|
162
|
+
await pt(C);
|
|
210
163
|
} catch {
|
|
211
164
|
}
|
|
212
|
-
if ((!
|
|
165
|
+
if ((!pe || !de) && P)
|
|
213
166
|
try {
|
|
214
|
-
await
|
|
215
|
-
|
|
216
|
-
|
|
167
|
+
await v.all([
|
|
168
|
+
Y(E, r, J, S(nt), G, V),
|
|
169
|
+
h && Y(E, r, J, S(Q), he, V, i)
|
|
217
170
|
]);
|
|
218
171
|
} catch {
|
|
219
172
|
}
|
|
220
|
-
return
|
|
173
|
+
return ct(J);
|
|
221
174
|
};
|
|
222
|
-
return
|
|
175
|
+
return ve(D(v.all([O.response(), O.headers()]), ([f, w]) => (U(_, r), ge(F(f, C), w)), (f) => (U(_, r), H(B) ? (
|
|
223
176
|
// When responding to an error, if no error is thrown, the successful response process will be processed, but the data will not be cached.
|
|
224
|
-
|
|
225
|
-
) :
|
|
226
|
-
|
|
177
|
+
ge(B(f, C), m, W)
|
|
178
|
+
) : st(f))), () => {
|
|
179
|
+
N(C);
|
|
227
180
|
});
|
|
228
181
|
},
|
|
229
182
|
fromCache: () => t
|
|
230
183
|
};
|
|
231
184
|
}
|
|
232
|
-
const
|
|
233
|
-
const t = e.indexOf(
|
|
185
|
+
const ye = (a, e) => () => {
|
|
186
|
+
const t = e.indexOf(a);
|
|
234
187
|
t >= 0 && e.splice(t, 1);
|
|
235
188
|
};
|
|
236
|
-
class
|
|
237
|
-
constructor(e, t, o,
|
|
238
|
-
this.dhs = [], this.uhs = [], this.fromCache =
|
|
239
|
-
const n = () =>
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
n.
|
|
243
|
-
const
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
h[p] !== f && (d[p] = h[p]);
|
|
248
|
-
}), u !== f && (d[i] = u), l && (c.hitSource = L(ge(l) ? l : [l], (p) => pe(p, R) ? U(p) : p), N(a, "hitSource")), c.config = {
|
|
189
|
+
class y {
|
|
190
|
+
constructor(e, t, o, s, l) {
|
|
191
|
+
this.dhs = [], this.uhs = [], this.fromCache = m;
|
|
192
|
+
const n = () => n.a();
|
|
193
|
+
n.a = () => Qe(), e = e.toUpperCase();
|
|
194
|
+
const c = this, p = qe(t);
|
|
195
|
+
c.abort = n, c.baseURL = p.baseURL || "", c.url = o, c.type = e, c.context = t;
|
|
196
|
+
const d = {}, r = "cacheFor", h = oe(p[r]) ? p[r][e] : m, i = s && s.hitSource;
|
|
197
|
+
K(["timeout", "shareRequest"], (u) => {
|
|
198
|
+
p[u] !== m && (d[u] = p[u]);
|
|
199
|
+
}), h !== m && (d[r] = h), i && (c.hitSource = M($e(i) ? i : [i], (u) => ae(u, y) ? ne(u) : u), U(s, "hitSource")), c.config = {
|
|
249
200
|
...d,
|
|
250
201
|
headers: {},
|
|
251
202
|
params: {},
|
|
252
|
-
...
|
|
253
|
-
}, c.data =
|
|
203
|
+
...s || {}
|
|
204
|
+
}, c.data = l, c.meta = s ? s.meta : c.meta, c.key = c.generateKey();
|
|
254
205
|
}
|
|
255
206
|
/**
|
|
256
207
|
* Bind download progress callback function
|
|
@@ -259,7 +210,7 @@ class R {
|
|
|
259
210
|
* @return unbind function
|
|
260
211
|
*/
|
|
261
212
|
onDownload(e) {
|
|
262
|
-
return
|
|
213
|
+
return x(this.dhs, e), ye(e, this.dhs);
|
|
263
214
|
}
|
|
264
215
|
/**
|
|
265
216
|
* Bind upload progress callback function
|
|
@@ -268,24 +219,28 @@ class R {
|
|
|
268
219
|
* @return unbind function
|
|
269
220
|
*/
|
|
270
221
|
onUpload(e) {
|
|
271
|
-
return
|
|
222
|
+
return x(this.uhs, e), ye(e, this.uhs);
|
|
272
223
|
}
|
|
273
224
|
/**
|
|
274
225
|
* Send a request through a method instance and return a promise object
|
|
275
226
|
*/
|
|
276
|
-
send(e =
|
|
277
|
-
const t = this, { response: o, onDownload:
|
|
278
|
-
|
|
227
|
+
send(e = W) {
|
|
228
|
+
const t = this, { response: o, onDownload: s, onUpload: l, abort: n, fromCache: c } = dt(t, e);
|
|
229
|
+
R(t.dhs) > 0 && s((r, h) => K(t.dhs, (i) => i({ loaded: r, total: h }))), R(t.uhs) > 0 && l((r, h) => K(t.uhs, (i) => i({ loaded: r, total: h })));
|
|
230
|
+
const { promise: p, resolve: d } = We();
|
|
231
|
+
return t.abort.a = () => (n(), p), t.fromCache = m, t.promise = o().then((r) => (t.fromCache = c(), r)).finally(() => {
|
|
232
|
+
je(d);
|
|
233
|
+
}), t.promise;
|
|
279
234
|
}
|
|
280
235
|
/**
|
|
281
236
|
* Set the method name, if there is already a name it will be overwritten
|
|
282
237
|
* @param name method name
|
|
283
238
|
*/
|
|
284
239
|
setName(e) {
|
|
285
|
-
|
|
240
|
+
A(this).name = e;
|
|
286
241
|
}
|
|
287
242
|
generateKey() {
|
|
288
|
-
return
|
|
243
|
+
return Ge(this);
|
|
289
244
|
}
|
|
290
245
|
/**
|
|
291
246
|
* Bind callbacks for resolve and/or reject Promise
|
|
@@ -302,7 +257,7 @@ class R {
|
|
|
302
257
|
* @returns Returns a Promise that completes the callback
|
|
303
258
|
*/
|
|
304
259
|
catch(e) {
|
|
305
|
-
return
|
|
260
|
+
return Ve(this.send(), e);
|
|
306
261
|
}
|
|
307
262
|
/**
|
|
308
263
|
* Bind a callback that is called when the Promise is resolved (resolve or reject)
|
|
@@ -310,73 +265,77 @@ class R {
|
|
|
310
265
|
* @return Returns a Promise that completes the callback.
|
|
311
266
|
*/
|
|
312
267
|
finally(e) {
|
|
313
|
-
return
|
|
268
|
+
return ve(this.send(), e);
|
|
314
269
|
}
|
|
315
270
|
}
|
|
316
|
-
const
|
|
317
|
-
let
|
|
318
|
-
const e =
|
|
271
|
+
const le = ke(), b = "success", gt = () => {
|
|
272
|
+
let a = {};
|
|
273
|
+
const e = Re();
|
|
319
274
|
return {
|
|
320
|
-
set(o,
|
|
321
|
-
|
|
275
|
+
set(o, s) {
|
|
276
|
+
a[o] = s, e.emit(b, { type: "set", key: o, value: s, container: a });
|
|
322
277
|
},
|
|
323
278
|
get: (o) => {
|
|
324
|
-
const
|
|
325
|
-
return e.emit(
|
|
279
|
+
const s = a[o];
|
|
280
|
+
return e.emit(b, { type: "get", key: o, value: s, container: a }), s;
|
|
326
281
|
},
|
|
327
282
|
remove(o) {
|
|
328
|
-
|
|
283
|
+
U(a, o), e.emit(b, { type: "remove", key: o, container: a });
|
|
329
284
|
},
|
|
330
285
|
clear: () => {
|
|
331
|
-
|
|
286
|
+
a = {}, e.emit(b, { type: "clear", key: "", container: a });
|
|
332
287
|
},
|
|
333
288
|
emitter: e
|
|
334
289
|
};
|
|
335
|
-
},
|
|
336
|
-
const
|
|
290
|
+
}, ft = () => {
|
|
291
|
+
const a = Re(), e = localStorage;
|
|
337
292
|
return {
|
|
338
|
-
set: (o,
|
|
339
|
-
e.setItem(o,
|
|
293
|
+
set: (o, s) => {
|
|
294
|
+
e.setItem(o, ze(s)), a.emit(b, { type: "set", key: o, value: s, container: e });
|
|
340
295
|
},
|
|
341
296
|
get: (o) => {
|
|
342
|
-
const
|
|
343
|
-
return
|
|
297
|
+
const s = e.getItem(o), l = s && Ye(s);
|
|
298
|
+
return a.emit(b, { type: "get", key: o, value: l, container: e }), l;
|
|
344
299
|
},
|
|
345
300
|
remove: (o) => {
|
|
346
|
-
e.removeItem(o),
|
|
301
|
+
e.removeItem(o), a.emit(b, { type: "remove", key: o, container: e });
|
|
347
302
|
},
|
|
348
303
|
clear: () => {
|
|
349
|
-
|
|
304
|
+
for (let o = e.length - 1; o >= 0; o -= 1) {
|
|
305
|
+
const s = e.key(o);
|
|
306
|
+
s && Je(s) && e.removeItem(s);
|
|
307
|
+
}
|
|
308
|
+
a.emit(b, { type: "clear", key: "", container: e });
|
|
350
309
|
},
|
|
351
|
-
emitter:
|
|
310
|
+
emitter: a
|
|
352
311
|
};
|
|
353
|
-
},
|
|
354
|
-
const
|
|
355
|
-
|
|
312
|
+
}, mt = () => {
|
|
313
|
+
const a = () => {
|
|
314
|
+
le(W, "l2Cache is not defined.");
|
|
356
315
|
};
|
|
357
316
|
return {
|
|
358
317
|
set: () => {
|
|
359
|
-
|
|
318
|
+
a();
|
|
360
319
|
},
|
|
361
|
-
get: () => (
|
|
320
|
+
get: () => (a(), m),
|
|
362
321
|
remove: () => {
|
|
363
|
-
|
|
322
|
+
a();
|
|
364
323
|
},
|
|
365
324
|
clear: () => {
|
|
366
325
|
}
|
|
367
326
|
};
|
|
368
|
-
},
|
|
369
|
-
class
|
|
327
|
+
}, Se = Set;
|
|
328
|
+
class Ct {
|
|
370
329
|
constructor(e) {
|
|
371
|
-
this.records = {}, this.occupy = 0,
|
|
330
|
+
this.records = {}, this.occupy = 0, le(e >= 0, "expected snapshots limit to be >= 0"), this.capacity = e;
|
|
372
331
|
}
|
|
373
332
|
/**
|
|
374
333
|
* Save method instance snapshot
|
|
375
334
|
* @param methodInstance method instance
|
|
376
335
|
*/
|
|
377
336
|
save(e) {
|
|
378
|
-
const { name: t } =
|
|
379
|
-
t &&
|
|
337
|
+
const { name: t } = A(e), { records: o, occupy: s, capacity: l } = this;
|
|
338
|
+
t && s < l && ((o[t] = o[t] || g(Se)).add(e), this.occupy += 1);
|
|
380
339
|
}
|
|
381
340
|
/**
|
|
382
341
|
* Get a Method instance snapshot, which will filter out the corresponding Method instance based on the matcher
|
|
@@ -384,83 +343,78 @@ class gt {
|
|
|
384
343
|
* @returns Array of matched Method instance snapshots
|
|
385
344
|
*/
|
|
386
345
|
match(e, t = !0) {
|
|
387
|
-
let o,
|
|
388
|
-
|
|
346
|
+
let o, s, l, n = e;
|
|
347
|
+
oe(e) && (n = e.name, l = e.filter), ae(n, ie) ? s = n : be(n) && (o = n);
|
|
389
348
|
const { records: c } = this;
|
|
390
|
-
let
|
|
391
|
-
o ?
|
|
392
|
-
c[
|
|
349
|
+
let p = g(Se);
|
|
350
|
+
o ? p = c[o] || p : s && K($(L(c), (r) => s.test(r)), (r) => {
|
|
351
|
+
c[r].forEach((h) => p.add(h));
|
|
393
352
|
});
|
|
394
|
-
const d =
|
|
353
|
+
const d = H(l) ? $([...p], l) : [...p];
|
|
395
354
|
return t ? d : d[0];
|
|
396
355
|
}
|
|
397
356
|
}
|
|
398
|
-
const
|
|
357
|
+
const ee = "GET", yt = "HEAD", St = "POST", wt = "PUT", Rt = "PATCH", vt = "DELETE", bt = "OPTIONS", we = {
|
|
399
358
|
/**
|
|
400
359
|
* GET requests are cached for 5 minutes (300000 milliseconds) by default, and other requests are not cached by default.
|
|
401
360
|
*/
|
|
402
361
|
cacheFor: {
|
|
403
|
-
[
|
|
362
|
+
[ee]: 3e5
|
|
404
363
|
},
|
|
405
364
|
/**
|
|
406
365
|
* Share requests default to true
|
|
407
366
|
*/
|
|
408
|
-
shareRequest:
|
|
367
|
+
shareRequest: q,
|
|
409
368
|
/**
|
|
410
369
|
* Number of method snapshots, default is 1000
|
|
411
370
|
*/
|
|
412
371
|
snapshots: 1e3
|
|
413
372
|
};
|
|
414
|
-
let
|
|
415
|
-
class
|
|
373
|
+
let xt = 0;
|
|
374
|
+
class Et {
|
|
416
375
|
constructor(e) {
|
|
417
376
|
var t, o;
|
|
418
|
-
const
|
|
419
|
-
|
|
420
|
-
...
|
|
377
|
+
const s = this;
|
|
378
|
+
s.id = (e.id || (xt += 1)).toString(), s.l1Cache = e.l1Cache || gt(), s.l2Cache = e.l2Cache || (typeof localStorage < "u" ? ft() : mt()), s.options = {
|
|
379
|
+
...we,
|
|
421
380
|
...e
|
|
422
|
-
},
|
|
381
|
+
}, s.snapshots = g(Ct, (o = (t = e.snapshots) !== null && t !== void 0 ? t : we.snapshots) !== null && o !== void 0 ? o : 0);
|
|
423
382
|
}
|
|
424
383
|
Request(e) {
|
|
425
|
-
return g(
|
|
384
|
+
return g(y, e.method || ee, this, e.url, e, e.data);
|
|
426
385
|
}
|
|
427
386
|
Get(e, t) {
|
|
428
|
-
return g(
|
|
387
|
+
return g(y, ee, this, e, t);
|
|
429
388
|
}
|
|
430
389
|
Post(e, t, o) {
|
|
431
|
-
return g(
|
|
390
|
+
return g(y, St, this, e, o, t);
|
|
432
391
|
}
|
|
433
392
|
Delete(e, t, o) {
|
|
434
|
-
return g(
|
|
393
|
+
return g(y, vt, this, e, o, t);
|
|
435
394
|
}
|
|
436
395
|
Put(e, t, o) {
|
|
437
|
-
return g(
|
|
396
|
+
return g(y, wt, this, e, o, t);
|
|
438
397
|
}
|
|
439
398
|
Head(e, t) {
|
|
440
|
-
return g(
|
|
399
|
+
return g(y, yt, this, e, t);
|
|
441
400
|
}
|
|
442
401
|
Patch(e, t, o) {
|
|
443
|
-
return g(
|
|
402
|
+
return g(y, Rt, this, e, o, t);
|
|
444
403
|
}
|
|
445
404
|
Options(e, t) {
|
|
446
|
-
return g(
|
|
405
|
+
return g(y, bt, this, e, t);
|
|
447
406
|
}
|
|
448
407
|
}
|
|
449
|
-
let
|
|
450
|
-
const
|
|
451
|
-
const e = g(
|
|
452
|
-
|
|
453
|
-
const { l1Cache: o, l2Cache:
|
|
454
|
-
return !
|
|
455
|
-
}
|
|
408
|
+
let z = m;
|
|
409
|
+
const te = [], se = [], Kt = (a) => {
|
|
410
|
+
const e = g(Et, a), t = e.options.statesHook;
|
|
411
|
+
z && t && le(z.name === t.name, "expected to use the same `statesHook`"), z = t;
|
|
412
|
+
const { l1Cache: o, l2Cache: s } = e;
|
|
413
|
+
return !te.includes(o) && x(te, o), !se.includes(s) && x(se, s), e;
|
|
414
|
+
};
|
|
456
415
|
export {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
ht as hitCacheBySource,
|
|
462
|
-
Pt as invalidateCache,
|
|
463
|
-
Tt as promiseStatesHook,
|
|
464
|
-
Mt as queryCache,
|
|
465
|
-
Kt as setCache
|
|
416
|
+
y as Method,
|
|
417
|
+
Kt as createAlova,
|
|
418
|
+
Ee as globalConfigMap,
|
|
419
|
+
pt as hitCacheBySource
|
|
466
420
|
};
|