yahee-components 0.0.75 → 0.0.77
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/es/common-import/common-import.vue.js +61 -44
- package/es/common-import/props.js +4 -1
- package/es/common-import//351/207/215/345/244/215/344/270/213/345/215/225.txt +10 -0
- package/es/packages/components/api/server.js +13 -20
- package/lib/_virtual/_commonjsHelpers.js +1 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/_virtual/dayjs.min.js +1 -0
- package/lib/_virtual/dayjs.min2.js +1 -0
- package/lib/_virtual/lodash.js +1 -0
- package/lib/_virtual/lodash2.js +1 -0
- package/lib/annex-upload/annex-upload.vue.js +1 -0
- package/lib/annex-upload/annex-upload.vue2.js +1 -0
- package/lib/annex-upload/index.js +1 -0
- package/lib/annex-upload/mimeType.js +1 -0
- package/lib/api/server.js +1 -0
- package/lib/api/tool.js +1 -0
- package/lib/border-wrap/border-wrap.vue.js +6 -0
- package/lib/border-wrap/border-wrap.vue2.js +1 -0
- package/lib/border-wrap/index.js +1 -0
- package/lib/border-wrap/props.js +1 -0
- package/lib/common-import/common-import.vue.js +4 -0
- package/lib/common-import/common-import.vue2.js +1 -0
- package/lib/common-import/index.js +1 -0
- package/lib/common-import/props.js +1 -0
- package/lib/complex-search/complex-search.vue.js +1 -0
- package/lib/complex-search/complex-search.vue2.js +1 -0
- package/lib/complex-search/index.js +1 -0
- package/lib/complex-search/props.js +1 -0
- package/lib/copy/copy.vue.js +1 -0
- package/lib/copy/copy.vue2.js +1 -0
- package/lib/copy/index.js +1 -0
- package/lib/copy/props.js +1 -0
- package/lib/country-platform-shop-condition/country-platform-shop-condition.vue.js +1 -0
- package/lib/country-platform-shop-condition/country-platform-shop-condition.vue2.js +1 -0
- package/lib/country-platform-shop-condition/index.js +1 -0
- package/lib/drop-down-condition/drop-down-condition.vue.js +1 -0
- package/lib/drop-down-condition/drop-down-condition.vue2.js +1 -0
- package/lib/drop-down-condition/index.js +1 -0
- package/lib/echart-gauge/echart-gauge.vue.js +1 -0
- package/lib/echart-gauge/echart-gauge.vue2.js +1 -0
- package/lib/echart-gauge/index.js +1 -0
- package/lib/echart-gauge/props.js +1 -0
- package/lib/image-upload/image-upload.vue.js +1 -0
- package/lib/image-upload/image-upload.vue2.js +1 -0
- package/lib/image-upload/index.js +1 -0
- package/lib/index.js +1 -0
- package/lib/input/index.js +1 -0
- package/lib/input/input.vue.js +1 -0
- package/lib/input/input.vue2.js +1 -0
- package/lib/installs.js +1 -0
- package/lib/left-condition/index.js +1 -0
- package/lib/left-condition/left-condition-sub.vue.js +1 -0
- package/lib/left-condition/left-condition-sub.vue2.js +1 -0
- package/lib/left-condition/left-condition.vue.js +1 -0
- package/lib/left-condition/left-condition.vue2.js +1 -0
- package/lib/left-condition-enum/index.js +1 -0
- package/lib/left-condition-enum/left-condition-enum.vue.js +1 -0
- package/lib/left-condition-enum/left-condition-enum.vue2.js +1 -0
- package/lib/node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js +1 -0
- package/lib/node_modules/.pnpm/@vueuse_shared@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/index.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/adapters.js +3 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/fetch.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/xhr.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/axios.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CancelToken.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CanceledError.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/isCancel.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/Axios.js +2 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosError.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +2 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/InterceptorManager.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/buildFullPath.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/dispatchRequest.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/mergeConfig.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/settle.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/transformData.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/index.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/transitional.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/env/data.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/HttpStatusCode.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/bind.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/buildURL.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/combineURLs.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/composeSignals.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/cookies.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/formDataToJSON.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAxiosError.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/null.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseHeaders.js +2 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseProtocol.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/progressEventReducer.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/resolveConfig.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/speedometer.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/spread.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/throttle.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toFormData.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/trackStream.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/validator.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/Blob.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/FormData.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/index.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/common/utils.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/index.js +1 -0
- package/lib/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +1 -0
- package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/index.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/basicTransition.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicTransition.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/morphTransitionHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/universalTransition.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/installPictorialBar.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/boxplot/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/candlestick/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/candlestick/preprocessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/chord/ChordEdge.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/chord/ChordPiece.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/chord/ChordSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/chord/ChordView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/chord/chordLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/chord/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/custom/CustomSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/custom/CustomView.js +2 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/custom/customSeriesRegister.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/custom/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/effectScatter/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/funnel/FunnelView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/funnel/funnelLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/funnel/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/gauge/GaugeView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/gauge/PointerPath.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/gauge/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/GraphSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/GraphView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/adjustEdge.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/categoryFilter.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/categoryVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/circularLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/createView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/edgeVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/forceHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/forceLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/graphHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/simpleLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/heatmap/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/EffectLine.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/EffectPolyline.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/EffectSymbol.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/Line.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/LineDraw.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/LinePath.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/Polyline.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/Symbol.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/SymbolDraw.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/createSeriesData.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/labelHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/sectorHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/treeHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/line/LineSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/line/LineView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/line/helper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/line/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/line/poly.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/lines/LinesSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/lines/LinesView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/lines/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/lines/linesLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/lines/linesVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/map/MapSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/map/MapView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/map/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/map/mapDataStatistic.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/parallel/ParallelView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/parallel/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/parallel/parallelVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/pie/PieSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/pie/PieView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/pie/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/pie/labelLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/radar/RadarSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/radar/RadarView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/radar/backwardCompat.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/radar/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/radar/radarLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sankey/SankeySeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sankey/SankeyView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sankey/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/scatter/ScatterView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/scatter/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/scatter/jitterLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sunburst/SunburstView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sunburst/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/themeRiver/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/TreeSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/TreeView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/layoutHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/traversalHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/treeAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/tree/treeVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/treemap/TreemapView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/treemap/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/treemap/treemapAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/treemap/treemapLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/treemap/treemapVisual.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/aria/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/aria/preprocessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/AngleAxisView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/AxisBuilder.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/AxisView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/CartesianAxisView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/ParallelAxisView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/RadiusAxisView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/SingleAxisView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/axisAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/axisBreakHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/axisBreakHelperImpl.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/axisSplitHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/installBreak.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axis/parallelAxisAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/modelHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/axisPointer/viewHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/brush/BrushModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/brush/BrushView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/brush/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/brush/preprocessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/brush/selector.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/brush/visualEncoding.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/calendar/CalendarView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/calendar/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/helper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/history.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/installCommon.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataZoom/roams.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/dataset/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/geo/GeoView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/geo/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/graphic/GraphicModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/graphic/GraphicView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/graphic/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/grid/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/grid/installSimple.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/BrushController.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/BrushTargetManager.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/MapDraw.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/RoamController.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/brushHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/cursorHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/interactionMutex.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/listComponent.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/roamHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/sliderMove.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/helper/thumbnailBridge.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/LegendModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/LegendView.js +2 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/installLegendPlain.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/installLegendScroll.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/legendAction.js +2 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/legendFilter.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkAreaModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkAreaView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkLineModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkLineView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkPointModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkPointView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkerModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/MarkerView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/installMarkArea.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/installMarkLine.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/installMarkPoint.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/marker/markerHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/matrix/MatrixView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/matrix/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/parallel/ParallelView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/parallel/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/polar/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/radar/RadarView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/radar/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/singleAxis/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/thumbnail/ThumbnailBridgeImpl.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/thumbnail/ThumbnailModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/thumbnail/ThumbnailView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/thumbnail/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/TimelineAxis.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/TimelineModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/TimelineView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/preprocessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/timeline/timelineAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/title/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/ToolboxView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/feature/Brush.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/feature/DataView.js +18 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/feature/Restore.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/featureManager.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/toolbox/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/TooltipModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/TooltipView.js +3 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/helper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +7 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/transform/filterTransform.js +4 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/transform/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/transform/sortTransform.js +6 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/ContinuousView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/VisualMapView.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/helper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/install.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/installCommon.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/visualEncoding.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/component/visualMap/visualMapAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/Axis.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/CoordinateSystem.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/View.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/axisAlignTicks.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/axisCommonTypes.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/axisDefault.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/axisHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/axisModelCommonMixin.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/axisModelCreator.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/calendar/Calendar.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/calendar/CalendarModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/calendar/prepareCustom.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/Axis2D.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/AxisModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/Cartesian.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/Grid.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/GridModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/legacyContainLabel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/Geo.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +2 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/GeoModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +2 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/Region.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/fix/nanhai.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/fix/textCoord.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/geoCreator.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/geoSourceManager.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/geo/prepareCustom.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/matrix/Matrix.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/matrix/MatrixBodyCorner.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/matrix/MatrixDim.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/matrix/MatrixModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/matrix/matrixCoordHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/matrix/prepareCustom.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/parallel/AxisModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/parallel/Parallel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/parallel/ParallelModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/parallel/parallelCreator.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/polar/AngleAxis.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/polar/AxisModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/polar/Polar.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/polar/PolarModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/polar/RadiusAxis.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/polar/polarCreator.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/polar/prepareCustom.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/radar/Radar.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/single/AxisModel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/single/Single.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/single/SingleAxis.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/single/prepareCustom.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/single/singleAxisHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/coord/single/singleCreator.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/CoordinateSystem.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/ExtensionAPI.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/Scheduler.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/echarts.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/impl.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/lifecycle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/locale.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/core/task.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/DataDiffer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/DataStore.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/Graph.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/OrdinalMeta.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/SeriesData.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/SeriesDimensionDefine.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/Source.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/Tree.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/createDimensions.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/dataProvider.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/dataStackHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/dataValueHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/dimensionHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/linkSeriesData.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/sourceHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/sourceManager.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/data/helper/transform.js +3 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/extension.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/i18n/langEN.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/i18n/langZH.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/label/LabelManager.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/label/installLabelLayout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/label/labelGuideHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/label/labelLayoutHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/label/labelStyle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/label/sectorLabel.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/layout/barGrid.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/layout/barPolar.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/layout/points.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/legacy/dataSelectAction.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/loading/default.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/Component.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/Global.js +5 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/Model.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/OptionManager.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/Series.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/globalDefault.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/internalComponentCreator.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/mixin/areaStyle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/mixin/dataFormat.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/mixin/itemStyle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/mixin/lineStyle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/mixin/palette.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/mixin/textStyle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/model/referHelper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/preprocessor/backwardCompat.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/processor/dataFilter.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/processor/dataSample.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/processor/dataStack.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/processor/negativeDataFilter.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/renderer/installSVGRenderer.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/Interval.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/Log.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/Ordinal.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/Scale.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/Time.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/break.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/breakImpl.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/scale/helper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/theme/dark.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/ECEventProcessor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/animation.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/clazz.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/component.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/conditionalExpression.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/decal.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/event.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/format.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/graphic.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/innerStore.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/jitter.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/layout.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/log.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/model.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/number.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/shape/sausage.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/states.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/styleCompat.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/symbol.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/throttle.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/time.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/types.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/util/vendor.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/view/Chart.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/view/Component.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/LegendVisualProvider.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/VisualMapping.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/aria.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/decal.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/helper.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/style.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/symbol.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/tokens.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/visualDefault.js +1 -0
- package/lib/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/visual/visualSolution.js +1 -0
- package/lib/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +27 -0
- package/lib/node_modules/.pnpm/tslib@2.3.0/node_modules/tslib/tslib.es6.js +14 -0
- package/lib/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/Element.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/Handler.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/Storage.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/animation/Animation.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/animation/Animator.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/animation/Clip.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/animation/cubicEasing.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/animation/easing.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/animation/requestAnimationFrame.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/canvas/Layer.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/canvas/Painter.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/canvas/dashStyle.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/canvas/graphic.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/canvas/helper.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/config.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/arc.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/cubic.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/line.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/path.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/polygon.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/quadratic.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/text.js +2 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/util.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/contain/windingLine.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/BoundingRect.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/Eventful.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/GestureMgr.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/LRU.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/OrientedBoundingRect.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/PathProxy.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/Point.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/Transformable.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/WeakMap.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/bbox.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/curve.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/dom.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/env.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/event.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/fourPointsTransform.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/matrix.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/platform.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/timsort.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/util.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/vector.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/dom/HandlerProxy.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/CompoundPath.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/Displayable.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/Gradient.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/Group.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/Image.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/LinearGradient.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/Path.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/RadialGradient.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/TSpan.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/Text.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/constants.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/image.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/parseText.js +7 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/poly.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/roundRect.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/roundSector.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/smoothBezier.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Arc.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/BezierCurve.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Circle.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Ellipse.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Line.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Polygon.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Polyline.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Rect.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Ring.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Sector.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/mixin/Draggable.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/Painter.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/SVGPathRebuilder.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/core.js +3 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/cssAnimation.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/cssClassId.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/cssEmphasis.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/domapi.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/graphic.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/helper.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/mapStyleToAttrs.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/svg/patch.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/color.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/convertPath.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/dividePath.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/morphPath.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/parseSVG.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/parseXML.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/path.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/tool/transformPath.js +1 -0
- package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/zrender.js +9 -0
- package/lib/operation-log/index.js +1 -0
- package/lib/operation-log/operation-log-content.vue.js +1 -0
- package/lib/operation-log/operation-log-content.vue2.js +1 -0
- package/lib/operation-log/operation-log-dialog.vue.js +1 -0
- package/lib/operation-log/operation-log-dialog.vue2.js +1 -0
- package/lib/operation-log/operation-log-form.vue.js +1 -0
- package/lib/operation-log/operation-log-form.vue2.js +1 -0
- package/lib/operation-log/operation-log.vue.js +1 -0
- package/lib/operation-log/operation-log.vue2.js +1 -0
- package/lib/packages/components/api/common-import/index.js +1 -0
- package/lib/packages/components/api/log/index.js +1 -0
- package/lib/packages/components/api/log-server.js +1 -0
- package/lib/packages/components/api/server.js +1 -0
- package/lib/packages/components/api/tool.js +1 -0
- package/lib/packages/components/api/upload-server.js +1 -0
- package/lib/packages/components/assets/images/errorimg.png.js +1 -0
- package/lib/packages/components/assets/images/excel.png.js +1 -0
- package/lib/packages/components/assets/images/file-word.png.js +1 -0
- package/lib/packages/components/assets/images/pdf.png.js +1 -0
- package/lib/packages/components/assets/images/ppt.png.js +1 -0
- package/lib/packages/components/assets/images/vue.svg.js +1 -0
- package/lib/packages/components/hooks/useClipboard.js +1 -0
- package/lib/packages/components/hooks/useEcharts.js +1 -0
- package/lib/packages/components/hooks/useImg.js +1 -0
- package/lib/packages/components/hooks/useImgPath.js +1 -0
- package/lib/packages/components/hooks/useImport.js +1 -0
- package/lib/packages/components/hooks/useUpload.js +1 -0
- package/lib/scale-screen/index.js +1 -0
- package/lib/scale-screen/props.js +1 -0
- package/lib/scale-screen/scale-screen.vue.js +1 -0
- package/lib/scale-screen/scale-screen.vue2.js +1 -0
- package/lib/static/CommonObject.js +1 -0
- package/lib/utils/charts.js +1 -0
- package/lib/utils/config.js +1 -0
- package/lib/utils/const.js +1 -0
- package/lib/utils/get-domain-base-url.js +1 -0
- package/lib/utils/install.js +1 -0
- package/lib/utils/storage.js +1 -0
- package/lib/utils/style.js +1 -0
- package/lib/utils/translate.js +1 -0
- package/lib/yahee-components.css +1 -0
- package/package.json +46 -46
- package/readme.md +249 -249
- package/es/packages/components/api/common/index.js +0 -7
- package/types/hooks/useClipboard.d.ts +0 -7
- package/types/hooks/useEcharts.d.ts +0 -39
- package/types/hooks/useImg.d.ts +0 -10
- package/types/hooks/useImgPath.d.ts +0 -5
- package/types/hooks/useImport.d.ts +0 -11
- package/types/hooks/useUpload.d.ts +0 -12
- package/types/index.d.ts +0 -6
- package/types/src/annex-upload/annex-upload.d.ts +0 -30
- package/types/src/annex-upload/annex-upload.vue.d.ts +0 -1058
- package/types/src/annex-upload/index.d.ts +0 -621
- package/types/src/annex-upload/mimeType.d.ts +0 -2
- package/types/src/annex-upload/props.d.ts +0 -92
- package/types/src/api/server.d.ts +0 -6
- package/types/src/api/tool.d.ts +0 -6
- package/types/src/api/types.d.ts +0 -17
- package/types/src/border-wrap/border-wrap.d.ts +0 -2
- package/types/src/border-wrap/border-wrap.vue.d.ts +0 -62
- package/types/src/border-wrap/index.d.ts +0 -92
- package/types/src/border-wrap/props.d.ts +0 -33
- package/types/src/common-import/common-import.d.ts +0 -13
- package/types/src/common-import/common-import.vue.d.ts +0 -41
- package/types/src/common-import/index.d.ts +0 -106
- package/types/src/common-import/props.d.ts +0 -70
- package/types/src/complex-search/complex-search.d.ts +0 -24
- package/types/src/complex-search/complex-search.vue.d.ts +0 -3
- package/types/src/complex-search/index.d.ts +0 -7
- package/types/src/complex-search/props.d.ts +0 -75
- package/types/src/components.d.ts +0 -14
- package/types/src/copy/copy.d.ts +0 -2
- package/types/src/copy/copy.vue.d.ts +0 -22
- package/types/src/copy/index.d.ts +0 -33
- package/types/src/copy/props.d.ts +0 -19
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +0 -17
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +0 -12
- package/types/src/country-platform-shop-condition/index.d.ts +0 -16
- package/types/src/country-platform-shop-condition/props.d.ts +0 -40
- package/types/src/drop-down-condition/drop-down-condition.d.ts +0 -6
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +0 -446
- package/types/src/drop-down-condition/index.d.ts +0 -462
- package/types/src/drop-down-condition/props.d.ts +0 -67
- package/types/src/echart-gauge/echart-gauge.d.ts +0 -2
- package/types/src/echart-gauge/echart-gauge.vue.d.ts +0 -46
- package/types/src/echart-gauge/index.d.ts +0 -50
- package/types/src/echart-gauge/props.d.ts +0 -29
- package/types/src/image-upload/image-upload.d.ts +0 -26
- package/types/src/image-upload/image-upload.vue.d.ts +0 -44
- package/types/src/image-upload/index.d.ts +0 -91
- package/types/src/image-upload/props.d.ts +0 -75
- package/types/src/index.d.ts +0 -7
- package/types/src/input/index.d.ts +0 -515
- package/types/src/input/input.d.ts +0 -18
- package/types/src/input/input.vue.d.ts +0 -513
- package/types/src/installs.d.ts +0 -2619
- package/types/src/left-condition/index.d.ts +0 -139
- package/types/src/left-condition/left-condition-sub.vue.d.ts +0 -41
- package/types/src/left-condition/left-condition.d.ts +0 -5
- package/types/src/left-condition/left-condition.vue.d.ts +0 -120
- package/types/src/left-condition/props.d.ts +0 -124
- package/types/src/left-condition-enum/index.d.ts +0 -44
- package/types/src/left-condition-enum/left-condition-enum.d.ts +0 -5
- package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +0 -31
- package/types/src/left-condition-enum/props.d.ts +0 -52
- package/types/src/operation-log/index.d.ts +0 -383
- package/types/src/operation-log/operation-log-content.vue.d.ts +0 -33
- package/types/src/operation-log/operation-log-dialog.vue.d.ts +0 -39
- package/types/src/operation-log/operation-log-form.vue.d.ts +0 -28
- package/types/src/operation-log/operation-log.d.ts +0 -14
- package/types/src/operation-log/operation-log.vue.d.ts +0 -380
- package/types/src/operation-log/props.d.ts +0 -31
- package/types/src/scale-screen/index.d.ts +0 -146
- package/types/src/scale-screen/props.d.ts +0 -49
- package/types/src/scale-screen/scale-screen.d.ts +0 -2
- package/types/src/scale-screen/scale-screen.vue.d.ts +0 -94
- package/types/src/shared/hello.d.ts +0 -1
- package/types/src/shared/index.d.ts +0 -2
- package/types/src/shared/typeCheck.d.ts +0 -2
- package/types/src/shared/types/InferVueDefaults.d.ts +0 -7
- package/types/src/shared/types/index.d.ts +0 -1
- package/types/src/static/CommonObject.d.ts +0 -18
- package/types/src/static/CommonVariables.d.ts +0 -4
- package/types/src/utils/charts.d.ts +0 -16
- package/types/src/utils/config.d.ts +0 -8
- package/types/src/utils/const.d.ts +0 -19
- package/types/src/utils/functions.d.ts +0 -1
- package/types/src/utils/get-domain-base-url.d.ts +0 -1
- package/types/src/utils/infer-vue-defaults.d.ts +0 -7
- package/types/src/utils/install.d.ts +0 -8
- package/types/src/utils/storage.d.ts +0 -18
- package/types/src/utils/style.d.ts +0 -19
- package/types/src/utils/to-kebab-case.d.ts +0 -1
- package/types/src/utils/translate.d.ts +0 -5
- package/types/src/utils/typescript.d.ts +0 -5
- package/types/src/utils/vue-helpers.d.ts +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("../graphic/Displayable.js"),Q=require("../core/PathProxy.js"),C=require("../graphic/helper/image.js"),p=require("./helper.js"),W=require("../graphic/Path.js"),c=require("../graphic/Image.js"),x=require("../graphic/TSpan.js"),rr=require("../core/util.js"),K=require("./dashStyle.js"),V=require("../graphic/constants.js"),ar=require("../core/platform.js");var ir=new Q.default(!0);function S(a){var r=a.stroke;return!(r==null||r==="none"||!(a.lineWidth>0))}function q(a){return typeof a=="string"&&a!=="none"}function P(a){var r=a.fill;return r!=null&&r!=="none"}function Y(a,r){if(r.fillOpacity!=null&&r.fillOpacity!==1){var i=a.globalAlpha;a.globalAlpha=r.fillOpacity*r.opacity,a.fill(),a.globalAlpha=i}else a.fill()}function y(a,r){if(r.strokeOpacity!=null&&r.strokeOpacity!==1){var i=a.globalAlpha;a.globalAlpha=r.strokeOpacity*r.opacity,a.stroke(),a.globalAlpha=i}else a.stroke()}function H(a,r,i){var n=C.createOrUpdateImage(r.image,r.__image,i);if(C.isImageReady(n)){var f=a.createPattern(n,r.repeat||"repeat");if(typeof DOMMatrix=="function"&&f&&f.setTransform){var e=new DOMMatrix;e.translateSelf(r.x||0,r.y||0),e.rotateSelf(0,0,(r.rotation||0)*rr.RADIAN_TO_DEGREE),e.scaleSelf(r.scaleX||1,r.scaleY||1),f.setTransform(e)}return f}}function er(a,r,i,n){var f,e=S(i),o=P(i),u=i.strokePercent,t=u<1,l=!r.path;(!r.silent||t)&&l&&r.createPathProxy();var s=r.path||ir,h=r.__dirty;if(!n){var d=i.fill,_=i.stroke,E=o&&!!d.colorStops,k=e&&!!_.colorStops,R=o&&!!d.image,F=e&&!!_.image,B=void 0,O=void 0,b=void 0,T=void 0,m=void 0;(E||k)&&(m=r.getBoundingRect()),E&&(B=h?p.getCanvasGradient(a,d,m):r.__canvasFillGradient,r.__canvasFillGradient=B),k&&(O=h?p.getCanvasGradient(a,_,m):r.__canvasStrokeGradient,r.__canvasStrokeGradient=O),R&&(b=h||!r.__canvasFillPattern?H(a,d,r):r.__canvasFillPattern,r.__canvasFillPattern=b),F&&(T=h||!r.__canvasStrokePattern?H(a,_,r):r.__canvasStrokePattern,r.__canvasStrokePattern=T),E?a.fillStyle=B:R&&(b?a.fillStyle=b:o=!1),k?a.strokeStyle=O:F&&(T?a.strokeStyle=T:e=!1)}var L=r.getGlobalScale();s.setScale(L[0],L[1],r.segmentIgnoreThreshold);var D,I;a.setLineDash&&i.lineDash&&(f=K.getLineDash(r),D=f[0],I=f[1]);var M=!0;(l||h&V.SHAPE_CHANGED_BIT)&&(s.setDPR(a.dpr),t?s.setContext(null):(s.setContext(a),M=!1),s.reset(),r.buildPath(s,r.shape,n),s.toStatic(),r.pathUpdated()),M&&s.rebuildPath(a,t?u:1),D&&(a.setLineDash(D),a.lineDashOffset=I),n||(i.strokeFirst?(e&&y(a,i),o&&Y(a,i)):(o&&Y(a,i),e&&y(a,i))),D&&a.setLineDash([])}function nr(a,r,i){var n=r.__image=C.createOrUpdateImage(i.image,r.__image,r,r.onload);if(!(!n||!C.isImageReady(n))){var f=i.x||0,e=i.y||0,o=r.getWidth(),u=r.getHeight(),t=n.width/n.height;if(o==null&&u!=null?o=u*t:u==null&&o!=null?u=o/t:o==null&&u==null&&(o=n.width,u=n.height),i.sWidth&&i.sHeight){var l=i.sx||0,s=i.sy||0;a.drawImage(n,l,s,i.sWidth,i.sHeight,f,e,o,u)}else if(i.sx&&i.sy){var l=i.sx,s=i.sy,h=o-l,d=u-s;a.drawImage(n,l,s,h,d,f,e,o,u)}else a.drawImage(n,f,e,o,u)}}function fr(a,r,i){var n,f=i.text;if(f!=null&&(f+=""),f){a.font=i.font||ar.DEFAULT_FONT,a.textAlign=i.textAlign,a.textBaseline=i.textBaseline;var e=void 0,o=void 0;a.setLineDash&&i.lineDash&&(n=K.getLineDash(r),e=n[0],o=n[1]),e&&(a.setLineDash(e),a.lineDashOffset=o),i.strokeFirst?(S(i)&&a.strokeText(f,i.x,i.y),P(i)&&a.fillText(f,i.x,i.y)):(P(i)&&a.fillText(f,i.x,i.y),S(i)&&a.strokeText(f,i.x,i.y)),e&&a.setLineDash([])}}var U=["shadowBlur","shadowOffsetX","shadowOffsetY"],N=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Z(a,r,i,n,f){var e=!1;if(!n&&(i=i||{},r===i))return!1;if(n||r.opacity!==i.opacity){v(a,f),e=!0;var o=Math.max(Math.min(r.opacity,1),0);a.globalAlpha=isNaN(o)?A.DEFAULT_COMMON_STYLE.opacity:o}(n||r.blend!==i.blend)&&(e||(v(a,f),e=!0),a.globalCompositeOperation=r.blend||A.DEFAULT_COMMON_STYLE.blend);for(var u=0;u<U.length;u++){var t=U[u];(n||r[t]!==i[t])&&(e||(v(a,f),e=!0),a[t]=a.dpr*(r[t]||0))}return(n||r.shadowColor!==i.shadowColor)&&(e||(v(a,f),e=!0),a.shadowColor=r.shadowColor||A.DEFAULT_COMMON_STYLE.shadowColor),e}function X(a,r,i,n,f){var e=g(r,f.inHover),o=n?null:i&&g(i,f.inHover)||{};if(e===o)return!1;var u=Z(a,e,o,n,f);if((n||e.fill!==o.fill)&&(u||(v(a,f),u=!0),q(e.fill)&&(a.fillStyle=e.fill)),(n||e.stroke!==o.stroke)&&(u||(v(a,f),u=!0),q(e.stroke)&&(a.strokeStyle=e.stroke)),(n||e.opacity!==o.opacity)&&(u||(v(a,f),u=!0),a.globalAlpha=e.opacity==null?1:e.opacity),r.hasStroke()){var t=e.lineWidth,l=t/(e.strokeNoScale&&r.getLineScale?r.getLineScale():1);a.lineWidth!==l&&(u||(v(a,f),u=!0),a.lineWidth=l)}for(var s=0;s<N.length;s++){var h=N[s],d=h[0];(n||e[d]!==o[d])&&(u||(v(a,f),u=!0),a[d]=e[d]||h[1])}return u}function tr(a,r,i,n,f){return Z(a,g(r,f.inHover),i&&g(i,f.inHover),n,f)}function z(a,r){var i=r.transform,n=a.dpr||1;i?a.setTransform(n*i[0],n*i[1],n*i[2],n*i[3],n*i[4],n*i[5]):a.setTransform(n,0,0,n,0,0)}function or(a,r,i){for(var n=!1,f=0;f<a.length;f++){var e=a[f];n=n||e.isZeroArea(),z(r,e),r.beginPath(),e.buildPath(r,e.shape),r.clip()}i.allClipped=n}function ur(a,r){return a&&r?a[0]!==r[0]||a[1]!==r[1]||a[2]!==r[2]||a[3]!==r[3]||a[4]!==r[4]||a[5]!==r[5]:!(!a&&!r)}var G=1,$=2,j=3,J=4;function sr(a){var r=P(a),i=S(a);return!(a.lineDash||!(+r^+i)||r&&typeof a.fill!="string"||i&&typeof a.stroke!="string"||a.strokePercent<1||a.strokeOpacity<1||a.fillOpacity<1)}function v(a,r){r.batchFill&&a.fill(),r.batchStroke&&a.stroke(),r.batchFill="",r.batchStroke=""}function g(a,r){return r&&a.__hoverStyle||a.style}function lr(a,r){w(a,r,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function w(a,r,i,n){var f=r.transform;if(!r.shouldBePainted(i.viewWidth,i.viewHeight,!1,!1)){r.__dirty&=~V.REDRAW_BIT,r.__isRendered=!1;return}var e=r.__clipPaths,o=i.prevElClipPaths,u=!1,t=!1;if((!o||p.isClipPathChanged(e,o))&&(o&&o.length&&(v(a,i),a.restore(),t=u=!0,i.prevElClipPaths=null,i.allClipped=!1,i.prevEl=null),e&&e.length&&(v(a,i),a.save(),or(e,a,i),u=!0),i.prevElClipPaths=e),i.allClipped){r.__isRendered=!1;return}r.beforeBrush&&r.beforeBrush(),r.innerBeforeBrush();var l=i.prevEl;l||(t=u=!0);var s=r instanceof W.default&&r.autoBatch&&sr(r.style);u||ur(f,l.transform)?(v(a,i),z(a,r)):s||v(a,i);var h=g(r,i.inHover);r instanceof W.default?(i.lastDrawType!==G&&(t=!0,i.lastDrawType=G),X(a,r,l,t,i),(!s||!i.batchFill&&!i.batchStroke)&&a.beginPath(),er(a,r,h,s),s&&(i.batchFill=h.fill||"",i.batchStroke=h.stroke||"")):r instanceof x.default?(i.lastDrawType!==j&&(t=!0,i.lastDrawType=j),X(a,r,l,t,i),fr(a,r,h)):r instanceof c.default?(i.lastDrawType!==$&&(t=!0,i.lastDrawType=$),tr(a,r,l,t,i),nr(a,r,h)):r.getTemporalDisplayables&&(i.lastDrawType!==J&&(t=!0,i.lastDrawType=J),hr(a,r,i)),s&&n&&v(a,i),r.innerAfterBrush(),r.afterBrush&&r.afterBrush(),i.prevEl=r,r.__dirty=0,r.__isRendered=!0}function hr(a,r,i){var n=r.getDisplayables(),f=r.getTemporalDisplayables();a.save();var e={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:i.viewWidth,viewHeight:i.viewHeight,inHover:i.inHover},o,u;for(o=r.getCursor(),u=n.length;o<u;o++){var t=n[o];t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush(),w(a,t,e,o===u-1),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t}for(var l=0,s=f.length;l<s;l++){var t=f[l];t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush(),w(a,t,e,l===s-1),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t}r.clearTemporalDisplayables(),r.notClear=!0,a.restore()}exports.brush=w;exports.brushSingle=lr;exports.createCanvasPattern=H;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function g(e){return isFinite(e)}function v(e,a,n){var r=a.x==null?0:a.x,i=a.x2==null?1:a.x2,l=a.y==null?0:a.y,t=a.y2==null?0:a.y2;a.global||(r=r*n.width+n.x,i=i*n.width+n.x,l=l*n.height+n.y,t=t*n.height+n.y),r=g(r)?r:0,i=g(i)?i:1,l=g(l)?l:0,t=g(t)?t:0;var u=e.createLinearGradient(r,l,i,t);return u}function h(e,a,n){var r=n.width,i=n.height,l=Math.min(r,i),t=a.x==null?.5:a.x,u=a.y==null?.5:a.y,d=a.r==null?.5:a.r;a.global||(t=t*r+n.x,u=u*i+n.y,d=d*l),t=g(t)?t:.5,u=g(u)?u:.5,d=d>=0&&g(d)?d:.5;var y=e.createRadialGradient(t,u,0,t,u,d);return y}function o(e,a,n){for(var r=a.type==="radial"?h(e,a,n):v(e,a,n),i=a.colorStops,l=0;l<i.length;l++)r.addColorStop(i[l].offset,i[l].color);return r}function G(e,a){if(e===a||!e&&!a)return!1;if(!e||!a||e.length!==a.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==a[n])return!0;return!1}function f(e){return parseInt(e,10)}function s(e,a,n){var r=["width","height"][a],i=["clientWidth","clientHeight"][a],l=["paddingLeft","paddingTop"][a],t=["paddingRight","paddingBottom"][a];if(n[r]!=null&&n[r]!=="auto")return parseFloat(n[r]);var u=document.defaultView.getComputedStyle(e);return(e[i]||f(u[r])||f(e.style[r]))-(f(u[l])||0)-(f(u[t])||0)|0}exports.createLinearGradient=v;exports.createRadialGradient=h;exports.getCanvasGradient=o;exports.getSize=s;exports.isClipPathChanged=G;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("./core/env.js");var e=1;L.hasGlobalWindow&&(e=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var i=e,O=.4,R="#333",a="#ccc",r="#eee";exports.DARK_LABEL_COLOR=R;exports.DARK_MODE_THRESHOLD=O;exports.LIGHTER_LABEL_COLOR=r;exports.LIGHT_LABEL_COLOR=a;exports.devicePixelRatio=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./util.js");var o=Math.PI*2;function h(z,R,c,i,a,S,v,u,f){if(v===0)return!1;var m=v;u-=z,f-=R;var M=Math.sqrt(u*u+f*f);if(M-m>c||M+m<c)return!1;if(Math.abs(i-a)%o<1e-4)return!0;if(S){var b=i;i=t.normalizeRadian(a),a=t.normalizeRadian(b)}else i=t.normalizeRadian(i),a=t.normalizeRadian(a);i>a&&(a+=o);var r=Math.atan2(f,u);return r<0&&(r+=o),r>=i&&r<=a||r+o>=i&&r+o<=a}exports.containStroke=h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../core/curve.js");function b(n,o,u,c,i,a,l,f,s,e,t){if(s===0)return!1;var r=s;if(t>o+r&&t>c+r&&t>a+r&&t>f+r||t<o-r&&t<c-r&&t<a-r&&t<f-r||e>n+r&&e>u+r&&e>i+r&&e>l+r||e<n-r&&e<u-r&&e<i-r&&e<l-r)return!1;var v=S.cubicProjectPoint(n,o,u,c,i,a,l,f,e,t,null);return v<=r/2}exports.containStroke=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(e,o,t,u,i,a,n){if(i===0)return!1;var r=i,f=0,s=e;if(n>o+r&&n>u+r||n<o-r&&n<u-r||a>e+r&&a>t+r||a<e-r&&a<t-r)return!1;if(e!==t)f=(o-u)/(e-t),s=(e*u-t*o)/(e-t);else return Math.abs(a-e)<=r/2;var l=f*a-n+s,v=l*l/(f*f+1);return v<=r/2*r/2}exports.containStroke=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("../core/PathProxy.js"),O=require("./line.js"),J=require("./cubic.js"),K=require("./quadratic.js"),U=require("./arc.js"),R=require("../core/curve.js"),L=require("./windingLine.js");var p=H.default.CMD,d=Math.PI*2,V=1e-4;function X(q,u){return Math.abs(q-u)<V}var P=[-1,-1,-1],S=[-1,-1];function Y(){var q=S[0];S[0]=S[1],S[1]=q}function $(q,u,M,e,o,r,I,f,n,v){if(v>u&&v>e&&v>r&&v>f||v<u&&v<e&&v<r&&v<f)return 0;var c=R.cubicRootAt(u,e,r,f,v,P);if(c===0)return 0;for(var t=0,b=-1,s=void 0,a=void 0,k=0;k<c;k++){var C=P[k],i=C===0||C===1?.5:1,D=R.cubicAt(q,M,o,I,C);D<n||(b<0&&(b=R.cubicExtrema(u,e,r,f,S),S[1]<S[0]&&b>1&&Y(),s=R.cubicAt(u,e,r,f,S[0]),b>1&&(a=R.cubicAt(u,e,r,f,S[1]))),b===2?C<S[0]?t+=s<u?i:-i:C<S[1]?t+=a<s?i:-i:t+=f<a?i:-i:C<S[0]?t+=s<u?i:-i:t+=f<s?i:-i)}return t}function w(q,u,M,e,o,r,I,f){if(f>u&&f>e&&f>r||f<u&&f<e&&f<r)return 0;var n=R.quadraticRootAt(u,e,r,f,P);if(n===0)return 0;var v=R.quadraticExtremum(u,e,r);if(v>=0&&v<=1){for(var c=0,t=R.quadraticAt(u,e,r,v),b=0;b<n;b++){var s=P[b]===0||P[b]===1?.5:1,a=R.quadraticAt(q,M,o,P[b]);a<I||(P[b]<v?c+=t<u?s:-s:c+=r<t?s:-s)}return c}else{var s=P[0]===0||P[0]===1?.5:1,a=R.quadraticAt(q,M,o,P[0]);return a<I?0:r<u?s:-s}}function F(q,u,M,e,o,r,I,f){if(f-=u,f>M||f<-M)return 0;var n=Math.sqrt(M*M-f*f);P[0]=-n,P[1]=n;var v=Math.abs(e-o);if(v<1e-4)return 0;if(v>=d-1e-4){e=0,o=d;var c=r?1:-1;return I>=P[0]+q&&I<=P[1]+q?c:0}if(e>o){var t=e;e=o,o=t}e<0&&(e+=d,o+=d);for(var b=0,s=0;s<2;s++){var a=P[s];if(a+q>I){var k=Math.atan2(f,a),c=r?1:-1;k<0&&(k=d+k),(k>=e&&k<=o||k+d>=e&&k+d<=o)&&(k>Math.PI/2&&k<Math.PI*1.5&&(c=-c),b+=c)}}return b}function z(q,u,M,e,o){for(var r=q.data,I=q.len(),f=0,n=0,v=0,c=0,t=0,b,s,a=0;a<I;){var k=r[a++],C=a===1;switch(k===p.M&&a>1&&(M||(f+=L(n,v,c,t,e,o))),C&&(n=r[a],v=r[a+1],c=n,t=v),k){case p.M:c=r[a++],t=r[a++],n=c,v=t;break;case p.L:if(M){if(O.containStroke(n,v,r[a],r[a+1],u,e,o))return!0}else f+=L(n,v,r[a],r[a+1],e,o)||0;n=r[a++],v=r[a++];break;case p.C:if(M){if(J.containStroke(n,v,r[a++],r[a++],r[a++],r[a++],r[a],r[a+1],u,e,o))return!0}else f+=$(n,v,r[a++],r[a++],r[a++],r[a++],r[a],r[a+1],e,o)||0;n=r[a++],v=r[a++];break;case p.Q:if(M){if(K.containStroke(n,v,r[a++],r[a++],r[a],r[a+1],u,e,o))return!0}else f+=w(n,v,r[a++],r[a++],r[a],r[a+1],e,o)||0;n=r[a++],v=r[a++];break;case p.A:var i=r[a++],D=r[a++],E=r[a++],Q=r[a++],m=r[a++],j=r[a++];a+=1;var N=!!(1-r[a++]);b=Math.cos(m)*E+i,s=Math.sin(m)*Q+D,C?(c=b,t=s):f+=L(n,v,b,s,e,o);var Z=(e-i)*Q/E+i;if(M){if(U.containStroke(i,D,Q,m,m+j,N,u,Z,o))return!0}else f+=F(i,D,Q,m,m+j,N,Z,o);n=Math.cos(m+j)*E+i,v=Math.sin(m+j)*Q+D;break;case p.R:c=n=r[a++],t=v=r[a++];var B=r[a++],G=r[a++];if(b=c+B,s=t+G,M){if(O.containStroke(c,t,b,t,u,e,o)||O.containStroke(b,t,b,s,u,e,o)||O.containStroke(b,s,c,s,u,e,o)||O.containStroke(c,s,c,t,u,e,o))return!0}else f+=L(b,t,b,s,e,o),f+=L(c,s,c,t,e,o);break;case p.Z:if(M){if(O.containStroke(n,v,c,t,u,e,o))return!0}else f+=L(n,v,c,t,e,o);n=c,v=t;break}}return!M&&!X(v,t)&&(f+=L(n,v,c,t,e,o)||0),f!==0}function T(q,u,M){return z(q,0,!1,u,M)}function h(q,u,M,e){return z(q,u,!0,M,e)}exports.contain=T;exports.containStroke=h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./windingLine.js");var v=1e-8;function f(e,n){return Math.abs(e-n)<v}function l(e,n,o){var t=0,r=e[0];if(!r)return!1;for(var u=1;u<e.length;u++){var i=e[u];t+=c(r[0],r[1],i[0],i[1],n,o),r=i}var a=e[0];return(!f(r[0],a[0])||!f(r[1],a[1]))&&(t+=c(r[0],r[1],a[0],a[1],n,o)),t!==0}exports.contain=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../core/curve.js");function v(n,o,u,a,c,i,l,e,t){if(l===0)return!1;var r=l;if(t>o+r&&t>a+r&&t>i+r||t<o-r&&t<a-r&&t<i-r||e>n+r&&e>u+r&&e>c+r||e<n-r&&e<u-r&&e<c-r)return!1;var f=s.quadraticProjectPoint(n,o,u,a,c,i,e,t,null);return f<=r/2}exports.containStroke=v;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../core/BoundingRect.js"),v=require("../core/LRU.js"),o=require("../core/platform.js");function W(e){g||(g=new v.default(100)),e=e||o.DEFAULT_FONT;var t=g.get(e);return t||(t={font:e,strWidthCache:new v.default(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:o.platformApi.measureText("国",e).width,asciiCharWidth:o.platformApi.measureText("a",e).width},g.put(e,t)),t}var g;function L(e){if(!(p>=T)){e=e||o.DEFAULT_FONT;for(var t=[],a=+new Date,r=0;r<=127;r++)t[r]=o.platformApi.measureText(String.fromCharCode(r),e).width;var i=+new Date-a;return i>16?p=T:i>2&&p++,t}}var p=0,T=5;function x(e,t){return e.asciiWidthMapTried||(e.asciiWidthMap=L(e.font),e.asciiWidthMapTried=!0),0<=t&&t<=127?e.asciiWidthMap!=null?e.asciiWidthMap[t]:e.asciiCharWidth:e.stWideCharWidth}function C(e,t){var a=e.strWidthCache,r=a.get(t);return r==null&&(r=o.platformApi.measureText(t,e.font).width,a.put(t,r)),r}function f(e,t,a,r){var i=C(W(t),e),l=A(t),s=k(0,i,a),c=w(0,l,r),n=new b.default(s,c,i,l);return n}function _(e,t,a,r){var i=((e||"")+"").split(`
|
|
2
|
+
`),l=i.length;if(l===1)return f(i[0],t,a,r);for(var s=new b.default(0,0,0,0),c=0;c<i.length;c++){var n=f(i[c],t,a,r);c===0?s.copy(n):s.union(n)}return s}function k(e,t,a,r){return a==="right"?r?e+=t:e-=t:a==="center"&&(r?e+=t/2:e-=t/2),e}function w(e,t,a,r){return a==="middle"?r?e+=t/2:e-=t/2:a==="bottom"&&(r?e+=t:e-=t),e}function A(e){return W(e).stWideCharWidth}function m(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function F(e,t,a){var r=t.position||"inside",i=t.distance!=null?t.distance:5,l=a.height,s=a.width,c=l/2,n=a.x,d=a.y,h="left",u="top";if(r instanceof Array)n+=m(r[0],a.width),d+=m(r[1],a.height),h=null,u=null;else switch(r){case"left":n-=i,d+=c,h="right",u="middle";break;case"right":n+=i+s,d+=c,u="middle";break;case"top":n+=s/2,d-=i,h="center",u="bottom";break;case"bottom":n+=s/2,d+=l+i,h="center";break;case"inside":n+=s/2,d+=c,h="center",u="middle";break;case"insideLeft":n+=i,d+=c,u="middle";break;case"insideRight":n+=s-i,d+=c,h="right",u="middle";break;case"insideTop":n+=s/2,d+=i,h="center";break;case"insideBottom":n+=s/2,d+=l-i,h="center",u="bottom";break;case"insideTopLeft":n+=i,d+=i;break;case"insideTopRight":n+=s-i,d+=i,h="right";break;case"insideBottomLeft":n+=i,d+=l-i,u="bottom";break;case"insideBottomRight":n+=s-i,d+=l-i,h="right",u="bottom";break}return e=e||{},e.x=n,e.y=d,e.align=h,e.verticalAlign=u,e}exports.adjustTextX=k;exports.adjustTextY=w;exports.calculateTextPosition=F;exports.ensureFontMeasureInfo=W;exports.getBoundingRect=_;exports.getLineHeight=A;exports.innerGetBoundingRect=f;exports.measureCharWidth=x;exports.measureWidth=C;exports.parsePercent=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=Math.PI*2;function t(i){return i%=r,i<0&&(i+=r),i}exports.normalizeRadian=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function v(e,r,s,i,f,n){if(n>r&&n>i||n<r&&n<i||i===r)return 0;var t=(n-r)/(i-r),u=i<r?1:-1;(t===1||t===0)&&(u=i<r?.5:-.5);var a=t*(s-e)+e;return a===f?1/0:a>f?u:0}module.exports=v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const F=require("./matrix.js"),x=require("./Point.js");var p=Math.min,M=Math.max,q=Math.abs,V=["x","y"],O=["width","height"],u=new x,c=new x,w=new x,T=new x,o=N(),_=o.minTv,z=o.maxTv,D=[0,0],B=function(){function e(i,n,t,r){e.set(this,i,n,t,r)}return e.set=function(i,n,t,r,h){return r<0&&(n=n+r,r=-r),h<0&&(t=t+h,h=-h),i.x=n,i.y=t,i.width=r,i.height=h,i},e.prototype.union=function(i){var n=p(i.x,this.x),t=p(i.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=M(i.x+i.width,this.x+this.width)-n:this.width=i.width,isFinite(this.y)&&isFinite(this.height)?this.height=M(i.y+i.height,this.y+this.height)-t:this.height=i.height,this.x=n,this.y=t},e.prototype.applyTransform=function(i){e.applyTransform(this,this,i)},e.prototype.calculateTransform=function(i){var n=this,t=i.width/n.width,r=i.height/n.height,h=F.create();return F.translate(h,h,[-n.x,-n.y]),F.scale(h,h,[t,r]),F.translate(h,h,[i.x,i.y]),h},e.prototype.intersect=function(i,n,t){return e.intersect(this,i,n,t)},e.intersect=function(i,n,t,r){t&&x.set(t,0,0);var h=r&&r.outIntersectRect||null,s=r&&r.clamp;if(h&&(h.x=h.y=h.width=h.height=NaN),!i||!n)return!1;i instanceof e||(i=e.set(X,i.x,i.y,i.width,i.height)),n instanceof e||(n=e.set(Y,n.x,n.y,n.width,n.height));var y=!!t;o.reset(r,y);var a=o.touchThreshold,f=i.x+a,d=i.x+i.width-a,v=i.y+a,m=i.y+i.height-a,l=n.x+a,g=n.x+n.width-a,C=n.y+a,S=n.y+n.height-a;if(f>d||v>m||l>g||C>S)return!1;var P=!(d<l||g<f||m<C||S<v);return(y||h)&&(D[0]=1/0,D[1]=0,A(f,d,l,g,0,y,h,s),A(v,m,C,S,1,y,h,s),y&&x.copy(t,P?o.useDir?o.dirMinTv:_:z)),P},e.contain=function(i,n,t){return n>=i.x&&n<=i.x+i.width&&t>=i.y&&t<=i.y+i.height},e.prototype.contain=function(i,n){return e.contain(this,i,n)},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(i){e.copy(this,i)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(i){return new e(i.x,i.y,i.width,i.height)},e.copy=function(i,n){return i.x=n.x,i.y=n.y,i.width=n.width,i.height=n.height,i},e.applyTransform=function(i,n,t){if(!t){i!==n&&e.copy(i,n);return}if(t[1]<1e-5&&t[1]>-1e-5&&t[2]<1e-5&&t[2]>-1e-5){var r=t[0],h=t[3],s=t[4],y=t[5];i.x=n.x*r+s,i.y=n.y*h+y,i.width=n.width*r,i.height=n.height*h,i.width<0&&(i.x+=i.width,i.width=-i.width),i.height<0&&(i.y+=i.height,i.height=-i.height);return}u.x=w.x=n.x,u.y=T.y=n.y,c.x=T.x=n.x+n.width,c.y=w.y=n.y+n.height,u.transform(t),T.transform(t),c.transform(t),w.transform(t),i.x=p(u.x,c.x,w.x,T.x),i.y=p(u.y,c.y,w.y,T.y);var a=M(u.x,c.x,w.x,T.x),f=M(u.y,c.y,w.y,T.y);i.width=a-i.x,i.height=f-i.y},e}(),X=new B(0,0,0,0),Y=new B(0,0,0,0);function A(e,i,n,t,r,h,s,y){var a=q(i-n),f=q(t-e),d=p(a,f),v=V[r],m=V[1-r],l=O[r];i<n||t<e?a<f?(h&&(z[v]=-a),y&&(s[v]=i,s[l]=0)):(h&&(z[v]=f),y&&(s[v]=e,s[l]=0)):(s&&(s[v]=M(e,n),s[l]=p(i,t)-s[v]),h&&(d<D[0]||o.useDir)&&(D[0]=p(d,D[0]),(a<f||!o.bidirectional)&&(_[v]=a,_[m]=0,o.useDir&&o.calcDirMTV()),(a>=f||!o.bidirectional)&&(_[v]=-f,_[m]=0,o.useDir&&o.calcDirMTV())))}function N(){var e=0,i=new x,n=new x,t={minTv:new x,maxTv:new x,useDir:!1,dirMinTv:new x,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(h,s){t.touchThreshold=0,h&&h.touchThreshold!=null&&(t.touchThreshold=M(0,h.touchThreshold)),t.negativeSize=!1,s&&(t.minTv.set(1/0,1/0),t.maxTv.set(0,0),t.useDir=!1,h&&h.direction!=null&&(t.useDir=!0,t.dirMinTv.copy(t.minTv),n.copy(t.minTv),e=h.direction,t.bidirectional=h.bidirectional==null||!!h.bidirectional,t.bidirectional||i.set(Math.cos(e),Math.sin(e))))},calcDirMTV:function(){var h=t.minTv,s=t.dirMinTv,y=h.y*h.y+h.x*h.x,a=Math.sin(e),f=Math.cos(e),d=a*h.y+f*h.x;if(r(d)){r(h.x)&&r(h.y)&&s.set(0,0);return}if(n.x=y*f/d,n.y=y*a/d,r(n.x)&&r(n.y)){s.set(0,0);return}(t.bidirectional||i.dot(n)>0)&&n.len()<s.len()&&s.copy(n)}};function r(h){return q(h)<1e-10}return t}exports.createIntersectContext=N;exports.default=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var c=function(){function u(r){r&&(this._$eventProcessor=r)}return u.prototype.on=function(r,t,a,i){this._$handlers||(this._$handlers={});var s=this._$handlers;if(typeof t=="function"&&(i=a,a=t,t=null),!a||!r)return this;var f=this._$eventProcessor;t!=null&&f&&f.normalizeQuery&&(t=f.normalizeQuery(t)),s[r]||(s[r]=[]);for(var h=0;h<s[r].length;h++)if(s[r][h].h===a)return this;var o={h:a,query:t,ctx:i||this,callAtLast:a.zrEventfulCallAtLast},l=s[r].length-1,n=s[r][l];return n&&n.callAtLast?s[r].splice(l,0,o):s[r].push(o),this},u.prototype.isSilent=function(r){var t=this._$handlers;return!t||!t[r]||!t[r].length},u.prototype.off=function(r,t){var a=this._$handlers;if(!a)return this;if(!r)return this._$handlers={},this;if(t){if(a[r]){for(var i=[],s=0,f=a[r].length;s<f;s++)a[r][s].h!==t&&i.push(a[r][s]);a[r]=i}a[r]&&a[r].length===0&&delete a[r]}else delete a[r];return this},u.prototype.trigger=function(r){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(!this._$handlers)return this;var i=this._$handlers[r],s=this._$eventProcessor;if(i)for(var f=t.length,h=i.length,o=0;o<h;o++){var l=i[o];if(!(s&&s.filter&&l.query!=null&&!s.filter(r,l.query)))switch(f){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return s&&s.afterTrigger&&s.afterTrigger(r),this},u.prototype.triggerWithContext=function(r){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(!this._$handlers)return this;var i=this._$handlers[r],s=this._$eventProcessor;if(i)for(var f=t.length,h=t[f-1],o=i.length,l=0;l<o;l++){var n=i[l];if(!(s&&s.filter&&n.query!=null&&!s.filter(r,n.query)))switch(f){case 0:n.h.call(h);break;case 1:n.h.call(h,t[0]);break;case 2:n.h.call(h,t[0],t[1]);break;default:n.h.apply(h,t.slice(1,f-1));break}}return s&&s.afterTrigger&&s.afterTrigger(r),this},u}();module.exports=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./event.js");var p=function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,n){var o=t.touches;if(o){for(var c={points:[],touches:[],target:e,event:t},u=0,f=o.length;u<f;u++){var h=o[u],s=g.clientToLocal(n,h,{});c.points.push([s.zrX,s.zrY]),c.touches.push(h)}this._track.push(c)}},r.prototype._recognize=function(t){for(var e in i)if(i.hasOwnProperty(e)){var n=i[e](this._track,t);if(n)return n}},r}();function a(r){var t=r[1][0]-r[0][0],e=r[1][1]-r[0][1];return Math.sqrt(t*t+e*e)}function v(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var i={pinch:function(r,t){var e=r.length;if(e){var n=(r[e-1]||{}).points,o=(r[e-2]||{}).points||n;if(o&&o.length>1&&n&&n.length>1){var c=a(n)/a(o);!isFinite(c)&&(c=1),t.pinchScale=c;var u=v(n);return t.pinchX=u[0],t.pinchY=u[1],{type:"pinch",target:r[0].target,event:t}}}}};exports.GestureMgr=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var o=function(){function e(t){this.value=t}return e}(),h=function(){function e(){this._len=0}return e.prototype.insert=function(t){var i=new o(t);return this.insertEntry(i),i},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var i=t.prev,n=t.next;i?i.next=n:this.head=n,n?n.prev=i:this.tail=i,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),p=function(){function e(t){this._list=new h,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,i){var n=this._list,s=this._map,a=null;if(s[t]==null){var u=n.len(),r=this._lastRemovedEntry;if(u>=this._maxSize&&u>0){var l=n.head;n.remove(l),delete s[l.key],a=l.value,this._lastRemovedEntry=l}r?r.value=i:r=new o(i),r.key=t,n.insertEntry(r),s[t]=r}return a},e.prototype.get=function(t){var i=this._map[t],n=this._list;if(i!=null)return i!==n.tail&&(n.remove(i),n.insertEntry(i)),i.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();exports.Entry=o;exports.LinkedList=h;exports.default=p;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/OrientedBoundingRect.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const h=require("./Point.js"),M=require("./BoundingRect.js");var d=Math.min,m=Math.max,_=Math.abs,f=[0,0],u=[0,0],n=M.createIntersectContext(),l=n.minTv,g=n.maxTv,T=function(){function x(t,s){this._corners=[],this._axes=[],this._origin=[0,0];for(var e=0;e<4;e++)this._corners[e]=new h;for(var e=0;e<2;e++)this._axes[e]=new h;t&&this.fromBoundingRect(t,s)}return x.prototype.fromBoundingRect=function(t,s){var e=this._corners,i=this._axes,a=t.x,v=t.y,c=a+t.width,o=v+t.height;if(e[0].set(a,v),e[1].set(c,v),e[2].set(c,o),e[3].set(a,o),s)for(var r=0;r<4;r++)e[r].transform(s);h.sub(i[0],e[1],e[0]),h.sub(i[1],e[3],e[0]),i[0].normalize(),i[1].normalize();for(var r=0;r<2;r++)this._origin[r]=i[r].dot(e[0])},x.prototype.intersect=function(t,s,e){var i=!0,a=!s;return s&&h.set(s,0,0),n.reset(e,!a),!this._intersectCheckOneSide(this,t,a,1)&&(i=!1,a)||!this._intersectCheckOneSide(t,this,a,-1)&&(i=!1,a)||!a&&!n.negativeSize&&h.copy(s,i?n.useDir?n.dirMinTv:l:g),i},x.prototype._intersectCheckOneSide=function(t,s,e,i){for(var a=!0,v=0;v<2;v++){var c=t._axes[v];if(t._getProjMinMaxOnAxis(v,t._corners,f),t._getProjMinMaxOnAxis(v,s._corners,u),n.negativeSize||f[1]<u[0]||f[0]>u[1]){if(a=!1,n.negativeSize||e)return a;var o=_(u[0]-f[1]),r=_(f[0]-u[1]);d(o,r)>g.len()&&(o<r?h.scale(g,c,-o*i):h.scale(g,c,r*i))}else if(!e){var o=_(u[0]-f[1]),r=_(f[0]-u[1]);(n.useDir||d(o,r)<l.len())&&((o<r||!n.bidirectional)&&(h.scale(l,c,o*i),n.useDir&&n.calcDirMTV()),(o>=r||!n.bidirectional)&&(h.scale(l,c,-r*i),n.useDir&&n.calcDirMTV()))}}return a},x.prototype._getProjMinMaxOnAxis=function(t,s,e){for(var i=this._axes[t],a=this._origin,v=s[0].dot(i)+a[t],c=v,o=v,r=1;r<s.length;r++){var p=s[r].dot(i)+a[t];c=d(p,c),o=m(p,o)}e[0]=c+n.touchThreshold,e[1]=o-n.touchThreshold,n.negativeSize=e[1]<e[0]},x}();module.exports=T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const pt=require("./vector.js"),yt=require("./BoundingRect.js"),ct=require("../config.js"),$=require("./bbox.js"),G=require("./curve.js");var h={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},X=[],Z=[],M=[],x=[],S=[],C=[],nt=Math.min,st=Math.max,V=Math.cos,Y=Math.sin,k=Math.abs,ht=Math.PI,w=ht*2,vt=typeof Float32Array<"u",tt=[];function ot(v){var t=Math.round(v/ht*1e8)/1e8;return t%2*ht}function dt(v,t){var r=ot(v[0]);r<0&&(r+=w);var a=r-v[0],i=v[1];i+=a,!t&&i-r>=w?i=r+w:t&&r-i>=w?i=r-w:!t&&r>i?i=r+(w-ot(r-i)):t&&r<i&&(i=r-(w-ot(i-r))),v[0]=r,v[1]=i}var mt=function(){function v(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return v.prototype.increaseVersion=function(){this._version++},v.prototype.getVersion=function(){return this._version},v.prototype.setScale=function(t,r,a){a=a||0,a>0&&(this._ux=k(a/ct.devicePixelRatio/t)||0,this._uy=k(a/ct.devicePixelRatio/r)||0)},v.prototype.setDPR=function(t){this.dpr=t},v.prototype.setContext=function(t){this._ctx=t},v.prototype.getContext=function(){return this._ctx},v.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},v.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},v.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(h.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},v.prototype.lineTo=function(t,r){var a=k(t-this._xi),i=k(r-this._yi),n=a>this._ux||i>this._uy;if(this.addData(h.L,t,r),this._ctx&&n&&this._ctx.lineTo(t,r),n)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var e=a*a+i*i;e>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=e)}return this},v.prototype.bezierCurveTo=function(t,r,a,i,n,e){return this._drawPendingPt(),this.addData(h.C,t,r,a,i,n,e),this._ctx&&this._ctx.bezierCurveTo(t,r,a,i,n,e),this._xi=n,this._yi=e,this},v.prototype.quadraticCurveTo=function(t,r,a,i){return this._drawPendingPt(),this.addData(h.Q,t,r,a,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,a,i),this._xi=a,this._yi=i,this},v.prototype.arc=function(t,r,a,i,n,e){this._drawPendingPt(),tt[0]=i,tt[1]=n,dt(tt,e),i=tt[0],n=tt[1];var u=n-i;return this.addData(h.A,t,r,a,a,i,u,0,e?0:1),this._ctx&&this._ctx.arc(t,r,a,i,n,e),this._xi=V(n)*a+t,this._yi=Y(n)*a+r,this},v.prototype.arcTo=function(t,r,a,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,a,i,n),this},v.prototype.rect=function(t,r,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,a,i),this.addData(h.R,t,r,a,i),this},v.prototype.closePath=function(){this._drawPendingPt(),this.addData(h.Z);var t=this._ctx,r=this._x0,a=this._y0;return t&&t.closePath(),this._xi=r,this._yi=a,this},v.prototype.fill=function(t){t&&t.fill(),this.toStatic()},v.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},v.prototype.len=function(){return this._len},v.prototype.setData=function(t){if(this._saveData){var r=t.length;!(this.data&&this.data.length===r)&&vt&&(this.data=new Float32Array(r));for(var a=0;a<r;a++)this.data[a]=t[a];this._len=r}},v.prototype.appendPath=function(t){if(this._saveData){t instanceof Array||(t=[t]);for(var r=t.length,a=0,i=this._len,n=0;n<r;n++)a+=t[n].len();var e=this.data;if(vt&&(e instanceof Float32Array||!e)&&(this.data=new Float32Array(i+a),i>0&&e))for(var u=0;u<i;u++)this.data[u]=e[u];for(var n=0;n<r;n++)for(var P=t[n].data,u=0;u<P.length;u++)this.data[i++]=P[u];this._len=i}},v.prototype.addData=function(t,r,a,i,n,e,u,P,d){if(this._saveData){var _=this.data;this._len+arguments.length>_.length&&(this._expandData(),_=this.data);for(var c=0;c<arguments.length;c++)_[this._len++]=arguments[c]}},v.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},v.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},v.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,vt&&this._len>11&&(this.data=new Float32Array(t)))}},v.prototype.getBoundingRect=function(){M[0]=M[1]=S[0]=S[1]=Number.MAX_VALUE,x[0]=x[1]=C[0]=C[1]=-Number.MAX_VALUE;var t=this.data,r=0,a=0,i=0,n=0,e;for(e=0;e<this._len;){var u=t[e++],P=e===1;switch(P&&(r=t[e],a=t[e+1],i=r,n=a),u){case h.M:r=i=t[e++],a=n=t[e++],S[0]=i,S[1]=n,C[0]=i,C[1]=n;break;case h.L:$.fromLine(r,a,t[e],t[e+1],S,C),r=t[e++],a=t[e++];break;case h.C:$.fromCubic(r,a,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],S,C),r=t[e++],a=t[e++];break;case h.Q:$.fromQuadratic(r,a,t[e++],t[e++],t[e],t[e+1],S,C),r=t[e++],a=t[e++];break;case h.A:var d=t[e++],_=t[e++],c=t[e++],s=t[e++],m=t[e++],D=t[e++]+m;e+=1;var L=!t[e++];P&&(i=V(m)*c+d,n=Y(m)*s+_),$.fromArc(d,_,c,s,m,D,L,S,C),r=V(D)*c+d,a=Y(D)*s+_;break;case h.R:i=r=t[e++],n=a=t[e++];var f=t[e++],y=t[e++];$.fromLine(i,n,i+f,n+y,S,C);break;case h.Z:r=i,a=n;break}pt.min(M,M,S),pt.max(x,x,C)}return e===0&&(M[0]=M[1]=x[0]=x[1]=0),new yt.default(M[0],M[1],x[0]-M[0],x[1]-M[1])},v.prototype._calculateLength=function(){var t=this.data,r=this._len,a=this._ux,i=this._uy,n=0,e=0,u=0,P=0;this._pathSegLen||(this._pathSegLen=[]);for(var d=this._pathSegLen,_=0,c=0,s=0;s<r;){var m=t[s++],D=s===1;D&&(n=t[s],e=t[s+1],u=n,P=e);var L=-1;switch(m){case h.M:n=u=t[s++],e=P=t[s++];break;case h.L:{var f=t[s++],y=t[s++],l=f-n,T=y-e;(k(l)>a||k(T)>i||s===r-1)&&(L=Math.sqrt(l*l+T*T),n=f,e=y);break}case h.C:{var E=t[s++],O=t[s++],f=t[s++],y=t[s++],o=t[s++],H=t[s++];L=G.cubicLength(n,e,E,O,f,y,o,H,10),n=o,e=H;break}case h.Q:{var E=t[s++],O=t[s++],f=t[s++],y=t[s++];L=G.quadraticLength(n,e,E,O,f,y,10),n=f,e=y;break}case h.A:var I=t[s++],U=t[s++],z=t[s++],p=t[s++],b=t[s++],J=t[s++],q=J+b;s+=1,D&&(u=V(b)*z+I,P=Y(b)*p+U),L=st(z,p)*nt(w,Math.abs(J)),n=V(q)*z+I,e=Y(q)*p+U;break;case h.R:{u=n=t[s++],P=e=t[s++];var Q=t[s++],R=t[s++];L=Q*2+R*2;break}case h.Z:{var l=u-n,T=P-e;L=Math.sqrt(l*l+T*T),n=u,e=P;break}}L>=0&&(d[c++]=L,_+=L)}return this._pathLen=_,_},v.prototype.rebuildPath=function(t,r){var a=this.data,i=this._ux,n=this._uy,e=this._len,u,P,d,_,c,s,m=r<1,D,L,f=0,y=0,l,T=0,E,O;if(!(m&&(this._pathSegLen||this._calculateLength(),D=this._pathSegLen,L=this._pathLen,l=r*L,!l)))t:for(var o=0;o<e;){var H=a[o++],I=o===1;switch(I&&(d=a[o],_=a[o+1],u=d,P=_),H!==h.L&&T>0&&(t.lineTo(E,O),T=0),H){case h.M:u=d=a[o++],P=_=a[o++],t.moveTo(d,_);break;case h.L:{c=a[o++],s=a[o++];var U=k(c-d),z=k(s-_);if(U>i||z>n){if(m){var p=D[y++];if(f+p>l){var b=(l-f)/p;t.lineTo(d*(1-b)+c*b,_*(1-b)+s*b);break t}f+=p}t.lineTo(c,s),d=c,_=s,T=0}else{var J=U*U+z*z;J>T&&(E=c,O=s,T=J)}break}case h.C:{var q=a[o++],Q=a[o++],R=a[o++],A=a[o++],et=a[o++],it=a[o++];if(m){var p=D[y++];if(f+p>l){var b=(l-f)/p;G.cubicSubdivide(d,q,R,et,b,X),G.cubicSubdivide(_,Q,A,it,b,Z),t.bezierCurveTo(X[1],Z[1],X[2],Z[2],X[3],Z[3]);break t}f+=p}t.bezierCurveTo(q,Q,R,A,et,it),d=et,_=it;break}case h.Q:{var q=a[o++],Q=a[o++],R=a[o++],A=a[o++];if(m){var p=D[y++];if(f+p>l){var b=(l-f)/p;G.quadraticSubdivide(d,q,R,b,X),G.quadraticSubdivide(_,Q,A,b,Z),t.quadraticCurveTo(X[1],Z[1],X[2],Z[2]);break t}f+=p}t.quadraticCurveTo(q,Q,R,A),d=R,_=A;break}case h.A:var at=a[o++],rt=a[o++],F=a[o++],N=a[o++],j=a[o++],ft=a[o++],lt=a[o++],ut=!a[o++],Pt=F>N?F:N,bt=k(F-N)>.001,K=j+ft,_t=!1;if(m){var p=D[y++];f+p>l&&(K=j+ft*(l-f)/p,_t=!0),f+=p}if(bt&&t.ellipse?t.ellipse(at,rt,F,N,lt,j,K,ut):t.arc(at,rt,Pt,j,K,ut),_t)break t;I&&(u=V(j)*F+at,P=Y(j)*N+rt),d=V(K)*F+at,_=Y(K)*N+rt;break;case h.R:u=d=a[o],P=_=a[o+1],c=a[o++],s=a[o++];var B=a[o++],W=a[o++];if(m){var p=D[y++];if(f+p>l){var g=l-f;t.moveTo(c,s),t.lineTo(c+nt(g,B),s),g-=B,g>0&&t.lineTo(c+B,s+nt(g,W)),g-=W,g>0&&t.lineTo(c+st(B-g,0),s+W),g-=B,g>0&&t.lineTo(c,s+st(W-g,0));break t}f+=p}t.rect(c,s,B,W);break;case h.Z:if(m){var p=D[y++];if(f+p>l){var b=(l-f)/p;t.lineTo(d*(1-b)+u*b,_*(1-b)+P*b);break t}f+=p}t.closePath(),d=u,_=P}}},v.prototype.clone=function(){var t=new v,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},v.prototype.canSave=function(){return!!this._saveData},v.CMD=h,v.initDefaultProps=function(){var t=v.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),v}();exports.default=mt;exports.normalizeArcAngles=dt;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o=function(){function i(t,n){this.x=t||0,this.y=n||0}return i.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},i.prototype.clone=function(){return new i(this.x,this.y)},i.prototype.set=function(t,n){return this.x=t,this.y=n,this},i.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},i.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},i.prototype.scale=function(t){this.x*=t,this.y*=t},i.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},i.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},i.prototype.dot=function(t){return this.x*t.x+this.y*t.y},i.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},i.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},i.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},i.prototype.distance=function(t){var n=this.x-t.x,y=this.y-t.y;return Math.sqrt(n*n+y*y)},i.prototype.distanceSquare=function(t){var n=this.x-t.x,y=this.y-t.y;return n*n+y*y},i.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},i.prototype.transform=function(t){if(t){var n=this.x,y=this.y;return this.x=t[0]*n+t[2]*y+t[4],this.y=t[1]*n+t[3]*y+t[5],this}},i.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},i.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},i.set=function(t,n,y){t.x=n,t.y=y},i.copy=function(t,n){t.x=n.x,t.y=n.y},i.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},i.lenSquare=function(t){return t.x*t.x+t.y*t.y},i.dot=function(t,n){return t.x*n.x+t.y*n.y},i.add=function(t,n,y){t.x=n.x+y.x,t.y=n.y+y.y},i.sub=function(t,n,y){t.x=n.x-y.x,t.y=n.y-y.y},i.scale=function(t,n,y){t.x=n.x*y,t.y=n.y*y},i.scaleAndAdd=function(t,n,y,r){t.x=n.x+y.x*r,t.y=n.y+y.y*r},i.lerp=function(t,n,y,r){var s=1-r;t.x=s*n.x+r*y.x,t.y=s*n.y+r*y.y},i}();module.exports=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./matrix.js"),k=require("./vector.js");var S=s.identity,g=5e-5;function f(a){return a>g||a<-g}var c=[],h=[],l=s.create(),v=Math.abs,L=function(){function a(){}return a.prototype.getLocalTransform=function(r){return a.getLocalTransform(this,r)},a.prototype.setPosition=function(r){this.x=r[0],this.y=r[1]},a.prototype.setScale=function(r){this.scaleX=r[0],this.scaleY=r[1]},a.prototype.setSkew=function(r){this.skewX=r[0],this.skewY=r[1]},a.prototype.setOrigin=function(r){this.originX=r[0],this.originY=r[1]},a.prototype.needLocalTransform=function(){return f(this.rotation)||f(this.x)||f(this.y)||f(this.scaleX-1)||f(this.scaleY-1)||f(this.skewX)||f(this.skewY)},a.prototype.updateTransform=function(){var r=this.parent&&this.parent.transform,t=this.needLocalTransform(),o=this.transform;if(!(t||r)){o&&(S(o),this.invTransform=null);return}o=o||s.create(),t?this.getLocalTransform(o):S(o),r&&(t?s.mul(o,r,o):s.copy(o,r)),this.transform=o,this._resolveGlobalScaleRatio(o)},a.prototype._resolveGlobalScaleRatio=function(r){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(c);var o=c[0]<0?-1:1,n=c[1]<0?-1:1,i=((c[0]-o)*t+o)/c[0]||0,e=((c[1]-n)*t+n)/c[1]||0;r[0]*=i,r[1]*=i,r[2]*=e,r[3]*=e}this.invTransform=this.invTransform||s.create(),s.invert(this.invTransform,r)},a.prototype.getComputedTransform=function(){for(var r=this,t=[];r;)t.push(r),r=r.parent;for(;r=t.pop();)r.updateTransform();return this.transform},a.prototype.setLocalTransform=function(r){if(r){var t=r[0]*r[0]+r[1]*r[1],o=r[2]*r[2]+r[3]*r[3],n=Math.atan2(r[1],r[0]),i=Math.PI/2+n-Math.atan2(r[3],r[2]);o=Math.sqrt(o)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+r[4],this.y=+r[5],this.scaleX=t,this.scaleY=o,this.originX=0,this.originY=0}},a.prototype.decomposeTransform=function(){if(this.transform){var r=this.parent,t=this.transform;r&&r.transform&&(r.invTransform=r.invTransform||s.create(),s.mul(h,r.invTransform,t),t=h);var o=this.originX,n=this.originY;(o||n)&&(l[4]=o,l[5]=n,s.mul(h,t,l),h[4]-=o,h[5]-=n,t=h),this.setLocalTransform(t)}},a.prototype.getGlobalScale=function(r){var t=this.transform;return r=r||[],t?(r[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),r[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(r[0]=-r[0]),t[3]<0&&(r[1]=-r[1]),r):(r[0]=1,r[1]=1,r)},a.prototype.transformCoordToLocal=function(r,t){var o=[r,t],n=this.invTransform;return n&&k.applyTransform(o,o,n),o},a.prototype.transformCoordToGlobal=function(r,t){var o=[r,t],n=this.transform;return n&&k.applyTransform(o,o,n),o},a.prototype.getLineScale=function(){var r=this.transform;return r&&v(r[0]-1)>1e-10&&v(r[3]-1)>1e-10?Math.sqrt(v(r[0]*r[3]-r[2]*r[1])):1},a.prototype.copyTransform=function(r){M(this,r)},a.getLocalTransform=function(r,t){t=t||[];var o=r.originX||0,n=r.originY||0,i=r.scaleX,e=r.scaleY,u=r.anchorX,T=r.anchorY,y=r.rotation||0,d=r.x,b=r.y,m=r.skewX?Math.tan(r.skewX):0,X=r.skewY?Math.tan(-r.skewY):0;if(o||n||u||T){var Y=o+u,w=n+T;t[4]=-Y*i-m*w*e,t[5]=-w*e-X*Y*i}else t[4]=t[5]=0;return t[0]=i,t[3]=e,t[1]=X*i,t[2]=m*e,y&&s.rotate(t,t,y),t[4]+=o+d,t[5]+=n+b,t},a.initDefaultProps=function(){var r=a.prototype;r.scaleX=r.scaleY=r.globalScaleRatio=1,r.x=r.y=r.originX=r.originY=r.skewX=r.skewY=r.rotation=r.anchorX=r.anchorY=0}(),a}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function M(a,r){for(var t=0;t<p.length;t++){var o=p[t];a[o]=r[o]}}exports.TRANSFORMABLE_PROPS=p;exports.copyTransform=M;exports.default=L;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var i=Math.round(Math.random()*9),o=typeof Object.defineProperty=="function",u=function(){function e(){this._id="__ec_inner_"+i++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return o?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}();module.exports=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./vector.js"),j=require("./curve.js");var b=Math.min,I=Math.max,O=Math.sin,T=Math.cos,C=Math.PI*2,D=S.create(),L=S.create(),Q=S.create();function G(a,c,u){if(a.length!==0){for(var t=a[0],r=t[0],v=t[0],M=t[1],i=t[1],f=1;f<a.length;f++)t=a[f],r=b(r,t[0]),v=I(v,t[0]),M=b(M,t[1]),i=I(i,t[1]);c[0]=r,c[1]=M,u[0]=v,u[1]=i}}function H(a,c,u,t,r,v){r[0]=b(a,u),r[1]=b(c,t),v[0]=I(a,u),v[1]=I(c,t)}var B=[],F=[];function J(a,c,u,t,r,v,M,i,f,o){var P=j.cubicExtrema,E=j.cubicAt,q=P(a,u,r,M,B);f[0]=1/0,f[1]=1/0,o[0]=-1/0,o[1]=-1/0;for(var h=0;h<q;h++){var p=E(a,u,r,M,B[h]);f[0]=b(p,f[0]),o[0]=I(p,o[0])}q=P(c,t,v,i,F);for(var h=0;h<q;h++){var z=E(c,t,v,i,F[h]);f[1]=b(z,f[1]),o[1]=I(z,o[1])}f[0]=b(a,f[0]),o[0]=I(a,o[0]),f[0]=b(M,f[0]),o[0]=I(M,o[0]),f[1]=b(c,f[1]),o[1]=I(c,o[1]),f[1]=b(i,f[1]),o[1]=I(i,o[1])}function K(a,c,u,t,r,v,M,i){var f=j.quadraticExtremum,o=j.quadraticAt,P=I(b(f(a,u,r),1),0),E=I(b(f(c,t,v),1),0),q=o(a,u,r,P),h=o(c,t,v,E);M[0]=b(a,r,q),M[1]=b(c,v,h),i[0]=I(a,r,q),i[1]=I(c,v,h)}function N(a,c,u,t,r,v,M,i,f){var o=S.min,P=S.max,E=Math.abs(r-v);if(E%C<1e-4&&E>1e-4){i[0]=a-u,i[1]=c-t,f[0]=a+u,f[1]=c+t;return}if(D[0]=T(r)*u+a,D[1]=O(r)*t+c,L[0]=T(v)*u+a,L[1]=O(v)*t+c,o(i,D,L),P(f,D,L),r=r%C,r<0&&(r=r+C),v=v%C,v<0&&(v=v+C),r>v&&!M?v+=C:r<v&&M&&(r+=C),M){var q=v;v=r,r=q}for(var h=0;h<v;h+=Math.PI/2)h>r&&(Q[0]=T(h)*u+a,Q[1]=O(h)*t+c,o(i,Q,i),P(f,Q,f))}exports.fromArc=N;exports.fromCubic=J;exports.fromLine=H;exports.fromPoints=G;exports.fromQuadratic=K;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./vector.js");var m=Math.pow,j=Math.sqrt,T=1e-8,B=1e-4,Z=j(3),O=1/3,I=g.create(),P=g.create(),N=g.create();function L(a){return a>-T&&a<T}function Q(a){return a>T||a<-T}function E(a,i,u,f,v){var r=1-v;return r*r*(r*a+3*v*i)+v*v*(v*f+3*r*u)}function z(a,i,u,f,v){var r=1-v;return 3*(((i-a)*r+2*(u-i)*v)*r+(f-u)*v*v)}function F(a,i,u,f,v,r){var e=f+3*(i-u)-a,t=3*(u-i*2+a),b=3*(i-a),n=a-v,d=t*t-3*e*b,c=t*b-9*e*n,o=b*b-3*t*n,q=0;if(L(d)&&L(c))if(L(t))r[0]=0;else{var l=-b/t;l>=0&&l<=1&&(r[q++]=l)}else{var s=c*c-4*d*o;if(L(s)){var A=c/d,l=-t/e+A,h=-A/2;l>=0&&l<=1&&(r[q++]=l),h>=0&&h<=1&&(r[q++]=h)}else if(s>0){var S=j(s),R=d*t+1.5*e*(-c+S),D=d*t+1.5*e*(-c-S);R<0?R=-m(-R,O):R=m(R,O),D<0?D=-m(-D,O):D=m(D,O);var l=(-t-(R+D))/(3*e);l>=0&&l<=1&&(r[q++]=l)}else{var U=(2*d*t-3*e*c)/(2*j(d*d*d)),k=Math.acos(U)/3,w=j(d),C=Math.cos(k),l=(-t-2*w*C)/(3*e),h=(-t+w*(C+Z*Math.sin(k)))/(3*e),H=(-t+w*(C-Z*Math.sin(k)))/(3*e);l>=0&&l<=1&&(r[q++]=l),h>=0&&h<=1&&(r[q++]=h),H>=0&&H<=1&&(r[q++]=H)}}return q}function G(a,i,u,f,v){var r=6*u-12*i+6*a,e=9*i+3*f-3*a-9*u,t=3*i-3*a,b=0;if(L(e)){if(Q(r)){var n=-t/r;n>=0&&n<=1&&(v[b++]=n)}}else{var d=r*r-4*e*t;if(L(d))v[0]=-r/(2*e);else if(d>0){var c=j(d),n=(-r+c)/(2*e),o=(-r-c)/(2*e);n>=0&&n<=1&&(v[b++]=n),o>=0&&o<=1&&(v[b++]=o)}}return b}function J(a,i,u,f,v,r){var e=(i-a)*v+a,t=(u-i)*v+i,b=(f-u)*v+u,n=(t-e)*v+e,d=(b-t)*v+t,c=(d-n)*v+n;r[0]=a,r[1]=e,r[2]=n,r[3]=c,r[4]=c,r[5]=d,r[6]=b,r[7]=f}function V(a,i,u,f,v,r,e,t,b,n,d){var c,o=.005,q=1/0,l,s,A,h;I[0]=b,I[1]=n;for(var S=0;S<1;S+=.05)P[0]=E(a,u,v,e,S),P[1]=E(i,f,r,t,S),A=g.distSquare(I,P),A<q&&(c=S,q=A);q=1/0;for(var R=0;R<32&&!(o<B);R++)l=c-o,s=c+o,P[0]=E(a,u,v,e,l),P[1]=E(i,f,r,t,l),A=g.distSquare(P,I),l>=0&&A<q?(c=l,q=A):(N[0]=E(a,u,v,e,s),N[1]=E(i,f,r,t,s),h=g.distSquare(N,I),s<=1&&h<q?(c=s,q=h):o*=.5);return d&&(d[0]=E(a,u,v,e,c),d[1]=E(i,f,r,t,c)),j(q)}function W(a,i,u,f,v,r,e,t,b){for(var n=a,d=i,c=0,o=1/b,q=1;q<=b;q++){var l=q*o,s=E(a,u,v,e,l),A=E(i,f,r,t,l),h=s-n,S=A-d;c+=Math.sqrt(h*h+S*S),n=s,d=A}return c}function M(a,i,u,f){var v=1-f;return v*(v*a+2*f*i)+f*f*u}function X(a,i,u,f){return 2*((1-f)*(i-a)+f*(u-i))}function $(a,i,u,f,v){var r=a-2*i+u,e=2*(i-a),t=a-f,b=0;if(L(r)){if(Q(e)){var n=-t/e;n>=0&&n<=1&&(v[b++]=n)}}else{var d=e*e-4*r*t;if(L(d)){var n=-e/(2*r);n>=0&&n<=1&&(v[b++]=n)}else if(d>0){var c=j(d),n=(-e+c)/(2*r),o=(-e-c)/(2*r);n>=0&&n<=1&&(v[b++]=n),o>=0&&o<=1&&(v[b++]=o)}}return b}function K(a,i,u){var f=a+u-2*i;return f===0?.5:(a-i)/f}function _(a,i,u,f,v){var r=(i-a)*f+a,e=(u-i)*f+i,t=(e-r)*f+r;v[0]=a,v[1]=r,v[2]=t,v[3]=t,v[4]=e,v[5]=u}function Y(a,i,u,f,v,r,e,t,b){var n,d=.005,c=1/0;I[0]=e,I[1]=t;for(var o=0;o<1;o+=.05){P[0]=M(a,u,v,o),P[1]=M(i,f,r,o);var q=g.distSquare(I,P);q<c&&(n=o,c=q)}c=1/0;for(var l=0;l<32&&!(d<B);l++){var s=n-d,A=n+d;P[0]=M(a,u,v,s),P[1]=M(i,f,r,s);var q=g.distSquare(P,I);if(s>=0&&q<c)n=s,c=q;else{N[0]=M(a,u,v,A),N[1]=M(i,f,r,A);var h=g.distSquare(N,I);A<=1&&h<c?(n=A,c=h):d*=.5}}return b&&(b[0]=M(a,u,v,n),b[1]=M(i,f,r,n)),j(c)}function p(a,i,u,f,v,r,e){for(var t=a,b=i,n=0,d=1/e,c=1;c<=e;c++){var o=c*d,q=M(a,u,v,o),l=M(i,f,r,o),s=q-t,A=l-b;n+=Math.sqrt(s*s+A*A),t=q,b=l}return n}exports.cubicAt=E;exports.cubicDerivativeAt=z;exports.cubicExtrema=G;exports.cubicLength=W;exports.cubicProjectPoint=V;exports.cubicRootAt=F;exports.cubicSubdivide=J;exports.quadraticAt=M;exports.quadraticDerivativeAt=X;exports.quadraticExtremum=K;exports.quadraticLength=p;exports.quadraticProjectPoint=Y;exports.quadraticRootAt=$;exports.quadraticSubdivide=_;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./env.js"),h=require("./fourPointsTransform.js"),E=require("./util.js");var d="___zrEVENTSAVED",l=[];function b(t,r,o,n,e){return p(l,r,n,e,!0)&&p(t,o,l[0],l[1])}function M(t,r){t&&o(t),r&&o(r);function o(n){var e=n[d];e&&(e.clearMarkers&&e.clearMarkers(),delete n[d])}}function p(t,r,o,n,e){if(r.getBoundingClientRect&&T.domSupported&&!g(r)){var a=r[d]||(r[d]={}),s=S(r,a),i=L(s,a,e);if(i)return i(t,o,n),!0}return!1}function S(t,r){var o=r.markers;if(o)return o;o=r.markers=[];for(var n=["left","right"],e=["top","bottom"],a=0;a<4;a++){var s=document.createElement("div"),i=s.style,c=a%2,u=(a>>1)%2;i.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[c]+":0",e[u]+":0",n[1-c]+":auto",e[1-u]+":auto",""].join("!important;"),t.appendChild(s),o.push(s)}return r.clearMarkers=function(){E.each(o,function(f){f.parentNode&&f.parentNode.removeChild(f)})},o}function L(t,r,o){for(var n=o?"invTrans":"trans",e=r[n],a=r.srcCoords,s=[],i=[],c=!0,u=0;u<4;u++){var f=t[u].getBoundingClientRect(),v=2*u,C=f.left,m=f.top;s.push(C,m),c=c&&a&&C===a[v]&&m===a[v+1],i.push(t[u].offsetLeft,t[u].offsetTop)}return c&&e?e:(r.srcCoords=s,r[n]=o?h.buildTransformer(i,s):h.buildTransformer(s,i))}function g(t){return t.nodeName.toUpperCase()==="CANVAS"}var N=/([&<>"'])/g,V={"&":"&","<":"<",">":">",'"':""","'":"'"};function _(t){return t==null?"":(t+"").replace(N,function(r,o){return V[o]})}exports.encodeHTML=_;exports.isCanvasEl=g;exports.transformCoordWithViewport=p;exports.transformLocalCoord=b;exports.transformLocalCoordClear=M;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var p=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),u=function(){function t(){this.browser=new p,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return t}(),o=new u;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(o.wxa=!0,o.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?o.worker=!0:!o.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(o.node=!0,o.svgSupported=!0):w(navigator.userAgent,o);function w(t,r){var e=r.browser,s=t.match(/Firefox\/([\d.]+)/),d=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),i=t.match(/Edge?\/([\d.]+)/),f=/micromessenger/i.test(t);s&&(e.firefox=!0,e.version=s[1]),d&&(e.ie=!0,e.version=d[1]),i&&(e.edge=!0,e.version=i[1],e.newEdge=+i[1].split(".")[0]>18),f&&(e.weChat=!0),r.svgSupported=typeof SVGRect<"u",r.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,r.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11);var a=r.domSupported=typeof document<"u";if(a){var n=document.documentElement.style;r.transform3dSupported=(e.ie&&"transition"in n||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in n)&&!("OTransition"in n),r.transformSupported=r.transform3dSupported||e.ie&&+e.version>=9}}module.exports=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./env.js"),u=require("./dom.js");var h=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l=[],p=s.browser.firefox&&+s.browser.version.split(".")[0]<39;function f(e,t,r,n){return r=r||{},n?c(e,t,r):p&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):c(e,t,r),r}function c(e,t,r){if(s.domSupported&&e.getBoundingClientRect){var n=t.clientX,a=t.clientY;if(u.isCanvasEl(e)){var i=e.getBoundingClientRect();r.zrX=n-i.left,r.zrY=a-i.top;return}else if(u.transformCoordWithViewport(l,e,n,a)){r.zrX=l[0],r.zrY=l[1];return}}r.zrX=r.zrY=0}function d(e){return e||window.event}function X(e,t,r){if(t=d(t),t.zrX!=null)return t;var n=t.type,a=n&&n.indexOf("touch")>=0;if(a){var v=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];v&&f(e,v,t,r)}else{f(e,t,t,r);var i=g(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var o=t.button;return t.which==null&&o!==void 0&&h.test(t.type)&&(t.which=o&1?1:o&2?3:o&4?2:0),t}function g(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var a=Math.abs(n!==0?n:r),i=n>0?-1:n<0?1:r>0?-1:1;return 3*a*i}function E(e,t,r,n){e.addEventListener(t,r,n)}function z(e,t,r,n){e.removeEventListener(t,r,n)}var w=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function Y(e){return e.which===2||e.which===3}exports.addEventListener=E;exports.clientToLocal=f;exports.getNativeEvent=d;exports.isMiddleOrRightButtonOnMouseUpDown=Y;exports.normalizeEvent=X;exports.removeEventListener=z;exports.stop=w;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/core/fourPointsTransform.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var T=Math.log(2);function R(u,v,l,m,b,n){var a=m+"-"+b,f=u.length;if(n.hasOwnProperty(a))return n[a];if(v===1){var y=Math.round(Math.log((1<<f)-1&~b)/T);return u[l][y]}for(var g=m|1<<l,h=l+1;m&1<<h;)h++;for(var i=0,p=0,e=0;p<f;p++){var O=1<<p;O&b||(i+=(e%2?-1:1)*u[l][p]*R(u,v-1,h,g,b|O,n),e++)}return n[a]=i,i}function A(u,v){var l=[[u[0],u[1],1,0,0,0,-v[0]*u[0],-v[0]*u[1]],[0,0,0,u[0],u[1],1,-v[1]*u[0],-v[1]*u[1]],[u[2],u[3],1,0,0,0,-v[2]*u[2],-v[2]*u[3]],[0,0,0,u[2],u[3],1,-v[3]*u[2],-v[3]*u[3]],[u[4],u[5],1,0,0,0,-v[4]*u[4],-v[4]*u[5]],[0,0,0,u[4],u[5],1,-v[5]*u[4],-v[5]*u[5]],[u[6],u[7],1,0,0,0,-v[6]*u[6],-v[6]*u[7]],[0,0,0,u[6],u[7],1,-v[7]*u[6],-v[7]*u[7]]],m={},b=R(l,8,0,0,0,m);if(b!==0){for(var n=[],a=0;a<8;a++)for(var f=0;f<8;f++)n[f]==null&&(n[f]=0),n[f]+=((a+f)%2?-1:1)*R(l,7,a===0?1:0,1<<a,1<<f,m)/b*v[a];return function(y,g,h){var i=g*n[6]+h*n[7]+1;y[0]=(g*n[0]+h*n[1]+n[2])/i,y[1]=(g*n[3]+h*n[4]+n[5])/i}}}exports.buildTransformer=A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(){return[1,0,0,1,0,0]}function x(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function b(r,n){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4],r[5]=n[5],r}function M(r,n,e){var a=n[0]*e[0]+n[2]*e[1],v=n[1]*e[0]+n[3]*e[1],i=n[0]*e[2]+n[2]*e[3],l=n[1]*e[2]+n[3]*e[3],f=n[0]*e[4]+n[2]*e[5]+n[4],c=n[1]*e[4]+n[3]*e[5]+n[5];return r[0]=a,r[1]=v,r[2]=i,r[3]=l,r[4]=f,r[5]=c,r}function g(r,n,e){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4]+e[0],r[5]=n[5]+e[1],r}function h(r,n,e,a){a===void 0&&(a=[0,0]);var v=n[0],i=n[2],l=n[4],f=n[1],c=n[3],d=n[5],s=Math.sin(e),y=Math.cos(e);return r[0]=v*y+f*s,r[1]=-v*s+f*y,r[2]=i*y+c*s,r[3]=-i*s+y*c,r[4]=y*(l-a[0])+s*(d-a[1])+a[0],r[5]=y*(d-a[1])-s*(l-a[0])+a[1],r}function S(r,n,e){var a=e[0],v=e[1];return r[0]=n[0]*a,r[1]=n[1]*v,r[2]=n[2]*a,r[3]=n[3]*v,r[4]=n[4]*a,r[5]=n[5]*v,r}function j(r,n){var e=n[0],a=n[2],v=n[4],i=n[1],l=n[3],f=n[5],c=e*l-i*a;return c?(c=1/c,r[0]=l*c,r[1]=-i*c,r[2]=-a*c,r[3]=e*c,r[4]=(a*f-l*v)*c,r[5]=(i*v-e*f)*c,r):null}function O(r){var n=t();return b(n,r),n}exports.clone=O;exports.copy=b;exports.create=t;exports.identity=x;exports.invert=j;exports.mul=M;exports.rotate=h;exports.scale=S;exports.translate=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=12,_="sans-serif",v=o+"px "+_,A=20,l=100,E="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function i(a){var L={};if(typeof JSON>"u")return L;for(var r=0;r<a.length;r++){var e=String.fromCharCode(r+32),n=(a.charCodeAt(r)-A)/l;L[e]=n}return L}var c=i(E),f={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var a,L;return function(r,e){if(!a){var n=f.createCanvas();a=n&&n.getContext("2d")}if(a)return L!==e&&(L=a.font=e||v),a.measureText(r);r=r||"",e=e||v;var u=/((?:\d+)?\.?\d*)px/.exec(e),t=u&&+u[1]||o,F=0;if(e.indexOf("mono")>=0)F=t*r.length;else for(var T=0;T<r.length;T++){var d=c[r[T]];F+=d==null?t:d*t}return{width:F}}}(),loadImage:function(a,L,r){var e=new Image;return e.onload=L,e.onerror=r,e.src=a,e}};exports.DEFAULT_FONT=v;exports.DEFAULT_FONT_FAMILY=_;exports.DEFAULT_FONT_SIZE=o;exports.DEFAULT_TEXT_WIDTH_MAP=c;exports.platformApi=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var j=32,H=7;function J(f){for(var w=0;f>=j;)w|=f&1,f>>=1;return f+w}function C(f,w,s,E){var u=w+1;if(u===s)return 1;if(E(f[u++],f[w])<0){for(;u<s&&E(f[u],f[u-1])<0;)u++;K(f,w,u)}else for(;u<s&&E(f[u],f[u-1])>=0;)u++;return u-w}function K(f,w,s){for(s--;w<s;){var E=f[w];f[w++]=f[s],f[s--]=E}}function P(f,w,s,E,u){for(E===w&&E++;E<s;E++){for(var d=f[E],v=w,G=E,e;v<G;)e=v+G>>>1,u(d,f[e])<0?G=e:v=e+1;var D=E-v;switch(D){case 3:f[v+3]=f[v+2];case 2:f[v+2]=f[v+1];case 1:f[v+1]=f[v];break;default:for(;D>0;)f[v+D]=f[v+D-1],D--}f[v]=d}}function U(f,w,s,E,u,d){var v=0,G=0,e=1;if(d(f,w[s+u])>0){for(G=E-u;e<G&&d(f,w[s+u+e])>0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G),v+=u,e+=u}else{for(G=u+1;e<G&&d(f,w[s+u-e])<=0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G);var D=v;v=u-e,e=u-D}for(v++;v<e;){var N=v+(e-v>>>1);d(f,w[s+N])>0?v=N+1:e=N}return e}function z(f,w,s,E,u,d){var v=0,G=0,e=1;if(d(f,w[s+u])<0){for(G=u+1;e<G&&d(f,w[s+u-e])<0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G);var D=v;v=u-e,e=u-D}else{for(G=E-u;e<G&&d(f,w[s+u+e])>=0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G),v+=u,e+=u}for(v++;v<e;){var N=v+(e-v>>>1);d(f,w[s+N])<0?e=N:v=N+1}return e}function Q(f,w){var s=H,E,u,d=0,v=[];E=[],u=[];function G(k,b){E[d]=k,u[d]=b,d+=1}function e(){for(;d>1;){var k=d-2;if(k>=1&&u[k-1]<=u[k]+u[k+1]||k>=2&&u[k-2]<=u[k]+u[k-1])u[k-1]<u[k+1]&&k--;else if(u[k]>u[k+1])break;N(k)}}function D(){for(;d>1;){var k=d-2;k>0&&u[k-1]<u[k+1]&&k--,N(k)}}function N(k){var b=E[k],S=u[k],R=E[k+1],i=u[k+1];u[k]=S+i,k===d-3&&(E[k+1]=E[k+2],u[k+1]=u[k+2]),d--;var M=z(f[R],f,b,S,0,w);b+=M,S-=M,S!==0&&(i=U(f[b+S-1],f,R,i,i-1,w),i!==0&&(S<=i?q(b,S,R,i):B(b,S,R,i)))}function q(k,b,S,R){var i=0;for(i=0;i<b;i++)v[i]=f[k+i];var M=0,A=S,L=k;if(f[L++]=f[A++],--R===0){for(i=0;i<b;i++)f[L+i]=v[M+i];return}if(b===1){for(i=0;i<R;i++)f[L+i]=f[A+i];f[L+R]=v[M];return}for(var O=s,_,I,o;;){_=0,I=0,o=!1;do if(w(f[A],v[M])<0){if(f[L++]=f[A++],I++,_=0,--R===0){o=!0;break}}else if(f[L++]=v[M++],_++,I=0,--b===1){o=!0;break}while((_|I)<O);if(o)break;do{if(_=z(f[A],v,M,b,0,w),_!==0){for(i=0;i<_;i++)f[L+i]=v[M+i];if(L+=_,M+=_,b-=_,b<=1){o=!0;break}}if(f[L++]=f[A++],--R===0){o=!0;break}if(I=U(v[M],f,A,R,0,w),I!==0){for(i=0;i<I;i++)f[L+i]=f[A+i];if(L+=I,A+=I,R-=I,R===0){o=!0;break}}if(f[L++]=v[M++],--b===1){o=!0;break}O--}while(_>=H||I>=H);if(o)break;O<0&&(O=0),O+=2}if(s=O,s<1&&(s=1),b===1){for(i=0;i<R;i++)f[L+i]=f[A+i];f[L+R]=v[M]}else{if(b===0)throw new Error;for(i=0;i<b;i++)f[L+i]=v[M+i]}}function B(k,b,S,R){var i=0;for(i=0;i<R;i++)v[i]=f[S+i];var M=k+b-1,A=R-1,L=S+R-1,O=0,_=0;if(f[L--]=f[M--],--b===0){for(O=L-(R-1),i=0;i<R;i++)f[O+i]=v[i];return}if(R===1){for(L-=b,M-=b,_=L+1,O=M+1,i=b-1;i>=0;i--)f[_+i]=f[O+i];f[L]=v[A];return}for(var I=s;;){var o=0,T=0,F=!1;do if(w(v[A],f[M])<0){if(f[L--]=f[M--],o++,T=0,--b===0){F=!0;break}}else if(f[L--]=v[A--],T++,o=0,--R===1){F=!0;break}while((o|T)<I);if(F)break;do{if(o=b-z(v[A],f,k,b,b-1,w),o!==0){for(L-=o,M-=o,b-=o,_=L+1,O=M+1,i=o-1;i>=0;i--)f[_+i]=f[O+i];if(b===0){F=!0;break}}if(f[L--]=v[A--],--R===1){F=!0;break}if(T=R-U(f[M],v,0,R,R-1,w),T!==0){for(L-=T,A-=T,R-=T,_=L+1,O=A+1,i=0;i<T;i++)f[_+i]=v[O+i];if(R<=1){F=!0;break}}if(f[L--]=f[M--],--b===0){F=!0;break}I--}while(o>=H||T>=H);if(F)break;I<0&&(I=0),I+=2}if(s=I,s<1&&(s=1),R===1){for(L-=b,M-=b,_=L+1,O=M+1,i=b-1;i>=0;i--)f[_+i]=f[O+i];f[L]=v[A]}else{if(R===0)throw new Error;for(O=L-(R-1),i=0;i<R;i++)f[O+i]=v[i]}}return{mergeRuns:e,forceMergeRuns:D,pushRun:G}}function V(f,w,s,E){s||(s=0),E||(E=f.length);var u=E-s;if(!(u<2)){var d=0;if(u<j){d=C(f,s,E,w),P(f,s,E,s+d,w);return}var v=Q(f,w),G=J(u);do{if(d=C(f,s,E,w),d<G){var e=u;e>G&&(e=G),P(f,s,s+e,s+d,w),d=e}v.pushRun(s,d),v.mergeRuns(),u-=d,s+=d}while(u!==0);v.forceMergeRuns()}}module.exports=V;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var E=O(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,n){return t["[object "+n+"]"]=!0,t},{}),j=O(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,n){return t["[object "+n+"Array]"]=!0,t},{}),u=Object.prototype.toString,y=Array.prototype,T=y.forEach,R=y.filter,g=y.slice,D=y.map,w=(function(){}).constructor,c=w?w.prototype:null,m="__proto__",U=2311;function H(){return U++}function C(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];typeof console<"u"&&console.error.apply(console,t)}function s(t){if(t==null||typeof t!="object")return t;var n=t,r=u.call(t);if(r==="[object Array]"){if(!a(t)){n=[];for(var e=0,i=t.length;e<i;e++)n[e]=s(t[e])}}else if(j[r]){if(!a(t)){var o=t.constructor;if(o.from)n=o.from(t);else{n=new o(t.length);for(var e=0,i=t.length;e<i;e++)n[e]=t[e]}}}else if(!E[r]&&!a(t)&&!h(t)){n={};for(var f in t)t.hasOwnProperty(f)&&f!==m&&(n[f]=s(t[f]))}return n}function d(t,n,r){if(!l(n)||!l(t))return r?s(n):t;for(var e in n)if(n.hasOwnProperty(e)&&e!==m){var i=t[e],o=n[e];l(o)&&l(i)&&!p(o)&&!p(i)&&!h(o)&&!h(i)&&!v(o)&&!v(i)&&!a(o)&&!a(i)?d(i,o,r):(r||!(e in t))&&(t[e]=s(n[e]))}return t}function G(t,n){for(var r=t[0],e=1,i=t.length;e<i;e++)r=d(r,t[e],n);return r}function S(t,n){if(Object.assign)Object.assign(t,n);else for(var r in n)n.hasOwnProperty(r)&&r!==m&&(t[r]=n[r]);return t}function F(t,n,r){for(var e=A(n),i=0,o=e.length;i<o;i++){var f=e[i];(r?n[f]!=null:t[f]==null)&&(t[f]=n[f])}return t}function B(t,n){if(t){if(t.indexOf)return t.indexOf(n);for(var r=0,e=t.length;r<e;r++)if(t[r]===n)return r}return-1}function K(t,n){var r=t.prototype;function e(){}e.prototype=n.prototype,t.prototype=new e;for(var i in r)r.hasOwnProperty(i)&&(t.prototype[i]=r[i]);t.prototype.constructor=t,t.superClass=n}function L(t,n,r){if(t="prototype"in t?t.prototype:t,n="prototype"in n?n.prototype:n,Object.getOwnPropertyNames)for(var e=Object.getOwnPropertyNames(n),i=0;i<e.length;i++){var o=e[i];o!=="constructor"&&(r?n[o]!=null:t[o]==null)&&(t[o]=n[o])}else F(t,n,r)}function q(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function P(t,n,r){if(t&&n)if(t.forEach&&t.forEach===T)t.forEach(n,r);else if(t.length===+t.length)for(var e=0,i=t.length;e<i;e++)n.call(r,t[e],e,t);else for(var o in t)t.hasOwnProperty(o)&&n.call(r,t[o],o,t)}function Y(t,n,r){if(!t)return[];if(!n)return b(t);if(t.map&&t.map===D)return t.map(n,r);for(var e=[],i=0,o=t.length;i<o;i++)e.push(n.call(r,t[i],i,t));return e}function O(t,n,r,e){if(t&&n){for(var i=0,o=t.length;i<o;i++)r=n.call(e,r,t[i],i,t);return r}}function J(t,n,r){if(!t)return[];if(!n)return b(t);if(t.filter&&t.filter===R)return t.filter(n,r);for(var e=[],i=0,o=t.length;i<o;i++)n.call(r,t[i],i,t)&&e.push(t[i]);return e}function $(t,n,r){if(t&&n){for(var e=0,i=t.length;e<i;e++)if(n.call(r,t[e],e,t))return t[e]}}function A(t){if(!t)return[];if(Object.keys)return Object.keys(t);var n=[];for(var r in t)t.hasOwnProperty(r)&&n.push(r);return n}function Q(t,n){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];return function(){return t.apply(n,r.concat(g.call(arguments)))}}var V=c&&M(c.bind)?c.call.bind(c.bind):Q;function W(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return function(){return t.apply(this,n.concat(g.call(arguments)))}}function p(t){return Array.isArray?Array.isArray(t):u.call(t)==="[object Array]"}function M(t){return typeof t=="function"}function X(t){return typeof t=="string"}function Z(t){return u.call(t)==="[object String]"}function _(t){return typeof t=="number"}function l(t){var n=typeof t;return n==="function"||!!t&&n==="object"}function v(t){return!!E[u.call(t)]}function z(t){return!!j[u.call(t)]}function h(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function k(t){return t.colorStops!=null}function tt(t){return t.image!=null}function nt(t){return u.call(t)==="[object RegExp]"}function rt(t){return t!==t}function et(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,e=t.length;r<e;r++)if(t[r]!=null)return t[r]}function it(t,n){return t??n}function ot(t,n,r){return t??n??r}function b(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return g.apply(t,n)}function ft(t){if(typeof t=="number")return[t,t,t,t];var n=t.length;return n===2?[t[0],t[1],t[0],t[1]]:n===3?[t[0],t[1],t[2],t[1]]:t}function at(t,n){if(!t)throw new Error(n)}function ut(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var I="__ec_primitive__";function lt(t){t[I]=!0}function a(t){return t[I]}var st=function(){function t(){this.data={}}return t.prototype.delete=function(n){var r=this.has(n);return r&&delete this.data[n],r},t.prototype.has=function(n){return this.data.hasOwnProperty(n)},t.prototype.get=function(n){return this.data[n]},t.prototype.set=function(n,r){return this.data[n]=r,this},t.prototype.keys=function(){return A(this.data)},t.prototype.forEach=function(n){var r=this.data;for(var e in r)r.hasOwnProperty(e)&&n(r[e],e)},t}(),N=typeof Map=="function";function ct(){return N?new Map:new st}var x=function(){function t(n){var r=p(n);this.data=ct();var e=this;n instanceof t?n.each(i):n&&P(n,i);function i(o,f){r?e.set(o,f):e.set(f,o)}}return t.prototype.hasKey=function(n){return this.data.has(n)},t.prototype.get=function(n){return this.data.get(n)},t.prototype.set=function(n,r){return this.data.set(n,r),r},t.prototype.each=function(n,r){this.data.forEach(function(e,i){n.call(r,e,i)})},t.prototype.keys=function(){var n=this.data.keys();return N?Array.from(n):n},t.prototype.removeKey=function(n){this.data.delete(n)},t}();function pt(t){return new x(t)}function ht(t,n){for(var r=new t.constructor(t.length+n.length),e=0;e<t.length;e++)r[e]=t[e];for(var i=t.length,e=0;e<n.length;e++)r[e+i]=n[e];return r}function yt(t,n){var r;if(Object.create)r=Object.create(t);else{var e=function(){};e.prototype=t,r=new e}return n&&S(r,n),r}function vt(t){var n=t.style;n.webkitUserSelect="none",n.userSelect="none",n.webkitTapHighlightColor="rgba(0,0,0,0)",n["-webkit-touch-callout"]="none"}function gt(t,n){return t.hasOwnProperty(n)}function mt(){}var dt=180/Math.PI;exports.HashMap=x;exports.RADIAN_TO_DEGREE=dt;exports.assert=at;exports.bind=V;exports.clone=s;exports.concatArray=ht;exports.createHashMap=pt;exports.createObject=yt;exports.curry=W;exports.defaults=F;exports.disableUserSelect=vt;exports.each=P;exports.eqNaN=rt;exports.extend=S;exports.filter=J;exports.find=$;exports.guid=H;exports.hasOwn=gt;exports.indexOf=B;exports.inherits=K;exports.isArray=p;exports.isArrayLike=q;exports.isBuiltInObject=v;exports.isDom=h;exports.isFunction=M;exports.isGradientObject=k;exports.isImagePatternObject=tt;exports.isNumber=_;exports.isObject=l;exports.isPrimitive=a;exports.isRegExp=nt;exports.isString=X;exports.isStringSafe=Z;exports.isTypedArray=z;exports.keys=A;exports.logError=C;exports.map=Y;exports.merge=d;exports.mergeAll=G;exports.mixin=L;exports.noop=mt;exports.normalizeCssArray=ft;exports.reduce=O;exports.retrieve=et;exports.retrieve2=it;exports.retrieve3=ot;exports.setAsPrimitive=lt;exports.slice=b;exports.trim=ut;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(n,r){return n==null&&(n=0),r==null&&(r=0),[n,r]}function s(n,r){return n[0]=r[0],n[1]=r[1],n}function d(n){return[n[0],n[1]]}function p(n,r,e){return n[0]=r,n[1]=e,n}function m(n,r,e){return n[0]=r[0]+e[0],n[1]=r[1]+e[1],n}function q(n,r,e,a){return n[0]=r[0]+e[0]*a,n[1]=r[1]+e[1]*a,n}function S(n,r,e){return n[0]=r[0]-e[0],n[1]=r[1]-e[1],n}function t(n){return Math.sqrt(c(n))}function c(n){return n[0]*n[0]+n[1]*n[1]}function M(n,r,e){return n[0]=r[0]*e,n[1]=r[1]*e,n}function h(n,r){var e=t(r);return e===0?(n[0]=0,n[1]=0):(n[0]=r[0]/e,n[1]=r[1]/e),n}function l(n,r){return Math.sqrt((n[0]-r[0])*(n[0]-r[0])+(n[1]-r[1])*(n[1]-r[1]))}var o=l;function f(n,r){return(n[0]-r[0])*(n[0]-r[0])+(n[1]-r[1])*(n[1]-r[1])}var y=f;function b(n,r,e,a){return n[0]=r[0]+a*(e[0]-r[0]),n[1]=r[1]+a*(e[1]-r[1]),n}function A(n,r,e){var a=r[0],i=r[1];return n[0]=e[0]*a+e[2]*i+e[4],n[1]=e[1]*a+e[3]*i+e[5],n}function x(n,r,e){return n[0]=Math.min(r[0],e[0]),n[1]=Math.min(r[1],e[1]),n}function T(n,r,e){return n[0]=Math.max(r[0],e[0]),n[1]=Math.max(r[1],e[1]),n}exports.add=m;exports.applyTransform=A;exports.clone=d;exports.copy=s;exports.create=u;exports.dist=o;exports.distSquare=y;exports.distance=l;exports.distanceSquare=f;exports.len=t;exports.lenSquare=c;exports.lerp=b;exports.max=T;exports.min=x;exports.normalize=h;exports.scale=M;exports.scaleAndAdd=q;exports.set=p;exports.sub=S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const y=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),n=require("../core/event.js"),s=require("../core/util.js"),z=require("../core/Eventful.js"),a=require("../core/env.js");var H=300,c=a.domSupported,h=function(){var o=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=s.map(o,function(e){var l=e.replace("mouse","pointer");return i.hasOwnProperty(l)?l:e});return{mouse:o,touch:t,pointer:r}}(),_={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},E=!1;function f(o){var t=o.pointerType;return t==="pen"||t==="touch"}function C(o){o.touching=!0,o.touchTimer!=null&&(clearTimeout(o.touchTimer),o.touchTimer=null),o.touchTimer=setTimeout(function(){o.touching=!1,o.touchTimer=null},700)}function p(o){o&&(o.zrByTouch=!0)}function v(o,t){return n.normalizeEvent(o.dom,new S(o,t),!0)}function w(o,t){for(var i=t,r=!1;i&&i.nodeType!==9&&!(r=i.domBelongToZr||i!==t&&i===o.painterRoot);)i=i.parentNode;return r}var S=function(){function o(t,i){this.stopPropagation=s.noop,this.stopImmediatePropagation=s.noop,this.preventDefault=s.noop,this.type=i.type,this.target=this.currentTarget=t.dom,this.pointerType=i.pointerType,this.clientX=i.clientX,this.clientY=i.clientY}return o}(),u={mousedown:function(o){o=n.normalizeEvent(this.dom,o),this.__mayPointerCapture=[o.zrX,o.zrY],this.trigger("mousedown",o)},mousemove:function(o){o=n.normalizeEvent(this.dom,o);var t=this.__mayPointerCapture;t&&(o.zrX!==t[0]||o.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",o)},mouseup:function(o){o=n.normalizeEvent(this.dom,o),this.__togglePointerCapture(!1),this.trigger("mouseup",o)},mouseout:function(o){o=n.normalizeEvent(this.dom,o);var t=o.toElement||o.relatedTarget;w(this,t)||(this.__pointerCapturing&&(o.zrEventControl="no_globalout"),this.trigger("mouseout",o))},wheel:function(o){E=!0,o=n.normalizeEvent(this.dom,o),this.trigger("mousewheel",o)},mousewheel:function(o){E||(o=n.normalizeEvent(this.dom,o),this.trigger("mousewheel",o))},touchstart:function(o){o=n.normalizeEvent(this.dom,o),p(o),this.__lastTouchMoment=new Date,this.handler.processGesture(o,"start"),u.mousemove.call(this,o),u.mousedown.call(this,o)},touchmove:function(o){o=n.normalizeEvent(this.dom,o),p(o),this.handler.processGesture(o,"change"),u.mousemove.call(this,o)},touchend:function(o){o=n.normalizeEvent(this.dom,o),p(o),this.handler.processGesture(o,"end"),u.mouseup.call(this,o),+new Date-+this.__lastTouchMoment<H&&u.click.call(this,o)},pointerdown:function(o){u.mousedown.call(this,o)},pointermove:function(o){f(o)||u.mousemove.call(this,o)},pointerup:function(o){u.mouseup.call(this,o)},pointerout:function(o){f(o)||u.mouseout.call(this,o)}};s.each(["click","dblclick","contextmenu"],function(o){u[o]=function(t){t=n.normalizeEvent(this.dom,t),this.trigger(o,t)}});var g={pointermove:function(o){f(o)||g.mousemove.call(this,o)},pointerup:function(o){g.mouseup.call(this,o)},mousemove:function(o){this.trigger("mousemove",o)},mouseup:function(o){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",o),t&&(o.zrEventControl="only_globalout",this.trigger("mouseout",o))}};function b(o,t){var i=t.domHandlers;a.pointerEventsSupported?s.each(h.pointer,function(r){m(t,r,function(e){i[r].call(o,e)})}):(a.touchEventsSupported&&s.each(h.touch,function(r){m(t,r,function(e){i[r].call(o,e),C(t)})}),s.each(h.mouse,function(r){m(t,r,function(e){e=n.getNativeEvent(e),t.touching||i[r].call(o,e)})}))}function D(o,t){a.pointerEventsSupported?s.each(_.pointer,i):a.touchEventsSupported||s.each(_.mouse,i);function i(r){function e(l){l=n.getNativeEvent(l),w(o,l.target)||(l=v(o,l),t.domHandlers[r].call(o,l))}m(t,r,e,{capture:!0})}}function m(o,t,i,r){o.mounted[t]=i,o.listenerOpts[t]=r,n.addEventListener(o.domTarget,t,i,r)}function d(o){var t=o.mounted;for(var i in t)t.hasOwnProperty(i)&&n.removeEventListener(o.domTarget,i,t[i],o.listenerOpts[i]);o.mounted={}}var T=function(){function o(t,i){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=i}return o}(),L=function(o){y.__extends(t,o);function t(i,r){var e=o.call(this)||this;return e.__pointerCapturing=!1,e.dom=i,e.painterRoot=r,e._localHandlerScope=new T(i,u),c&&(e._globalHandlerScope=new T(document,g)),b(e,e._localHandlerScope),e}return t.prototype.dispose=function(){d(this._localHandlerScope),c&&d(this._globalHandlerScope)},t.prototype.setCursor=function(i){this.dom.style&&(this.dom.style.cursor=i||"default")},t.prototype.__togglePointerCapture=function(i){if(this.__mayPointerCapture=null,c&&+this.__pointerCapturing^+i){this.__pointerCapturing=i;var r=this._globalHandlerScope;i?D(this,r):d(r)}},t}(z);module.exports=L;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const p=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),o=require("./Path.js");var n=function(s){p.__extends(h,s);function h(){var t=s!==null&&s.apply(this,arguments)||this;return t.type="compound",t}return h.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),a=0;a<t.length;a++)e=e||t[a].shapeChanged();e&&this.dirtyShape()},h.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),a=0;a<t.length;a++)t[a].path||t[a].createPathProxy(),t[a].path.setScale(e[0],e[1],t[a].segmentIgnoreThreshold)},h.prototype.buildPath=function(t,e){for(var a=e.paths||[],r=0;r<a.length;r++)a[r].buildPath(t,a[r].shape,!0)},h.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},h.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),o.default.prototype.getBoundingRect.call(this)},h}(o.default);module.exports=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const M=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),E=require("../Element.js"),u=require("../core/BoundingRect.js"),c=require("../core/util.js"),p=require("./constants.js");var S="__zr_style_"+Math.round(Math.random()*10),g={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},A={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};g[S]=!0;var P=["z","z2","invisible"],B=["invisible"],N=function(h){M.__extends(i,h);function i(t){return h.call(this,t)||this}return i.prototype._init=function(t){for(var e=c.keys(t),r=0;r<e.length;r++){var s=e[r];s==="style"?this.useStyle(t[s]):h.prototype.attrKV.call(this,s,t[s])}this.style||this.useStyle({})},i.prototype.beforeBrush=function(){},i.prototype.afterBrush=function(){},i.prototype.innerBeforeBrush=function(){},i.prototype.innerAfterBrush=function(){},i.prototype.shouldBePainted=function(t,e,r,s){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&O(this,t,e)||o&&!o[0]&&!o[3])return!1;if(r&&this.__clipPaths&&this.__clipPaths.length){for(var f=0;f<this.__clipPaths.length;++f)if(this.__clipPaths[f].isZeroArea())return!1}if(s&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},i.prototype.contain=function(t,e){return this.rectContain(t,e)},i.prototype.traverse=function(t,e){t.call(e,this)},i.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e),s=this.getBoundingRect();return s.contain(r[0],r[1])},i.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,r=this.getBoundingRect(),s=this.style,o=s.shadowBlur||0,f=s.shadowOffsetX||0,a=s.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new u.default(0,0,0,0)),e?u.default.applyTransform(t,r,e):t.copy(r),(o||f||a)&&(t.width+=o*2+Math.abs(f),t.height+=o*2+Math.abs(a),t.x=Math.min(t.x,t.x+f-o),t.y=Math.min(t.y,t.y+a-o));var n=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-n),t.y=Math.floor(t.y-n),t.width=Math.ceil(t.width+1+n*2),t.height=Math.ceil(t.height+1+n*2))}return t},i.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new u.default(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},i.prototype.getPrevPaintRect=function(){return this._prevPaintRect},i.prototype.animateStyle=function(t){return this.animate("style",t)},i.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():this.markRedraw()},i.prototype.attrKV=function(t,e){t!=="style"?h.prototype.attrKV.call(this,t,e):this.style?this.setStyle(e):this.useStyle(e)},i.prototype.setStyle=function(t,e){return typeof t=="string"?this.style[t]=e:c.extend(this.style,t),this.dirtyStyle(),this},i.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=p.STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},i.prototype.dirty=function(){this.dirtyStyle()},i.prototype.styleChanged=function(){return!!(this.__dirty&p.STYLE_CHANGED_BIT)},i.prototype.styleUpdated=function(){this.__dirty&=~p.STYLE_CHANGED_BIT},i.prototype.createStyle=function(t){return c.createObject(g,t)},i.prototype.useStyle=function(t){t[S]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},i.prototype.isStyleObject=function(t){return t[S]},i.prototype._innerSaveToNormal=function(t){h.prototype._innerSaveToNormal.call(this,t);var e=this._normalState;t.style&&!e.style&&(e.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,e,P)},i.prototype._applyStateObj=function(t,e,r,s,o,f){h.prototype._applyStateObj.call(this,t,e,r,s,o,f);var a=!(e&&s),n;if(e&&e.style?o?s?n=e.style:(n=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(n,e.style)):(n=this._mergeStyle(this.createStyle(),s?this.style:r.style),this._mergeStyle(n,e.style)):a&&(n=r.style),n)if(o){var _=this.style;if(this.style=this.createStyle(a?{}:_),a)for(var m=c.keys(_),y=0;y<m.length;y++){var l=m[y];l in n&&(n[l]=n[l],this.style[l]=_[l])}for(var T=c.keys(n),y=0;y<T.length;y++){var l=T[y];this.style[l]=this.style[l]}this._transitionState(t,{style:n},f,this.getAnimationStyleProps())}else this.useStyle(n);for(var R=this.__inHover?B:P,y=0;y<R.length;y++){var l=R[y];e&&e[l]!=null?this[l]=e[l]:a&&r[l]!=null&&(this[l]=r[l])}},i.prototype._mergeStates=function(t){for(var e=h.prototype._mergeStates.call(this,t),r,s=0;s<t.length;s++){var o=t[s];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(e.style=r),e},i.prototype._mergeStyle=function(t,e){return c.extend(t,e),t},i.prototype.getAnimationStyleProps=function(){return A},i.initDefaultProps=function(){var t=i.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=p.REDRAW_BIT|p.STYLE_CHANGED_BIT}(),i}(E.default),v=new u.default(0,0,0,0),d=new u.default(0,0,0,0);function O(h,i,t){return v.copy(h.getBoundingRect()),h.transform&&v.applyTransform(h.transform),d.width=i,d.height=t,!v.intersect(d)}exports.DEFAULT_COMMON_ANIMATION_PROPS=A;exports.DEFAULT_COMMON_STYLE=g;exports.default=N;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var n=function(){function t(o){this.colorStops=o||[]}return t.prototype.addColorStop=function(o,r){this.colorStops.push({offset:o,color:r})},t}();module.exports=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),u=require("../core/util.js"),d=require("../Element.js"),l=require("../core/BoundingRect.js");var v=function(a){c.__extends(o,a);function o(r){var t=a.call(this)||this;return t.isGroup=!0,t._children=[],t.attr(r),t}return o.prototype.childrenRef=function(){return this._children},o.prototype.children=function(){return this._children.slice()},o.prototype.childAt=function(r){return this._children[r]},o.prototype.childOfName=function(r){for(var t=this._children,e=0;e<t.length;e++)if(t[e].name===r)return t[e]},o.prototype.childCount=function(){return this._children.length},o.prototype.add=function(r){if(r&&(r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),process.env.NODE_ENV!=="production"&&r.__hostTarget))throw"This elemenet has been used as an attachment";return this},o.prototype.addBefore=function(r,t){if(r&&r!==this&&r.parent!==this&&t&&t.parent===this){var e=this._children,n=e.indexOf(t);n>=0&&(e.splice(n,0,r),this._doAdd(r))}return this},o.prototype.replace=function(r,t){var e=u.indexOf(this._children,r);return e>=0&&this.replaceAt(t,e),this},o.prototype.replaceAt=function(r,t){var e=this._children,n=e[t];if(r&&r!==this&&r.parent!==this&&r!==n){e[t]=r,n.parent=null;var i=this.__zr;i&&n.removeSelfFromZr(i),this._doAdd(r)}return this},o.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var t=this.__zr;t&&t!==r.__zr&&r.addSelfToZr(t),t&&t.refresh()},o.prototype.remove=function(r){var t=this.__zr,e=this._children,n=u.indexOf(e,r);return n<0?this:(e.splice(n,1),r.parent=null,t&&r.removeSelfFromZr(t),t&&t.refresh(),this)},o.prototype.removeAll=function(){for(var r=this._children,t=this.__zr,e=0;e<r.length;e++){var n=r[e];t&&n.removeSelfFromZr(t),n.parent=null}return r.length=0,this},o.prototype.eachChild=function(r,t){for(var e=this._children,n=0;n<e.length;n++){var i=e[n];r.call(t,i,n)}return this},o.prototype.traverse=function(r,t){for(var e=0;e<this._children.length;e++){var n=this._children[e],i=r.call(t,n);n.isGroup&&!i&&n.traverse(r,t)}return this},o.prototype.addSelfToZr=function(r){a.prototype.addSelfToZr.call(this,r);for(var t=0;t<this._children.length;t++){var e=this._children[t];e.addSelfToZr(r)}},o.prototype.removeSelfFromZr=function(r){a.prototype.removeSelfFromZr.call(this,r);for(var t=0;t<this._children.length;t++){var e=this._children[t];e.removeSelfFromZr(r)}},o.prototype.getBoundingRect=function(r){for(var t=new l.default(0,0,0,0),e=r||this._children,n=[],i=null,h=0;h<e.length;h++){var s=e[h];if(!(s.ignore||s.invisible)){var f=s.getBoundingRect(),p=s.getLocalTransform(n);p?(l.default.applyTransform(t,f,p),i=i||t.clone(),i.union(t)):(i=i||f.clone(),i.union(f))}}return i||t},o}(d.default);v.prototype.type="group";module.exports=v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),u=require("./Displayable.js"),c=require("../core/BoundingRect.js"),o=require("../core/util.js");var g=o.defaults({x:0,y:0},u.DEFAULT_COMMON_STYLE),l={style:o.defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},u.DEFAULT_COMMON_ANIMATION_PROPS.style)};function f(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var _=function(e){y.__extends(i,e);function i(){return e!==null&&e.apply(this,arguments)||this}return i.prototype.createStyle=function(t){return o.createObject(g,t)},i.prototype._getSize=function(t){var r=this.style,s=r[t];if(s!=null)return s;var n=f(r.image)?r.image:this.__image;if(!n)return 0;var h=t==="width"?"height":"width",a=r[h];return a==null?n[t]:n[t]/n[h]*a},i.prototype.getWidth=function(){return this._getSize("width")},i.prototype.getHeight=function(){return this._getSize("height")},i.prototype.getAnimationStyleProps=function(){return l},i.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new c.default(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},i}(u.default);_.prototype.type="image";exports.DEFAULT_IMAGE_ANIMATION_PROPS=l;exports.DEFAULT_IMAGE_STYLE=g;exports.default=_;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),p=require("./Displayable.js"),y=require("../core/BoundingRect.js");var u=[],h=function(i){o.__extends(r,i);function r(){var t=i!==null&&i.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return r.prototype.traverse=function(t,e){t.call(e,this)},r.prototype.useStyle=function(){this.style={}},r.prototype.getCursor=function(){return this._cursor},r.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},r.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},r.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},r.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},r.prototype.addDisplayables=function(t,e){e=e||!1;for(var a=0;a<t.length;a++)this.addDisplayable(t[a],e)},r.prototype.getDisplayables=function(){return this._displayables},r.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},r.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},r.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},r.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new y.default(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var a=this._displayables[e],s=a.getBoundingRect().clone();a.needLocalTransform()&&s.applyTransform(a.getLocalTransform(u)),t.union(s)}this._rect=t}return this._rect},r.prototype.contain=function(t,e){var a=this.transformCoordToLocal(t,e),s=this.getBoundingRect();if(s.contain(a[0],a[1]))for(var n=0;n<this._displayables.length;n++){var l=this._displayables[n];if(l.contain(t,e))return!0}return!1},r}(p.default);module.exports=h;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/LinearGradient.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),o=require("./Gradient.js");var d=function(e){c.__extends(t,e);function t(r,i,l,a,s,u){var n=e.call(this,s)||this;return n.x=r??0,n.y=i??0,n.x2=l??1,n.y2=a??0,n.type="linear",n.global=u||!1,n}return t}(o);module.exports=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const A=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),v=require("./Displayable.js"),D=require("../core/PathProxy.js"),T=require("../contain/path.js"),o=require("../core/util.js"),g=require("../tool/color.js"),u=require("../config.js"),f=require("./constants.js"),O=require("../core/Transformable.js");var P=o.defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},v.DEFAULT_COMMON_STYLE),L={style:o.defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},v.DEFAULT_COMMON_ANIMATION_PROPS.style)},d=O.TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),E=function(p){A.__extends(r,p);function r(t){return p.call(this,t)||this}return r.prototype.update=function(){var t=this;p.prototype.update.call(this);var e=this.style;if(e.decal){var i=this._decalEl=this._decalEl||new r;i.buildPath===r.prototype.buildPath&&(i.buildPath=function(l){t.buildPath(l,t.shape)}),i.silent=!0;var a=i.style;for(var s in e)a[s]!==e[s]&&(a[s]=e[s]);a.fill=e.fill?e.decal:null,a.decal=null,a.shadowColor=null,e.strokeFirst&&(a.stroke=null);for(var n=0;n<d.length;++n)i[d[n]]=this[d[n]];i.__dirty|=f.REDRAW_BIT}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(t){var e=o.keys(t);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var a=0;a<e.length;a++){var s=e[a],n=t[s];s==="style"?this.style?o.extend(this.style,n):this.useStyle(n):s==="shape"?o.extend(this.shape,n):p.prototype.attrKV.call(this,s,n)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var t=this.style.fill;if(t!=="none"){if(o.isString(t)){var e=g.lum(t,0);return e>.5?u.DARK_LABEL_COLOR:e>.2?u.LIGHTER_LABEL_COLOR:u.LIGHT_LABEL_COLOR}else if(t)return u.LIGHT_LABEL_COLOR}return u.DARK_LABEL_COLOR},r.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(o.isString(e)){var i=this.__zr,a=!!(i&&i.isDarkMode()),s=g.lum(t,0)<u.DARK_MODE_THRESHOLD;if(a===s)return e}},r.prototype.buildPath=function(t,e,i){},r.prototype.pathUpdated=function(){this.__dirty&=~f.SHAPE_CHANGED_BIT},r.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},r.prototype.createPathProxy=function(){this.path=new D.default(!1)},r.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))},r.prototype.hasFill=function(){var t=this.style,e=t.fill;return e!=null&&e!=="none"},r.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,i=!t;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var s=this.path;(a||this.__dirty&f.SHAPE_CHANGED_BIT)&&(s.beginPath(),this.buildPath(s,this.shape,!1),this.pathUpdated()),t=s.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var n=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||i){n.copy(t);var l=e.strokeNoScale?this.getLineScale():1,h=e.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;h=Math.max(h,c??4)}l>1e-10&&(n.width+=h/l,n.height+=h/l,n.x-=h/l/2,n.y-=h/l/2)}return n}return t},r.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),a=this.getBoundingRect(),s=this.style;if(t=i[0],e=i[1],a.contain(t,e)){var n=this.path;if(this.hasStroke()){var l=s.lineWidth,h=s.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),T.containStroke(n,l/h,t,e)))return!0}if(this.hasFill())return T.contain(n,t,e)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=f.SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(t){return this.animate("shape",t)},r.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(t,e){t==="shape"?this.setShape(e):p.prototype.attrKV.call(this,t,e)},r.prototype.setShape=function(t,e){var i=this.shape;return i||(i=this.shape={}),typeof t=="string"?i[t]=e:o.extend(i,t),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&f.SHAPE_CHANGED_BIT)},r.prototype.createStyle=function(t){return o.createObject(P,t)},r.prototype._innerSaveToNormal=function(t){p.prototype._innerSaveToNormal.call(this,t);var e=this._normalState;t.shape&&!e.shape&&(e.shape=o.extend({},this.shape))},r.prototype._applyStateObj=function(t,e,i,a,s,n){p.prototype._applyStateObj.call(this,t,e,i,a,s,n);var l=!(e&&a),h;if(e&&e.shape?s?a?h=e.shape:(h=o.extend({},i.shape),o.extend(h,e.shape)):(h=o.extend({},a?this.shape:i.shape),o.extend(h,e.shape)):l&&(h=i.shape),h)if(s){this.shape=o.extend({},this.shape);for(var c={},S=o.keys(h),_=0;_<S.length;_++){var y=S[_];typeof h[y]=="object"?this.shape[y]=h[y]:c[y]=h[y]}this._transitionState(t,{shape:c},n)}else this.shape=h,this.dirtyShape()},r.prototype._mergeStates=function(t){for(var e=p.prototype._mergeStates.call(this,t),i,a=0;a<t.length;a++){var s=t[a];s.shape&&(i=i||{},this._mergeStyle(i,s.shape))}return i&&(e.shape=i),e},r.prototype.getAnimationStyleProps=function(){return L},r.prototype.isZeroArea=function(){return!1},r.extend=function(t){var e=function(a){A.__extends(s,a);function s(n){var l=a.call(this,n)||this;return t.init&&t.init.call(l,n),l}return s.prototype.getDefaultStyle=function(){return o.clone(t.style)},s.prototype.getDefaultShape=function(){return o.clone(t.shape)},s}(r);for(var i in t)typeof t[i]=="function"&&(e.prototype[i]=t[i]);return e},r.initDefaultProps=function(){var t=r.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=f.REDRAW_BIT|f.STYLE_CHANGED_BIT|f.SHAPE_CHANGED_BIT}(),r}(v.default);exports.DEFAULT_PATH_ANIMATION_PROPS=L;exports.DEFAULT_PATH_STYLE=P;exports.default=E;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/RadialGradient.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),d=require("./Gradient.js");var c=function(e){u.__extends(i,e);function i(l,n,r,a,s){var t=e.call(this,a)||this;return t.x=l??.5,t.y=n??.5,t.r=r??.5,t.type="radial",t.global=s||!1,t}return i}(d);module.exports=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),a=require("./Displayable.js"),c=require("./Path.js"),i=require("../core/util.js"),p=require("../core/platform.js"),o=require("./helper/parseText.js");var s=i.defaults({strokeFirst:!0,font:p.DEFAULT_FONT,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},c.DEFAULT_PATH_STYLE),u=function(r){l.__extends(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.hasStroke=function(){return o.tSpanHasStroke(this.style)},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(e){return i.createObject(s,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){return this._rect||(this._rect=o.tSpanCreateBoundingRect(this.style)),this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(a.default);u.prototype.type="tspan";exports.DEFAULT_TSPAN_STYLE=s;exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Q=require("../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),R=require("./helper/parseText.js"),X=require("./TSpan.js"),_=require("../core/util.js"),N=require("../contain/text.js"),tt=require("./Image.js"),rt=require("./shape/Rect.js"),et=require("../core/BoundingRect.js"),E=require("./Displayable.js"),H=require("../core/platform.js");var P={fill:"#000"},z=2,m={},V={style:_.defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},E.DEFAULT_COMMON_ANIMATION_PROPS.style)},G=function(e){Q.__extends(a,e);function a(t){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=P,r.attr(t),r}return a.prototype.childrenRef=function(){return this._children},a.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var r=this._children[t];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},a.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},a.prototype.getLocalTransform=function(t){var r=this.innerTransformable;return r?r.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},a.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},a.prototype._updateSubTexts=function(){this._childCursor=0,J(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},a.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=t},a.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},a.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new et.default(0,0,0,0),r=this._children,s=[],n=null,l=0;l<r.length;l++){var u=r[l],c=u.getBoundingRect(),i=u.getLocalTransform(s);i?(t.copy(c),t.applyTransform(i),n=n||t.clone(),n.union(t)):(n=n||c.clone(),n.union(c))}this._rect=n||t}return this._rect},a.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||P},a.prototype.setTextContent=function(t){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},a.prototype._mergeStyle=function(t,r){if(!r)return t;var s=r.rich,n=t.rich||s&&{};return _.extend(t,r),s&&n?(this._mergeRich(n,s),t.rich=n):n&&(t.rich=n),t},a.prototype._mergeRich=function(t,r){for(var s=_.keys(r),n=0;n<s.length;n++){var l=s[n];t[l]=t[l]||{},_.extend(t[l],r[l])}},a.prototype.getAnimationStyleProps=function(){return V},a.prototype._getOrCreateChild=function(t){var r=this._children[this._childCursor];return(!r||!(r instanceof t))&&(r=new t),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},a.prototype._updatePlainTexts=function(){var t=this.style,r=t.font||H.DEFAULT_FONT,s=t.padding,n=this._defaultStyle,l=t.x||0,u=t.y||0,c=t.align||n.align||"left",i=t.verticalAlign||n.verticalAlign||"top";R.calcInnerTextOverflowArea(m,n.overflowRect,l,u,c,i),l=m.baseX,u=m.baseY;var x=Z(t),f=R.parsePlainText(x,t,m.outerWidth,m.outerHeight),O=Y(t),S=!!t.backgroundColor,w=f.outerHeight,d=f.outerWidth,h=f.lines,p=f.lineHeight;this.isTruncated=!!f.isTruncated;var v=l,g=N.adjustTextY(u,f.contentHeight,i);if(O||s){var T=N.adjustTextX(l,d,c),B=N.adjustTextY(u,w,i);O&&this._renderBackground(t,t,T,B,d,w)}g+=p/2,s&&(v=M(l,c,s),i==="top"?g+=s[0]:i==="bottom"&&(g-=s[2]));for(var C=0,A=!1,W=!1,L=j("fill"in t?t.fill:(W=!0,n.fill)),D=U("stroke"in t?t.stroke:!S&&(!n.autoStroke||W)?(C=z,A=!0,n.stroke):null),F=t.textShadowBlur>0,y=0;y<h.length;y++){var b=this._getOrCreateChild(X.default),o=b.createStyle();b.useStyle(o),o.text=h[y],o.x=v,o.y=g,o.textAlign=c,o.textBaseline="middle",o.opacity=t.opacity,o.strokeFirst=!0,F&&(o.shadowBlur=t.textShadowBlur||0,o.shadowColor=t.textShadowColor||"transparent",o.shadowOffsetX=t.textShadowOffsetX||0,o.shadowOffsetY=t.textShadowOffsetY||0),o.stroke=D,o.fill=L,D&&(o.lineWidth=t.lineWidth||C,o.lineDash=t.lineDash,o.lineDashOffset=t.lineDashOffset||0),o.font=r,q(o,t),g+=p,b.setBoundingRect(R.tSpanCreateBoundingRect2(o,f.contentWidth,f.calculatedLineHeight,A?0:null))}},a.prototype._updateRichTexts=function(){var t=this.style,r=this._defaultStyle,s=t.align||r.align,n=t.verticalAlign||r.verticalAlign,l=t.x||0,u=t.y||0;R.calcInnerTextOverflowArea(m,r.overflowRect,l,u,s,n),l=m.baseX,u=m.baseY;var c=Z(t),i=R.parseRichText(c,t,m.outerWidth,m.outerHeight,s),x=i.width,f=i.outerWidth,O=i.outerHeight,S=t.padding;this.isTruncated=!!i.isTruncated;var w=N.adjustTextX(l,f,s),d=N.adjustTextY(u,O,n),h=w,p=d;S&&(h+=S[3],p+=S[0]);var v=h+x;Y(t)&&this._renderBackground(t,t,w,d,f,O);for(var g=!!t.backgroundColor,T=0;T<i.lines.length;T++){for(var B=i.lines[T],C=B.tokens,A=C.length,W=B.lineHeight,L=B.width,D=0,F=h,y=v,b=A-1,o=void 0;D<A&&(o=C[D],!o.align||o.align==="left");)this._placeToken(o,t,W,p,F,"left",g),L-=o.width,F+=o.width,D++;for(;b>=0&&(o=C[b],o.align==="right");)this._placeToken(o,t,W,p,y,"right",g),L-=o.width,y-=o.width,b--;for(F+=(x-(F-h)-(v-y)-L)/2;D<=b;)o=C[D],this._placeToken(o,t,W,p,F+o.width/2,"center",g),F+=o.width,D++;p+=W}},a.prototype._placeToken=function(t,r,s,n,l,u,c){var i=r.rich[t.styleName]||{};i.text=t.text;var x=t.verticalAlign,f=n+s/2;x==="top"?f=n+t.height/2:x==="bottom"&&(f=n+s-t.height/2);var O=!t.isLineHolder&&Y(i);O&&this._renderBackground(i,r,u==="right"?l-t.width:u==="center"?l-t.width/2:l,f-t.height/2,t.width,t.height);var S=!!i.backgroundColor,w=t.textPadding;w&&(l=M(l,u,w),f-=t.height/2-w[0]-t.innerHeight/2);var d=this._getOrCreateChild(X.default),h=d.createStyle();d.useStyle(h);var p=this._defaultStyle,v=!1,g=0,T=!1,B=j("fill"in i?i.fill:"fill"in r?r.fill:(v=!0,p.fill)),C=U("stroke"in i?i.stroke:"stroke"in r?r.stroke:!S&&!c&&(!p.autoStroke||v)?(g=z,T=!0,p.stroke):null),A=i.textShadowBlur>0||r.textShadowBlur>0;h.text=t.text,h.x=l,h.y=f,A&&(h.shadowBlur=i.textShadowBlur||r.textShadowBlur||0,h.shadowColor=i.textShadowColor||r.textShadowColor||"transparent",h.shadowOffsetX=i.textShadowOffsetX||r.textShadowOffsetX||0,h.shadowOffsetY=i.textShadowOffsetY||r.textShadowOffsetY||0),h.textAlign=u,h.textBaseline="middle",h.font=t.font||H.DEFAULT_FONT,h.opacity=_.retrieve3(i.opacity,r.opacity,1),q(h,i),C&&(h.lineWidth=_.retrieve3(i.lineWidth,r.lineWidth,g),h.lineDash=_.retrieve2(i.lineDash,r.lineDash),h.lineDashOffset=r.lineDashOffset||0,h.stroke=C),B&&(h.fill=B),d.setBoundingRect(R.tSpanCreateBoundingRect2(h,t.contentWidth,t.contentHeight,T?0:null))},a.prototype._renderBackground=function(t,r,s,n,l,u){var c=t.backgroundColor,i=t.borderWidth,x=t.borderColor,f=c&&c.image,O=c&&!f,S=t.borderRadius,w=this,d,h;if(O||t.lineHeight||i&&x){d=this._getOrCreateChild(rt.default),d.useStyle(d.createStyle()),d.style.fill=null;var p=d.shape;p.x=s,p.y=n,p.width=l,p.height=u,p.r=S,d.dirtyShape()}if(O){var v=d.style;v.fill=c||null,v.fillOpacity=_.retrieve2(t.fillOpacity,1)}else if(f){h=this._getOrCreateChild(tt.default),h.onload=function(){w.dirtyStyle()};var g=h.style;g.image=c.image,g.x=s,g.y=n,g.width=l,g.height=u}if(i&&x){var v=d.style;v.lineWidth=i,v.stroke=x,v.strokeOpacity=_.retrieve2(t.strokeOpacity,1),v.lineDash=t.borderDash,v.lineDashOffset=t.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(v.strokeFirst=!0,v.lineWidth*=2)}var T=(d||h).style;T.shadowBlur=t.shadowBlur||0,T.shadowColor=t.shadowColor||"transparent",T.shadowOffsetX=t.shadowOffsetX||0,T.shadowOffsetY=t.shadowOffsetY||0,T.opacity=_.retrieve3(t.opacity,r.opacity,1)},a.makeFont=function(t){var r="";return K(t)&&(r=[t.fontStyle,t.fontWeight,$(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),r&&_.trim(r)||t.textFont||t.font},a}(E.default),at={left:!0,right:1,center:1},it={top:1,bottom:1,middle:1},I=["fontStyle","fontWeight","fontSize","fontFamily"];function $(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?H.DEFAULT_FONT_SIZE+"px":e+"px"}function q(e,a){for(var t=0;t<I.length;t++){var r=I[t],s=a[r];s!=null&&(e[r]=s)}}function K(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function J(e){return k(e),_.each(e.rich,k),e}function k(e){if(e){e.font=G.makeFont(e);var a=e.align;a==="middle"&&(a="center"),e.align=a==null||at[a]?a:"left";var t=e.verticalAlign;t==="center"&&(t="middle"),e.verticalAlign=t==null||it[t]?t:"top";var r=e.padding;r&&(e.padding=_.normalizeCssArray(e.padding))}}function U(e,a){return e==null||a<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function j(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function M(e,a,t){return a==="right"?e-t[1]:a==="center"?e+t[3]/2-t[1]/2:e+t[3]}function Z(e){var a=e.text;return a!=null&&(a+=""),a}function Y(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}exports.DEFAULT_TEXT_ANIMATION_PROPS=V;exports.default=G;exports.hasSeparateFont=K;exports.normalizeTextStyle=J;exports.parseFontSize=$;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var E=1,_=2,T=4;exports.REDRAW_BIT=E;exports.SHAPE_CHANGED_BIT=T;exports.STYLE_CHANGED_BIT=_;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("../../core/LRU.js"),f=require("../../core/platform.js");var i=new d.default(50);function h(t){if(typeof t=="string"){var e=i.get(t);return e&&e.image}else return t}function _(t,e,r,n,a){if(t)if(typeof t=="string"){if(e&&e.__zrImageSrc===t||!r)return e;var o=i.get(t),l={hostEl:r,cb:n,cbPayload:a};return o?(e=o.image,!u(e)&&o.pending.push(l)):(e=f.platformApi.loadImage(t,s,s),e.__zrImageSrc=t,i.put(t,e.__cachedImgObj={image:e,pending:[l]})),e}else return t;else return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var r=t.pending[e],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}exports.createOrUpdateImage=_;exports.findExistImage=h;exports.isImageReady=u;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/parseText.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("./image.js"),I=require("../../core/util.js"),f=require("../../contain/text.js"),z=require("../../core/BoundingRect.js");var V=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function he(r,e,s,h,a,t){if(!s){r.text="",r.isTruncated=!1;return}var i=(e+"").split(`
|
|
2
|
+
`);t=y(s,h,a,t);for(var n=!1,u={},c=0,l=i.length;c<l;c++)ee(u,i[c],t),i[c]=u.textLine,n=n||u.isTruncated;r.text=i.join(`
|
|
3
|
+
`),r.isTruncated=n}function y(r,e,s,h){h=h||{};var a=I.extend({},h);s=I.retrieve2(s,"..."),a.maxIterations=I.retrieve2(h.maxIterations,2);var t=a.minChar=I.retrieve2(h.minChar,0),i=a.fontMeasureInfo=f.ensureFontMeasureInfo(e),n=i.asciiCharWidth;a.placeholder=I.retrieve2(h.placeholder,"");for(var u=r=Math.max(0,r-1),c=0;c<t&&u>=n;c++)u-=n;var l=f.measureWidth(i,s);return l>u&&(s="",l=0),u=r-l,a.ellipsis=s,a.ellipsisWidth=l,a.contentWidth=u,a.containerWidth=r,a}function ee(r,e,s){var h=s.containerWidth,a=s.contentWidth,t=s.fontMeasureInfo;if(!h){r.textLine="",r.isTruncated=!1;return}var i=f.measureWidth(t,e);if(i<=h){r.textLine=e,r.isTruncated=!1;return}for(var n=0;;n++){if(i<=a||n>=s.maxIterations){e+=s.ellipsis;break}var u=n===0?le(e,a,t):i>0?Math.floor(e.length*a/i):0;e=e.substr(0,u),i=f.measureWidth(t,e)}e===""&&(e=s.placeholder),r.textLine=e,r.isTruncated=!0}function le(r,e,s){for(var h=0,a=0,t=r.length;a<t&&h<e;a++)h+=f.measureCharWidth(s,r.charCodeAt(a));return a}function se(r,e,s,h){var a=_(r),t=e.overflow,i=e.padding,n=i?i[1]+i[3]:0,u=i?i[0]+i[2]:0,c=e.font,l=t==="truncate",T=f.getLineHeight(c),p=I.retrieve2(e.lineHeight,T),x=e.lineOverflow==="truncate",d=!1,g=e.width;g==null&&s!=null&&(g=s-n);var C=e.height;C==null&&h!=null&&(C=h-u);var o;g!=null&&(t==="break"||t==="breakAll")?o=a?te(a,e.font,g,t==="breakAll",0).lines:[]:o=a?a.split(`
|
|
4
|
+
`):[];var m=o.length*p;if(C==null&&(C=m),m>C&&x){var w=Math.floor(C/p);d=d||o.length>w,o=o.slice(0,w),m=o.length*p}if(a&&l&&g!=null)for(var R=y(g,c,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),b={},M=0;M<o.length;M++)ee(b,o[M],R),o[M]=b.textLine,d=d||b.isTruncated;for(var O=C,W=0,A=f.ensureFontMeasureInfo(c),M=0;M<o.length;M++)W=Math.max(f.measureWidth(A,o[M]),W);g==null&&(g=W);var F=g;return O+=u,F+=n,{lines:o,height:C,outerWidth:F,outerHeight:O,lineHeight:p,calculatedLineHeight:T,contentWidth:W,contentHeight:m,width:g,isTruncated:d}}var ve=function(){function r(){}return r}(),U=function(){function r(e){this.tokens=[],e&&(this.tokens=e)}return r}(),re=function(){function r(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return r}();function ce(r,e,s,h,a){var t=new re,i=_(r);if(!i)return t;var n=e.padding,u=n?n[1]+n[3]:0,c=n?n[0]+n[2]:0,l=e.width;l==null&&s!=null&&(l=s-u);var T=e.height;T==null&&h!=null&&(T=h-c);for(var p=e.overflow,x=(p==="break"||p==="breakAll")&&l!=null?{width:l,accumWidth:0,breakAll:p==="breakAll"}:null,d=V.lastIndex=0,g;(g=V.exec(i))!=null;){var C=g.index;C>d&&Z(t,i.substring(d,C),e,x),Z(t,g[2],e,x,g[1]),d=V.lastIndex}d<i.length&&Z(t,i.substring(d,i.length),e,x);var o=[],m=0,w=0,R=p==="truncate",b=e.lineOverflow==="truncate",M={};function O(K,N,P){K.width=N,K.lineHeight=P,m+=P,w=Math.max(w,N)}e:for(var W=0;W<t.lines.length;W++){for(var A=t.lines[W],F=0,S=0,Y=0;Y<A.tokens.length;Y++){var v=A.tokens[Y],H=v.styleName&&e.rich[v.styleName]||{},L=v.textPadding=H.padding,G=L?L[1]+L[3]:0,q=v.font=H.font||e.font;v.contentHeight=f.getLineHeight(q);var X=I.retrieve2(H.height,v.contentHeight);if(v.innerHeight=X,L&&(X+=L[0]+L[2]),v.height=X,v.lineHeight=I.retrieve3(H.lineHeight,e.lineHeight,X),v.align=H&&H.align||a,v.verticalAlign=H&&H.verticalAlign||"middle",b&&T!=null&&m+v.lineHeight>T){var ne=t.lines.length;Y>0?(A.tokens=A.tokens.slice(0,Y),O(A,S,F),t.lines=t.lines.slice(0,W+1)):t.lines=t.lines.slice(0,W),t.isTruncated=t.isTruncated||t.lines.length<ne;break e}var B=H.width,D=B==null||B==="auto";if(typeof B=="string"&&B.charAt(B.length-1)==="%")v.percentWidth=B,o.push(v),v.contentWidth=f.measureWidth(f.ensureFontMeasureInfo(q),v.text);else{if(D){var J=H.backgroundColor,E=J&&J.image;E&&(E=Q.findExistImage(E),Q.isImageReady(E)&&(v.width=Math.max(v.width,E.width*X/E.height)))}var j=R&&l!=null?l-S:null;j!=null&&j<v.width?!D||j<G?(v.text="",v.width=v.contentWidth=0):(he(M,v.text,j-G,q,e.ellipsis,{minChar:e.truncateMinChar}),v.text=M.text,t.isTruncated=t.isTruncated||M.isTruncated,v.width=v.contentWidth=f.measureWidth(f.ensureFontMeasureInfo(q),v.text)):v.contentWidth=f.measureWidth(f.ensureFontMeasureInfo(q),v.text)}v.width+=G,S+=v.width,H&&(F=Math.max(F,v.lineHeight))}O(A,S,F)}t.outerWidth=t.width=I.retrieve2(l,w),t.outerHeight=t.height=I.retrieve2(T,m),t.contentHeight=m,t.contentWidth=w,t.outerWidth+=u,t.outerHeight+=c;for(var W=0;W<o.length;W++){var v=o[W],ue=v.percentWidth;v.width=parseInt(ue,10)/100*t.width}return t}function Z(r,e,s,h,a){var t=e==="",i=a&&s.rich[a]||{},n=r.lines,u=i.font||s.font,c=!1,l,T;if(h){var p=i.padding,x=p?p[1]+p[3]:0;if(i.width!=null&&i.width!=="auto"){var d=f.parsePercent(i.width,h.width)+x;n.length>0&&d+h.accumWidth>h.width&&(l=e.split(`
|
|
5
|
+
`),c=!0),h.accumWidth=d}else{var g=te(e,u,h.width,h.breakAll,h.accumWidth);h.accumWidth=g.accumWidth+x,T=g.linesWidths,l=g.lines}}l||(l=e.split(`
|
|
6
|
+
`));for(var C=f.ensureFontMeasureInfo(u),o=0;o<l.length;o++){var m=l[o],w=new ve;if(w.styleName=a,w.text=m,w.isLineHolder=!m&&!t,typeof i.width=="number"?w.width=i.width:w.width=T?T[o]:f.measureWidth(C,m),!o&&!c){var R=(n[n.length-1]||(n[0]=new U)).tokens,b=R.length;b===1&&R[0].isLineHolder?R[0]=w:(m||!b||t)&&R.push(w)}else n.push(new U([w]))}}function fe(r){var e=r.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var de=I.reduce(",&?/;] ".split(""),function(r,e){return r[e]=!0,r},{});function ge(r){return fe(r)?!!de[r]:!0}function te(r,e,s,h,a){for(var t=[],i=[],n="",u="",c=0,l=0,T=f.ensureFontMeasureInfo(e),p=0;p<r.length;p++){var x=r.charAt(p);if(x===`
|
|
7
|
+
`){u&&(n+=u,l+=c),t.push(n),i.push(l),n="",u="",c=0,l=0;continue}var d=f.measureCharWidth(T,x.charCodeAt(0)),g=h?!1:!ge(x);if(t.length?l+d>s:a+l+d>s){l?(n||u)&&(g?(n||(n=u,u="",c=0,l=c),t.push(n),i.push(l-c),u+=x,c+=d,n="",l=c):(u&&(n+=u,u="",c=0),t.push(n),i.push(l),n=x,l=d)):g?(t.push(u),i.push(c),u=x,c=d):(t.push(x),i.push(d));continue}l+=d,g?(u+=x,c+=d):(u&&(n+=u,u="",c=0),n+=x)}return u&&(n+=u),n&&(t.push(n),i.push(l)),t.length===1&&(l+=a),{accumWidth:l,lines:t,linesWidths:i}}function oe(r,e,s,h,a,t){if(r.baseX=s,r.baseY=h,r.outerWidth=r.outerHeight=null,!!e){var i=e.width*2,n=e.height*2;z.default.set($,f.adjustTextX(s,i,a),f.adjustTextY(h,n,t),i,n),z.default.intersect(e,$,null,k);var u=k.outIntersectRect;r.outerWidth=u.width,r.outerHeight=u.height,r.baseX=f.adjustTextX(u.x,u.width,a,!0),r.baseY=f.adjustTextY(u.y,u.height,t,!0)}}var $=new z.default(0,0,0,0),k={outIntersectRect:{},clamp:!0};function _(r){return r!=null?r+="":r=""}function xe(r){var e=_(r.text),s=r.font,h=f.measureWidth(f.ensureFontMeasureInfo(s),e),a=f.getLineHeight(s);return ae(r,h,a,null)}function ae(r,e,s,h){var a=new z.default(f.adjustTextX(r.x||0,e,r.textAlign),f.adjustTextY(r.y||0,s,r.textBaseline),e,s),t=h??(ie(r)?r.lineWidth:0);return t>0&&(a.x-=t/2,a.y-=t/2,a.width+=t,a.height+=t),a}function ie(r){var e=r.stroke;return e!=null&&e!=="none"&&r.lineWidth>0}exports.RichTextContentBlock=re;exports.calcInnerTextOverflowArea=oe;exports.parsePlainText=se;exports.parseRichText=ce;exports.tSpanCreateBoundingRect=xe;exports.tSpanCreateBoundingRect2=ae;exports.tSpanHasStroke=ie;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./smoothBezier.js");function l(e,t,v){var i=t.smooth,o=t.points;if(o&&o.length>=2){if(i){var n=h(o,i,v,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var a=o.length,r=0;r<(v?a:a-1);r++){var u=n[r*2],m=n[r*2+1],s=o[(r+1)%a];e.bezierCurveTo(u[0],u[1],m[0],m[1],s[0],s[1])}}else{e.moveTo(o[0][0],o[0][1]);for(var r=1,f=o.length;r<f;r++)e.lineTo(o[r][0],o[r][1])}v&&e.closePath()}}exports.buildPath=l;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/roundRect.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function g(v,P){var o=P.x,h=P.y,t=P.width,f=P.height,l=P.r,r,e,i,a;t<0&&(o=o+t,t=-t),f<0&&(h=h+f,f=-f),typeof l=="number"?r=e=i=a=l:l instanceof Array?l.length===1?r=e=i=a=l[0]:l.length===2?(r=i=l[0],e=a=l[1]):l.length===3?(r=l[0],e=a=l[1],i=l[2]):(r=l[0],e=l[1],i=l[2],a=l[3]):r=e=i=a=0;var n;r+e>t&&(n=r+e,r*=t/n,e*=t/n),i+a>t&&(n=i+a,i*=t/n,a*=t/n),e+i>f&&(n=e+i,e*=f/n,i*=f/n),r+a>f&&(n=r+a,r*=f/n,a*=f/n),v.moveTo(o+r,h),v.lineTo(o+t-e,h),e!==0&&v.arc(o+t-e,h+e,e,-Math.PI/2,0),v.lineTo(o+t,h+f-i),i!==0&&v.arc(o+t-i,h+f-i,i,0,Math.PI/2),v.lineTo(o+a,h+f),a!==0&&v.arc(o+a,h+f-a,a,Math.PI/2,Math.PI),v.lineTo(o,h+r),r!==0&&v.arc(o+r,h+r,r,Math.PI,Math.PI*1.5)}exports.buildPath=g;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/roundSector.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const fv=require("../../core/util.js");var ev=Math.PI,vv=ev*2,Q=Math.sin,Y=Math.cos,yv=Math.acos,l=Math.atan2,nv=Math.abs,p=Math.sqrt,S=Math.max,b=Math.min,h=1e-4;function uv(v,u,s,y,r,C,Z,G){var d=s-v,i=y-u,o=Z-r,n=G-C,e=n*d-o*i;if(!(e*e<h))return e=(o*(u-C)-n*(v-r))/e,[v+e*d,u+e*i]}function E(v,u,s,y,r,C,Z){var G=v-s,d=u-y,i=(Z?C:-C)/p(G*G+d*d),o=i*d,n=-i*G,e=v+o,g=u+n,U=s+o,H=y+n,V=(e+U)/2,W=(g+H)/2,m=U-e,P=H-g,B=m*m+P*P,J=r-C,N=e*H-U*g,q=(P<0?-1:1)*p(S(0,J*J*B-N*N)),k=(N*P-m*q)/B,T=(-N*m-P*q)/B,A=(N*P+m*q)/B,D=(-N*m+P*q)/B,F=k-V,K=T-W,L=A-V,w=D-W;return F*F+K*K>L*L+w*w&&(k=A,T=D),{cx:k,cy:T,x0:-o,y0:-n,x1:k*(r/J-1),y1:T*(r/J-1)}}function dv(v){var u;if(fv.isArray(v)){var s=v.length;if(!s)return v;s===1?u=[v[0],v[0],0,0]:s===2?u=[v[0],v[0],v[1],v[1]]:s===3?u=v.concat(v[2]):u=v}else u=[v,v,v,v];return u}function iv(v,u){var s,y=S(u.r,0),r=S(u.r0||0,0),C=y>0,Z=r>0;if(!(!C&&!Z)){if(C||(y=r,r=0),r>y){var G=y;y=r,r=G}var d=u.startAngle,i=u.endAngle;if(!(isNaN(d)||isNaN(i))){var o=u.cx,n=u.cy,e=!!u.clockwise,g=nv(i-d),U=g>vv&&g%vv;if(U>h&&(g=U),!(y>h))v.moveTo(o,n);else if(g>vv-h)v.moveTo(o+y*Y(d),n+y*Q(d)),v.arc(o,n,y,d,i,!e),r>h&&(v.moveTo(o+r*Y(i),n+r*Q(i)),v.arc(o,n,r,i,d,e));else{var H=void 0,V=void 0,W=void 0,m=void 0,P=void 0,B=void 0,J=void 0,N=void 0,q=void 0,k=void 0,T=void 0,A=void 0,D=void 0,F=void 0,K=void 0,L=void 0,w=y*Y(d),X=y*Q(d),$=r*Y(i),I=r*Q(i),M=g>h;if(M){var av=u.cornerRadius;av&&(s=dv(av),H=s[0],V=s[1],W=s[2],m=s[3]);var O=nv(y-r)/2;if(P=b(O,W),B=b(O,m),J=b(O,H),N=b(O,V),T=q=S(P,B),A=k=S(J,N),(q>h||k>h)&&(D=y*Y(i),F=y*Q(i),K=r*Y(d),L=r*Q(d),g<ev)){var j=uv(w,X,K,L,D,F,$,I);if(j){var _=w-j[0],x=X-j[1],t=D-j[0],c=F-j[1],rv=1/Q(yv((_*t+x*c)/(p(_*_+x*x)*p(t*t+c*c)))/2),ov=p(j[0]*j[0]+j[1]*j[1]);T=b(q,(y-ov)/(rv+1)),A=b(k,(r-ov)/(rv-1))}}}if(!M)v.moveTo(o+w,n+X);else if(T>h){var z=b(W,T),R=b(m,T),a=E(K,L,w,X,y,z,e),f=E(D,F,$,I,y,R,e);v.moveTo(o+a.cx+a.x0,n+a.cy+a.y0),T<q&&z===R?v.arc(o+a.cx,n+a.cy,T,l(a.y0,a.x0),l(f.y0,f.x0),!e):(z>0&&v.arc(o+a.cx,n+a.cy,z,l(a.y0,a.x0),l(a.y1,a.x1),!e),v.arc(o,n,y,l(a.cy+a.y1,a.cx+a.x1),l(f.cy+f.y1,f.cx+f.x1),!e),R>0&&v.arc(o+f.cx,n+f.cy,R,l(f.y1,f.x1),l(f.y0,f.x0),!e))}else v.moveTo(o+w,n+X),v.arc(o,n,y,d,i,!e);if(!(r>h)||!M)v.lineTo(o+$,n+I);else if(A>h){var z=b(H,A),R=b(V,A),a=E($,I,D,F,r,-R,e),f=E(w,X,K,L,r,-z,e);v.lineTo(o+a.cx+a.x0,n+a.cy+a.y0),A<k&&z===R?v.arc(o+a.cx,n+a.cy,A,l(a.y0,a.x0),l(f.y0,f.x0),!e):(R>0&&v.arc(o+a.cx,n+a.cy,R,l(a.y0,a.x0),l(a.y1,a.x1),!e),v.arc(o,n,r,l(a.cy+a.y1,a.cx+a.x1),l(f.cy+f.y1,f.cx+f.x1),e),z>0&&v.arc(o+f.cx,n+f.cy,z,l(f.y1,f.x1),l(f.y0,f.x0),!e))}else v.lineTo(o+$,n+I),v.arc(o,n,r,i,d,e)}v.closePath()}}}exports.buildPath=iv;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/helper/smoothBezier.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("../../core/vector.js");function q(r,c,g,u){var i=[],l=[],P=[],b=[],x,s,v,f;if(u){v=[1/0,1/0],f=[-1/0,-1/0];for(var e=0,n=r.length;e<n;e++)a.min(v,v,r[e]),a.max(f,f,r[e]);a.min(v,v,u[0]),a.max(f,f,u[1])}for(var e=0,n=r.length;e<n;e++){var y=r[e];if(g)x=r[e?e-1:n-1],s=r[(e+1)%n];else if(e===0||e===n-1){i.push(a.clone(r[e]));continue}else x=r[e-1],s=r[e+1];a.sub(l,s,x),a.scale(l,l,c);var I=a.distance(y,x),t=a.distance(y,s),d=I+t;d!==0&&(I/=d,t/=d),a.scale(P,l,-I),a.scale(b,l,t);var m=a.add([],y,P),h=a.add([],y,b);u&&(a.max(m,m,v),a.min(m,m,f),a.max(h,h,v),a.min(h,h,f)),i.push(m),i.push(h)}return g&&i.push(i.shift()),i}module.exports=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var y=Math.round;function g(i,r,e){if(r){var x=r.x1,l=r.x2,d=r.y1,v=r.y2;i.x1=x,i.x2=l,i.y1=d,i.y2=v;var n=e&&e.lineWidth;return n&&(y(x*2)===y(l*2)&&(i.x1=i.x2=f(x,n,!0)),y(d*2)===y(v*2)&&(i.y1=i.y2=f(d,n,!0))),i}}function b(i,r,e){if(r){var x=r.x,l=r.y,d=r.width,v=r.height;i.x=x,i.y=l,i.width=d,i.height=v;var n=e&&e.lineWidth;return n&&(i.x=f(x,n,!0),i.y=f(l,n,!0),i.width=Math.max(f(x+d,n,!1)-i.x,d===0?0:1),i.height=Math.max(f(l+v,n,!1)-i.y,v===0?0:1)),i}}function f(i,r,e){if(!r)return i;var x=y(i*2);return(x+y(r))%2===0?x/2:(x+(e?1:-1))/2}exports.subPixelOptimize=f;exports.subPixelOptimizeLine=g;exports.subPixelOptimizeRect=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const A=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),d=require("../Path.js");var u=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),l=function(r){A.__extends(e,r);function e(n){return r.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new u},e.prototype.buildPath=function(n,t){var c=t.cx,o=t.cy,i=Math.max(t.r,0),a=t.startAngle,s=t.endAngle,f=t.clockwise,h=Math.cos(a),v=Math.sin(a);n.moveTo(h*i+c,v*i+o),n.arc(c,o,i,a,s,!f)},e}(d.default);l.prototype.type="arc";exports.ArcShape=u;exports.default=l;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/BezierCurve.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const A=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),S=require("../Path.js"),z=require("../../core/vector.js"),c=require("../../core/curve.js");var i=[],b=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function x(t,u,r){var e=t.cpx2,a=t.cpy2;return e!=null||a!=null?[(r?c.cubicDerivativeAt:c.cubicAt)(t.x1,t.cpx1,t.cpx2,t.x2,u),(r?c.cubicDerivativeAt:c.cubicAt)(t.y1,t.cpy1,t.cpy2,t.y2,u)]:[(r?c.quadraticDerivativeAt:c.quadraticAt)(t.x1,t.cpx1,t.x2,u),(r?c.quadraticDerivativeAt:c.quadraticAt)(t.y1,t.cpy1,t.y2,u)]}var q=function(t){A.__extends(u,t);function u(r){return t.call(this,r)||this}return u.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},u.prototype.getDefaultShape=function(){return new b},u.prototype.buildPath=function(r,e){var a=e.x1,p=e.y1,o=e.x2,v=e.y2,l=e.cpx1,y=e.cpy1,d=e.cpx2,f=e.cpy2,n=e.percent;n!==0&&(r.moveTo(a,p),d==null||f==null?(n<1&&(c.quadraticSubdivide(a,l,o,n,i),l=i[1],o=i[2],c.quadraticSubdivide(p,y,v,n,i),y=i[1],v=i[2]),r.quadraticCurveTo(l,y,o,v)):(n<1&&(c.cubicSubdivide(a,l,d,o,n,i),l=i[1],d=i[2],o=i[3],c.cubicSubdivide(p,y,f,v,n,i),y=i[1],f=i[2],v=i[3]),r.bezierCurveTo(l,y,d,f,o,v)))},u.prototype.pointAt=function(r){return x(this.shape,r,!1)},u.prototype.tangentAt=function(r){var e=x(this.shape,r,!0);return z.normalize(e,e)},u}(S.default);q.prototype.type="bezier-curve";exports.BezierCurveShape=b;exports.default=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),u=require("../Path.js");var c=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),n=function(e){o.__extends(r,e);function r(i){return e.call(this,i)||this}return r.prototype.getDefaultShape=function(){return new c},r.prototype.buildPath=function(i,t){i.moveTo(t.cx+t.r,t.cy),i.arc(t.cx,t.cy,t.r,0,Math.PI*2)},r}(u.default);n.prototype.type="circle";exports.CircleShape=c;exports.default=n;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Ellipse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),f=require("../Path.js");var p=function(){function l(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return l}(),c=function(l){y.__extends(u,l);function u(t){return l.call(this,t)||this}return u.prototype.getDefaultShape=function(){return new p},u.prototype.buildPath=function(t,n){var v=.5522848,e=n.cx,r=n.cy,i=n.rx,o=n.ry,a=i*v,s=o*v;t.moveTo(e-i,r),t.bezierCurveTo(e-i,r-s,e-a,r-o,e,r-o),t.bezierCurveTo(e+a,r-o,e+i,r-s,e+i,r),t.bezierCurveTo(e+i,r+s,e+a,r+o,e,r+o),t.bezierCurveTo(e-a,r+o,e-i,r+s,e-i,r),t.closePath()},u}(f.default);c.prototype.type="ellipse";exports.EllipseShape=p;exports.default=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),x=require("../Path.js"),p=require("../helper/subPixelOptimize.js");var v={},y=function(){function o(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return o}(),f=function(o){c.__extends(i,o);function i(e){return o.call(this,e)||this}return i.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},i.prototype.getDefaultShape=function(){return new y},i.prototype.buildPath=function(e,t){var l,s,r,u;if(this.subPixelOptimize){var a=p.subPixelOptimizeLine(v,t,this.style);l=a.x1,s=a.y1,r=a.x2,u=a.y2}else l=t.x1,s=t.y1,r=t.x2,u=t.y2;var n=t.percent;n!==0&&(e.moveTo(l,s),n<1&&(r=l*(1-n)+r*n,u=s*(1-n)+u*n),e.lineTo(r,u))},i.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},i}(x.default);f.prototype.type="line";exports.LineShape=y;exports.default=f;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Polygon.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),i=require("../Path.js"),s=require("../helper/poly.js");var n=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),u=function(t){l.__extends(o,t);function o(e){return t.call(this,e)||this}return o.prototype.getDefaultShape=function(){return new n},o.prototype.buildPath=function(e,r){s.buildPath(e,r,!0)},o}(i.default);u.prototype.type="polygon";exports.PolygonShape=n;exports.default=u;
|
package/lib/node_modules/.pnpm/zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Polyline.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),u=require("../Path.js"),s=require("../helper/poly.js");var l=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),o=function(e){r.__extends(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new l},t.prototype.buildPath=function(n,i){s.buildPath(n,i,!1)},t}(u.default);o.prototype.type="polyline";exports.PolylineShape=l;exports.default=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),f=require("../Path.js"),y=require("../helper/roundRect.js"),v=require("../helper/subPixelOptimize.js");var o=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),b={},l=function(r){a.__extends(i,r);function i(u){return r.call(this,u)||this}return i.prototype.getDefaultShape=function(){return new o},i.prototype.buildPath=function(u,t){var n,c,h,s;if(this.subPixelOptimize){var e=v.subPixelOptimizeRect(b,t,this.style);n=e.x,c=e.y,h=e.width,s=e.height,e.r=t.r,t=e}else n=t.x,c=t.y,h=t.width,s=t.height;t.r?y.buildPath(u,t):u.rect(n,c,h,s)},i.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},i}(f.default);l.prototype.type="rect";exports.RectShape=o;exports.default=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),f=require("../Path.js");var a=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),c=function(r){l.__extends(n,r);function n(t){return r.call(this,t)||this}return n.prototype.getDefaultShape=function(){return new a},n.prototype.buildPath=function(t,e){var i=e.cx,o=e.cy,u=Math.PI*2;t.moveTo(i+e.r,o),t.arc(i,o,e.r,0,u,!1),t.moveTo(i+e.r0,o),t.arc(i,o,e.r0,0,u,!0)},n}(f.default);c.prototype.type="ring";exports.RingShape=a;exports.default=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js"),u=require("../Path.js"),h=require("../helper/roundSector.js");var i=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),n=function(e){s.__extends(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new i},t.prototype.buildPath=function(r,o){h.buildPath(r,o)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(u.default);n.prototype.type="sector";exports.SectorShape=i;exports.default=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var n=function(){function a(t,r){this.target=t,this.topTarget=r&&r.topTarget}return a}(),o=function(){function a(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return a.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new n(r,t),"dragstart",t.event))},a.prototype._drag=function(t){var r=this._draggingTarget;if(r){var g=t.offsetX,s=t.offsetY,h=g-this._x,d=s-this._y;this._x=g,this._y=s,r.drift(h,d,t),this.handler.dispatchToElement(new n(r,t),"drag",t.event);var i=this.handler.findHover(g,s,r).target,e=this._dropTarget;this._dropTarget=i,r!==i&&(e&&i!==e&&this.handler.dispatchToElement(new n(e,t),"dragleave",t.event),i&&i!==e&&this.handler.dispatchToElement(new n(i,t),"dragenter",t.event))}},a.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new n(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},a}();module.exports=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const v=require("./graphic.js"),u=require("./core.js"),g=require("./helper.js"),p=require("../core/util.js"),x=require("./patch.js"),G=require("../canvas/helper.js");var L=0,B=function(){function o(e,t,i){if(this.type="svg",this.refreshHover=b("refreshHover"),this.configLayer=b("configLayer"),this.storage=t,this._opts=i=p.extend({},i),this.root=e,this._id="zr"+L++,this._oldVNode=u.createSVGVNode(i.width,i.height),e&&!i.ssr){var s=this._viewport=document.createElement("div");s.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=u.createElement("svg");x.updateAttrs(null,this._oldVNode),s.appendChild(r),e.appendChild(s)}this.resize(i.width,i.height)}return o.prototype.getType=function(){return this.type},o.prototype.getViewportRoot=function(){return this._viewport},o.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},o.prototype.getSvgDom=function(){return this._svgDom},o.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",x.default(this._oldVNode,e),this._oldVNode=e}},o.prototype.renderOneToVNode=function(e){return v.brush(e,u.createBrushScope(this._id))},o.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),i=this._width,s=this._height,r=u.createBrushScope(this._id);r.animation=e.animation,r.willUpdate=e.willUpdate,r.compress=e.compress,r.emphasis=e.emphasis,r.ssr=this._opts.ssr;var h=[],n=this._bgVNode=D(i,s,this._backgroundColor,r);n&&h.push(n);var a=e.compress?null:this._mainVNode=u.createVNode("g","main",{},[]);this._paintList(t,r,a?a.children:h),a&&h.push(a);var _=p.map(p.keys(r.defs),function(d){return r.defs[d]});if(_.length&&h.push(u.createVNode("defs","defs",{},_)),e.animation){var l=u.getCssString(r.cssNodes,r.cssAnims,{newline:!0});if(l){var c=u.createVNode("style","stl",{},[],l);h.push(c)}}return u.createSVGVNode(i,s,h,e.useViewBox)},o.prototype.renderToString=function(e){return e=e||{},u.vNodeToString(this.renderToVNode({animation:p.retrieve2(e.cssAnimation,!0),emphasis:p.retrieve2(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:p.retrieve2(e.useViewBox,!0)}),{newline:!0})},o.prototype.setBackgroundColor=function(e){this._backgroundColor=e},o.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},o.prototype._paintList=function(e,t,i){for(var s=e.length,r=[],h=0,n,a,_=0,l=0;l<s;l++){var c=e[l];if(!c.invisible){var d=c.__clipPaths,N=d&&d.length||0,y=a&&a.length||0,f=void 0;for(f=Math.max(N-1,y-1);f>=0&&!(d&&a&&d[f]===a[f]);f--);for(var w=y-1;w>f;w--)h--,n=r[h-1];for(var V=f+1;V<N;V++){var S={};v.setClipPath(d[V],S,t);var m=u.createVNode("g","clip-g-"+_++,S,[]);(n?n.children:i).push(m),r[h++]=m,n=m}a=d;var T=v.brush(c,t);T&&(n?n.children:i).push(T)}}},o.prototype.resize=function(e,t){var i=this._opts,s=this.root,r=this._viewport;if(e!=null&&(i.width=e),t!=null&&(i.height=t),s&&r&&(r.style.display="none",e=G.getSize(s,0,i),t=G.getSize(s,1,i),r.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,r){var h=r.style;h.width=e+"px",h.height=t+"px"}if(g.isPattern(this._backgroundColor))this.refresh();else{var n=this._svgDom;n&&(n.setAttribute("width",e),n.setAttribute("height",t));var a=this._bgVNode&&this._bgVNode.elm;a&&(a.setAttribute("width",e),a.setAttribute("height",t))}}},o.prototype.getWidth=function(){return this._width},o.prototype.getHeight=function(){return this._height},o.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},o.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},o.prototype.toDataURL=function(e){var t=this.renderToString(),i="data:image/svg+xml;";return e?(t=g.encodeBase64(t),t&&i+"base64,"+t):i+"charset=UTF-8,"+encodeURIComponent(t)},o}();function b(o){return function(){process.env.NODE_ENV!=="production"&&p.logError('In SVG mode painter not support method "'+o+'"')}}function D(o,e,t,i){var s;if(t&&t!=="none")if(s=u.createVNode("rect","bg",{width:o,height:e,x:"0",y:"0"}),g.isGradient(t))v.setGradient({fill:t},s.attrs,"fill",i);else if(g.isPattern(t))v.setPattern({style:{fill:t},dirty:p.noop,getBoundingRect:function(){return{width:o,height:e}}},s.attrs,"fill",i);else{var r=g.normalizeColor(t),h=r.color,n=r.opacity;s.attrs.fill=h,n<1&&(s.attrs["fill-opacity"]=n)}return s}module.exports=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const S=require("./helper.js");var l=Math.sin,M=Math.cos,Z=Math.PI,d=Math.PI*2,g=180/Z,R=function(){function r(){}return r.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},r.prototype.moveTo=function(t,a){this._add("M",t,a)},r.prototype.lineTo=function(t,a){this._add("L",t,a)},r.prototype.bezierCurveTo=function(t,a,i,e,n,o){this._add("C",t,a,i,e,n,o)},r.prototype.quadraticCurveTo=function(t,a,i,e){this._add("Q",t,a,i,e)},r.prototype.arc=function(t,a,i,e,n,o){this.ellipse(t,a,i,i,0,e,n,o)},r.prototype.ellipse=function(t,a,i,e,n,o,_,P){var h=_-o,s=!P,p=Math.abs(h),u=S.isAroundZero(p-d)||(s?h>=d:-h>=d),v=h>0?h%d:h%d+d,f=!1;u?f=!0:S.isAroundZero(p)?f=!1:f=v>=Z==!!s;var y=t+i*M(o),T=a+e*l(o);this._start&&this._add("M",y,T);var c=Math.round(n*g);if(u){var b=1/this._p,C=(s?1:-1)*(d-b);this._add("A",i,e,c,1,+s,t+i*M(o+C),a+e*l(o+C)),b>.01&&this._add("A",i,e,c,0,+s,y,T)}else{var m=t+i*M(_),I=a+e*l(_);this._add("A",i,e,c,+f,+s,m,I)}},r.prototype.rect=function(t,a,i,e){this._add("M",t,a),this._add("l",i,0),this._add("l",0,e),this._add("l",-i,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(t,a,i,e,n,o,_,P,h){for(var s=[],p=this._p,u=1;u<arguments.length;u++){var v=arguments[u];if(isNaN(v)){this._invalid=!0;return}s.push(Math.round(v*p)/p)}this._d.push(t+s.join(" ")),this._start=t==="Z"},r.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},r.prototype.getStr=function(){return this._str},r}();module.exports=R;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../core/util.js"),w=require("../core/dom.js");var d="http://www.w3.org/2000/svg",v="http://www.w3.org/1999/xlink",h="http://www.w3.org/2000/xmlns/",E="http://www.w3.org/XML/1998/namespace",p="ecmeta_";function x(e){return document.createElementNS(d,e)}function g(e,n,c,r,t){return{tag:e,attrs:c||{},children:r,text:t,key:n}}function A(e,n){var c=[];if(n)for(var r in n){var t=n[r],o=r;t!==!1&&(t!==!0&&t!=null&&(o+='="'+t+'"'),c.push(o))}return"<"+e+" "+c.join(" ")+">"}function C(e){return"</"+e+">"}function M(e,n){n=n||{};var c=n.newline?`
|
|
2
|
+
`:"";function r(t){var o=t.children,s=t.tag,f=t.attrs,i=t.text;return A(s,f)+(s!=="style"?w.encodeHTML(i):i||"")+(o?""+c+u.map(o,function(a){return r(a)}).join(c)+c:"")+C(s)}return r(e)}function k(e,n,c){c=c||{};var r=c.newline?`
|
|
3
|
+
`:"",t=" {"+r,o=r+"}",s=u.map(u.keys(e),function(i){return i+t+u.map(u.keys(e[i]),function(a){return a+":"+e[i][a]+";"}).join(r)+o}).join(r),f=u.map(u.keys(n),function(i){return"@keyframes "+i+t+u.map(u.keys(n[i]),function(a){return a+t+u.map(u.keys(n[i][a]),function(S){var l=n[i][a][S];return S==="d"&&(l='path("'+l+'")'),S+":"+l+";"}).join(r)+o}).join(r)+o}).join(r);return!s&&!f?"":["<![CDATA[",s,f,"]]>"].join(r)}function y(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function I(e,n,c,r){return g("svg","root",{width:e,height:n,xmlns:d,"xmlns:xlink":v,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+n:!1},c)}exports.META_DATA_PREFIX=p;exports.SVGNS=d;exports.XLINKNS=v;exports.XMLNS=h;exports.XML_NAMESPACE=E;exports.createBrushScope=y;exports.createElement=x;exports.createSVGVNode=I;exports.createVNode=g;exports.getCssString=k;exports.vNodeToString=M;
|