import { defineComponent as i, openBlock as t, createElementBlock as n, createVNode as l, createElementVNode as o, renderSlot as d, toDisplayString as m, createCommentVNode as a } from "vue";
import { _ as c } from "./Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js";
import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js";
const g = {
  key: 0,
  class: "loading-wrapper"
}, h = {
  key: 0,
  class: "loading-content"
}, u = {
  key: 1,
  class: "loading-nothing"
}, y = /* @__PURE__ */ i({
  name: "ClLoadIng",
  __name: "Ing",
  props: {
    theme: {},
    size: {},
    isLoadIng: { type: Boolean },
    isEmpty: { type: Boolean },
    noDataText: {}
  },
  setup(e) {
    return (s, p) => e.isLoadIng || e.isEmpty ? (t(), n("div", g, [
      e.isLoadIng ? (t(), n("div", h, [
        l(c, {
          theme: e.theme,
          size: e.size
        }, null, 8, ["theme", "size"])
      ])) : e.isEmpty ? (t(), n("div", u, [
        o("div", null, [
          d(s.$slots, "nothingData", {}, () => [
            o("span", null, m(e.noDataText || "暂无数据"), 1)
          ], !0)
        ])
      ])) : a("", !0)
    ])) : a("", !0);
  }
}), k = /* @__PURE__ */ r(y, [["__scopeId", "data-v-b93626b6"]]);
export {
  k as C
};
//# sourceMappingURL=Ing-C_3NkQxd.js.map
