vue-icon-packs
Version:
Vue SVG icon components.
163 lines (152 loc) • 6.19 kB
JavaScript
//
//
var script = { name: 'LChrome'};
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:
"M107.422,2059.599c-14.043-1.826-30.596-8.076-42.813-16.26c-10.098-6.641-23.965-20.205-23.086-22.51 c1.924-5.01,32.803-56.582,33.291-55.615c0.381,0.664,0.957,2.783,1.24,4.902c2.5,13.848,14.248,27.031,28.965,32.52 c5.684,2.217,6.826,2.217,54.951,2.695l49.17,0.479l-3.945,6.455c-13.857,22.607-35.225,38.193-61.973,45.127 C135.908,2059.316,115.127,2060.566,107.422,2059.599z",
transform: "matrix(.1 0 0 -.1 0 208)"
}
}),
_c("path", {
attrs: {
d:
"M31.992,2007.832c-4.521-7.988-9.824-24.15-11.064-33.584c-5.879-42.725,15.684-84.004,53.789-103.145 c8.945-4.521,21.738-8.857,27.324-9.336l3.555-0.283l16.748,28.379c9.141,15.586,16.543,28.486,16.357,28.672 c-0.195,0.195-2.314-0.381-4.814-1.25c-15.684-5.293-33.867-0.859-45.703,11.162c-4.229,4.238-10.01,13.574-28.389,45.42 c-12.705,22.041-23.379,40.127-23.77,40.127C35.742,2013.994,33.906,2011.201,31.992,2007.832z",
transform: "matrix(.1 0 0 -.1 0 208)"
}
}),
_c("path", {
attrs: {
d:
"M151.494,1991.963c12.227-12.422,16.553-30.029,11.162-45.908c-0.859-2.598-12.119-22.705-25.01-44.844 c-12.9-22.031-23.486-40.313-23.486-40.596c0-1.152,13.281-0.576,21.748,0.869c43.203,7.402,75.732,40.02,82.656,82.754 c2.598,15.586,1.641,29.248-3.076,45.029l-2.5,8.369h-33.584h-33.486L151.494,1991.963z",
transform: "matrix(.1 0 0 -.1 0 208)"
}
}),
_c("path", {
attrs: {
d:
"M106.084,1994.365c-10.107-4.238-17.031-11.357-20.791-21.455c-1.729-4.531-2.021-7.129-1.729-14.238 c0.293-7.51,0.674-9.629,3.467-15.117c3.662-7.5,9.619-13.281,17.51-17.021c4.619-2.217,6.543-2.51,15.391-2.51 c8.955,0,10.781,0.293,15.596,2.598c7.119,3.271,14.619,10.781,17.9,17.9c2.305,4.814,2.588,6.641,2.588,15.586 c0,8.857-0.283,10.781-2.5,15.4c-3.75,7.881-9.521,13.857-17.031,17.51c-5.674,2.793-7.412,3.174-15.586,3.467 C113.008,1996.679,110.996,1996.386,106.084,1994.365z",
transform: "matrix(.1 0 0 -.1 0 208)"
}
})
]
)
};
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__;