web-core-tcm 0.0.54 → 0.0.61
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/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- 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/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.d.ts +2 -2
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.d.ts +19 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -0
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +5 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/{pages/LoginPage.vue.d.ts → components/tcm/lisems/EcgAndPcgCollect.vue.d.ts} +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -0
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.d.ts +5 -5
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.d.ts +1 -1
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +10 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/components/models.d.ts +0 -7
- package/dist/src/proto/index.js +0 -10
|
@@ -0,0 +1,135 @@
|
|
|
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 B, nextTick as H } from "vue";
|
|
2
|
+
import { createComponent as F } from "../../utils/private.create/create.js";
|
|
3
|
+
import W from "../../utils/debounce/debounce.js";
|
|
4
|
+
import { height as M } from "../../utils/dom/dom.js";
|
|
5
|
+
import { scrollTargetProp as $, getScrollHeight as m, getVerticalScrollPosition as P, setVerticalScrollPosition as x, getScrollTarget as z } from "../../utils/scroll/scroll.js";
|
|
6
|
+
import { listenOpts as G } from "../../utils/event/event.js";
|
|
7
|
+
import { hUniqueSlot as J, hSlot as K } from "../../utils/private.render/render.js";
|
|
8
|
+
const { passive: a } = G, re = F({
|
|
9
|
+
name: "QInfiniteScroll",
|
|
10
|
+
props: {
|
|
11
|
+
offset: {
|
|
12
|
+
type: Number,
|
|
13
|
+
default: 500
|
|
14
|
+
},
|
|
15
|
+
debounce: {
|
|
16
|
+
type: [String, Number],
|
|
17
|
+
default: 100
|
|
18
|
+
},
|
|
19
|
+
scrollTarget: $,
|
|
20
|
+
initialIndex: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: 0
|
|
23
|
+
},
|
|
24
|
+
disable: Boolean,
|
|
25
|
+
reverse: Boolean
|
|
26
|
+
},
|
|
27
|
+
emits: ["load"],
|
|
28
|
+
setup(l, { slots: y, emit: q }) {
|
|
29
|
+
const o = d(!1), r = d(!0), c = d(null), g = d(null);
|
|
30
|
+
let v = l.initialIndex, e, n;
|
|
31
|
+
const D = A(
|
|
32
|
+
() => "q-infinite-scroll__loading" + (o.value === !0 ? "" : " invisible")
|
|
33
|
+
);
|
|
34
|
+
function u() {
|
|
35
|
+
if (l.disable === !0 || o.value === !0 || r.value === !1) return;
|
|
36
|
+
const t = m(e), i = P(e), s = M(e);
|
|
37
|
+
l.reverse === !1 ? Math.round(i + s + l.offset) >= Math.round(t) && h() : Math.round(i) <= l.offset && h();
|
|
38
|
+
}
|
|
39
|
+
function h() {
|
|
40
|
+
if (l.disable === !0 || o.value === !0 || r.value === !1) return;
|
|
41
|
+
v++, o.value = !0;
|
|
42
|
+
const t = m(e);
|
|
43
|
+
q("load", v, (i) => {
|
|
44
|
+
r.value === !0 && (o.value = !1, H(() => {
|
|
45
|
+
if (l.reverse === !0) {
|
|
46
|
+
const s = m(e), Q = P(e), R = s - t;
|
|
47
|
+
x(e, Q + R);
|
|
48
|
+
}
|
|
49
|
+
i === !0 ? b() : c.value && c.value.closest("body") && n();
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function k() {
|
|
54
|
+
v = 0;
|
|
55
|
+
}
|
|
56
|
+
function I() {
|
|
57
|
+
r.value === !1 && (r.value = !0, e.addEventListener("scroll", n, a)), u();
|
|
58
|
+
}
|
|
59
|
+
function b() {
|
|
60
|
+
r.value === !0 && (r.value = !1, o.value = !1, e.removeEventListener("scroll", n, a), n?.cancel?.());
|
|
61
|
+
}
|
|
62
|
+
function S() {
|
|
63
|
+
if (e && r.value === !0 && e.removeEventListener("scroll", n, a), e = z(c.value, l.scrollTarget), r.value === !0) {
|
|
64
|
+
if (e.addEventListener("scroll", n, a), l.reverse === !0) {
|
|
65
|
+
const t = m(e), i = M(e);
|
|
66
|
+
x(e, t - i);
|
|
67
|
+
}
|
|
68
|
+
u();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function C(t) {
|
|
72
|
+
v = t;
|
|
73
|
+
}
|
|
74
|
+
function N(t) {
|
|
75
|
+
t = parseInt(t, 10);
|
|
76
|
+
const i = n;
|
|
77
|
+
n = t <= 0 ? u : W(u, isNaN(t) === !0 ? 100 : t), e && r.value === !0 && (i !== void 0 && e.removeEventListener("scroll", i, a), e.addEventListener("scroll", n, a));
|
|
78
|
+
}
|
|
79
|
+
function E(t) {
|
|
80
|
+
if (T.value === !0) {
|
|
81
|
+
if (g.value === null) {
|
|
82
|
+
t !== !0 && H(() => {
|
|
83
|
+
E(!0);
|
|
84
|
+
});
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const i = `${o.value === !0 ? "un" : ""}pauseAnimations`;
|
|
88
|
+
Array.from(g.value.getElementsByTagName("svg")).forEach((s) => {
|
|
89
|
+
s[i]();
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
const T = A(() => l.disable !== !0 && r.value === !0);
|
|
94
|
+
f([o, T], () => {
|
|
95
|
+
E();
|
|
96
|
+
}), f(() => l.disable, (t) => {
|
|
97
|
+
t === !0 ? b() : I();
|
|
98
|
+
}), f(() => l.reverse, () => {
|
|
99
|
+
o.value === !1 && r.value === !0 && u();
|
|
100
|
+
}), f(() => l.scrollTarget, S), f(() => l.debounce, N);
|
|
101
|
+
let L = !1;
|
|
102
|
+
U(() => {
|
|
103
|
+
L !== !1 && e && x(e, L);
|
|
104
|
+
}), V(() => {
|
|
105
|
+
L = e ? P(e) : !1;
|
|
106
|
+
}), _(() => {
|
|
107
|
+
r.value === !0 && e.removeEventListener("scroll", n, a);
|
|
108
|
+
}), j(() => {
|
|
109
|
+
N(l.debounce), S(), o.value === !1 && E();
|
|
110
|
+
});
|
|
111
|
+
const O = w();
|
|
112
|
+
return Object.assign(O.proxy, {
|
|
113
|
+
poll: () => {
|
|
114
|
+
n?.();
|
|
115
|
+
},
|
|
116
|
+
trigger: h,
|
|
117
|
+
stop: b,
|
|
118
|
+
reset: k,
|
|
119
|
+
resume: I,
|
|
120
|
+
setIndex: C,
|
|
121
|
+
updateScrollTarget: S
|
|
122
|
+
}), () => {
|
|
123
|
+
const t = J(y.default, []);
|
|
124
|
+
return T.value === !0 && t[l.reverse === !1 ? "push" : "unshift"](
|
|
125
|
+
B("div", { ref: g, class: D.value }, K(y.loading))
|
|
126
|
+
), B("div", {
|
|
127
|
+
class: "q-infinite-scroll",
|
|
128
|
+
ref: c
|
|
129
|
+
}, t);
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
export {
|
|
134
|
+
re as default
|
|
135
|
+
};
|
|
@@ -0,0 +1,212 @@
|
|
|
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, { useFieldEmits as te, useFieldProps as ae, fieldValueIsFilled as A, useFieldState as ne } from "../../composables/private.use-field/use-field.js";
|
|
3
|
+
import ue, { useMaskProps as le } from "./use-mask.js";
|
|
4
|
+
import { useFormProps as oe, useFormInputNameAttr as ie } from "../../composables/use-form/private.use-form.js";
|
|
5
|
+
import re from "../../composables/private.use-file/use-file-dom-props.js";
|
|
6
|
+
import se from "../../composables/private.use-key-composition/use-key-composition.js";
|
|
7
|
+
import { createComponent as ce } from "../../utils/private.create/create.js";
|
|
8
|
+
import { stop as q } from "../../utils/event/event.js";
|
|
9
|
+
import { addFocusFn as de } from "../../utils/private.focus/focus-manager.js";
|
|
10
|
+
import { injectProp as fe } from "../../utils/private.inject-obj-prop/inject-obj-prop.js";
|
|
11
|
+
const Se = ce({
|
|
12
|
+
name: "QInput",
|
|
13
|
+
inheritAttrs: !1,
|
|
14
|
+
props: {
|
|
15
|
+
...ae,
|
|
16
|
+
...le,
|
|
17
|
+
...oe,
|
|
18
|
+
// override of useFieldProps > modelValue
|
|
19
|
+
modelValue: [String, Number, FileList],
|
|
20
|
+
shadowText: String,
|
|
21
|
+
type: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "text"
|
|
24
|
+
},
|
|
25
|
+
debounce: [String, Number],
|
|
26
|
+
autogrow: Boolean,
|
|
27
|
+
// makes a textarea
|
|
28
|
+
inputClass: [Array, String, Object],
|
|
29
|
+
inputStyle: [Array, String, Object]
|
|
30
|
+
},
|
|
31
|
+
emits: [
|
|
32
|
+
...te,
|
|
33
|
+
"paste",
|
|
34
|
+
"change",
|
|
35
|
+
"keydown",
|
|
36
|
+
"click",
|
|
37
|
+
"animationend"
|
|
38
|
+
],
|
|
39
|
+
setup(t, { emit: r, attrs: O }) {
|
|
40
|
+
const { proxy: F } = G(), { $q: M } = F, u = {};
|
|
41
|
+
let f = NaN, y, h, l = null, s;
|
|
42
|
+
const a = J(null), I = ie(t), {
|
|
43
|
+
innerValue: o,
|
|
44
|
+
hasMask: w,
|
|
45
|
+
moveCursorForPaste: j,
|
|
46
|
+
updateMaskValue: T,
|
|
47
|
+
onMaskedKeydown: _,
|
|
48
|
+
onMaskedClick: B
|
|
49
|
+
} = ue(t, r, S, a), H = re(
|
|
50
|
+
t
|
|
51
|
+
), V = i(() => A(o.value)), p = se(k), c = ne({ changeEvent: !0 }), m = i(
|
|
52
|
+
() => t.type === "textarea" || t.autogrow === !0
|
|
53
|
+
), K = i(
|
|
54
|
+
() => m.value === !0 || ["text", "search", "url", "tel", "password"].includes(t.type)
|
|
55
|
+
), U = i(() => {
|
|
56
|
+
const e = {
|
|
57
|
+
...c.splitAttrs.listeners.value,
|
|
58
|
+
onInput: k,
|
|
59
|
+
onPaste: Q,
|
|
60
|
+
// Safari < 10.2 & UIWebView doesn't fire compositionend when
|
|
61
|
+
// switching focus before confirming composition choice
|
|
62
|
+
// this also fixes the issue where some browsers e.g. iOS Chrome
|
|
63
|
+
// fires "change" instead of "input" on autocomplete.
|
|
64
|
+
onChange: $,
|
|
65
|
+
onBlur: N,
|
|
66
|
+
onFocus: q
|
|
67
|
+
};
|
|
68
|
+
return e.onCompositionstart = e.onCompositionupdate = e.onCompositionend = p, w.value === !0 && (e.onKeydown = _, e.onClick = B), t.autogrow === !0 && (e.onAnimationend = R), e;
|
|
69
|
+
}), Y = i(() => {
|
|
70
|
+
const e = {
|
|
71
|
+
tabindex: 0,
|
|
72
|
+
"data-autofocus": t.autofocus === !0 || void 0,
|
|
73
|
+
rows: t.type === "textarea" ? 6 : void 0,
|
|
74
|
+
"aria-label": t.label,
|
|
75
|
+
name: I.value,
|
|
76
|
+
...c.splitAttrs.attributes.value,
|
|
77
|
+
id: c.targetUid.value,
|
|
78
|
+
maxlength: t.maxlength,
|
|
79
|
+
disabled: t.disable === !0,
|
|
80
|
+
readonly: t.readonly === !0
|
|
81
|
+
};
|
|
82
|
+
return m.value === !1 && (e.type = t.type), t.autogrow === !0 && (e.rows = 1), e;
|
|
83
|
+
});
|
|
84
|
+
b(() => t.type, () => {
|
|
85
|
+
a.value && (a.value.value = t.modelValue);
|
|
86
|
+
}), b(() => t.modelValue, (e) => {
|
|
87
|
+
if (w.value === !0) {
|
|
88
|
+
if (h === !0 && (h = !1, String(e) === f))
|
|
89
|
+
return;
|
|
90
|
+
T(e);
|
|
91
|
+
} else o.value !== e && (o.value = e, t.type === "number" && u.hasOwnProperty("value") === !0 && (y === !0 ? y = !1 : delete u.value));
|
|
92
|
+
t.autogrow === !0 && g(d);
|
|
93
|
+
}), b(() => t.autogrow, (e) => {
|
|
94
|
+
e === !0 ? g(d) : a.value !== null && O.rows > 0 && (a.value.style.height = "auto");
|
|
95
|
+
}), b(() => t.dense, () => {
|
|
96
|
+
t.autogrow === !0 && g(d);
|
|
97
|
+
});
|
|
98
|
+
function D() {
|
|
99
|
+
de(() => {
|
|
100
|
+
const e = document.activeElement;
|
|
101
|
+
a.value !== null && a.value !== e && (e === null || e.id !== c.targetUid.value) && a.value.focus({ preventScroll: !0 });
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function L() {
|
|
105
|
+
a.value?.select();
|
|
106
|
+
}
|
|
107
|
+
function Q(e) {
|
|
108
|
+
if (w.value === !0 && t.reverseFillMask !== !0) {
|
|
109
|
+
const n = e.target;
|
|
110
|
+
j(n, n.selectionStart, n.selectionEnd);
|
|
111
|
+
}
|
|
112
|
+
r("paste", e);
|
|
113
|
+
}
|
|
114
|
+
function k(e) {
|
|
115
|
+
if (!e || !e.target) return;
|
|
116
|
+
if (t.type === "file") {
|
|
117
|
+
r("update:modelValue", e.target.files);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const n = e.target.value;
|
|
121
|
+
if (e.target.qComposing === !0) {
|
|
122
|
+
u.value = n;
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
if (w.value === !0)
|
|
126
|
+
T(n, !1, e.inputType);
|
|
127
|
+
else if (S(n), K.value === !0 && e.target === document.activeElement) {
|
|
128
|
+
const { selectionStart: x, selectionEnd: v } = e.target;
|
|
129
|
+
x !== void 0 && v !== void 0 && g(() => {
|
|
130
|
+
e.target === document.activeElement && n.indexOf(e.target.value) === 0 && e.target.setSelectionRange(x, v);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
t.autogrow === !0 && d();
|
|
134
|
+
}
|
|
135
|
+
function R(e) {
|
|
136
|
+
r("animationend", e), d();
|
|
137
|
+
}
|
|
138
|
+
function S(e, n) {
|
|
139
|
+
s = () => {
|
|
140
|
+
l = null, t.type !== "number" && u.hasOwnProperty("value") === !0 && delete u.value, t.modelValue !== e && f !== e && (f = e, n === !0 && (h = !0), r("update:modelValue", e), g(() => {
|
|
141
|
+
f === e && (f = NaN);
|
|
142
|
+
})), s = void 0;
|
|
143
|
+
}, t.type === "number" && (y = !0, u.value = e), t.debounce !== void 0 ? (l !== null && clearTimeout(l), u.value = e, l = setTimeout(s, t.debounce)) : s();
|
|
144
|
+
}
|
|
145
|
+
function d() {
|
|
146
|
+
requestAnimationFrame(() => {
|
|
147
|
+
const e = a.value;
|
|
148
|
+
if (e !== null) {
|
|
149
|
+
const n = e.parentNode.style, { scrollTop: x } = e, { overflowY: v, maxHeight: z } = M.platform.is.firefox === !0 ? {} : window.getComputedStyle(e), E = v !== void 0 && v !== "scroll";
|
|
150
|
+
E === !0 && (e.style.overflowY = "hidden"), n.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"), n.marginBottom = "", e.scrollTop = x;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
function $(e) {
|
|
155
|
+
p(e), l !== null && (clearTimeout(l), l = null), s?.(), r("change", e.target.value);
|
|
156
|
+
}
|
|
157
|
+
function N(e) {
|
|
158
|
+
e !== void 0 && q(e), l !== null && (clearTimeout(l), l = null), s?.(), y = !1, h = !1, delete u.value, t.type !== "file" && setTimeout(() => {
|
|
159
|
+
a.value !== null && (a.value.value = o.value !== void 0 ? o.value : "");
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function P() {
|
|
163
|
+
return u.hasOwnProperty("value") === !0 ? u.value : o.value !== void 0 ? o.value : "";
|
|
164
|
+
}
|
|
165
|
+
X(() => {
|
|
166
|
+
N();
|
|
167
|
+
}), Z(() => {
|
|
168
|
+
t.autogrow === !0 && d();
|
|
169
|
+
}), Object.assign(c, {
|
|
170
|
+
innerValue: o,
|
|
171
|
+
fieldClass: i(
|
|
172
|
+
() => `q-${m.value === !0 ? "textarea" : "input"}` + (t.autogrow === !0 ? " q-textarea--autogrow" : "")
|
|
173
|
+
),
|
|
174
|
+
hasShadow: i(
|
|
175
|
+
() => t.type !== "file" && typeof t.shadowText == "string" && t.shadowText.length !== 0
|
|
176
|
+
),
|
|
177
|
+
inputRef: a,
|
|
178
|
+
emitValue: S,
|
|
179
|
+
hasValue: V,
|
|
180
|
+
floatingLabel: i(
|
|
181
|
+
() => V.value === !0 && (t.type !== "number" || isNaN(o.value) === !1) || A(t.displayValue)
|
|
182
|
+
),
|
|
183
|
+
getControl: () => C(m.value === !0 ? "textarea" : "input", {
|
|
184
|
+
ref: a,
|
|
185
|
+
class: [
|
|
186
|
+
"q-field__native q-placeholder",
|
|
187
|
+
t.inputClass
|
|
188
|
+
],
|
|
189
|
+
style: t.inputStyle,
|
|
190
|
+
...Y.value,
|
|
191
|
+
...U.value,
|
|
192
|
+
...t.type !== "file" ? { value: P() } : H.value
|
|
193
|
+
}),
|
|
194
|
+
getShadowControl: () => C("div", {
|
|
195
|
+
class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (m.value === !0 ? "" : " text-no-wrap")
|
|
196
|
+
}, [
|
|
197
|
+
C("span", { class: "invisible" }, P()),
|
|
198
|
+
C("span", t.shadowText)
|
|
199
|
+
])
|
|
200
|
+
});
|
|
201
|
+
const W = ee(c);
|
|
202
|
+
return Object.assign(F, {
|
|
203
|
+
focus: D,
|
|
204
|
+
select: L,
|
|
205
|
+
getNativeElement: () => a.value
|
|
206
|
+
// deprecated
|
|
207
|
+
}), fe(F, "nativeEl", () => a.value), W;
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
export {
|
|
211
|
+
Se as default
|
|
212
|
+
};
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { computed as p, ref as $, watch as Z, nextTick as ee } from "vue";
|
|
2
|
+
import { shouldIgnoreKey as te } from "../../utils/private.keyboard/key-composition.js";
|
|
3
|
+
const B = {
|
|
4
|
+
date: "####/##/##",
|
|
5
|
+
datetime: "####/##/## ##:##",
|
|
6
|
+
time: "##:##",
|
|
7
|
+
fulltime: "##:##:##",
|
|
8
|
+
phone: "(###) ### - ####",
|
|
9
|
+
card: "#### #### #### ####"
|
|
10
|
+
}, { tokenMap: U, tokenKeys: ne } = X({
|
|
11
|
+
"#": { pattern: "[\\d]", negate: "[^\\d]" },
|
|
12
|
+
S: { pattern: "[a-zA-Z]", negate: "[^a-zA-Z]" },
|
|
13
|
+
N: { pattern: "[0-9a-zA-Z]", negate: "[^0-9a-zA-Z]" },
|
|
14
|
+
A: { pattern: "[a-zA-Z]", negate: "[^a-zA-Z]", transform: (a) => a.toLocaleUpperCase() },
|
|
15
|
+
a: { pattern: "[a-zA-Z]", negate: "[^a-zA-Z]", transform: (a) => a.toLocaleLowerCase() },
|
|
16
|
+
X: { pattern: "[0-9a-zA-Z]", negate: "[^0-9a-zA-Z]", transform: (a) => a.toLocaleUpperCase() },
|
|
17
|
+
x: { pattern: "[0-9a-zA-Z]", negate: "[^0-9a-zA-Z]", transform: (a) => a.toLocaleLowerCase() }
|
|
18
|
+
});
|
|
19
|
+
function X(a) {
|
|
20
|
+
const w = Object.keys(a), K = {};
|
|
21
|
+
return w.forEach((S) => {
|
|
22
|
+
const u = a[S];
|
|
23
|
+
K[S] = {
|
|
24
|
+
...u,
|
|
25
|
+
regex: new RegExp(u.pattern)
|
|
26
|
+
};
|
|
27
|
+
}), { tokenMap: K, tokenKeys: w };
|
|
28
|
+
}
|
|
29
|
+
function G(a) {
|
|
30
|
+
return new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + a.join("") + "])|(.)", "g");
|
|
31
|
+
}
|
|
32
|
+
const N = /[.*+?^${}()|[\]\\]/g, ae = G(ne), c = "", ie = {
|
|
33
|
+
mask: String,
|
|
34
|
+
reverseFillMask: Boolean,
|
|
35
|
+
fillMask: [Boolean, String],
|
|
36
|
+
unmaskedValue: Boolean,
|
|
37
|
+
maskTokens: Object
|
|
38
|
+
};
|
|
39
|
+
function se(a, w, K, S) {
|
|
40
|
+
let u, M, L, y, j, x;
|
|
41
|
+
const D = p(() => {
|
|
42
|
+
if (a.maskTokens === void 0 || a.maskTokens === null)
|
|
43
|
+
return {
|
|
44
|
+
tokenMap: U,
|
|
45
|
+
tokenRegexMask: ae
|
|
46
|
+
};
|
|
47
|
+
const { tokenMap: t } = X(a.maskTokens), e = {
|
|
48
|
+
...U,
|
|
49
|
+
...t
|
|
50
|
+
};
|
|
51
|
+
return {
|
|
52
|
+
tokenMap: e,
|
|
53
|
+
tokenRegexMask: G(Object.keys(e))
|
|
54
|
+
};
|
|
55
|
+
}), E = $(null), R = $(Y());
|
|
56
|
+
function W() {
|
|
57
|
+
return a.autogrow === !0 || ["textarea", "text", "search", "url", "tel", "password"].includes(a.type);
|
|
58
|
+
}
|
|
59
|
+
Z(() => a.type + a.autogrow, V), Z(() => a.mask, (t) => {
|
|
60
|
+
if (t !== void 0)
|
|
61
|
+
b(R.value, !0);
|
|
62
|
+
else {
|
|
63
|
+
const e = A(R.value);
|
|
64
|
+
V(), a.modelValue !== e && w("update:modelValue", e);
|
|
65
|
+
}
|
|
66
|
+
}), Z(() => a.fillMask + a.reverseFillMask, () => {
|
|
67
|
+
E.value === !0 && b(R.value, !0);
|
|
68
|
+
}), Z(() => a.unmaskedValue, () => {
|
|
69
|
+
E.value === !0 && b(R.value);
|
|
70
|
+
});
|
|
71
|
+
function Y() {
|
|
72
|
+
if (V(), E.value === !0) {
|
|
73
|
+
const t = _(A(a.modelValue));
|
|
74
|
+
return a.fillMask !== !1 ? P(t) : t;
|
|
75
|
+
}
|
|
76
|
+
return a.modelValue;
|
|
77
|
+
}
|
|
78
|
+
function I(t) {
|
|
79
|
+
if (t < u.length)
|
|
80
|
+
return u.slice(-t);
|
|
81
|
+
let e = "", l = u;
|
|
82
|
+
const n = l.indexOf(c);
|
|
83
|
+
if (n !== -1) {
|
|
84
|
+
for (let i = t - l.length; i > 0; i--)
|
|
85
|
+
e += c;
|
|
86
|
+
l = l.slice(0, n) + e + l.slice(n);
|
|
87
|
+
}
|
|
88
|
+
return l;
|
|
89
|
+
}
|
|
90
|
+
function V() {
|
|
91
|
+
if (E.value = a.mask !== void 0 && a.mask.length !== 0 && W(), E.value === !1) {
|
|
92
|
+
y = void 0, u = "", M = "";
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const t = B[a.mask] === void 0 ? a.mask : B[a.mask], e = typeof a.fillMask == "string" && a.fillMask.length !== 0 ? a.fillMask.slice(0, 1) : "_", l = e.replace(N, "\\$&"), n = [], i = [], s = [];
|
|
96
|
+
let d = a.reverseFillMask === !0, r = "", o = "";
|
|
97
|
+
t.replace(D.value.tokenRegexMask, (k, g, v, O, T) => {
|
|
98
|
+
if (O !== void 0) {
|
|
99
|
+
const h = D.value.tokenMap[O];
|
|
100
|
+
s.push(h), o = h.negate, d === !0 && (i.push("(?:" + o + "+)?(" + h.pattern + "+)?(?:" + o + "+)?(" + h.pattern + "+)?"), d = !1), i.push("(?:" + o + "+)?(" + h.pattern + ")?");
|
|
101
|
+
} else if (v !== void 0)
|
|
102
|
+
r = "\\" + (v === "\\" ? "" : v), s.push(v), n.push("([^" + r + "]+)?" + r + "?");
|
|
103
|
+
else {
|
|
104
|
+
const h = g !== void 0 ? g : T;
|
|
105
|
+
r = h === "\\" ? "\\\\\\\\" : h.replace(N, "\\\\$&"), s.push(h), n.push("([^" + r + "]+)?" + r + "?");
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
const C = new RegExp(
|
|
109
|
+
"^" + n.join("") + "(" + (r === "" ? "." : "[^" + r + "]") + "+)?" + (r === "" ? "" : "[" + r + "]*") + "$"
|
|
110
|
+
), F = i.length - 1, f = i.map((k, g) => g === 0 && a.reverseFillMask === !0 ? new RegExp("^" + l + "*" + k) : g === F ? new RegExp(
|
|
111
|
+
"^" + k + "(" + (o === "" ? "." : o) + "+)?" + (a.reverseFillMask === !0 ? "$" : l + "*")
|
|
112
|
+
) : new RegExp("^" + k));
|
|
113
|
+
L = s, y = (k) => {
|
|
114
|
+
const g = C.exec(a.reverseFillMask === !0 ? k : k.slice(0, s.length + 1));
|
|
115
|
+
g !== null && (k = g.slice(1).join(""));
|
|
116
|
+
const v = [], O = f.length;
|
|
117
|
+
for (let T = 0, h = k; T < O; T++) {
|
|
118
|
+
const z = f[T].exec(h);
|
|
119
|
+
if (z === null)
|
|
120
|
+
break;
|
|
121
|
+
h = h.slice(z.shift().length), v.push(...z);
|
|
122
|
+
}
|
|
123
|
+
return v.length !== 0 ? v.join("") : k;
|
|
124
|
+
}, u = s.map((k) => typeof k == "string" ? k : c).join(""), M = u.split(c).join(e);
|
|
125
|
+
}
|
|
126
|
+
function b(t, e, l) {
|
|
127
|
+
const n = S.value, i = n.selectionEnd, s = n.value.length - i, d = A(t);
|
|
128
|
+
e === !0 && V();
|
|
129
|
+
const r = _(d, e), o = a.fillMask !== !1 ? P(r) : r, C = R.value !== o;
|
|
130
|
+
n.value !== o && (n.value = o), C === !0 && (R.value = o), document.activeElement === n && ee(() => {
|
|
131
|
+
if (o === M) {
|
|
132
|
+
const f = a.reverseFillMask === !0 ? M.length : 0;
|
|
133
|
+
n.setSelectionRange(f, f, "forward");
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
if (l === "insertFromPaste" && a.reverseFillMask !== !0) {
|
|
137
|
+
const f = n.selectionEnd;
|
|
138
|
+
let k = i - 1;
|
|
139
|
+
for (let g = j; g <= k && g < f; g++)
|
|
140
|
+
u[g] !== c && k++;
|
|
141
|
+
m.right(n, k);
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
if (["deleteContentBackward", "deleteContentForward"].indexOf(l) !== -1) {
|
|
145
|
+
const f = a.reverseFillMask === !0 ? i === 0 ? o.length > r.length ? 1 : 0 : Math.max(0, o.length - (o === M ? 0 : Math.min(r.length, s) + 1)) + 1 : i;
|
|
146
|
+
n.setSelectionRange(f, f, "forward");
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
if (a.reverseFillMask === !0)
|
|
150
|
+
if (C === !0) {
|
|
151
|
+
const f = Math.max(0, o.length - (o === M ? 0 : Math.min(r.length, s + 1)));
|
|
152
|
+
f === 1 && i === 1 ? n.setSelectionRange(f, f, "forward") : m.rightReverse(n, f);
|
|
153
|
+
} else {
|
|
154
|
+
const f = o.length - s;
|
|
155
|
+
n.setSelectionRange(f, f, "backward");
|
|
156
|
+
}
|
|
157
|
+
else if (C === !0) {
|
|
158
|
+
const f = Math.max(0, u.indexOf(c), Math.min(r.length, i) - 1);
|
|
159
|
+
m.right(n, f);
|
|
160
|
+
} else {
|
|
161
|
+
const f = i - 1;
|
|
162
|
+
m.right(n, f);
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
const F = a.unmaskedValue === !0 ? A(o) : o;
|
|
166
|
+
String(a.modelValue) !== F && (a.modelValue !== null || F !== "") && K(F, !0);
|
|
167
|
+
}
|
|
168
|
+
function q(t, e, l) {
|
|
169
|
+
const n = _(A(t.value));
|
|
170
|
+
e = Math.max(0, u.indexOf(c), Math.min(n.length, e)), j = e, t.setSelectionRange(e, l, "forward");
|
|
171
|
+
}
|
|
172
|
+
const m = {
|
|
173
|
+
left(t, e) {
|
|
174
|
+
const l = u.slice(e - 1).indexOf(c) === -1;
|
|
175
|
+
let n = Math.max(0, e - 1);
|
|
176
|
+
for (; n >= 0; n--)
|
|
177
|
+
if (u[n] === c) {
|
|
178
|
+
e = n, l === !0 && e++;
|
|
179
|
+
break;
|
|
180
|
+
}
|
|
181
|
+
if (n < 0 && u[e] !== void 0 && u[e] !== c)
|
|
182
|
+
return m.right(t, 0);
|
|
183
|
+
e >= 0 && t.setSelectionRange(e, e, "backward");
|
|
184
|
+
},
|
|
185
|
+
right(t, e) {
|
|
186
|
+
const l = t.value.length;
|
|
187
|
+
let n = Math.min(l, e + 1);
|
|
188
|
+
for (; n <= l; n++)
|
|
189
|
+
if (u[n] === c) {
|
|
190
|
+
e = n;
|
|
191
|
+
break;
|
|
192
|
+
} else u[n - 1] === c && (e = n);
|
|
193
|
+
if (n > l && u[e - 1] !== void 0 && u[e - 1] !== c)
|
|
194
|
+
return m.left(t, l);
|
|
195
|
+
t.setSelectionRange(e, e, "forward");
|
|
196
|
+
},
|
|
197
|
+
leftReverse(t, e) {
|
|
198
|
+
const l = I(t.value.length);
|
|
199
|
+
let n = Math.max(0, e - 1);
|
|
200
|
+
for (; n >= 0; n--)
|
|
201
|
+
if (l[n - 1] === c) {
|
|
202
|
+
e = n;
|
|
203
|
+
break;
|
|
204
|
+
} else if (l[n] === c && (e = n, n === 0))
|
|
205
|
+
break;
|
|
206
|
+
if (n < 0 && l[e] !== void 0 && l[e] !== c)
|
|
207
|
+
return m.rightReverse(t, 0);
|
|
208
|
+
e >= 0 && t.setSelectionRange(e, e, "backward");
|
|
209
|
+
},
|
|
210
|
+
rightReverse(t, e) {
|
|
211
|
+
const l = t.value.length, n = I(l), i = n.slice(0, e + 1).indexOf(c) === -1;
|
|
212
|
+
let s = Math.min(l, e + 1);
|
|
213
|
+
for (; s <= l; s++)
|
|
214
|
+
if (n[s - 1] === c) {
|
|
215
|
+
e = s, e > 0 && i === !0 && e--;
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
if (s > l && n[e - 1] !== void 0 && n[e - 1] !== c)
|
|
219
|
+
return m.leftReverse(t, l);
|
|
220
|
+
t.setSelectionRange(e, e, "forward");
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
function H(t) {
|
|
224
|
+
w("click", t), x = void 0;
|
|
225
|
+
}
|
|
226
|
+
function J(t) {
|
|
227
|
+
if (w("keydown", t), te(t) === !0 || t.altKey === !0) return;
|
|
228
|
+
const e = S.value, l = e.selectionStart, n = e.selectionEnd;
|
|
229
|
+
if (t.shiftKey || (x = void 0), t.keyCode === 37 || t.keyCode === 39) {
|
|
230
|
+
t.shiftKey && x === void 0 && (x = e.selectionDirection === "forward" ? l : n);
|
|
231
|
+
const i = m[(t.keyCode === 39 ? "right" : "left") + (a.reverseFillMask === !0 ? "Reverse" : "")];
|
|
232
|
+
if (t.preventDefault(), i(e, x === l ? n : l), t.shiftKey) {
|
|
233
|
+
const s = e.selectionStart;
|
|
234
|
+
e.setSelectionRange(Math.min(x, s), Math.max(x, s), "forward");
|
|
235
|
+
}
|
|
236
|
+
} else t.keyCode === 8 && a.reverseFillMask !== !0 && l === n ? (m.left(e, l), e.setSelectionRange(e.selectionStart, n, "backward")) : t.keyCode === 46 && a.reverseFillMask === !0 && l === n && (m.rightReverse(e, n), e.setSelectionRange(l, e.selectionEnd, "forward"));
|
|
237
|
+
}
|
|
238
|
+
function _(t, e) {
|
|
239
|
+
if (t == null || t === "")
|
|
240
|
+
return "";
|
|
241
|
+
if (a.reverseFillMask === !0)
|
|
242
|
+
return Q(t, e);
|
|
243
|
+
const l = L;
|
|
244
|
+
let n = 0, i = "";
|
|
245
|
+
for (let s = 0; s < l.length; s++) {
|
|
246
|
+
const d = t[n], r = l[s];
|
|
247
|
+
if (typeof r == "string")
|
|
248
|
+
i += r, e === !0 && d === r && n++;
|
|
249
|
+
else if (d !== void 0 && r.regex.test(d))
|
|
250
|
+
i += r.transform !== void 0 ? r.transform(d) : d, n++;
|
|
251
|
+
else
|
|
252
|
+
return i;
|
|
253
|
+
}
|
|
254
|
+
return i;
|
|
255
|
+
}
|
|
256
|
+
function Q(t, e) {
|
|
257
|
+
const l = L, n = u.indexOf(c);
|
|
258
|
+
let i = t.length - 1, s = "";
|
|
259
|
+
for (let d = l.length - 1; d >= 0 && i !== -1; d--) {
|
|
260
|
+
const r = l[d];
|
|
261
|
+
let o = t[i];
|
|
262
|
+
if (typeof r == "string")
|
|
263
|
+
s = r + s, e === !0 && o === r && i--;
|
|
264
|
+
else if (o !== void 0 && r.regex.test(o))
|
|
265
|
+
do
|
|
266
|
+
s = (r.transform !== void 0 ? r.transform(o) : o) + s, i--, o = t[i];
|
|
267
|
+
while (n === d && o !== void 0 && r.regex.test(o));
|
|
268
|
+
else
|
|
269
|
+
return s;
|
|
270
|
+
}
|
|
271
|
+
return s;
|
|
272
|
+
}
|
|
273
|
+
function A(t) {
|
|
274
|
+
return typeof t != "string" || y === void 0 ? typeof t == "number" ? y("" + t) : t : y(t);
|
|
275
|
+
}
|
|
276
|
+
function P(t) {
|
|
277
|
+
return M.length - t.length <= 0 ? t : a.reverseFillMask === !0 && t.length !== 0 ? M.slice(0, -t.length) + t : t + M.slice(t.length);
|
|
278
|
+
}
|
|
279
|
+
return {
|
|
280
|
+
innerValue: R,
|
|
281
|
+
hasMask: E,
|
|
282
|
+
moveCursorForPaste: q,
|
|
283
|
+
updateMaskValue: b,
|
|
284
|
+
onMaskedKeydown: J,
|
|
285
|
+
onMaskedClick: H
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
export {
|
|
289
|
+
se as default,
|
|
290
|
+
ie as useMaskProps
|
|
291
|
+
};
|