web-core-tcm 0.0.61 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/globals.js +1 -0
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.js +10 -8
- package/dist/src/api/check/alova/globals.js +1 -0
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.js +5 -6
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/globals.js +1 -0
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.js +10 -9
- package/dist/src/api/index.js +28 -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/globals.js +1 -0
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.js +13 -11
- package/dist/src/api/outpatient/alova/globals.js +1 -0
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/globals.js +1 -0
- 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.js +9 -12
- 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/globals.js +1 -0
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.js +8 -7
- package/dist/src/api/scientist/alova/globals.js +1 -0
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.js +5 -5
- 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 +63 -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,7 +1,7 @@
|
|
|
1
1
|
import { each as m, isArray as g } from "../../../../zrender/lib/core/util.js";
|
|
2
2
|
import { getLayoutRect as v } from "../../util/layout.js";
|
|
3
3
|
import { parseDate as y } from "../../util/number.js";
|
|
4
|
-
var
|
|
4
|
+
var d = 864e5, k = (
|
|
5
5
|
/** @class */
|
|
6
6
|
(function() {
|
|
7
7
|
function n(e, t, i) {
|
|
@@ -53,14 +53,14 @@ var c = 864e5, I = (
|
|
|
53
53
|
m([0, 1], function(h) {
|
|
54
54
|
f(o, h) || (o[h] = u[r[h]] / s[h]);
|
|
55
55
|
});
|
|
56
|
-
function f(h,
|
|
57
|
-
return h[
|
|
56
|
+
function f(h, c) {
|
|
57
|
+
return h[c] != null && h[c] !== "auto";
|
|
58
58
|
}
|
|
59
59
|
this._sw = o[0], this._sh = o[1];
|
|
60
60
|
}, n.prototype.dataToPoint = function(e, t) {
|
|
61
61
|
g(e) && (e = e[0]), t == null && (t = !0);
|
|
62
62
|
var i = this.getDateInfo(e), r = this._rangeInfo, o = i.formatedDate;
|
|
63
|
-
if (t && !(i.time >= r.start.time && i.time < r.end.time +
|
|
63
|
+
if (t && !(i.time >= r.start.time && i.time < r.end.time + d))
|
|
64
64
|
return [NaN, NaN];
|
|
65
65
|
var a = i.day, s = this._getRangeInfo([r.start.time, o]).nthWeek;
|
|
66
66
|
return this._orient === "vertical" ? [this._rect.x + a * this._sw + this._sw / 2, this._rect.y + s * this._sh + this._sh / 2] : [this._rect.x + s * this._sw + this._sw / 2, this._rect.y + a * this._sh + this._sh / 2];
|
|
@@ -114,7 +114,7 @@ var c = 864e5, I = (
|
|
|
114
114
|
}, n.prototype._getRangeInfo = function(e) {
|
|
115
115
|
var t = [this.getDateInfo(e[0]), this.getDateInfo(e[1])], i;
|
|
116
116
|
t[0].time > t[1].time && (i = !0, t.reverse());
|
|
117
|
-
var r = Math.floor(t[1].time /
|
|
117
|
+
var r = Math.floor(t[1].time / d) - Math.floor(t[0].time / d) + 1, o = new Date(t[0].time), a = o.getDate(), s = t[1].date.getDate();
|
|
118
118
|
o.setDate(a + r - 1);
|
|
119
119
|
var l = o.getDate();
|
|
120
120
|
if (l !== s)
|
|
@@ -141,7 +141,7 @@ var c = 864e5, I = (
|
|
|
141
141
|
}, n.create = function(e, t) {
|
|
142
142
|
var i = [];
|
|
143
143
|
return e.eachComponent("calendar", function(r) {
|
|
144
|
-
var o = new n(r);
|
|
144
|
+
var o = new n(r, e, t);
|
|
145
145
|
i.push(o), r.coordinateSystem = o;
|
|
146
146
|
}), e.eachSeries(function(r) {
|
|
147
147
|
r.get("coordinateSystem") === "calendar" && (r.coordinateSystem = i[r.get("calendarIndex") || 0]);
|
|
@@ -154,5 +154,5 @@ function _(n) {
|
|
|
154
154
|
return i;
|
|
155
155
|
}
|
|
156
156
|
export {
|
|
157
|
-
|
|
157
|
+
k as default
|
|
158
158
|
};
|
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getLayoutRect as
|
|
3
|
-
import {
|
|
1
|
+
import { keys as E, each as g, isObject as I, indexOf as v } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { getLayoutRect as O } from "../../util/layout.js";
|
|
3
|
+
import { niceScaleExtent as A, estimateLabelUnionRect as w, createScaleByModel as D, getDataDimensionsOnAxis as P, ifAxisCrossZero as Z } from "../axisHelper.js";
|
|
4
4
|
import G, { cartesian2DDimensions as _ } from "./Cartesian2D.js";
|
|
5
5
|
import R from "./Axis2D.js";
|
|
6
6
|
import { SINGLE_REFERRING as C } from "../../util/model.js";
|
|
7
7
|
import { isCartesian2DSeries as L, findAxisModels as S } from "./cartesianAxisHelper.js";
|
|
8
|
-
import { isIntervalOrLogScale as
|
|
8
|
+
import { isIntervalOrLogScale as M } from "../../scale/helper.js";
|
|
9
9
|
import { alignScaleTicks as k } from "../axisAlignTicks.js";
|
|
10
|
-
var
|
|
10
|
+
var U = (
|
|
11
11
|
/** @class */
|
|
12
12
|
(function() {
|
|
13
|
-
function s(e,
|
|
14
|
-
this.type = "grid", this._coordsMap = {}, this._coordsList = [], this._axesMap = {}, this._axesList = [], this.axisPointerEnabled = !0, this.dimensions = _, this._initCartesian(e,
|
|
13
|
+
function s(e, r, o) {
|
|
14
|
+
this.type = "grid", this._coordsMap = {}, this._coordsList = [], this._axesMap = {}, this._axesList = [], this.axisPointerEnabled = !0, this.dimensions = _, this._initCartesian(e, r, o), this.model = e;
|
|
15
15
|
}
|
|
16
16
|
return s.prototype.getRect = function() {
|
|
17
17
|
return this._rect;
|
|
18
|
-
}, s.prototype.update = function(e,
|
|
18
|
+
}, s.prototype.update = function(e, r) {
|
|
19
19
|
var o = this._axesMap;
|
|
20
20
|
this._updateScale(e, this.model);
|
|
21
|
-
function t(
|
|
22
|
-
var f,
|
|
21
|
+
function t(i) {
|
|
22
|
+
var f, x = E(i), a = x.length;
|
|
23
23
|
if (a) {
|
|
24
24
|
for (var u = [], c = a - 1; c >= 0; c--) {
|
|
25
|
-
var
|
|
25
|
+
var l = +x[c], d = i[l], p = d.model, h = d.scale;
|
|
26
26
|
// Only value and log axis without interval support alignTicks.
|
|
27
|
-
|
|
27
|
+
M(h) && p.get("alignTicks") && p.get("interval") == null ? u.push(d) : (A(h, p), M(h) && (f = d));
|
|
28
28
|
}
|
|
29
|
-
u.length && (f || (f = u.pop(), A(f.scale, f.model)), g(u, function(
|
|
30
|
-
k(
|
|
29
|
+
u.length && (f || (f = u.pop(), A(f.scale, f.model)), g(u, function(m) {
|
|
30
|
+
k(m.scale, m.model, f.scale);
|
|
31
31
|
}));
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
t(o.x), t(o.y);
|
|
35
35
|
var n = {};
|
|
36
|
-
g(o.x, function(
|
|
37
|
-
|
|
38
|
-
}), g(o.y, function(
|
|
39
|
-
|
|
40
|
-
}), this.resize(this.model,
|
|
41
|
-
}, s.prototype.resize = function(e,
|
|
42
|
-
var t = e.getBoxLayoutParams(), n = !o && e.get("containLabel"),
|
|
43
|
-
width:
|
|
44
|
-
height:
|
|
36
|
+
g(o.x, function(i) {
|
|
37
|
+
T(o, "y", i, n);
|
|
38
|
+
}), g(o.y, function(i) {
|
|
39
|
+
T(o, "x", i, n);
|
|
40
|
+
}), this.resize(this.model, r);
|
|
41
|
+
}, s.prototype.resize = function(e, r, o) {
|
|
42
|
+
var t = e.getBoxLayoutParams(), n = !o && e.get("containLabel"), i = O(t, {
|
|
43
|
+
width: r.getWidth(),
|
|
44
|
+
height: r.getHeight()
|
|
45
45
|
});
|
|
46
|
-
this._rect =
|
|
46
|
+
this._rect = i;
|
|
47
47
|
var f = this._axesList;
|
|
48
|
-
|
|
48
|
+
x(), n && (g(f, function(a) {
|
|
49
49
|
if (!a.model.get(["axisLabel", "inside"])) {
|
|
50
|
-
var u =
|
|
50
|
+
var u = w(a);
|
|
51
51
|
if (u) {
|
|
52
|
-
var c = a.isHorizontal() ? "height" : "width",
|
|
53
|
-
|
|
52
|
+
var c = a.isHorizontal() ? "height" : "width", l = a.model.get(["axisLabel", "margin"]);
|
|
53
|
+
i[c] -= u[c] + l, a.position === "top" ? i.y += u.height + l : a.position === "left" && (i.x += u.width + l);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
}),
|
|
56
|
+
}), x()), g(this._coordsList, function(a) {
|
|
57
57
|
a.calcAffineTransform();
|
|
58
58
|
});
|
|
59
|
-
function
|
|
59
|
+
function x() {
|
|
60
60
|
g(f, function(a) {
|
|
61
|
-
var u = a.isHorizontal(), c = u ? [0,
|
|
62
|
-
a.setExtent(c[
|
|
61
|
+
var u = a.isHorizontal(), c = u ? [0, i.width] : [0, i.height], l = a.inverse ? 1 : 0;
|
|
62
|
+
a.setExtent(c[l], c[1 - l]), z(a, u ? i.x : i.y);
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
}, s.prototype.getAxis = function(e,
|
|
65
|
+
}, s.prototype.getAxis = function(e, r) {
|
|
66
66
|
var o = this._axesMap[e];
|
|
67
67
|
if (o != null)
|
|
68
|
-
return o[
|
|
68
|
+
return o[r || 0];
|
|
69
69
|
}, s.prototype.getAxes = function() {
|
|
70
70
|
return this._axesList.slice();
|
|
71
|
-
}, s.prototype.getCartesian = function(e,
|
|
72
|
-
if (e != null &&
|
|
73
|
-
var o = "x" + e + "y" +
|
|
71
|
+
}, s.prototype.getCartesian = function(e, r) {
|
|
72
|
+
if (e != null && r != null) {
|
|
73
|
+
var o = "x" + e + "y" + r;
|
|
74
74
|
return this._coordsMap[o];
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
I(e) && (r = e.yAxisIndex, e = e.xAxisIndex);
|
|
77
77
|
for (var t = 0, n = this._coordsList; t < n.length; t++)
|
|
78
|
-
if (n[t].getAxis("x").index === e || n[t].getAxis("y").index ===
|
|
78
|
+
if (n[t].getAxis("x").index === e || n[t].getAxis("y").index === r)
|
|
79
79
|
return n[t];
|
|
80
80
|
}, s.prototype.getCartesians = function() {
|
|
81
81
|
return this._coordsList.slice();
|
|
82
|
-
}, s.prototype.convertToPixel = function(e,
|
|
83
|
-
var t = this._findConvertTarget(
|
|
82
|
+
}, s.prototype.convertToPixel = function(e, r, o) {
|
|
83
|
+
var t = this._findConvertTarget(r);
|
|
84
84
|
return t.cartesian ? t.cartesian.dataToPoint(o) : t.axis ? t.axis.toGlobalCoord(t.axis.dataToCoord(o)) : null;
|
|
85
|
-
}, s.prototype.convertFromPixel = function(e,
|
|
86
|
-
var t = this._findConvertTarget(
|
|
85
|
+
}, s.prototype.convertFromPixel = function(e, r, o) {
|
|
86
|
+
var t = this._findConvertTarget(r);
|
|
87
87
|
return t.cartesian ? t.cartesian.pointToData(o) : t.axis ? t.axis.coordToData(t.axis.toLocalCoord(o)) : null;
|
|
88
88
|
}, s.prototype._findConvertTarget = function(e) {
|
|
89
|
-
var
|
|
90
|
-
if (
|
|
91
|
-
f =
|
|
89
|
+
var r = e.seriesModel, o = e.xAxisModel || r && r.getReferringComponents("xAxis", C).models[0], t = e.yAxisModel || r && r.getReferringComponents("yAxis", C).models[0], n = e.gridModel, i = this._coordsList, f, x;
|
|
90
|
+
if (r)
|
|
91
|
+
f = r.coordinateSystem, v(i, f) < 0 && (f = null);
|
|
92
92
|
else if (o && t)
|
|
93
93
|
f = this.getCartesian(o.componentIndex, t.componentIndex);
|
|
94
94
|
else if (o)
|
|
95
|
-
|
|
95
|
+
x = this.getAxis("x", o.componentIndex);
|
|
96
96
|
else if (t)
|
|
97
|
-
|
|
97
|
+
x = this.getAxis("y", t.componentIndex);
|
|
98
98
|
else if (n) {
|
|
99
99
|
var a = n.coordinateSystem;
|
|
100
100
|
a === this && (f = this._coordsList[0]);
|
|
101
101
|
}
|
|
102
102
|
return {
|
|
103
103
|
cartesian: f,
|
|
104
|
-
axis:
|
|
104
|
+
axis: x
|
|
105
105
|
};
|
|
106
106
|
}, s.prototype.containPoint = function(e) {
|
|
107
|
-
var
|
|
108
|
-
if (
|
|
109
|
-
return
|
|
110
|
-
}, s.prototype._initCartesian = function(e,
|
|
111
|
-
var t = this, n = this,
|
|
107
|
+
var r = this._coordsList[0];
|
|
108
|
+
if (r)
|
|
109
|
+
return r.containPoint(e);
|
|
110
|
+
}, s.prototype._initCartesian = function(e, r, o) {
|
|
111
|
+
var t = this, n = this, i = {
|
|
112
112
|
left: !1,
|
|
113
113
|
right: !1,
|
|
114
114
|
top: !1,
|
|
@@ -116,31 +116,31 @@ var Q = (
|
|
|
116
116
|
}, f = {
|
|
117
117
|
x: {},
|
|
118
118
|
y: {}
|
|
119
|
-
},
|
|
119
|
+
}, x = {
|
|
120
120
|
x: 0,
|
|
121
121
|
y: 0
|
|
122
122
|
};
|
|
123
|
-
if (
|
|
123
|
+
if (r.eachComponent("xAxis", a("x"), this), r.eachComponent("yAxis", a("y"), this), !x.x || !x.y) {
|
|
124
124
|
this._axesMap = {}, this._axesList = [];
|
|
125
125
|
return;
|
|
126
126
|
}
|
|
127
127
|
this._axesMap = f, g(f.x, function(u, c) {
|
|
128
|
-
g(f.y, function(
|
|
129
|
-
var
|
|
130
|
-
|
|
128
|
+
g(f.y, function(l, d) {
|
|
129
|
+
var p = "x" + c + "y" + d, h = new G(p);
|
|
130
|
+
h.master = t, h.model = e, t._coordsMap[p] = h, t._coordsList.push(h), h.addAxis(u), h.addAxis(l);
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
function a(u) {
|
|
134
|
-
return function(c,
|
|
135
|
-
if (
|
|
136
|
-
var
|
|
137
|
-
u === "x" ?
|
|
138
|
-
var
|
|
139
|
-
|
|
134
|
+
return function(c, l) {
|
|
135
|
+
if (y(c, e)) {
|
|
136
|
+
var d = c.get("position");
|
|
137
|
+
u === "x" ? d !== "top" && d !== "bottom" && (d = i.bottom ? "top" : "bottom") : d !== "left" && d !== "right" && (d = i.left ? "right" : "left"), i[d] = !0;
|
|
138
|
+
var p = new R(u, D(c), [0, 0], c.get("type"), d), h = p.type === "category";
|
|
139
|
+
p.onBand = h && c.get("boundaryGap"), p.inverse = c.get("inverse"), c.axis = p, p.model = c, p.grid = n, p.index = l, n._axesList.push(p), f[u][l] = p, x[u]++;
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
|
-
}, s.prototype._updateScale = function(e,
|
|
143
|
+
}, s.prototype._updateScale = function(e, r) {
|
|
144
144
|
g(this._axesList, function(t) {
|
|
145
145
|
if (t.scale.setExtent(1 / 0, -1 / 0), t.type === "category") {
|
|
146
146
|
var n = t.model.get("categorySortInfo");
|
|
@@ -148,56 +148,56 @@ var Q = (
|
|
|
148
148
|
}
|
|
149
149
|
}), e.eachSeries(function(t) {
|
|
150
150
|
if (L(t)) {
|
|
151
|
-
var n = S(t),
|
|
152
|
-
if (!
|
|
151
|
+
var n = S(t), i = n.xAxisModel, f = n.yAxisModel;
|
|
152
|
+
if (!y(i, r) || !y(f, r))
|
|
153
153
|
return;
|
|
154
|
-
var
|
|
154
|
+
var x = this.getCartesian(i.componentIndex, f.componentIndex), a = t.getData(), u = x.getAxis("x"), c = x.getAxis("y");
|
|
155
155
|
o(a, u), o(a, c);
|
|
156
156
|
}
|
|
157
157
|
}, this);
|
|
158
158
|
function o(t, n) {
|
|
159
|
-
g(
|
|
160
|
-
n.scale.unionExtentFromData(t,
|
|
159
|
+
g(P(t, n.dim), function(i) {
|
|
160
|
+
n.scale.unionExtentFromData(t, i);
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
}, s.prototype.getTooltipAxes = function(e) {
|
|
164
|
-
var
|
|
164
|
+
var r = [], o = [];
|
|
165
165
|
return g(this.getCartesians(), function(t) {
|
|
166
|
-
var n = e != null && e !== "auto" ? t.getAxis(e) : t.getBaseAxis(),
|
|
167
|
-
|
|
166
|
+
var n = e != null && e !== "auto" ? t.getAxis(e) : t.getBaseAxis(), i = t.getOtherAxis(n);
|
|
167
|
+
v(r, n) < 0 && r.push(n), v(o, i) < 0 && o.push(i);
|
|
168
168
|
}), {
|
|
169
|
-
baseAxes:
|
|
169
|
+
baseAxes: r,
|
|
170
170
|
otherAxes: o
|
|
171
171
|
};
|
|
172
|
-
}, s.create = function(e,
|
|
172
|
+
}, s.create = function(e, r) {
|
|
173
173
|
var o = [];
|
|
174
174
|
return e.eachComponent("grid", function(t, n) {
|
|
175
|
-
var
|
|
176
|
-
|
|
175
|
+
var i = new s(t, e, r);
|
|
176
|
+
i.name = "grid_" + n, i.resize(t, r, !0), t.coordinateSystem = i, o.push(i);
|
|
177
177
|
}), e.eachSeries(function(t) {
|
|
178
178
|
if (L(t)) {
|
|
179
|
-
var n = S(t),
|
|
180
|
-
t.coordinateSystem = a.getCartesian(
|
|
179
|
+
var n = S(t), i = n.xAxisModel, f = n.yAxisModel, x = i.getCoordSysModel(), a = x.coordinateSystem;
|
|
180
|
+
t.coordinateSystem = a.getCartesian(i.componentIndex, f.componentIndex);
|
|
181
181
|
}
|
|
182
182
|
}), o;
|
|
183
183
|
}, s.dimensions = _, s;
|
|
184
184
|
})()
|
|
185
185
|
);
|
|
186
|
-
function
|
|
186
|
+
function y(s, e) {
|
|
187
187
|
return s.getCoordSysModel() === e;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
|
|
189
|
+
function T(s, e, r, o) {
|
|
190
|
+
r.getAxesOnZeroOf = function() {
|
|
191
191
|
return n ? [n] : [];
|
|
192
192
|
};
|
|
193
|
-
var t = s[e], n,
|
|
193
|
+
var t = s[e], n, i = r.model, f = i.get(["axisLine", "onZero"]), x = i.get(["axisLine", "onZeroAxisIndex"]);
|
|
194
194
|
if (!f)
|
|
195
195
|
return;
|
|
196
|
-
if (
|
|
197
|
-
|
|
196
|
+
if (x != null)
|
|
197
|
+
b(t[x]) && (n = t[x]);
|
|
198
198
|
else
|
|
199
199
|
for (var a in t)
|
|
200
|
-
if (t.hasOwnProperty(a) &&
|
|
200
|
+
if (t.hasOwnProperty(a) && b(t[a]) && !o[u(t[a])]) {
|
|
201
201
|
n = t[a];
|
|
202
202
|
break;
|
|
203
203
|
}
|
|
@@ -206,11 +206,11 @@ function b(s, e, i, o) {
|
|
|
206
206
|
return c.dim + "_" + c.index;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
return s && s.type !== "category" && s.type !== "time" &&
|
|
209
|
+
function b(s) {
|
|
210
|
+
return s && s.type !== "category" && s.type !== "time" && Z(s);
|
|
211
211
|
}
|
|
212
212
|
function z(s, e) {
|
|
213
|
-
var
|
|
213
|
+
var r = s.getExtent(), o = r[0] + r[1];
|
|
214
214
|
s.toGlobalCoord = s.dim === "x" ? function(t) {
|
|
215
215
|
return t + e;
|
|
216
216
|
} : function(t) {
|
|
@@ -222,5 +222,5 @@ function z(s, e) {
|
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
export {
|
|
225
|
-
|
|
225
|
+
U as default
|
|
226
226
|
};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { retrieve as
|
|
2
|
-
import { SINGLE_REFERRING as
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
var
|
|
1
|
+
import { retrieve as b, each as h } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { SINGLE_REFERRING as y } from "../../util/model.js";
|
|
3
|
+
function A(a, i, x) {
|
|
4
|
+
x = x || {};
|
|
5
|
+
var d = a.coordinateSystem, n = i.axis, e = {}, s = n.getAxesOnZeroOf()[0], v = n.position, g = s ? "onZero" : v, f = n.dim, o = d.getRect(), r = [o.x, o.x + o.width, o.y, o.y + o.height], l = {
|
|
6
6
|
left: 0,
|
|
7
7
|
right: 1,
|
|
8
8
|
top: 0,
|
|
9
9
|
bottom: 1,
|
|
10
10
|
onZero: 2
|
|
11
|
-
},
|
|
11
|
+
}, c = i.get("offset") || 0, t = f === "x" ? [r[2] - c, r[3] + c] : [r[0] - c, r[1] + c];
|
|
12
12
|
if (s) {
|
|
13
|
-
var
|
|
14
|
-
|
|
13
|
+
var p = s.toGlobalCoord(s.dataToCoord(0));
|
|
14
|
+
t[l.onZero] = Math.max(Math.min(p, t[1]), t[0]);
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
var
|
|
16
|
+
e.position = [f === "y" ? t[l[g]] : r[0], f === "x" ? t[l[g]] : r[3]], e.rotation = Math.PI / 2 * (f === "x" ? 0 : 1);
|
|
17
|
+
var u = {
|
|
18
18
|
top: -1,
|
|
19
19
|
bottom: 1,
|
|
20
20
|
left: -1,
|
|
21
21
|
right: 1
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
var
|
|
25
|
-
return
|
|
23
|
+
e.labelDirection = e.tickDirection = e.nameDirection = u[v], e.labelOffset = s ? t[l[v]] - t[l.onZero] : 0, i.get(["axisTick", "inside"]) && (e.tickDirection = -e.tickDirection), b(x.labelInside, i.get(["axisLabel", "inside"])) && (e.labelDirection = -e.labelDirection);
|
|
24
|
+
var m = i.get(["axisLabel", "rotate"]);
|
|
25
|
+
return e.labelRotate = g === "top" ? -m : m, e.z2 = 1, e;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function I(a) {
|
|
28
28
|
return a.get("coordinateSystem") === "cartesian2d";
|
|
29
29
|
}
|
|
30
30
|
function O(a) {
|
|
31
|
-
var
|
|
31
|
+
var i = {
|
|
32
32
|
xAxisModel: null,
|
|
33
33
|
yAxisModel: null
|
|
34
34
|
};
|
|
35
|
-
return h(
|
|
36
|
-
var n =
|
|
37
|
-
|
|
38
|
-
}),
|
|
35
|
+
return h(i, function(x, d) {
|
|
36
|
+
var n = d.replace(/Model$/, ""), e = a.getReferringComponents(n, y).models[0];
|
|
37
|
+
i[d] = e;
|
|
38
|
+
}), i;
|
|
39
39
|
}
|
|
40
40
|
export {
|
|
41
41
|
O as findAxisModels,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
I as isCartesian2DSeries,
|
|
43
|
+
A as layout
|
|
44
44
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { map as h, bind as d } from "../../../../zrender/lib/core/util.js";
|
|
2
2
|
function s(a, t) {
|
|
3
|
-
return t = t || [0, 0],
|
|
3
|
+
return t = t || [0, 0], h(["x", "y"], function(e, i) {
|
|
4
4
|
var r = this.getAxis(e), o = t[i], n = a[i] / 2;
|
|
5
5
|
return r.type === "category" ? r.getBandWidth() : Math.abs(r.dataToCoord(o - n) - r.dataToCoord(o + n));
|
|
6
6
|
}, this);
|
|
@@ -20,7 +20,7 @@ function c(a) {
|
|
|
20
20
|
coord: function(e) {
|
|
21
21
|
return a.dataToPoint(e);
|
|
22
22
|
},
|
|
23
|
-
size:
|
|
23
|
+
size: d(s, a)
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { __extends as
|
|
2
|
-
import { createHashMap as
|
|
1
|
+
import { __extends as y } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { createHashMap as j, retrieve2 as S, isString as T, mixin as M } from "../../../../zrender/lib/core/util.js";
|
|
3
3
|
import _ from "../../../../zrender/lib/core/BoundingRect.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { SINGLE_REFERRING as
|
|
7
|
-
|
|
4
|
+
import h from "../View.js";
|
|
5
|
+
import m from "./geoSourceManager.js";
|
|
6
|
+
import { SINGLE_REFERRING as G } from "../../util/model.js";
|
|
7
|
+
import "../../util/log.js";
|
|
8
|
+
var P = {
|
|
8
9
|
geoJSON: {
|
|
9
10
|
aspectScale: 0.75,
|
|
10
11
|
invertLongitute: !0
|
|
@@ -13,34 +14,32 @@ var R = {
|
|
|
13
14
|
aspectScale: 1,
|
|
14
15
|
invertLongitute: !1
|
|
15
16
|
}
|
|
16
|
-
},
|
|
17
|
+
}, R = ["lng", "lat"], w = (
|
|
17
18
|
/** @class */
|
|
18
19
|
(function(c) {
|
|
19
|
-
|
|
20
|
+
y(n, c);
|
|
20
21
|
function n(e, t, r) {
|
|
21
22
|
var o = c.call(this, e) || this;
|
|
22
|
-
o.dimensions =
|
|
23
|
-
var i = r.projection, p =
|
|
24
|
-
o.resourceType = a ? a.type : null;
|
|
25
|
-
var g = o.regions = p.regions, l = R[a.type];
|
|
23
|
+
o.dimensions = R, o.type = "geo", o._nameCoordMap = j(), o.map = t;
|
|
24
|
+
var i = r.projection, p = m.load(t, r.nameMap, r.nameProperty), a = m.getGeoResource(t), l = o.resourceType = a ? a.type : null, g = o.regions = p.regions, f = P[a.type];
|
|
26
25
|
o._regionsMap = p.regionsMap, o.regions = p.regions, o.projection = i;
|
|
27
26
|
var s;
|
|
28
27
|
if (i)
|
|
29
28
|
for (var u = 0; u < g.length; u++) {
|
|
30
|
-
var
|
|
31
|
-
s = s ||
|
|
29
|
+
var d = g[u].getBoundingRect(i);
|
|
30
|
+
s = s || d.clone(), s.union(d);
|
|
32
31
|
}
|
|
33
32
|
else
|
|
34
33
|
s = p.boundingRect;
|
|
35
|
-
return o.setBoundingRect(s.x, s.y, s.width, s.height), o.aspectScale = i ? 1 :
|
|
34
|
+
return o.setBoundingRect(s.x, s.y, s.width, s.height), o.aspectScale = i ? 1 : S(r.aspectScale, f.aspectScale), o._invertLongitute = i ? !1 : f.invertLongitute, o;
|
|
36
35
|
}
|
|
37
36
|
return n.prototype._transformTo = function(e, t, r, o) {
|
|
38
37
|
var i = this.getBoundingRect(), p = this._invertLongitute;
|
|
39
38
|
i = i.clone(), p && (i.y = -i.y - i.height);
|
|
40
39
|
var a = this._rawTransformable;
|
|
41
40
|
a.transform = i.calculateTransform(new _(e, t, r, o));
|
|
42
|
-
var
|
|
43
|
-
a.parent = null, a.decomposeTransform(), a.parent =
|
|
41
|
+
var l = a.parent;
|
|
42
|
+
a.parent = null, a.decomposeTransform(), a.parent = l, p && (a.scaleY = -a.scaleY), this._updateTransform();
|
|
44
43
|
}, n.prototype.getRegion = function(e) {
|
|
45
44
|
return this._regionsMap.get(e);
|
|
46
45
|
}, n.prototype.getRegionByCoord = function(e) {
|
|
@@ -55,7 +54,7 @@ var R = {
|
|
|
55
54
|
var t = this._regionsMap.get(e);
|
|
56
55
|
return this._nameCoordMap.get(e) || t && t.getCenter();
|
|
57
56
|
}, n.prototype.dataToPoint = function(e, t, r) {
|
|
58
|
-
if (
|
|
57
|
+
if (T(e) && (e = this.getGeoCoord(e)), e) {
|
|
59
58
|
var o = this.projection;
|
|
60
59
|
return o && (e = o.project(e)), e && this.projectedToPoint(e, t, r);
|
|
61
60
|
}
|
|
@@ -73,14 +72,14 @@ var R = {
|
|
|
73
72
|
var o = v(t);
|
|
74
73
|
return o === this ? o.pointToData(r) : null;
|
|
75
74
|
}, n;
|
|
76
|
-
})(
|
|
75
|
+
})(h)
|
|
77
76
|
);
|
|
78
|
-
M(
|
|
77
|
+
M(w, h);
|
|
79
78
|
function v(c) {
|
|
80
79
|
var n = c.geoModel, e = c.seriesModel;
|
|
81
|
-
return n ? n.coordinateSystem : e ? e.coordinateSystem || (e.getReferringComponents("geo",
|
|
80
|
+
return n ? n.coordinateSystem : e ? e.coordinateSystem || (e.getReferringComponents("geo", G).models[0] || {}).coordinateSystem : null;
|
|
82
81
|
}
|
|
83
82
|
export {
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
w as default,
|
|
84
|
+
R as geo2DDimensions
|
|
86
85
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createHashMap as c,
|
|
1
|
+
import { createHashMap as c, each as f, hasOwn as h, isString as u } from "../../../../zrender/lib/core/util.js";
|
|
2
2
|
import g from "./parseGeoJson.js";
|
|
3
3
|
import m from "./fix/nanhai.js";
|
|
4
4
|
import N from "./fix/textCoord.js";
|
|
@@ -23,7 +23,7 @@ var _ = "name", T = (
|
|
|
23
23
|
var i = c(), s = [];
|
|
24
24
|
return f(r.regions, function(o) {
|
|
25
25
|
var p = o.name;
|
|
26
|
-
a &&
|
|
26
|
+
a && h(a, p) && (o = o.cloneShallow(p = a[p])), s.push(o), i.set(p, o);
|
|
27
27
|
}), {
|
|
28
28
|
regions: s,
|
|
29
29
|
boundingRect: r.boundingRect || new d(0, 0, 0, 0),
|
|
@@ -63,7 +63,7 @@ function v(t) {
|
|
|
63
63
|
return a;
|
|
64
64
|
}
|
|
65
65
|
function J(t) {
|
|
66
|
-
return
|
|
66
|
+
return u(t) ? typeof JSON < "u" && JSON.parse ? JSON.parse(t) : new Function("return (" + t + ");")() : t;
|
|
67
67
|
}
|
|
68
68
|
export {
|
|
69
69
|
T as GeoJSONResource
|