1 line
2.0 KiB
JSON
1 line
2.0 KiB
JSON
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\components\\SvgIcon\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\components\\SvgIcon\\index.vue","mtime":1737610069385},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n\n// doc: https://panjiachen.github.io/vue-element-adxxmin-site/feature/component/svg-icon.html#usage\nimport { isExternal as _isExternal } from '@/utils/validate';\nexport default {\n name: 'SvgIcon',\n props: {\n iconClass: {\n type: String,\n required: true\n },\n className: {\n type: String,\n default: ''\n }\n },\n computed: {\n isExternal: function isExternal() {\n return _isExternal(this.iconClass);\n },\n iconName: function iconName() {\n return \"#icon-\".concat(this.iconClass);\n },\n svgClass: function svgClass() {\n if (this.className) {\n return 'svg-icon ' + this.className;\n } else {\n return 'svg-icon';\n }\n },\n styleExternalIcon: function styleExternalIcon() {\n return {\n mask: \"url(\".concat(this.iconClass, \") no-repeat 50% 50%\"),\n '-webkit-mask': \"url(\".concat(this.iconClass, \") no-repeat 50% 50%\")\n };\n }\n }\n};",null]} |