UNPKG

mdi-vue

Version:

Material Design Icons for Vue.js

143 lines (131 loc) 3.76 kB
import { n as normalizeComponent, c as createInjector } from './browser-c94fd32b.js'; // // // // // // // // // // // // // // // // // // // var script = { name: 'mdi-vote', props: { width: { type: [Number, String], default: null }, height: { type: [Number, String], default: null }, size: { type: [Number, String], default: 24 }, viewBox: { type: [String], default: '0 0 24 24' }, xmlns: { type: String, default: 'http://www.w3.org/2000/svg' }, ariaLabel: { type: String, default: 'Vote icon' }, role: { type: String, default: 'img' }, title: { type: String, required: false }, spin: { type: Boolean, default: false } } }; /* script */ const __vue_script__ = script; /* template */ var __vue_render__ = function(_h, _vm) { var _c = _vm._c; return _c( "span", { class: [ _vm.data.staticClass, "mdi", "mdi-vote", _vm.props.spin ? "mdi-spin" : undefined ], attrs: { role: _vm.props.role, "aria-label": _vm.props.ariaLabel } }, [ _c( "svg", { attrs: { fill: "currentColor", width: _vm.props.width || _vm.props.size, height: _vm.props.height || _vm.props.size, viewBox: _vm.props.viewBox, xmlns: _vm.props.xmlns } }, [ _vm.title ? _c("title", [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm._v(" "), _c("path", { attrs: { d: "M18,13H17.32L15.32,15H17.23L19,17H5L6.78,15H8.83L6.83,13H6L3,16V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V16L18,13M17,7.95L12.05,12.9L8.5,9.36L13.46,4.41L17,7.95M12.76,2.29L6.39,8.66C6,9.05 6,9.68 6.39,10.07L11.34,15C11.73,15.41 12.36,15.41 12.75,15L19.11,8.66C19.5,8.27 19.5,7.64 19.11,7.25L14.16,2.3C13.78,1.9 13.15,1.9 12.76,2.29Z" } }) ] ) ] ) }; var __vue_staticRenderFns__ = []; __vue_render__._withStripped = true; /* style */ const __vue_inject_styles__ = function (inject) { if (!inject) return inject("data-v-9a0451e0_0", { source: ".mdi > svg {\n vertical-align: middle;\n}\n.mdi.mdi-spin > svg {\n -webkit-animation: mdi-spin 2s infinite linear;\n -moz-animation: mdi-spin 2s infinite linear;\n animation: mdi-spin 2s infinite linear;\n}\n@-webkit-keyframes mdi-spin {\n0% {\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n100% {\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n transform: rotate(360deg);\n}\n}\n@keyframes mdi-spin {\n0% {\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n100% {\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n transform: rotate(360deg);\n}\n}", map: undefined, media: undefined }); }; /* scoped */ const __vue_scope_id__ = undefined; /* module identifier */ const __vue_module_identifier__ = undefined; /* functional template */ const __vue_is_functional_template__ = true; /* 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, createInjector, undefined, undefined ); export default __vue_component__;