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,22 +1,30 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
const
|
|
1
|
+
import { computed as n, h as m } from "vue";
|
|
2
|
+
const a = {
|
|
3
3
|
name: String
|
|
4
4
|
};
|
|
5
|
-
function i(
|
|
6
|
-
return (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
function i(e) {
|
|
6
|
+
return n(() => ({
|
|
7
|
+
type: "hidden",
|
|
8
|
+
name: e.name,
|
|
9
|
+
value: e.modelValue
|
|
10
|
+
}));
|
|
11
|
+
}
|
|
12
|
+
function c(e = {}) {
|
|
13
|
+
return (t, r, u) => {
|
|
14
|
+
t[r](
|
|
15
|
+
m("input", {
|
|
16
|
+
class: "hidden" + (u || ""),
|
|
17
|
+
...e.value
|
|
11
18
|
})
|
|
12
19
|
);
|
|
13
20
|
};
|
|
14
21
|
}
|
|
15
|
-
function s(
|
|
16
|
-
return
|
|
22
|
+
function s(e) {
|
|
23
|
+
return n(() => e.name || e.for);
|
|
17
24
|
}
|
|
18
25
|
export {
|
|
19
|
-
i as
|
|
26
|
+
i as useFormAttrs,
|
|
27
|
+
c as useFormInject,
|
|
20
28
|
s as useFormInputNameAttr,
|
|
21
|
-
|
|
29
|
+
a as useFormProps
|
|
22
30
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
function
|
|
2
|
-
let
|
|
1
|
+
function c() {
|
|
2
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
3
3
|
return {
|
|
4
|
-
getCache: (e,
|
|
5
|
-
setCache(e,
|
|
6
|
-
|
|
4
|
+
getCache: (e, a) => t[e] === void 0 ? t[e] = typeof a == "function" ? a() : a : t[e],
|
|
5
|
+
setCache(e, a) {
|
|
6
|
+
t[e] = a;
|
|
7
7
|
},
|
|
8
8
|
hasCache(e) {
|
|
9
|
-
return Object.hasOwnProperty.call(
|
|
9
|
+
return Object.hasOwnProperty.call(t, e);
|
|
10
10
|
},
|
|
11
11
|
clearCache(e) {
|
|
12
|
-
e !== void 0 ? delete
|
|
12
|
+
e !== void 0 ? delete t[e] : t = /* @__PURE__ */ Object.create(null);
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
c as default
|
|
18
18
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { createDirective as
|
|
2
|
-
import { getPortalProxy as
|
|
1
|
+
import { createDirective as s } from "../../utils/private.create/create.js";
|
|
2
|
+
import { getPortalProxy as d, closePortals as i } from "../../utils/private.portal/portal.js";
|
|
3
3
|
import { isKeyCode as c } from "../../utils/private.keyboard/key-composition.js";
|
|
4
|
+
import "../../utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js";
|
|
4
5
|
function n(e) {
|
|
5
6
|
if (e === !1)
|
|
6
7
|
return 0;
|
|
@@ -9,7 +10,7 @@ function n(e) {
|
|
|
9
10
|
const t = parseInt(e, 10);
|
|
10
11
|
return isNaN(t) ? 0 : t;
|
|
11
12
|
}
|
|
12
|
-
const
|
|
13
|
+
const l = s(
|
|
13
14
|
{
|
|
14
15
|
name: "close-popup",
|
|
15
16
|
beforeMount(e, { value: t }) {
|
|
@@ -17,7 +18,7 @@ const f = d(
|
|
|
17
18
|
depth: n(t),
|
|
18
19
|
handler(r) {
|
|
19
20
|
o.depth !== 0 && setTimeout(() => {
|
|
20
|
-
const p =
|
|
21
|
+
const p = d(e);
|
|
21
22
|
p !== void 0 && i(p, r, o.depth);
|
|
22
23
|
});
|
|
23
24
|
},
|
|
@@ -37,5 +38,5 @@ const f = d(
|
|
|
37
38
|
}
|
|
38
39
|
);
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
+
l as default
|
|
41
42
|
};
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import { createDirective as x } from "../../utils/private.create/create.js";
|
|
2
2
|
import { css as C } from "../../utils/dom/dom.js";
|
|
3
|
-
import {
|
|
4
|
-
import { isKeyCode as
|
|
5
|
-
import
|
|
3
|
+
import { stop as w, position as R, cleanEvt as g, addEvt as E } from "../../utils/event/event.js";
|
|
4
|
+
import { isKeyCode as S } from "../../utils/private.keyboard/key-composition.js";
|
|
5
|
+
import T from "../../utils/throttle/throttle.js";
|
|
6
|
+
import "../../utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js";
|
|
6
7
|
function q(t, e, r, i) {
|
|
7
|
-
r.modifiers.stop === !0 &&
|
|
8
|
+
r.modifiers.stop === !0 && w(t);
|
|
8
9
|
const o = r.modifiers.color;
|
|
9
10
|
let l = r.modifiers.center;
|
|
10
11
|
l = l === !0 || i === !0;
|
|
11
|
-
const
|
|
12
|
+
const p = document.createElement("span"), s = document.createElement("span"), f = R(t), { left: h, top: k, width: n, height: c } = e.getBoundingClientRect(), a = Math.sqrt(n * n + c * c), m = a / 2, u = `${(n - a) / 2}px`, v = l ? u : `${f.left - h - m}px`, y = `${(c - a) / 2}px`, b = l ? y : `${f.top - k - m}px`;
|
|
12
13
|
s.className = "q-ripple__inner", C(s, {
|
|
13
|
-
height: `${
|
|
14
|
-
width: `${
|
|
14
|
+
height: `${a}px`,
|
|
15
|
+
width: `${a}px`,
|
|
15
16
|
transform: `translate3d(${v},${b},0) scale3d(.2,.2,1)`,
|
|
16
17
|
opacity: 0
|
|
17
|
-
}),
|
|
18
|
+
}), p.className = `q-ripple${o ? " text-" + o : ""}`, p.setAttribute("dir", "ltr"), p.appendChild(s), e.appendChild(p);
|
|
18
19
|
const _ = () => {
|
|
19
|
-
|
|
20
|
+
p.remove(), clearTimeout(d);
|
|
20
21
|
};
|
|
21
22
|
r.abort.push(_);
|
|
22
23
|
let d = setTimeout(() => {
|
|
23
|
-
s.classList.add("q-ripple__inner--enter"), s.style.transform = `translate3d(${
|
|
24
|
+
s.classList.add("q-ripple__inner--enter"), s.style.transform = `translate3d(${u},${y},0) scale3d(1,1,1)`, s.style.opacity = 0.2, d = setTimeout(() => {
|
|
24
25
|
s.classList.remove("q-ripple__inner--enter"), s.classList.add("q-ripple__inner--leave"), s.style.opacity = 0, d = setTimeout(() => {
|
|
25
|
-
|
|
26
|
+
p.remove(), r.abort.splice(r.abort.indexOf(_), 1);
|
|
26
27
|
}, 275);
|
|
27
28
|
}, 250);
|
|
28
29
|
}, 50);
|
|
@@ -37,7 +38,7 @@ function $(t, { modifiers: e, value: r, arg: i }) {
|
|
|
37
38
|
keyCodes: [].concat(o.keyCodes || 13)
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
const
|
|
41
|
+
const A = x(
|
|
41
42
|
{
|
|
42
43
|
name: "ripple",
|
|
43
44
|
beforeMount(t, e) {
|
|
@@ -51,8 +52,8 @@ const S = x(
|
|
|
51
52
|
start(o) {
|
|
52
53
|
i.enabled === !0 && o.qSkipRipple !== !0 && o.type === (i.modifiers.early === !0 ? "pointerdown" : "click") && q(o, t, i, o.qKeyEvent === !0);
|
|
53
54
|
},
|
|
54
|
-
keystart:
|
|
55
|
-
i.enabled === !0 && o.qSkipRipple !== !0 &&
|
|
55
|
+
keystart: T((o) => {
|
|
56
|
+
i.enabled === !0 && o.qSkipRipple !== !0 && S(o, i.modifiers.keyCodes) === !0 && o.type === `key${i.modifiers.early === !0 ? "down" : "up"}` && q(o, t, i, !0);
|
|
56
57
|
}, 300)
|
|
57
58
|
};
|
|
58
59
|
$(i, e), t.__qripple = i, E(i, "main", [
|
|
@@ -72,10 +73,10 @@ const S = x(
|
|
|
72
73
|
const e = t.__qripple;
|
|
73
74
|
e !== void 0 && (e.abort.forEach((r) => {
|
|
74
75
|
r();
|
|
75
|
-
}),
|
|
76
|
+
}), g(e, "main"), delete t._qripple);
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
);
|
|
79
80
|
export {
|
|
80
|
-
|
|
81
|
+
A as default
|
|
81
82
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { client as m } from "../../plugins/platform/Platform.js";
|
|
2
|
-
import { createDirective as
|
|
3
|
-
import { getModifierDirections as w, shouldStart as
|
|
4
|
-
import {
|
|
5
|
-
import { clearSelection as
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { createDirective as M } from "../../utils/private.create/create.js";
|
|
3
|
+
import { getModifierDirections as w, shouldStart as S } from "../../utils/private.touch/touch.js";
|
|
4
|
+
import { position as b, cleanEvt as y, preventDraggable as C, stopAndPrevent as P, stop as g, prevent as _, noop as D, addEvt as h, leftClick as X } from "../../utils/event/event.js";
|
|
5
|
+
import { clearSelection as Y } from "../../utils/private.selection/selection.js";
|
|
6
|
+
import "../../utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js";
|
|
7
|
+
function E(a, r, n) {
|
|
8
|
+
const l = b(a);
|
|
8
9
|
let e, t = l.left - r.event.x, o = l.top - r.event.y, s = Math.abs(t), u = Math.abs(o);
|
|
9
10
|
const i = r.direction;
|
|
10
11
|
i.horizontal === !0 && i.vertical !== !0 ? e = t < 0 ? "left" : "right" : i.horizontal !== !0 && i.vertical === !0 ? e = o < 0 ? "up" : "down" : i.up === !0 && o < 0 ? (e = "up", s > u && (i.left === !0 && t < 0 ? e = "left" : i.right === !0 && t > 0 && (e = "right"))) : i.down === !0 && o > 0 ? (e = "down", s > u && (i.left === !0 && t < 0 ? e = "left" : i.right === !0 && t > 0 && (e = "right"))) : i.left === !0 && t < 0 ? (e = "left", s < u && (i.up === !0 && o < 0 ? e = "up" : i.down === !0 && o > 0 && (e = "down"))) : i.right === !0 && t > 0 && (e = "right", s < u && (i.up === !0 && o < 0 ? e = "up" : i.down === !0 && o > 0 && (e = "down")));
|
|
@@ -40,29 +41,29 @@ function b(a, r, n) {
|
|
|
40
41
|
}
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
|
-
let
|
|
44
|
-
const
|
|
44
|
+
let F = 0;
|
|
45
|
+
const T = M(
|
|
45
46
|
{
|
|
46
47
|
name: "touch-pan",
|
|
47
48
|
beforeMount(a, { value: r, modifiers: n }) {
|
|
48
49
|
if (n.mouse !== !0 && m.has.touch !== !0) return;
|
|
49
50
|
function l(t, o) {
|
|
50
|
-
n.mouse === !0 && o === !0 ?
|
|
51
|
+
n.mouse === !0 && o === !0 ? P(t) : (n.stop === !0 && g(t), n.prevent === !0 && _(t));
|
|
51
52
|
}
|
|
52
53
|
const e = {
|
|
53
|
-
uid: "qvtp_" +
|
|
54
|
+
uid: "qvtp_" + F++,
|
|
54
55
|
handler: r,
|
|
55
56
|
modifiers: n,
|
|
56
57
|
direction: w(n),
|
|
57
|
-
noop:
|
|
58
|
+
noop: D,
|
|
58
59
|
mouseStart(t) {
|
|
59
|
-
|
|
60
|
+
S(t, e) && X(t) && (h(e, "temp", [
|
|
60
61
|
[document, "mousemove", "move", "notPassiveCapture"],
|
|
61
62
|
[document, "mouseup", "end", "passiveCapture"]
|
|
62
63
|
]), e.start(t, !0));
|
|
63
64
|
},
|
|
64
65
|
touchStart(t) {
|
|
65
|
-
if (
|
|
66
|
+
if (S(t, e)) {
|
|
66
67
|
const o = t.target;
|
|
67
68
|
h(e, "temp", [
|
|
68
69
|
[o, "touchmove", "move", "notPassiveCapture"],
|
|
@@ -75,7 +76,7 @@ const x = D(
|
|
|
75
76
|
if (m.is.firefox === !0 && C(a, !0), e.lastEvt = t, o === !0 || n.stop === !0) {
|
|
76
77
|
if (e.direction.all !== !0 && (o !== !0 || e.modifiers.mouseAllDir !== !0 && e.modifiers.mousealldir !== !0)) {
|
|
77
78
|
const i = t.type.indexOf("mouse") !== -1 ? new MouseEvent(t.type, t) : new TouchEvent(t.type, t);
|
|
78
|
-
t.defaultPrevented === !0 &&
|
|
79
|
+
t.defaultPrevented === !0 && _(i), t.cancelBubble === !0 && g(i), Object.assign(i, {
|
|
79
80
|
qKeyEvent: t.qKeyEvent,
|
|
80
81
|
qClickOutside: t.qClickOutside,
|
|
81
82
|
qAnchorHandled: t.qAnchorHandled,
|
|
@@ -85,9 +86,9 @@ const x = D(
|
|
|
85
86
|
event: i
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
|
-
|
|
89
|
+
g(t);
|
|
89
90
|
}
|
|
90
|
-
const { left: s, top: u } =
|
|
91
|
+
const { left: s, top: u } = b(t);
|
|
91
92
|
e.event = {
|
|
92
93
|
x: s,
|
|
93
94
|
y: u,
|
|
@@ -102,13 +103,13 @@ const x = D(
|
|
|
102
103
|
},
|
|
103
104
|
move(t) {
|
|
104
105
|
if (e.event === void 0) return;
|
|
105
|
-
const o =
|
|
106
|
+
const o = b(t), s = o.left - e.event.x, u = o.top - e.event.y;
|
|
106
107
|
if (s === 0 && u === 0) return;
|
|
107
108
|
e.lastEvt = t;
|
|
108
109
|
const i = e.event.mouse === !0, v = () => {
|
|
109
110
|
l(t, i);
|
|
110
111
|
let d;
|
|
111
|
-
n.preserveCursor !== !0 && n.preservecursor !== !0 && (d = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), i === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"),
|
|
112
|
+
n.preserveCursor !== !0 && n.preservecursor !== !0 && (d = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), i === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), Y(), e.styleCleanup = (p) => {
|
|
112
113
|
if (e.styleCleanup = void 0, d !== void 0 && (document.documentElement.style.cursor = d), document.body.classList.remove("non-selectable"), i === !0) {
|
|
113
114
|
const q = () => {
|
|
114
115
|
document.body.classList.remove("no-pointer-events--children");
|
|
@@ -121,7 +122,7 @@ const x = D(
|
|
|
121
122
|
};
|
|
122
123
|
if (e.event.detected === !0) {
|
|
123
124
|
e.event.isFirst !== !0 && l(t, e.event.mouse);
|
|
124
|
-
const { payload: d, synthetic: p } =
|
|
125
|
+
const { payload: d, synthetic: p } = E(t, e, !1);
|
|
125
126
|
d !== void 0 && (e.handler(d) === !1 ? e.end(t) : (e.styleCleanup === void 0 && e.event.isFirst === !0 && v(), e.event.lastX = d.position.left, e.event.lastY = d.position.top, e.event.lastDir = p === !0 ? void 0 : d.direction, e.event.isFirst = !1));
|
|
126
127
|
return;
|
|
127
128
|
}
|
|
@@ -137,8 +138,8 @@ const x = D(
|
|
|
137
138
|
if (y(e, "temp"), m.is.firefox === !0 && C(a, !1), o === !0)
|
|
138
139
|
e.styleCleanup?.(), e.event.detected !== !0 && e.initialEvent !== void 0 && e.initialEvent.target.dispatchEvent(e.initialEvent.event);
|
|
139
140
|
else if (e.event.detected === !0) {
|
|
140
|
-
e.event.isFirst === !0 && e.handler(
|
|
141
|
-
const { payload: s } =
|
|
141
|
+
e.event.isFirst === !0 && e.handler(E(t === void 0 ? e.lastEvt : t, e).payload);
|
|
142
|
+
const { payload: s } = E(t === void 0 ? e.lastEvt : t, e, !0), u = () => {
|
|
142
143
|
e.handler(s);
|
|
143
144
|
};
|
|
144
145
|
e.styleCleanup !== void 0 ? e.styleCleanup(u) : u();
|
|
@@ -170,5 +171,5 @@ const x = D(
|
|
|
170
171
|
}
|
|
171
172
|
);
|
|
172
173
|
export {
|
|
173
|
-
|
|
174
|
+
T as default
|
|
174
175
|
};
|
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
import { createReactivePlugin as
|
|
1
|
+
import { createReactivePlugin as l } from "../../utils/private.create/create.js";
|
|
2
2
|
import o from "../../../lang/en-US.js";
|
|
3
|
-
function
|
|
3
|
+
function i() {
|
|
4
4
|
const e = Array.isArray(navigator.languages) === !0 && navigator.languages.length !== 0 ? navigator.languages[0] : navigator.language;
|
|
5
5
|
if (typeof e == "string")
|
|
6
|
-
return e.split(/[-_]/).map((t,
|
|
6
|
+
return e.split(/[-_]/).map((t, s) => s === 0 ? t.toLowerCase() : s > 1 || t.length < 4 ? t.toUpperCase() : t[0].toUpperCase() + t.slice(1).toLowerCase()).join("-");
|
|
7
7
|
}
|
|
8
|
-
const a =
|
|
8
|
+
const a = l({
|
|
9
9
|
__qLang: {}
|
|
10
10
|
}, {
|
|
11
11
|
// props: object
|
|
12
12
|
// __langConfig: object
|
|
13
|
-
getLocale:
|
|
13
|
+
getLocale: i,
|
|
14
14
|
set(e = o, t) {
|
|
15
|
-
const
|
|
15
|
+
const s = {
|
|
16
16
|
...e,
|
|
17
17
|
rtl: e.rtl === !0,
|
|
18
|
-
getLocale:
|
|
18
|
+
getLocale: i
|
|
19
19
|
};
|
|
20
|
-
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
r.setAttribute("dir", n.rtl === !0 ? "rtl" : "ltr"), r.setAttribute("lang", n.isoName);
|
|
24
|
-
}
|
|
25
|
-
Object.assign(a.__qLang, n);
|
|
20
|
+
if (s.set = a.set, a.__langConfig === void 0 || a.__langConfig.noHtmlAttrs !== !0) {
|
|
21
|
+
const n = document.documentElement;
|
|
22
|
+
n.setAttribute("dir", s.rtl === !0 ? "rtl" : "ltr"), n.setAttribute("lang", s.isoName);
|
|
26
23
|
}
|
|
24
|
+
Object.assign(a.__qLang, s);
|
|
27
25
|
},
|
|
28
|
-
install({ $q: e, lang: t, ssrContext:
|
|
26
|
+
install({ $q: e, lang: t, ssrContext: s }) {
|
|
29
27
|
e.lang = a.__qLang, a.__langConfig = e.config.lang, this.__installed === !0 ? t !== void 0 && this.set(t) : (this.props = new Proxy(this.__qLang, {
|
|
30
28
|
get() {
|
|
31
29
|
return Reflect.get(...arguments);
|
|
32
30
|
},
|
|
33
|
-
ownKeys(
|
|
34
|
-
return Reflect.ownKeys(
|
|
31
|
+
ownKeys(n) {
|
|
32
|
+
return Reflect.ownKeys(n).filter((r) => r !== "set" && r !== "getLocale");
|
|
35
33
|
}
|
|
36
34
|
}), this.set(t || o));
|
|
37
35
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as p, reactive as b } from "vue";
|
|
2
2
|
import { injectProp as u } from "../../utils/private.inject-obj-prop/inject-obj-prop.js";
|
|
3
|
-
const t =
|
|
3
|
+
const t = p(
|
|
4
4
|
!1
|
|
5
5
|
);
|
|
6
6
|
let s;
|
|
7
|
-
function
|
|
7
|
+
function m(o, r) {
|
|
8
8
|
const a = /(edg|edge|edga|edgios)\/([\w.]+)/.exec(o) || /(opr)[\/]([\w.]+)/.exec(o) || /(vivaldi)[\/]([\w.]+)/.exec(o) || /(chrome|crios)[\/]([\w.]+)/.exec(o) || /(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(o) || /(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(o) || /(firefox|fxios)[\/]([\w.]+)/.exec(o) || /(webkit)[\/]([\w.]+)/.exec(o) || /(opera)(?:.*version|)[\/]([\w.]+)/.exec(o) || [];
|
|
9
9
|
return {
|
|
10
10
|
browser: a[5] || a[3] || a[1] || "",
|
|
@@ -12,12 +12,12 @@ function v(o, r) {
|
|
|
12
12
|
platform: r[0] || ""
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function v(o) {
|
|
16
16
|
return /(ipad)/.exec(o) || /(ipod)/.exec(o) || /(windows phone)/.exec(o) || /(iphone)/.exec(o) || /(kindle)/.exec(o) || /(silk)/.exec(o) || /(android)/.exec(o) || /(win)/.exec(o) || /(mac)/.exec(o) || /(linux)/.exec(o) || /(cros)/.exec(o) || /(playbook)/.exec(o) || /(bb)/.exec(o) || /(blackberry)/.exec(o) || [];
|
|
17
17
|
}
|
|
18
18
|
const w = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
|
|
19
19
|
function h(o) {
|
|
20
|
-
const r = o.toLowerCase(), a =
|
|
20
|
+
const r = o.toLowerCase(), a = v(r), i = m(r, a), e = {
|
|
21
21
|
mobile: !1,
|
|
22
22
|
desktop: !1,
|
|
23
23
|
cordova: !1,
|
|
@@ -92,7 +92,7 @@ const c = navigator.userAgent || navigator.vendor || window.opera, x = {
|
|
|
92
92
|
const { $q: r } = o;
|
|
93
93
|
t.value === !0 ? (o.onSSRHydrated.push(() => {
|
|
94
94
|
Object.assign(r.platform, l), t.value = !1;
|
|
95
|
-
}), r.platform =
|
|
95
|
+
}), r.platform = b(this)) : r.platform = this;
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
{
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { client as d } from "../platform/Platform.js";
|
|
2
|
+
import { noop as u } from "../../utils/event/event.js";
|
|
3
|
+
const a = () => !0;
|
|
4
|
+
function l(t) {
|
|
5
|
+
return typeof t == "string" && t !== "" && t !== "/" && t !== "#/";
|
|
6
|
+
}
|
|
7
|
+
function f(t) {
|
|
8
|
+
return t.startsWith("#") === !0 && (t = t.substring(1)), t.startsWith("/") === !1 && (t = "/" + t), t.endsWith("/") === !0 && (t = t.substring(0, t.length - 1)), "#" + t;
|
|
9
|
+
}
|
|
10
|
+
function h(t) {
|
|
11
|
+
if (t.backButtonExit === !1)
|
|
12
|
+
return () => !1;
|
|
13
|
+
if (t.backButtonExit === "*")
|
|
14
|
+
return a;
|
|
15
|
+
const n = ["#/"];
|
|
16
|
+
return Array.isArray(t.backButtonExit) === !0 && n.push(
|
|
17
|
+
...t.backButtonExit.filter(l).map(f)
|
|
18
|
+
), () => n.includes(window.location.hash);
|
|
19
|
+
}
|
|
20
|
+
const x = {
|
|
21
|
+
__history: [],
|
|
22
|
+
add: u,
|
|
23
|
+
remove: u,
|
|
24
|
+
install({ $q: t }) {
|
|
25
|
+
if (this.__installed === !0) return;
|
|
26
|
+
const { cordova: n, capacitor: o } = d.is;
|
|
27
|
+
if (n !== !0 && o !== !0) return;
|
|
28
|
+
const r = t.config[n === !0 ? "cordova" : "capacitor"];
|
|
29
|
+
if (r?.backButton === !1 || // if we're on Capacitor mode
|
|
30
|
+
o === !0 && (window.Capacitor === void 0 || window.Capacitor.Plugins.App === void 0)) return;
|
|
31
|
+
this.add = (i) => {
|
|
32
|
+
i.condition === void 0 && (i.condition = a), this.__history.push(i);
|
|
33
|
+
}, this.remove = (i) => {
|
|
34
|
+
const s = this.__history.indexOf(i);
|
|
35
|
+
s >= 0 && this.__history.splice(s, 1);
|
|
36
|
+
};
|
|
37
|
+
const c = h(
|
|
38
|
+
Object.assign(
|
|
39
|
+
{ backButtonExit: !0 },
|
|
40
|
+
r
|
|
41
|
+
)
|
|
42
|
+
), e = () => {
|
|
43
|
+
if (this.__history.length) {
|
|
44
|
+
const i = this.__history[this.__history.length - 1];
|
|
45
|
+
i.condition() === !0 && (this.__history.pop(), i.handler());
|
|
46
|
+
} else c() === !0 ? navigator.app.exitApp() : window.history.back();
|
|
47
|
+
};
|
|
48
|
+
n === !0 ? document.addEventListener("deviceready", () => {
|
|
49
|
+
document.addEventListener("backbutton", e, !1);
|
|
50
|
+
}) : window.Capacitor.Plugins.App.addListener("backButton", e);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
x as default
|
|
55
|
+
};
|