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,118 @@
|
|
|
1
|
+
import { getCurrentInstance as D, ref as M, computed as C, onBeforeUpdate as R, onBeforeUnmount as j, h as m, withDirectives as E } from "vue";
|
|
2
|
+
import T from "../../directives/touch-pan/TouchPan.js";
|
|
3
|
+
import _, { useDarkProps as z } from "../../composables/private.use-dark/use-dark.js";
|
|
4
|
+
import B from "../../composables/use-render-cache/use-render-cache.js";
|
|
5
|
+
import { createComponent as F } from "../../utils/private.create/create.js";
|
|
6
|
+
import { hSlot as I } from "../../utils/private.render/render.js";
|
|
7
|
+
const x = [
|
|
8
|
+
["left", "center", "start", "width"],
|
|
9
|
+
["right", "center", "end", "width"],
|
|
10
|
+
["top", "start", "center", "height"],
|
|
11
|
+
["bottom", "end", "center", "height"]
|
|
12
|
+
], Y = F({
|
|
13
|
+
name: "QSlideItem",
|
|
14
|
+
props: {
|
|
15
|
+
...z,
|
|
16
|
+
leftColor: String,
|
|
17
|
+
rightColor: String,
|
|
18
|
+
topColor: String,
|
|
19
|
+
bottomColor: String,
|
|
20
|
+
onSlide: Function
|
|
21
|
+
},
|
|
22
|
+
emits: ["action", "top", "right", "bottom", "left"],
|
|
23
|
+
setup(f, { slots: n, emit: g }) {
|
|
24
|
+
const { proxy: y } = D(), { $q: b } = y, $ = _(f, b), { getCache: S } = B(), p = M(null);
|
|
25
|
+
let a = null, e = {}, u = {}, h = {};
|
|
26
|
+
const d = C(() => b.lang.rtl === !0 ? { left: "right", right: "left" } : { left: "left", right: "right" }), k = C(
|
|
27
|
+
() => "q-slide-item q-item-type overflow-hidden" + ($.value === !0 ? " q-slide-item--dark q-dark" : "")
|
|
28
|
+
);
|
|
29
|
+
function v() {
|
|
30
|
+
p.value.style.transform = "translate(0,0)";
|
|
31
|
+
}
|
|
32
|
+
function w(t, l, o) {
|
|
33
|
+
f.onSlide !== void 0 && g("slide", { side: t, ratio: l, isReset: o });
|
|
34
|
+
}
|
|
35
|
+
function q(t) {
|
|
36
|
+
const l = p.value;
|
|
37
|
+
if (t.isFirst)
|
|
38
|
+
e = {
|
|
39
|
+
dir: null,
|
|
40
|
+
size: { left: 0, right: 0, top: 0, bottom: 0 },
|
|
41
|
+
scale: 0
|
|
42
|
+
}, l.classList.add("no-transition"), x.forEach((i) => {
|
|
43
|
+
if (n[i[0]] !== void 0) {
|
|
44
|
+
const c = h[i[0]];
|
|
45
|
+
c.style.transform = "scale(1)", e.size[i[0]] = c.getBoundingClientRect()[i[3]];
|
|
46
|
+
}
|
|
47
|
+
}), e.axis = t.direction === "up" || t.direction === "down" ? "Y" : "X";
|
|
48
|
+
else if (t.isFinal) {
|
|
49
|
+
l.classList.remove("no-transition"), e.scale === 1 ? (l.style.transform = `translate${e.axis}(${e.dir * 100}%)`, a !== null && clearTimeout(a), a = setTimeout(() => {
|
|
50
|
+
a = null, g(e.showing, { reset: v }), g("action", { side: e.showing, reset: v });
|
|
51
|
+
}, 230)) : (l.style.transform = "translate(0,0)", w(e.showing, 0, !0));
|
|
52
|
+
return;
|
|
53
|
+
} else
|
|
54
|
+
t.direction = e.axis === "X" ? t.offset.x < 0 ? "left" : "right" : t.offset.y < 0 ? "up" : "down";
|
|
55
|
+
if (n.left === void 0 && t.direction === d.value.right || n.right === void 0 && t.direction === d.value.left || n.top === void 0 && t.direction === "down" || n.bottom === void 0 && t.direction === "up") {
|
|
56
|
+
l.style.transform = "translate(0,0)";
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
let o, s, r;
|
|
60
|
+
e.axis === "X" ? (s = t.direction === "left" ? -1 : 1, o = s === 1 ? d.value.left : d.value.right, r = t.distance.x) : (s = t.direction === "up" ? -2 : 2, o = s === 2 ? "top" : "bottom", r = t.distance.y), !(e.dir !== null && Math.abs(s) !== Math.abs(e.dir)) && (e.dir !== s && (["left", "right", "top", "bottom"].forEach((i) => {
|
|
61
|
+
u[i] && (u[i].style.visibility = o === i ? "visible" : "hidden");
|
|
62
|
+
}), e.showing = o, e.dir = s), e.scale = Math.max(0, Math.min(1, (r - 40) / e.size[o])), l.style.transform = `translate${e.axis}(${r * s / Math.abs(s)}px)`, h[o].style.transform = `scale(${e.scale})`, w(o, e.scale, !1));
|
|
63
|
+
}
|
|
64
|
+
return R(() => {
|
|
65
|
+
u = {}, h = {};
|
|
66
|
+
}), j(() => {
|
|
67
|
+
a !== null && clearTimeout(a);
|
|
68
|
+
}), Object.assign(y, { reset: v }), () => {
|
|
69
|
+
const t = [], l = {
|
|
70
|
+
left: n[d.value.right] !== void 0,
|
|
71
|
+
right: n[d.value.left] !== void 0,
|
|
72
|
+
up: n.bottom !== void 0,
|
|
73
|
+
down: n.top !== void 0
|
|
74
|
+
}, o = Object.keys(l).filter((r) => l[r] === !0);
|
|
75
|
+
x.forEach((r) => {
|
|
76
|
+
const i = r[0];
|
|
77
|
+
n[i] !== void 0 && t.push(
|
|
78
|
+
m("div", {
|
|
79
|
+
key: i,
|
|
80
|
+
ref: (c) => {
|
|
81
|
+
u[i] = c;
|
|
82
|
+
},
|
|
83
|
+
class: `q-slide-item__${i} absolute-full row no-wrap items-${r[1]} justify-${r[2]}` + (f[i + "Color"] !== void 0 ? ` bg-${f[i + "Color"]}` : "")
|
|
84
|
+
}, [
|
|
85
|
+
m("div", { ref: (c) => {
|
|
86
|
+
h[i] = c;
|
|
87
|
+
} }, n[i]())
|
|
88
|
+
])
|
|
89
|
+
);
|
|
90
|
+
});
|
|
91
|
+
const s = m("div", {
|
|
92
|
+
key: `${o.length === 0 ? "only-" : ""} content`,
|
|
93
|
+
ref: p,
|
|
94
|
+
class: "q-slide-item__content"
|
|
95
|
+
}, I(n.default));
|
|
96
|
+
return o.length === 0 ? t.push(s) : t.push(
|
|
97
|
+
E(s, S("dir#" + o.join(""), () => {
|
|
98
|
+
const r = {
|
|
99
|
+
prevent: !0,
|
|
100
|
+
stop: !0,
|
|
101
|
+
mouse: !0
|
|
102
|
+
};
|
|
103
|
+
return o.forEach((i) => {
|
|
104
|
+
r[i] = !0;
|
|
105
|
+
}), [[
|
|
106
|
+
T,
|
|
107
|
+
q,
|
|
108
|
+
void 0,
|
|
109
|
+
r
|
|
110
|
+
]];
|
|
111
|
+
}))
|
|
112
|
+
), m("div", { class: k.value }, t);
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
export {
|
|
117
|
+
Y as default
|
|
118
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { h as t } from "vue";
|
|
2
|
+
import { createComponent as a } from "../../utils/private.create/create.js";
|
|
3
|
+
const c = a({
|
|
4
|
+
name: "QSpace",
|
|
5
|
+
setup() {
|
|
6
|
+
const e = t("div", { class: "q-space" });
|
|
7
|
+
return () => e;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
c as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { h as t } from "vue";
|
|
2
|
+
import n, { useSpinnerProps as i } from "./use-spinner.js";
|
|
3
|
+
import { createComponent as o } from "../../utils/private.create/create.js";
|
|
4
|
+
const l = o({
|
|
5
|
+
name: "QSpinner",
|
|
6
|
+
props: {
|
|
7
|
+
...i,
|
|
8
|
+
thickness: {
|
|
9
|
+
type: Number,
|
|
10
|
+
default: 5
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
setup(e) {
|
|
14
|
+
const { cSize: r, classes: s } = n(e);
|
|
15
|
+
return () => t("svg", {
|
|
16
|
+
class: s.value + " q-spinner-mat",
|
|
17
|
+
width: r.value,
|
|
18
|
+
height: r.value,
|
|
19
|
+
viewBox: "25 25 50 50"
|
|
20
|
+
}, [
|
|
21
|
+
t("circle", {
|
|
22
|
+
class: "path",
|
|
23
|
+
cx: "50",
|
|
24
|
+
cy: "50",
|
|
25
|
+
r: "20",
|
|
26
|
+
fill: "none",
|
|
27
|
+
stroke: "currentColor",
|
|
28
|
+
"stroke-width": e.thickness,
|
|
29
|
+
"stroke-miterlimit": "10"
|
|
30
|
+
})
|
|
31
|
+
]);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
l as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { h as i } from "vue";
|
|
2
|
+
import n, { useSpinnerProps as r } from "./use-spinner.js";
|
|
3
|
+
import { createComponent as c } from "../../utils/private.create/create.js";
|
|
4
|
+
const l = '<g transform="translate(1 1)" stroke-width="2" fill="none" fill-rule="evenodd"><circle cx="5" cy="50" r="5"><animate attributeName="cy" begin="0s" dur="2.2s" values="50;5;50;50" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="cx" begin="0s" dur="2.2s" values="5;27;49;5" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="27" cy="5" r="5"><animate attributeName="cy" begin="0s" dur="2.2s" from="5" to="5" values="5;50;50;5" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="cx" begin="0s" dur="2.2s" from="27" to="27" values="27;49;5;27" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="49" cy="50" r="5"><animate attributeName="cy" begin="0s" dur="2.2s" values="50;50;5;50" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="cx" from="49" to="49" begin="0s" dur="2.2s" values="49;5;27;49" calcMode="linear" repeatCount="indefinite"></animate></circle></g>', m = c({
|
|
5
|
+
name: "QSpinnerBall",
|
|
6
|
+
props: r,
|
|
7
|
+
setup(a) {
|
|
8
|
+
const { cSize: e, classes: t } = n(a);
|
|
9
|
+
return () => i("svg", {
|
|
10
|
+
class: t.value,
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
width: e.value,
|
|
13
|
+
height: e.value,
|
|
14
|
+
viewBox: "0 0 57 57",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
innerHTML: l
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
m as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { computed as i } from "vue";
|
|
2
|
+
import { useSizeDefaults as t } from "../../composables/private.use-size/use-size.js";
|
|
3
|
+
const o = {
|
|
4
|
+
size: {
|
|
5
|
+
type: [String, Number],
|
|
6
|
+
default: "1em"
|
|
7
|
+
},
|
|
8
|
+
color: String
|
|
9
|
+
};
|
|
10
|
+
function s(e) {
|
|
11
|
+
return {
|
|
12
|
+
cSize: i(() => e.size in t ? `${t[e.size]}px` : e.size),
|
|
13
|
+
classes: i(
|
|
14
|
+
() => "q-spinner" + (e.color ? ` text-${e.color}` : "")
|
|
15
|
+
)
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
s as default,
|
|
20
|
+
o as useSpinnerProps
|
|
21
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { computed as c, h as o } from "vue";
|
|
2
|
+
import i from "../icon/QIcon.js";
|
|
3
|
+
import a, { useCheckboxEmits as m, useCheckboxProps as g } from "../checkbox/use-checkbox.js";
|
|
4
|
+
import { createComponent as s } from "../../utils/private.create/create.js";
|
|
5
|
+
const k = s({
|
|
6
|
+
name: "QToggle",
|
|
7
|
+
props: {
|
|
8
|
+
...g,
|
|
9
|
+
icon: String,
|
|
10
|
+
iconColor: String
|
|
11
|
+
},
|
|
12
|
+
emits: m,
|
|
13
|
+
setup(e) {
|
|
14
|
+
function r(t, l) {
|
|
15
|
+
const n = c(
|
|
16
|
+
() => (t.value === !0 ? e.checkedIcon : l.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || e.icon
|
|
17
|
+
), u = c(() => t.value === !0 ? e.iconColor : null);
|
|
18
|
+
return () => [
|
|
19
|
+
o("div", { class: "q-toggle__track" }),
|
|
20
|
+
o(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
class: "q-toggle__thumb absolute flex flex-center no-wrap"
|
|
24
|
+
},
|
|
25
|
+
n.value !== void 0 ? [
|
|
26
|
+
o(i, {
|
|
27
|
+
name: n.value,
|
|
28
|
+
color: u.value
|
|
29
|
+
})
|
|
30
|
+
] : void 0
|
|
31
|
+
)
|
|
32
|
+
];
|
|
33
|
+
}
|
|
34
|
+
return a("toggle", r);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
k as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { getCurrentInstance as ve, ref as x, computed as L, watch as ce, nextTick as me, onBeforeMount as we, onDeactivated as pe, onActivated as he, onBeforeUnmount as ze, h as A } from "vue";
|
|
2
|
+
import ge from "../../utils/debounce/debounce.js";
|
|
3
|
+
import { noop as ye } from "../../utils/event/event.js";
|
|
4
|
+
import { rtlHasScrollBug as Z } from "../../utils/private.rtl/rtl.js";
|
|
5
|
+
const M = 1e3, Me = [
|
|
6
|
+
"start",
|
|
7
|
+
"center",
|
|
8
|
+
"end",
|
|
9
|
+
"start-force",
|
|
10
|
+
"center-force",
|
|
11
|
+
"end-force"
|
|
12
|
+
], ae = Array.prototype.filter, be = window.getComputedStyle(document.body).overflowAnchor === void 0 ? ye : function(t, s) {
|
|
13
|
+
t !== null && (t._qOverflowAnimationFrame !== void 0 && cancelAnimationFrame(t._qOverflowAnimationFrame), t._qOverflowAnimationFrame = requestAnimationFrame(() => {
|
|
14
|
+
if (t === null) return;
|
|
15
|
+
t._qOverflowAnimationFrame = void 0;
|
|
16
|
+
const S = t.children || [];
|
|
17
|
+
ae.call(S, (g) => g.dataset && g.dataset.qVsAnchor !== void 0).forEach((g) => {
|
|
18
|
+
delete g.dataset.qVsAnchor;
|
|
19
|
+
});
|
|
20
|
+
const u = S[s];
|
|
21
|
+
u?.dataset && (u.dataset.qVsAnchor = "");
|
|
22
|
+
}));
|
|
23
|
+
};
|
|
24
|
+
function B(t, s) {
|
|
25
|
+
return t + s;
|
|
26
|
+
}
|
|
27
|
+
function Q(t, s, S, u, g, a, V, b) {
|
|
28
|
+
const h = t === window ? document.scrollingElement || document.documentElement : t, y = g === !0 ? "offsetWidth" : "offsetHeight", o = {
|
|
29
|
+
scrollStart: 0,
|
|
30
|
+
scrollViewSize: -V - b,
|
|
31
|
+
scrollMaxSize: 0,
|
|
32
|
+
offsetStart: -V,
|
|
33
|
+
offsetEnd: -b
|
|
34
|
+
};
|
|
35
|
+
if (g === !0 ? (t === window ? (o.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, o.scrollViewSize += document.documentElement.clientWidth) : (o.scrollStart = h.scrollLeft, o.scrollViewSize += h.clientWidth), o.scrollMaxSize = h.scrollWidth, a === !0 && (o.scrollStart = (Z === !0 ? o.scrollMaxSize - o.scrollViewSize : 0) - o.scrollStart)) : (t === window ? (o.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, o.scrollViewSize += document.documentElement.clientHeight) : (o.scrollStart = h.scrollTop, o.scrollViewSize += h.clientHeight), o.scrollMaxSize = h.scrollHeight), S !== null)
|
|
36
|
+
for (let v = S.previousElementSibling; v !== null; v = v.previousElementSibling)
|
|
37
|
+
v.classList.contains("q-virtual-scroll--skip") === !1 && (o.offsetStart += v[y]);
|
|
38
|
+
if (u !== null)
|
|
39
|
+
for (let v = u.nextElementSibling; v !== null; v = v.nextElementSibling)
|
|
40
|
+
v.classList.contains("q-virtual-scroll--skip") === !1 && (o.offsetEnd += v[y]);
|
|
41
|
+
if (s !== t) {
|
|
42
|
+
const v = h.getBoundingClientRect(), w = s.getBoundingClientRect();
|
|
43
|
+
g === !0 ? (o.offsetStart += w.left - v.left, o.offsetEnd -= w.width) : (o.offsetStart += w.top - v.top, o.offsetEnd -= w.height), t !== window && (o.offsetStart += o.scrollStart), o.offsetEnd += o.scrollMaxSize - o.offsetStart;
|
|
44
|
+
}
|
|
45
|
+
return o;
|
|
46
|
+
}
|
|
47
|
+
function ne(t, s, S, u) {
|
|
48
|
+
s === "end" && (s = (t === window ? document.body : t)[S === !0 ? "scrollWidth" : "scrollHeight"]), t === window ? S === !0 ? (u === !0 && (s = (Z === !0 ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - s), window.scrollTo(s, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, s) : S === !0 ? (u === !0 && (s = (Z === !0 ? t.scrollWidth - t.offsetWidth : 0) - s), t.scrollLeft = s) : t.scrollTop = s;
|
|
49
|
+
}
|
|
50
|
+
function _(t, s, S, u) {
|
|
51
|
+
if (S >= u)
|
|
52
|
+
return 0;
|
|
53
|
+
const g = s.length, a = Math.floor(S / M), V = Math.floor((u - 1) / M) + 1;
|
|
54
|
+
let b = t.slice(a, V).reduce(B, 0);
|
|
55
|
+
return S % M !== 0 && (b -= s.slice(a * M, S).reduce(B, 0)), u % M !== 0 && u !== g && (b -= s.slice(u, V * M).reduce(B, 0)), b;
|
|
56
|
+
}
|
|
57
|
+
const Ee = {
|
|
58
|
+
virtualScrollSliceSize: {
|
|
59
|
+
type: [Number, String],
|
|
60
|
+
default: 10
|
|
61
|
+
},
|
|
62
|
+
virtualScrollSliceRatioBefore: {
|
|
63
|
+
type: [Number, String],
|
|
64
|
+
default: 1
|
|
65
|
+
},
|
|
66
|
+
virtualScrollSliceRatioAfter: {
|
|
67
|
+
type: [Number, String],
|
|
68
|
+
default: 1
|
|
69
|
+
},
|
|
70
|
+
virtualScrollItemSize: {
|
|
71
|
+
type: [Number, String],
|
|
72
|
+
default: 24
|
|
73
|
+
},
|
|
74
|
+
virtualScrollStickySizeStart: {
|
|
75
|
+
type: [Number, String],
|
|
76
|
+
default: 0
|
|
77
|
+
},
|
|
78
|
+
virtualScrollStickySizeEnd: {
|
|
79
|
+
type: [Number, String],
|
|
80
|
+
default: 0
|
|
81
|
+
},
|
|
82
|
+
tableColspan: [Number, String]
|
|
83
|
+
}, Re = {
|
|
84
|
+
virtualScrollHorizontal: Boolean,
|
|
85
|
+
onVirtualScroll: Function,
|
|
86
|
+
...Ee
|
|
87
|
+
};
|
|
88
|
+
function ke({
|
|
89
|
+
virtualScrollLength: t,
|
|
90
|
+
getVirtualScrollTarget: s,
|
|
91
|
+
getVirtualScrollEl: S,
|
|
92
|
+
virtualScrollItemSizeComputed: u
|
|
93
|
+
// optional
|
|
94
|
+
}) {
|
|
95
|
+
const g = ve(), { props: a, emit: V, proxy: b } = g, { $q: h } = b;
|
|
96
|
+
let y, o, v, w = [], f;
|
|
97
|
+
const q = x(0), R = x(0), F = x({}), O = x(null), T = x(null), W = x(null), m = x({ from: 0, to: 0 }), D = L(() => a.tableColspan !== void 0 ? a.tableColspan : 100);
|
|
98
|
+
u === void 0 && (u = L(() => a.virtualScrollItemSize));
|
|
99
|
+
const I = L(() => u.value + ";" + a.virtualScrollHorizontal), se = L(
|
|
100
|
+
() => I.value + ";" + a.virtualScrollSliceRatioBefore + ";" + a.virtualScrollSliceRatioAfter
|
|
101
|
+
);
|
|
102
|
+
ce(se, () => {
|
|
103
|
+
k();
|
|
104
|
+
}), ce(I, X);
|
|
105
|
+
function X() {
|
|
106
|
+
U(o, !0);
|
|
107
|
+
}
|
|
108
|
+
function ee(e) {
|
|
109
|
+
U(e === void 0 ? o : e);
|
|
110
|
+
}
|
|
111
|
+
function N(e, l) {
|
|
112
|
+
const r = s();
|
|
113
|
+
if (r == null || r.nodeType === 8) return;
|
|
114
|
+
const d = Q(
|
|
115
|
+
r,
|
|
116
|
+
S(),
|
|
117
|
+
O.value,
|
|
118
|
+
T.value,
|
|
119
|
+
a.virtualScrollHorizontal,
|
|
120
|
+
h.lang.rtl,
|
|
121
|
+
a.virtualScrollStickySizeStart,
|
|
122
|
+
a.virtualScrollStickySizeEnd
|
|
123
|
+
);
|
|
124
|
+
v !== d.scrollViewSize && k(d.scrollViewSize), C(
|
|
125
|
+
r,
|
|
126
|
+
d,
|
|
127
|
+
Math.min(t.value - 1, Math.max(0, parseInt(e, 10) || 0)),
|
|
128
|
+
0,
|
|
129
|
+
Me.indexOf(l) !== -1 ? l : o !== -1 && e > o ? "end" : "start"
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
function ue() {
|
|
133
|
+
const e = s();
|
|
134
|
+
if (e == null || e.nodeType === 8) return;
|
|
135
|
+
const l = Q(
|
|
136
|
+
e,
|
|
137
|
+
S(),
|
|
138
|
+
O.value,
|
|
139
|
+
T.value,
|
|
140
|
+
a.virtualScrollHorizontal,
|
|
141
|
+
h.lang.rtl,
|
|
142
|
+
a.virtualScrollStickySizeStart,
|
|
143
|
+
a.virtualScrollStickySizeEnd
|
|
144
|
+
), r = t.value - 1, d = l.scrollMaxSize - l.offsetStart - l.offsetEnd - R.value;
|
|
145
|
+
if (y === l.scrollStart) return;
|
|
146
|
+
if (l.scrollMaxSize <= 0) {
|
|
147
|
+
C(e, l, 0, 0);
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
v !== l.scrollViewSize && k(l.scrollViewSize), Y(m.value.from);
|
|
151
|
+
const p = Math.floor(l.scrollMaxSize - Math.max(l.scrollViewSize, l.offsetEnd) - Math.min(f[r], l.scrollViewSize / 2));
|
|
152
|
+
if (p > 0 && Math.ceil(l.scrollStart) >= p) {
|
|
153
|
+
C(
|
|
154
|
+
e,
|
|
155
|
+
l,
|
|
156
|
+
r,
|
|
157
|
+
l.scrollMaxSize - l.offsetEnd - w.reduce(B, 0)
|
|
158
|
+
);
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
let n = 0, c = l.scrollStart - l.offsetStart, z = c;
|
|
162
|
+
if (c <= d && c + l.scrollViewSize >= q.value)
|
|
163
|
+
c -= q.value, n = m.value.from, z = c;
|
|
164
|
+
else
|
|
165
|
+
for (let i = 0; c >= w[i] && n < r; i++)
|
|
166
|
+
c -= w[i], n += M;
|
|
167
|
+
for (; c > 0 && n < r; )
|
|
168
|
+
c -= f[n], c > -l.scrollViewSize ? (n++, z = c) : z = f[n] + c;
|
|
169
|
+
C(
|
|
170
|
+
e,
|
|
171
|
+
l,
|
|
172
|
+
n,
|
|
173
|
+
z
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
function C(e, l, r, d, p) {
|
|
177
|
+
const n = typeof p == "string" && p.indexOf("-force") !== -1, c = n === !0 ? p.replace("-force", "") : p, z = c !== void 0 ? c : "start";
|
|
178
|
+
let i = Math.max(0, r - F.value[z]), E = i + F.value.total;
|
|
179
|
+
E > t.value && (E = t.value, i = Math.max(0, E - F.value.total)), y = l.scrollStart;
|
|
180
|
+
const P = i !== m.value.from || E !== m.value.to;
|
|
181
|
+
if (P === !1 && c === void 0) {
|
|
182
|
+
te(r);
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
const { activeElement: re } = document, H = W.value;
|
|
186
|
+
P === !0 && H !== null && H !== re && H.contains(re) === !0 && (H.addEventListener("focusout", le), setTimeout(() => {
|
|
187
|
+
H?.removeEventListener("focusout", le);
|
|
188
|
+
})), be(H, r - i);
|
|
189
|
+
const de = c !== void 0 ? f.slice(i, r).reduce(B, 0) : 0;
|
|
190
|
+
if (P === !0) {
|
|
191
|
+
const $ = E >= m.value.from && i <= m.value.to ? m.value.to : E;
|
|
192
|
+
m.value = { from: i, to: $ }, q.value = _(w, f, 0, i), R.value = _(w, f, E, t.value), requestAnimationFrame(() => {
|
|
193
|
+
m.value.to !== E && y === l.scrollStart && (m.value = { from: m.value.from, to: E }, R.value = _(w, f, E, t.value));
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
requestAnimationFrame(() => {
|
|
197
|
+
if (y !== l.scrollStart) return;
|
|
198
|
+
P === !0 && Y(i);
|
|
199
|
+
const $ = f.slice(i, r).reduce(B, 0), j = $ + l.offsetStart + q.value, ie = j + f[r];
|
|
200
|
+
let J = j + d;
|
|
201
|
+
if (c !== void 0) {
|
|
202
|
+
const Se = $ - de, K = l.scrollStart + Se;
|
|
203
|
+
J = n !== !0 && K < j && ie < K + l.scrollViewSize ? K : c === "end" ? ie - l.scrollViewSize : j - (c === "start" ? 0 : Math.round((l.scrollViewSize - f[r]) / 2));
|
|
204
|
+
}
|
|
205
|
+
y = J, ne(
|
|
206
|
+
e,
|
|
207
|
+
J,
|
|
208
|
+
a.virtualScrollHorizontal,
|
|
209
|
+
h.lang.rtl
|
|
210
|
+
), te(r);
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
function Y(e) {
|
|
214
|
+
const l = W.value;
|
|
215
|
+
if (l) {
|
|
216
|
+
const r = ae.call(
|
|
217
|
+
l.children,
|
|
218
|
+
(i) => i.classList && i.classList.contains("q-virtual-scroll--skip") === !1
|
|
219
|
+
), d = r.length, p = a.virtualScrollHorizontal === !0 ? (i) => i.getBoundingClientRect().width : (i) => i.offsetHeight;
|
|
220
|
+
let n = e, c, z;
|
|
221
|
+
for (let i = 0; i < d; ) {
|
|
222
|
+
for (c = p(r[i]), i++; i < d && r[i].classList.contains("q-virtual-scroll--with-prev") === !0; )
|
|
223
|
+
c += p(r[i]), i++;
|
|
224
|
+
z = c - f[n], z !== 0 && (f[n] += z, w[Math.floor(n / M)] += z), n++;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function le() {
|
|
229
|
+
W.value?.focus();
|
|
230
|
+
}
|
|
231
|
+
function U(e, l) {
|
|
232
|
+
const r = 1 * u.value;
|
|
233
|
+
(l === !0 || Array.isArray(f) === !1) && (f = []);
|
|
234
|
+
const d = f.length;
|
|
235
|
+
f.length = t.value;
|
|
236
|
+
for (let n = t.value - 1; n >= d; n--)
|
|
237
|
+
f[n] = r;
|
|
238
|
+
const p = Math.floor((t.value - 1) / M);
|
|
239
|
+
w = [];
|
|
240
|
+
for (let n = 0; n <= p; n++) {
|
|
241
|
+
let c = 0;
|
|
242
|
+
const z = Math.min((n + 1) * M, t.value);
|
|
243
|
+
for (let i = n * M; i < z; i++)
|
|
244
|
+
c += f[i];
|
|
245
|
+
w.push(c);
|
|
246
|
+
}
|
|
247
|
+
o = -1, y = void 0, q.value = _(w, f, 0, m.value.from), R.value = _(w, f, m.value.to, t.value), e >= 0 ? (Y(m.value.from), me(() => {
|
|
248
|
+
N(e);
|
|
249
|
+
})) : G();
|
|
250
|
+
}
|
|
251
|
+
function k(e) {
|
|
252
|
+
if (e === void 0 && typeof window < "u") {
|
|
253
|
+
const c = s();
|
|
254
|
+
c != null && c.nodeType !== 8 && (e = Q(
|
|
255
|
+
c,
|
|
256
|
+
S(),
|
|
257
|
+
O.value,
|
|
258
|
+
T.value,
|
|
259
|
+
a.virtualScrollHorizontal,
|
|
260
|
+
h.lang.rtl,
|
|
261
|
+
a.virtualScrollStickySizeStart,
|
|
262
|
+
a.virtualScrollStickySizeEnd
|
|
263
|
+
).scrollViewSize);
|
|
264
|
+
}
|
|
265
|
+
v = e;
|
|
266
|
+
const l = parseFloat(a.virtualScrollSliceRatioBefore) || 0, r = parseFloat(a.virtualScrollSliceRatioAfter) || 0, d = 1 + l + r, p = e === void 0 || e <= 0 ? 1 : Math.ceil(e / u.value), n = Math.max(
|
|
267
|
+
1,
|
|
268
|
+
p,
|
|
269
|
+
Math.ceil((a.virtualScrollSliceSize > 0 ? a.virtualScrollSliceSize : 10) / d)
|
|
270
|
+
);
|
|
271
|
+
F.value = {
|
|
272
|
+
total: Math.ceil(n * d),
|
|
273
|
+
start: Math.ceil(n * l),
|
|
274
|
+
center: Math.ceil(n * (0.5 + l)),
|
|
275
|
+
end: Math.ceil(n * (1 + l)),
|
|
276
|
+
view: p
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
function fe(e, l) {
|
|
280
|
+
const r = a.virtualScrollHorizontal === !0 ? "width" : "height", d = {
|
|
281
|
+
["--q-virtual-scroll-item-" + r]: u.value + "px"
|
|
282
|
+
};
|
|
283
|
+
return [
|
|
284
|
+
e === "tbody" ? A(e, {
|
|
285
|
+
class: "q-virtual-scroll__padding",
|
|
286
|
+
key: "before",
|
|
287
|
+
ref: O
|
|
288
|
+
}, [
|
|
289
|
+
A("tr", [
|
|
290
|
+
A("td", {
|
|
291
|
+
style: { [r]: `${q.value}px`, ...d },
|
|
292
|
+
colspan: D.value
|
|
293
|
+
})
|
|
294
|
+
])
|
|
295
|
+
]) : A(e, {
|
|
296
|
+
class: "q-virtual-scroll__padding",
|
|
297
|
+
key: "before",
|
|
298
|
+
ref: O,
|
|
299
|
+
style: { [r]: `${q.value}px`, ...d }
|
|
300
|
+
}),
|
|
301
|
+
A(e, {
|
|
302
|
+
class: "q-virtual-scroll__content",
|
|
303
|
+
key: "content",
|
|
304
|
+
ref: W,
|
|
305
|
+
tabindex: -1
|
|
306
|
+
}, l.flat()),
|
|
307
|
+
e === "tbody" ? A(e, {
|
|
308
|
+
class: "q-virtual-scroll__padding",
|
|
309
|
+
key: "after",
|
|
310
|
+
ref: T
|
|
311
|
+
}, [
|
|
312
|
+
A("tr", [
|
|
313
|
+
A("td", {
|
|
314
|
+
style: { [r]: `${R.value}px`, ...d },
|
|
315
|
+
colspan: D.value
|
|
316
|
+
})
|
|
317
|
+
])
|
|
318
|
+
]) : A(e, {
|
|
319
|
+
class: "q-virtual-scroll__padding",
|
|
320
|
+
key: "after",
|
|
321
|
+
ref: T,
|
|
322
|
+
style: { [r]: `${R.value}px`, ...d }
|
|
323
|
+
})
|
|
324
|
+
];
|
|
325
|
+
}
|
|
326
|
+
function te(e) {
|
|
327
|
+
o !== e && (a.onVirtualScroll !== void 0 && V("virtualScroll", {
|
|
328
|
+
index: e,
|
|
329
|
+
from: m.value.from,
|
|
330
|
+
to: m.value.to - 1,
|
|
331
|
+
direction: e < o ? "decrease" : "increase",
|
|
332
|
+
ref: b
|
|
333
|
+
}), o = e);
|
|
334
|
+
}
|
|
335
|
+
k();
|
|
336
|
+
const G = ge(
|
|
337
|
+
ue,
|
|
338
|
+
h.platform.is.ios === !0 ? 120 : 35
|
|
339
|
+
);
|
|
340
|
+
we(() => {
|
|
341
|
+
k();
|
|
342
|
+
});
|
|
343
|
+
let oe = !1;
|
|
344
|
+
return pe(() => {
|
|
345
|
+
oe = !0;
|
|
346
|
+
}), he(() => {
|
|
347
|
+
if (oe !== !0) return;
|
|
348
|
+
const e = s();
|
|
349
|
+
y !== void 0 && e !== void 0 && e !== null && e.nodeType !== 8 ? ne(
|
|
350
|
+
e,
|
|
351
|
+
y,
|
|
352
|
+
a.virtualScrollHorizontal,
|
|
353
|
+
h.lang.rtl
|
|
354
|
+
) : N(o);
|
|
355
|
+
}), ze(() => {
|
|
356
|
+
G.cancel();
|
|
357
|
+
}), Object.assign(b, { scrollTo: N, reset: X, refresh: ee }), {
|
|
358
|
+
virtualScrollSliceRange: m,
|
|
359
|
+
virtualScrollSliceSizeComputed: F,
|
|
360
|
+
setVirtualScrollSize: k,
|
|
361
|
+
onVirtualScrollEvt: G,
|
|
362
|
+
localResetVirtualScroll: U,
|
|
363
|
+
padVirtualScroll: fe,
|
|
364
|
+
scrollTo: N,
|
|
365
|
+
reset: X,
|
|
366
|
+
refresh: ee
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
export {
|
|
370
|
+
ke as useVirtualScroll,
|
|
371
|
+
Re as useVirtualScrollProps
|
|
372
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { computed as r } from "vue";
|
|
2
|
+
const t = {
|
|
3
|
+
left: "start",
|
|
4
|
+
center: "center",
|
|
5
|
+
right: "end",
|
|
6
|
+
between: "between",
|
|
7
|
+
around: "around",
|
|
8
|
+
evenly: "evenly",
|
|
9
|
+
stretch: "stretch"
|
|
10
|
+
}, i = Object.keys(t), a = {
|
|
11
|
+
align: {
|
|
12
|
+
type: String,
|
|
13
|
+
validator: (e) => i.includes(e)
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
function c(e) {
|
|
17
|
+
return r(() => {
|
|
18
|
+
const n = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
|
|
19
|
+
return `${e.vertical === !0 ? "items" : "justify"}-${t[n]}`;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
t as alignMap,
|
|
24
|
+
i as alignValues,
|
|
25
|
+
c as default,
|
|
26
|
+
a as useAlignProps
|
|
27
|
+
};
|