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
|
@@ -2,7 +2,7 @@ const k = /^xn--/, B = /[^\0-\x7F]/, S = /[\x2E\u3002\uFF0E\uFF61]/g, T = {
|
|
|
2
2
|
overflow: "Overflow: input needs wider integers to process",
|
|
3
3
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
4
4
|
"invalid-input": "Invalid input"
|
|
5
|
-
}, C = 35,
|
|
5
|
+
}, C = 35, u = Math.floor, g = String.fromCharCode;
|
|
6
6
|
function d(t) {
|
|
7
7
|
throw new RangeError(T[t]);
|
|
8
8
|
}
|
|
@@ -40,29 +40,29 @@ const E = (t) => String.fromCodePoint(...t), L = function(t) {
|
|
|
40
40
|
return t + 22 + 75 * (t < 26) - ((n != 0) << 5);
|
|
41
41
|
}, v = function(t, n, o) {
|
|
42
42
|
let e = 0;
|
|
43
|
-
for (t = o ?
|
|
44
|
-
t =
|
|
45
|
-
return
|
|
43
|
+
for (t = o ? u(t / 700) : t >> 1, t += u(t / n); t > C * 26 >> 1; e += 36)
|
|
44
|
+
t = u(t / C);
|
|
45
|
+
return u(e + (C + 1) * t / (t + 38));
|
|
46
46
|
}, F = function(t) {
|
|
47
47
|
const n = [], o = t.length;
|
|
48
|
-
let e = 0, s = 128, i = 72,
|
|
49
|
-
|
|
50
|
-
for (let c = 0; c <
|
|
48
|
+
let e = 0, s = 128, i = 72, l = t.lastIndexOf("-");
|
|
49
|
+
l < 0 && (l = 0);
|
|
50
|
+
for (let c = 0; c < l; ++c)
|
|
51
51
|
t.charCodeAt(c) >= 128 && d("not-basic"), n.push(t.charCodeAt(c));
|
|
52
|
-
for (let c =
|
|
52
|
+
for (let c = l > 0 ? l + 1 : 0; c < o; ) {
|
|
53
53
|
const r = e;
|
|
54
54
|
for (let a = 1, f = 36; ; f += 36) {
|
|
55
55
|
c >= o && d("invalid-input");
|
|
56
56
|
const x = L(t.charCodeAt(c++));
|
|
57
|
-
x >= 36 && d("invalid-input"), x >
|
|
57
|
+
x >= 36 && d("invalid-input"), x > u((2147483647 - e) / a) && d("overflow"), e += x * a;
|
|
58
58
|
const b = f <= i ? 1 : f >= i + 26 ? 26 : f - i;
|
|
59
59
|
if (x < b)
|
|
60
60
|
break;
|
|
61
61
|
const p = 36 - b;
|
|
62
|
-
a >
|
|
62
|
+
a > u(2147483647 / p) && d("overflow"), a *= p;
|
|
63
63
|
}
|
|
64
64
|
const h = n.length + 1;
|
|
65
|
-
i = v(e - r, h, r == 0),
|
|
65
|
+
i = v(e - r, h, r == 0), u(e / h) > 2147483647 - s && d("overflow"), s += u(e / h), e %= h, n.splice(e++, 0, s);
|
|
66
66
|
}
|
|
67
67
|
return String.fromCodePoint(...n);
|
|
68
68
|
}, A = function(t) {
|
|
@@ -72,14 +72,14 @@ const E = (t) => String.fromCodePoint(...t), L = function(t) {
|
|
|
72
72
|
let e = 128, s = 0, i = 72;
|
|
73
73
|
for (const r of t)
|
|
74
74
|
r < 128 && n.push(g(r));
|
|
75
|
-
const
|
|
76
|
-
let c =
|
|
77
|
-
for (
|
|
75
|
+
const l = n.length;
|
|
76
|
+
let c = l;
|
|
77
|
+
for (l && n.push("-"); c < o; ) {
|
|
78
78
|
let r = 2147483647;
|
|
79
79
|
for (const a of t)
|
|
80
80
|
a >= e && a < r && (r = a);
|
|
81
81
|
const h = c + 1;
|
|
82
|
-
r - e >
|
|
82
|
+
r - e > u((2147483647 - s) / h) && d("overflow"), s += (r - e) * h, e = r;
|
|
83
83
|
for (const a of t)
|
|
84
84
|
if (a < e && ++s > 2147483647 && d("overflow"), a === e) {
|
|
85
85
|
let f = s;
|
|
@@ -90,9 +90,9 @@ const E = (t) => String.fromCodePoint(...t), L = function(t) {
|
|
|
90
90
|
const p = f - b, w = 36 - b;
|
|
91
91
|
n.push(
|
|
92
92
|
g(m(b + p % w, 0))
|
|
93
|
-
), f =
|
|
93
|
+
), f = u(p / w);
|
|
94
94
|
}
|
|
95
|
-
n.push(g(m(f, 0))), i = v(s, h, c ===
|
|
95
|
+
n.push(g(m(f, 0))), i = v(s, h, c === l), s = 0, ++c;
|
|
96
96
|
}
|
|
97
97
|
++s, ++e;
|
|
98
98
|
}
|
|
@@ -2,13 +2,13 @@ import { computed as r, h as c } from "vue";
|
|
|
2
2
|
import V from "../btn/QBtn.js";
|
|
3
3
|
import p from "../btn-group/QBtnGroup.js";
|
|
4
4
|
import { createComponent as S } from "../../utils/private.create/create.js";
|
|
5
|
-
import {
|
|
5
|
+
import { useFormInject as x, useFormProps as k } from "../../composables/use-form/private.use-form.js";
|
|
6
6
|
import { hMergeSlot as A } from "../../utils/private.render/render.js";
|
|
7
7
|
import { getBtnDesignAttr as O } from "../btn/use-btn.js";
|
|
8
8
|
const W = S({
|
|
9
9
|
name: "QBtnToggle",
|
|
10
10
|
props: {
|
|
11
|
-
...
|
|
11
|
+
...k,
|
|
12
12
|
modelValue: {
|
|
13
13
|
required: !0
|
|
14
14
|
},
|
|
@@ -58,7 +58,7 @@ const W = S({
|
|
|
58
58
|
type: "hidden",
|
|
59
59
|
name: e.name,
|
|
60
60
|
value: e.modelValue
|
|
61
|
-
})), f =
|
|
61
|
+
})), f = x(g), s = r(() => O(e)), B = r(() => ({
|
|
62
62
|
rounded: e.rounded,
|
|
63
63
|
dense: e.dense,
|
|
64
64
|
...s.value
|
|
@@ -5,7 +5,7 @@ import x, { useDarkProps as y } from "../../composables/private.use-dark/use-dar
|
|
|
5
5
|
import B, { useSizeProps as R } from "../../composables/private.use-size/use-size.js";
|
|
6
6
|
import { createComponent as I } from "../../utils/private.create/create.js";
|
|
7
7
|
import { stopAndPrevent as w } from "../../utils/event/event.js";
|
|
8
|
-
import {
|
|
8
|
+
import { hMergeSlotSafely as z, hDir as D } from "../../utils/private.render/render.js";
|
|
9
9
|
const V = {
|
|
10
10
|
xs: 8,
|
|
11
11
|
sm: 10,
|
|
@@ -84,7 +84,7 @@ const V = {
|
|
|
84
84
|
return t.push(
|
|
85
85
|
i("div", {
|
|
86
86
|
class: "q-chip__content col row no-wrap items-center q-anchor--skip"
|
|
87
|
-
},
|
|
87
|
+
}, z(m.default, a))
|
|
88
88
|
), e.iconRight && t.push(
|
|
89
89
|
i(r, {
|
|
90
90
|
class: "q-chip__icon q-chip__icon--right",
|
|
@@ -110,7 +110,7 @@ const V = {
|
|
|
110
110
|
t,
|
|
111
111
|
u.value.chip,
|
|
112
112
|
{ onClick: d, onKeyup: S }
|
|
113
|
-
),
|
|
113
|
+
), D(
|
|
114
114
|
"div",
|
|
115
115
|
t,
|
|
116
116
|
k(),
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { createComponent as
|
|
10
|
-
import { childHasFocus as
|
|
11
|
-
import { hSlot as
|
|
12
|
-
import { addEscapeKey as
|
|
13
|
-
import { addFocusout as
|
|
14
|
-
import { addFocusFn as
|
|
15
|
-
let
|
|
16
|
-
const
|
|
1
|
+
import { getCurrentInstance as oe, ref as S, computed as u, watch as P, onBeforeUnmount as ie, h as f, Transition as R } from "vue";
|
|
2
|
+
import ne from "../../composables/private.use-history/use-history.js";
|
|
3
|
+
import le from "../../composables/use-timeout/use-timeout.js";
|
|
4
|
+
import ae from "../../composables/use-tick/use-tick.js";
|
|
5
|
+
import se, { useModelToggleEmits as ue, useModelToggleProps as re } from "../../composables/private.use-model-toggle/use-model-toggle.js";
|
|
6
|
+
import ce, { useTransitionProps as de } from "../../composables/private.use-transition/use-transition.js";
|
|
7
|
+
import fe from "../../composables/private.use-portal/use-portal.js";
|
|
8
|
+
import me from "../../composables/private.use-prevent-scroll/use-prevent-scroll.js";
|
|
9
|
+
import { createComponent as ve } from "../../utils/private.create/create.js";
|
|
10
|
+
import { childHasFocus as ge } from "../../utils/dom/dom.js";
|
|
11
|
+
import { hSlot as he } from "../../utils/private.render/render.js";
|
|
12
|
+
import { addEscapeKey as be, removeEscapeKey as $ } from "../../utils/private.keyboard/escape-key.js";
|
|
13
|
+
import { addFocusout as xe, removeFocusout as O } from "../../utils/private.focus/focusout.js";
|
|
14
|
+
import { addFocusFn as ke } from "../../utils/private.focus/focus-manager.js";
|
|
15
|
+
let h = 0;
|
|
16
|
+
const ye = {
|
|
17
17
|
standard: "fixed-full flex-center",
|
|
18
18
|
top: "fixed-top justify-center",
|
|
19
19
|
bottom: "fixed-bottom justify-center",
|
|
20
20
|
right: "fixed-right items-center",
|
|
21
21
|
left: "fixed-left items-center"
|
|
22
|
-
},
|
|
22
|
+
}, K = {
|
|
23
23
|
standard: ["scale", "scale"],
|
|
24
24
|
top: ["slide-down", "slide-up"],
|
|
25
25
|
bottom: ["slide-up", "slide-down"],
|
|
26
26
|
right: ["slide-left", "slide-right"],
|
|
27
27
|
left: ["slide-right", "slide-left"]
|
|
28
|
-
},
|
|
28
|
+
}, Pe = ve({
|
|
29
29
|
name: "QDialog",
|
|
30
30
|
inheritAttrs: !1,
|
|
31
31
|
props: {
|
|
32
|
-
...se,
|
|
33
32
|
...re,
|
|
33
|
+
...de,
|
|
34
34
|
transitionShow: String,
|
|
35
35
|
// override useTransitionProps
|
|
36
36
|
transitionHide: String,
|
|
@@ -57,47 +57,45 @@ const xe = {
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
emits: [
|
|
60
|
-
...
|
|
60
|
+
...ue,
|
|
61
61
|
"shake",
|
|
62
62
|
"click",
|
|
63
63
|
"escapeKey"
|
|
64
64
|
],
|
|
65
|
-
setup(e, { slots:
|
|
66
|
-
const
|
|
67
|
-
let n = null, l = null, m,
|
|
68
|
-
const
|
|
65
|
+
setup(e, { slots: L, emit: r, attrs: T }) {
|
|
66
|
+
const b = oe(), i = S(null), a = S(!1), c = S(!1);
|
|
67
|
+
let n = null, l = null, m, x;
|
|
68
|
+
const _ = u(
|
|
69
69
|
() => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
|
|
70
|
-
), { preventBodyScroll:
|
|
70
|
+
), { preventBodyScroll: E } = me(), { registerTimeout: C } = le(), { registerTick: A, removeTick: F } = ae(), { transitionProps: I, transitionStyle: p } = ce(
|
|
71
71
|
e,
|
|
72
|
-
() =>
|
|
73
|
-
() =>
|
|
74
|
-
), j = u(() => p.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal:
|
|
75
|
-
|
|
72
|
+
() => K[e.position][0],
|
|
73
|
+
() => K[e.position][1]
|
|
74
|
+
), j = u(() => p.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: z, hidePortal: D, portalIsAccessible: V, renderPortal: Q } = fe(
|
|
75
|
+
b,
|
|
76
76
|
i,
|
|
77
|
-
|
|
77
|
+
te,
|
|
78
78
|
"dialog"
|
|
79
|
-
), { hide:
|
|
79
|
+
), { hide: v } = se({
|
|
80
80
|
showing: a,
|
|
81
|
-
hideOnRouteChange:
|
|
82
|
-
handleShow:
|
|
83
|
-
handleHide:
|
|
81
|
+
hideOnRouteChange: _,
|
|
82
|
+
handleShow: X,
|
|
83
|
+
handleHide: Y,
|
|
84
84
|
processOnMount: !0
|
|
85
|
-
})
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
), v = u(() => a.value === !0 && e.seamless !== !0), U = u(() => e.autoClose === !0 ? { onClick: X } : {}), G = u(() => [
|
|
90
|
-
`q-dialog fullscreen no-pointer-events q-dialog--${v.value === !0 ? "modal" : "seamless"}`,
|
|
85
|
+
}), { addToHistory: W, removeFromHistory: U } = ne(a, v, _), G = u(
|
|
86
|
+
() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${ye[e.position]}` + (c.value === !0 ? " q-dialog__inner--animating" : "") + (e.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (e.square === !0 ? " q-dialog__inner--square" : "")
|
|
87
|
+
), g = u(() => a.value === !0 && e.seamless !== !0), J = u(() => e.autoClose === !0 ? { onClick: Z } : {}), N = u(() => [
|
|
88
|
+
`q-dialog fullscreen no-pointer-events q-dialog--${g.value === !0 ? "modal" : "seamless"}`,
|
|
91
89
|
T.class
|
|
92
90
|
]);
|
|
93
91
|
P(() => e.maximized, (t) => {
|
|
94
92
|
a.value === !0 && q(t);
|
|
95
|
-
}), P(
|
|
96
|
-
|
|
93
|
+
}), P(g, (t) => {
|
|
94
|
+
E(t), t === !0 ? (xe(w), be(y)) : (O(w), $(y));
|
|
97
95
|
});
|
|
98
|
-
function
|
|
99
|
-
l = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, q(e.maximized),
|
|
100
|
-
if (
|
|
96
|
+
function X(t) {
|
|
97
|
+
W(), l = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, q(e.maximized), z(), c.value = !0, e.noFocus !== !0 ? (document.activeElement?.blur(), A(d)) : F(), C(() => {
|
|
98
|
+
if (b.proxy.$q.platform.is.ios === !0) {
|
|
101
99
|
if (e.seamless !== !0 && document.activeElement) {
|
|
102
100
|
const { top: o, bottom: s } = document.activeElement.getBoundingClientRect(), { innerHeight: M } = window, B = window.visualViewport !== void 0 ? window.visualViewport.height : M;
|
|
103
101
|
o > 0 && s > B / 2 && (document.scrollingElement.scrollTop = Math.min(
|
|
@@ -105,18 +103,18 @@ const xe = {
|
|
|
105
103
|
s >= M ? 1 / 0 : Math.ceil(document.scrollingElement.scrollTop + s - B / 2)
|
|
106
104
|
)), document.activeElement.scrollIntoView();
|
|
107
105
|
}
|
|
108
|
-
|
|
106
|
+
x = !0, i.value.click(), x = !1;
|
|
109
107
|
}
|
|
110
|
-
|
|
108
|
+
z(!0), c.value = !1, r("show", t);
|
|
111
109
|
}, e.transitionDuration);
|
|
112
110
|
}
|
|
113
|
-
function
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
function Y(t) {
|
|
112
|
+
F(), U(), H(!0), c.value = !0, D(), l !== null && (((t?.type.indexOf("key") === 0 ? l.closest('[tabindex]:not([tabindex^="-"])') : void 0) || l).focus(), l = null), C(() => {
|
|
113
|
+
D(!0), c.value = !1, r("hide", t);
|
|
116
114
|
}, e.transitionDuration);
|
|
117
115
|
}
|
|
118
116
|
function d(t) {
|
|
119
|
-
|
|
117
|
+
ke(() => {
|
|
120
118
|
let o = i.value;
|
|
121
119
|
if (o !== null) {
|
|
122
120
|
if (t !== void 0) {
|
|
@@ -138,24 +136,24 @@ const xe = {
|
|
|
138
136
|
}, 170));
|
|
139
137
|
}
|
|
140
138
|
function y() {
|
|
141
|
-
e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && k() : (r("escapeKey"),
|
|
139
|
+
e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && k() : (r("escapeKey"), v()));
|
|
142
140
|
}
|
|
143
|
-
function
|
|
144
|
-
n !== null && (clearTimeout(n), n = null), (t === !0 || a.value === !0) && (q(!1), e.seamless !== !0 && (
|
|
141
|
+
function H(t) {
|
|
142
|
+
n !== null && (clearTimeout(n), n = null), (t === !0 || a.value === !0) && (q(!1), e.seamless !== !0 && (E(!1), O(w), $(y))), t !== !0 && (l = null);
|
|
145
143
|
}
|
|
146
144
|
function q(t) {
|
|
147
|
-
t === !0 ? m !== !0 && (
|
|
145
|
+
t === !0 ? m !== !0 && (h < 1 && document.body.classList.add("q-body--dialog"), h++, m = !0) : m === !0 && (h < 2 && document.body.classList.remove("q-body--dialog"), h--, m = !1);
|
|
148
146
|
}
|
|
149
|
-
function
|
|
150
|
-
|
|
147
|
+
function Z(t) {
|
|
148
|
+
x !== !0 && (v(t), r("click", t));
|
|
151
149
|
}
|
|
152
|
-
function
|
|
153
|
-
e.persistent !== !0 && e.noBackdropDismiss !== !0 ?
|
|
150
|
+
function ee(t) {
|
|
151
|
+
e.persistent !== !0 && e.noBackdropDismiss !== !0 ? v(t) : e.noShake !== !0 && k();
|
|
154
152
|
}
|
|
155
153
|
function w(t) {
|
|
156
|
-
e.allowFocusOutside !== !0 && V.value === !0 &&
|
|
154
|
+
e.allowFocusOutside !== !0 && V.value === !0 && ge(i.value, t.target) !== !0 && d('[tabindex]:not([tabindex="-1"])');
|
|
157
155
|
}
|
|
158
|
-
Object.assign(
|
|
156
|
+
Object.assign(b.proxy, {
|
|
159
157
|
// expose public methods
|
|
160
158
|
focus: d,
|
|
161
159
|
shake: k,
|
|
@@ -163,34 +161,34 @@ const xe = {
|
|
|
163
161
|
__updateRefocusTarget(t) {
|
|
164
162
|
l = t || null;
|
|
165
163
|
}
|
|
166
|
-
}),
|
|
167
|
-
function
|
|
164
|
+
}), ie(H);
|
|
165
|
+
function te() {
|
|
168
166
|
return f("div", {
|
|
169
167
|
role: "dialog",
|
|
170
|
-
"aria-modal":
|
|
168
|
+
"aria-modal": g.value === !0 ? "true" : "false",
|
|
171
169
|
...T,
|
|
172
|
-
class:
|
|
170
|
+
class: N.value
|
|
173
171
|
}, [
|
|
174
|
-
f(
|
|
172
|
+
f(R, {
|
|
175
173
|
name: "q-transition--fade",
|
|
176
174
|
appear: !0
|
|
177
|
-
}, () =>
|
|
175
|
+
}, () => g.value === !0 ? f("div", {
|
|
178
176
|
class: "q-dialog__backdrop fixed-full",
|
|
179
177
|
style: j.value,
|
|
180
178
|
"aria-hidden": "true",
|
|
181
179
|
tabindex: -1,
|
|
182
|
-
onClick:
|
|
180
|
+
onClick: ee
|
|
183
181
|
}) : null),
|
|
184
182
|
f(
|
|
185
|
-
|
|
183
|
+
R,
|
|
186
184
|
I.value,
|
|
187
185
|
() => a.value === !0 ? f("div", {
|
|
188
186
|
ref: i,
|
|
189
|
-
class:
|
|
187
|
+
class: G.value,
|
|
190
188
|
style: p.value,
|
|
191
189
|
tabindex: -1,
|
|
192
|
-
...
|
|
193
|
-
},
|
|
190
|
+
...J.value
|
|
191
|
+
}, he(L.default)) : null
|
|
194
192
|
)
|
|
195
193
|
]);
|
|
196
194
|
}
|
|
@@ -198,5 +196,5 @@ const xe = {
|
|
|
198
196
|
}
|
|
199
197
|
});
|
|
200
198
|
export {
|
|
201
|
-
|
|
199
|
+
Pe as default
|
|
202
200
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import e, {
|
|
1
|
+
import e, { useFieldState as t, useFieldEmits as r, useFieldProps as i } from "../../composables/private.use-field/use-field.js";
|
|
2
2
|
import { createComponent as s } from "../../utils/private.create/create.js";
|
|
3
3
|
const a = s({
|
|
4
4
|
name: "QField",
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
props: {
|
|
7
|
-
...
|
|
7
|
+
...i,
|
|
8
8
|
tag: {
|
|
9
9
|
type: String,
|
|
10
10
|
default: "label"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
emits:
|
|
13
|
+
emits: r,
|
|
14
14
|
setup() {
|
|
15
15
|
return e(
|
|
16
|
-
|
|
16
|
+
t({ tagProp: !0 })
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as d, computed as A, watch as f, onActivated as U, onDeactivated as V, onBeforeUnmount as _, onMounted as j, getCurrentInstance as w, h as
|
|
1
|
+
import { ref as d, computed as A, nextTick as B, watch as f, onActivated as U, onDeactivated as V, onBeforeUnmount as _, onMounted as j, getCurrentInstance as w, h as H } from "vue";
|
|
2
2
|
import { createComponent as F } from "../../utils/private.create/create.js";
|
|
3
3
|
import W from "../../utils/debounce/debounce.js";
|
|
4
4
|
import { height as M } from "../../utils/dom/dom.js";
|
|
5
|
-
import {
|
|
5
|
+
import { getScrollHeight as m, getVerticalScrollPosition as P, setVerticalScrollPosition as x, getScrollTarget as $, scrollTargetProp as z } from "../../utils/scroll/scroll.js";
|
|
6
6
|
import { listenOpts as G } from "../../utils/event/event.js";
|
|
7
7
|
import { hUniqueSlot as J, hSlot as K } from "../../utils/private.render/render.js";
|
|
8
8
|
const { passive: a } = G, re = F({
|
|
@@ -16,7 +16,7 @@ const { passive: a } = G, re = F({
|
|
|
16
16
|
type: [String, Number],
|
|
17
17
|
default: 100
|
|
18
18
|
},
|
|
19
|
-
scrollTarget:
|
|
19
|
+
scrollTarget: z,
|
|
20
20
|
initialIndex: {
|
|
21
21
|
type: Number,
|
|
22
22
|
default: 0
|
|
@@ -41,7 +41,7 @@ const { passive: a } = G, re = F({
|
|
|
41
41
|
v++, o.value = !0;
|
|
42
42
|
const t = m(e);
|
|
43
43
|
q("load", v, (i) => {
|
|
44
|
-
r.value === !0 && (o.value = !1,
|
|
44
|
+
r.value === !0 && (o.value = !1, B(() => {
|
|
45
45
|
if (l.reverse === !0) {
|
|
46
46
|
const s = m(e), Q = P(e), R = s - t;
|
|
47
47
|
x(e, Q + R);
|
|
@@ -60,7 +60,7 @@ const { passive: a } = G, re = F({
|
|
|
60
60
|
r.value === !0 && (r.value = !1, o.value = !1, e.removeEventListener("scroll", n, a), n?.cancel?.());
|
|
61
61
|
}
|
|
62
62
|
function S() {
|
|
63
|
-
if (e && r.value === !0 && e.removeEventListener("scroll", n, a), e =
|
|
63
|
+
if (e && r.value === !0 && e.removeEventListener("scroll", n, a), e = $(c.value, l.scrollTarget), r.value === !0) {
|
|
64
64
|
if (e.addEventListener("scroll", n, a), l.reverse === !0) {
|
|
65
65
|
const t = m(e), i = M(e);
|
|
66
66
|
x(e, t - i);
|
|
@@ -79,7 +79,7 @@ const { passive: a } = G, re = F({
|
|
|
79
79
|
function E(t) {
|
|
80
80
|
if (T.value === !0) {
|
|
81
81
|
if (g.value === null) {
|
|
82
|
-
t !== !0 &&
|
|
82
|
+
t !== !0 && B(() => {
|
|
83
83
|
E(!0);
|
|
84
84
|
});
|
|
85
85
|
return;
|
|
@@ -122,8 +122,8 @@ const { passive: a } = G, re = F({
|
|
|
122
122
|
}), () => {
|
|
123
123
|
const t = J(y.default, []);
|
|
124
124
|
return T.value === !0 && t[l.reverse === !1 ? "push" : "unshift"](
|
|
125
|
-
|
|
126
|
-
),
|
|
125
|
+
H("div", { ref: g, class: D.value }, K(y.loading))
|
|
126
|
+
), H("div", {
|
|
127
127
|
class: "q-infinite-scroll",
|
|
128
128
|
ref: c
|
|
129
129
|
}, t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getCurrentInstance as G, ref as J, computed as i, watch as b, nextTick as g, onBeforeUnmount as X, onMounted as Z, h as C } from "vue";
|
|
2
|
-
import ee, {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import ee, { fieldValueIsFilled as A, useFieldState as te, useFieldEmits as ae, useFieldProps as ue } from "../../composables/private.use-field/use-field.js";
|
|
3
|
+
import ne, { useMaskProps as le } from "./use-mask.js";
|
|
4
|
+
import { useFormInputNameAttr as oe, useFormProps as ie } from "../../composables/use-form/private.use-form.js";
|
|
5
5
|
import re from "../../composables/private.use-file/use-file-dom-props.js";
|
|
6
6
|
import se from "../../composables/private.use-key-composition/use-key-composition.js";
|
|
7
7
|
import { createComponent as ce } from "../../utils/private.create/create.js";
|
|
@@ -12,9 +12,9 @@ const Se = ce({
|
|
|
12
12
|
name: "QInput",
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
props: {
|
|
15
|
-
...
|
|
15
|
+
...ue,
|
|
16
16
|
...le,
|
|
17
|
-
...
|
|
17
|
+
...ie,
|
|
18
18
|
// override of useFieldProps > modelValue
|
|
19
19
|
modelValue: [String, Number, FileList],
|
|
20
20
|
shadowText: String,
|
|
@@ -29,7 +29,7 @@ const Se = ce({
|
|
|
29
29
|
inputStyle: [Array, String, Object]
|
|
30
30
|
},
|
|
31
31
|
emits: [
|
|
32
|
-
...
|
|
32
|
+
...ae,
|
|
33
33
|
"paste",
|
|
34
34
|
"change",
|
|
35
35
|
"keydown",
|
|
@@ -37,18 +37,20 @@ const Se = ce({
|
|
|
37
37
|
"animationend"
|
|
38
38
|
],
|
|
39
39
|
setup(t, { emit: r, attrs: O }) {
|
|
40
|
-
const { proxy: F } = G(), { $q: M } = F,
|
|
40
|
+
const { proxy: F } = G(), { $q: M } = F, n = {};
|
|
41
41
|
let f = NaN, y, h, l = null, s;
|
|
42
|
-
const a = J(null), I =
|
|
42
|
+
const a = J(null), I = oe(t), {
|
|
43
43
|
innerValue: o,
|
|
44
44
|
hasMask: w,
|
|
45
45
|
moveCursorForPaste: j,
|
|
46
46
|
updateMaskValue: T,
|
|
47
47
|
onMaskedKeydown: _,
|
|
48
48
|
onMaskedClick: B
|
|
49
|
-
} =
|
|
50
|
-
t
|
|
51
|
-
|
|
49
|
+
} = ne(t, r, S, a), H = re(
|
|
50
|
+
t,
|
|
51
|
+
/* type guard */
|
|
52
|
+
!0
|
|
53
|
+
), V = i(() => A(o.value)), p = se(k), c = te({ changeEvent: !0 }), m = i(
|
|
52
54
|
() => t.type === "textarea" || t.autogrow === !0
|
|
53
55
|
), K = i(
|
|
54
56
|
() => m.value === !0 || ["text", "search", "url", "tel", "password"].includes(t.type)
|
|
@@ -88,7 +90,7 @@ const Se = ce({
|
|
|
88
90
|
if (h === !0 && (h = !1, String(e) === f))
|
|
89
91
|
return;
|
|
90
92
|
T(e);
|
|
91
|
-
} else o.value !== e && (o.value = e, t.type === "number" &&
|
|
93
|
+
} else o.value !== e && (o.value = e, t.type === "number" && n.hasOwnProperty("value") === !0 && (y === !0 ? y = !1 : delete n.value));
|
|
92
94
|
t.autogrow === !0 && g(d);
|
|
93
95
|
}), b(() => t.autogrow, (e) => {
|
|
94
96
|
e === !0 ? g(d) : a.value !== null && O.rows > 0 && (a.value.style.height = "auto");
|
|
@@ -106,8 +108,8 @@ const Se = ce({
|
|
|
106
108
|
}
|
|
107
109
|
function Q(e) {
|
|
108
110
|
if (w.value === !0 && t.reverseFillMask !== !0) {
|
|
109
|
-
const
|
|
110
|
-
j(
|
|
111
|
+
const u = e.target;
|
|
112
|
+
j(u, u.selectionStart, u.selectionEnd);
|
|
111
113
|
}
|
|
112
114
|
r("paste", e);
|
|
113
115
|
}
|
|
@@ -117,17 +119,17 @@ const Se = ce({
|
|
|
117
119
|
r("update:modelValue", e.target.files);
|
|
118
120
|
return;
|
|
119
121
|
}
|
|
120
|
-
const
|
|
122
|
+
const u = e.target.value;
|
|
121
123
|
if (e.target.qComposing === !0) {
|
|
122
|
-
|
|
124
|
+
n.value = u;
|
|
123
125
|
return;
|
|
124
126
|
}
|
|
125
127
|
if (w.value === !0)
|
|
126
|
-
T(
|
|
127
|
-
else if (S(
|
|
128
|
+
T(u, !1, e.inputType);
|
|
129
|
+
else if (S(u), K.value === !0 && e.target === document.activeElement) {
|
|
128
130
|
const { selectionStart: x, selectionEnd: v } = e.target;
|
|
129
131
|
x !== void 0 && v !== void 0 && g(() => {
|
|
130
|
-
e.target === document.activeElement &&
|
|
132
|
+
e.target === document.activeElement && u.indexOf(e.target.value) === 0 && e.target.setSelectionRange(x, v);
|
|
131
133
|
});
|
|
132
134
|
}
|
|
133
135
|
t.autogrow === !0 && d();
|
|
@@ -135,19 +137,19 @@ const Se = ce({
|
|
|
135
137
|
function R(e) {
|
|
136
138
|
r("animationend", e), d();
|
|
137
139
|
}
|
|
138
|
-
function S(e,
|
|
140
|
+
function S(e, u) {
|
|
139
141
|
s = () => {
|
|
140
|
-
l = null, t.type !== "number" &&
|
|
142
|
+
l = null, t.type !== "number" && n.hasOwnProperty("value") === !0 && delete n.value, t.modelValue !== e && f !== e && (f = e, u === !0 && (h = !0), r("update:modelValue", e), g(() => {
|
|
141
143
|
f === e && (f = NaN);
|
|
142
144
|
})), s = void 0;
|
|
143
|
-
}, t.type === "number" && (y = !0,
|
|
145
|
+
}, t.type === "number" && (y = !0, n.value = e), t.debounce !== void 0 ? (l !== null && clearTimeout(l), n.value = e, l = setTimeout(s, t.debounce)) : s();
|
|
144
146
|
}
|
|
145
147
|
function d() {
|
|
146
148
|
requestAnimationFrame(() => {
|
|
147
149
|
const e = a.value;
|
|
148
150
|
if (e !== null) {
|
|
149
|
-
const
|
|
150
|
-
E === !0 && (e.style.overflowY = "hidden"),
|
|
151
|
+
const u = e.parentNode.style, { scrollTop: x } = e, { overflowY: v, maxHeight: z } = M.platform.is.firefox === !0 ? {} : window.getComputedStyle(e), E = v !== void 0 && v !== "scroll";
|
|
152
|
+
E === !0 && (e.style.overflowY = "hidden"), u.marginBottom = e.scrollHeight - 1 + "px", e.style.height = "1px", e.style.height = e.scrollHeight + "px", E === !0 && (e.style.overflowY = parseInt(z, 10) < e.scrollHeight ? "auto" : "hidden"), u.marginBottom = "", e.scrollTop = x;
|
|
151
153
|
}
|
|
152
154
|
});
|
|
153
155
|
}
|
|
@@ -155,12 +157,12 @@ const Se = ce({
|
|
|
155
157
|
p(e), l !== null && (clearTimeout(l), l = null), s?.(), r("change", e.target.value);
|
|
156
158
|
}
|
|
157
159
|
function N(e) {
|
|
158
|
-
e !== void 0 && q(e), l !== null && (clearTimeout(l), l = null), s?.(), y = !1, h = !1, delete
|
|
160
|
+
e !== void 0 && q(e), l !== null && (clearTimeout(l), l = null), s?.(), y = !1, h = !1, delete n.value, t.type !== "file" && setTimeout(() => {
|
|
159
161
|
a.value !== null && (a.value.value = o.value !== void 0 ? o.value : "");
|
|
160
162
|
});
|
|
161
163
|
}
|
|
162
164
|
function P() {
|
|
163
|
-
return
|
|
165
|
+
return n.hasOwnProperty("value") === !0 ? n.value : o.value !== void 0 ? o.value : "";
|
|
164
166
|
}
|
|
165
167
|
X(() => {
|
|
166
168
|
N();
|