vue-icon-packs
Version:
Vue SVG icon components.
147 lines (136 loc) • 5.76 kB
JavaScript
//
//
var script = { name: 'LImdb'};
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:
"M13.646 10.237c-.057-.032-.16-.048-.313-.048v3.542c.201 0 .324-.041.371-.122s.07-.301.07-.66v-2.092c0-.244-.008-.4-.023-.469C13.736 10.32 13.701 10.27 13.646 10.237zM17.145 11.419c-.082 0-.137.031-.162.091-.025.061-.037.214-.037.46v1.426c0 .237.014.389.041.456.029.066.086.1.168.1.086 0 .199-.035.225-.103.027-.069.039-.234.039-.495V11.97c0-.228-.014-.377-.043-.447C17.344 11.454 17.229 11.419 17.145 11.419z"
}
}),
_c("path", {
attrs: {
d:
"M20,3H4C3.447,3,3,3.448,3,4v16c0,0.552,0.447,1,1,1h16c0.553,0,1-0.448,1-1V4C21,3.448,20.553,3,20,3z M6.631,14.663 H5.229V9.266h1.402V14.663z M11.453,14.663H10.23l-0.006-3.643l-0.49,3.643H8.859L8.342,11.1l-0.004,3.563H7.111V9.266H8.93 c0.051,0.327,0.107,0.71,0.166,1.15l0.201,1.371l0.324-2.521h1.832V14.663z M15.117,13.062c0,0.484-0.027,0.808-0.072,0.97 c-0.045,0.163-0.125,0.291-0.238,0.383c-0.115,0.092-0.254,0.157-0.422,0.193c-0.166,0.037-0.418,0.055-0.754,0.055h-1.699V9.266 h1.047c0.678,0,1.07,0.031,1.309,0.093c0.24,0.062,0.422,0.164,0.545,0.306c0.125,0.142,0.203,0.3,0.234,0.475 c0.031,0.174,0.051,0.516,0.051,1.026V13.062z M18.771,13.424c0,0.324-0.023,0.565-0.066,0.723 c-0.045,0.159-0.145,0.296-0.309,0.413c-0.16,0.116-0.35,0.174-0.572,0.174c-0.158,0-0.365-0.035-0.502-0.104 c-0.139-0.069-0.264-0.173-0.377-0.312l-0.088,0.344h-1.262V9.266h1.35v1.755c0.111-0.129,0.236-0.226,0.375-0.289 c0.137-0.064,0.344-0.096,0.504-0.096c0.186,0,0.348,0.029,0.484,0.087c0.137,0.058,0.238,0.138,0.311,0.243 c0.072,0.104,0.115,0.206,0.129,0.306c0.016,0.1,0.023,0.313,0.023,0.638V13.424z"
}
})
]
)
};
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__;