import '../../../../utils/index.mjs';
import { buildProps, definePropType } from '../../../../utils/props/runtime.mjs';
import { mutable } from '../../../../utils/typescript.mjs';

"use strict";
var ImenuSwitchType = /* @__PURE__ */ ((ImenuSwitchType2) => {
  ImenuSwitchType2["TABLE"] = "table";
  ImenuSwitchType2["CARD"] = "card";
  return ImenuSwitchType2;
})(ImenuSwitchType || {});
const menuSwitchRadioList = [
  {
    value: "table" /* TABLE */,
    icon: "icon-list"
  },
  {
    value: "card" /* CARD */,
    icon: "icon-card"
  }
];
const tableHeaderSearchProps = buildProps({
  headerSearchHeight: {
    type: Number,
    default: 36
  },
  menuSwitchOptions: {
    type: definePropType(Object),
    default: () => mutable({})
  }
});
const tableHeaderSearchEmits = {
  change: (v) => !!v,
  // 返回值要明确返回一个布尔类型要不然vue会警告
  changeHeaderSearch: (height) => !!height
  // 返回值要明确返回一个布尔类型要不然vue会警告
};

export { ImenuSwitchType, menuSwitchRadioList, tableHeaderSearchEmits, tableHeaderSearchProps };
//# sourceMappingURL=header-search.mjs.map
