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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const o = "@bufbuild/protobuf", t = {
|
|
2
|
+
"google/protobuf/compiler/plugin.proto": o + "/wkt",
|
|
3
|
+
"google/protobuf/any.proto": o + "/wkt",
|
|
4
|
+
"google/protobuf/api.proto": o + "/wkt",
|
|
5
|
+
"google/protobuf/cpp_features.proto": o + "/wkt",
|
|
6
|
+
"google/protobuf/descriptor.proto": o + "/wkt",
|
|
7
|
+
"google/protobuf/duration.proto": o + "/wkt",
|
|
8
|
+
"google/protobuf/empty.proto": o + "/wkt",
|
|
9
|
+
"google/protobuf/field_mask.proto": o + "/wkt",
|
|
10
|
+
"google/protobuf/go_features.proto": o + "/wkt",
|
|
11
|
+
"google/protobuf/java_features.proto": o + "/wkt",
|
|
12
|
+
"google/protobuf/source_context.proto": o + "/wkt",
|
|
13
|
+
"google/protobuf/struct.proto": o + "/wkt",
|
|
14
|
+
"google/protobuf/timestamp.proto": o + "/wkt",
|
|
15
|
+
"google/protobuf/type.proto": o + "/wkt",
|
|
16
|
+
"google/protobuf/wrappers.proto": o + "/wkt"
|
|
17
|
+
}, e = {
|
|
18
|
+
isMessage: { typeOnly: !1, bootstrapWktFrom: "../../is-message.js", from: o },
|
|
19
|
+
Message: { typeOnly: !0, bootstrapWktFrom: "../../types.js", from: o },
|
|
20
|
+
create: { typeOnly: !1, bootstrapWktFrom: "../../create.js", from: o },
|
|
21
|
+
fromJson: { typeOnly: !1, bootstrapWktFrom: "../../from-json.js", from: o },
|
|
22
|
+
fromJsonString: { typeOnly: !1, bootstrapWktFrom: "../../from-json.js", from: o },
|
|
23
|
+
fromBinary: { typeOnly: !1, bootstrapWktFrom: "../../from-binary.js", from: o },
|
|
24
|
+
toBinary: { typeOnly: !1, bootstrapWktFrom: "../../to-binary.js", from: o },
|
|
25
|
+
toJson: { typeOnly: !1, bootstrapWktFrom: "../../to-json.js", from: o },
|
|
26
|
+
toJsonString: { typeOnly: !1, bootstrapWktFrom: "../../to-json.js", from: o },
|
|
27
|
+
protoInt64: { typeOnly: !1, bootstrapWktFrom: "../../proto-int64.js", from: o },
|
|
28
|
+
JsonValue: { typeOnly: !0, bootstrapWktFrom: "../../json-value.js", from: o },
|
|
29
|
+
JsonObject: { typeOnly: !0, bootstrapWktFrom: "../../json-value.js", from: o },
|
|
30
|
+
codegen: {
|
|
31
|
+
boot: { typeOnly: !1, bootstrapWktFrom: "../../codegenv2/boot.js", from: o + "/codegenv2" },
|
|
32
|
+
fileDesc: { typeOnly: !1, bootstrapWktFrom: "../../codegenv2/file.js", from: o + "/codegenv2" },
|
|
33
|
+
enumDesc: { typeOnly: !1, bootstrapWktFrom: "../../codegenv2/enum.js", from: o + "/codegenv2" },
|
|
34
|
+
extDesc: { typeOnly: !1, bootstrapWktFrom: "../../codegenv2/extension.js", from: o + "/codegenv2" },
|
|
35
|
+
messageDesc: { typeOnly: !1, bootstrapWktFrom: "../../codegenv2/message.js", from: o + "/codegenv2" },
|
|
36
|
+
serviceDesc: { typeOnly: !1, bootstrapWktFrom: "../../codegenv2/service.js", from: o + "/codegenv2" },
|
|
37
|
+
tsEnum: { typeOnly: !1, bootstrapWktFrom: "../../codegenv2/enum.js", from: o + "/codegenv2" },
|
|
38
|
+
GenFile: { typeOnly: !0, bootstrapWktFrom: "../../codegenv2/types.js", from: o + "/codegenv2" },
|
|
39
|
+
GenEnum: { typeOnly: !0, bootstrapWktFrom: "../../codegenv2/types.js", from: o + "/codegenv2" },
|
|
40
|
+
GenExtension: { typeOnly: !0, bootstrapWktFrom: "../../codegenv2/types.js", from: o + "/codegenv2" },
|
|
41
|
+
GenMessage: { typeOnly: !0, bootstrapWktFrom: "../../codegenv2/types.js", from: o + "/codegenv2" },
|
|
42
|
+
GenService: { typeOnly: !0, bootstrapWktFrom: "../../codegenv2/types.js", from: o + "/codegenv2" }
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
o as packageName,
|
|
47
|
+
e as symbols,
|
|
48
|
+
t as wktPublicImportPaths
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { scalarEquals as c } from "./reflect/scalar.js";
|
|
2
|
+
import { reflect as m } from "./reflect/reflect.js";
|
|
3
|
+
import { ScalarType as v } from "./descriptors.js";
|
|
4
|
+
import "./wkt/index.js";
|
|
5
|
+
import { createExtensionContainer as d, getExtension as k } from "./extensions.js";
|
|
6
|
+
import { anyUnpack as y } from "./wkt/any.js";
|
|
7
|
+
function x(e, t, n, u) {
|
|
8
|
+
return t.$typeName != e.typeName || n.$typeName != e.typeName ? !1 : t === n ? !0 : f(m(e, t), m(e, n), u);
|
|
9
|
+
}
|
|
10
|
+
function f(e, t, n) {
|
|
11
|
+
if (e.desc.typeName === "google.protobuf.Any" && n?.unpackAny == !0)
|
|
12
|
+
return p(e.message, t.message, n);
|
|
13
|
+
for (const u of e.fields)
|
|
14
|
+
if (!E(u, e, t, n))
|
|
15
|
+
return !1;
|
|
16
|
+
return !(n?.unknown == !0 && !h(e, t, n.registry) || n?.extensions == !0 && !A(e, t, n));
|
|
17
|
+
}
|
|
18
|
+
function E(e, t, n, u) {
|
|
19
|
+
if (!t.isSet(e) && !n.isSet(e))
|
|
20
|
+
return !0;
|
|
21
|
+
if (!t.isSet(e) || !n.isSet(e))
|
|
22
|
+
return !1;
|
|
23
|
+
switch (e.fieldKind) {
|
|
24
|
+
case "scalar":
|
|
25
|
+
return c(e.scalar, t.get(e), n.get(e));
|
|
26
|
+
case "enum":
|
|
27
|
+
return t.get(e) === n.get(e);
|
|
28
|
+
case "message":
|
|
29
|
+
return f(t.get(e), n.get(e), u);
|
|
30
|
+
case "map": {
|
|
31
|
+
const a = t.get(e), o = n.get(e), r = [];
|
|
32
|
+
for (const s of a.keys()) {
|
|
33
|
+
if (!o.has(s))
|
|
34
|
+
return !1;
|
|
35
|
+
r.push(s);
|
|
36
|
+
}
|
|
37
|
+
for (const s of o.keys())
|
|
38
|
+
if (!a.has(s))
|
|
39
|
+
return !1;
|
|
40
|
+
for (const s of r) {
|
|
41
|
+
const i = a.get(s), l = o.get(s);
|
|
42
|
+
if (i !== l)
|
|
43
|
+
switch (e.mapKind) {
|
|
44
|
+
case "enum":
|
|
45
|
+
return !1;
|
|
46
|
+
case "message":
|
|
47
|
+
if (!f(i, l, u))
|
|
48
|
+
return !1;
|
|
49
|
+
break;
|
|
50
|
+
case "scalar":
|
|
51
|
+
if (!c(e.scalar, i, l))
|
|
52
|
+
return !1;
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
case "list": {
|
|
59
|
+
const a = t.get(e), o = n.get(e);
|
|
60
|
+
if (a.size != o.size)
|
|
61
|
+
return !1;
|
|
62
|
+
for (let r = 0; r < a.size; r++) {
|
|
63
|
+
const s = a.get(r), i = o.get(r);
|
|
64
|
+
if (s !== i)
|
|
65
|
+
switch (e.listKind) {
|
|
66
|
+
case "enum":
|
|
67
|
+
return !1;
|
|
68
|
+
case "message":
|
|
69
|
+
if (!f(s, i, u))
|
|
70
|
+
return !1;
|
|
71
|
+
break;
|
|
72
|
+
case "scalar":
|
|
73
|
+
if (!c(e.scalar, s, i))
|
|
74
|
+
return !1;
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return !0;
|
|
82
|
+
}
|
|
83
|
+
function p(e, t, n) {
|
|
84
|
+
if (e.typeUrl !== t.typeUrl)
|
|
85
|
+
return !1;
|
|
86
|
+
const u = y(e, n.registry), a = y(t, n.registry);
|
|
87
|
+
if (u && a) {
|
|
88
|
+
const o = n.registry.getMessage(u.$typeName);
|
|
89
|
+
if (o)
|
|
90
|
+
return x(o, u, a, n);
|
|
91
|
+
}
|
|
92
|
+
return c(v.BYTES, e.value, t.value);
|
|
93
|
+
}
|
|
94
|
+
function h(e, t, n) {
|
|
95
|
+
function u(r, s) {
|
|
96
|
+
var i;
|
|
97
|
+
const l = (i = r.getUnknown()) !== null && i !== void 0 ? i : [];
|
|
98
|
+
return s ? l.filter((g) => !s.getExtensionFor(r.desc, g.no)) : l;
|
|
99
|
+
}
|
|
100
|
+
const a = u(e, n), o = u(t, n);
|
|
101
|
+
if (a.length != o.length)
|
|
102
|
+
return !1;
|
|
103
|
+
for (let r = 0; r < a.length; r++) {
|
|
104
|
+
const s = a[r], i = o[r];
|
|
105
|
+
if (s.no != i.no || s.wireType != i.wireType || !c(v.BYTES, s.data, i.data))
|
|
106
|
+
return !1;
|
|
107
|
+
}
|
|
108
|
+
return !0;
|
|
109
|
+
}
|
|
110
|
+
function A(e, t, n) {
|
|
111
|
+
function u(r, s) {
|
|
112
|
+
var i;
|
|
113
|
+
return ((i = r.getUnknown()) !== null && i !== void 0 ? i : []).map((l) => s.getExtensionFor(r.desc, l.no)).filter((l) => l != null).filter((l, g, w) => w.indexOf(l) === g);
|
|
114
|
+
}
|
|
115
|
+
const a = u(e, n.registry), o = u(t, n.registry);
|
|
116
|
+
if (a.length != o.length || a.some((r) => !o.includes(r)))
|
|
117
|
+
return !1;
|
|
118
|
+
for (const r of a) {
|
|
119
|
+
const [s, i] = d(r, k(e.message, r)), [l] = d(r, k(t.message, r));
|
|
120
|
+
if (!E(i, s, l, n))
|
|
121
|
+
return !1;
|
|
122
|
+
}
|
|
123
|
+
return !0;
|
|
124
|
+
}
|
|
125
|
+
export {
|
|
126
|
+
x as equals
|
|
127
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { create as p } from "./create.js";
|
|
2
|
+
import { readField as y } from "./from-binary.js";
|
|
3
|
+
import { reflect as b } from "./reflect/reflect.js";
|
|
4
|
+
import { scalarZeroValue as $ } from "./reflect/scalar.js";
|
|
5
|
+
import { writeField as g } from "./to-binary.js";
|
|
6
|
+
import { BinaryReader as m, BinaryWriter as k } from "./wire/binary-encoding.js";
|
|
7
|
+
import { isWrapperDesc as N } from "./wkt/wrappers.js";
|
|
8
|
+
function h(n, e) {
|
|
9
|
+
s(e, n);
|
|
10
|
+
const r = O(n.$unknown, e), [t, o, a] = d(e);
|
|
11
|
+
for (const i of r)
|
|
12
|
+
y(t, new m(i.data), o, i.wireType, {
|
|
13
|
+
readUnknownFields: !0
|
|
14
|
+
});
|
|
15
|
+
return a();
|
|
16
|
+
}
|
|
17
|
+
function _(n, e, r) {
|
|
18
|
+
var t;
|
|
19
|
+
s(e, n);
|
|
20
|
+
const o = ((t = n.$unknown) !== null && t !== void 0 ? t : []).filter((c) => c.no !== e.number), [a, i] = d(e, r), f = new k();
|
|
21
|
+
g(f, { writeUnknownFields: !0 }, a, i);
|
|
22
|
+
const u = new m(f.finish());
|
|
23
|
+
for (; u.pos < u.len; ) {
|
|
24
|
+
const [c, l] = u.tag(), w = u.skip(l, c);
|
|
25
|
+
o.push({ no: c, wireType: l, data: w });
|
|
26
|
+
}
|
|
27
|
+
n.$unknown = o;
|
|
28
|
+
}
|
|
29
|
+
function A(n, e) {
|
|
30
|
+
s(e, n), n.$unknown !== void 0 && (n.$unknown = n.$unknown.filter((r) => r.no !== e.number));
|
|
31
|
+
}
|
|
32
|
+
function E(n, e) {
|
|
33
|
+
var r;
|
|
34
|
+
return e.extendee.typeName === n.$typeName && !!(!((r = n.$unknown) === null || r === void 0) && r.find((t) => t.no === e.number));
|
|
35
|
+
}
|
|
36
|
+
function C(n, e) {
|
|
37
|
+
const r = n.proto.options;
|
|
38
|
+
return r ? E(r, e) : !1;
|
|
39
|
+
}
|
|
40
|
+
function D(n, e) {
|
|
41
|
+
const r = n.proto.options;
|
|
42
|
+
if (!r) {
|
|
43
|
+
const [, , t] = d(e);
|
|
44
|
+
return t();
|
|
45
|
+
}
|
|
46
|
+
return h(r, e);
|
|
47
|
+
}
|
|
48
|
+
function O(n, e) {
|
|
49
|
+
if (n === void 0)
|
|
50
|
+
return [];
|
|
51
|
+
if (e.fieldKind === "enum" || e.fieldKind === "scalar") {
|
|
52
|
+
for (let r = n.length - 1; r >= 0; --r)
|
|
53
|
+
if (n[r].no == e.number)
|
|
54
|
+
return [n[r]];
|
|
55
|
+
return [];
|
|
56
|
+
}
|
|
57
|
+
return n.filter((r) => r.no === e.number);
|
|
58
|
+
}
|
|
59
|
+
function d(n, e) {
|
|
60
|
+
const r = n.typeName, t = Object.assign(Object.assign({}, n), { kind: "field", parent: n.extendee, localName: r }), o = Object.assign(Object.assign({}, n.extendee), { fields: [t], members: [t], oneofs: [] }), a = p(o, e !== void 0 ? { [r]: e } : void 0);
|
|
61
|
+
return [
|
|
62
|
+
b(o, a),
|
|
63
|
+
t,
|
|
64
|
+
() => {
|
|
65
|
+
const i = a[r];
|
|
66
|
+
if (i === void 0) {
|
|
67
|
+
const f = n.message;
|
|
68
|
+
return N(f) ? $(f.fields[0].scalar, f.fields[0].longAsString) : p(f);
|
|
69
|
+
}
|
|
70
|
+
return i;
|
|
71
|
+
}
|
|
72
|
+
];
|
|
73
|
+
}
|
|
74
|
+
function s(n, e) {
|
|
75
|
+
if (n.extendee.typeName != e.$typeName)
|
|
76
|
+
throw new Error(`extension ${n.typeName} can only be applied to message ${n.extendee.typeName}`);
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
A as clearExtension,
|
|
80
|
+
d as createExtensionContainer,
|
|
81
|
+
h as getExtension,
|
|
82
|
+
D as getOption,
|
|
83
|
+
E as hasExtension,
|
|
84
|
+
C as hasOption,
|
|
85
|
+
_ as setExtension
|
|
86
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { unsafeIsSet as n, unsafeClear as r } from "./reflect/unsafe.js";
|
|
2
|
+
function p(e, t) {
|
|
3
|
+
return t.parent.typeName == e.$typeName && n(e, t);
|
|
4
|
+
}
|
|
5
|
+
function i(e, t) {
|
|
6
|
+
t.parent.typeName == e.$typeName && r(e, t);
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
i as clearField,
|
|
10
|
+
p as isFieldSet
|
|
11
|
+
};
|
|
@@ -1,131 +1,134 @@
|
|
|
1
1
|
import { ScalarType as i } from "./descriptors.js";
|
|
2
|
-
import { scalarZeroValue as
|
|
3
|
-
import { reflect as
|
|
4
|
-
import { BinaryReader as h, WireType as
|
|
5
|
-
import { varint32write as
|
|
6
|
-
const
|
|
2
|
+
import { scalarZeroValue as d } from "./reflect/scalar.js";
|
|
3
|
+
import { reflect as k } from "./reflect/reflect.js";
|
|
4
|
+
import { BinaryReader as h, WireType as m } from "./wire/binary-encoding.js";
|
|
5
|
+
import { varint32write as y } from "./wire/varint.js";
|
|
6
|
+
const T = {
|
|
7
7
|
readUnknownFields: !0
|
|
8
8
|
};
|
|
9
|
-
function
|
|
10
|
-
return n ? Object.assign(Object.assign({},
|
|
9
|
+
function I(n) {
|
|
10
|
+
return n ? Object.assign(Object.assign({}, T), n) : T;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
const
|
|
14
|
-
return
|
|
12
|
+
function D(n, s, t) {
|
|
13
|
+
const e = k(n, void 0, !1);
|
|
14
|
+
return b(e, new h(s), I(t), !1, s.byteLength), e.message;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function K(n, s, t, e) {
|
|
17
|
+
return b(k(n, s, !1), new h(t), I(e), !1, t.byteLength), s;
|
|
18
|
+
}
|
|
19
|
+
function b(n, s, t, e, c) {
|
|
17
20
|
var a;
|
|
18
|
-
const u =
|
|
21
|
+
const u = e ? s.len : s.pos + c;
|
|
19
22
|
let l, o;
|
|
20
|
-
const
|
|
21
|
-
for (;
|
|
22
|
-
const
|
|
23
|
-
if (!
|
|
24
|
-
const
|
|
25
|
-
t.readUnknownFields &&
|
|
23
|
+
const r = (a = n.getUnknown()) !== null && a !== void 0 ? a : [];
|
|
24
|
+
for (; s.pos < u && ([l, o] = s.tag(), !(e && o == m.EndGroup)); ) {
|
|
25
|
+
const w = n.findNumber(l);
|
|
26
|
+
if (!w) {
|
|
27
|
+
const v = s.skip(o, l);
|
|
28
|
+
t.readUnknownFields && r.push({ no: l, wireType: o, data: v });
|
|
26
29
|
continue;
|
|
27
30
|
}
|
|
28
|
-
|
|
31
|
+
F(n, s, w, o, t);
|
|
29
32
|
}
|
|
30
|
-
if (
|
|
33
|
+
if (e && (o != m.EndGroup || l !== c))
|
|
31
34
|
throw new Error("invalid end group tag");
|
|
32
|
-
|
|
35
|
+
r.length > 0 && n.setUnknown(r);
|
|
33
36
|
}
|
|
34
|
-
function
|
|
37
|
+
function F(n, s, t, e, c) {
|
|
35
38
|
var a;
|
|
36
39
|
switch (t.fieldKind) {
|
|
37
40
|
case "scalar":
|
|
38
|
-
n.set(t,
|
|
41
|
+
n.set(t, f(s, t.scalar));
|
|
39
42
|
break;
|
|
40
43
|
case "enum":
|
|
41
|
-
const u =
|
|
44
|
+
const u = f(s, i.INT32);
|
|
42
45
|
if (t.enum.open)
|
|
43
46
|
n.set(t, u);
|
|
44
47
|
else if (t.enum.values.some((o) => o.number === u))
|
|
45
48
|
n.set(t, u);
|
|
46
49
|
else if (c.readUnknownFields) {
|
|
47
50
|
const o = [];
|
|
48
|
-
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
+
y(u, o);
|
|
52
|
+
const r = (a = n.getUnknown()) !== null && a !== void 0 ? a : [];
|
|
53
|
+
r.push({
|
|
51
54
|
no: t.number,
|
|
52
|
-
wireType:
|
|
55
|
+
wireType: e,
|
|
53
56
|
data: new Uint8Array(o)
|
|
54
|
-
}), n.setUnknown(
|
|
57
|
+
}), n.setUnknown(r);
|
|
55
58
|
}
|
|
56
59
|
break;
|
|
57
60
|
case "message":
|
|
58
|
-
n.set(t, p(
|
|
61
|
+
n.set(t, p(s, c, t, n.get(t)));
|
|
59
62
|
break;
|
|
60
63
|
case "list":
|
|
61
|
-
|
|
64
|
+
E(s, e, n.get(t), c);
|
|
62
65
|
break;
|
|
63
66
|
case "map":
|
|
64
|
-
|
|
67
|
+
g(s, n.get(t), c);
|
|
65
68
|
break;
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
|
-
function
|
|
69
|
-
const
|
|
71
|
+
function g(n, s, t) {
|
|
72
|
+
const e = s.field();
|
|
70
73
|
let c, a;
|
|
71
74
|
const u = n.uint32(), l = n.pos + u;
|
|
72
75
|
for (; n.pos < l; ) {
|
|
73
76
|
const [o] = n.tag();
|
|
74
77
|
switch (o) {
|
|
75
78
|
case 1:
|
|
76
|
-
c =
|
|
79
|
+
c = f(n, e.mapKey);
|
|
77
80
|
break;
|
|
78
81
|
case 2:
|
|
79
|
-
switch (
|
|
82
|
+
switch (e.mapKind) {
|
|
80
83
|
case "scalar":
|
|
81
|
-
a =
|
|
84
|
+
a = f(n, e.scalar);
|
|
82
85
|
break;
|
|
83
86
|
case "enum":
|
|
84
87
|
a = n.int32();
|
|
85
88
|
break;
|
|
86
89
|
case "message":
|
|
87
|
-
a = p(n, t,
|
|
90
|
+
a = p(n, t, e);
|
|
88
91
|
break;
|
|
89
92
|
}
|
|
90
93
|
break;
|
|
91
94
|
}
|
|
92
95
|
}
|
|
93
|
-
if (c === void 0 && (c =
|
|
94
|
-
switch (
|
|
96
|
+
if (c === void 0 && (c = d(e.mapKey, !1)), a === void 0)
|
|
97
|
+
switch (e.mapKind) {
|
|
95
98
|
case "scalar":
|
|
96
|
-
a =
|
|
99
|
+
a = d(e.scalar, !1);
|
|
97
100
|
break;
|
|
98
101
|
case "enum":
|
|
99
|
-
a =
|
|
102
|
+
a = e.enum.values[0].number;
|
|
100
103
|
break;
|
|
101
104
|
case "message":
|
|
102
|
-
a =
|
|
105
|
+
a = k(e.message, void 0, !1);
|
|
103
106
|
break;
|
|
104
107
|
}
|
|
105
|
-
|
|
108
|
+
s.set(c, a);
|
|
106
109
|
}
|
|
107
|
-
function
|
|
110
|
+
function E(n, s, t, e) {
|
|
108
111
|
var c;
|
|
109
112
|
const a = t.field();
|
|
110
113
|
if (a.listKind === "message") {
|
|
111
|
-
t.add(p(n,
|
|
114
|
+
t.add(p(n, e, a));
|
|
112
115
|
return;
|
|
113
116
|
}
|
|
114
117
|
const u = (c = a.scalar) !== null && c !== void 0 ? c : i.INT32;
|
|
115
|
-
if (!(
|
|
116
|
-
t.add(
|
|
118
|
+
if (!(s == m.LengthDelimited && u != i.STRING && u != i.BYTES)) {
|
|
119
|
+
t.add(f(n, u));
|
|
117
120
|
return;
|
|
118
121
|
}
|
|
119
122
|
const o = n.uint32() + n.pos;
|
|
120
123
|
for (; n.pos < o; )
|
|
121
|
-
t.add(
|
|
124
|
+
t.add(f(n, u));
|
|
122
125
|
}
|
|
123
|
-
function p(n,
|
|
124
|
-
const c = t.delimitedEncoding, a =
|
|
125
|
-
return
|
|
126
|
+
function p(n, s, t, e) {
|
|
127
|
+
const c = t.delimitedEncoding, a = e ?? k(t.message, void 0, !1);
|
|
128
|
+
return b(a, n, s, c, c ? t.number : n.uint32()), a;
|
|
126
129
|
}
|
|
127
|
-
function
|
|
128
|
-
switch (
|
|
130
|
+
function f(n, s) {
|
|
131
|
+
switch (s) {
|
|
129
132
|
case i.STRING:
|
|
130
133
|
return n.string();
|
|
131
134
|
case i.BOOL:
|
|
@@ -159,6 +162,7 @@ function r(n, e) {
|
|
|
159
162
|
}
|
|
160
163
|
}
|
|
161
164
|
export {
|
|
162
|
-
|
|
163
|
-
|
|
165
|
+
D as fromBinary,
|
|
166
|
+
K as mergeFromBinary,
|
|
167
|
+
F as readField
|
|
164
168
|
};
|