import { defineComponent as o, createElementBlock as l, createCommentVNode as m, openBlock as t, createElementVNode as r, renderSlot as n, Fragment as p, renderList as i, createBlock as h } from "vue";
import c from "./ParameterListItem.vue.js";
const d = {
  key: 0,
  class: "parameter-list"
}, u = { class: "parameter-list-title" }, f = { class: "parameter-list-items" }, E = /* @__PURE__ */ o({
  __name: "ParameterList",
  props: {
    parameters: {},
    showChildren: { type: Boolean, default: !1 },
    collapsableItems: { type: Boolean, default: !1 },
    withExamples: { type: Boolean, default: !0 },
    schemas: {}
  },
  setup(w) {
    return (e, _) => {
      var a;
      return (a = e.parameters) != null && a.length ? (t(), l("div", d, [
        r("div", u, [
          n(e.$slots, "title", {}, void 0, !0)
        ]),
        r("ul", f, [
          (t(!0), l(p, null, i(e.parameters, (s) => (t(), h(c, {
            key: s.name,
            collapsableItems: e.collapsableItems,
            parameter: s,
            schemas: e.schemas,
            showChildren: e.showChildren,
            withExamples: e.withExamples
          }, null, 8, ["collapsableItems", "parameter", "schemas", "showChildren", "withExamples"]))), 128))
        ])
      ])) : m("", !0);
    };
  }
});
export {
  E as default
};
