vue-icon-packs
Version:
Vue SVG icon components.
141 lines (130 loc) • 5.09 kB
JavaScript
//
//
var script = { name: 'SCarCrash'};
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
if (typeof shadowMode !== 'boolean') {
createInjectorSSR = createInjector;
createInjector = shadowMode;
shadowMode = false;
}
// Vue.extend constructor export interop.
const options = typeof script === 'function' ? script.options : script;
// render functions
if (template && template.render) {
options.render = template.render;
options.staticRenderFns = template.staticRenderFns;
options._compiled = true;
// functional template
if (isFunctionalTemplate) {
options.functional = true;
}
}
// scopedId
if (scopeId) {
options._scopeId = scopeId;
}
let hook;
if (moduleIdentifier) {
// server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__;
}
// inject component styles
if (style) {
style.call(this, createInjectorSSR(context));
}
// register component module identifier for async chunk inference
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier);
}
};
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook;
}
else if (style) {
hook = shadowMode
? function (context) {
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
}
: function (context) {
style.call(this, createInjector(context));
};
}
if (hook) {
if (options.functional) {
// register for functional component in vue file
const originalRender = options.render;
options.render = function renderWithStyleInjection(h, context) {
hook.call(context);
return originalRender(h, context);
};
}
else {
// inject component registration as beforeCreate hook
const existing = options.beforeCreate;
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
}
}
return script;
}
/* 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",
{
attrs: {
width: "1em",
height: "1em",
viewBox: "0 0 24 24",
fill: "currentColor"
}
},
[
_c("path", {
attrs: {
d:
"M2.634 17.918c.145.637.619 1.108 1.201 1.291L4.015 20H4v2h16v-2H6.683c.009-.091.015-.184-.007-.278l-.196-.863 10.357-2.356.196.863c.109.477.583.775 1.06.667l.863-.197c.478-.108.775-.583.667-1.06l-.251-1.103c.446-.416.67-1.046.525-1.683l-.59-2.59c-.149-.659-.652-1.14-1.262-1.307l-2.049-3.378c-.62-1.019-1.818-1.524-2.982-1.263L5.146 7.242C3.981 7.507 3.12 8.483 3.002 9.672l-.387 3.932c-.477.415-.721 1.065-.57 1.724L2.634 17.918zM5.654 17.23c-.714.163-1.427-.285-1.589-1-.163-.715.285-1.427 1-1.589s1.427.285 1.59 1C6.817 16.356 6.369 17.068 5.654 17.23zM16.876 14.678c-.715.163-1.427-.286-1.59-1-.162-.715.286-1.427 1.001-1.589s1.427.286 1.589 1C18.039 13.803 17.591 14.515 16.876 14.678zM5.589 9.192l7.869-1.791c.323-.073.657.068.83.351l1.585 2.613-.566.129L5.261 12.781 4.693 12.91l.299-3.042C5.025 9.538 5.265 9.266 5.589 9.192zM18.405 4L17 2 16.5 5 19 9 22 10 20 7.461 22 6.528 20 5.595 22 2z"
}
})
]
)
};
var __vue_staticRenderFns__ = [];
__vue_render__._withStripped = true;
/* 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__;