vue-icon-packs
Version:
Vue SVG icon components.
141 lines (130 loc) • 5.07 kB
JavaScript
//
//
var script = { name: 'LMastercard'};
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:
"M11.454,17.021c0.048,0.041,0.1,0.082,0.151,0.122c-0.981,0.65-2.157,1.03-3.42,1.03C4.774,18.175,2.01,15.412,2.01,12\tc0-3.409,2.765-6.174,6.174-6.174c1.264,0,2.44,0.379,3.418,1.03c-0.05,0.043-0.1,0.082-0.138,0.126\tC10.003,8.245,9.166,10.076,9.166,12C9.166,13.925,9.999,15.755,11.454,17.021z M15.815,5.826c-1.264,0-2.439,0.379-3.416,1.03\tc0.049,0.043,0.099,0.082,0.137,0.126c1.462,1.263,2.299,3.094,2.299,5.018s-0.835,3.753-2.288,5.021\tc-0.049,0.041-0.101,0.082-0.151,0.122c0.979,0.65,2.155,1.03,3.418,1.03c3.413,0.001,6.176-2.762,6.176-6.174\tC21.99,8.593,19.228,5.826,15.815,5.826z M12,7.15c-0.079,0.063-0.157,0.126-0.233,0.192C10.465,8.474,9.644,10.14,9.644,12\tc0,1.862,0.821,3.528,2.123,4.659c0.076,0.066,0.154,0.131,0.233,0.194c0.08-0.063,0.157-0.128,0.233-0.194\tc1.3-1.131,2.124-2.797,2.124-4.659c0-1.86-0.822-3.526-2.124-4.657C12.158,7.276,12.08,7.213,12,7.15L12,7.15z"
}
})
]
)
};
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__;