UNPKG

@gitlab/ui

Version:
71 lines (59 loc) 2.11 kB
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js'; var script = { data() { return { avatars: [{ src: 'https://picsum.photos/id/1005/32', tooltip: 'Avatar 1', href: '//gitlab.com' }, { src: 'https://picsum.photos/id/1006/32', tooltip: 'Avatar 2', href: '//gitlab.com' }, { src: 'https://picsum.photos/id/1009/32', tooltip: 'Avatar 3', href: '//gitlab.com' }, { src: 'https://picsum.photos/id/1011/32', tooltip: 'Avatar 4', href: '//gitlab.com' }, { src: 'https://picsum.photos/id/1012/32', tooltip: 'Avatar 5', href: '//gitlab.com' }] }; } }; /* 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('gl-avatars-inline',{attrs:{"avatars":_vm.avatars,"collapsed":true,"avatar-size":32,"max-visible":2,"badge-tooltip-prop":"tooltip","badge-tooltip-max-chars":20},scopedSlots:_vm._u([{key:"avatar",fn:function(ref){ var avatar = ref.avatar; return [_c('gl-avatar-link',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],attrs:{"target":"_blank","href":avatar.href,"title":avatar.tooltip}},[_c('gl-avatar',{attrs:{"src":avatar.src,"size":32}})],1)]}}])})}; var __vue_staticRenderFns__ = []; /* 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__ = __vue_normalize__( { 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__;