web-core-tcm 0.0.59 → 0.0.62
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.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.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- 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 -1
- 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 +3 -3
- 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.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -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/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 -1
- 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 -1
- 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.js +2 -38
- 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 +5 -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/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -0,0 +1,762 @@
|
|
|
1
|
+
import { getCurrentInstance as bt, ref as V, computed as i, watch as Z, nextTick as T, onBeforeUpdate as Vt, onUpdated as It, onBeforeUnmount as wt, h as m } from "vue";
|
|
2
|
+
import kt from "../field/QField.js";
|
|
3
|
+
import xt from "../icon/QIcon.js";
|
|
4
|
+
import pt from "../chip/QChip.js";
|
|
5
|
+
import At from "../item/QItem.js";
|
|
6
|
+
import Ft from "../item/QItemSection.js";
|
|
7
|
+
import Dt from "../item/QItemLabel.js";
|
|
8
|
+
import Ot from "../menu/QMenu.js";
|
|
9
|
+
import Lt from "../dialog/QDialog.js";
|
|
10
|
+
import Tt, { useFieldEmits as qt, useFieldProps as Qe, useFieldState as Bt, fieldValueIsFilled as $e } from "../../composables/private.use-field/use-field.js";
|
|
11
|
+
import { useVirtualScrollProps as Ne, useVirtualScroll as _t } from "../virtual-scroll/use-virtual-scroll.js";
|
|
12
|
+
import { useFormProps as Ht, useFormInputNameAttr as Pt } from "../../composables/use-form/private.use-form.js";
|
|
13
|
+
import Mt from "../../composables/private.use-key-composition/use-key-composition.js";
|
|
14
|
+
import { createComponent as Rt } from "../../utils/private.create/create.js";
|
|
15
|
+
import { isDeepEqual as j } from "../../utils/is/is.js";
|
|
16
|
+
import { prevent as se, stopAndPrevent as E, stop as $ } from "../../utils/event/event.js";
|
|
17
|
+
import { normalizeToInterval as Ue } from "../../utils/format/format.js";
|
|
18
|
+
import { shouldIgnoreKey as Kt, isKeyCode as Et } from "../../utils/private.keyboard/key-composition.js";
|
|
19
|
+
import { hMergeSlot as $t } from "../../utils/private.render/render.js";
|
|
20
|
+
const ze = (t) => ["add", "add-unique", "toggle"].includes(t), Nt = ".*+?^${}()|[]\\", Ut = Object.keys(Qe);
|
|
21
|
+
function ce(t, g) {
|
|
22
|
+
if (typeof t == "function") return t;
|
|
23
|
+
const o = t !== void 0 ? t : g;
|
|
24
|
+
return (I) => I !== null && typeof I == "object" && o in I ? I[o] : I;
|
|
25
|
+
}
|
|
26
|
+
const su = Rt({
|
|
27
|
+
name: "QSelect",
|
|
28
|
+
inheritAttrs: !1,
|
|
29
|
+
props: {
|
|
30
|
+
...Ne,
|
|
31
|
+
...Ht,
|
|
32
|
+
...Qe,
|
|
33
|
+
// override of useFieldProps > modelValue
|
|
34
|
+
modelValue: {
|
|
35
|
+
required: !0
|
|
36
|
+
},
|
|
37
|
+
multiple: Boolean,
|
|
38
|
+
displayValue: [String, Number],
|
|
39
|
+
displayValueHtml: Boolean,
|
|
40
|
+
dropdownIcon: String,
|
|
41
|
+
options: {
|
|
42
|
+
type: Array,
|
|
43
|
+
default: () => []
|
|
44
|
+
},
|
|
45
|
+
optionValue: [Function, String],
|
|
46
|
+
optionLabel: [Function, String],
|
|
47
|
+
optionDisable: [Function, String],
|
|
48
|
+
hideSelected: Boolean,
|
|
49
|
+
hideDropdownIcon: Boolean,
|
|
50
|
+
fillInput: Boolean,
|
|
51
|
+
maxValues: [Number, String],
|
|
52
|
+
optionsDense: Boolean,
|
|
53
|
+
optionsDark: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: null
|
|
56
|
+
},
|
|
57
|
+
optionsSelectedClass: String,
|
|
58
|
+
optionsHtml: Boolean,
|
|
59
|
+
optionsCover: Boolean,
|
|
60
|
+
menuShrink: Boolean,
|
|
61
|
+
menuAnchor: String,
|
|
62
|
+
menuSelf: String,
|
|
63
|
+
menuOffset: Array,
|
|
64
|
+
popupContentClass: String,
|
|
65
|
+
popupContentStyle: [String, Array, Object],
|
|
66
|
+
popupNoRouteDismiss: Boolean,
|
|
67
|
+
useInput: Boolean,
|
|
68
|
+
useChips: Boolean,
|
|
69
|
+
newValueMode: {
|
|
70
|
+
type: String,
|
|
71
|
+
validator: ze
|
|
72
|
+
},
|
|
73
|
+
mapOptions: Boolean,
|
|
74
|
+
emitValue: Boolean,
|
|
75
|
+
disableTabSelection: Boolean,
|
|
76
|
+
inputDebounce: {
|
|
77
|
+
type: [Number, String],
|
|
78
|
+
default: 500
|
|
79
|
+
},
|
|
80
|
+
inputClass: [Array, String, Object],
|
|
81
|
+
inputStyle: [Array, String, Object],
|
|
82
|
+
tabindex: {
|
|
83
|
+
type: [String, Number],
|
|
84
|
+
default: 0
|
|
85
|
+
},
|
|
86
|
+
autocomplete: String,
|
|
87
|
+
transitionShow: {},
|
|
88
|
+
transitionHide: {},
|
|
89
|
+
transitionDuration: {},
|
|
90
|
+
behavior: {
|
|
91
|
+
type: String,
|
|
92
|
+
validator: (t) => ["default", "menu", "dialog"].includes(t),
|
|
93
|
+
default: "default"
|
|
94
|
+
},
|
|
95
|
+
// override of useVirtualScrollProps > virtualScrollItemSize (no default)
|
|
96
|
+
virtualScrollItemSize: Ne.virtualScrollItemSize.type,
|
|
97
|
+
onNewValue: Function,
|
|
98
|
+
onFilter: Function
|
|
99
|
+
},
|
|
100
|
+
emits: [
|
|
101
|
+
...qt,
|
|
102
|
+
"add",
|
|
103
|
+
"remove",
|
|
104
|
+
"inputValue",
|
|
105
|
+
"keyup",
|
|
106
|
+
"keypress",
|
|
107
|
+
"keydown",
|
|
108
|
+
"popupShow",
|
|
109
|
+
"popupHide",
|
|
110
|
+
"filterAbort"
|
|
111
|
+
],
|
|
112
|
+
setup(t, { slots: g, emit: o }) {
|
|
113
|
+
const { proxy: I } = bt(), { $q: N } = I, d = V(!1), A = V(!1), v = V(-1), h = V(""), U = V(!1), q = V(!1);
|
|
114
|
+
let w = null, k = null, ee, b, X, x = null, te, ve, F, fe;
|
|
115
|
+
const je = V(null), S = V(null), B = V(null), ue = V(null), me = V(null), ge = Pt(t), he = Mt(Pe), D = i(() => Array.isArray(t.options) ? t.options.length : 0), Xe = i(() => t.virtualScrollItemSize === void 0 ? t.optionsDense === !0 ? 24 : 48 : t.virtualScrollItemSize), {
|
|
116
|
+
virtualScrollSliceRange: Ge,
|
|
117
|
+
virtualScrollSliceSizeComputed: ye,
|
|
118
|
+
localResetVirtualScroll: le,
|
|
119
|
+
padVirtualScroll: Je,
|
|
120
|
+
onVirtualScrollEvt: Se,
|
|
121
|
+
scrollTo: Ce,
|
|
122
|
+
setVirtualScrollSize: be
|
|
123
|
+
} = _t({
|
|
124
|
+
virtualScrollLength: D,
|
|
125
|
+
getVirtualScrollTarget: it,
|
|
126
|
+
getVirtualScrollEl: _e,
|
|
127
|
+
virtualScrollItemSizeComputed: Xe
|
|
128
|
+
}), n = Bt(), f = i(() => {
|
|
129
|
+
const e = t.mapOptions === !0 && t.multiple !== !0, u = t.modelValue !== void 0 && (t.modelValue !== null || e === !0) ? t.multiple === !0 && Array.isArray(t.modelValue) ? t.modelValue : [t.modelValue] : [];
|
|
130
|
+
if (t.mapOptions === !0 && Array.isArray(t.options) === !0) {
|
|
131
|
+
const l = t.mapOptions === !0 && ee !== void 0 ? ee : [], a = u.map((s) => ot(s, l));
|
|
132
|
+
return t.modelValue === null && e === !0 ? a.filter((s) => s !== null) : a;
|
|
133
|
+
}
|
|
134
|
+
return u;
|
|
135
|
+
}), We = i(() => {
|
|
136
|
+
const e = {};
|
|
137
|
+
return Ut.forEach((u) => {
|
|
138
|
+
const l = t[u];
|
|
139
|
+
l !== void 0 && (e[u] = l);
|
|
140
|
+
}), e;
|
|
141
|
+
}), G = i(() => t.optionsDark === null ? n.isDark.value : t.optionsDark), ne = i(() => $e(f.value)), Ye = i(() => {
|
|
142
|
+
let e = "q-field__input q-placeholder col";
|
|
143
|
+
return t.hideSelected === !0 || f.value.length === 0 ? [e, t.inputClass] : (e += " q-field__input--padding", t.inputClass === void 0 ? e : [e, t.inputClass]);
|
|
144
|
+
}), Ve = i(
|
|
145
|
+
() => (t.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (t.popupContentClass ? " " + t.popupContentClass : "")
|
|
146
|
+
), z = i(() => D.value === 0), Ie = i(
|
|
147
|
+
() => f.value.map((e) => C.value(e)).join(", ")
|
|
148
|
+
), we = i(() => t.displayValue !== void 0 ? t.displayValue : Ie.value), ae = i(() => t.optionsHtml === !0 ? () => !0 : (e) => e?.html === !0), Ze = i(() => t.displayValueHtml === !0 || t.displayValue === void 0 && (t.optionsHtml === !0 || f.value.some(ae.value))), ke = i(() => n.focused.value === !0 ? t.tabindex : -1), xe = i(() => {
|
|
149
|
+
const e = {
|
|
150
|
+
tabindex: t.tabindex,
|
|
151
|
+
role: "combobox",
|
|
152
|
+
"aria-label": t.label,
|
|
153
|
+
"aria-readonly": t.readonly === !0 ? "true" : "false",
|
|
154
|
+
"aria-autocomplete": t.useInput === !0 ? "list" : "none",
|
|
155
|
+
"aria-expanded": d.value === !0 ? "true" : "false",
|
|
156
|
+
"aria-controls": `${n.targetUid.value}_lb`
|
|
157
|
+
};
|
|
158
|
+
return v.value >= 0 && (e["aria-activedescendant"] = `${n.targetUid.value}_${v.value}`), e;
|
|
159
|
+
}), pe = i(() => ({
|
|
160
|
+
id: `${n.targetUid.value}_lb`,
|
|
161
|
+
role: "listbox",
|
|
162
|
+
"aria-multiselectable": t.multiple === !0 ? "true" : "false"
|
|
163
|
+
})), Ae = i(() => f.value.map((e, u) => ({
|
|
164
|
+
index: u,
|
|
165
|
+
opt: e,
|
|
166
|
+
html: ae.value(e),
|
|
167
|
+
selected: !0,
|
|
168
|
+
removeAtIndex: at,
|
|
169
|
+
toggleOption: O,
|
|
170
|
+
tabindex: ke.value
|
|
171
|
+
}))), et = i(() => {
|
|
172
|
+
if (D.value === 0)
|
|
173
|
+
return [];
|
|
174
|
+
const { from: e, to: u } = Ge.value;
|
|
175
|
+
return t.options.slice(e, u).map((l, a) => {
|
|
176
|
+
const s = _.value(l) === !0, r = ie(l) === !0, y = e + a, c = {
|
|
177
|
+
clickable: !0,
|
|
178
|
+
active: r,
|
|
179
|
+
activeClass: lt.value,
|
|
180
|
+
manualFocus: !0,
|
|
181
|
+
focused: !1,
|
|
182
|
+
disable: s,
|
|
183
|
+
tabindex: -1,
|
|
184
|
+
dense: t.optionsDense,
|
|
185
|
+
dark: G.value,
|
|
186
|
+
role: "option",
|
|
187
|
+
"aria-selected": r === !0 ? "true" : "false",
|
|
188
|
+
id: `${n.targetUid.value}_${y}`,
|
|
189
|
+
onClick: () => {
|
|
190
|
+
O(l);
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
return s !== !0 && (v.value === y && (c.focused = !0), N.platform.is.desktop === !0 && (c.onMousemove = () => {
|
|
194
|
+
d.value === !0 && H(y);
|
|
195
|
+
})), {
|
|
196
|
+
index: y,
|
|
197
|
+
opt: l,
|
|
198
|
+
html: ae.value(l),
|
|
199
|
+
label: C.value(l),
|
|
200
|
+
selected: c.active,
|
|
201
|
+
focused: c.focused,
|
|
202
|
+
toggleOption: O,
|
|
203
|
+
setOptionIndex: H,
|
|
204
|
+
itemProps: c
|
|
205
|
+
};
|
|
206
|
+
});
|
|
207
|
+
}), tt = i(() => t.dropdownIcon !== void 0 ? t.dropdownIcon : N.iconSet.arrow.dropdown), ut = i(
|
|
208
|
+
() => t.optionsCover === !1 && t.outlined !== !0 && t.standout !== !0 && t.borderless !== !0 && t.rounded !== !0
|
|
209
|
+
), lt = i(() => t.optionsSelectedClass !== void 0 ? t.optionsSelectedClass : t.color !== void 0 ? `text-${t.color}` : ""), p = i(() => ce(t.optionValue, "value")), C = i(() => ce(t.optionLabel, "label")), _ = i(() => ce(t.optionDisable, "disable")), J = i(() => f.value.map(p.value)), nt = i(() => {
|
|
210
|
+
const e = {
|
|
211
|
+
onInput: Pe,
|
|
212
|
+
// Safari < 10.2 & UIWebView doesn't fire compositionend when
|
|
213
|
+
// switching focus before confirming composition choice
|
|
214
|
+
// this also fixes the issue where some browsers e.g. iOS Chrome
|
|
215
|
+
// fires "change" instead of "input" on autocomplete.
|
|
216
|
+
onChange: he,
|
|
217
|
+
onKeydown: Be,
|
|
218
|
+
onKeyup: Te,
|
|
219
|
+
onKeypress: qe,
|
|
220
|
+
onFocus: Oe,
|
|
221
|
+
onClick(u) {
|
|
222
|
+
b === !0 && $(u);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
return e.onCompositionstart = e.onCompositionupdate = e.onCompositionend = he, e;
|
|
226
|
+
});
|
|
227
|
+
Z(f, (e) => {
|
|
228
|
+
ee = e, t.useInput === !0 && t.fillInput === !0 && t.multiple !== !0 && n.innerLoading.value !== !0 && (A.value !== !0 && d.value !== !0 || ne.value !== !0) && (X !== !0 && K(), (A.value === !0 || d.value === !0) && P(""));
|
|
229
|
+
}, { immediate: !0 }), Z(() => t.fillInput, K), Z(d, re), Z(D, Ct);
|
|
230
|
+
function Fe(e) {
|
|
231
|
+
return t.emitValue === !0 ? p.value(e) : e;
|
|
232
|
+
}
|
|
233
|
+
function oe(e) {
|
|
234
|
+
if (e !== -1 && e < f.value.length)
|
|
235
|
+
if (t.multiple === !0) {
|
|
236
|
+
const u = t.modelValue.slice();
|
|
237
|
+
o("remove", { index: e, value: u.splice(e, 1)[0] }), o("update:modelValue", u);
|
|
238
|
+
} else
|
|
239
|
+
o("update:modelValue", null);
|
|
240
|
+
}
|
|
241
|
+
function at(e) {
|
|
242
|
+
oe(e), n.focus();
|
|
243
|
+
}
|
|
244
|
+
function De(e, u) {
|
|
245
|
+
const l = Fe(e);
|
|
246
|
+
if (t.multiple !== !0) {
|
|
247
|
+
t.fillInput === !0 && Q(
|
|
248
|
+
C.value(e),
|
|
249
|
+
!0,
|
|
250
|
+
!0
|
|
251
|
+
), o("update:modelValue", l);
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
if (f.value.length === 0) {
|
|
255
|
+
o("add", { index: 0, value: l }), o("update:modelValue", t.multiple === !0 ? [l] : l);
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
if (u === !0 && ie(e) === !0 || t.maxValues !== void 0 && t.modelValue.length >= t.maxValues) return;
|
|
259
|
+
const a = t.modelValue.slice();
|
|
260
|
+
o("add", { index: a.length, value: l }), a.push(l), o("update:modelValue", a);
|
|
261
|
+
}
|
|
262
|
+
function O(e, u) {
|
|
263
|
+
if (n.editable.value !== !0 || e === void 0 || _.value(e) === !0) return;
|
|
264
|
+
const l = p.value(e);
|
|
265
|
+
if (t.multiple !== !0) {
|
|
266
|
+
u !== !0 && (Q(
|
|
267
|
+
t.fillInput === !0 ? C.value(e) : "",
|
|
268
|
+
!0,
|
|
269
|
+
!0
|
|
270
|
+
), L()), S.value?.focus(), (f.value.length === 0 || j(p.value(f.value[0]), l) !== !0) && o("update:modelValue", t.emitValue === !0 ? l : e);
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
if ((b !== !0 || U.value === !0) && n.focus(), Oe(), f.value.length === 0) {
|
|
274
|
+
const r = t.emitValue === !0 ? l : e;
|
|
275
|
+
o("add", { index: 0, value: r }), o("update:modelValue", t.multiple === !0 ? [r] : r);
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
const a = t.modelValue.slice(), s = J.value.findIndex((r) => j(r, l));
|
|
279
|
+
if (s !== -1)
|
|
280
|
+
o("remove", { index: s, value: a.splice(s, 1)[0] });
|
|
281
|
+
else {
|
|
282
|
+
if (t.maxValues !== void 0 && a.length >= t.maxValues) return;
|
|
283
|
+
const r = t.emitValue === !0 ? l : e;
|
|
284
|
+
o("add", { index: a.length, value: r }), a.push(r);
|
|
285
|
+
}
|
|
286
|
+
o("update:modelValue", a);
|
|
287
|
+
}
|
|
288
|
+
function H(e) {
|
|
289
|
+
if (N.platform.is.desktop !== !0) return;
|
|
290
|
+
const u = e !== -1 && e < D.value ? e : -1;
|
|
291
|
+
v.value !== u && (v.value = u);
|
|
292
|
+
}
|
|
293
|
+
function W(e = 1, u) {
|
|
294
|
+
if (d.value === !0) {
|
|
295
|
+
let l = v.value;
|
|
296
|
+
do
|
|
297
|
+
l = Ue(
|
|
298
|
+
l + e,
|
|
299
|
+
-1,
|
|
300
|
+
D.value - 1
|
|
301
|
+
);
|
|
302
|
+
while (l !== -1 && l !== v.value && _.value(t.options[l]) === !0);
|
|
303
|
+
v.value !== l && (H(l), Ce(l), u !== !0 && t.useInput === !0 && t.fillInput === !0 && Y(
|
|
304
|
+
l >= 0 ? C.value(t.options[l]) : te,
|
|
305
|
+
!0
|
|
306
|
+
));
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
function ot(e, u) {
|
|
310
|
+
const l = (a) => j(p.value(a), e);
|
|
311
|
+
return t.options.find(l) || u.find(l) || e;
|
|
312
|
+
}
|
|
313
|
+
function ie(e) {
|
|
314
|
+
const u = p.value(e);
|
|
315
|
+
return J.value.find((l) => j(l, u)) !== void 0;
|
|
316
|
+
}
|
|
317
|
+
function Oe(e) {
|
|
318
|
+
t.useInput === !0 && S.value !== null && (e === void 0 || S.value === e.target && e.target.value === Ie.value) && S.value.select();
|
|
319
|
+
}
|
|
320
|
+
function Le(e) {
|
|
321
|
+
Et(e, 27) === !0 && d.value === !0 && ($(e), L(), K()), o("keyup", e);
|
|
322
|
+
}
|
|
323
|
+
function Te(e) {
|
|
324
|
+
const { value: u } = e.target;
|
|
325
|
+
if (e.keyCode !== void 0) {
|
|
326
|
+
Le(e);
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
if (e.target.value = "", w !== null && (clearTimeout(w), w = null), k !== null && (clearTimeout(k), k = null), K(), typeof u == "string" && u.length !== 0) {
|
|
330
|
+
const l = u.toLocaleLowerCase(), a = (r) => {
|
|
331
|
+
const y = t.options.find((c) => String(r.value(c)).toLocaleLowerCase() === l);
|
|
332
|
+
return y === void 0 ? !1 : (f.value.indexOf(y) === -1 ? O(y) : L(), !0);
|
|
333
|
+
}, s = (r) => {
|
|
334
|
+
a(p) !== !0 && r !== !0 && a(C) !== !0 && P(u, !0, () => s(!0));
|
|
335
|
+
};
|
|
336
|
+
s();
|
|
337
|
+
} else
|
|
338
|
+
n.clearValue(e);
|
|
339
|
+
}
|
|
340
|
+
function qe(e) {
|
|
341
|
+
o("keypress", e);
|
|
342
|
+
}
|
|
343
|
+
function Be(e) {
|
|
344
|
+
if (o("keydown", e), Kt(e) === !0) return;
|
|
345
|
+
const u = h.value.length !== 0 && (t.newValueMode !== void 0 || t.onNewValue !== void 0), l = e.shiftKey !== !0 && t.disableTabSelection !== !0 && t.multiple !== !0 && (v.value !== -1 || u === !0);
|
|
346
|
+
if (e.keyCode === 27) {
|
|
347
|
+
se(e);
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
if (e.keyCode === 9 && l === !1) {
|
|
351
|
+
M();
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
if (e.target === void 0 || e.target.id !== n.targetUid.value || n.editable.value !== !0) return;
|
|
355
|
+
if (e.keyCode === 40 && n.innerLoading.value !== !0 && d.value === !1) {
|
|
356
|
+
E(e), R();
|
|
357
|
+
return;
|
|
358
|
+
}
|
|
359
|
+
if (e.keyCode === 8 && (t.useChips === !0 || t.clearable === !0) && t.hideSelected !== !0 && h.value.length === 0) {
|
|
360
|
+
t.multiple === !0 && Array.isArray(t.modelValue) === !0 ? oe(t.modelValue.length - 1) : t.multiple !== !0 && t.modelValue !== null && o("update:modelValue", null);
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
(e.keyCode === 35 || e.keyCode === 36) && (typeof h.value != "string" || h.value.length === 0) && (E(e), v.value = -1, W(e.keyCode === 36 ? 1 : -1, t.multiple)), (e.keyCode === 33 || e.keyCode === 34) && ye.value !== void 0 && (E(e), v.value = Math.max(
|
|
364
|
+
-1,
|
|
365
|
+
Math.min(
|
|
366
|
+
D.value,
|
|
367
|
+
v.value + (e.keyCode === 33 ? -1 : 1) * ye.value.view
|
|
368
|
+
)
|
|
369
|
+
), W(e.keyCode === 33 ? 1 : -1, t.multiple)), (e.keyCode === 38 || e.keyCode === 40) && (E(e), W(e.keyCode === 38 ? -1 : 1, t.multiple));
|
|
370
|
+
const a = D.value;
|
|
371
|
+
if ((F === void 0 || fe < Date.now()) && (F = ""), a > 0 && t.useInput !== !0 && e.key !== void 0 && e.key.length === 1 && e.altKey === !1 && e.ctrlKey === !1 && e.metaKey === !1 && (e.keyCode !== 32 || F.length !== 0)) {
|
|
372
|
+
d.value !== !0 && R(e);
|
|
373
|
+
const s = e.key.toLocaleLowerCase(), r = F.length === 1 && F[0] === s;
|
|
374
|
+
fe = Date.now() + 1500, r === !1 && (E(e), F += s);
|
|
375
|
+
const y = new RegExp("^" + F.split("").map((de) => Nt.indexOf(de) !== -1 ? "\\" + de : de).join(".*"), "i");
|
|
376
|
+
let c = v.value;
|
|
377
|
+
if (r === !0 || c < 0 || y.test(C.value(t.options[c])) !== !0)
|
|
378
|
+
do
|
|
379
|
+
c = Ue(c + 1, -1, a - 1);
|
|
380
|
+
while (c !== v.value && (_.value(t.options[c]) === !0 || y.test(C.value(t.options[c])) !== !0));
|
|
381
|
+
v.value !== c && T(() => {
|
|
382
|
+
H(c), Ce(c), c >= 0 && t.useInput === !0 && t.fillInput === !0 && Y(C.value(t.options[c]), !0);
|
|
383
|
+
});
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
if (!(e.keyCode !== 13 && (e.keyCode !== 32 || t.useInput === !0 || F !== "") && (e.keyCode !== 9 || l === !1))) {
|
|
387
|
+
if (e.keyCode !== 9 && E(e), v.value !== -1 && v.value < a) {
|
|
388
|
+
O(t.options[v.value]);
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
if (u === !0) {
|
|
392
|
+
const s = (r, y) => {
|
|
393
|
+
if (y) {
|
|
394
|
+
if (ze(y) !== !0) return;
|
|
395
|
+
} else
|
|
396
|
+
y = t.newValueMode;
|
|
397
|
+
if (Q("", t.multiple !== !0, !0), r == null) return;
|
|
398
|
+
(y === "toggle" ? O : De)(r, y === "add-unique"), t.multiple !== !0 && (S.value?.focus(), L());
|
|
399
|
+
};
|
|
400
|
+
if (t.onNewValue !== void 0 ? o("newValue", h.value, s) : s(h.value), t.multiple !== !0) return;
|
|
401
|
+
}
|
|
402
|
+
d.value === !0 ? M() : n.innerLoading.value !== !0 && R();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
function _e() {
|
|
406
|
+
return b === !0 ? me.value : B.value !== null && B.value.contentEl !== null ? B.value.contentEl : void 0;
|
|
407
|
+
}
|
|
408
|
+
function it() {
|
|
409
|
+
return _e();
|
|
410
|
+
}
|
|
411
|
+
function rt() {
|
|
412
|
+
return t.hideSelected === !0 ? [] : g["selected-item"] !== void 0 ? Ae.value.map((e) => g["selected-item"](e)).slice() : g.selected !== void 0 ? [].concat(g.selected()) : t.useChips === !0 ? Ae.value.map((e, u) => m(pt, {
|
|
413
|
+
key: "option-" + u,
|
|
414
|
+
removable: n.editable.value === !0 && _.value(e.opt) !== !0,
|
|
415
|
+
dense: !0,
|
|
416
|
+
textColor: t.color,
|
|
417
|
+
tabindex: ke.value,
|
|
418
|
+
onRemove() {
|
|
419
|
+
e.removeAtIndex(u);
|
|
420
|
+
}
|
|
421
|
+
}, () => m("span", {
|
|
422
|
+
class: "ellipsis",
|
|
423
|
+
[e.html === !0 ? "innerHTML" : "textContent"]: C.value(e.opt)
|
|
424
|
+
}))) : [
|
|
425
|
+
m("span", {
|
|
426
|
+
class: "ellipsis",
|
|
427
|
+
[Ze.value === !0 ? "innerHTML" : "textContent"]: we.value
|
|
428
|
+
})
|
|
429
|
+
];
|
|
430
|
+
}
|
|
431
|
+
function He() {
|
|
432
|
+
if (z.value === !0)
|
|
433
|
+
return g["no-option"] !== void 0 ? g["no-option"]({ inputValue: h.value }) : void 0;
|
|
434
|
+
const e = g.option !== void 0 ? g.option : (l) => m(At, {
|
|
435
|
+
key: l.index,
|
|
436
|
+
...l.itemProps
|
|
437
|
+
}, () => m(
|
|
438
|
+
Ft,
|
|
439
|
+
() => m(
|
|
440
|
+
Dt,
|
|
441
|
+
() => m("span", {
|
|
442
|
+
[l.html === !0 ? "innerHTML" : "textContent"]: l.label
|
|
443
|
+
})
|
|
444
|
+
)
|
|
445
|
+
));
|
|
446
|
+
let u = Je("div", et.value.map(e));
|
|
447
|
+
return g["before-options"] !== void 0 && (u = g["before-options"]().concat(u)), $t(g["after-options"], u);
|
|
448
|
+
}
|
|
449
|
+
function dt(e, u) {
|
|
450
|
+
const l = u === !0 ? { ...xe.value, ...n.splitAttrs.attributes.value } : void 0, a = {
|
|
451
|
+
ref: u === !0 ? S : void 0,
|
|
452
|
+
key: "i_t",
|
|
453
|
+
class: Ye.value,
|
|
454
|
+
style: t.inputStyle,
|
|
455
|
+
value: h.value !== void 0 ? h.value : "",
|
|
456
|
+
// required for Android in order to show ENTER key when in form
|
|
457
|
+
type: "search",
|
|
458
|
+
...l,
|
|
459
|
+
id: u === !0 ? n.targetUid.value : void 0,
|
|
460
|
+
maxlength: t.maxlength,
|
|
461
|
+
autocomplete: t.autocomplete,
|
|
462
|
+
"data-autofocus": e === !0 || t.autofocus === !0 || void 0,
|
|
463
|
+
disabled: t.disable === !0,
|
|
464
|
+
readonly: t.readonly === !0,
|
|
465
|
+
...nt.value
|
|
466
|
+
};
|
|
467
|
+
return e !== !0 && b === !0 && (Array.isArray(a.class) === !0 ? a.class = [...a.class, "no-pointer-events"] : a.class += " no-pointer-events"), m("input", a);
|
|
468
|
+
}
|
|
469
|
+
function Pe(e) {
|
|
470
|
+
w !== null && (clearTimeout(w), w = null), k !== null && (clearTimeout(k), k = null), !(e && e.target && e.target.qComposing === !0) && (Y(e.target.value || ""), X = !0, te = h.value, n.focused.value !== !0 && (b !== !0 || U.value === !0) && n.focus(), t.onFilter !== void 0 && (w = setTimeout(() => {
|
|
471
|
+
w = null, P(h.value);
|
|
472
|
+
}, t.inputDebounce)));
|
|
473
|
+
}
|
|
474
|
+
function Y(e, u) {
|
|
475
|
+
h.value !== e && (h.value = e, u === !0 || t.inputDebounce === 0 || t.inputDebounce === "0" ? o("inputValue", e) : k = setTimeout(() => {
|
|
476
|
+
k = null, o("inputValue", e);
|
|
477
|
+
}, t.inputDebounce));
|
|
478
|
+
}
|
|
479
|
+
function Q(e, u, l) {
|
|
480
|
+
X = l !== !0, t.useInput === !0 && (Y(e, !0), (u === !0 || l !== !0) && (te = e), u !== !0 && P(e));
|
|
481
|
+
}
|
|
482
|
+
function P(e, u, l) {
|
|
483
|
+
if (t.onFilter === void 0 || u !== !0 && n.focused.value !== !0) return;
|
|
484
|
+
n.innerLoading.value === !0 ? o("filterAbort") : (n.innerLoading.value = !0, q.value = !0), e !== "" && t.multiple !== !0 && f.value.length !== 0 && X !== !0 && e === C.value(f.value[0]) && (e = "");
|
|
485
|
+
const a = setTimeout(() => {
|
|
486
|
+
d.value === !0 && (d.value = !1);
|
|
487
|
+
}, 10);
|
|
488
|
+
x !== null && clearTimeout(x), x = a, o(
|
|
489
|
+
"filter",
|
|
490
|
+
e,
|
|
491
|
+
(s, r) => {
|
|
492
|
+
(u === !0 || n.focused.value === !0) && x === a && (clearTimeout(x), typeof s == "function" && s(), q.value = !1, T(() => {
|
|
493
|
+
n.innerLoading.value = !1, n.editable.value === !0 && (u === !0 ? d.value === !0 && L() : d.value === !0 ? re(!0) : d.value = !0), typeof r == "function" && T(() => {
|
|
494
|
+
r(I);
|
|
495
|
+
}), typeof l == "function" && T(() => {
|
|
496
|
+
l(I);
|
|
497
|
+
});
|
|
498
|
+
}));
|
|
499
|
+
},
|
|
500
|
+
() => {
|
|
501
|
+
n.focused.value === !0 && x === a && (clearTimeout(x), n.innerLoading.value = !1, q.value = !1), d.value === !0 && (d.value = !1);
|
|
502
|
+
}
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
function st() {
|
|
506
|
+
return m(Ot, {
|
|
507
|
+
ref: B,
|
|
508
|
+
class: Ve.value,
|
|
509
|
+
style: t.popupContentStyle,
|
|
510
|
+
modelValue: d.value,
|
|
511
|
+
fit: t.menuShrink !== !0,
|
|
512
|
+
cover: t.optionsCover === !0 && z.value !== !0 && t.useInput !== !0,
|
|
513
|
+
anchor: t.menuAnchor,
|
|
514
|
+
self: t.menuSelf,
|
|
515
|
+
offset: t.menuOffset,
|
|
516
|
+
dark: G.value,
|
|
517
|
+
noParentEvent: !0,
|
|
518
|
+
noRefocus: !0,
|
|
519
|
+
noFocus: !0,
|
|
520
|
+
noRouteDismiss: t.popupNoRouteDismiss,
|
|
521
|
+
square: ut.value,
|
|
522
|
+
transitionShow: t.transitionShow,
|
|
523
|
+
transitionHide: t.transitionHide,
|
|
524
|
+
transitionDuration: t.transitionDuration,
|
|
525
|
+
separateClosePopup: !0,
|
|
526
|
+
...pe.value,
|
|
527
|
+
onScrollPassive: Se,
|
|
528
|
+
onBeforeShow: Re,
|
|
529
|
+
onBeforeHide: ct,
|
|
530
|
+
onShow: vt
|
|
531
|
+
}, He);
|
|
532
|
+
}
|
|
533
|
+
function ct(e) {
|
|
534
|
+
Ke(e), M();
|
|
535
|
+
}
|
|
536
|
+
function vt() {
|
|
537
|
+
be();
|
|
538
|
+
}
|
|
539
|
+
function ft(e) {
|
|
540
|
+
$(e), S.value?.focus(), U.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
|
|
541
|
+
}
|
|
542
|
+
function mt(e) {
|
|
543
|
+
$(e), T(() => {
|
|
544
|
+
U.value = !1;
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
function gt() {
|
|
548
|
+
const e = [
|
|
549
|
+
m(kt, {
|
|
550
|
+
class: `col-auto ${n.fieldClass.value}`,
|
|
551
|
+
...We.value,
|
|
552
|
+
for: n.targetUid.value,
|
|
553
|
+
dark: G.value,
|
|
554
|
+
square: !0,
|
|
555
|
+
loading: q.value,
|
|
556
|
+
itemAligned: !1,
|
|
557
|
+
filled: !0,
|
|
558
|
+
stackLabel: h.value.length !== 0,
|
|
559
|
+
...n.splitAttrs.listeners.value,
|
|
560
|
+
onFocus: ft,
|
|
561
|
+
onBlur: mt
|
|
562
|
+
}, {
|
|
563
|
+
...g,
|
|
564
|
+
rawControl: () => n.getControl(!0),
|
|
565
|
+
before: void 0,
|
|
566
|
+
after: void 0
|
|
567
|
+
})
|
|
568
|
+
];
|
|
569
|
+
return d.value === !0 && e.push(
|
|
570
|
+
m("div", {
|
|
571
|
+
ref: me,
|
|
572
|
+
class: Ve.value + " scroll",
|
|
573
|
+
style: t.popupContentStyle,
|
|
574
|
+
...pe.value,
|
|
575
|
+
onClick: se,
|
|
576
|
+
onScrollPassive: Se
|
|
577
|
+
}, He())
|
|
578
|
+
), m(Lt, {
|
|
579
|
+
ref: ue,
|
|
580
|
+
modelValue: A.value,
|
|
581
|
+
position: t.useInput === !0 ? "top" : void 0,
|
|
582
|
+
transitionShow: ve,
|
|
583
|
+
transitionHide: t.transitionHide,
|
|
584
|
+
transitionDuration: t.transitionDuration,
|
|
585
|
+
noRouteDismiss: t.popupNoRouteDismiss,
|
|
586
|
+
onBeforeShow: Re,
|
|
587
|
+
onBeforeHide: ht,
|
|
588
|
+
onHide: yt,
|
|
589
|
+
onShow: St
|
|
590
|
+
}, () => m("div", {
|
|
591
|
+
class: "q-select__dialog" + (G.value === !0 ? " q-select__dialog--dark q-dark" : "") + (U.value === !0 ? " q-select__dialog--focused" : "")
|
|
592
|
+
}, e));
|
|
593
|
+
}
|
|
594
|
+
function ht(e) {
|
|
595
|
+
Ke(e), ue.value !== null && ue.value.__updateRefocusTarget(
|
|
596
|
+
n.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
|
|
597
|
+
), n.focused.value = !1;
|
|
598
|
+
}
|
|
599
|
+
function yt(e) {
|
|
600
|
+
L(), n.focused.value === !1 && o("blur", e), K();
|
|
601
|
+
}
|
|
602
|
+
function St() {
|
|
603
|
+
const e = document.activeElement;
|
|
604
|
+
(e === null || e.id !== n.targetUid.value) && S.value !== null && S.value !== e && S.value.focus(), be();
|
|
605
|
+
}
|
|
606
|
+
function M() {
|
|
607
|
+
A.value !== !0 && (v.value = -1, d.value === !0 && (d.value = !1), n.focused.value === !1 && (x !== null && (clearTimeout(x), x = null), n.innerLoading.value === !0 && (o("filterAbort"), n.innerLoading.value = !1, q.value = !1)));
|
|
608
|
+
}
|
|
609
|
+
function R(e) {
|
|
610
|
+
n.editable.value === !0 && (b === !0 ? (n.onControlFocusin(e), A.value = !0, T(() => {
|
|
611
|
+
n.focus();
|
|
612
|
+
})) : n.focus(), t.onFilter !== void 0 ? P(h.value) : (z.value !== !0 || g["no-option"] !== void 0) && (d.value = !0));
|
|
613
|
+
}
|
|
614
|
+
function L() {
|
|
615
|
+
A.value = !1, M();
|
|
616
|
+
}
|
|
617
|
+
function K() {
|
|
618
|
+
t.useInput === !0 && Q(
|
|
619
|
+
t.multiple !== !0 && t.fillInput === !0 && f.value.length !== 0 && C.value(f.value[0]) || "",
|
|
620
|
+
!0,
|
|
621
|
+
!0
|
|
622
|
+
);
|
|
623
|
+
}
|
|
624
|
+
function re(e) {
|
|
625
|
+
let u = -1;
|
|
626
|
+
if (e === !0) {
|
|
627
|
+
if (f.value.length !== 0) {
|
|
628
|
+
const l = p.value(f.value[0]);
|
|
629
|
+
u = t.options.findIndex((a) => j(p.value(a), l));
|
|
630
|
+
}
|
|
631
|
+
le(u);
|
|
632
|
+
}
|
|
633
|
+
H(u);
|
|
634
|
+
}
|
|
635
|
+
function Ct(e, u) {
|
|
636
|
+
d.value === !0 && n.innerLoading.value === !1 && (le(-1, !0), T(() => {
|
|
637
|
+
d.value === !0 && n.innerLoading.value === !1 && (e > u ? le() : re(!0));
|
|
638
|
+
}));
|
|
639
|
+
}
|
|
640
|
+
function Me() {
|
|
641
|
+
A.value === !1 && B.value !== null && B.value.updatePosition();
|
|
642
|
+
}
|
|
643
|
+
function Re(e) {
|
|
644
|
+
e !== void 0 && $(e), o("popupShow", e), n.hasPopupOpen = !0, n.onControlFocusin(e);
|
|
645
|
+
}
|
|
646
|
+
function Ke(e) {
|
|
647
|
+
e !== void 0 && $(e), o("popupHide", e), n.hasPopupOpen = !1, n.onControlFocusout(e);
|
|
648
|
+
}
|
|
649
|
+
function Ee() {
|
|
650
|
+
b = N.platform.is.mobile !== !0 && t.behavior !== "dialog" ? !1 : t.behavior !== "menu" && (t.useInput === !0 ? g["no-option"] !== void 0 || t.onFilter !== void 0 || z.value === !1 : !0), ve = N.platform.is.ios === !0 && b === !0 && t.useInput === !0 ? "fade" : t.transitionShow;
|
|
651
|
+
}
|
|
652
|
+
return Vt(Ee), It(Me), Ee(), wt(() => {
|
|
653
|
+
w !== null && clearTimeout(w), k !== null && clearTimeout(k);
|
|
654
|
+
}), Object.assign(I, {
|
|
655
|
+
showPopup: R,
|
|
656
|
+
hidePopup: L,
|
|
657
|
+
removeAtIndex: oe,
|
|
658
|
+
add: De,
|
|
659
|
+
toggleOption: O,
|
|
660
|
+
getOptionIndex: () => v.value,
|
|
661
|
+
setOptionIndex: H,
|
|
662
|
+
moveOptionSelection: W,
|
|
663
|
+
filter: P,
|
|
664
|
+
updateMenuPosition: Me,
|
|
665
|
+
updateInputValue: Q,
|
|
666
|
+
isOptionSelected: ie,
|
|
667
|
+
getEmittingOptionValue: Fe,
|
|
668
|
+
isOptionDisabled: (...e) => _.value.apply(null, e) === !0,
|
|
669
|
+
getOptionValue: (...e) => p.value.apply(null, e),
|
|
670
|
+
getOptionLabel: (...e) => C.value.apply(null, e)
|
|
671
|
+
}), Object.assign(n, {
|
|
672
|
+
innerValue: f,
|
|
673
|
+
fieldClass: i(
|
|
674
|
+
() => `q-select q-field--auto-height q-select--with${t.useInput !== !0 ? "out" : ""}-input q-select--with${t.useChips !== !0 ? "out" : ""}-chips q-select--${t.multiple === !0 ? "multiple" : "single"}`
|
|
675
|
+
),
|
|
676
|
+
inputRef: je,
|
|
677
|
+
targetRef: S,
|
|
678
|
+
hasValue: ne,
|
|
679
|
+
showPopup: R,
|
|
680
|
+
floatingLabel: i(
|
|
681
|
+
() => t.hideSelected !== !0 && ne.value === !0 || typeof h.value == "number" || h.value.length !== 0 || $e(t.displayValue)
|
|
682
|
+
),
|
|
683
|
+
getControlChild: () => {
|
|
684
|
+
if (n.editable.value !== !1 && (A.value === !0 || z.value !== !0 || g["no-option"] !== void 0))
|
|
685
|
+
return b === !0 ? gt() : st();
|
|
686
|
+
n.hasPopupOpen === !0 && (n.hasPopupOpen = !1);
|
|
687
|
+
},
|
|
688
|
+
controlEvents: {
|
|
689
|
+
onFocusin(e) {
|
|
690
|
+
n.onControlFocusin(e);
|
|
691
|
+
},
|
|
692
|
+
onFocusout(e) {
|
|
693
|
+
n.onControlFocusout(e, () => {
|
|
694
|
+
K(), M();
|
|
695
|
+
});
|
|
696
|
+
},
|
|
697
|
+
onClick(e) {
|
|
698
|
+
if (se(e), b !== !0 && d.value === !0) {
|
|
699
|
+
M(), S.value?.focus();
|
|
700
|
+
return;
|
|
701
|
+
}
|
|
702
|
+
R(e);
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
getControl: (e) => {
|
|
706
|
+
const u = rt(), l = e === !0 || A.value !== !0 || b !== !0;
|
|
707
|
+
if (t.useInput === !0)
|
|
708
|
+
u.push(dt(e, l));
|
|
709
|
+
else if (n.editable.value === !0) {
|
|
710
|
+
const s = l === !0 ? xe.value : void 0;
|
|
711
|
+
u.push(
|
|
712
|
+
m("input", {
|
|
713
|
+
ref: l === !0 ? S : void 0,
|
|
714
|
+
key: "d_t",
|
|
715
|
+
class: "q-select__focus-target",
|
|
716
|
+
id: l === !0 ? n.targetUid.value : void 0,
|
|
717
|
+
value: we.value,
|
|
718
|
+
readonly: !0,
|
|
719
|
+
"data-autofocus": e === !0 || t.autofocus === !0 || void 0,
|
|
720
|
+
...s,
|
|
721
|
+
onKeydown: Be,
|
|
722
|
+
onKeyup: Le,
|
|
723
|
+
onKeypress: qe
|
|
724
|
+
})
|
|
725
|
+
), l === !0 && typeof t.autocomplete == "string" && t.autocomplete.length !== 0 && u.push(
|
|
726
|
+
m("input", {
|
|
727
|
+
class: "q-select__autocomplete-input",
|
|
728
|
+
autocomplete: t.autocomplete,
|
|
729
|
+
tabindex: -1,
|
|
730
|
+
onKeyup: Te
|
|
731
|
+
})
|
|
732
|
+
);
|
|
733
|
+
}
|
|
734
|
+
if (ge.value !== void 0 && t.disable !== !0 && J.value.length !== 0) {
|
|
735
|
+
const s = J.value.map((r) => m("option", { value: r, selected: !0 }));
|
|
736
|
+
u.push(
|
|
737
|
+
m("select", {
|
|
738
|
+
class: "hidden",
|
|
739
|
+
name: ge.value,
|
|
740
|
+
multiple: t.multiple
|
|
741
|
+
}, s)
|
|
742
|
+
);
|
|
743
|
+
}
|
|
744
|
+
const a = t.useInput === !0 || l !== !0 ? void 0 : n.splitAttrs.attributes.value;
|
|
745
|
+
return m("div", {
|
|
746
|
+
class: "q-field__native row items-center",
|
|
747
|
+
...a,
|
|
748
|
+
...n.splitAttrs.listeners.value
|
|
749
|
+
}, u);
|
|
750
|
+
},
|
|
751
|
+
getInnerAppend: () => t.loading !== !0 && q.value !== !0 && t.hideDropdownIcon !== !0 ? [
|
|
752
|
+
m(xt, {
|
|
753
|
+
class: "q-select__dropdown-icon" + (d.value === !0 ? " rotate-180" : ""),
|
|
754
|
+
name: tt.value
|
|
755
|
+
})
|
|
756
|
+
] : null
|
|
757
|
+
}), Tt(n);
|
|
758
|
+
}
|
|
759
|
+
});
|
|
760
|
+
export {
|
|
761
|
+
su as default
|
|
762
|
+
};
|