vue-icon-packs
Version:
Vue SVG icon components.
149 lines (138 loc) • 5.26 kB
JavaScript
//
//
var script = { name: 'UpsideDown'};
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:
"M12,2C6.486,2,2,6.486,2,12c0,5.514,4.486,10,10,10c5.514,0,10-4.486,10-10C22,6.486,17.514,2,12,2z M12,20 c-4.411,0-8-3.589-8-8s3.589-8,8-8s8,3.589,8,8S16.411,20,12,20z"
}
}),
_c("path", {
attrs: {
d:
"M14.829,9.172c0.181,0.181,0.346,0.38,0.488,0.592l1.658-1.119c-0.215-0.318-0.462-0.617-0.734-0.889 c-0.273-0.273-0.572-0.52-0.887-0.731c-0.323-0.218-0.666-0.404-1.02-0.553c-0.365-0.154-0.744-0.272-1.128-0.35 c-0.793-0.161-1.62-0.161-2.415,0C10.409,6.2,10.03,6.318,9.665,6.472c-0.354,0.149-0.696,0.335-1.02,0.553 C8.331,7.237,8.033,7.483,7.758,7.756C7.486,8.028,7.239,8.327,7.025,8.645l1.657,1.119C8.825,9.552,8.99,9.353,9.171,9.172 c0.184-0.184,0.383-0.349,0.592-0.489c0.216-0.146,0.445-0.27,0.679-0.369c0.244-0.103,0.496-0.181,0.75-0.233 c0.53-0.108,1.086-0.108,1.616,0c0.254,0.052,0.506,0.13,0.75,0.233c0.234,0.099,0.463,0.223,0.679,0.369 C14.445,8.824,14.645,8.988,14.829,9.172z"
}
}),
_c("circle", { attrs: { cx: "15.5", cy: "13.5", r: "1.5" } }),
_c("circle", { attrs: { cx: "8.507", cy: "13.507", r: "1.493" } })
]
)
};
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__;