import { computed as t } from "vue";
function m(e, l, u) {
  const c = t(
    () => !!l.default && l.default().some((o) => typeof o.type != "symbol")
  ), i = t(() => e.beforeUpload ?? u), a = t(() => (e.maxSize / 1024 / 1024).toFixed(2) + "MB"), n = t(() => e.multiple ? `注：文件大小 <= ${a.value}，最大上传数量${e.limit}个，类型为${e.accept.replace(/\,/g, "，")}` : `注：文件大小 <= ${a.value}，最大上传数量1个，类型为${e.accept.replace(/\,/g, "，")}`), f = t(() => Object.keys(l).filter((o) => o !== "tip"));
  return {
    hasRealDefaultSlot: c,
    finalBeforeUpload: i,
    maxSizeInMB: a,
    defaultTipSlotTextInfo: n,
    otherSlots: f
  };
}
export {
  m as useCiUploadComputed
};
