vue-icon-packs
Version:
Vue SVG icon components.
141 lines (130 loc) • 5.02 kB
JavaScript
//
//
var script = { name: 'SBasketball'};
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.328 4.258c-1.73-1.417-3.829-2.155-5.949-2.235.411 2.463-.197 5.061-1.835 7.107L12 10.586 18.328 4.258zM7.701 9.115L4.258 5.672C3.12 7.063 2.422 8.69 2.146 10.376 4.051 10.753 6.079 10.328 7.701 9.115zM19.742 5.672L13.414 12l1.456 1.456c2.047-1.638 4.645-2.246 7.107-1.835C21.897 9.501 21.159 7.402 19.742 5.672zM21.854 13.624c-1.904-.377-3.933.048-5.555 1.261l3.443 3.443C20.881 16.938 21.578 15.31 21.854 13.624zM9.115 7.701c1.213-1.622 1.638-3.65 1.261-5.555C8.69 2.422 7.063 3.119 5.672 4.258L9.115 7.701zM13.624 21.854c1.686-.275 3.313-.974 4.704-2.111l-3.443-3.443C13.672 17.921 13.247 19.949 13.624 21.854zM12 13.414l-6.328 6.328c1.73 1.417 3.829 2.155 5.949 2.235-.411-2.463.197-5.061 1.835-7.107L12 13.414zM4.258 18.328L10.586 12 9.13 10.544c-2.047 1.638-4.645 2.246-7.107 1.835C2.103 14.499 2.841 16.598 4.258 18.328z"
}
})
]
)
};
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__;