vue-icon-packs
Version:
Vue SVG icon components.
141 lines (130 loc) • 4.9 kB
JavaScript
//
//
var script = { name: 'LGit'};
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:
"M21.62,11.108l-8.731-8.729c-0.503-0.502-1.318-0.502-1.823,0L9.257,4.19l2.299,2.3c0.537-0.179,1.149-0.059,1.574,0.367\tc0.43,0.43,0.548,1.049,0.365,1.583l2.214,2.217c0.538-0.186,1.156-0.065,1.583,0.362c0.601,0.6,0.601,1.569,0,2.169\tc-0.599,0.6-1.566,0.6-2.166,0c-0.449-0.45-0.562-1.113-0.337-1.662l-2.074-2.063v5.437c0.146,0.071,0.286,0.169,0.407,0.29\tc0.595,0.601,0.595,1.568,0,2.166c-0.599,0.601-1.574,0.601-2.174,0c-0.599-0.599-0.599-1.565,0-2.164\tc0.152-0.15,0.322-0.264,0.504-0.339V9.363c-0.181-0.076-0.353-0.186-0.5-0.334c-0.454-0.454-0.563-1.118-0.33-1.674l-2.26-2.271\tl-5.987,5.982c-0.5,0.504-0.5,1.32,0,1.824l8.731,8.729c0.503,0.504,1.318,0.504,1.821,0l8.69-8.689\tC22.124,12.429,22.124,11.612,21.62,11.108"
}
})
]
)
};
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__;