{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\@jiaminghi\\data-view\\lib\\components\\decoration5\\src\\main.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\@jiaminghi\\data-view\\lib\\components\\decoration5\\src\\main.vue","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.number.constructor\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport autoResize from \"../../../mixin/autoResize\";\nimport { getPolylineLength } from '@jiaminghi/charts/lib/util';\nimport { deepMerge } from '@jiaminghi/charts/lib/util/index';\nimport { deepClone } from '@jiaminghi/c-render/lib/plugin/util';\nexport default {\n name: 'DvDecoration5',\n mixins: [autoResize],\n props: {\n color: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n dur: {\n type: Number,\n default: 1.2\n }\n },\n data: function data() {\n return {\n ref: 'decoration-5',\n line1Points: '',\n line2Points: '',\n line1Length: 0,\n line2Length: 0,\n defaultColor: ['#3f96a5', '#3f96a5'],\n mergedColor: []\n };\n },\n watch: {\n color: function color() {\n var mergeColor = this.mergeColor;\n mergeColor();\n }\n },\n methods: {\n afterAutoResizeMixinInit: function afterAutoResizeMixinInit() {\n var calcSVGData = this.calcSVGData;\n calcSVGData();\n },\n calcSVGData: function calcSVGData() {\n var width = this.width,\n height = this.height;\n var line1Points = [[0, height * 0.2], [width * 0.18, height * 0.2], [width * 0.2, height * 0.4], [width * 0.25, height * 0.4], [width * 0.27, height * 0.6], [width * 0.72, height * 0.6], [width * 0.75, height * 0.4], [width * 0.8, height * 0.4], [width * 0.82, height * 0.2], [width, height * 0.2]];\n var line2Points = [[width * 0.3, height * 0.8], [width * 0.7, height * 0.8]];\n var line1Length = getPolylineLength(line1Points);\n var line2Length = getPolylineLength(line2Points);\n line1Points = line1Points.map(function (point) {\n return point.join(',');\n }).join(' ');\n line2Points = line2Points.map(function (point) {\n return point.join(',');\n }).join(' ');\n this.line1Points = line1Points;\n this.line2Points = line2Points;\n this.line1Length = line1Length;\n this.line2Length = line2Length;\n },\n onResize: function onResize() {\n var calcSVGData = this.calcSVGData;\n calcSVGData();\n },\n mergeColor: function mergeColor() {\n var color = this.color,\n defaultColor = this.defaultColor;\n this.mergedColor = deepMerge(deepClone(defaultColor, true), color || []);\n }\n },\n mounted: function mounted() {\n var mergeColor = this.mergeColor;\n mergeColor();\n }\n};",null]}