'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
require('../../../hooks/index.js');
var rovingFocusGroup = require('./roving-focus-group.js');
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
var index = require('../../../hooks/use-id/index.js');

const _sfc_main = vue.defineComponent({
  components: {
    PsRovingFocusCollectionItem: rovingFocusGroup.PsCollectionItem
  },
  props: {
    focusable: {
      type: Boolean,
      default: true
    },
    active: {
      type: Boolean,
      default: false
    }
  },
  setup() {
    const id = index.useId();
    return {
      id
    };
  }
});
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_ps_roving_focus_collection_item = vue.resolveComponent("ps-roving-focus-collection-item");
  return vue.openBlock(), vue.createBlock(_component_ps_roving_focus_collection_item, {
    id: _ctx.id,
    focusable: _ctx.focusable,
    active: _ctx.active
  }, {
    default: vue.withCtx(() => [
      vue.renderSlot(_ctx.$slots, "default")
    ]),
    _: 3
  }, 8, ["id", "focusable", "active"]);
}
var PsRovingFocusItem = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/meng/workspace/element-ps/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);

exports["default"] = PsRovingFocusItem;
//# sourceMappingURL=roving-focus-item.js.map
