"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const collapse = require("./collapse.js");
const useCollapse = require("./use-collapse.js");
const vue = require("vue");
var collapse_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
  name: "ElCollapse",
  __name: "collapse",
  props: collapse.collapseProps,
  emits: collapse.collapseEmits,
  setup(__props, { expose: __expose, emit: __emit }) {
    const props = __props;
    const { activeNames, setActiveNames } = useCollapse.useCollapse(props, __emit);
    const { rootKls } = useCollapse.useCollapseDOM(props);
    __expose({
      activeNames,
      setActiveNames
    });
    return (_ctx, _cache) => {
      return vue.openBlock(), vue.createElementBlock("div", { class: vue.normalizeClass(vue.unref(rootKls)) }, [vue.renderSlot(_ctx.$slots, "default")], 2);
    };
  }
});
exports.default = collapse_vue_vue_type_script_setup_true_lang_default;
