vue-icon-packs
Version:
Vue SVG icon components.
141 lines (130 loc) • 5.06 kB
JavaScript
//
//
var script = { name: 'LGoogleCloud'};
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:
"M19.511,9.722c-0.399-1.471-1.22-2.792-2.359-3.804l-0.035,0.035l0.005-0.042C13.888,3.059,8.953,3.366,6.1,6.599\tC5.307,7.498,4.731,8.566,4.418,9.722c0.031-0.013,0.066-0.013,0.099-0.023c-1.521,1.019-2.521,2.757-2.51,4.726\tc0.011,1.741,0.824,3.379,2.204,4.44l0.006-0.006l-0.006,0.024c0.98,0.741,2.178,1.139,3.407,1.134h4.321l0.024,0.024h4.341\tc3.117,0.024,5.664-2.483,5.688-5.601C22.007,12.552,21.076,10.781,19.511,9.722z M16.305,16.567h-4.341l-0.006,0.006v-0.031h-4.34\tc-0.308,0-0.611-0.066-0.892-0.193l0.002-0.001c-1.093-0.494-1.578-1.779-1.085-2.871c0.494-1.092,1.779-1.578,2.871-1.084\tc0.481,0.218,0.867,0.603,1.084,1.084l2.518-2.518c-0.844-1.103-2.057-1.837-3.396-2.1c0.018-0.009,0.035-0.024,0.05-0.021\tc1.545-1.697,4.146-1.895,5.931-0.451h0.046c1.008,0.841,1.582,2.093,1.558,3.407v0.433c1.198,0,2.17,0.971,2.17,2.17\tC18.475,15.596,17.503,16.567,16.305,16.567z"
}
})
]
)
};
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__;