var q = (o, a, d) => new Promise((v, l) => {
  var p = (i) => {
    try {
      m(d.next(i));
    } catch (A) {
      l(A);
    }
  }, h = (i) => {
    try {
      m(d.throw(i));
    } catch (A) {
      l(A);
    }
  }, m = (i) => i.done ? v(i.value) : Promise.resolve(i.value).then(p, h);
  m((d = d.apply(o, a)).next());
});
import { b as Z, l as K, a as Q } from "./common.js";
import { resolveComponent as n, openBlock as C, createElementBlock as X, createVNode as t, withCtx as T, createTextVNode as b, createElementVNode as e, pushScopeId as N, popScopeId as f } from "vue";
import { r as B } from "./index2.js";
const I = {
  name: "TodoCommon",
  data() {
    return {
      userValue: "",
      treeValue: "",
      treeSelectValue: "",
      content: "",
      options: [],
      emptyIcon: new URL("data:image/png;base64,[encoded data, 14084 characters]", import.meta.url).href
    };
  },
  methods: {
    recursionChildren(o, a) {
      return Z(o, a);
    },
    levelOneChildren(o) {
      return K(o);
    },
    levelTwoChildren(o) {
      return Q(o);
    },
    initOptions() {
      return q(this, null, function* () {
        this.options = yield Z();
      });
    }
  },
  mounted() {
    this.initOptions(), console.log("代办页面 - 查看主题色：", this.$.$utils.env.VITE_APP_THEME.theme);
  }
}, s = (o) => (N("data-v-f60209de"), o = o(), f(), o), M = { class: "todo-common" }, V = { class: "mt-20 mb-20" }, g = { class: "user-select-wrap mb-50" }, G = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "title mb-20" }, "人员选择", -1)), w = { class: "tree-select" }, W = { class: "cascader-wrap mb-50" }, J = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "title mb-20" }, "联级选择", -1)), F = { class: "cascader-cont" }, S = { class: "tree-wrap mb-50" }, L = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "title mb-20" }, "tree树", -1)), P = { class: "tree-select" }, y = { class: "tree-select-wrap mb-50" }, k = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "title mb-20" }, "下拉树", -1)), x = { class: "tree-select" }, H = { class: "editor-wrap mb-50" }, Y = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "title mb-20" }, "富文本", -1)), j = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "title mb-20" }, "空数据组件", -1)), O = { class: "empty-wrap mb-50" }, D = { class: "item" }, _ = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "item-title" }, "默认", -1)), $ = { class: "item-cont" }, ee = { class: "item" }, te = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "item-title" }, "无描述", -1)), se = { class: "item-cont" }, oe = { class: "item" }, le = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "item-title" }, "第二种图标", -1)), ae = { class: "item-cont" }, ne = { class: "item" }, ie = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "item-title" }, "自定义描述", -1)), ce = { class: "item-cont" }, re = { class: "item" }, de = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "item-title" }, "自定义插槽描述", -1)), pe = { class: "item-cont" }, me = { class: "item" }, Ae = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "item-title" }, "自定义图标", -1)), he = { class: "item-cont" }, ve = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "mb-50" }, null, -1)), ue = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "mb-50" }, null, -1)), qe = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "mb-50" }, null, -1)), Ze = /* @__PURE__ */ s(() => /* @__PURE__ */ e("div", { class: "mb-50" }, null, -1));
function Te(o, a, d, v, l, p) {
  const h = n("router-link"), m = n("s-user-select"), i = n("s-cascader"), A = n("s-tree"), U = n("s-tree-select"), E = n("s-editor"), r = n("s-empty"), u = n("s-file-upload"), R = n("s-copper-upload"), z = n("s-dragger-upload");
  return C(), X("div", M, [
    t(h, { to: "/housing/listings" }, {
      default: T(() => [
        b("业务自定义首页")
      ]),
      _: 1
    }),
    e("div", V, [
      e("div", g, [
        G,
        e("div", w, [
          t(m, {
            value: l.userValue,
            "onUpdate:value": a[0] || (a[0] = (c) => l.userValue = c)
          }, null, 8, ["value"])
        ])
      ]),
      e("div", W, [
        J,
        e("div", F, [
          t(i, { options: l.options }, null, 8, ["options"])
        ])
      ]),
      e("div", S, [
        L,
        e("div", P, [
          t(A, {
            levelOneChildren: p.levelOneChildren,
            levelTwoChildren: p.levelTwoChildren,
            modelValue: l.treeValue,
            "onUpdate:modelValue": a[1] || (a[1] = (c) => l.treeValue = c)
          }, null, 8, ["levelOneChildren", "levelTwoChildren", "modelValue"])
        ])
      ]),
      e("div", y, [
        k,
        e("div", x, [
          t(U, {
            modelValue: l.treeSelectValue,
            "onUpdate:modelValue": a[2] || (a[2] = (c) => l.treeSelectValue = c),
            recursionChildren: p.recursionChildren
          }, null, 8, ["modelValue", "recursionChildren"])
        ])
      ]),
      e("div", H, [
        Y,
        t(E, {
          modelValue: l.content,
          "onUpdate:modelValue": a[3] || (a[3] = (c) => l.content = c)
        }, null, 8, ["modelValue"])
      ]),
      j,
      e("div", O, [
        e("div", D, [
          _,
          e("div", $, [
            t(r)
          ])
        ]),
        e("div", ee, [
          te,
          e("div", se, [
            t(r, { desc: "" })
          ])
        ]),
        e("div", oe, [
          le,
          e("div", ae, [
            t(r, { type: "2" })
          ])
        ]),
        e("div", ne, [
          ie,
          e("div", ce, [
            t(r, { desc: "没有数据" })
          ])
        ]),
        e("div", re, [
          de,
          e("div", pe, [
            t(r, null, {
              default: T(() => [
                b("无数据")
              ]),
              _: 1
            })
          ])
        ]),
        e("div", me, [
          Ae,
          e("div", he, [
            t(r, { icon: l.emptyIcon }, null, 8, ["icon"])
          ])
        ])
      ]),
      ve,
      t(u, {
        listType: "picture-card",
        label: o.$l("卡片附件列表", "components.fileListLabel")
      }, null, 8, ["label"]),
      ue,
      t(u, {
        listType: "picture",
        label: o.$l("行附件列表", "components.fileListLabel")
      }, null, 8, ["label"]),
      qe,
      t(R, { label: "裁切上传附件列表" }),
      Ze,
      t(z, { label: "拖拽上传附件列表" })
    ])
  ]);
}
const ze = /* @__PURE__ */ B(I, [["render", Te], ["__scopeId", "data-v-f60209de"]]);
export {
  ze as default
};
