UNPKG

@vuesax-alpha/nightly

Version:
44 lines (39 loc) 1.42 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); require('../../../hooks/index.js'); require('../../../tokens/index.js'); var avatarGroup = require('./avatar-group.js'); var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js'); var index = require('../../../hooks/use-namespace/index.js'); var index$1 = require('../../../hooks/use-group-provide/index.js'); var avatar = require('../../../tokens/avatar.js'); const __default__ = vue.defineComponent({ name: "VsAvatarGroup" }); const _sfc_main = vue.defineComponent({ ...__default__, props: avatarGroup.avatarGroupProps, setup(__props) { const props = __props; const ns = index.useNamespace("avatar"); index$1.useGroupProvide(avatar.avatarGroupContextKey, { max: props.max }); return (_ctx, _cache) => { return vue.openBlock(), vue.createElementBlock( "div", { class: vue.normalizeClass([vue.unref(ns).e("group"), { float: _ctx.float }]) }, [ vue.renderSlot(_ctx.$slots, "default") ], 2 ); }; } }); var AvatarGroup = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/vuesax-alpha/vuesax-alpha/packages/components/avatar/src/avatar-group.vue"]]); exports["default"] = AvatarGroup; //# sourceMappingURL=avatar-group2.js.map