vue-icon-packs
Version:
Vue SVG icon components.
141 lines (130 loc) • 5.38 kB
JavaScript
//
//
var script = { name: 'LAndroid'};
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:
"M18.344 8.71c-.707 0-1.279.572-1.279 1.278v4.53c0 .709.572 1.28 1.279 1.28s1.279-.571 1.279-1.28v-4.53C19.623 9.282 19.051 8.71 18.344 8.71zM5.656 8.71c-.707 0-1.279.572-1.279 1.278v4.53c0 .709.572 1.28 1.279 1.28s1.279-.571 1.279-1.28v-4.53C6.936 9.282 6.363 8.71 5.656 8.71zM14.545 4.901l.768-1.388c.096-.167.033-.377-.133-.47-.168-.094-.379-.033-.471.135L13.92 4.598C13.332 4.363 12.684 4.23 12 4.23s-1.332.132-1.92.367L9.291 3.179C9.201 3.011 8.99 2.95 8.82 3.044c-.166.093-.227.303-.133.47l.768 1.388C8.072 5.69 7.148 7.099 7.148 8.71c0 .011 0 .021.002.034C7.148 8.75 7.148 8.757 7.148 8.763v.001h9.703V8.763c0-.006 0-.013 0-.019 0-.013 0-.023 0-.034C16.852 7.099 15.928 5.691 14.545 4.901zM9.76 6.869c-.189 0-.344-.156-.344-.346 0-.19.154-.346.344-.346.191 0 .348.155.348.346C10.107 6.713 9.951 6.869 9.76 6.869zM14.24 6.869c-.191 0-.346-.156-.346-.346 0-.19.154-.346.346-.346.189 0 .344.155.344.346C14.584 6.713 14.43 6.869 14.24 6.869zM7.148 16.12c0 .646.525 1.171 1.174 1.171h.586v2.401c0 .707.574 1.278 1.279 1.278s1.279-.571 1.279-1.278v-2.401h1.066v2.401c0 .707.572 1.278 1.277 1.278.709 0 1.281-.571 1.281-1.278v-2.401h.586c.648 0 1.174-.524 1.174-1.171V9.028H7.148V16.12z"
}
})
]
)
};
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__;