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,434 @@
|
|
|
1
|
+
import { ScalarType as i } from "./descriptors.js";
|
|
2
|
+
import { protoInt64 as k } from "./proto-int64.js";
|
|
3
|
+
import { create as N } from "./create.js";
|
|
4
|
+
import { reflect as g } from "./reflect/reflect.js";
|
|
5
|
+
import { isFieldError as E, FieldError as l } from "./reflect/error.js";
|
|
6
|
+
import { formatVal as u } from "./reflect/reflect-check.js";
|
|
7
|
+
import { scalarZeroValue as x } from "./reflect/scalar.js";
|
|
8
|
+
import { base64Decode as D } from "./wire/base64-encoding.js";
|
|
9
|
+
import "./wkt/index.js";
|
|
10
|
+
import { createExtensionContainer as L, setExtension as K } from "./extensions.js";
|
|
11
|
+
import { isWrapperDesc as M } from "./wkt/wrappers.js";
|
|
12
|
+
import { anyPack as Z } from "./wkt/any.js";
|
|
13
|
+
import { ValueSchema as J, NullValue as _, ListValueSchema as C, StructSchema as W } from "./wkt/gen/google/protobuf/struct_pb.js";
|
|
14
|
+
const $ = {
|
|
15
|
+
ignoreUnknownFields: !1
|
|
16
|
+
};
|
|
17
|
+
function O(r) {
|
|
18
|
+
return r ? Object.assign(Object.assign({}, $), r) : $;
|
|
19
|
+
}
|
|
20
|
+
function pe(r, e, t) {
|
|
21
|
+
return R(r, I(e, r.typeName), t);
|
|
22
|
+
}
|
|
23
|
+
function Ne(r, e, t, n) {
|
|
24
|
+
return X(r, e, I(t, r.typeName), n);
|
|
25
|
+
}
|
|
26
|
+
function R(r, e, t) {
|
|
27
|
+
const n = g(r);
|
|
28
|
+
try {
|
|
29
|
+
d(n, e, O(t));
|
|
30
|
+
} catch (a) {
|
|
31
|
+
throw E(a) ? new Error(`cannot decode ${a.field()} from JSON: ${a.message}`, {
|
|
32
|
+
cause: a
|
|
33
|
+
}) : a;
|
|
34
|
+
}
|
|
35
|
+
return n.message;
|
|
36
|
+
}
|
|
37
|
+
function X(r, e, t, n) {
|
|
38
|
+
try {
|
|
39
|
+
d(g(r, e), t, O(n));
|
|
40
|
+
} catch (a) {
|
|
41
|
+
throw E(a) ? new Error(`cannot decode ${a.field()} from JSON: ${a.message}`, {
|
|
42
|
+
cause: a
|
|
43
|
+
}) : a;
|
|
44
|
+
}
|
|
45
|
+
return e;
|
|
46
|
+
}
|
|
47
|
+
function we(r, e) {
|
|
48
|
+
const t = w(r, e, !1, !1);
|
|
49
|
+
if (t === p)
|
|
50
|
+
throw new Error(`cannot decode ${r} from JSON: ${u(e)}`);
|
|
51
|
+
return t;
|
|
52
|
+
}
|
|
53
|
+
function ye(r, e) {
|
|
54
|
+
return r.values.find((t) => t.name === e) !== void 0;
|
|
55
|
+
}
|
|
56
|
+
function d(r, e, t) {
|
|
57
|
+
var n;
|
|
58
|
+
if (H(r, e, t))
|
|
59
|
+
return;
|
|
60
|
+
if (e == null || Array.isArray(e) || typeof e != "object")
|
|
61
|
+
throw new Error(`cannot decode ${r.desc} from JSON: ${u(e)}`);
|
|
62
|
+
const a = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
63
|
+
for (const o of r.desc.fields)
|
|
64
|
+
s.set(o.name, o).set(o.jsonName, o);
|
|
65
|
+
for (const [o, f] of Object.entries(e)) {
|
|
66
|
+
const c = s.get(o);
|
|
67
|
+
if (c) {
|
|
68
|
+
if (c.oneof) {
|
|
69
|
+
if (f === null && c.fieldKind == "scalar")
|
|
70
|
+
continue;
|
|
71
|
+
const m = a.get(c.oneof);
|
|
72
|
+
if (m !== void 0)
|
|
73
|
+
throw new l(c.oneof, `oneof set multiple times by ${m.name} and ${c.name}`);
|
|
74
|
+
a.set(c.oneof, c);
|
|
75
|
+
}
|
|
76
|
+
S(r, c, f, t);
|
|
77
|
+
} else {
|
|
78
|
+
let m;
|
|
79
|
+
if (o.startsWith("[") && o.endsWith("]") && // biome-ignore lint/suspicious/noAssignInExpressions: no
|
|
80
|
+
(m = (n = t.registry) === null || n === void 0 ? void 0 : n.getExtension(o.substring(1, o.length - 1))) && m.extendee.typeName === r.desc.typeName) {
|
|
81
|
+
const [T, V, U] = L(m);
|
|
82
|
+
S(T, V, f, t), K(r.message, m, U());
|
|
83
|
+
}
|
|
84
|
+
if (!m && !t.ignoreUnknownFields)
|
|
85
|
+
throw new Error(`cannot decode ${r.desc} from JSON: key "${o}" is unknown`);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function S(r, e, t, n) {
|
|
90
|
+
switch (e.fieldKind) {
|
|
91
|
+
case "scalar":
|
|
92
|
+
q(r, e, t);
|
|
93
|
+
break;
|
|
94
|
+
case "enum":
|
|
95
|
+
G(r, e, t, n);
|
|
96
|
+
break;
|
|
97
|
+
case "message":
|
|
98
|
+
Y(r, e, t, n);
|
|
99
|
+
break;
|
|
100
|
+
case "list":
|
|
101
|
+
P(r.get(e), t, n);
|
|
102
|
+
break;
|
|
103
|
+
case "map":
|
|
104
|
+
B(r.get(e), t, n);
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function B(r, e, t) {
|
|
109
|
+
if (e === null)
|
|
110
|
+
return;
|
|
111
|
+
const n = r.field();
|
|
112
|
+
if (typeof e != "object" || Array.isArray(e))
|
|
113
|
+
throw new l(n, "expected object, got " + u(e));
|
|
114
|
+
for (const [a, s] of Object.entries(e)) {
|
|
115
|
+
if (s === null)
|
|
116
|
+
throw new l(n, "map value must not be null");
|
|
117
|
+
let o;
|
|
118
|
+
switch (n.mapKind) {
|
|
119
|
+
case "message":
|
|
120
|
+
const c = g(n.message);
|
|
121
|
+
d(c, s, t), o = c;
|
|
122
|
+
break;
|
|
123
|
+
case "enum":
|
|
124
|
+
if (o = w(n.enum, s, t.ignoreUnknownFields, !0), o === p)
|
|
125
|
+
return;
|
|
126
|
+
break;
|
|
127
|
+
case "scalar":
|
|
128
|
+
o = b(n, s, !0);
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
const f = z(n.mapKey, a);
|
|
132
|
+
r.set(f, o);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function P(r, e, t) {
|
|
136
|
+
if (e === null)
|
|
137
|
+
return;
|
|
138
|
+
const n = r.field();
|
|
139
|
+
if (!Array.isArray(e))
|
|
140
|
+
throw new l(n, "expected Array, got " + u(e));
|
|
141
|
+
for (const a of e) {
|
|
142
|
+
if (a === null)
|
|
143
|
+
throw new l(n, "list item must not be null");
|
|
144
|
+
switch (n.listKind) {
|
|
145
|
+
case "message":
|
|
146
|
+
const s = g(n.message);
|
|
147
|
+
d(s, a, t), r.add(s);
|
|
148
|
+
break;
|
|
149
|
+
case "enum":
|
|
150
|
+
const o = w(n.enum, a, t.ignoreUnknownFields, !0);
|
|
151
|
+
o !== p && r.add(o);
|
|
152
|
+
break;
|
|
153
|
+
case "scalar":
|
|
154
|
+
r.add(b(n, a, !0));
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
function Y(r, e, t, n) {
|
|
160
|
+
if (t === null && e.message.typeName != "google.protobuf.Value") {
|
|
161
|
+
r.clear(e);
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
const a = r.isSet(e) ? r.get(e) : g(e.message);
|
|
165
|
+
d(a, t, n), r.set(e, a);
|
|
166
|
+
}
|
|
167
|
+
function G(r, e, t, n) {
|
|
168
|
+
const a = w(e.enum, t, n.ignoreUnknownFields, !1);
|
|
169
|
+
a === y ? r.clear(e) : a !== p && r.set(e, a);
|
|
170
|
+
}
|
|
171
|
+
function q(r, e, t) {
|
|
172
|
+
const n = b(e, t, !1);
|
|
173
|
+
n === y ? r.clear(e) : r.set(e, n);
|
|
174
|
+
}
|
|
175
|
+
const p = Symbol();
|
|
176
|
+
function w(r, e, t, n) {
|
|
177
|
+
if (e === null)
|
|
178
|
+
return r.typeName == "google.protobuf.NullValue" ? 0 : n ? r.values[0].number : y;
|
|
179
|
+
switch (typeof e) {
|
|
180
|
+
case "number":
|
|
181
|
+
if (Number.isInteger(e))
|
|
182
|
+
return e;
|
|
183
|
+
break;
|
|
184
|
+
case "string":
|
|
185
|
+
const a = r.values.find((s) => s.name === e);
|
|
186
|
+
if (a !== void 0)
|
|
187
|
+
return a.number;
|
|
188
|
+
if (t)
|
|
189
|
+
return p;
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
throw new Error(`cannot decode ${r} from JSON: ${u(e)}`);
|
|
193
|
+
}
|
|
194
|
+
const y = Symbol();
|
|
195
|
+
function b(r, e, t) {
|
|
196
|
+
if (e === null)
|
|
197
|
+
return t ? x(r.scalar, !1) : y;
|
|
198
|
+
switch (r.scalar) {
|
|
199
|
+
// float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
|
|
200
|
+
// Either numbers or strings are accepted. Exponent notation is also accepted.
|
|
201
|
+
case i.DOUBLE:
|
|
202
|
+
case i.FLOAT:
|
|
203
|
+
if (e === "NaN")
|
|
204
|
+
return NaN;
|
|
205
|
+
if (e === "Infinity")
|
|
206
|
+
return Number.POSITIVE_INFINITY;
|
|
207
|
+
if (e === "-Infinity")
|
|
208
|
+
return Number.NEGATIVE_INFINITY;
|
|
209
|
+
if (typeof e == "number") {
|
|
210
|
+
if (Number.isNaN(e))
|
|
211
|
+
throw new l(r, "unexpected NaN number");
|
|
212
|
+
if (!Number.isFinite(e))
|
|
213
|
+
throw new l(r, "unexpected infinite number");
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
if (typeof e == "string") {
|
|
217
|
+
if (e === "" || e.trim().length !== e.length)
|
|
218
|
+
break;
|
|
219
|
+
const n = Number(e);
|
|
220
|
+
if (!Number.isFinite(n))
|
|
221
|
+
break;
|
|
222
|
+
return n;
|
|
223
|
+
}
|
|
224
|
+
break;
|
|
225
|
+
// int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.
|
|
226
|
+
case i.INT32:
|
|
227
|
+
case i.FIXED32:
|
|
228
|
+
case i.SFIXED32:
|
|
229
|
+
case i.SINT32:
|
|
230
|
+
case i.UINT32:
|
|
231
|
+
return F(e);
|
|
232
|
+
// bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.
|
|
233
|
+
// Either standard or URL-safe base64 encoding with/without paddings are accepted.
|
|
234
|
+
case i.BYTES:
|
|
235
|
+
if (typeof e == "string") {
|
|
236
|
+
if (e === "")
|
|
237
|
+
return new Uint8Array(0);
|
|
238
|
+
try {
|
|
239
|
+
return D(e);
|
|
240
|
+
} catch (n) {
|
|
241
|
+
const a = n instanceof Error ? n.message : String(n);
|
|
242
|
+
throw new l(r, a);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
break;
|
|
246
|
+
}
|
|
247
|
+
return e;
|
|
248
|
+
}
|
|
249
|
+
function z(r, e) {
|
|
250
|
+
switch (r) {
|
|
251
|
+
case i.BOOL:
|
|
252
|
+
switch (e) {
|
|
253
|
+
case "true":
|
|
254
|
+
return !0;
|
|
255
|
+
case "false":
|
|
256
|
+
return !1;
|
|
257
|
+
}
|
|
258
|
+
return e;
|
|
259
|
+
case i.INT32:
|
|
260
|
+
case i.FIXED32:
|
|
261
|
+
case i.UINT32:
|
|
262
|
+
case i.SFIXED32:
|
|
263
|
+
case i.SINT32:
|
|
264
|
+
return F(e);
|
|
265
|
+
default:
|
|
266
|
+
return e;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
function F(r) {
|
|
270
|
+
if (typeof r == "string") {
|
|
271
|
+
if (r === "" || r.trim().length !== r.length)
|
|
272
|
+
return r;
|
|
273
|
+
const e = Number(r);
|
|
274
|
+
return Number.isNaN(e) ? r : e;
|
|
275
|
+
}
|
|
276
|
+
return r;
|
|
277
|
+
}
|
|
278
|
+
function I(r, e) {
|
|
279
|
+
try {
|
|
280
|
+
return JSON.parse(r);
|
|
281
|
+
} catch (t) {
|
|
282
|
+
const n = t instanceof Error ? t.message : String(t);
|
|
283
|
+
throw new Error(
|
|
284
|
+
`cannot decode message ${e} from JSON: ${n}`,
|
|
285
|
+
// @ts-expect-error we use the ES2022 error CTOR option "cause" for better stack traces
|
|
286
|
+
{ cause: t }
|
|
287
|
+
);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
function H(r, e, t) {
|
|
291
|
+
if (!r.desc.typeName.startsWith("google.protobuf."))
|
|
292
|
+
return !1;
|
|
293
|
+
switch (r.desc.typeName) {
|
|
294
|
+
case "google.protobuf.Any":
|
|
295
|
+
return Q(r.message, e, t), !0;
|
|
296
|
+
case "google.protobuf.Timestamp":
|
|
297
|
+
return j(r.message, e), !0;
|
|
298
|
+
case "google.protobuf.Duration":
|
|
299
|
+
return ee(r.message, e), !0;
|
|
300
|
+
case "google.protobuf.FieldMask":
|
|
301
|
+
return re(r.message, e), !0;
|
|
302
|
+
case "google.protobuf.Struct":
|
|
303
|
+
return v(r.message, e), !0;
|
|
304
|
+
case "google.protobuf.Value":
|
|
305
|
+
return h(r.message, e), !0;
|
|
306
|
+
case "google.protobuf.ListValue":
|
|
307
|
+
return A(r.message, e), !0;
|
|
308
|
+
default:
|
|
309
|
+
if (M(r.desc)) {
|
|
310
|
+
const n = r.desc.fields[0];
|
|
311
|
+
return e === null ? r.clear(n) : r.set(n, b(n, e, !0)), !0;
|
|
312
|
+
}
|
|
313
|
+
return !1;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
function Q(r, e, t) {
|
|
317
|
+
var n;
|
|
318
|
+
if (e === null || Array.isArray(e) || typeof e != "object")
|
|
319
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: expected object but got ${u(e)}`);
|
|
320
|
+
if (Object.keys(e).length == 0)
|
|
321
|
+
return;
|
|
322
|
+
const a = e["@type"];
|
|
323
|
+
if (typeof a != "string" || a == "")
|
|
324
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: "@type" is empty`);
|
|
325
|
+
const s = a.includes("/") ? a.substring(a.lastIndexOf("/") + 1) : a;
|
|
326
|
+
if (!s.length)
|
|
327
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: "@type" is invalid`);
|
|
328
|
+
const o = (n = t.registry) === null || n === void 0 ? void 0 : n.getMessage(s);
|
|
329
|
+
if (!o)
|
|
330
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: ${a} is not in the type registry`);
|
|
331
|
+
const f = g(o);
|
|
332
|
+
if (s.startsWith("google.protobuf.") && Object.prototype.hasOwnProperty.call(e, "value")) {
|
|
333
|
+
const c = e.value;
|
|
334
|
+
d(f, c, t);
|
|
335
|
+
} else {
|
|
336
|
+
const c = Object.assign({}, e);
|
|
337
|
+
delete c["@type"], d(f, c, t);
|
|
338
|
+
}
|
|
339
|
+
Z(f.desc, f.message, r);
|
|
340
|
+
}
|
|
341
|
+
function j(r, e) {
|
|
342
|
+
if (typeof e != "string")
|
|
343
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: ${u(e)}`);
|
|
344
|
+
const t = e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.([0-9]{1,9}))?(?:Z|([+-][0-9][0-9]:[0-9][0-9]))$/);
|
|
345
|
+
if (!t)
|
|
346
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: invalid RFC 3339 string`);
|
|
347
|
+
const n = Date.parse(
|
|
348
|
+
// biome-ignore format: want this to read well
|
|
349
|
+
t[1] + "-" + t[2] + "-" + t[3] + "T" + t[4] + ":" + t[5] + ":" + t[6] + (t[8] ? t[8] : "Z")
|
|
350
|
+
);
|
|
351
|
+
if (Number.isNaN(n))
|
|
352
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: invalid RFC 3339 string`);
|
|
353
|
+
if (n < Date.parse("0001-01-01T00:00:00Z") || n > Date.parse("9999-12-31T23:59:59Z"))
|
|
354
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);
|
|
355
|
+
r.seconds = k.parse(n / 1e3), r.nanos = 0, t[7] && (r.nanos = parseInt("1" + t[7] + "0".repeat(9 - t[7].length)) - 1e9);
|
|
356
|
+
}
|
|
357
|
+
function ee(r, e) {
|
|
358
|
+
if (typeof e != "string")
|
|
359
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: ${u(e)}`);
|
|
360
|
+
const t = e.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/);
|
|
361
|
+
if (t === null)
|
|
362
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: ${u(e)}`);
|
|
363
|
+
const n = Number(t[1]);
|
|
364
|
+
if (n > 315576e6 || n < -315576e6)
|
|
365
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: ${u(e)}`);
|
|
366
|
+
if (r.seconds = k.parse(n), typeof t[2] != "string")
|
|
367
|
+
return;
|
|
368
|
+
const a = t[2] + "0".repeat(9 - t[2].length);
|
|
369
|
+
r.nanos = parseInt(a), (n < 0 || Object.is(n, -0)) && (r.nanos = -r.nanos);
|
|
370
|
+
}
|
|
371
|
+
function re(r, e) {
|
|
372
|
+
if (typeof e != "string")
|
|
373
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: ${u(e)}`);
|
|
374
|
+
if (e === "")
|
|
375
|
+
return;
|
|
376
|
+
function t(n) {
|
|
377
|
+
if (n.includes("_"))
|
|
378
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON: path names must be lowerCamelCase`);
|
|
379
|
+
const a = n.replace(/[A-Z]/g, (s) => "_" + s.toLowerCase());
|
|
380
|
+
return a[0] === "_" ? a.substring(1) : a;
|
|
381
|
+
}
|
|
382
|
+
r.paths = e.split(",").map(t);
|
|
383
|
+
}
|
|
384
|
+
function v(r, e) {
|
|
385
|
+
if (typeof e != "object" || e == null || Array.isArray(e))
|
|
386
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON ${u(e)}`);
|
|
387
|
+
for (const [t, n] of Object.entries(e)) {
|
|
388
|
+
const a = N(J);
|
|
389
|
+
h(a, n), r.fields[t] = a;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
function h(r, e) {
|
|
393
|
+
switch (typeof e) {
|
|
394
|
+
case "number":
|
|
395
|
+
r.kind = { case: "numberValue", value: e };
|
|
396
|
+
break;
|
|
397
|
+
case "string":
|
|
398
|
+
r.kind = { case: "stringValue", value: e };
|
|
399
|
+
break;
|
|
400
|
+
case "boolean":
|
|
401
|
+
r.kind = { case: "boolValue", value: e };
|
|
402
|
+
break;
|
|
403
|
+
case "object":
|
|
404
|
+
if (e === null)
|
|
405
|
+
r.kind = { case: "nullValue", value: _.NULL_VALUE };
|
|
406
|
+
else if (Array.isArray(e)) {
|
|
407
|
+
const t = N(C);
|
|
408
|
+
A(t, e), r.kind = { case: "listValue", value: t };
|
|
409
|
+
} else {
|
|
410
|
+
const t = N(W);
|
|
411
|
+
v(t, e), r.kind = { case: "structValue", value: t };
|
|
412
|
+
}
|
|
413
|
+
break;
|
|
414
|
+
default:
|
|
415
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON ${u(e)}`);
|
|
416
|
+
}
|
|
417
|
+
return r;
|
|
418
|
+
}
|
|
419
|
+
function A(r, e) {
|
|
420
|
+
if (!Array.isArray(e))
|
|
421
|
+
throw new Error(`cannot decode message ${r.$typeName} from JSON ${u(e)}`);
|
|
422
|
+
for (const t of e) {
|
|
423
|
+
const n = N(J);
|
|
424
|
+
h(n, t), r.values.push(n);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
export {
|
|
428
|
+
we as enumFromJson,
|
|
429
|
+
R as fromJson,
|
|
430
|
+
pe as fromJsonString,
|
|
431
|
+
ye as isEnumJson,
|
|
432
|
+
X as mergeFromJson,
|
|
433
|
+
Ne as mergeFromJsonString
|
|
434
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import "./types.js";
|
|
2
|
+
import { isMessage as t } from "./is-message.js";
|
|
3
|
+
import { create as n } from "./create.js";
|
|
4
|
+
import { clone as s } from "./clone.js";
|
|
5
|
+
import { ScalarType as x } from "./descriptors.js";
|
|
6
|
+
import { equals as f } from "./equals.js";
|
|
7
|
+
import { clearField as l, isFieldSet as J } from "./fields.js";
|
|
8
|
+
import { createFileRegistry as u, createMutableRegistry as y, createRegistry as E, maximumEdition as F, minimumEdition as S } from "./registry.js";
|
|
9
|
+
import { toBinary as B } from "./to-binary.js";
|
|
10
|
+
import { fromBinary as h, mergeFromBinary as M } from "./from-binary.js";
|
|
11
|
+
import { enumToJson as T, toJson as b, toJsonString as q } from "./to-json.js";
|
|
12
|
+
import { enumFromJson as j, fromJson as k, fromJsonString as v, isEnumJson as w, mergeFromJson as z, mergeFromJsonString as A } from "./from-json.js";
|
|
13
|
+
import { merge as D } from "./merge.js";
|
|
14
|
+
import { clearExtension as H, getExtension as K, getOption as L, hasExtension as N, hasOption as P, setExtension as Q } from "./extensions.js";
|
|
15
|
+
import { protoInt64 as V } from "./proto-int64.js";
|
|
16
|
+
export {
|
|
17
|
+
x as ScalarType,
|
|
18
|
+
H as clearExtension,
|
|
19
|
+
l as clearField,
|
|
20
|
+
s as clone,
|
|
21
|
+
n as create,
|
|
22
|
+
u as createFileRegistry,
|
|
23
|
+
y as createMutableRegistry,
|
|
24
|
+
E as createRegistry,
|
|
25
|
+
j as enumFromJson,
|
|
26
|
+
T as enumToJson,
|
|
27
|
+
f as equals,
|
|
28
|
+
h as fromBinary,
|
|
29
|
+
k as fromJson,
|
|
30
|
+
v as fromJsonString,
|
|
31
|
+
K as getExtension,
|
|
32
|
+
L as getOption,
|
|
33
|
+
N as hasExtension,
|
|
34
|
+
P as hasOption,
|
|
35
|
+
w as isEnumJson,
|
|
36
|
+
J as isFieldSet,
|
|
37
|
+
t as isMessage,
|
|
38
|
+
F as maximumEdition,
|
|
39
|
+
D as merge,
|
|
40
|
+
M as mergeFromBinary,
|
|
41
|
+
z as mergeFromJson,
|
|
42
|
+
A as mergeFromJsonString,
|
|
43
|
+
S as minimumEdition,
|
|
44
|
+
V as protoInt64,
|
|
45
|
+
Q as setExtension,
|
|
46
|
+
B as toBinary,
|
|
47
|
+
b as toJson,
|
|
48
|
+
q as toJsonString
|
|
49
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { reflect as a } from "./reflect/reflect.js";
|
|
2
|
+
function g(n, s, o) {
|
|
3
|
+
c(a(n, s), a(n, o));
|
|
4
|
+
}
|
|
5
|
+
function c(n, s) {
|
|
6
|
+
var o, t;
|
|
7
|
+
const f = s.message.$unknown;
|
|
8
|
+
f !== void 0 && f.length > 0 && ((o = (t = n.message).$unknown) !== null && o !== void 0 || (t.$unknown = []), n.message.$unknown.push(...f));
|
|
9
|
+
for (const e of n.fields)
|
|
10
|
+
if (s.isSet(e))
|
|
11
|
+
switch (e.fieldKind) {
|
|
12
|
+
case "scalar":
|
|
13
|
+
case "enum":
|
|
14
|
+
n.set(e, s.get(e));
|
|
15
|
+
break;
|
|
16
|
+
case "message":
|
|
17
|
+
n.isSet(e) ? c(n.get(e), s.get(e)) : n.set(e, s.get(e));
|
|
18
|
+
break;
|
|
19
|
+
case "list":
|
|
20
|
+
const l = n.get(e);
|
|
21
|
+
for (const i of s.get(e))
|
|
22
|
+
l.add(i);
|
|
23
|
+
break;
|
|
24
|
+
case "map":
|
|
25
|
+
const k = n.get(e);
|
|
26
|
+
for (const [i, m] of s.get(e))
|
|
27
|
+
k.set(i, m);
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
g as merge
|
|
33
|
+
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
const o = [
|
|
2
|
+
"FieldValueInvalidError",
|
|
3
|
+
"FieldListRangeError",
|
|
4
|
+
"ForeignFieldError"
|
|
5
|
+
];
|
|
1
6
|
class l extends Error {
|
|
2
|
-
constructor(
|
|
3
|
-
super(
|
|
7
|
+
constructor(e, i, n = "FieldValueInvalidError") {
|
|
8
|
+
super(i), this.name = n, this.field = () => e;
|
|
4
9
|
}
|
|
5
10
|
}
|
|
11
|
+
function d(r) {
|
|
12
|
+
return r instanceof Error && o.includes(r.name) && "field" in r && typeof r.field == "function";
|
|
13
|
+
}
|
|
6
14
|
export {
|
|
7
|
-
l as FieldError
|
|
15
|
+
l as FieldError,
|
|
16
|
+
d as isFieldError
|
|
8
17
|
};
|
|
@@ -2,34 +2,38 @@ import { unsafeLocal as f } from "./unsafe.js";
|
|
|
2
2
|
function s(e) {
|
|
3
3
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function a(e) {
|
|
6
|
+
return e !== null && typeof e == "object" && "case" in e && (typeof e.case == "string" && "value" in e && e.value != null || e.case === void 0 && (!("value" in e) || e.value === void 0));
|
|
7
|
+
}
|
|
8
|
+
function m(e, t) {
|
|
9
|
+
var d, u, l, o;
|
|
7
10
|
if (s(e) && f in e && "add" in e && "field" in e && typeof e.field == "function") {
|
|
8
11
|
if (t !== void 0) {
|
|
9
12
|
const n = t, i = e.field();
|
|
10
|
-
return n.listKind == i.listKind && n.scalar === i.scalar && ((d = n.message) === null || d === void 0 ? void 0 : d.typeName) === ((
|
|
13
|
+
return n.listKind == i.listKind && n.scalar === i.scalar && ((d = n.message) === null || d === void 0 ? void 0 : d.typeName) === ((u = i.message) === null || u === void 0 ? void 0 : u.typeName) && ((l = n.enum) === null || l === void 0 ? void 0 : l.typeName) === ((o = i.enum) === null || o === void 0 ? void 0 : o.typeName);
|
|
11
14
|
}
|
|
12
15
|
return !0;
|
|
13
16
|
}
|
|
14
17
|
return !1;
|
|
15
18
|
}
|
|
16
|
-
function
|
|
17
|
-
var d, l, o
|
|
19
|
+
function p(e, t) {
|
|
20
|
+
var d, u, l, o;
|
|
18
21
|
if (s(e) && f in e && "has" in e && "field" in e && typeof e.field == "function") {
|
|
19
22
|
if (t !== void 0) {
|
|
20
23
|
const n = t, i = e.field();
|
|
21
|
-
return n.mapKey === i.mapKey && n.mapKind == i.mapKind && n.scalar === i.scalar && ((d = n.message) === null || d === void 0 ? void 0 : d.typeName) === ((
|
|
24
|
+
return n.mapKey === i.mapKey && n.mapKind == i.mapKind && n.scalar === i.scalar && ((d = n.message) === null || d === void 0 ? void 0 : d.typeName) === ((u = i.message) === null || u === void 0 ? void 0 : u.typeName) && ((l = n.enum) === null || l === void 0 ? void 0 : l.typeName) === ((o = i.enum) === null || o === void 0 ? void 0 : o.typeName);
|
|
22
25
|
}
|
|
23
26
|
return !0;
|
|
24
27
|
}
|
|
25
28
|
return !1;
|
|
26
29
|
}
|
|
27
|
-
function
|
|
30
|
+
function v(e, t) {
|
|
28
31
|
return s(e) && f in e && "desc" in e && s(e.desc) && e.desc.kind === "message" && (t === void 0 || e.desc.typeName == t.typeName);
|
|
29
32
|
}
|
|
30
33
|
export {
|
|
31
34
|
s as isObject,
|
|
32
|
-
|
|
33
|
-
m as
|
|
34
|
-
p as
|
|
35
|
+
a as isOneofADT,
|
|
36
|
+
m as isReflectList,
|
|
37
|
+
p as isReflectMap,
|
|
38
|
+
v as isReflectMessage
|
|
35
39
|
};
|
|
@@ -1,11 +1,30 @@
|
|
|
1
|
+
function c(e) {
|
|
2
|
+
switch (e.kind) {
|
|
3
|
+
case "field":
|
|
4
|
+
case "oneof":
|
|
5
|
+
case "rpc":
|
|
6
|
+
return e.parent.typeName + "." + e.name;
|
|
7
|
+
case "enum_value": {
|
|
8
|
+
const a = e.parent.parent ? e.parent.parent.typeName : e.parent.file.proto.package;
|
|
9
|
+
return a + (a.length > 0 ? "." : "") + e.name;
|
|
10
|
+
}
|
|
11
|
+
case "service":
|
|
12
|
+
case "message":
|
|
13
|
+
case "enum":
|
|
14
|
+
case "extension":
|
|
15
|
+
return e.typeName;
|
|
16
|
+
case "file":
|
|
17
|
+
return e.proto.name;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
1
20
|
function o(e) {
|
|
2
|
-
let
|
|
3
|
-
const
|
|
4
|
-
for (let
|
|
5
|
-
let t = e.charAt(
|
|
21
|
+
let a = !1;
|
|
22
|
+
const r = [];
|
|
23
|
+
for (let n = 0; n < e.length; n++) {
|
|
24
|
+
let t = e.charAt(n);
|
|
6
25
|
switch (t) {
|
|
7
26
|
case "_":
|
|
8
|
-
|
|
27
|
+
a = !0;
|
|
9
28
|
break;
|
|
10
29
|
case "0":
|
|
11
30
|
case "1":
|
|
@@ -17,26 +36,27 @@ function o(e) {
|
|
|
17
36
|
case "7":
|
|
18
37
|
case "8":
|
|
19
38
|
case "9":
|
|
20
|
-
|
|
39
|
+
r.push(t), a = !1;
|
|
21
40
|
break;
|
|
22
41
|
default:
|
|
23
|
-
|
|
42
|
+
a && (a = !1, t = t.toUpperCase()), r.push(t);
|
|
24
43
|
break;
|
|
25
44
|
}
|
|
26
45
|
}
|
|
27
|
-
return
|
|
46
|
+
return r.join("");
|
|
28
47
|
}
|
|
29
|
-
const
|
|
48
|
+
const s = /* @__PURE__ */ new Set([
|
|
30
49
|
// names reserved by JavaScript
|
|
31
50
|
"constructor",
|
|
32
51
|
"toString",
|
|
33
52
|
"toJSON",
|
|
34
53
|
"valueOf"
|
|
35
54
|
]);
|
|
36
|
-
function
|
|
37
|
-
return
|
|
55
|
+
function p(e) {
|
|
56
|
+
return s.has(e) ? e + "$" : e;
|
|
38
57
|
}
|
|
39
58
|
export {
|
|
40
59
|
o as protoCamelCase,
|
|
41
|
-
|
|
60
|
+
c as qualifiedName,
|
|
61
|
+
p as safeObjectProperty
|
|
42
62
|
};
|