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,57 +1,59 @@
|
|
|
1
|
-
import { createHashMap as
|
|
1
|
+
import { createHashMap as B, map as P, keys as O, reduce as T, clone as U } from "../../../zrender/lib/core/util.js";
|
|
2
2
|
import { parseDataValue as k } from "./helper/dataValueHelper.js";
|
|
3
|
-
import { shouldRetrieveDataByName as
|
|
4
|
-
var E = "undefined", L = typeof Uint32Array === E ? Array : Uint32Array, q = typeof Uint16Array === E ? Array : Uint16Array, H = typeof Int32Array === E ? Array : Int32Array,
|
|
5
|
-
float:
|
|
3
|
+
import { shouldRetrieveDataByName as V } from "./Source.js";
|
|
4
|
+
var E = "undefined", L = typeof Uint32Array === E ? Array : Uint32Array, q = typeof Uint16Array === E ? Array : Uint16Array, H = typeof Int32Array === E ? Array : Int32Array, x = typeof Float64Array === E ? Array : Float64Array, b = {
|
|
5
|
+
float: x,
|
|
6
6
|
int: H,
|
|
7
7
|
// Ordinal data type can be string or int
|
|
8
8
|
ordinal: Array,
|
|
9
9
|
number: Array,
|
|
10
|
-
time:
|
|
11
|
-
},
|
|
12
|
-
function
|
|
13
|
-
return
|
|
10
|
+
time: x
|
|
11
|
+
}, F;
|
|
12
|
+
function N(h) {
|
|
13
|
+
return h > 65535 ? L : q;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function M() {
|
|
16
16
|
return [1 / 0, -1 / 0];
|
|
17
17
|
}
|
|
18
|
-
function J(
|
|
19
|
-
var t =
|
|
20
|
-
return t === Array ?
|
|
18
|
+
function J(h) {
|
|
19
|
+
var t = h.constructor;
|
|
20
|
+
return t === Array ? h.slice() : new t(h);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
var n =
|
|
22
|
+
function z(h, t, r, e, a) {
|
|
23
|
+
var n = b[r || "float"];
|
|
24
24
|
if (a) {
|
|
25
|
-
var
|
|
26
|
-
if (
|
|
27
|
-
for (var
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
var i = h[t], s = i && i.length;
|
|
26
|
+
if (s !== e) {
|
|
27
|
+
for (var o = new n(e), u = 0; u < s; u++)
|
|
28
|
+
o[u] = i[u];
|
|
29
|
+
h[t] = o;
|
|
30
30
|
}
|
|
31
31
|
} else
|
|
32
|
-
|
|
32
|
+
h[t] = new n(e);
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var X = (
|
|
35
35
|
/** @class */
|
|
36
36
|
(function() {
|
|
37
|
-
function
|
|
38
|
-
this._chunks = [], this._rawExtent = [], this._extent = [], this._count = 0, this._rawCount = 0, this._calcDimNameToIdx =
|
|
37
|
+
function h() {
|
|
38
|
+
this._chunks = [], this._rawExtent = [], this._extent = [], this._count = 0, this._rawCount = 0, this._calcDimNameToIdx = B();
|
|
39
39
|
}
|
|
40
|
-
return
|
|
40
|
+
return h.prototype.initData = function(t, r, e) {
|
|
41
41
|
this._provider = t, this._chunks = [], this._indices = null, this.getRawIndex = this._getRawIdxIdentity;
|
|
42
|
-
var a = t.getSource(), n = this.defaultDimValueGetter =
|
|
43
|
-
this._dimValueGetter = e || n, this._rawExtent = []
|
|
42
|
+
var a = t.getSource(), n = this.defaultDimValueGetter = F[a.sourceFormat];
|
|
43
|
+
this._dimValueGetter = e || n, this._rawExtent = [];
|
|
44
|
+
var i = V(a);
|
|
45
|
+
this._dimensions = P(r, function(s) {
|
|
44
46
|
return {
|
|
45
47
|
// Only pick these two props. Not leak other properties like orderMeta.
|
|
46
|
-
type:
|
|
47
|
-
property:
|
|
48
|
+
type: s.type,
|
|
49
|
+
property: s.property
|
|
48
50
|
};
|
|
49
51
|
}), this._initDataFromProvider(0, t.count());
|
|
50
|
-
},
|
|
52
|
+
}, h.prototype.getProvider = function() {
|
|
51
53
|
return this._provider;
|
|
52
|
-
},
|
|
54
|
+
}, h.prototype.getSource = function() {
|
|
53
55
|
return this._provider.getSource();
|
|
54
|
-
},
|
|
56
|
+
}, h.prototype.ensureCalculationDimension = function(t, r) {
|
|
55
57
|
var e = this._calcDimNameToIdx, a = this._dimensions, n = e.get(t);
|
|
56
58
|
if (n != null) {
|
|
57
59
|
if (a[n].type === r)
|
|
@@ -60,70 +62,70 @@ var Z = (
|
|
|
60
62
|
n = a.length;
|
|
61
63
|
return a[n] = {
|
|
62
64
|
type: r
|
|
63
|
-
}, e.set(t, n), this._chunks[n] = new
|
|
64
|
-
},
|
|
65
|
-
var e = this._chunks[t], a = this._dimensions[t], n = this._rawExtent,
|
|
66
|
-
|
|
67
|
-
for (var
|
|
68
|
-
var
|
|
69
|
-
isNaN(
|
|
65
|
+
}, e.set(t, n), this._chunks[n] = new b[r || "float"](this._rawCount), this._rawExtent[n] = M(), n;
|
|
66
|
+
}, h.prototype.collectOrdinalMeta = function(t, r) {
|
|
67
|
+
var e = this._chunks[t], a = this._dimensions[t], n = this._rawExtent, i = a.ordinalOffset || 0, s = e.length;
|
|
68
|
+
i === 0 && (n[t] = M());
|
|
69
|
+
for (var o = n[t], u = i; u < s; u++) {
|
|
70
|
+
var v = e[u] = r.parseAndCollect(e[u]);
|
|
71
|
+
isNaN(v) || (o[0] = Math.min(v, o[0]), o[1] = Math.max(v, o[1]));
|
|
70
72
|
}
|
|
71
|
-
a.ordinalMeta = r, a.ordinalOffset =
|
|
72
|
-
},
|
|
73
|
+
a.ordinalMeta = r, a.ordinalOffset = s, a.type = "ordinal";
|
|
74
|
+
}, h.prototype.getOrdinalMeta = function(t) {
|
|
73
75
|
var r = this._dimensions[t], e = r.ordinalMeta;
|
|
74
76
|
return e;
|
|
75
|
-
},
|
|
77
|
+
}, h.prototype.getDimensionProperty = function(t) {
|
|
76
78
|
var r = this._dimensions[t];
|
|
77
79
|
return r && r.property;
|
|
78
|
-
},
|
|
80
|
+
}, h.prototype.appendData = function(t) {
|
|
79
81
|
var r = this._provider, e = this.count();
|
|
80
82
|
r.appendData(t);
|
|
81
83
|
var a = r.count();
|
|
82
84
|
return r.persistent || (a += e), e < a && this._initDataFromProvider(e, a, !0), [e, a];
|
|
83
|
-
},
|
|
84
|
-
for (var e = this._chunks, a = this._dimensions, n = a.length,
|
|
85
|
-
var
|
|
86
|
-
|
|
85
|
+
}, h.prototype.appendValues = function(t, r) {
|
|
86
|
+
for (var e = this._chunks, a = this._dimensions, n = a.length, i = this._rawExtent, s = this.count(), o = s + Math.max(t.length, r || 0), u = 0; u < n; u++) {
|
|
87
|
+
var v = a[u];
|
|
88
|
+
z(e, u, v.type, o, !0);
|
|
87
89
|
}
|
|
88
|
-
for (var y = [], p =
|
|
89
|
-
for (var c = p -
|
|
90
|
-
var
|
|
91
|
-
e[
|
|
92
|
-
var _ =
|
|
90
|
+
for (var y = [], p = s; p < o; p++)
|
|
91
|
+
for (var c = p - s, f = 0; f < n; f++) {
|
|
92
|
+
var v = a[f], g = F.arrayRows.call(this, t[c] || y, v.property, c, f);
|
|
93
|
+
e[f][p] = g;
|
|
94
|
+
var _ = i[f];
|
|
93
95
|
g < _[0] && (_[0] = g), g > _[1] && (_[1] = g);
|
|
94
96
|
}
|
|
95
|
-
return this._rawCount = this._count =
|
|
96
|
-
start:
|
|
97
|
-
end:
|
|
97
|
+
return this._rawCount = this._count = o, {
|
|
98
|
+
start: s,
|
|
99
|
+
end: o
|
|
98
100
|
};
|
|
99
|
-
},
|
|
100
|
-
for (var a = this._provider, n = this._chunks,
|
|
101
|
+
}, h.prototype._initDataFromProvider = function(t, r, e) {
|
|
102
|
+
for (var a = this._provider, n = this._chunks, i = this._dimensions, s = i.length, o = this._rawExtent, u = P(i, function(w) {
|
|
101
103
|
return w.property;
|
|
102
|
-
}),
|
|
103
|
-
var y =
|
|
104
|
-
|
|
104
|
+
}), v = 0; v < s; v++) {
|
|
105
|
+
var y = i[v];
|
|
106
|
+
o[v] || (o[v] = M()), z(n, v, y.type, r, e);
|
|
105
107
|
}
|
|
106
108
|
if (a.fillStorage)
|
|
107
|
-
a.fillStorage(t, r, n,
|
|
109
|
+
a.fillStorage(t, r, n, o);
|
|
108
110
|
else
|
|
109
111
|
for (var p = [], c = t; c < r; c++) {
|
|
110
112
|
p = a.getItem(c, p);
|
|
111
|
-
for (var
|
|
112
|
-
var g = n[
|
|
113
|
+
for (var f = 0; f < s; f++) {
|
|
114
|
+
var g = n[f], _ = this._dimValueGetter(p, u[f], c, f);
|
|
113
115
|
g[c] = _;
|
|
114
|
-
var l =
|
|
116
|
+
var l = o[f];
|
|
115
117
|
_ < l[0] && (l[0] = _), _ > l[1] && (l[1] = _);
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
!a.persistent && a.clean && a.clean(), this._rawCount = this._count = r, this._extent = [];
|
|
119
|
-
},
|
|
121
|
+
}, h.prototype.count = function() {
|
|
120
122
|
return this._count;
|
|
121
|
-
},
|
|
123
|
+
}, h.prototype.get = function(t, r) {
|
|
122
124
|
if (!(r >= 0 && r < this._count))
|
|
123
125
|
return NaN;
|
|
124
126
|
var e = this._chunks[t];
|
|
125
127
|
return e ? e[this.getRawIndex(r)] : NaN;
|
|
126
|
-
},
|
|
128
|
+
}, h.prototype.getValues = function(t, r) {
|
|
127
129
|
var e = [], a = [];
|
|
128
130
|
if (r == null) {
|
|
129
131
|
r = t, t = [];
|
|
@@ -131,32 +133,32 @@ var Z = (
|
|
|
131
133
|
a.push(n);
|
|
132
134
|
} else
|
|
133
135
|
a = t;
|
|
134
|
-
for (var n = 0,
|
|
136
|
+
for (var n = 0, i = a.length; n < i; n++)
|
|
135
137
|
e.push(this.get(a[n], r));
|
|
136
138
|
return e;
|
|
137
|
-
},
|
|
139
|
+
}, h.prototype.getByRawIndex = function(t, r) {
|
|
138
140
|
if (!(r >= 0 && r < this._rawCount))
|
|
139
141
|
return NaN;
|
|
140
142
|
var e = this._chunks[t];
|
|
141
143
|
return e ? e[r] : NaN;
|
|
142
|
-
},
|
|
144
|
+
}, h.prototype.getSum = function(t) {
|
|
143
145
|
var r = this._chunks[t], e = 0;
|
|
144
146
|
if (r)
|
|
145
147
|
for (var a = 0, n = this.count(); a < n; a++) {
|
|
146
|
-
var
|
|
147
|
-
isNaN(
|
|
148
|
+
var i = this.get(t, a);
|
|
149
|
+
isNaN(i) || (e += i);
|
|
148
150
|
}
|
|
149
151
|
return e;
|
|
150
|
-
},
|
|
152
|
+
}, h.prototype.getMedian = function(t) {
|
|
151
153
|
var r = [];
|
|
152
154
|
this.each([t], function(n) {
|
|
153
155
|
isNaN(n) || r.push(n);
|
|
154
156
|
});
|
|
155
|
-
var e = r.sort(function(n,
|
|
156
|
-
return n -
|
|
157
|
+
var e = r.sort(function(n, i) {
|
|
158
|
+
return n - i;
|
|
157
159
|
}), a = this.count();
|
|
158
160
|
return a === 0 ? 0 : a % 2 === 1 ? e[(a - 1) / 2] : (e[a / 2] + e[a / 2 - 1]) / 2;
|
|
159
|
-
},
|
|
161
|
+
}, h.prototype.indexOfRawIndex = function(t) {
|
|
160
162
|
if (t >= this._rawCount || t < 0)
|
|
161
163
|
return -1;
|
|
162
164
|
if (!this._indices)
|
|
@@ -165,26 +167,26 @@ var Z = (
|
|
|
165
167
|
if (e != null && e < this._count && e === t)
|
|
166
168
|
return t;
|
|
167
169
|
for (var a = 0, n = this._count - 1; a <= n; ) {
|
|
168
|
-
var
|
|
169
|
-
if (r[
|
|
170
|
-
a =
|
|
171
|
-
else if (r[
|
|
172
|
-
n =
|
|
170
|
+
var i = (a + n) / 2 | 0;
|
|
171
|
+
if (r[i] < t)
|
|
172
|
+
a = i + 1;
|
|
173
|
+
else if (r[i] > t)
|
|
174
|
+
n = i - 1;
|
|
173
175
|
else
|
|
174
|
-
return
|
|
176
|
+
return i;
|
|
175
177
|
}
|
|
176
178
|
return -1;
|
|
177
|
-
},
|
|
178
|
-
var a = this._chunks, n = a[t],
|
|
179
|
+
}, h.prototype.indicesOfNearest = function(t, r, e) {
|
|
180
|
+
var a = this._chunks, n = a[t], i = [];
|
|
179
181
|
if (!n)
|
|
180
|
-
return
|
|
182
|
+
return i;
|
|
181
183
|
e == null && (e = 1 / 0);
|
|
182
|
-
for (var
|
|
183
|
-
var p = this.getRawIndex(
|
|
184
|
-
|
|
184
|
+
for (var s = 1 / 0, o = -1, u = 0, v = 0, y = this.count(); v < y; v++) {
|
|
185
|
+
var p = this.getRawIndex(v), c = r - n[p], f = Math.abs(c);
|
|
186
|
+
f <= e && ((f < s || f === s && c >= 0 && o < 0) && (s = f, o = c, u = 0), c === o && (i[u++] = v));
|
|
185
187
|
}
|
|
186
|
-
return
|
|
187
|
-
},
|
|
188
|
+
return i.length = u, i;
|
|
189
|
+
}, h.prototype.getIndices = function() {
|
|
188
190
|
var t, r = this._indices;
|
|
189
191
|
if (r) {
|
|
190
192
|
var e = r.constructor, a = this._count;
|
|
@@ -195,190 +197,190 @@ var Z = (
|
|
|
195
197
|
} else
|
|
196
198
|
t = new e(r.buffer, 0, a);
|
|
197
199
|
} else {
|
|
198
|
-
var e =
|
|
200
|
+
var e = N(this._rawCount);
|
|
199
201
|
t = new e(this.count());
|
|
200
202
|
for (var n = 0; n < t.length; n++)
|
|
201
203
|
t[n] = n;
|
|
202
204
|
}
|
|
203
205
|
return t;
|
|
204
|
-
},
|
|
206
|
+
}, h.prototype.filter = function(t, r) {
|
|
205
207
|
if (!this._count)
|
|
206
208
|
return this;
|
|
207
|
-
for (var e = this.clone(), a = e.count(), n =
|
|
208
|
-
var c = void 0,
|
|
209
|
-
if (
|
|
209
|
+
for (var e = this.clone(), a = e.count(), n = N(e._rawCount), i = new n(a), s = [], o = t.length, u = 0, v = t[0], y = e._chunks, p = 0; p < a; p++) {
|
|
210
|
+
var c = void 0, f = e.getRawIndex(p);
|
|
211
|
+
if (o === 0)
|
|
210
212
|
c = r(p);
|
|
211
|
-
else if (
|
|
212
|
-
var g = y[
|
|
213
|
+
else if (o === 1) {
|
|
214
|
+
var g = y[v][f];
|
|
213
215
|
c = r(g, p);
|
|
214
216
|
} else {
|
|
215
|
-
for (var _ = 0; _ <
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
for (var _ = 0; _ < o; _++)
|
|
218
|
+
s[_] = y[t[_]][f];
|
|
219
|
+
s[_] = p, c = r.apply(null, s);
|
|
218
220
|
}
|
|
219
|
-
c && (
|
|
221
|
+
c && (i[u++] = f);
|
|
220
222
|
}
|
|
221
|
-
return
|
|
222
|
-
},
|
|
223
|
+
return u < a && (e._indices = i), e._count = u, e._extent = [], e._updateGetRawIdx(), e;
|
|
224
|
+
}, h.prototype.selectRange = function(t) {
|
|
223
225
|
var r = this.clone(), e = r._count;
|
|
224
226
|
if (!e)
|
|
225
227
|
return this;
|
|
226
|
-
var a =
|
|
228
|
+
var a = O(t), n = a.length;
|
|
227
229
|
if (!n)
|
|
228
230
|
return this;
|
|
229
|
-
var
|
|
231
|
+
var i = r.count(), s = N(r._rawCount), o = new s(i), u = 0, v = a[0], y = t[v][0], p = t[v][1], c = r._chunks, f = !1;
|
|
230
232
|
if (!r._indices) {
|
|
231
233
|
var g = 0;
|
|
232
234
|
if (n === 1) {
|
|
233
235
|
for (var _ = c[a[0]], l = 0; l < e; l++) {
|
|
234
236
|
var w = _[l];
|
|
235
|
-
(w >= y && w <= p || isNaN(w)) && (
|
|
237
|
+
(w >= y && w <= p || isNaN(w)) && (o[u++] = g), g++;
|
|
236
238
|
}
|
|
237
|
-
|
|
239
|
+
f = !0;
|
|
238
240
|
} else if (n === 2) {
|
|
239
241
|
for (var _ = c[a[0]], d = c[a[1]], R = t[a[1]][0], D = t[a[1]][1], l = 0; l < e; l++) {
|
|
240
242
|
var w = _[l], I = d[l];
|
|
241
|
-
(w >= y && w <= p || isNaN(w)) && (I >= R && I <= D || isNaN(I)) && (
|
|
243
|
+
(w >= y && w <= p || isNaN(w)) && (I >= R && I <= D || isNaN(I)) && (o[u++] = g), g++;
|
|
242
244
|
}
|
|
243
|
-
|
|
245
|
+
f = !0;
|
|
244
246
|
}
|
|
245
247
|
}
|
|
246
|
-
if (!
|
|
248
|
+
if (!f)
|
|
247
249
|
if (n === 1)
|
|
248
|
-
for (var l = 0; l <
|
|
250
|
+
for (var l = 0; l < i; l++) {
|
|
249
251
|
var A = r.getRawIndex(l), w = c[a[0]][A];
|
|
250
|
-
(w >= y && w <= p || isNaN(w)) && (
|
|
252
|
+
(w >= y && w <= p || isNaN(w)) && (o[u++] = A);
|
|
251
253
|
}
|
|
252
254
|
else
|
|
253
|
-
for (var l = 0; l <
|
|
255
|
+
for (var l = 0; l < i; l++) {
|
|
254
256
|
for (var S = !0, A = r.getRawIndex(l), C = 0; C < n; C++) {
|
|
255
257
|
var m = a[C], w = c[m][A];
|
|
256
258
|
(w < t[m][0] || w > t[m][1]) && (S = !1);
|
|
257
259
|
}
|
|
258
|
-
S && (
|
|
260
|
+
S && (o[u++] = r.getRawIndex(l));
|
|
259
261
|
}
|
|
260
|
-
return
|
|
261
|
-
},
|
|
262
|
+
return u < i && (r._indices = o), r._count = u, r._extent = [], r._updateGetRawIdx(), r;
|
|
263
|
+
}, h.prototype.map = function(t, r) {
|
|
262
264
|
var e = this.clone(t);
|
|
263
265
|
return this._updateDims(e, t, r), e;
|
|
264
|
-
},
|
|
266
|
+
}, h.prototype.modify = function(t, r) {
|
|
265
267
|
this._updateDims(this, t, r);
|
|
266
|
-
},
|
|
267
|
-
for (var a = t._chunks, n = [],
|
|
268
|
-
|
|
269
|
-
for (var y = 0; y <
|
|
270
|
-
for (var p = t.getRawIndex(y), c = 0; c <
|
|
271
|
-
|
|
272
|
-
i
|
|
273
|
-
var
|
|
274
|
-
if (
|
|
275
|
-
typeof
|
|
276
|
-
for (var
|
|
277
|
-
var g = r[
|
|
268
|
+
}, h.prototype._updateDims = function(t, r, e) {
|
|
269
|
+
for (var a = t._chunks, n = [], i = r.length, s = t.count(), o = [], u = t._rawExtent, v = 0; v < r.length; v++)
|
|
270
|
+
u[r[v]] = M();
|
|
271
|
+
for (var y = 0; y < s; y++) {
|
|
272
|
+
for (var p = t.getRawIndex(y), c = 0; c < i; c++)
|
|
273
|
+
o[c] = a[r[c]][p];
|
|
274
|
+
o[i] = y;
|
|
275
|
+
var f = e && e.apply(null, o);
|
|
276
|
+
if (f != null) {
|
|
277
|
+
typeof f != "object" && (n[0] = f, f = n);
|
|
278
|
+
for (var v = 0; v < f.length; v++) {
|
|
279
|
+
var g = r[v], _ = f[v], l = u[g], w = a[g];
|
|
278
280
|
w && (w[p] = _), _ < l[0] && (l[0] = _), _ > l[1] && (l[1] = _);
|
|
279
281
|
}
|
|
280
282
|
}
|
|
281
283
|
}
|
|
282
|
-
},
|
|
283
|
-
var e = this.clone([t], !0), a = e._chunks, n = a[t],
|
|
284
|
-
c[
|
|
285
|
-
for (var
|
|
286
|
-
for (var g = Math.min(
|
|
284
|
+
}, h.prototype.lttbDownSample = function(t, r) {
|
|
285
|
+
var e = this.clone([t], !0), a = e._chunks, n = a[t], i = this.count(), s = 0, o = Math.floor(1 / r), u = this.getRawIndex(0), v, y, p, c = new (N(this._rawCount))(Math.min((Math.ceil(i / o) + 2) * 2, i));
|
|
286
|
+
c[s++] = u;
|
|
287
|
+
for (var f = 1; f < i - 1; f += o) {
|
|
288
|
+
for (var g = Math.min(f + o, i - 1), _ = Math.min(f + o * 2, i), l = (_ + g) / 2, w = 0, d = g; d < _; d++) {
|
|
287
289
|
var R = this.getRawIndex(d), D = n[R];
|
|
288
290
|
isNaN(D) || (w += D);
|
|
289
291
|
}
|
|
290
292
|
w /= _ - g;
|
|
291
|
-
var I =
|
|
292
|
-
|
|
293
|
+
var I = f, A = Math.min(f + o, i), S = f - 1, C = n[u];
|
|
294
|
+
v = -1, p = I;
|
|
293
295
|
for (var m = -1, G = 0, d = I; d < A; d++) {
|
|
294
296
|
var R = this.getRawIndex(d), D = n[R];
|
|
295
297
|
if (isNaN(D)) {
|
|
296
298
|
G++, m < 0 && (m = R);
|
|
297
299
|
continue;
|
|
298
300
|
}
|
|
299
|
-
y = Math.abs((S - l) * (D - C) - (S - d) * (w - C)), y >
|
|
301
|
+
y = Math.abs((S - l) * (D - C) - (S - d) * (w - C)), y > v && (v = y, p = R);
|
|
300
302
|
}
|
|
301
|
-
G > 0 && G < A - I && (c[
|
|
303
|
+
G > 0 && G < A - I && (c[s++] = Math.min(m, p), p = Math.max(m, p)), c[s++] = p, u = p;
|
|
302
304
|
}
|
|
303
|
-
return c[
|
|
304
|
-
},
|
|
305
|
-
for (var e = this.clone([t], !0), a = e._chunks, n = Math.floor(1 / r),
|
|
306
|
-
var y =
|
|
307
|
-
|
|
305
|
+
return c[s++] = this.getRawIndex(i - 1), e._count = s, e._indices = c, e.getRawIndex = this._getRawIdx, e;
|
|
306
|
+
}, h.prototype.minmaxDownSample = function(t, r) {
|
|
307
|
+
for (var e = this.clone([t], !0), a = e._chunks, n = Math.floor(1 / r), i = a[t], s = this.count(), o = new (N(this._rawCount))(Math.ceil(s / n) * 2), u = 0, v = 0; v < s; v += n) {
|
|
308
|
+
var y = v, p = i[this.getRawIndex(y)], c = v, f = i[this.getRawIndex(c)], g = n;
|
|
309
|
+
v + n > s && (g = s - v);
|
|
308
310
|
for (var _ = 0; _ < g; _++) {
|
|
309
|
-
var l = this.getRawIndex(
|
|
310
|
-
w < p && (p = w, y =
|
|
311
|
+
var l = this.getRawIndex(v + _), w = i[l];
|
|
312
|
+
w < p && (p = w, y = v + _), w > f && (f = w, c = v + _);
|
|
311
313
|
}
|
|
312
314
|
var d = this.getRawIndex(y), R = this.getRawIndex(c);
|
|
313
|
-
y < c ? (
|
|
315
|
+
y < c ? (o[u++] = d, o[u++] = R) : (o[u++] = R, o[u++] = d);
|
|
314
316
|
}
|
|
315
|
-
return e._count =
|
|
316
|
-
},
|
|
317
|
-
for (var n = this.clone([t], !0),
|
|
318
|
-
|
|
319
|
-
for (var g = 0; g <
|
|
320
|
-
var _ = this.getRawIndex(
|
|
321
|
-
|
|
317
|
+
return e._count = u, e._indices = o, e._updateGetRawIdx(), e;
|
|
318
|
+
}, h.prototype.downSample = function(t, r, e, a) {
|
|
319
|
+
for (var n = this.clone([t], !0), i = n._chunks, s = [], o = Math.floor(1 / r), u = i[t], v = this.count(), y = n._rawExtent[t] = M(), p = new (N(this._rawCount))(Math.ceil(v / o)), c = 0, f = 0; f < v; f += o) {
|
|
320
|
+
o > v - f && (o = v - f, s.length = o);
|
|
321
|
+
for (var g = 0; g < o; g++) {
|
|
322
|
+
var _ = this.getRawIndex(f + g);
|
|
323
|
+
s[g] = u[_];
|
|
322
324
|
}
|
|
323
|
-
var l = e(
|
|
324
|
-
|
|
325
|
+
var l = e(s), w = this.getRawIndex(Math.min(f + a(s, l) || 0, v - 1));
|
|
326
|
+
u[w] = l, l < y[0] && (y[0] = l), l > y[1] && (y[1] = l), p[c++] = w;
|
|
325
327
|
}
|
|
326
328
|
return n._count = c, n._indices = p, n._updateGetRawIdx(), n;
|
|
327
|
-
},
|
|
329
|
+
}, h.prototype.each = function(t, r) {
|
|
328
330
|
if (this._count)
|
|
329
|
-
for (var e = t.length, a = this._chunks, n = 0,
|
|
330
|
-
var
|
|
331
|
+
for (var e = t.length, a = this._chunks, n = 0, i = this.count(); n < i; n++) {
|
|
332
|
+
var s = this.getRawIndex(n);
|
|
331
333
|
switch (e) {
|
|
332
334
|
case 0:
|
|
333
335
|
r(n);
|
|
334
336
|
break;
|
|
335
337
|
case 1:
|
|
336
|
-
r(a[t[0]][
|
|
338
|
+
r(a[t[0]][s], n);
|
|
337
339
|
break;
|
|
338
340
|
case 2:
|
|
339
|
-
r(a[t[0]][
|
|
341
|
+
r(a[t[0]][s], a[t[1]][s], n);
|
|
340
342
|
break;
|
|
341
343
|
default:
|
|
342
|
-
for (var
|
|
343
|
-
|
|
344
|
-
|
|
344
|
+
for (var o = 0, u = []; o < e; o++)
|
|
345
|
+
u[o] = a[t[o]][s];
|
|
346
|
+
u[o] = n, r.apply(null, u);
|
|
345
347
|
}
|
|
346
348
|
}
|
|
347
|
-
},
|
|
348
|
-
var r = this._chunks[t], e =
|
|
349
|
+
}, h.prototype.getDataExtent = function(t) {
|
|
350
|
+
var r = this._chunks[t], e = M();
|
|
349
351
|
if (!r)
|
|
350
352
|
return e;
|
|
351
|
-
var a = this.count(), n = !this._indices,
|
|
353
|
+
var a = this.count(), n = !this._indices, i;
|
|
352
354
|
if (n)
|
|
353
355
|
return this._rawExtent[t].slice();
|
|
354
|
-
if (
|
|
355
|
-
return
|
|
356
|
-
|
|
357
|
-
for (var
|
|
358
|
-
var
|
|
359
|
-
y <
|
|
356
|
+
if (i = this._extent[t], i)
|
|
357
|
+
return i.slice();
|
|
358
|
+
i = e;
|
|
359
|
+
for (var s = i[0], o = i[1], u = 0; u < a; u++) {
|
|
360
|
+
var v = this.getRawIndex(u), y = r[v];
|
|
361
|
+
y < s && (s = y), y > o && (o = y);
|
|
360
362
|
}
|
|
361
|
-
return
|
|
362
|
-
},
|
|
363
|
+
return i = [s, o], this._extent[t] = i, i;
|
|
364
|
+
}, h.prototype.getRawDataItem = function(t) {
|
|
363
365
|
var r = this.getRawIndex(t);
|
|
364
366
|
if (this._provider.persistent)
|
|
365
367
|
return this._provider.getItem(r);
|
|
366
368
|
for (var e = [], a = this._chunks, n = 0; n < a.length; n++)
|
|
367
369
|
e.push(a[n][r]);
|
|
368
370
|
return e;
|
|
369
|
-
},
|
|
370
|
-
var e = new
|
|
371
|
-
return
|
|
371
|
+
}, h.prototype.clone = function(t, r) {
|
|
372
|
+
var e = new h(), a = this._chunks, n = t && T(t, function(s, o) {
|
|
373
|
+
return s[o] = !0, s;
|
|
372
374
|
}, {});
|
|
373
375
|
if (n)
|
|
374
|
-
for (var
|
|
375
|
-
e._chunks[
|
|
376
|
+
for (var i = 0; i < a.length; i++)
|
|
377
|
+
e._chunks[i] = n[i] ? J(a[i]) : a[i];
|
|
376
378
|
else
|
|
377
379
|
e._chunks = a;
|
|
378
380
|
return this._copyCommonProps(e), r || (e._indices = this._cloneIndices()), e._updateGetRawIdx(), e;
|
|
379
|
-
},
|
|
380
|
-
t._count = this._count, t._rawCount = this._rawCount, t._provider = this._provider, t._dimensions = this._dimensions, t._extent =
|
|
381
|
-
},
|
|
381
|
+
}, h.prototype._copyCommonProps = function(t) {
|
|
382
|
+
t._count = this._count, t._rawCount = this._rawCount, t._provider = this._provider, t._dimensions = this._dimensions, t._extent = U(this._extent), t._rawExtent = U(this._rawExtent);
|
|
383
|
+
}, h.prototype._cloneIndices = function() {
|
|
382
384
|
if (this._indices) {
|
|
383
385
|
var t = this._indices.constructor, r = void 0;
|
|
384
386
|
if (t === Array) {
|
|
@@ -391,37 +393,37 @@ var Z = (
|
|
|
391
393
|
return r;
|
|
392
394
|
}
|
|
393
395
|
return null;
|
|
394
|
-
},
|
|
396
|
+
}, h.prototype._getRawIdxIdentity = function(t) {
|
|
395
397
|
return t;
|
|
396
|
-
},
|
|
398
|
+
}, h.prototype._getRawIdx = function(t) {
|
|
397
399
|
return t < this._count && t >= 0 ? this._indices[t] : -1;
|
|
398
|
-
},
|
|
400
|
+
}, h.prototype._updateGetRawIdx = function() {
|
|
399
401
|
this.getRawIndex = this._indices ? this._getRawIdx : this._getRawIdxIdentity;
|
|
400
|
-
},
|
|
402
|
+
}, h.internalField = (function() {
|
|
401
403
|
function t(r, e, a, n) {
|
|
402
404
|
return k(r[n], this._dimensions[n]);
|
|
403
405
|
}
|
|
404
|
-
|
|
406
|
+
F = {
|
|
405
407
|
arrayRows: t,
|
|
406
408
|
objectRows: function(r, e, a, n) {
|
|
407
409
|
return k(r[e], this._dimensions[n]);
|
|
408
410
|
},
|
|
409
411
|
keyedColumns: t,
|
|
410
412
|
original: function(r, e, a, n) {
|
|
411
|
-
var
|
|
412
|
-
return k(
|
|
413
|
+
var i = r && (r.value == null ? r : r.value);
|
|
414
|
+
return k(i instanceof Array ? i[n] : i, this._dimensions[n]);
|
|
413
415
|
},
|
|
414
416
|
typedArray: function(r, e, a, n) {
|
|
415
417
|
return r[n];
|
|
416
418
|
}
|
|
417
419
|
};
|
|
418
|
-
})(),
|
|
420
|
+
})(), h;
|
|
419
421
|
})()
|
|
420
422
|
);
|
|
421
423
|
export {
|
|
422
|
-
|
|
424
|
+
x as CtorFloat64Array,
|
|
423
425
|
H as CtorInt32Array,
|
|
424
426
|
q as CtorUint16Array,
|
|
425
427
|
L as CtorUint32Array,
|
|
426
|
-
|
|
428
|
+
X as default
|
|
427
429
|
};
|