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,11 +1,11 @@
|
|
|
1
|
-
import { isArray as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
var M = 58, F = 120, G =
|
|
5
|
-
function
|
|
1
|
+
import { isArray as E, isObject as j } from "../core/util.js";
|
|
2
|
+
import { createVNode as B, createElement as P, XMLNS as U, XML_NAMESPACE as q, XLINKNS as z } from "./core.js";
|
|
3
|
+
import { appendChild as T, createTextNode as I, insertBefore as x, parentNode as L, removeChild as K, nextSibling as O, setTextContent as N } from "./domapi.js";
|
|
4
|
+
var M = 58, F = 120, G = B("", "");
|
|
5
|
+
function k(t) {
|
|
6
6
|
return t === void 0;
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function m(t) {
|
|
9
9
|
return t !== void 0;
|
|
10
10
|
}
|
|
11
11
|
function H(t, i, e) {
|
|
@@ -15,20 +15,20 @@ function H(t, i, e) {
|
|
|
15
15
|
}
|
|
16
16
|
return r;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function A(t, i) {
|
|
19
19
|
var e = t.key === i.key, r = t.tag === i.tag;
|
|
20
20
|
return r && e;
|
|
21
21
|
}
|
|
22
22
|
function g(t) {
|
|
23
23
|
var i, e = t.children, r = t.tag;
|
|
24
|
-
if (
|
|
25
|
-
var l = t.elm =
|
|
26
|
-
if (
|
|
24
|
+
if (m(r)) {
|
|
25
|
+
var l = t.elm = P(r);
|
|
26
|
+
if (D(G, t), E(e))
|
|
27
27
|
for (i = 0; i < e.length; ++i) {
|
|
28
28
|
var f = e[i];
|
|
29
|
-
f != null &&
|
|
29
|
+
f != null && T(l, g(f));
|
|
30
30
|
}
|
|
31
|
-
else
|
|
31
|
+
else m(t.text) && !j(t.text) && T(l, I(t.text));
|
|
32
32
|
} else
|
|
33
33
|
t.elm = I(t.text);
|
|
34
34
|
return t.elm;
|
|
@@ -39,47 +39,47 @@ function X(t, i, e, r, l) {
|
|
|
39
39
|
f != null && x(t, g(f), i);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function o(t, i, e, r) {
|
|
43
43
|
for (; e <= r; ++e) {
|
|
44
44
|
var l = i[e];
|
|
45
45
|
if (l != null)
|
|
46
|
-
if (
|
|
46
|
+
if (m(l.tag)) {
|
|
47
47
|
var f = L(l.elm);
|
|
48
48
|
K(f, l.elm);
|
|
49
49
|
} else
|
|
50
50
|
K(t, l.elm);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function D(t, i) {
|
|
54
54
|
var e, r = i.elm, l = t && t.attrs || {}, f = i.attrs || {};
|
|
55
55
|
if (l !== f) {
|
|
56
56
|
for (e in f) {
|
|
57
|
-
var a = f[e],
|
|
58
|
-
|
|
57
|
+
var a = f[e], u = l[e];
|
|
58
|
+
u !== a && (a === !0 ? r.setAttribute(e, "") : a === !1 ? r.removeAttribute(e) : e === "style" ? r.style.cssText = a : e.charCodeAt(0) !== F ? r.setAttribute(e, a) : e === "xmlns:xlink" || e === "xmlns" ? r.setAttributeNS(U, e, a) : e.charCodeAt(3) === M ? r.setAttributeNS(q, e, a) : e.charCodeAt(5) === M ? r.setAttributeNS(z, e, a) : r.setAttribute(e, a));
|
|
59
59
|
}
|
|
60
60
|
for (e in l)
|
|
61
61
|
e in f || r.removeAttribute(e);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
function J(t, i, e) {
|
|
65
|
-
for (var r = 0, l = 0, f = i.length - 1, a = i[0],
|
|
66
|
-
a == null ? a = i[++r] :
|
|
67
|
-
(r <= f || l <= n) && (r > f ? (
|
|
65
|
+
for (var r = 0, l = 0, f = i.length - 1, a = i[0], u = i[f], n = e.length - 1, s = e[0], v = e[n], b, y, S, p; r <= f && l <= n; )
|
|
66
|
+
a == null ? a = i[++r] : u == null ? u = i[--f] : s == null ? s = e[++l] : v == null ? v = e[--n] : A(a, s) ? (c(a, s), a = i[++r], s = e[++l]) : A(u, v) ? (c(u, v), u = i[--f], v = e[--n]) : A(a, v) ? (c(a, v), x(t, a.elm, O(u.elm)), a = i[++r], v = e[--n]) : A(u, s) ? (c(u, s), x(t, u.elm, a.elm), u = i[--f], s = e[++l]) : (k(b) && (b = H(i, r, f)), y = b[s.key], k(y) ? x(t, g(s), a.elm) : (S = i[y], S.tag !== s.tag ? x(t, g(s), a.elm) : (c(S, s), i[y] = void 0, x(t, S.elm, a.elm))), s = e[++l]);
|
|
67
|
+
(r <= f || l <= n) && (r > f ? (p = e[n + 1] == null ? null : e[n + 1].elm, X(t, p, e, l, n)) : o(t, i, r, f));
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function c(t, i) {
|
|
70
70
|
var e = i.elm = t.elm, r = t.children, l = i.children;
|
|
71
|
-
t !== i && (
|
|
71
|
+
t !== i && (D(t, i), k(i.text) ? m(r) && m(l) ? r !== l && J(e, r, l) : m(l) ? (m(t.text) && N(e, ""), X(e, null, l, 0, l.length - 1)) : m(r) ? o(e, r, 0, r.length - 1) : m(t.text) && N(e, "") : t.text !== i.text && (m(r) && o(e, r, 0, r.length - 1), N(e, i.text)));
|
|
72
72
|
}
|
|
73
73
|
function Y(t, i) {
|
|
74
|
-
if (
|
|
75
|
-
|
|
74
|
+
if (A(t, i))
|
|
75
|
+
c(t, i);
|
|
76
76
|
else {
|
|
77
77
|
var e = t.elm, r = L(e);
|
|
78
|
-
g(i), r !== null && (x(r, i.elm, O(e)),
|
|
78
|
+
g(i), r !== null && (x(r, i.elm, O(e)), o(r, [t], 0, 0));
|
|
79
79
|
}
|
|
80
80
|
return i;
|
|
81
81
|
}
|
|
82
82
|
export {
|
|
83
83
|
Y as default,
|
|
84
|
-
|
|
84
|
+
D as updateAttrs
|
|
85
85
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { isString as
|
|
1
|
+
import T from "../core/LRU.js";
|
|
2
|
+
import { isString as O, isGradientObject as j, extend as B, map as G } from "../core/util.js";
|
|
3
3
|
var F = {
|
|
4
4
|
transparent: [0, 0, 0, 0],
|
|
5
5
|
aliceblue: [240, 248, 255, 1],
|
|
@@ -150,22 +150,22 @@ var F = {
|
|
|
150
150
|
yellow: [255, 255, 0, 1],
|
|
151
151
|
yellowgreen: [154, 205, 50, 1]
|
|
152
152
|
};
|
|
153
|
-
function
|
|
153
|
+
function d(n) {
|
|
154
154
|
return n = Math.round(n), n < 0 ? 0 : n > 255 ? 255 : n;
|
|
155
155
|
}
|
|
156
156
|
function N(n) {
|
|
157
157
|
return n = Math.round(n), n < 0 ? 0 : n > 360 ? 360 : n;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function m(n) {
|
|
160
160
|
return n < 0 ? 0 : n > 1 ? 1 : n;
|
|
161
161
|
}
|
|
162
162
|
function w(n) {
|
|
163
163
|
var e = n;
|
|
164
|
-
return e.length && e.charAt(e.length - 1) === "%" ?
|
|
164
|
+
return e.length && e.charAt(e.length - 1) === "%" ? d(parseFloat(e) / 100 * 255) : d(parseInt(e, 10));
|
|
165
165
|
}
|
|
166
166
|
function v(n) {
|
|
167
167
|
var e = n;
|
|
168
|
-
return e.length && e.charAt(e.length - 1) === "%" ?
|
|
168
|
+
return e.length && e.charAt(e.length - 1) === "%" ? m(parseFloat(e) / 100) : m(parseFloat(e));
|
|
169
169
|
}
|
|
170
170
|
function x(n, e, t) {
|
|
171
171
|
return t < 0 ? t += 1 : t > 1 && (t -= 1), t * 6 < 1 ? n + (e - n) * t * 6 : t * 2 < 1 ? e : t * 3 < 2 ? n + (e - n) * (2 / 3 - t) * 6 : n;
|
|
@@ -173,117 +173,123 @@ function x(n, e, t) {
|
|
|
173
173
|
function h(n, e, t) {
|
|
174
174
|
return n + (e - n) * t;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function s(n, e, t, r, i) {
|
|
177
177
|
return n[0] = e, n[1] = t, n[2] = r, n[3] = i, n;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function M(n, e) {
|
|
180
180
|
return n[0] = e[0], n[1] = e[1], n[2] = e[2], n[3] = e[3], n;
|
|
181
181
|
}
|
|
182
|
-
var
|
|
183
|
-
function g(n, e) {
|
|
184
|
-
k && b(k, e), k = O.put(n, k || e.slice());
|
|
185
|
-
}
|
|
182
|
+
var H = new T(20), k = null;
|
|
186
183
|
function c(n, e) {
|
|
184
|
+
k && M(k, e), k = H.put(n, k || e.slice());
|
|
185
|
+
}
|
|
186
|
+
function g(n, e) {
|
|
187
187
|
if (n) {
|
|
188
188
|
e = e || [];
|
|
189
|
-
var t =
|
|
189
|
+
var t = H.get(n);
|
|
190
190
|
if (t)
|
|
191
|
-
return
|
|
191
|
+
return M(e, t);
|
|
192
192
|
n = n + "";
|
|
193
193
|
var r = n.replace(/ /g, "").toLowerCase();
|
|
194
194
|
if (r in F)
|
|
195
|
-
return
|
|
195
|
+
return M(e, F[r]), c(n, e), e;
|
|
196
196
|
var i = r.length;
|
|
197
197
|
if (r.charAt(0) === "#") {
|
|
198
198
|
if (i === 4 || i === 5) {
|
|
199
199
|
var l = parseInt(r.slice(1, 4), 16);
|
|
200
200
|
if (!(l >= 0 && l <= 4095)) {
|
|
201
|
-
|
|
201
|
+
s(e, 0, 0, 0, 1);
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
|
-
return
|
|
204
|
+
return s(e, (l & 3840) >> 4 | (l & 3840) >> 8, l & 240 | (l & 240) >> 4, l & 15 | (l & 15) << 4, i === 5 ? parseInt(r.slice(4), 16) / 15 : 1), c(n, e), e;
|
|
205
205
|
} else if (i === 7 || i === 9) {
|
|
206
206
|
var l = parseInt(r.slice(1, 7), 16);
|
|
207
207
|
if (!(l >= 0 && l <= 16777215)) {
|
|
208
|
-
|
|
208
|
+
s(e, 0, 0, 0, 1);
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
|
-
return
|
|
211
|
+
return s(e, (l & 16711680) >> 16, (l & 65280) >> 8, l & 255, i === 9 ? parseInt(r.slice(7), 16) / 255 : 1), c(n, e), e;
|
|
212
212
|
}
|
|
213
213
|
return;
|
|
214
214
|
}
|
|
215
|
-
var a = r.indexOf("("),
|
|
216
|
-
if (a !== -1 &&
|
|
217
|
-
var f = r.substr(0, a), u = r.substr(a + 1,
|
|
215
|
+
var a = r.indexOf("("), o = r.indexOf(")");
|
|
216
|
+
if (a !== -1 && o + 1 === i) {
|
|
217
|
+
var f = r.substr(0, a), u = r.substr(a + 1, o - (a + 1)).split(","), p = 1;
|
|
218
218
|
switch (f) {
|
|
219
219
|
case "rgba":
|
|
220
220
|
if (u.length !== 4)
|
|
221
|
-
return u.length === 3 ?
|
|
221
|
+
return u.length === 3 ? s(e, +u[0], +u[1], +u[2], 1) : s(e, 0, 0, 0, 1);
|
|
222
222
|
p = v(u.pop());
|
|
223
223
|
case "rgb":
|
|
224
224
|
if (u.length >= 3)
|
|
225
|
-
return
|
|
226
|
-
|
|
225
|
+
return s(e, w(u[0]), w(u[1]), w(u[2]), u.length === 3 ? p : v(u[3])), c(n, e), e;
|
|
226
|
+
s(e, 0, 0, 0, 1);
|
|
227
227
|
return;
|
|
228
228
|
case "hsla":
|
|
229
229
|
if (u.length !== 4) {
|
|
230
|
-
|
|
230
|
+
s(e, 0, 0, 0, 1);
|
|
231
231
|
return;
|
|
232
232
|
}
|
|
233
|
-
return u[3] = v(u[3]),
|
|
233
|
+
return u[3] = v(u[3]), b(u, e), c(n, e), e;
|
|
234
234
|
case "hsl":
|
|
235
235
|
if (u.length !== 3) {
|
|
236
|
-
|
|
236
|
+
s(e, 0, 0, 0, 1);
|
|
237
237
|
return;
|
|
238
238
|
}
|
|
239
|
-
return
|
|
239
|
+
return b(u, e), c(n, e), e;
|
|
240
240
|
default:
|
|
241
241
|
return;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
|
|
244
|
+
s(e, 0, 0, 0, 1);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function b(n, e) {
|
|
248
248
|
var t = (parseFloat(n[0]) % 360 + 360) % 360 / 360, r = v(n[1]), i = v(n[2]), l = i <= 0.5 ? i * (r + 1) : i + r - i * r, a = i * 2 - l;
|
|
249
|
-
return e = e || [],
|
|
249
|
+
return e = e || [], s(e, d(x(a, l, t + 1 / 3) * 255), d(x(a, l, t) * 255), d(x(a, l, t - 1 / 3) * 255), 1), n.length === 4 && (e[3] = n[3]), e;
|
|
250
250
|
}
|
|
251
251
|
function U(n) {
|
|
252
252
|
if (n) {
|
|
253
|
-
var e = n[0] / 255, t = n[1] / 255, r = n[2] / 255, i = Math.min(e, t, r), l = Math.max(e, t, r), a = l - i,
|
|
253
|
+
var e = n[0] / 255, t = n[1] / 255, r = n[2] / 255, i = Math.min(e, t, r), l = Math.max(e, t, r), a = l - i, o = (l + i) / 2, f, u;
|
|
254
254
|
if (a === 0)
|
|
255
255
|
f = 0, u = 0;
|
|
256
256
|
else {
|
|
257
|
-
|
|
258
|
-
var p = ((l - e) / 6 + a / 2) / a,
|
|
259
|
-
e === l ? f =
|
|
257
|
+
o < 0.5 ? u = a / (l + i) : u = a / (2 - l - i);
|
|
258
|
+
var p = ((l - e) / 6 + a / 2) / a, I = ((l - t) / 6 + a / 2) / a, C = ((l - r) / 6 + a / 2) / a;
|
|
259
|
+
e === l ? f = C - I : t === l ? f = 1 / 3 + p - C : r === l && (f = 2 / 3 + I - p), f < 0 && (f += 1), f > 1 && (f -= 1);
|
|
260
260
|
}
|
|
261
|
-
var
|
|
262
|
-
return n[3] != null &&
|
|
261
|
+
var q = [f * 360, u, o];
|
|
262
|
+
return n[3] != null && q.push(n[3]), q;
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
function L(n, e) {
|
|
266
|
-
var t =
|
|
266
|
+
var t = g(n);
|
|
267
267
|
if (t) {
|
|
268
268
|
for (var r = 0; r < 3; r++)
|
|
269
269
|
e < 0 ? t[r] = t[r] * (1 - e) | 0 : t[r] = (255 - t[r]) * e + t[r] | 0, t[r] > 255 ? t[r] = 255 : t[r] < 0 && (t[r] = 0);
|
|
270
|
-
return
|
|
270
|
+
return y(t, t.length === 4 ? "rgba" : "rgb");
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function P(n) {
|
|
274
|
+
var e = g(n);
|
|
275
|
+
if (e)
|
|
276
|
+
return ((1 << 24) + (e[0] << 16) + (e[1] << 8) + +e[2]).toString(16).slice(1);
|
|
277
|
+
}
|
|
278
|
+
function D(n, e, t) {
|
|
274
279
|
if (!(!(e && e.length) || !(n >= 0 && n <= 1))) {
|
|
275
280
|
t = t || [];
|
|
276
|
-
var r = n * (e.length - 1), i = Math.floor(r), l = Math.ceil(r), a = e[i],
|
|
277
|
-
return t[0] =
|
|
281
|
+
var r = n * (e.length - 1), i = Math.floor(r), l = Math.ceil(r), a = e[i], o = e[l], f = r - i;
|
|
282
|
+
return t[0] = d(h(a[0], o[0], f)), t[1] = d(h(a[1], o[1], f)), t[2] = d(h(a[2], o[2], f)), t[3] = m(h(a[3], o[3], f)), t;
|
|
278
283
|
}
|
|
279
284
|
}
|
|
280
|
-
|
|
285
|
+
var Q = D;
|
|
286
|
+
function E(n, e, t) {
|
|
281
287
|
if (!(!(e && e.length) || !(n >= 0 && n <= 1))) {
|
|
282
|
-
var r = n * (e.length - 1), i = Math.floor(r), l = Math.ceil(r), a =
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
288
|
+
var r = n * (e.length - 1), i = Math.floor(r), l = Math.ceil(r), a = g(e[i]), o = g(e[l]), f = r - i, u = y([
|
|
289
|
+
d(h(a[0], o[0], f)),
|
|
290
|
+
d(h(a[1], o[1], f)),
|
|
291
|
+
d(h(a[2], o[2], f)),
|
|
292
|
+
m(h(a[3], o[3], f))
|
|
287
293
|
], "rgba");
|
|
288
294
|
return t ? {
|
|
289
295
|
color: u,
|
|
@@ -293,29 +299,37 @@ function K(n, e, t) {
|
|
|
293
299
|
} : u;
|
|
294
300
|
}
|
|
295
301
|
}
|
|
296
|
-
|
|
297
|
-
|
|
302
|
+
var W = E;
|
|
303
|
+
function X(n, e, t, r) {
|
|
304
|
+
var i = g(n);
|
|
298
305
|
if (n)
|
|
299
|
-
return i = U(i), e != null && (i[0] = N(e)), t != null && (i[1] = v(t)), r != null && (i[2] = v(r)),
|
|
306
|
+
return i = U(i), e != null && (i[0] = N(e)), t != null && (i[1] = v(t)), r != null && (i[2] = v(r)), y(b(i), "rgba");
|
|
300
307
|
}
|
|
301
|
-
function
|
|
302
|
-
var t =
|
|
308
|
+
function Y(n, e) {
|
|
309
|
+
var t = g(n);
|
|
303
310
|
if (t && e != null)
|
|
304
|
-
return t[3] =
|
|
311
|
+
return t[3] = m(e), y(t, "rgba");
|
|
305
312
|
}
|
|
306
|
-
function
|
|
313
|
+
function y(n, e) {
|
|
307
314
|
if (!(!n || !n.length)) {
|
|
308
315
|
var t = n[0] + "," + n[1] + "," + n[2];
|
|
309
316
|
return (e === "rgba" || e === "hsva" || e === "hsla") && (t += "," + n[3]), e + "(" + t + ")";
|
|
310
317
|
}
|
|
311
318
|
}
|
|
312
|
-
function
|
|
313
|
-
var t =
|
|
319
|
+
function Z(n, e) {
|
|
320
|
+
var t = g(n);
|
|
314
321
|
return t ? (0.299 * t[0] + 0.587 * t[1] + 0.114 * t[2]) * t[3] / 255 + (1 - t[3]) * e : 0;
|
|
315
322
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
323
|
+
function _() {
|
|
324
|
+
return y([
|
|
325
|
+
Math.round(Math.random() * 255),
|
|
326
|
+
Math.round(Math.random() * 255),
|
|
327
|
+
Math.round(Math.random() * 255)
|
|
328
|
+
], "rgb");
|
|
329
|
+
}
|
|
330
|
+
var R = new T(100);
|
|
331
|
+
function $(n) {
|
|
332
|
+
if (O(n)) {
|
|
319
333
|
var e = R.get(n);
|
|
320
334
|
return e || (e = L(n, -0.1), R.put(n, e)), e;
|
|
321
335
|
} else if (j(n)) {
|
|
@@ -330,13 +344,17 @@ function X(n) {
|
|
|
330
344
|
return n;
|
|
331
345
|
}
|
|
332
346
|
export {
|
|
333
|
-
|
|
334
|
-
|
|
347
|
+
D as fastLerp,
|
|
348
|
+
Q as fastMapToColor,
|
|
349
|
+
E as lerp,
|
|
335
350
|
L as lift,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
351
|
+
$ as liftColor,
|
|
352
|
+
Z as lum,
|
|
353
|
+
W as mapToColor,
|
|
354
|
+
Y as modifyAlpha,
|
|
355
|
+
X as modifyHSL,
|
|
356
|
+
g as parse,
|
|
357
|
+
_ as random,
|
|
358
|
+
y as stringify,
|
|
359
|
+
P as toHex
|
|
342
360
|
};
|