phosphor-vue
Version:
A clean and friendly icon family for Vue, too!
236 lines (220 loc) • 6.18 kB
JavaScript
import script from './PhPercent.vue_rollup-plugin-vue_script.js';
import normalizeComponent from '../../node_modules/vue-runtime-helpers/dist/normalize-component.mjs.js';
/* script */
const __vue_script__ = script;
/* template */
var __vue_render__ = function () {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c('svg', _vm._g(_vm._b({
attrs: {
"xmlns": "http://www.w3.org/2000/svg",
"viewBox": "0 0 256 256",
"width": _vm.displaySize,
"height": _vm.displaySize,
"fill": _vm.displayColor,
"transform": _vm.displayMirrored
}
}, 'svg', _vm.$attrs, false), _vm.$listeners), [_vm._t("default"), _vm._v(" "), _vm.displayWeight === 'bold' ? _c('g', [_c('line', {
attrs: {
"x1": "200",
"y1": "56",
"x2": "56",
"y2": "200",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "76",
"cy": "76",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "180",
"cy": "180",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
})]) : _vm.displayWeight === 'duotone' ? _c('g', [_c('circle', {
attrs: {
"cx": "76",
"cy": "76",
"r": "28",
"opacity": "0.2"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "180",
"cy": "180",
"r": "28",
"opacity": "0.2"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "200",
"y1": "56",
"x2": "56",
"y2": "200",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "76",
"cy": "76",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-miterlimit": "10",
"stroke-width": "16"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "180",
"cy": "180",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-miterlimit": "10",
"stroke-width": "16"
}
})]) : _vm.displayWeight === 'fill' ? _c('g', [_c('path', {
attrs: {
"d": "M205.7,61.7l-144,144a8.2,8.2,0,0,1-11.4,0,8.1,8.1,0,0,1,0-11.4l144-144a8.1,8.1,0,0,1,11.4,11.4ZM50.5,101.5a36.2,36.2,0,0,1,0-51,36.2,36.2,0,0,1,51,0,36.1,36.1,0,0,1-51,51ZM56,76a19.7,19.7,0,0,0,5.9,14.1,19.9,19.9,0,0,0,28.2,0,19.8,19.8,0,0,0,0-28.2h0a19.8,19.8,0,0,0-28.2,0A19.7,19.7,0,0,0,56,76ZM216,180a36,36,0,1,1-61.5-25.5,36.2,36.2,0,0,1,51,0A35.9,35.9,0,0,1,216,180Zm-16,0a19.7,19.7,0,0,0-5.9-14.1,19.8,19.8,0,0,0-28.2,0A19.9,19.9,0,1,0,200,180Z"
}
})]) : _vm.displayWeight === 'light' ? _c('g', [_c('line', {
attrs: {
"x1": "200",
"y1": "56",
"x2": "56",
"y2": "200",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "76",
"cy": "76",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "180",
"cy": "180",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
})]) : _vm.displayWeight === 'thin' ? _c('g', [_c('line', {
attrs: {
"x1": "200",
"y1": "56",
"x2": "56",
"y2": "200",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "76",
"cy": "76",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "180",
"cy": "180",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
})]) : _vm.displayWeight === 'regular' ? _c('g', [_c('line', {
attrs: {
"x1": "200",
"y1": "56",
"x2": "56",
"y2": "200",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "76",
"cy": "76",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-miterlimit": "10",
"stroke-width": "16"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "180",
"cy": "180",
"r": "28",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-miterlimit": "10",
"stroke-width": "16"
}
})]) : _vm._e()], 2);
};
var __vue_staticRenderFns__ = [];
/* style */
const __vue_inject_styles__ = undefined;
/* scoped */
const __vue_scope_id__ = undefined;
/* module identifier */
const __vue_module_identifier__ = undefined;
/* functional template */
const __vue_is_functional_template__ = false;
/* style inject */
/* style inject SSR */
/* style inject shadow dom */
const __vue_component__ = /*#__PURE__*/normalizeComponent({
render: __vue_render__,
staticRenderFns: __vue_staticRenderFns__
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
var __vue_component__$1 = __vue_component__;
export { __vue_component__$1 as default };