phosphor-vue
Version:
A clean and friendly icon family for Vue, too!
228 lines (212 loc) • 6.74 kB
JavaScript
import script from './PhTrafficSign.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('polyline', {
attrs: {
"points": "144 144 168 120 144 96",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "46",
"y": "46",
"width": "164",
"height": "164.05",
"rx": "8",
"transform": "translate(-53 128) rotate(-45)",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M88,148v-4a23.9,23.9,0,0,1,24-24h56",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
})]) : _vm.displayWeight === 'duotone' ? _c('g', [_c('rect', {
attrs: {
"x": "46",
"y": "46",
"width": "164",
"height": "164.05",
"rx": "8",
"transform": "translate(-53 128) rotate(-45)",
"opacity": "0.2"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "144 144 168 120 144 96",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "46",
"y": "46",
"width": "164",
"height": "164.05",
"rx": "8",
"transform": "translate(-53 128) rotate(-45)",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M88,152v-8a23.9,23.9,0,0,1,24-24h56",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
})]) : _vm.displayWeight === 'fill' ? _c('g', [_c('path', {
attrs: {
"d": "M244,116.7,139.3,12a15.9,15.9,0,0,0-22.6,0L12,116.7a16.1,16.1,0,0,0,0,22.6L116.7,244a15.9,15.9,0,0,0,22.6,0L244,139.3A16.1,16.1,0,0,0,244,116.7ZM176,120v.8a.4.4,0,0,0-.1.3.9.9,0,0,1-.1.5.8.8,0,0,1-.1.4v.3l-.2.4c0,.1-.1.2-.1.4l-.2.3v.4l-.2.3c-.1.1-.2.2-.2.3l-.3.4-.2.3-.5.5h0l-24,24a8.2,8.2,0,0,1-11.4,0,8.1,8.1,0,0,1,0-11.4L148.7,128H112a16,16,0,0,0-16,16v8a8,8,0,0,1-16,0v-8a32.1,32.1,0,0,1,32-32h36.7l-10.4-10.3a8.1,8.1,0,0,1,11.4-11.4l24,24h0l.5.5.2.3.3.4c0,.1.1.2.2.3l.2.3v.4l.2.3c0,.2.1.3.1.4l.2.4v.3a.8.8,0,0,1,.1.4.9.9,0,0,1,.1.5.4.4,0,0,0,.1.3v.8Z"
}
})]) : _vm.displayWeight === 'light' ? _c('g', [_c('polyline', {
attrs: {
"points": "144 144 168 120 144 96",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "46",
"y": "46",
"width": "164",
"height": "164.05",
"rx": "8",
"transform": "translate(-53 128) rotate(-45)",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M88,152v-8a23.9,23.9,0,0,1,24-24h56",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
})]) : _vm.displayWeight === 'thin' ? _c('g', [_c('polyline', {
attrs: {
"points": "144 144 168 120 144 96",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "46",
"y": "46",
"width": "164",
"height": "164.05",
"rx": "8",
"transform": "translate(-53 128) rotate(-45)",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M88,152v-8a23.9,23.9,0,0,1,24-24h56",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
})]) : _vm.displayWeight === 'regular' ? _c('g', [_c('polyline', {
attrs: {
"points": "144 144 168 120 144 96",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "46",
"y": "46",
"width": "164",
"height": "164.05",
"rx": "8",
"transform": "translate(-53 128) rotate(-45)",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M88,152v-8a23.9,23.9,0,0,1,24-24h56",
"fill": "none",
"stroke": _vm.displayColor,
"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);
var __vue_component__$1 = __vue_component__;
export { __vue_component__$1 as default };