hz-zhhq-web/node_modules/.cache/babel-loader/dd1e311e4cfeb49b6a4c2ab2a2b...

1 line
2.0 KiB
JSON

{"remainingRequest":"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\\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":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _validate = require(\"@/utils/validate\");\n//\n//\n//\n//\n//\n//\n//\n// doc: https://panjiachen.github.io/vue-element-adxxmin-site/feature/component/svg-icon.html#usage\nvar _default = exports.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 (0, _validate.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]}