1 line
4.8 KiB
JSON
1 line
4.8 KiB
JSON
{"remainingRequest":"C:\\Users\\hua\\Desktop\\suyi1111\\suyi1111\\suyi1111\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\hua\\Desktop\\suyi1111\\suyi1111\\suyi1111\\node_modules\\@jiaminghi\\data-view\\lib\\components\\borderBox7\\src\\main.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\hua\\Desktop\\suyi1111\\suyi1111\\suyi1111\\node_modules\\@jiaminghi\\data-view\\lib\\components\\borderBox7\\src\\main.vue","mtime":499162500000},{"path":"C:\\Users\\hua\\Desktop\\suyi1111\\suyi1111\\suyi1111\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\hua\\Desktop\\suyi1111\\suyi1111\\suyi1111\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\hua\\Desktop\\suyi1111\\suyi1111\\suyi1111\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\hua\\Desktop\\suyi1111\\suyi1111\\suyi1111\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBhdXRvUmVzaXplIGZyb20gJy4uLy4uLy4uL21peGluL2F1dG9SZXNpemUnCgppbXBvcnQgeyBkZWVwTWVyZ2UgfSBmcm9tICdAamlhbWluZ2hpL2NoYXJ0cy9saWIvdXRpbC9pbmRleCcKCmltcG9ydCB7IGRlZXBDbG9uZSB9IGZyb20gJ0BqaWFtaW5naGkvYy1yZW5kZXIvbGliL3BsdWdpbi91dGlsJwoKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICdEdkJvcmRlckJveDcnLAogIG1peGluczogW2F1dG9SZXNpemVdLAogIHByb3BzOiB7CiAgICBjb2xvcjogewogICAgICB0eXBlOiBBcnJheSwKICAgICAgZGVmYXVsdDogKCkgPT4gKFtdKQogICAgfQogIH0sCiAgZGF0YSAoKSB7CiAgICByZXR1cm4gewogICAgICByZWY6ICdib3JkZXItYm94LTcnLAoKICAgICAgZGVmYXVsdENvbG9yOiBbJ3JnYmEoMTI4LDEyOCwxMjgsMC4zKScsICdyZ2JhKDEyOCwxMjgsMTI4LDAuNSknXSwKCiAgICAgIG1lcmdlZENvbG9yOiBbXQogICAgfQogIH0sCiAgd2F0Y2g6IHsKICAgIGNvbG9yICgpIHsKICAgICAgY29uc3QgeyBtZXJnZUNvbG9yIH0gPSB0aGlzCgogICAgICBtZXJnZUNvbG9yKCkKICAgIH0KICB9LAogIG1ldGhvZHM6IHsKICAgIG1lcmdlQ29sb3IgKCkgewogICAgICBjb25zdCB7IGNvbG9yLCBkZWZhdWx0Q29sb3IgfSA9IHRoaXMKCiAgICAgIHRoaXMubWVyZ2VkQ29sb3IgPSBkZWVwTWVyZ2UoZGVlcENsb25lKGRlZmF1bHRDb2xvciwgdHJ1ZSksIGNvbG9yIHx8IFtdKQogICAgfQogIH0sCiAgbW91bnRlZCAoKSB7CiAgICBjb25zdCB7IG1lcmdlQ29sb3IgfSA9IHRoaXMKCiAgICBtZXJnZUNvbG9yKCkKICB9Cn0K"},{"version":3,"sources":["main.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA","file":"main.vue","sourceRoot":"node_modules/@jiaminghi/data-view/lib/components/borderBox7/src","sourcesContent":["\n<template>\n <div\n class=\"dv-border-box-7\"\n :style=\"`box-shadow: inset 0 0 40px ${mergedColor[0]}; border: 1px solid ${mergedColor[0]}`\"\n :ref=\"ref\"\n >\n <svg class=\"dv-svg-container\" :width=\"width\" :height=\"height\">\n <polyline class=\"dv-bb7-line-width-2\" :stroke=\"mergedColor[0]\" :points=\"`0, 25 0, 0 25, 0`\" />\n <polyline class=\"dv-bb7-line-width-2\" :stroke=\"mergedColor[0]\" :points=\"`${width - 25}, 0 ${width}, 0 ${width}, 25`\" />\n <polyline class=\"dv-bb7-line-width-2\" :stroke=\"mergedColor[0]\" :points=\"`${width - 25}, ${height} ${width}, ${height} ${width}, ${height - 25}`\" />\n <polyline class=\"dv-bb7-line-width-2\" :stroke=\"mergedColor[0]\" :points=\"`0, ${height - 25} 0, ${height} 25, ${height}`\" />\n\n <polyline class=\"dv-bb7-line-width-5\" :stroke=\"mergedColor[1]\" :points=\"`0, 10 0, 0 10, 0`\" />\n <polyline class=\"dv-bb7-line-width-5\" :stroke=\"mergedColor[1]\" :points=\"`${width - 10}, 0 ${width}, 0 ${width}, 10`\" />\n <polyline class=\"dv-bb7-line-width-5\" :stroke=\"mergedColor[1]\" :points=\"`${width - 10}, ${height} ${width}, ${height} ${width}, ${height - 10}`\" />\n <polyline class=\"dv-bb7-line-width-5\" :stroke=\"mergedColor[1]\" :points=\"`0, ${height - 10} 0, ${height} 10, ${height}`\" />\n </svg>\n\n <div class=\"border-box-content\">\n <slot></slot>\n </div>\n </div>\n</template>\n\n<script>\nimport autoResize from '../../../mixin/autoResize'\n\nimport { deepMerge } from '@jiaminghi/charts/lib/util/index'\n\nimport { deepClone } from '@jiaminghi/c-render/lib/plugin/util'\n\nexport default {\n name: 'DvBorderBox7',\n mixins: [autoResize],\n props: {\n color: {\n type: Array,\n default: () => ([])\n }\n },\n data () {\n return {\n ref: 'border-box-7',\n\n defaultColor: ['rgba(128,128,128,0.3)', 'rgba(128,128,128,0.5)'],\n\n mergedColor: []\n }\n },\n watch: {\n color () {\n const { mergeColor } = this\n\n mergeColor()\n }\n },\n methods: {\n mergeColor () {\n const { color, defaultColor } = this\n\n this.mergedColor = deepMerge(deepClone(defaultColor, true), color || [])\n }\n },\n mounted () {\n const { mergeColor } = this\n\n mergeColor()\n }\n}\n</script>"]}]} |