1 line
2.2 KiB
JSON
1 line
2.2 KiB
JSON
{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\components\\SvgIcon\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\components\\SvgIcon\\index.vue","mtime":1732871026480},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\babel.config.js","mtime":1732871025888},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"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-admin-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]} |