web-core-tcm 0.0.61 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
- package/dist/node_modules/@vueuse/core/index.js +5189 -199
- package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/@vueuse/shared/index.js +1172 -23
- package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
- package/dist/node_modules/alova/dist/alova.esm.js +266 -220
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
- package/dist/node_modules/builder-pattern/dist/index.js +25 -13
- package/dist/node_modules/echarts/index.js +5 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
- package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
- package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
- package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
- package/dist/node_modules/echarts/lib/core/impl.js +8 -7
- package/dist/node_modules/echarts/lib/core/task.js +19 -19
- package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
- package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
- package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
- package/dist/node_modules/echarts/lib/data/Source.js +58 -58
- package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
- package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
- package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
- package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
- package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
- package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
- package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
- package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
- package/dist/node_modules/echarts/lib/export/api.js +71 -0
- package/dist/node_modules/echarts/lib/export/charts.js +46 -0
- package/dist/node_modules/echarts/lib/export/components.js +62 -0
- package/dist/node_modules/echarts/lib/export/core.js +39 -0
- package/dist/node_modules/echarts/lib/export/features.js +6 -0
- package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
- package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
- package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
- package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
- package/dist/node_modules/echarts/lib/loading/default.js +3 -2
- package/dist/node_modules/echarts/lib/model/Global.js +162 -157
- package/dist/node_modules/echarts/lib/model/Model.js +14 -12
- package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
- package/dist/node_modules/echarts/lib/model/Series.js +52 -52
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
- package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
- package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
- package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
- package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
- package/dist/node_modules/echarts/lib/util/component.js +40 -39
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
- package/dist/node_modules/echarts/lib/util/decal.js +54 -52
- package/dist/node_modules/echarts/lib/util/format.js +81 -65
- package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
- package/dist/node_modules/echarts/lib/util/layout.js +29 -29
- package/dist/node_modules/echarts/lib/util/log.js +41 -2
- package/dist/node_modules/echarts/lib/util/model.js +171 -170
- package/dist/node_modules/echarts/lib/util/number.js +97 -90
- package/dist/node_modules/echarts/lib/util/states.js +170 -164
- package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
- package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
- package/dist/node_modules/echarts/lib/util/time.js +2 -2
- package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
- package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
- package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +3 -3
- package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
- package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
- package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
- package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
- package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
- package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
- package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
- package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
- package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
- package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
- package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
- package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
- package/dist/node_modules/tslib/tslib.es6.js +305 -14
- package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
- package/dist/node_modules/zrender/lib/Element.js +126 -122
- package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
- package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
- package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
- package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
- package/dist/node_modules/zrender/lib/config.js +7 -6
- package/dist/node_modules/zrender/lib/contain/path.js +8 -8
- package/dist/node_modules/zrender/lib/contain/text.js +50 -46
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
- package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
- package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
- package/dist/node_modules/zrender/lib/core/curve.js +1 -1
- package/dist/node_modules/zrender/lib/core/event.js +12 -10
- package/dist/node_modules/zrender/lib/core/platform.js +29 -24
- package/dist/node_modules/zrender/lib/core/util.js +94 -91
- package/dist/node_modules/zrender/lib/core/vector.js +54 -34
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
- package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
- package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
- package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
- package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
- package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
- package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
- package/dist/node_modules/zrender/lib/tool/color.js +87 -69
- package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
- package/dist/node_modules/zrender/lib/zrender.js +106 -90
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
- package/dist/src/api/algorithm/alova/implement/index.js +13 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/index.js +14 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
- package/dist/src/api/authorization/alova/globals.js +1 -0
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.js +10 -8
- package/dist/src/api/check/alova/globals.js +1 -0
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.js +5 -6
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/globals.js +1 -0
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.js +10 -9
- package/dist/src/api/index.js +28 -0
- package/dist/src/api/metric/alova/implement/index.js +4 -0
- package/dist/src/api/metric/alova/index.js +1 -0
- package/dist/src/api/metric/index.js +5 -4
- package/dist/src/api/oauth/alova/globals.js +1 -0
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.js +13 -11
- package/dist/src/api/outpatient/alova/globals.js +1 -0
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/globals.js +1 -0
- package/dist/src/api/patient/alova/implement/index.js +16 -0
- package/dist/src/api/patient/alova/implement/meta.js +44 -44
- package/dist/src/api/patient/alova/index.js +9 -12
- package/dist/src/api/patient/index.js +23 -22
- package/dist/src/api/patient/meta.d.ts +12 -0
- package/dist/src/api/patient/meta.js +100 -98
- package/dist/src/api/prescription/alova/globals.js +1 -0
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.js +8 -7
- package/dist/src/api/scientist/alova/globals.js +1 -0
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
- package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
- package/dist/src/components/tcm/index.d.ts +1 -0
- package/dist/src/components/tcm/index.js +28 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
- package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
- package/dist/src/components/tcm/inspections/index.d.ts +1 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
- package/dist/src/index.js +63 -58
- package/dist/src/proto/index.js +10 -0
- package/dist/src/proto/types/Images_pb.js +7 -6
- package/dist/src/proto/types/WaveMap_pb.js +4 -3
- package/dist/src/util/helper.js +38 -2
- package/dist/src/util/number.js +64 -25
- package/dist/src/util/string.js +51 -5
- package/dist/web-core-tcm.css +1 -1
- package/package.json +5 -3
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { ScalarType as
|
|
2
|
-
import { parseTextFormatScalarValue as
|
|
3
|
-
import { nestedTypes as
|
|
1
|
+
import { ScalarType as S } from "./descriptors.js";
|
|
2
|
+
import { parseTextFormatScalarValue as Y, parseTextFormatEnumValue as B } from "./wire/text-format.js";
|
|
3
|
+
import { nestedTypes as U } from "./reflect/nested-types.js";
|
|
4
4
|
import { unsafeIsSetExplicit as _ } from "./reflect/unsafe.js";
|
|
5
|
-
import { safeObjectProperty as
|
|
6
|
-
function
|
|
7
|
-
|
|
5
|
+
import { safeObjectProperty as b, protoCamelCase as T } from "./reflect/names.js";
|
|
6
|
+
function Ee(...e) {
|
|
7
|
+
return j(e);
|
|
8
|
+
}
|
|
9
|
+
function be(...e) {
|
|
10
|
+
const n = j(e);
|
|
11
|
+
return Object.assign(Object.assign({}, n), { remove(i) {
|
|
12
|
+
var t;
|
|
13
|
+
i.kind == "extension" && ((t = n.extendees.get(i.extendee.typeName)) === null || t === void 0 || t.delete(i.number)), n.types.delete(i.typeName);
|
|
14
|
+
} });
|
|
15
|
+
}
|
|
16
|
+
function he(...e) {
|
|
17
|
+
const n = L();
|
|
8
18
|
if (!e.length)
|
|
9
19
|
return n;
|
|
10
20
|
if ("$typeName" in e[0] && e[0].$typeName == "google.protobuf.FileDescriptorSet") {
|
|
@@ -15,12 +25,12 @@ function ye(...e) {
|
|
|
15
25
|
if ("$typeName" in e[0]) {
|
|
16
26
|
let a = function(u) {
|
|
17
27
|
const o = [];
|
|
18
|
-
for (const
|
|
19
|
-
if (n.getFile(
|
|
28
|
+
for (const r of u.dependency) {
|
|
29
|
+
if (n.getFile(r) != null || s.has(r))
|
|
20
30
|
continue;
|
|
21
|
-
const d = t(
|
|
31
|
+
const d = t(r);
|
|
22
32
|
if (!d)
|
|
23
|
-
throw new Error(`Unable to resolve ${
|
|
33
|
+
throw new Error(`Unable to resolve ${r}, imported by ${u.name}`);
|
|
24
34
|
"kind" in d ? n.addFile(d, !1, !0) : (s.add(d.name), o.push(d));
|
|
25
35
|
}
|
|
26
36
|
return o.concat(...o.map(a));
|
|
@@ -34,7 +44,7 @@ function ye(...e) {
|
|
|
34
44
|
n.addFile(t);
|
|
35
45
|
return n;
|
|
36
46
|
}
|
|
37
|
-
function
|
|
47
|
+
function L() {
|
|
38
48
|
const e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
39
49
|
return {
|
|
40
50
|
kind: "registry",
|
|
@@ -48,7 +58,7 @@ function U() {
|
|
|
48
58
|
},
|
|
49
59
|
addFile(t, s, a) {
|
|
50
60
|
if (i.set(t.proto.name, t), !s)
|
|
51
|
-
for (const u of
|
|
61
|
+
for (const u of U(t))
|
|
52
62
|
this.add(u);
|
|
53
63
|
if (a)
|
|
54
64
|
for (const u of t.dependencies)
|
|
@@ -93,7 +103,24 @@ function U() {
|
|
|
93
103
|
}
|
|
94
104
|
};
|
|
95
105
|
}
|
|
96
|
-
|
|
106
|
+
function j(e) {
|
|
107
|
+
const n = L();
|
|
108
|
+
for (const i of e)
|
|
109
|
+
switch (i.kind) {
|
|
110
|
+
case "registry":
|
|
111
|
+
for (const t of i)
|
|
112
|
+
n.add(t);
|
|
113
|
+
break;
|
|
114
|
+
case "file":
|
|
115
|
+
n.addFile(i);
|
|
116
|
+
break;
|
|
117
|
+
default:
|
|
118
|
+
n.add(i);
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
return n;
|
|
122
|
+
}
|
|
123
|
+
const G = 998, W = 999, Q = 9, h = 10, E = 11, J = 12, M = 14, F = 3, X = 2, I = 1, Z = 0, x = 1, K = 2, q = 3, z = 1, H = 2, ee = 1, Ne = 998, _e = 1001, C = {
|
|
97
124
|
// EDITION_PROTO2
|
|
98
125
|
998: {
|
|
99
126
|
fieldPresence: 1,
|
|
@@ -177,9 +204,9 @@ function V(e, n) {
|
|
|
177
204
|
kind: "file",
|
|
178
205
|
proto: e,
|
|
179
206
|
deprecated: (t = (i = e.options) === null || i === void 0 ? void 0 : i.deprecated) !== null && t !== void 0 ? t : !1,
|
|
180
|
-
edition:
|
|
207
|
+
edition: se(e),
|
|
181
208
|
name: e.name.replace(/\.proto$/, ""),
|
|
182
|
-
dependencies:
|
|
209
|
+
dependencies: de(e, n),
|
|
183
210
|
enums: [],
|
|
184
211
|
messages: [],
|
|
185
212
|
extensions: [],
|
|
@@ -192,16 +219,16 @@ function V(e, n) {
|
|
|
192
219
|
return a.get(o);
|
|
193
220
|
},
|
|
194
221
|
add(o) {
|
|
195
|
-
var
|
|
196
|
-
m(((
|
|
222
|
+
var r;
|
|
223
|
+
m(((r = o.proto.options) === null || r === void 0 ? void 0 : r.mapEntry) === !0), a.set(o.typeName, o);
|
|
197
224
|
}
|
|
198
225
|
};
|
|
199
226
|
for (const o of e.enumType)
|
|
200
|
-
|
|
227
|
+
O(o, s, void 0, n);
|
|
201
228
|
for (const o of e.messageType)
|
|
202
229
|
A(o, s, void 0, n, u);
|
|
203
230
|
for (const o of e.service)
|
|
204
|
-
|
|
231
|
+
ne(o, s, n);
|
|
205
232
|
$(s, n);
|
|
206
233
|
for (const o of a.values())
|
|
207
234
|
P(o, n, u);
|
|
@@ -228,9 +255,9 @@ function $(e, n) {
|
|
|
228
255
|
}
|
|
229
256
|
}
|
|
230
257
|
function P(e, n, i) {
|
|
231
|
-
const t = e.proto.oneofDecl.map((a) =>
|
|
258
|
+
const t = e.proto.oneofDecl.map((a) => ie(a, e)), s = /* @__PURE__ */ new Set();
|
|
232
259
|
for (const a of e.proto.field) {
|
|
233
|
-
const u =
|
|
260
|
+
const u = ue(a, t), o = w(a, e, n, u, i);
|
|
234
261
|
e.fields.push(o), e.field[o.localName] = o, u === void 0 ? e.members.push(o) : (u.fields.push(o), s.has(u) || (s.add(u), e.members.push(u)));
|
|
235
262
|
}
|
|
236
263
|
for (const a of t.filter((u) => s.has(u)))
|
|
@@ -238,9 +265,9 @@ function P(e, n, i) {
|
|
|
238
265
|
for (const a of e.nestedMessages)
|
|
239
266
|
P(a, n, i);
|
|
240
267
|
}
|
|
241
|
-
function
|
|
242
|
-
var s, a, u, o,
|
|
243
|
-
const d =
|
|
268
|
+
function O(e, n, i, t) {
|
|
269
|
+
var s, a, u, o, r;
|
|
270
|
+
const d = ae(e.name, e.value), l = {
|
|
244
271
|
kind: "enum",
|
|
245
272
|
proto: e,
|
|
246
273
|
deprecated: (a = (s = e.options) === null || s === void 0 ? void 0 : s.deprecated) !== null && a !== void 0 ? a : !1,
|
|
@@ -248,7 +275,7 @@ function C(e, n, i, t) {
|
|
|
248
275
|
parent: i,
|
|
249
276
|
open: !0,
|
|
250
277
|
name: e.name,
|
|
251
|
-
typeName:
|
|
278
|
+
typeName: k(e, i, n),
|
|
252
279
|
value: {},
|
|
253
280
|
values: [],
|
|
254
281
|
sharedPrefix: d,
|
|
@@ -256,29 +283,29 @@ function C(e, n, i, t) {
|
|
|
256
283
|
return `enum ${this.typeName}`;
|
|
257
284
|
}
|
|
258
285
|
};
|
|
259
|
-
|
|
286
|
+
l.open = ce(l), t.add(l);
|
|
260
287
|
for (const f of e.value) {
|
|
261
288
|
const v = f.name;
|
|
262
|
-
|
|
289
|
+
l.values.push(
|
|
263
290
|
// biome-ignore lint/suspicious/noAssignInExpressions: no
|
|
264
|
-
|
|
291
|
+
l.value[f.number] = {
|
|
265
292
|
kind: "enum_value",
|
|
266
293
|
proto: f,
|
|
267
294
|
deprecated: (o = (u = f.options) === null || u === void 0 ? void 0 : u.deprecated) !== null && o !== void 0 ? o : !1,
|
|
268
|
-
parent:
|
|
295
|
+
parent: l,
|
|
269
296
|
name: v,
|
|
270
|
-
localName:
|
|
297
|
+
localName: b(d == null ? v : v.substring(d.length)),
|
|
271
298
|
number: f.number,
|
|
272
299
|
toString() {
|
|
273
|
-
return `enum value ${
|
|
300
|
+
return `enum value ${l.typeName}.${v}`;
|
|
274
301
|
}
|
|
275
302
|
}
|
|
276
303
|
);
|
|
277
304
|
}
|
|
278
|
-
((
|
|
305
|
+
((r = i?.nestedEnums) !== null && r !== void 0 ? r : n.enums).push(l);
|
|
279
306
|
}
|
|
280
307
|
function A(e, n, i, t, s) {
|
|
281
|
-
var a, u, o,
|
|
308
|
+
var a, u, o, r;
|
|
282
309
|
const d = {
|
|
283
310
|
kind: "message",
|
|
284
311
|
proto: e,
|
|
@@ -286,7 +313,7 @@ function A(e, n, i, t, s) {
|
|
|
286
313
|
file: n,
|
|
287
314
|
parent: i,
|
|
288
315
|
name: e.name,
|
|
289
|
-
typeName:
|
|
316
|
+
typeName: k(e, i, n),
|
|
290
317
|
fields: [],
|
|
291
318
|
field: {},
|
|
292
319
|
oneofs: [],
|
|
@@ -298,13 +325,13 @@ function A(e, n, i, t, s) {
|
|
|
298
325
|
return `message ${this.typeName}`;
|
|
299
326
|
}
|
|
300
327
|
};
|
|
301
|
-
((o = e.options) === null || o === void 0 ? void 0 : o.mapEntry) === !0 ? s.add(d) : (((
|
|
302
|
-
for (const
|
|
303
|
-
|
|
304
|
-
for (const
|
|
305
|
-
A(
|
|
328
|
+
((o = e.options) === null || o === void 0 ? void 0 : o.mapEntry) === !0 ? s.add(d) : (((r = i?.nestedMessages) !== null && r !== void 0 ? r : n.messages).push(d), t.add(d));
|
|
329
|
+
for (const l of e.enumType)
|
|
330
|
+
O(l, n, d, t);
|
|
331
|
+
for (const l of e.nestedType)
|
|
332
|
+
A(l, n, d, t, s);
|
|
306
333
|
}
|
|
307
|
-
function
|
|
334
|
+
function ne(e, n, i) {
|
|
308
335
|
var t, s;
|
|
309
336
|
const a = {
|
|
310
337
|
kind: "service",
|
|
@@ -312,7 +339,7 @@ function ee(e, n, i) {
|
|
|
312
339
|
deprecated: (s = (t = e.options) === null || t === void 0 ? void 0 : t.deprecated) !== null && s !== void 0 ? s : !1,
|
|
313
340
|
file: n,
|
|
314
341
|
name: e.name,
|
|
315
|
-
typeName:
|
|
342
|
+
typeName: k(e, void 0, n),
|
|
316
343
|
methods: [],
|
|
317
344
|
method: {},
|
|
318
345
|
toString() {
|
|
@@ -321,34 +348,34 @@ function ee(e, n, i) {
|
|
|
321
348
|
};
|
|
322
349
|
n.services.push(a), i.add(a);
|
|
323
350
|
for (const u of e.method) {
|
|
324
|
-
const o =
|
|
351
|
+
const o = te(u, a, i);
|
|
325
352
|
a.methods.push(o), a.method[o.localName] = o;
|
|
326
353
|
}
|
|
327
354
|
}
|
|
328
|
-
function
|
|
355
|
+
function te(e, n, i) {
|
|
329
356
|
var t, s, a, u;
|
|
330
357
|
let o;
|
|
331
358
|
e.clientStreaming && e.serverStreaming ? o = "bidi_streaming" : e.clientStreaming ? o = "client_streaming" : e.serverStreaming ? o = "server_streaming" : o = "unary";
|
|
332
|
-
const
|
|
333
|
-
m(
|
|
334
|
-
const
|
|
359
|
+
const r = i.getMessage(g(e.inputType)), d = i.getMessage(g(e.outputType));
|
|
360
|
+
m(r, `invalid MethodDescriptorProto: input_type ${e.inputType} not found`), m(d, `invalid MethodDescriptorProto: output_type ${e.inputType} not found`);
|
|
361
|
+
const l = e.name;
|
|
335
362
|
return {
|
|
336
363
|
kind: "rpc",
|
|
337
364
|
proto: e,
|
|
338
365
|
deprecated: (s = (t = e.options) === null || t === void 0 ? void 0 : t.deprecated) !== null && s !== void 0 ? s : !1,
|
|
339
366
|
parent: n,
|
|
340
|
-
name:
|
|
341
|
-
localName:
|
|
367
|
+
name: l,
|
|
368
|
+
localName: b(l.length ? b(l[0].toLowerCase() + l.substring(1)) : l),
|
|
342
369
|
methodKind: o,
|
|
343
|
-
input:
|
|
370
|
+
input: r,
|
|
344
371
|
output: d,
|
|
345
|
-
idempotency: (u = (a = e.options) === null || a === void 0 ? void 0 : a.idempotencyLevel) !== null && u !== void 0 ? u :
|
|
372
|
+
idempotency: (u = (a = e.options) === null || a === void 0 ? void 0 : a.idempotencyLevel) !== null && u !== void 0 ? u : Z,
|
|
346
373
|
toString() {
|
|
347
|
-
return `rpc ${n.typeName}.${
|
|
374
|
+
return `rpc ${n.typeName}.${l}`;
|
|
348
375
|
}
|
|
349
376
|
};
|
|
350
377
|
}
|
|
351
|
-
function
|
|
378
|
+
function ie(e, n) {
|
|
352
379
|
return {
|
|
353
380
|
kind: "oneof",
|
|
354
381
|
proto: e,
|
|
@@ -356,7 +383,7 @@ function te(e, n) {
|
|
|
356
383
|
parent: n,
|
|
357
384
|
fields: [],
|
|
358
385
|
name: e.name,
|
|
359
|
-
localName:
|
|
386
|
+
localName: b(T(e.name)),
|
|
360
387
|
toString() {
|
|
361
388
|
return `oneof ${n.typeName}.${this.name}`;
|
|
362
389
|
}
|
|
@@ -364,7 +391,7 @@ function te(e, n) {
|
|
|
364
391
|
}
|
|
365
392
|
function w(e, n, i, t, s) {
|
|
366
393
|
var a, u, o;
|
|
367
|
-
const
|
|
394
|
+
const r = s === void 0, d = {
|
|
368
395
|
kind: "field",
|
|
369
396
|
proto: e,
|
|
370
397
|
deprecated: (u = (a = e.options) === null || a === void 0 ? void 0 : a.deprecated) !== null && u !== void 0 ? u : !1,
|
|
@@ -373,7 +400,7 @@ function w(e, n, i, t, s) {
|
|
|
373
400
|
scalar: void 0,
|
|
374
401
|
message: void 0,
|
|
375
402
|
enum: void 0,
|
|
376
|
-
presence:
|
|
403
|
+
presence: re(e, t, r, n),
|
|
377
404
|
listKind: void 0,
|
|
378
405
|
mapKind: void 0,
|
|
379
406
|
mapKey: void 0,
|
|
@@ -382,30 +409,30 @@ function w(e, n, i, t, s) {
|
|
|
382
409
|
longAsString: !1,
|
|
383
410
|
getDefaultValue: void 0
|
|
384
411
|
};
|
|
385
|
-
if (
|
|
386
|
-
const c = n.kind == "file" ? n : n.file, N = n.kind == "file" ? void 0 : n,
|
|
387
|
-
d.kind = "extension", d.file = c, d.parent = N, d.oneof = void 0, d.typeName =
|
|
388
|
-
const D = i.getMessage(
|
|
412
|
+
if (r) {
|
|
413
|
+
const c = n.kind == "file" ? n : n.file, N = n.kind == "file" ? void 0 : n, p = k(e, N, c);
|
|
414
|
+
d.kind = "extension", d.file = c, d.parent = N, d.oneof = void 0, d.typeName = p, d.jsonName = `[${p}]`, d.toString = () => `extension ${p}`;
|
|
415
|
+
const D = i.getMessage(g(e.extendee));
|
|
389
416
|
m(D, `invalid FieldDescriptorProto: extendee ${e.extendee} not found`), d.extendee = D;
|
|
390
417
|
} else {
|
|
391
418
|
const c = n;
|
|
392
|
-
m(c.kind == "message"), d.parent = c, d.oneof = t, d.localName = t ? T(e.name) :
|
|
419
|
+
m(c.kind == "message"), d.parent = c, d.oneof = t, d.localName = t ? T(e.name) : b(T(e.name)), d.jsonName = e.jsonName, d.toString = () => `field ${c.typeName}.${e.name}`;
|
|
393
420
|
}
|
|
394
|
-
const
|
|
395
|
-
if (
|
|
396
|
-
const c = f == E ? s?.get(
|
|
421
|
+
const l = e.label, f = e.type, v = (o = e.options) === null || o === void 0 ? void 0 : o.jstype;
|
|
422
|
+
if (l === F) {
|
|
423
|
+
const c = f == E ? s?.get(g(e.typeName)) : void 0;
|
|
397
424
|
if (c) {
|
|
398
425
|
d.fieldKind = "map";
|
|
399
|
-
const { key: N, value:
|
|
400
|
-
return d.mapKey = N.scalar, d.mapKind =
|
|
426
|
+
const { key: N, value: p } = fe(c);
|
|
427
|
+
return d.mapKey = N.scalar, d.mapKind = p.fieldKind, d.message = p.message, d.delimitedEncoding = !1, d.enum = p.enum, d.scalar = p.scalar, d;
|
|
401
428
|
}
|
|
402
429
|
switch (d.fieldKind = "list", f) {
|
|
403
430
|
case E:
|
|
404
|
-
case
|
|
405
|
-
d.listKind = "message", d.message = i.getMessage(
|
|
431
|
+
case h:
|
|
432
|
+
d.listKind = "message", d.message = i.getMessage(g(e.typeName)), m(d.message), d.delimitedEncoding = R(e, n);
|
|
406
433
|
break;
|
|
407
434
|
case M:
|
|
408
|
-
d.listKind = "enum", d.enum = i.getEnum(
|
|
435
|
+
d.listKind = "enum", d.enum = i.getEnum(g(e.typeName)), m(d.enum);
|
|
409
436
|
break;
|
|
410
437
|
default:
|
|
411
438
|
d.listKind = "scalar", d.scalar = f, d.longAsString = v == I;
|
|
@@ -415,38 +442,38 @@ function w(e, n, i, t, s) {
|
|
|
415
442
|
}
|
|
416
443
|
switch (f) {
|
|
417
444
|
case E:
|
|
418
|
-
case
|
|
419
|
-
d.fieldKind = "message", d.message = i.getMessage(
|
|
445
|
+
case h:
|
|
446
|
+
d.fieldKind = "message", d.message = i.getMessage(g(e.typeName)), m(d.message, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), d.delimitedEncoding = R(e, n), d.getDefaultValue = () => {
|
|
420
447
|
};
|
|
421
448
|
break;
|
|
422
449
|
case M: {
|
|
423
|
-
const c = i.getEnum(
|
|
424
|
-
m(c !== void 0, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), d.fieldKind = "enum", d.enum = i.getEnum(
|
|
450
|
+
const c = i.getEnum(g(e.typeName));
|
|
451
|
+
m(c !== void 0, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), d.fieldKind = "enum", d.enum = i.getEnum(g(e.typeName)), d.getDefaultValue = () => _(e, "defaultValue") ? B(c, e.defaultValue) : void 0;
|
|
425
452
|
break;
|
|
426
453
|
}
|
|
427
454
|
default: {
|
|
428
|
-
d.fieldKind = "scalar", d.scalar = f, d.longAsString = v == I, d.getDefaultValue = () => _(e, "defaultValue") ?
|
|
455
|
+
d.fieldKind = "scalar", d.scalar = f, d.longAsString = v == I, d.getDefaultValue = () => _(e, "defaultValue") ? Y(f, e.defaultValue) : void 0;
|
|
429
456
|
break;
|
|
430
457
|
}
|
|
431
458
|
}
|
|
432
459
|
return d;
|
|
433
460
|
}
|
|
434
|
-
function
|
|
461
|
+
function se(e) {
|
|
435
462
|
switch (e.syntax) {
|
|
436
463
|
case "":
|
|
437
464
|
case "proto2":
|
|
438
|
-
return B;
|
|
439
|
-
case "proto3":
|
|
440
465
|
return G;
|
|
466
|
+
case "proto3":
|
|
467
|
+
return W;
|
|
441
468
|
case "editions":
|
|
442
|
-
if (e.edition in
|
|
469
|
+
if (e.edition in C)
|
|
443
470
|
return e.edition;
|
|
444
471
|
throw new Error(`${e.name}: unsupported edition`);
|
|
445
472
|
default:
|
|
446
473
|
throw new Error(`${e.name}: unsupported syntax "${e.syntax}"`);
|
|
447
474
|
}
|
|
448
475
|
}
|
|
449
|
-
function
|
|
476
|
+
function de(e, n) {
|
|
450
477
|
return e.dependency.map((i) => {
|
|
451
478
|
const t = n.getFile(i);
|
|
452
479
|
if (!t)
|
|
@@ -454,8 +481,8 @@ function se(e, n) {
|
|
|
454
481
|
return t;
|
|
455
482
|
});
|
|
456
483
|
}
|
|
457
|
-
function
|
|
458
|
-
const i =
|
|
484
|
+
function ae(e, n) {
|
|
485
|
+
const i = oe(e) + "_";
|
|
459
486
|
for (const t of n) {
|
|
460
487
|
if (!t.name.toLowerCase().startsWith(i))
|
|
461
488
|
return;
|
|
@@ -465,61 +492,61 @@ function de(e, n) {
|
|
|
465
492
|
}
|
|
466
493
|
return i;
|
|
467
494
|
}
|
|
468
|
-
function
|
|
495
|
+
function oe(e) {
|
|
469
496
|
return (e.substring(0, 1) + e.substring(1).replace(/[A-Z]/g, (n) => "_" + n)).toLowerCase();
|
|
470
497
|
}
|
|
471
|
-
function
|
|
498
|
+
function k(e, n, i) {
|
|
472
499
|
let t;
|
|
473
500
|
return n ? t = `${n.typeName}.${e.name}` : i.proto.package.length > 0 ? t = `${i.proto.package}.${e.name}` : t = `${e.name}`, t;
|
|
474
501
|
}
|
|
475
|
-
function
|
|
502
|
+
function g(e) {
|
|
476
503
|
return e.startsWith(".") ? e.substring(1) : e;
|
|
477
504
|
}
|
|
478
|
-
function
|
|
505
|
+
function ue(e, n) {
|
|
479
506
|
if (!_(e, "oneofIndex") || e.proto3Optional)
|
|
480
507
|
return;
|
|
481
508
|
const i = n[e.oneofIndex];
|
|
482
509
|
return m(i, `invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`), i;
|
|
483
510
|
}
|
|
484
|
-
function
|
|
485
|
-
if (e.label ==
|
|
486
|
-
return
|
|
511
|
+
function re(e, n, i, t) {
|
|
512
|
+
if (e.label == X)
|
|
513
|
+
return q;
|
|
487
514
|
if (e.label == F)
|
|
488
515
|
return K;
|
|
489
516
|
if (n || e.proto3Optional || i)
|
|
490
517
|
return x;
|
|
491
518
|
const s = y("fieldPresence", { proto: e, parent: t });
|
|
492
|
-
return s == K && (e.type == E || e.type ==
|
|
519
|
+
return s == K && (e.type == E || e.type == h) ? x : s;
|
|
493
520
|
}
|
|
494
521
|
function le(e, n) {
|
|
495
522
|
if (e.label != F)
|
|
496
523
|
return !1;
|
|
497
524
|
switch (e.type) {
|
|
498
|
-
case W:
|
|
499
525
|
case Q:
|
|
500
|
-
case
|
|
526
|
+
case J:
|
|
527
|
+
case h:
|
|
501
528
|
case E:
|
|
502
529
|
return !1;
|
|
503
530
|
}
|
|
504
531
|
const i = e.options;
|
|
505
|
-
return i && _(i, "packed") ? i.packed :
|
|
532
|
+
return i && _(i, "packed") ? i.packed : z == y("repeatedFieldEncoding", {
|
|
506
533
|
proto: e,
|
|
507
534
|
parent: n
|
|
508
535
|
});
|
|
509
536
|
}
|
|
510
|
-
function
|
|
537
|
+
function fe(e) {
|
|
511
538
|
const n = e.fields.find((t) => t.number === 1), i = e.fields.find((t) => t.number === 2);
|
|
512
|
-
return m(n && n.fieldKind == "scalar" && n.scalar !=
|
|
539
|
+
return m(n && n.fieldKind == "scalar" && n.scalar != S.BYTES && n.scalar != S.FLOAT && n.scalar != S.DOUBLE && i && i.fieldKind != "list" && i.fieldKind != "map"), { key: n, value: i };
|
|
513
540
|
}
|
|
514
|
-
function
|
|
541
|
+
function ce(e) {
|
|
515
542
|
var n;
|
|
516
|
-
return
|
|
543
|
+
return ee == y("enumType", {
|
|
517
544
|
proto: e.proto,
|
|
518
545
|
parent: (n = e.parent) !== null && n !== void 0 ? n : e.file
|
|
519
546
|
});
|
|
520
547
|
}
|
|
521
|
-
function
|
|
522
|
-
return e.type ==
|
|
548
|
+
function R(e, n) {
|
|
549
|
+
return e.type == h ? !0 : H == y("messageEncoding", {
|
|
523
550
|
proto: e,
|
|
524
551
|
parent: n
|
|
525
552
|
});
|
|
@@ -535,7 +562,7 @@ function y(e, n) {
|
|
|
535
562
|
if ("kind" in n) {
|
|
536
563
|
if (n.kind == "message")
|
|
537
564
|
return y(e, (t = n.parent) !== null && t !== void 0 ? t : n.file);
|
|
538
|
-
const a =
|
|
565
|
+
const a = C[n.edition];
|
|
539
566
|
if (!a)
|
|
540
567
|
throw new Error(`feature default for edition ${n.edition} not found`);
|
|
541
568
|
return a[e];
|
|
@@ -547,5 +574,9 @@ function m(e, n) {
|
|
|
547
574
|
throw new Error(n);
|
|
548
575
|
}
|
|
549
576
|
export {
|
|
550
|
-
|
|
577
|
+
he as createFileRegistry,
|
|
578
|
+
be as createMutableRegistry,
|
|
579
|
+
Ee as createRegistry,
|
|
580
|
+
_e as maximumEdition,
|
|
581
|
+
Ne as minimumEdition
|
|
551
582
|
};
|