web-core-tcm 0.0.62 → 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
|
@@ -9,15 +9,15 @@ import Pe from "../../composables/use-tick/use-tick.js";
|
|
|
9
9
|
import ye from "../../composables/use-timeout/use-timeout.js";
|
|
10
10
|
import { createComponent as Te } from "../../utils/private.create/create.js";
|
|
11
11
|
import { closePortalMenus as ke } from "../../utils/private.portal/portal.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { getScrollTarget as Ce, scrollTargetProp as Se } from "../../utils/scroll/scroll.js";
|
|
13
|
+
import { stopAndPrevent as xe, position as Oe } from "../../utils/event/event.js";
|
|
14
14
|
import { hSlot as qe } from "../../utils/private.render/render.js";
|
|
15
15
|
import { addEscapeKey as Ee, removeEscapeKey as A } from "../../utils/private.keyboard/escape-key.js";
|
|
16
16
|
import { addFocusout as Be, removeFocusout as be } from "../../utils/private.focus/focusout.js";
|
|
17
17
|
import { childHasFocus as Fe } from "../../utils/dom/dom.js";
|
|
18
18
|
import { addClickOutside as De, removeClickOutside as R } from "../../utils/private.click-outside/click-outside.js";
|
|
19
19
|
import { addFocusFn as we } from "../../utils/private.focus/focus-manager.js";
|
|
20
|
-
import {
|
|
20
|
+
import { parsePosition as p, setPosition as Me, validateOffset as Ae, validatePosition as H } from "../../utils/private.position-engine/position-engine.js";
|
|
21
21
|
const et = Te({
|
|
22
22
|
name: "QMenu",
|
|
23
23
|
inheritAttrs: !1,
|
|
@@ -38,17 +38,17 @@ const et = Te({
|
|
|
38
38
|
square: Boolean,
|
|
39
39
|
anchor: {
|
|
40
40
|
type: String,
|
|
41
|
-
validator:
|
|
41
|
+
validator: H
|
|
42
42
|
},
|
|
43
43
|
self: {
|
|
44
44
|
type: String,
|
|
45
|
-
validator:
|
|
45
|
+
validator: H
|
|
46
46
|
},
|
|
47
47
|
offset: {
|
|
48
48
|
type: Array,
|
|
49
|
-
validator:
|
|
49
|
+
validator: Ae
|
|
50
50
|
},
|
|
51
|
-
scrollTarget:
|
|
51
|
+
scrollTarget: Se,
|
|
52
52
|
touchPosition: Boolean,
|
|
53
53
|
maxHeight: {
|
|
54
54
|
type: String,
|
|
@@ -81,14 +81,14 @@ const et = Te({
|
|
|
81
81
|
onClickOutside(e) {
|
|
82
82
|
if (t.persistent !== !0 && r.value === !0)
|
|
83
83
|
return S(e), // always prevent touch event
|
|
84
|
-
(e.type === "touchstart" || e.target.classList.contains("q-dialog__backdrop")) &&
|
|
84
|
+
(e.type === "touchstart" || e.target.classList.contains("q-dialog__backdrop")) && xe(e), !0;
|
|
85
85
|
}
|
|
86
86
|
}, q = u(
|
|
87
|
-
() =>
|
|
87
|
+
() => p(
|
|
88
88
|
t.anchor || (t.cover === !0 ? "center middle" : "bottom start"),
|
|
89
89
|
o.lang.rtl
|
|
90
90
|
)
|
|
91
|
-
), J = u(() => t.cover === !0 ? q.value :
|
|
91
|
+
), J = u(() => t.cover === !0 ? q.value : p(t.self || "top start", o.lang.rtl)), N = u(
|
|
92
92
|
() => (t.square === !0 ? " q-menu--square" : "") + (Q.value === !0 ? " q-menu--dark q-dark" : "")
|
|
93
93
|
), V = u(() => t.autoClose === !0 ? { onClick: Z } : {}), E = u(
|
|
94
94
|
() => r.value === !0 && t.persistent !== !0
|
|
@@ -104,7 +104,7 @@ const et = Te({
|
|
|
104
104
|
}
|
|
105
105
|
function X(e) {
|
|
106
106
|
if (i = t.noRefocus === !1 ? document.activeElement : null, Be(F), x(), b(), f = void 0, e !== void 0 && (t.touchPosition || t.contextMenu)) {
|
|
107
|
-
const y =
|
|
107
|
+
const y = Oe(e);
|
|
108
108
|
if (y.left !== void 0) {
|
|
109
109
|
const { top: te, left: oe } = l.value.getBoundingClientRect();
|
|
110
110
|
f = { left: y.left - oe, top: y.top - te };
|
|
@@ -129,7 +129,7 @@ const et = Te({
|
|
|
129
129
|
f = void 0, a !== void 0 && (a(), a = void 0), (e === !0 || r.value === !0) && (be(F), $(), R(g), A(P)), e !== !0 && (i = null);
|
|
130
130
|
}
|
|
131
131
|
function b() {
|
|
132
|
-
(l.value !== null || t.scrollTarget !== void 0) && (C.value =
|
|
132
|
+
(l.value !== null || t.scrollTarget !== void 0) && (C.value = Ce(l.value, t.scrollTarget), U(C.value, s));
|
|
133
133
|
}
|
|
134
134
|
function Z(e) {
|
|
135
135
|
m !== !0 ? (ke(v, e), c("click", e)) : m = !1;
|
|
@@ -141,7 +141,7 @@ const et = Te({
|
|
|
141
141
|
t.noEscDismiss !== !0 && (c("escapeKey"), S(e));
|
|
142
142
|
}
|
|
143
143
|
function s() {
|
|
144
|
-
|
|
144
|
+
Me({
|
|
145
145
|
targetEl: n.value,
|
|
146
146
|
offset: t.offset,
|
|
147
147
|
anchorEl: l.value,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getCurrentInstance as B, ref as R, computed as n, toRaw as m
|
|
1
|
+
import { h as o, getCurrentInstance as B, ref as R, computed as n, toRaw as m } from "vue";
|
|
2
2
|
import j from "../icon/QIcon.js";
|
|
3
3
|
import z, { useDarkProps as P } from "../../composables/private.use-dark/use-dark.js";
|
|
4
4
|
import T, { useSizeProps as V } from "../../composables/private.use-size/use-size.js";
|
|
5
5
|
import $ from "../../composables/private.use-refocus-target/use-refocus-target.js";
|
|
6
|
-
import {
|
|
6
|
+
import { useFormInject as D, useFormProps as F } from "../../composables/use-form/private.use-form.js";
|
|
7
7
|
import { createComponent as M } from "../../utils/private.create/create.js";
|
|
8
8
|
import Q from "../../utils/private.option-sizes/option-sizes.js";
|
|
9
9
|
import { stopAndPrevent as f } from "../../utils/event/event.js";
|
|
@@ -25,7 +25,7 @@ const L = () => o("svg", {
|
|
|
25
25
|
props: {
|
|
26
26
|
...P,
|
|
27
27
|
...V,
|
|
28
|
-
...
|
|
28
|
+
...F,
|
|
29
29
|
modelValue: { required: !0 },
|
|
30
30
|
val: { required: !0 },
|
|
31
31
|
label: String,
|
|
@@ -56,7 +56,7 @@ const L = () => o("svg", {
|
|
|
56
56
|
name: e.name,
|
|
57
57
|
value: e.val
|
|
58
58
|
}), a;
|
|
59
|
-
}), x =
|
|
59
|
+
}), x = D(S);
|
|
60
60
|
function r(a) {
|
|
61
61
|
a !== void 0 && (f(a), g(a)), e.disable !== !0 && t.value !== !0 && b("update:modelValue", e.val, a);
|
|
62
62
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getCurrentInstance as g,
|
|
1
|
+
import { getCurrentInstance as g, nextTick as c, onMounted as a, onBeforeUnmount as m, h as z } from "vue";
|
|
2
2
|
import y from "../../composables/use-hydration/use-hydration.js";
|
|
3
3
|
import { createComponent as w } from "../../utils/private.create/create.js";
|
|
4
4
|
import { noop as O, listenOpts as v } from "../../utils/event/event.js";
|
|
5
|
-
const
|
|
5
|
+
const p = typeof ResizeObserver < "u", b = p === !0 ? {} : {
|
|
6
6
|
style: "display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",
|
|
7
7
|
url: "about:blank"
|
|
8
8
|
}, R = w({
|
|
@@ -14,7 +14,7 @@ const h = typeof ResizeObserver < "u", b = h === !0 ? {} : {
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
emits: ["resize"],
|
|
17
|
-
setup(l, { emit:
|
|
17
|
+
setup(l, { emit: h }) {
|
|
18
18
|
let i = null, t, r = { width: -1, height: -1 };
|
|
19
19
|
function s(e) {
|
|
20
20
|
e === !0 || l.debounce === 0 || l.debounce === "0" ? u() : i === null && (i = setTimeout(u, l.debounce));
|
|
@@ -22,20 +22,20 @@ const h = typeof ResizeObserver < "u", b = h === !0 ? {} : {
|
|
|
22
22
|
function u() {
|
|
23
23
|
if (i !== null && (clearTimeout(i), i = null), t) {
|
|
24
24
|
const { offsetWidth: e, offsetHeight: n } = t;
|
|
25
|
-
(e !== r.width || n !== r.height) && (r = { width: e, height: n },
|
|
25
|
+
(e !== r.width || n !== r.height) && (r = { width: e, height: n }, h("resize", r));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
const { proxy: d } = g();
|
|
29
|
-
if (d.trigger = s,
|
|
29
|
+
if (d.trigger = s, p === !0) {
|
|
30
30
|
let e;
|
|
31
|
-
const n = (
|
|
32
|
-
t = d.$el.parentNode, t ? (e = new ResizeObserver(s), e.observe(t), u()) :
|
|
31
|
+
const n = (f) => {
|
|
32
|
+
t = d.$el.parentNode, t ? (e = new ResizeObserver(s), e.observe(t), u()) : f !== !0 && c(() => {
|
|
33
33
|
n(!0);
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
|
-
return
|
|
36
|
+
return a(() => {
|
|
37
37
|
n();
|
|
38
|
-
}),
|
|
38
|
+
}), m(() => {
|
|
39
39
|
i !== null && clearTimeout(i), e !== void 0 && (e.disconnect !== void 0 ? e.disconnect() : t && e.unobserve(t));
|
|
40
40
|
}), O;
|
|
41
41
|
} else {
|
|
@@ -44,14 +44,14 @@ const h = typeof ResizeObserver < "u", b = h === !0 ? {} : {
|
|
|
44
44
|
}, n = function() {
|
|
45
45
|
e(), t?.contentDocument && (o = t.contentDocument.defaultView, o.addEventListener("resize", s, v.passive), u());
|
|
46
46
|
};
|
|
47
|
-
const { isHydrated:
|
|
47
|
+
const { isHydrated: f } = y();
|
|
48
48
|
let o;
|
|
49
|
-
return
|
|
50
|
-
|
|
49
|
+
return a(() => {
|
|
50
|
+
c(() => {
|
|
51
51
|
t = d.$el, t && n();
|
|
52
52
|
});
|
|
53
|
-
}),
|
|
54
|
-
if (
|
|
53
|
+
}), m(e), () => {
|
|
54
|
+
if (f.value === !0)
|
|
55
55
|
return z("object", {
|
|
56
56
|
class: "q--avoid-card-border",
|
|
57
57
|
style: b.style,
|
|
@@ -6,7 +6,7 @@ import re from "../scroll-observer/QScrollObserver.js";
|
|
|
6
6
|
import C from "../../directives/touch-pan/TouchPan.js";
|
|
7
7
|
import { createComponent as oe } from "../../utils/private.create/create.js";
|
|
8
8
|
import { between as m } from "../../utils/format/format.js";
|
|
9
|
-
import {
|
|
9
|
+
import { setVerticalScrollPosition as w, setHorizontalScrollPosition as p } from "../../utils/scroll/scroll.js";
|
|
10
10
|
import { hMergeSlot as ie } from "../../utils/private.render/render.js";
|
|
11
11
|
import ne from "../../utils/debounce/debounce.js";
|
|
12
12
|
const B = ["vertical", "horizontal"], q = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watch as m, getCurrentInstance as b, onMounted as h, onBeforeUnmount as T } from "vue";
|
|
2
2
|
import { createComponent as S } from "../../utils/private.create/create.js";
|
|
3
|
-
import {
|
|
3
|
+
import { getVerticalScrollPosition as x, getHorizontalScrollPosition as P, getScrollTarget as C, scrollTargetProp as E } from "../../utils/scroll/scroll.js";
|
|
4
4
|
import { listenOpts as M, noop as O } from "../../utils/event/event.js";
|
|
5
5
|
const { passive: p } = M, w = ["both", "horizontal", "vertical"], F = S({
|
|
6
6
|
name: "QScrollObserver",
|
|
@@ -11,7 +11,7 @@ const { passive: p } = M, w = ["both", "horizontal", "vertical"], F = S({
|
|
|
11
11
|
default: "vertical"
|
|
12
12
|
},
|
|
13
13
|
debounce: [String, Number],
|
|
14
|
-
scrollTarget:
|
|
14
|
+
scrollTarget: E
|
|
15
15
|
},
|
|
16
16
|
emits: ["scroll"],
|
|
17
17
|
setup(e, { emit: v }) {
|
|
@@ -37,7 +37,7 @@ const { passive: p } = M, w = ["both", "horizontal", "vertical"], F = S({
|
|
|
37
37
|
});
|
|
38
38
|
function r() {
|
|
39
39
|
i?.();
|
|
40
|
-
const c = Math.max(0,
|
|
40
|
+
const c = Math.max(0, x(n)), a = P(n), o = {
|
|
41
41
|
top: c - t.position.top,
|
|
42
42
|
left: a - t.position.left
|
|
43
43
|
};
|
|
@@ -46,7 +46,7 @@ const { passive: p } = M, w = ["both", "horizontal", "vertical"], F = S({
|
|
|
46
46
|
t.position = { top: c, left: a }, t.directionChanged = t.direction !== g, t.delta = o, t.directionChanged === !0 && (t.direction = g, t.inflectionPoint = t.position), v("scroll", { ...t });
|
|
47
47
|
}
|
|
48
48
|
function f() {
|
|
49
|
-
n =
|
|
49
|
+
n = C(u, e.scrollTarget), n.addEventListener("scroll", l, p), l(!0);
|
|
50
50
|
}
|
|
51
51
|
function d() {
|
|
52
52
|
n !== void 0 && (n.removeEventListener("scroll", l, p), n = void 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentInstance as bt, ref as V, computed as i, watch as Z, nextTick as T, onBeforeUpdate as Vt, onUpdated as It, onBeforeUnmount as wt
|
|
1
|
+
import { getCurrentInstance as bt, ref as V, computed as i, watch as Z, nextTick as T, h as m, onBeforeUpdate as Vt, onUpdated as It, onBeforeUnmount as wt } from "vue";
|
|
2
2
|
import kt from "../field/QField.js";
|
|
3
3
|
import xt from "../icon/QIcon.js";
|
|
4
4
|
import pt from "../chip/QChip.js";
|
|
@@ -7,15 +7,15 @@ import Ft from "../item/QItemSection.js";
|
|
|
7
7
|
import Dt from "../item/QItemLabel.js";
|
|
8
8
|
import Ot from "../menu/QMenu.js";
|
|
9
9
|
import Lt from "../dialog/QDialog.js";
|
|
10
|
-
import Tt, {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import Tt, { useFieldProps as Qe, useFieldState as qt, fieldValueIsFilled as $e, useFieldEmits as Bt } from "../../composables/private.use-field/use-field.js";
|
|
11
|
+
import { useVirtualScroll as _t, useVirtualScrollProps as Ne } from "../virtual-scroll/use-virtual-scroll.js";
|
|
12
|
+
import { useFormInputNameAttr as Ht, useFormProps as Pt } from "../../composables/use-form/private.use-form.js";
|
|
13
13
|
import Mt from "../../composables/private.use-key-composition/use-key-composition.js";
|
|
14
14
|
import { createComponent as Rt } from "../../utils/private.create/create.js";
|
|
15
15
|
import { isDeepEqual as j } from "../../utils/is/is.js";
|
|
16
|
-
import {
|
|
16
|
+
import { stop as E, prevent as se, stopAndPrevent as $ } from "../../utils/event/event.js";
|
|
17
17
|
import { normalizeToInterval as Ue } from "../../utils/format/format.js";
|
|
18
|
-
import {
|
|
18
|
+
import { isKeyCode as Kt, shouldIgnoreKey as Et } from "../../utils/private.keyboard/key-composition.js";
|
|
19
19
|
import { hMergeSlot as $t } from "../../utils/private.render/render.js";
|
|
20
20
|
const ze = (t) => ["add", "add-unique", "toggle"].includes(t), Nt = ".*+?^${}()|[]\\", Ut = Object.keys(Qe);
|
|
21
21
|
function ce(t, g) {
|
|
@@ -28,7 +28,7 @@ const su = Rt({
|
|
|
28
28
|
inheritAttrs: !1,
|
|
29
29
|
props: {
|
|
30
30
|
...Ne,
|
|
31
|
-
...
|
|
31
|
+
...Pt,
|
|
32
32
|
...Qe,
|
|
33
33
|
// override of useFieldProps > modelValue
|
|
34
34
|
modelValue: {
|
|
@@ -98,7 +98,7 @@ const su = Rt({
|
|
|
98
98
|
onFilter: Function
|
|
99
99
|
},
|
|
100
100
|
emits: [
|
|
101
|
-
...
|
|
101
|
+
...Bt,
|
|
102
102
|
"add",
|
|
103
103
|
"remove",
|
|
104
104
|
"inputValue",
|
|
@@ -112,7 +112,7 @@ const su = Rt({
|
|
|
112
112
|
setup(t, { slots: g, emit: o }) {
|
|
113
113
|
const { proxy: I } = bt(), { $q: N } = I, d = V(!1), A = V(!1), v = V(-1), h = V(""), U = V(!1), q = V(!1);
|
|
114
114
|
let w = null, k = null, ee, b, X, x = null, te, ve, F, fe;
|
|
115
|
-
const je = V(null), S = V(null), B = V(null), ue = V(null), me = V(null), ge =
|
|
115
|
+
const je = V(null), S = V(null), B = V(null), ue = V(null), me = V(null), ge = Ht(t), he = Mt(Pe), D = i(() => Array.isArray(t.options) ? t.options.length : 0), Xe = i(() => t.virtualScrollItemSize === void 0 ? t.optionsDense === !0 ? 24 : 48 : t.virtualScrollItemSize), {
|
|
116
116
|
virtualScrollSliceRange: Ge,
|
|
117
117
|
virtualScrollSliceSizeComputed: ye,
|
|
118
118
|
localResetVirtualScroll: le,
|
|
@@ -125,7 +125,7 @@ const su = Rt({
|
|
|
125
125
|
getVirtualScrollTarget: it,
|
|
126
126
|
getVirtualScrollEl: _e,
|
|
127
127
|
virtualScrollItemSizeComputed: Xe
|
|
128
|
-
}), n =
|
|
128
|
+
}), n = qt(), f = i(() => {
|
|
129
129
|
const e = t.mapOptions === !0 && t.multiple !== !0, u = t.modelValue !== void 0 && (t.modelValue !== null || e === !0) ? t.multiple === !0 && Array.isArray(t.modelValue) ? t.modelValue : [t.modelValue] : [];
|
|
130
130
|
if (t.mapOptions === !0 && Array.isArray(t.options) === !0) {
|
|
131
131
|
const l = t.mapOptions === !0 && ee !== void 0 ? ee : [], a = u.map((s) => ot(s, l));
|
|
@@ -219,7 +219,7 @@ const su = Rt({
|
|
|
219
219
|
onKeypress: qe,
|
|
220
220
|
onFocus: Oe,
|
|
221
221
|
onClick(u) {
|
|
222
|
-
b === !0 &&
|
|
222
|
+
b === !0 && E(u);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
return e.onCompositionstart = e.onCompositionupdate = e.onCompositionend = he, e;
|
|
@@ -318,7 +318,7 @@ const su = Rt({
|
|
|
318
318
|
t.useInput === !0 && S.value !== null && (e === void 0 || S.value === e.target && e.target.value === Ie.value) && S.value.select();
|
|
319
319
|
}
|
|
320
320
|
function Le(e) {
|
|
321
|
-
|
|
321
|
+
Kt(e, 27) === !0 && d.value === !0 && (E(e), L(), K()), o("keyup", e);
|
|
322
322
|
}
|
|
323
323
|
function Te(e) {
|
|
324
324
|
const { value: u } = e.target;
|
|
@@ -341,7 +341,7 @@ const su = Rt({
|
|
|
341
341
|
o("keypress", e);
|
|
342
342
|
}
|
|
343
343
|
function Be(e) {
|
|
344
|
-
if (o("keydown", e),
|
|
344
|
+
if (o("keydown", e), Et(e) === !0) return;
|
|
345
345
|
const u = h.value.length !== 0 && (t.newValueMode !== void 0 || t.onNewValue !== void 0), l = e.shiftKey !== !0 && t.disableTabSelection !== !0 && t.multiple !== !0 && (v.value !== -1 || u === !0);
|
|
346
346
|
if (e.keyCode === 27) {
|
|
347
347
|
se(e);
|
|
@@ -353,25 +353,25 @@ const su = Rt({
|
|
|
353
353
|
}
|
|
354
354
|
if (e.target === void 0 || e.target.id !== n.targetUid.value || n.editable.value !== !0) return;
|
|
355
355
|
if (e.keyCode === 40 && n.innerLoading.value !== !0 && d.value === !1) {
|
|
356
|
-
|
|
356
|
+
$(e), R();
|
|
357
357
|
return;
|
|
358
358
|
}
|
|
359
359
|
if (e.keyCode === 8 && (t.useChips === !0 || t.clearable === !0) && t.hideSelected !== !0 && h.value.length === 0) {
|
|
360
360
|
t.multiple === !0 && Array.isArray(t.modelValue) === !0 ? oe(t.modelValue.length - 1) : t.multiple !== !0 && t.modelValue !== null && o("update:modelValue", null);
|
|
361
361
|
return;
|
|
362
362
|
}
|
|
363
|
-
(e.keyCode === 35 || e.keyCode === 36) && (typeof h.value != "string" || h.value.length === 0) && (
|
|
363
|
+
(e.keyCode === 35 || e.keyCode === 36) && (typeof h.value != "string" || h.value.length === 0) && ($(e), v.value = -1, W(e.keyCode === 36 ? 1 : -1, t.multiple)), (e.keyCode === 33 || e.keyCode === 34) && ye.value !== void 0 && ($(e), v.value = Math.max(
|
|
364
364
|
-1,
|
|
365
365
|
Math.min(
|
|
366
366
|
D.value,
|
|
367
367
|
v.value + (e.keyCode === 33 ? -1 : 1) * ye.value.view
|
|
368
368
|
)
|
|
369
|
-
), W(e.keyCode === 33 ? 1 : -1, t.multiple)), (e.keyCode === 38 || e.keyCode === 40) && (
|
|
369
|
+
), W(e.keyCode === 33 ? 1 : -1, t.multiple)), (e.keyCode === 38 || e.keyCode === 40) && ($(e), W(e.keyCode === 38 ? -1 : 1, t.multiple));
|
|
370
370
|
const a = D.value;
|
|
371
371
|
if ((F === void 0 || fe < Date.now()) && (F = ""), a > 0 && t.useInput !== !0 && e.key !== void 0 && e.key.length === 1 && e.altKey === !1 && e.ctrlKey === !1 && e.metaKey === !1 && (e.keyCode !== 32 || F.length !== 0)) {
|
|
372
372
|
d.value !== !0 && R(e);
|
|
373
373
|
const s = e.key.toLocaleLowerCase(), r = F.length === 1 && F[0] === s;
|
|
374
|
-
fe = Date.now() + 1500, r === !1 && (
|
|
374
|
+
fe = Date.now() + 1500, r === !1 && ($(e), F += s);
|
|
375
375
|
const y = new RegExp("^" + F.split("").map((de) => Nt.indexOf(de) !== -1 ? "\\" + de : de).join(".*"), "i");
|
|
376
376
|
let c = v.value;
|
|
377
377
|
if (r === !0 || c < 0 || y.test(C.value(t.options[c])) !== !0)
|
|
@@ -384,7 +384,7 @@ const su = Rt({
|
|
|
384
384
|
return;
|
|
385
385
|
}
|
|
386
386
|
if (!(e.keyCode !== 13 && (e.keyCode !== 32 || t.useInput === !0 || F !== "") && (e.keyCode !== 9 || l === !1))) {
|
|
387
|
-
if (e.keyCode !== 9 &&
|
|
387
|
+
if (e.keyCode !== 9 && $(e), v.value !== -1 && v.value < a) {
|
|
388
388
|
O(t.options[v.value]);
|
|
389
389
|
return;
|
|
390
390
|
}
|
|
@@ -537,10 +537,10 @@ const su = Rt({
|
|
|
537
537
|
be();
|
|
538
538
|
}
|
|
539
539
|
function ft(e) {
|
|
540
|
-
|
|
540
|
+
E(e), S.value?.focus(), U.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
|
|
541
541
|
}
|
|
542
542
|
function mt(e) {
|
|
543
|
-
|
|
543
|
+
E(e), T(() => {
|
|
544
544
|
U.value = !1;
|
|
545
545
|
});
|
|
546
546
|
}
|
|
@@ -641,10 +641,10 @@ const su = Rt({
|
|
|
641
641
|
A.value === !1 && B.value !== null && B.value.updatePosition();
|
|
642
642
|
}
|
|
643
643
|
function Re(e) {
|
|
644
|
-
e !== void 0 &&
|
|
644
|
+
e !== void 0 && E(e), o("popupShow", e), n.hasPopupOpen = !0, n.onControlFocusin(e);
|
|
645
645
|
}
|
|
646
646
|
function Ke(e) {
|
|
647
|
-
e !== void 0 &&
|
|
647
|
+
e !== void 0 && E(e), o("popupHide", e), n.hasPopupOpen = !1, n.onControlFocusout(e);
|
|
648
648
|
}
|
|
649
649
|
function Ee() {
|
|
650
650
|
b = N.platform.is.mobile !== !0 && t.behavior !== "dialog" ? !1 : t.behavior !== "menu" && (t.useInput === !0 ? g["no-option"] !== void 0 || t.onFilter !== void 0 || z.value === !1 : !0), ve = N.platform.is.ios === !0 && b === !0 && t.useInput === !0 ? "fade" : t.transitionShow;
|