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.
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
- package/dist/node_modules/@vueuse/core/index.js +5189 -199
- package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/@vueuse/shared/index.js +1172 -23
- package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
- package/dist/node_modules/alova/dist/alova.esm.js +266 -220
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
- package/dist/node_modules/builder-pattern/dist/index.js +25 -13
- package/dist/node_modules/echarts/index.js +5 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
- package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
- package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
- package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
- package/dist/node_modules/echarts/lib/core/impl.js +8 -7
- package/dist/node_modules/echarts/lib/core/task.js +19 -19
- package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
- package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
- package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
- package/dist/node_modules/echarts/lib/data/Source.js +58 -58
- package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
- package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
- package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
- package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
- package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
- package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
- package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
- package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
- package/dist/node_modules/echarts/lib/export/api.js +71 -0
- package/dist/node_modules/echarts/lib/export/charts.js +46 -0
- package/dist/node_modules/echarts/lib/export/components.js +62 -0
- package/dist/node_modules/echarts/lib/export/core.js +39 -0
- package/dist/node_modules/echarts/lib/export/features.js +6 -0
- package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
- package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
- package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
- package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
- package/dist/node_modules/echarts/lib/loading/default.js +3 -2
- package/dist/node_modules/echarts/lib/model/Global.js +162 -157
- package/dist/node_modules/echarts/lib/model/Model.js +14 -12
- package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
- package/dist/node_modules/echarts/lib/model/Series.js +52 -52
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
- package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
- package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
- package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
- package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
- package/dist/node_modules/echarts/lib/util/component.js +40 -39
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
- package/dist/node_modules/echarts/lib/util/decal.js +54 -52
- package/dist/node_modules/echarts/lib/util/format.js +81 -65
- package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
- package/dist/node_modules/echarts/lib/util/layout.js +29 -29
- package/dist/node_modules/echarts/lib/util/log.js +41 -2
- package/dist/node_modules/echarts/lib/util/model.js +171 -170
- package/dist/node_modules/echarts/lib/util/number.js +97 -90
- package/dist/node_modules/echarts/lib/util/states.js +170 -164
- package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
- package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
- package/dist/node_modules/echarts/lib/util/time.js +2 -2
- package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
- package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
- package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
- 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/src/components/btn-toggle/QBtnToggle.js +3 -3
- package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
- package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
- package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
- package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
- package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
- package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
- package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
- package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
- package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
- package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
- package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
- package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
- package/dist/node_modules/tslib/tslib.es6.js +305 -14
- package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
- package/dist/node_modules/zrender/lib/Element.js +126 -122
- package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
- package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
- package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
- package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
- package/dist/node_modules/zrender/lib/config.js +7 -6
- package/dist/node_modules/zrender/lib/contain/path.js +8 -8
- package/dist/node_modules/zrender/lib/contain/text.js +50 -46
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
- package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
- package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
- package/dist/node_modules/zrender/lib/core/curve.js +1 -1
- package/dist/node_modules/zrender/lib/core/event.js +12 -10
- package/dist/node_modules/zrender/lib/core/platform.js +29 -24
- package/dist/node_modules/zrender/lib/core/util.js +94 -91
- package/dist/node_modules/zrender/lib/core/vector.js +54 -34
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
- package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
- package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
- package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
- package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
- package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
- package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
- package/dist/node_modules/zrender/lib/tool/color.js +87 -69
- package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
- package/dist/node_modules/zrender/lib/zrender.js +106 -90
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
- package/dist/src/api/algorithm/alova/implement/index.js +13 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/index.js +14 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
- package/dist/src/api/authorization/alova/createApis.js +1 -7
- package/dist/src/api/authorization/alova/globals.d.ts +331 -250
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.d.ts +1 -1
- package/dist/src/api/authorization/alova/index.js +7 -6
- package/dist/src/api/check/alova/createApis.js +1 -7
- package/dist/src/api/check/alova/globals.d.ts +1227 -1126
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.d.ts +1 -1
- package/dist/src/api/check/alova/index.js +9 -11
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/config/index.d.ts +1 -0
- package/dist/src/api/config/index.js +3 -1
- package/dist/src/api/doctor/alova/createApis.js +1 -7
- package/dist/src/api/doctor/alova/globals.d.ts +510 -419
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.d.ts +1 -1
- package/dist/src/api/doctor/alova/index.js +4 -4
- package/dist/src/api/index.d.ts +1 -0
- package/dist/src/api/index.js +30 -0
- package/dist/src/api/manager/alova/apiDefinitions.d.ts +62 -0
- package/dist/src/api/manager/alova/apiDefinitions.js +50 -0
- package/dist/src/api/manager/alova/createApis.d.ts +10 -0
- package/dist/src/api/manager/alova/createApis.js +49 -0
- package/dist/src/api/manager/alova/globals.d.ts +4890 -0
- package/dist/src/api/manager/alova/implement/department.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/department.js +44 -0
- package/dist/src/api/manager/alova/implement/division.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/division.js +44 -0
- package/dist/src/api/manager/alova/implement/hospital.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/hospital.js +44 -0
- package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
- package/dist/src/api/manager/alova/implement/index.js +8 -0
- package/dist/src/api/manager/alova/index.d.ts +6 -0
- package/dist/src/api/manager/alova/index.js +19 -0
- package/dist/src/api/manager/department.d.ts +30 -0
- package/dist/src/api/manager/department.js +35 -0
- package/dist/src/api/manager/division.d.ts +30 -0
- package/dist/src/api/manager/division.js +34 -0
- package/dist/src/api/manager/hospital.d.ts +32 -0
- package/dist/src/api/manager/hospital.js +36 -0
- package/dist/src/api/manager/index.d.ts +4 -0
- package/dist/src/api/manager/index.js +17 -0
- package/dist/src/api/metric/alova/implement/index.js +4 -0
- package/dist/src/api/metric/alova/index.js +1 -0
- package/dist/src/api/metric/index.js +5 -4
- package/dist/src/api/oauth/alova/createApis.js +1 -7
- package/dist/src/api/oauth/alova/globals.d.ts +403 -312
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.d.ts +1 -1
- package/dist/src/api/oauth/alova/index.js +12 -11
- package/dist/src/api/outpatient/alova/createApis.js +1 -7
- package/dist/src/api/outpatient/alova/globals.d.ts +634 -543
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.d.ts +1 -1
- package/dist/src/api/outpatient/alova/index.js +8 -9
- package/dist/src/api/patient/alova/createApis.js +1 -7
- package/dist/src/api/patient/alova/globals.d.ts +1627 -1480
- package/dist/src/api/patient/alova/implement/index.js +16 -0
- package/dist/src/api/patient/alova/implement/meta.js +44 -44
- package/dist/src/api/patient/alova/index.d.ts +1 -1
- package/dist/src/api/patient/alova/index.js +10 -14
- package/dist/src/api/patient/index.js +23 -22
- package/dist/src/api/patient/meta.d.ts +12 -0
- package/dist/src/api/patient/meta.js +100 -98
- package/dist/src/api/prescription/alova/apiDefinitions.d.ts +1 -0
- package/dist/src/api/prescription/alova/apiDefinitions.js +1 -0
- package/dist/src/api/prescription/alova/createApis.js +1 -7
- package/dist/src/api/prescription/alova/globals.d.ts +959 -812
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.d.ts +1 -1
- package/dist/src/api/prescription/alova/index.js +4 -4
- package/dist/src/api/scientist/alova/createApis.js +1 -7
- package/dist/src/api/scientist/alova/globals.d.ts +406 -315
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.d.ts +1 -1
- package/dist/src/api/scientist/alova/index.js +7 -8
- package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
- package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
- package/dist/src/components/tcm/index.d.ts +1 -0
- package/dist/src/components/tcm/index.js +28 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
- package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
- package/dist/src/components/tcm/inspections/index.d.ts +1 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
- package/dist/src/index.js +65 -58
- package/dist/src/proto/index.js +10 -0
- package/dist/src/proto/types/Images_pb.js +7 -6
- package/dist/src/proto/types/WaveMap_pb.js +4 -3
- package/dist/src/util/helper.js +38 -2
- package/dist/src/util/number.js +64 -25
- package/dist/src/util/string.js +51 -5
- package/dist/web-core-tcm.css +1 -1
- package/package.json +5 -3
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
|
@@ -1,207 +1,256 @@
|
|
|
1
|
-
import {
|
|
2
|
-
let
|
|
1
|
+
import { isSSR as Ve, STORAGE_RESTORE as K, len as x, getTime as te, buildNamespacedCacheKey as de, filterItem as z, undefinedValue as f, forEach as T, instanceOf as pe, RegExpCls as fe, pushItem as H, mapItem as L, objectKeys as k, PromiseCls as C, newInstance as g, deleteAttr as N, getContext as A, isString as Ke, objAssign as Je, getMethodInternalKey as U, getLocalCacheConfigParam as se, isArray as ge, isFn as b, MEMORY as Pe, promiseResolve as Ye, getConfig as $, trueValue as Y, getOptions as ze, noop as ce, $self as ve, isSpecialRequestBody as Qe, isPlainObject as Ce, sloughFunction as Xe, falseValue as Q, buildCompletedURL as Ze, deepClone as Ie, promiseFinally as De, promiseThen as D, promiseReject as et, getContextOptions as tt, key as st, promiseCatch as at, createAssert as ot, createEventManager as Te, JSONParse as nt, JSONStringify as ct } from "../../@alova/shared/dist/alova-shared.esm.js";
|
|
2
|
+
let X = {
|
|
3
3
|
autoHitCache: "global",
|
|
4
|
-
ssr:
|
|
4
|
+
ssr: Ve
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
var Ht = (s) => {
|
|
7
|
+
X = {
|
|
8
|
+
...X,
|
|
9
|
+
...s
|
|
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()));
|
|
10
16
|
};
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
if (o >
|
|
15
|
-
const c =
|
|
16
|
-
if (await
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
|
|
17
|
+
const re = (s) => `hss.${s}`, Le = "hsr.", ie = (s) => Le + s, Z = "$$hsrs", Oe = "__$<>$__", le = (s, e) => {
|
|
18
|
+
s[e] = 0;
|
|
19
|
+
}, q = async (s, e, t, o, a, r, n) => {
|
|
20
|
+
if (o > te() && t) {
|
|
21
|
+
const c = de(s, e);
|
|
22
|
+
if (await a.set(c, z([t, o === 1 / 0 ? f : o, n], Boolean)), r) {
|
|
23
|
+
const h = {}, d = [];
|
|
24
|
+
T(r, (l) => {
|
|
25
|
+
const p = pe(l, fe), y = p ? l.source + (l.flags ? Oe + l.flags : "") : l;
|
|
26
|
+
y && (p && !h[y] && H(d, y), le(h, p ? ie(y) : re(y)));
|
|
21
27
|
});
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
}),
|
|
26
|
-
if (
|
|
27
|
-
const
|
|
28
|
-
|
|
28
|
+
const i = L(k(h), async (l) => {
|
|
29
|
+
const p = await a.get(l) || {};
|
|
30
|
+
le(p, c), await a.set(l, p);
|
|
31
|
+
}), u = async () => {
|
|
32
|
+
if (x(d)) {
|
|
33
|
+
const l = await a.get(Z) || [];
|
|
34
|
+
H(l, ...d), await a.set(Z, l);
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
|
-
await
|
|
37
|
+
await C.all([...i, u()]);
|
|
32
38
|
}
|
|
33
39
|
}
|
|
34
|
-
},
|
|
35
|
-
const o =
|
|
40
|
+
}, he = async (s, e, t) => {
|
|
41
|
+
const o = de(s, e);
|
|
36
42
|
await t.remove(o);
|
|
37
|
-
},
|
|
38
|
-
const
|
|
39
|
-
if (
|
|
40
|
-
const [
|
|
41
|
-
if (c === o && (!n || n >
|
|
42
|
-
return
|
|
43
|
-
await
|
|
43
|
+
}, Ae = async (s, e, t, o) => {
|
|
44
|
+
const a = await t.get(de(s, e));
|
|
45
|
+
if (a) {
|
|
46
|
+
const [r, n, c] = a;
|
|
47
|
+
if (c === o && (!n || n > te()))
|
|
48
|
+
return a;
|
|
49
|
+
await he(s, e, t);
|
|
44
50
|
}
|
|
45
|
-
},
|
|
46
|
-
const
|
|
47
|
-
return
|
|
48
|
-
},
|
|
49
|
-
const o = `${e}`,
|
|
50
|
-
|
|
51
|
+
}, O = async (s, e, t, o) => {
|
|
52
|
+
const a = await Ae(s, e, t, o);
|
|
53
|
+
return a ? a[0] : f;
|
|
54
|
+
}, xe = async (s) => C.all(s.map((e) => e.clear())), it = async (s, e, t) => {
|
|
55
|
+
const o = `${e}`, a = {}, r = re(s);
|
|
56
|
+
a[r] = await t.get(r);
|
|
51
57
|
let n;
|
|
52
58
|
if (e) {
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
n &&
|
|
57
|
-
const [
|
|
58
|
-
g(
|
|
59
|
-
}), await
|
|
60
|
-
const
|
|
61
|
-
|
|
59
|
+
const i = re(o);
|
|
60
|
+
a[i] = await t.get(i), n = await t.get(Z);
|
|
61
|
+
const u = [];
|
|
62
|
+
n && x(n) && (T(n, (l) => {
|
|
63
|
+
const [p, y] = l.split(Oe);
|
|
64
|
+
g(fe, p, y).test(o) && H(u, l);
|
|
65
|
+
}), await C.all(L(u, async (l) => {
|
|
66
|
+
const p = ie(l);
|
|
67
|
+
a[p] = await t.get(p);
|
|
62
68
|
})));
|
|
63
69
|
}
|
|
64
|
-
const c = async (
|
|
70
|
+
const c = async (i) => {
|
|
65
71
|
try {
|
|
66
|
-
await t.remove(
|
|
67
|
-
for (const
|
|
68
|
-
const
|
|
69
|
-
|
|
72
|
+
await t.remove(i);
|
|
73
|
+
for (const u in a) {
|
|
74
|
+
const l = a[u];
|
|
75
|
+
l && N(l, i);
|
|
70
76
|
}
|
|
71
77
|
} catch {
|
|
72
78
|
}
|
|
73
|
-
},
|
|
74
|
-
await
|
|
75
|
-
const
|
|
76
|
-
if (
|
|
77
|
-
const
|
|
78
|
-
for (const
|
|
79
|
-
p
|
|
80
|
-
await
|
|
79
|
+
}, h = {};
|
|
80
|
+
await C.all(L(k(a), async (i) => {
|
|
81
|
+
const u = a[i];
|
|
82
|
+
if (u) {
|
|
83
|
+
const l = [];
|
|
84
|
+
for (const p in u)
|
|
85
|
+
h[p] || (le(h, p), H(l, c(p)));
|
|
86
|
+
await C.all(l);
|
|
81
87
|
}
|
|
82
88
|
}));
|
|
83
|
-
const d =
|
|
84
|
-
await
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
})), d !==
|
|
89
|
+
const d = x(n || []);
|
|
90
|
+
await C.all(L(k(a), async (i) => {
|
|
91
|
+
const u = a[i];
|
|
92
|
+
u && (x(k(u)) ? await t.set(i, u) : (await t.remove(i), i.includes(Le) && n && (n = z(n, (l) => ie(l) !== i))));
|
|
93
|
+
})), d !== x(n || []) && await t.set(Z, n);
|
|
88
94
|
};
|
|
89
|
-
var
|
|
90
|
-
const { data: e, config: t } =
|
|
91
|
-
o.headers = { ...
|
|
92
|
-
const c = g(
|
|
93
|
-
return
|
|
94
|
-
...
|
|
95
|
+
var lt = (s) => {
|
|
96
|
+
const { data: e, config: t } = s, o = { ...t }, { headers: a = {}, params: r = {} } = o, n = A(s);
|
|
97
|
+
o.headers = { ...a }, o.params = Ke(r) ? r : { ...r };
|
|
98
|
+
const c = g(R, s.type, n, s.url, o, e);
|
|
99
|
+
return Je(c, {
|
|
100
|
+
...s,
|
|
95
101
|
config: o
|
|
96
102
|
});
|
|
97
103
|
};
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
|
|
104
|
+
const Mt = async (s, { policy: e = "all" } = {}) => {
|
|
105
|
+
if (s && s.key) {
|
|
106
|
+
const { id: t, l1Cache: o, l2Cache: a } = A(s), r = U(s), { f: n, c, s: h, e: d, t: i } = se(s);
|
|
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],
|
|
101
148
|
self: [t, o],
|
|
102
149
|
close: []
|
|
103
150
|
}[e];
|
|
104
|
-
n &&
|
|
105
|
-
},
|
|
106
|
-
function
|
|
107
|
-
let t =
|
|
108
|
-
const
|
|
151
|
+
n && x(n) && await C.all(L(n, (c) => it(a, r, c)));
|
|
152
|
+
}, be = {};
|
|
153
|
+
function ut(s, e) {
|
|
154
|
+
let t = Y, o;
|
|
155
|
+
const a = g(C, (n) => {
|
|
109
156
|
o = n;
|
|
110
157
|
});
|
|
111
158
|
return {
|
|
112
159
|
// request interrupt function
|
|
113
160
|
abort: () => {
|
|
114
|
-
D(
|
|
161
|
+
D(a, (n) => n && n.abort());
|
|
115
162
|
},
|
|
116
163
|
onDownload: (n) => {
|
|
117
|
-
D(
|
|
164
|
+
D(a, (c) => c && c.onDownload && c.onDownload(n));
|
|
118
165
|
},
|
|
119
166
|
onUpload: (n) => {
|
|
120
|
-
D(
|
|
167
|
+
D(a, (c) => c && c.onUpload && c.onUpload(n));
|
|
121
168
|
},
|
|
122
169
|
response: async () => {
|
|
123
|
-
const { beforeRequest: n =
|
|
124
|
-
let
|
|
170
|
+
const { beforeRequest: n = ce, responded: c, requestAdapter: h, cacheLogger: d } = ze(s), i = U(s), { s: u, t: l, m: p, e: y } = se(s), { id: S, l1Cache: M, l2Cache: me, snapshots: Ue } = A(s), { cacheFor: ye } = $(s), { hitSource: oe } = s;
|
|
171
|
+
let _ = await (b(ye) ? ye() : (
|
|
125
172
|
// If it is a forced request, skip the step of getting it from the cache
|
|
126
173
|
// Otherwise, determine whether to use cached data
|
|
127
|
-
e ?
|
|
174
|
+
e ? f : O(S, i, M)
|
|
128
175
|
));
|
|
129
|
-
if (
|
|
130
|
-
const
|
|
131
|
-
if (
|
|
132
|
-
const [
|
|
133
|
-
await
|
|
176
|
+
if (p === K && !_ && !e) {
|
|
177
|
+
const m = await Ae(S, i, me, l);
|
|
178
|
+
if (m) {
|
|
179
|
+
const [v, P] = m;
|
|
180
|
+
await q(S, i, v, P, M, oe), _ = v;
|
|
134
181
|
}
|
|
135
182
|
}
|
|
136
|
-
const
|
|
137
|
-
await n(
|
|
138
|
-
const { baseURL:
|
|
139
|
-
let
|
|
140
|
-
if (
|
|
141
|
-
|
|
142
|
-
else if (
|
|
143
|
-
const { onSuccess:
|
|
144
|
-
|
|
183
|
+
const w = lt(s);
|
|
184
|
+
await n(w);
|
|
185
|
+
const { baseURL: _e, url: Fe, type: ke, data: qe } = w, { params: Be = {}, headers: Ne = {}, transform: $e = ve, shareRequest: We } = $(w), W = be[S] = be[S] || {}, Se = w.data, we = Qe(Se);
|
|
186
|
+
let F = we ? f : W[i], j = ve, G = f, V = ce;
|
|
187
|
+
if (b(c))
|
|
188
|
+
j = c;
|
|
189
|
+
else if (Ce(c)) {
|
|
190
|
+
const { onSuccess: m, onError: v, onComplete: P } = c;
|
|
191
|
+
j = b(m) ? m : j, G = b(v) ? v : G, V = b(P) ? P : V;
|
|
145
192
|
}
|
|
146
|
-
if (
|
|
147
|
-
return o(),
|
|
148
|
-
if (t =
|
|
149
|
-
const
|
|
150
|
-
url:
|
|
151
|
-
type:
|
|
152
|
-
data:
|
|
153
|
-
headers:
|
|
154
|
-
},
|
|
155
|
-
|
|
193
|
+
if (_ !== f)
|
|
194
|
+
return o(), w.fromCache = Y, Xe(d, rt)(_, w, p, l), V(w), _;
|
|
195
|
+
if (t = Q, !We || !F) {
|
|
196
|
+
const m = h({
|
|
197
|
+
url: Ze(_e, Fe, Be),
|
|
198
|
+
type: ke,
|
|
199
|
+
data: qe,
|
|
200
|
+
headers: Ne
|
|
201
|
+
}, w);
|
|
202
|
+
F = W[i] = m;
|
|
156
203
|
}
|
|
157
|
-
o(
|
|
158
|
-
const
|
|
159
|
-
const
|
|
160
|
-
|
|
204
|
+
o(F);
|
|
205
|
+
const Re = async (m, v, P = Y) => {
|
|
206
|
+
const je = await m, ne = await $e(je, v || {});
|
|
207
|
+
Ue.save(s);
|
|
161
208
|
try {
|
|
162
|
-
await
|
|
209
|
+
await ht(w);
|
|
163
210
|
} catch {
|
|
164
211
|
}
|
|
165
|
-
if ((!
|
|
212
|
+
if ((!Se || !we) && P)
|
|
166
213
|
try {
|
|
167
|
-
await
|
|
168
|
-
|
|
169
|
-
|
|
214
|
+
await C.all([
|
|
215
|
+
q(S, i, ne, y(Pe), M, oe),
|
|
216
|
+
u && q(S, i, ne, y(K), me, oe, l)
|
|
170
217
|
]);
|
|
171
218
|
} catch {
|
|
172
219
|
}
|
|
173
|
-
return
|
|
220
|
+
return Ie(ne);
|
|
174
221
|
};
|
|
175
|
-
return
|
|
222
|
+
return De(D(C.all([F.response(), F.headers()]), ([m, v]) => (N(W, i), Re(j(m, w), v)), (m) => (N(W, i), b(G) ? (
|
|
176
223
|
// When responding to an error, if no error is thrown, the successful response process will be processed, but the data will not be cached.
|
|
177
|
-
|
|
178
|
-
) :
|
|
179
|
-
|
|
224
|
+
Re(G(m, w), f, Q)
|
|
225
|
+
) : et(m))), () => {
|
|
226
|
+
V(w);
|
|
180
227
|
});
|
|
181
228
|
},
|
|
182
229
|
fromCache: () => t
|
|
183
230
|
};
|
|
184
231
|
}
|
|
185
|
-
const
|
|
186
|
-
const t = e.indexOf(
|
|
232
|
+
const Ee = (s, e) => () => {
|
|
233
|
+
const t = e.indexOf(s);
|
|
187
234
|
t >= 0 && e.splice(t, 1);
|
|
188
235
|
};
|
|
189
|
-
class
|
|
190
|
-
constructor(e, t, o,
|
|
191
|
-
this.dhs = [], this.uhs = [], this.fromCache =
|
|
192
|
-
const n = () =>
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
236
|
+
class R {
|
|
237
|
+
constructor(e, t, o, a, r) {
|
|
238
|
+
this.dhs = [], this.uhs = [], this.fromCache = f;
|
|
239
|
+
const n = () => {
|
|
240
|
+
n.a();
|
|
241
|
+
};
|
|
242
|
+
n.a = ce, e = e.toUpperCase();
|
|
243
|
+
const c = this, h = tt(t);
|
|
244
|
+
c.abort = n, c.baseURL = h.baseURL || "", c.url = o, c.type = e, c.context = t;
|
|
245
|
+
const d = {}, i = "cacheFor", u = Ce(h[i]) ? h[i][e] : f, l = a && a.hitSource;
|
|
246
|
+
T(["timeout", "shareRequest"], (p) => {
|
|
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 = {
|
|
200
249
|
...d,
|
|
201
250
|
headers: {},
|
|
202
251
|
params: {},
|
|
203
|
-
...
|
|
204
|
-
}, c.data =
|
|
252
|
+
...a || {}
|
|
253
|
+
}, c.data = r, c.meta = a ? a.meta : c.meta, c.key = c.generateKey();
|
|
205
254
|
}
|
|
206
255
|
/**
|
|
207
256
|
* Bind download progress callback function
|
|
@@ -210,7 +259,7 @@ class y {
|
|
|
210
259
|
* @return unbind function
|
|
211
260
|
*/
|
|
212
261
|
onDownload(e) {
|
|
213
|
-
return
|
|
262
|
+
return H(this.dhs, e), Ee(e, this.dhs);
|
|
214
263
|
}
|
|
215
264
|
/**
|
|
216
265
|
* Bind upload progress callback function
|
|
@@ -219,28 +268,24 @@ class y {
|
|
|
219
268
|
* @return unbind function
|
|
220
269
|
*/
|
|
221
270
|
onUpload(e) {
|
|
222
|
-
return
|
|
271
|
+
return H(this.uhs, e), Ee(e, this.uhs);
|
|
223
272
|
}
|
|
224
273
|
/**
|
|
225
274
|
* Send a request through a method instance and return a promise object
|
|
226
275
|
*/
|
|
227
|
-
send(e =
|
|
228
|
-
const t = this, { response: o, onDownload:
|
|
229
|
-
|
|
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;
|
|
276
|
+
send(e = Q) {
|
|
277
|
+
const t = this, { response: o, onDownload: a, onUpload: r, abort: n, fromCache: c } = ut(t, e);
|
|
278
|
+
return x(t.dhs) > 0 && a((h, d) => T(t.dhs, (i) => i({ loaded: h, total: d }))), x(t.uhs) > 0 && r((h, d) => T(t.uhs, (i) => i({ loaded: h, total: d }))), t.abort.a = n, t.fromCache = f, t.promise = D(o(), (h) => (t.fromCache = c(), h)), t.promise;
|
|
234
279
|
}
|
|
235
280
|
/**
|
|
236
281
|
* Set the method name, if there is already a name it will be overwritten
|
|
237
282
|
* @param name method name
|
|
238
283
|
*/
|
|
239
284
|
setName(e) {
|
|
240
|
-
|
|
285
|
+
$(this).name = e;
|
|
241
286
|
}
|
|
242
287
|
generateKey() {
|
|
243
|
-
return
|
|
288
|
+
return st(this);
|
|
244
289
|
}
|
|
245
290
|
/**
|
|
246
291
|
* Bind callbacks for resolve and/or reject Promise
|
|
@@ -257,7 +302,7 @@ class y {
|
|
|
257
302
|
* @returns Returns a Promise that completes the callback
|
|
258
303
|
*/
|
|
259
304
|
catch(e) {
|
|
260
|
-
return
|
|
305
|
+
return at(this.send(), e);
|
|
261
306
|
}
|
|
262
307
|
/**
|
|
263
308
|
* Bind a callback that is called when the Promise is resolved (resolve or reject)
|
|
@@ -265,77 +310,73 @@ class y {
|
|
|
265
310
|
* @return Returns a Promise that completes the callback.
|
|
266
311
|
*/
|
|
267
312
|
finally(e) {
|
|
268
|
-
return
|
|
313
|
+
return De(this.send(), e);
|
|
269
314
|
}
|
|
270
315
|
}
|
|
271
|
-
const
|
|
272
|
-
let
|
|
273
|
-
const e =
|
|
316
|
+
const ae = ot(), E = "success", dt = () => {
|
|
317
|
+
let s = {};
|
|
318
|
+
const e = Te();
|
|
274
319
|
return {
|
|
275
|
-
set(o,
|
|
276
|
-
|
|
320
|
+
set(o, a) {
|
|
321
|
+
s[o] = a, e.emit(E, { type: "set", key: o, value: a, container: s });
|
|
277
322
|
},
|
|
278
323
|
get: (o) => {
|
|
279
|
-
const
|
|
280
|
-
return e.emit(
|
|
324
|
+
const a = s[o];
|
|
325
|
+
return e.emit(E, { type: "get", key: o, value: a, container: s }), a;
|
|
281
326
|
},
|
|
282
327
|
remove(o) {
|
|
283
|
-
|
|
328
|
+
N(s, o), e.emit(E, { type: "remove", key: o, container: s });
|
|
284
329
|
},
|
|
285
330
|
clear: () => {
|
|
286
|
-
|
|
331
|
+
s = {}, e.emit(E, { type: "clear", key: "", container: s });
|
|
287
332
|
},
|
|
288
333
|
emitter: e
|
|
289
334
|
};
|
|
290
|
-
},
|
|
291
|
-
const
|
|
335
|
+
}, pt = () => {
|
|
336
|
+
const s = Te(), e = localStorage;
|
|
292
337
|
return {
|
|
293
|
-
set: (o,
|
|
294
|
-
e.setItem(o,
|
|
338
|
+
set: (o, a) => {
|
|
339
|
+
e.setItem(o, ct(a)), s.emit(E, { type: "set", key: o, value: a, container: e });
|
|
295
340
|
},
|
|
296
341
|
get: (o) => {
|
|
297
|
-
const
|
|
298
|
-
return
|
|
342
|
+
const a = e.getItem(o), r = a && nt(a);
|
|
343
|
+
return s.emit(E, { type: "get", key: o, value: r, container: e }), r;
|
|
299
344
|
},
|
|
300
345
|
remove: (o) => {
|
|
301
|
-
e.removeItem(o),
|
|
346
|
+
e.removeItem(o), s.emit(E, { type: "remove", key: o, container: e });
|
|
302
347
|
},
|
|
303
348
|
clear: () => {
|
|
304
|
-
|
|
305
|
-
const s = e.key(o);
|
|
306
|
-
s && Je(s) && e.removeItem(s);
|
|
307
|
-
}
|
|
308
|
-
a.emit(b, { type: "clear", key: "", container: e });
|
|
349
|
+
e.clear(), s.emit(E, { type: "clear", key: "", container: e });
|
|
309
350
|
},
|
|
310
|
-
emitter:
|
|
351
|
+
emitter: s
|
|
311
352
|
};
|
|
312
|
-
},
|
|
313
|
-
const
|
|
314
|
-
|
|
353
|
+
}, ft = () => {
|
|
354
|
+
const s = () => {
|
|
355
|
+
ae(Q, "l2Cache is not defined.");
|
|
315
356
|
};
|
|
316
357
|
return {
|
|
317
358
|
set: () => {
|
|
318
|
-
|
|
359
|
+
s();
|
|
319
360
|
},
|
|
320
|
-
get: () => (
|
|
361
|
+
get: () => (s(), f),
|
|
321
362
|
remove: () => {
|
|
322
|
-
|
|
363
|
+
s();
|
|
323
364
|
},
|
|
324
365
|
clear: () => {
|
|
325
366
|
}
|
|
326
367
|
};
|
|
327
|
-
},
|
|
328
|
-
class
|
|
368
|
+
}, He = Set;
|
|
369
|
+
class gt {
|
|
329
370
|
constructor(e) {
|
|
330
|
-
this.records = {}, this.occupy = 0,
|
|
371
|
+
this.records = {}, this.occupy = 0, ae(e >= 0, "expected snapshots limit to be >= 0"), this.capacity = e;
|
|
331
372
|
}
|
|
332
373
|
/**
|
|
333
374
|
* Save method instance snapshot
|
|
334
375
|
* @param methodInstance method instance
|
|
335
376
|
*/
|
|
336
377
|
save(e) {
|
|
337
|
-
const { name: t } =
|
|
338
|
-
t &&
|
|
378
|
+
const { name: t } = $(e), { records: o, occupy: a, capacity: r } = this;
|
|
379
|
+
t && a < r && ((o[t] = o[t] || g(He)).add(e), this.occupy += 1);
|
|
339
380
|
}
|
|
340
381
|
/**
|
|
341
382
|
* Get a Method instance snapshot, which will filter out the corresponding Method instance based on the matcher
|
|
@@ -343,78 +384,83 @@ class Ct {
|
|
|
343
384
|
* @returns Array of matched Method instance snapshots
|
|
344
385
|
*/
|
|
345
386
|
match(e, t = !0) {
|
|
346
|
-
let o,
|
|
347
|
-
|
|
387
|
+
let o, a, r, n = e;
|
|
388
|
+
Ce(e) && (n = e.name, r = e.filter), pe(n, fe) ? a = n : Ke(n) && (o = n);
|
|
348
389
|
const { records: c } = this;
|
|
349
|
-
let
|
|
350
|
-
o ?
|
|
351
|
-
c[
|
|
390
|
+
let h = g(He);
|
|
391
|
+
o ? h = c[o] || h : a && T(z(k(c), (i) => a.test(i)), (i) => {
|
|
392
|
+
c[i].forEach((u) => h.add(u));
|
|
352
393
|
});
|
|
353
|
-
const d =
|
|
394
|
+
const d = b(r) ? z([...h], r) : [...h];
|
|
354
395
|
return t ? d : d[0];
|
|
355
396
|
}
|
|
356
397
|
}
|
|
357
|
-
const
|
|
398
|
+
const ue = "GET", Ct = "HEAD", mt = "POST", yt = "PUT", St = "PATCH", wt = "DELETE", Rt = "OPTIONS", Me = {
|
|
358
399
|
/**
|
|
359
400
|
* GET requests are cached for 5 minutes (300000 milliseconds) by default, and other requests are not cached by default.
|
|
360
401
|
*/
|
|
361
402
|
cacheFor: {
|
|
362
|
-
[
|
|
403
|
+
[ue]: 3e5
|
|
363
404
|
},
|
|
364
405
|
/**
|
|
365
406
|
* Share requests default to true
|
|
366
407
|
*/
|
|
367
|
-
shareRequest:
|
|
408
|
+
shareRequest: Y,
|
|
368
409
|
/**
|
|
369
410
|
* Number of method snapshots, default is 1000
|
|
370
411
|
*/
|
|
371
412
|
snapshots: 1e3
|
|
372
413
|
};
|
|
373
|
-
let
|
|
374
|
-
class
|
|
414
|
+
let vt = 0;
|
|
415
|
+
class xt {
|
|
375
416
|
constructor(e) {
|
|
376
417
|
var t, o;
|
|
377
|
-
const
|
|
378
|
-
|
|
379
|
-
...
|
|
418
|
+
const a = this;
|
|
419
|
+
a.id = (e.id || (vt += 1)).toString(), a.l1Cache = e.l1Cache || dt(), a.l2Cache = e.l2Cache || (typeof localStorage < "u" ? pt() : ft()), a.options = {
|
|
420
|
+
...Me,
|
|
380
421
|
...e
|
|
381
|
-
},
|
|
422
|
+
}, a.snapshots = g(gt, (o = (t = e.snapshots) !== null && t !== void 0 ? t : Me.snapshots) !== null && o !== void 0 ? o : 0);
|
|
382
423
|
}
|
|
383
424
|
Request(e) {
|
|
384
|
-
return g(
|
|
425
|
+
return g(R, e.method || ue, this, e.url, e, e.data);
|
|
385
426
|
}
|
|
386
427
|
Get(e, t) {
|
|
387
|
-
return g(
|
|
428
|
+
return g(R, ue, this, e, t);
|
|
388
429
|
}
|
|
389
430
|
Post(e, t, o) {
|
|
390
|
-
return g(
|
|
431
|
+
return g(R, mt, this, e, o, t);
|
|
391
432
|
}
|
|
392
433
|
Delete(e, t, o) {
|
|
393
|
-
return g(
|
|
434
|
+
return g(R, wt, this, e, o, t);
|
|
394
435
|
}
|
|
395
436
|
Put(e, t, o) {
|
|
396
|
-
return g(
|
|
437
|
+
return g(R, yt, this, e, o, t);
|
|
397
438
|
}
|
|
398
439
|
Head(e, t) {
|
|
399
|
-
return g(
|
|
440
|
+
return g(R, Ct, this, e, t);
|
|
400
441
|
}
|
|
401
442
|
Patch(e, t, o) {
|
|
402
|
-
return g(
|
|
443
|
+
return g(R, St, this, e, o, t);
|
|
403
444
|
}
|
|
404
445
|
Options(e, t) {
|
|
405
|
-
return g(
|
|
446
|
+
return g(R, Rt, this, e, t);
|
|
406
447
|
}
|
|
407
448
|
}
|
|
408
|
-
let
|
|
409
|
-
const
|
|
410
|
-
const e = g(
|
|
411
|
-
|
|
412
|
-
const { l1Cache: o, l2Cache:
|
|
413
|
-
return !
|
|
414
|
-
};
|
|
449
|
+
let B = f;
|
|
450
|
+
const I = [], ee = [], Dt = (s) => {
|
|
451
|
+
const e = g(xt, s), t = e.options.statesHook;
|
|
452
|
+
B && t && ae(B.name === t.name, "expected to use the same `statesHook`"), B = t;
|
|
453
|
+
const { l1Cache: o, l2Cache: a } = e;
|
|
454
|
+
return !I.includes(o) && H(I, o), !ee.includes(a) && H(ee, a), e;
|
|
455
|
+
}, Tt = () => (ae(B, "`statesHook` is not set in alova instance"), B);
|
|
415
456
|
export {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
457
|
+
R as Method,
|
|
458
|
+
Dt as createAlova,
|
|
459
|
+
Ht as globalConfig,
|
|
460
|
+
X as globalConfigMap,
|
|
461
|
+
ht as hitCacheBySource,
|
|
462
|
+
Pt as invalidateCache,
|
|
463
|
+
Tt as promiseStatesHook,
|
|
464
|
+
Mt as queryCache,
|
|
465
|
+
Kt as setCache
|
|
420
466
|
};
|