phosphor-vue
Version:
A clean and friendly icon family for Vue, too!
236 lines (221 loc) • 6.19 kB
JavaScript
import normalizeComponent from '../../node_modules/vue-runtime-helpers/dist/normalize-component.mjs.js';
import component from './PhChartPie.vue_rollup-plugin-vue=script.js';
/* script */
const __vue_script__ = component;
/* template */
var __vue_render__ = function () {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c('svg', _vm._b({
attrs: {
"xmlns": "http://www.w3.org/2000/svg",
"viewBox": "0 0 256 256",
"width": _vm.size,
"height": _vm.size,
"fill": _vm.color,
"transform": _vm.mirrored ? 'scale(-1, 1)' : undefined
}
}, 'svg', _vm.$attrs, false), [_vm._t("default"), _vm._v(" "), _vm.weight === 'bold' ? _c('g', [_c('circle', {
attrs: {
"cx": "128",
"cy": "128",
"r": "96",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "128",
"y1": "128",
"x2": "128",
"y2": "32",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "211.13844",
"y1": "80",
"x2": "44.86156",
"y2": "176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
})]) : _vm.weight === 'duotone' ? _c('g', [_c('path', {
attrs: {
"d": "M128,128,44.86156,176l-.01368.00827A96.02522,96.02522,0,0,1,128,32Z",
"opacity": "0.2"
}
}), _vm._v(" "), _c('circle', {
attrs: {
"cx": "128",
"cy": "128",
"r": "96",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "128",
"y1": "128",
"x2": "128",
"y2": "32",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "211.13844",
"y1": "80",
"x2": "44.86156",
"y2": "176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
})]) : _vm.weight === 'fill' ? _c('g', [_c('path', {
attrs: {
"d": "M218.27124,76.39893c-.06738-.13331-.12878-.26807-.20435-.39893-.102-.17676-.21545-.34229-.32849-.50781A103.97483,103.97483,0,0,0,37.72876,179.60107c.06738.1333.12878.26807.20435.39893.07153.124.15856.23242.23559.35107A103.97546,103.97546,0,0,0,218.27124,76.39893Zm-18.40454.87158L136,114.14355V40.36768A88.02766,88.02766,0,0,1,199.8667,77.27051ZM128,216a87.95493,87.95493,0,0,1-71.8667-37.27051L207.88574,91.11572A87.9798,87.9798,0,0,1,128,216Z"
}
})]) : _vm.weight === 'light' ? _c('g', [_c('circle', {
attrs: {
"cx": "128",
"cy": "128",
"r": "96",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "128",
"y1": "128",
"x2": "128",
"y2": "32",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "211.13844",
"y1": "80",
"x2": "44.86156",
"y2": "176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
})]) : _vm.weight === 'thin' ? _c('g', [_c('circle', {
attrs: {
"cx": "128",
"cy": "128",
"r": "96",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "128",
"y1": "128",
"x2": "128",
"y2": "32",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "211.13844",
"y1": "80",
"x2": "44.86156",
"y2": "176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
})]) : _vm.weight === 'regular' ? _c('g', [_c('circle', {
attrs: {
"cx": "128",
"cy": "128",
"r": "96",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "128",
"y1": "128",
"x2": "128",
"y2": "32",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "211.13844",
"y1": "80",
"x2": "44.86156",
"y2": "176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"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);
export default __vue_component__;