import '@das-fed/upf-ui/packages/business-components/process-log/style.css';
import { withInstall as V } from "@das-fed/upf-utils/with-install/index";
import { t as I, setI18nRule as Z } from "@das-fed/upf-web/packages/i18n/index";
import { defineComponent as b, openBlock as t, createElementBlock as a, createVNode as k, unref as n, withCtx as z, createElementVNode as C, createCommentVNode as i, ref as m, onMounted as q, watch as H, normalizeClass as w, Fragment as x, renderList as O, normalizeStyle as f, toDisplayString as h, createBlock as g, useCssVars as T, computed as G, createTextVNode as F, isRef as W, mergeProps as p } from "vue";
import { TimelineItem as $ } from "ant-design-vue";
import { DasIconPhone as U } from "@das-fed/upf-ui/packages/icons/phone/index";
import { DasTooltip as R } from "@das-fed/upf-ui/packages/components/tooltip/index";
import { getConfig as D } from "@das-fed/upf-utils/config";
import { DasIconUnflod as S } from "@das-fed/upf-ui/packages/icons/unflod/index";
import { DasIconFold as Y } from "@das-fed/upf-ui/packages/icons/fold/index";
import { DasPreview as _ } from "@das-fed/upf-ui/packages/components/preview/index";
import { DasIconLink as oo } from "@das-fed/upf-ui/packages/icons/link/index";
import { isEmpty as L } from "@das-fed/upf-utils/common-tools";
import { DasIconRateAll as eo } from "@das-fed/upf-ui/packages/icons/rate-all/index";
import { DasIconRateNone as to } from "@das-fed/upf-ui/packages/icons/rate-none/index";
import { DasImageViewer as j } from "@das-fed/upf-ui/packages/components/image-viewer/index";
import "@das-fed/upf-ui/packages/components/icon/index";
import no from "dayjs";
import { DasTimeLine as so } from "@das-fed/upf-ui/packages/components/time-line/index";
import { DasProcessLogItem as lo } from "@das-fed/upf-ui/packages/business-components/process-log/index";
const ao = {
  非常差: { "zh-CN": "非常差", en: "Very Poor", "zh-MO": "非常差", _appCode: "framework" },
  差: { "zh-CN": "差", en: "Poor", "zh-MO": "差", _appCode: "framework" },
  一般: { "zh-CN": "一般", en: "Average", "zh-MO": "一般", _appCode: "framework" },
  满意: { "zh-CN": "满意", en: "Satisfied", "zh-MO": "滿意", _appCode: "framework" },
  超赞: { "zh-CN": "超赞", en: "Excellent", "zh-MO": "超讚", _appCode: "framework" },
  下载: { "zh-CN": "下载", en: "Download", "zh-MO": "下載", _appCode: "framework" },
  收起: { "zh-CN": "收起", en: "Collapse", "zh-MO": "收起", _appCode: "framework" },
  展开: { "zh-CN": "展开", en: "Expand", "zh-MO": "展開", _appCode: "framework" },
  "备注：": { "zh-CN": "备注：", en: "Remarks:", "zh-MO": "備註：", _appCode: "framework" }
}, ro = "data:image/png;base64, ", K = "data:image/png;base64, ", uo = "data:image/png;base64, ", J = (o) => /^(http|https):\/\//.test(o) ? o : `${D().baseURL}/oss/${o}`, co = { class: "default-img" }, io = {
  key: 0,
  class: "phone-tips"
}, Ao = ["src"], fo = /* @__PURE__ */ b({
  __name: "avatorInfo",
  props: {
    userPhone: { default: "" },
    headIcon: { default: "" },
    isAuto: { type: Boolean, default: !1 },
    time: { default: "" }
  },
  setup(o) {
    return (s, r) => (t(), a("div", co, [
      k(n(R), {
        placement: "top",
        content: o.userPhone,
        disabled: !o.userPhone
      }, {
        default: z(() => [
          C("div", null, [
            o.userPhone ? (t(), a("div", io, [
              k(n(U), { size: "mini" })
            ])) : i("v-if", !0),
            C("img", {
              class: "circle-image",
              src: o.isAuto ? n(ro) : o.time ? o.headIcon ? n(J)(o.headIcon) : n(K) : n(uo)
            }, null, 8, Ao)
          ])
        ]),
        _: 1
        /* STABLE */
      }, 8, ["content", "disabled"])
    ]));
  }
}), E = (o, s) => {
  const r = o.__vccOpts || o;
  for (const [e, d] of s)
    r[e] = d;
  return r;
}, Co = /* @__PURE__ */ E(fo, [["__scopeId", "data-v-abe974fe"]]), go = { class: "header-box" }, ho = { class: "cover-box" }, vo = { class: "cover-img" }, Io = {
  key: 0,
  class: "phone-tips-duty"
}, Bo = ["src"], wo = /* @__PURE__ */ b({
  __name: "userInfo",
  props: {
    userList: { default: [] },
    fontColor: {}
  },
  setup(o) {
    const s = m(!0), r = m(!1), e = m(null);
    q(() => {
      d();
    }), H(() => {
      var A;
      return (A = e == null ? void 0 : e.value) == null ? void 0 : A.offsetHeight;
    }, (A) => {
      d(A);
    });
    const d = (A = ((y) => (y = e == null ? void 0 : e.value) == null ? void 0 : y.offsetHeight)() || 0) => {
      A >= 75 ? r.value = !0 : r.value = !1;
    }, B = (A) => (A == null ? void 0 : A.length) > 4 ? (A == null ? void 0 : A.slice(0, 3)) + "..." : A, v = () => {
      s.value = !s.value;
    };
    return (A, y) => (t(), a("div", go, [
      C(
        "div",
        {
          class: w(["head-cover-box", !r.value || !s.value ? "" : "isExpend"]),
          ref_key: "myDiv",
          ref: e
        },
        [
          (t(!0), a(
            x,
            null,
            O(o.userList, (l, M) => {
              var P, u;
              return t(), a("div", ho, [
                C("div", vo, [
                  k(n(R), {
                    placement: "top",
                    content: l == null ? void 0 : l.userPhone,
                    disabled: !(l != null && l.userPhone)
                  }, {
                    default: z(() => [
                      C("div", null, [
                        l != null && l.userPhone ? (t(), a("div", Io, [
                          k(n(U), { size: "mini" })
                        ])) : i("v-if", !0),
                        C("img", {
                          class: "personal-image",
                          src: l != null && l.headIcon ? n(J)(l == null ? void 0 : l.headIcon) : n(K),
                          fit: "cover"
                        }, null, 8, Bo)
                      ])
                    ]),
                    _: 2
                    /* DYNAMIC */
                  }, 1032, ["content", "disabled"])
                ]),
                l != null && l.userName && ((P = l == null ? void 0 : l.userName) == null ? void 0 : P.length) < 5 ? (t(), a(
                  "div",
                  {
                    key: 0,
                    class: "name-text",
                    style: f({ color: o.fontColor })
                  },
                  h(l == null ? void 0 : l.userName),
                  5
                  /* TEXT, STYLE */
                )) : i("v-if", !0),
                l != null && l.userName && ((u = l == null ? void 0 : l.userName) == null ? void 0 : u.length) > 4 ? (t(), g(n(R), {
                  key: 1,
                  placement: "top",
                  content: l == null ? void 0 : l.userName
                }, {
                  default: z(() => [
                    C(
                      "div",
                      {
                        class: "name-text",
                        style: f({ color: o.fontColor })
                      },
                      h(B(l == null ? void 0 : l.userName)),
                      5
                      /* TEXT, STYLE */
                    )
                  ]),
                  _: 2
                  /* DYNAMIC */
                }, 1032, ["content"])) : i("v-if", !0)
              ]);
            }),
            256
            /* UNKEYED_FRAGMENT */
          ))
        ],
        2
        /* CLASS */
      ),
      r.value ? (t(), a("div", {
        key: 0,
        class: "fold-btn",
        onClick: v
      }, [
        C(
          "div",
          {
            class: w(["text-collaspe", o.fontColor ? "op65" : ""]),
            style: f({ color: o.fontColor })
          },
          h(s.value ? n(I)("展开") : n(I)("收起")),
          7
          /* TEXT, CLASS, STYLE */
        ),
        s.value ? (t(), g(n(Y), {
          key: 1,
          size: "mini",
          style: f({ opacity: o.fontColor ? 0.65 : "" }),
          iconColor: o.fontColor ? o.fontColor : "#999"
        }, null, 8, ["style", "iconColor"])) : (t(), g(n(S), {
          key: 0,
          size: "mini",
          style: f({ opacity: o.fontColor ? 0.65 : "" }),
          iconColor: o.fontColor ? o.fontColor : "#999"
        }, null, 8, ["style", "iconColor"]))
      ])) : i("v-if", !0)
    ]));
  }
}), ko = /* @__PURE__ */ E(wo, [["__scopeId", "data-v-a7089d1d"]]), Lo = { class: "file-content" }, yo = { class: "file-box" }, mo = ["onMouseenter", "onMouseleave"], bo = { class: "file-item-content" }, Eo = ["fontColor"], xo = {
  key: 0,
  class: "pre-file"
}, Oo = ["onClick"], zo = /* @__PURE__ */ b({
  __name: "fileInfo",
  props: {
    fileList: { default: [] },
    menuBgColor: {},
    fontColor: { default: "#212121" }
  },
  setup(o) {
    T((u) => ({
      v19152e24: u.fontColor
    }));
    const s = o, r = m(!1), e = G(() => {
      var u;
      return ((u = s.fileList) == null ? void 0 : u.length) > 1;
    }), d = (u) => {
      u.isView = !0;
    }, B = (u) => {
      u.isView = !1;
    }, v = (u) => u == null ? void 0 : u.substring(u == null ? void 0 : u.lastIndexOf(".")), A = (u) => u == null ? void 0 : u.substring(0, u == null ? void 0 : u.lastIndexOf(".")), y = (u) => {
    }, l = () => {
      var u;
      return r != null && r.value ? s == null ? void 0 : s.fileList : (u = s == null ? void 0 : s.fileList) == null ? void 0 : u.filter((Q, c) => c < 1);
    }, M = () => {
      r.value = !r.value;
    }, P = (u) => {
      const Q = u.name, c = document.createElement("a");
      c.href = `${D().baseURL}/oss/${u.url}`, c.download = Q, c.click(), document.body.removeChild(c);
    };
    return (u, Q) => (t(), a("div", Lo, [
      C("div", yo, [
        (t(!0), a(
          x,
          null,
          O(l(), (c, X) => (t(), a("div", {
            class: "file-item",
            onMouseenter: (N) => d(c),
            onMouseleave: (N) => B(c),
            key: X
          }, [
            C("div", bo, [
              C("div", {
                class: "file-name",
                fontColor: o.fontColor
              }, [
                k(n(oo), {
                  size: "mini",
                  iconColor: "#666666"
                }),
                c != null && c.name ? (t(), g(n(R), {
                  key: 0,
                  class: "file-text",
                  placement: "top",
                  onShow: y,
                  text: A(c == null ? void 0 : c.name)
                }, null, 8, ["text"])) : i("v-if", !0),
                c != null && c.name ? (t(), a(
                  "span",
                  {
                    key: 1,
                    class: "file-unfix",
                    style: f({ color: o.fontColor })
                  },
                  h(v(c == null ? void 0 : c.name)),
                  5
                  /* TEXT, STYLE */
                )) : i("v-if", !0),
                n(L)(c == null ? void 0 : c.sizeText) ? i("v-if", !0) : (t(), a(
                  "span",
                  {
                    key: 2,
                    class: w(["file-size", [o.fontColor ? "op65" : ""]]),
                    style: f({ color: o.fontColor })
                  },
                  "（" + h(c == null ? void 0 : c.sizeText) + "）",
                  7
                  /* TEXT, CLASS, STYLE */
                ))
              ], 8, Eo),
              c.isView ? (t(), a("div", xo, [
                k(n(_), {
                  "file-url": c == null ? void 0 : c.url
                }, null, 8, ["file-url"])
              ])) : i("v-if", !0),
              c.isView ? (t(), a("div", {
                key: 1,
                class: "down-file",
                onClick: (N) => P(c)
              }, h(n(I)("下载")), 9, Oo)) : i("v-if", !0)
            ])
          ], 40, mo))),
          128
          /* KEYED_FRAGMENT */
        ))
      ]),
      e.value ? (t(), a("div", {
        key: 0,
        class: "fold-btn",
        onClick: M
      }, [
        C(
          "div",
          {
            class: w(["text-collaspe", o.fontColor ? "op65" : ""]),
            style: f({ color: o.fontColor })
          },
          h(r.value ? n(I)("收起") : n(I)("展开")),
          7
          /* TEXT, CLASS, STYLE */
        ),
        r.value ? (t(), g(n(S), {
          key: 0,
          size: "mini",
          style: f({ opacity: o.fontColor ? 0.65 : "" }),
          iconColor: o.fontColor ? o.fontColor : "#999"
        }, null, 8, ["style", "iconColor"])) : (t(), g(n(Y), {
          key: 1,
          size: "mini",
          style: f({ opacity: o.fontColor ? 0.65 : "" }),
          iconColor: o.fontColor ? o.fontColor : "#999"
        }, null, 8, ["style", "iconColor"]))
      ])) : i("v-if", !0)
    ]));
  }
}), Po = /* @__PURE__ */ E(zo, [["__scopeId", "data-v-2ca5d427"]]), Ro = { class: "rate-box" }, Qo = { class: "rata-star" }, So = { class: "customStart" }, Yo = { class: "customStart" }, Mo = /* @__PURE__ */ b({
  __name: "rateInfo",
  props: {
    userRate: { default: 0 },
    rateTxt: { default: "" },
    fontColor: {}
  },
  setup(o) {
    const s = (r) => Number(r);
    return (r, e) => (t(), a("div", Ro, [
      C("div", Qo, [
        (t(!0), a(
          x,
          null,
          O(s(o.userRate), (d) => (t(), a("div", So, [
            k(n(eo), { size: "large" })
          ]))),
          256
          /* UNKEYED_FRAGMENT */
        )),
        (t(!0), a(
          x,
          null,
          O(5 - s(o.userRate), (d) => (t(), a("div", Yo, [
            k(n(to), { size: "large" })
          ]))),
          256
          /* UNKEYED_FRAGMENT */
        )),
        C(
          "div",
          {
            class: w(["startText", o.fontColor ? "op65" : ""]),
            style: f({ color: o.fontColor })
          },
          h(o.rateTxt ? o.rateTxt : s(o.userRate) == 1 ? n(I)("非常差") : s(o.userRate) == 2 ? n(I)("差") : s(o.userRate) == 3 ? n(I)("一般") : s(o.userRate) == 4 ? n(I)("满意") : s(o.userRate) == 5 ? n(I)("超赞") : ""),
          7
          /* TEXT, CLASS, STYLE */
        )
      ])
    ]));
  }
}), No = /* @__PURE__ */ E(Mo, [["__scopeId", "data-v-15610293"]]), Vo = { class: "med-content" }, Ho = { class: "img-box" }, To = /* @__PURE__ */ b({
  __name: "viewInfo",
  props: {
    mediaList: { default: [] },
    isCustom: { type: Boolean }
  },
  setup(o) {
    const s = m("info");
    return (r, e) => (t(), a("div", Vo, [
      C("div", Ho, [
        (t(!0), a(
          x,
          null,
          O(o.mediaList, (d, B) => (t(), a(
            "div",
            {
              class: w(o.isCustom ? "medium-show-custom-item" : "medium-show-box-item")
            },
            [
              k(n(j), {
                style: f({ width: o.isCustom ? "80px" : "100px", height: o.isCustom ? "80px" : "100px" }),
                modelValue: d.remoteUrl,
                "onUpdate:modelValue": (v) => d.remoteUrl = v,
                status: s.value,
                "onUpdate:status": e[0] || (e[0] = (v) => s.value = v),
                "need-download-btn": !1
              }, null, 8, ["style", "modelValue", "onUpdate:modelValue", "status"])
            ],
            2
            /* CLASS */
          ))),
          256
          /* UNKEYED_FRAGMENT */
        ))
      ])
    ]));
  }
}), Go = /* @__PURE__ */ E(To, [["__scopeId", "data-v-08b1b5d9"]]), Uo = { class: "title-box" }, Do = { class: "item-box" }, jo = { key: 0 }, Ko = { key: 0 }, Jo = { key: 1 }, Xo = /* @__PURE__ */ b({
  __name: "titleInfo",
  props: {
    titleList: { default: [] },
    fontColor: {}
  },
  setup(o) {
    return (s, r) => (t(), a("div", Uo, [
      (t(!0), a(
        x,
        null,
        O(o.titleList, (e, d) => (t(), a(
          "div",
          {
            class: w(["title-item", o.fontColor ? "op65" : ""]),
            style: f({ color: o.fontColor }),
            key: d
          },
          [
            C("div", Do, [
              e != null && e.title ? (t(), a("span", jo, [
                F(
                  h(e == null ? void 0 : e.title),
                  1
                  /* TEXT */
                ),
                e != null && e.title ? (t(), a("span", Ko, "：")) : i("v-if", !0)
              ])) : i("v-if", !0),
              e != null && e.value ? (t(), a(
                "span",
                Jo,
                h(e == null ? void 0 : e.value),
                1
                /* TEXT */
              )) : i("v-if", !0)
            ])
          ],
          6
          /* CLASS, STYLE */
        ))),
        128
        /* KEYED_FRAGMENT */
      ))
    ]));
  }
}), Zo = /* @__PURE__ */ E(Xo, [["__scopeId", "data-v-94e6a5d5"]]), qo = { class: "sign-box" }, Fo = /* @__PURE__ */ b({
  __name: "signInfo",
  props: {
    signImg: { default: "" },
    isCustom: { type: Boolean }
  },
  setup(o) {
    const s = o, { signImg: r } = s, e = m("info");
    return (d, B) => (t(), a("div", qo, [
      k(n(j), {
        class: "medium-show-box-item",
        style: f({ width: o.isCustom ? "80px" : "100px", height: o.isCustom ? "80px" : "100px" }),
        modelValue: n(r),
        "onUpdate:modelValue": B[0] || (B[0] = (v) => W(r) ? r.value = v : null),
        status: e.value,
        "onUpdate:status": B[1] || (B[1] = (v) => e.value = v),
        "need-download-btn": !1
      }, null, 8, ["style", "modelValue", "status"])
    ]));
  }
}), Wo = /* @__PURE__ */ E(Fo, [["__scopeId", "data-v-7de8137e"]]), po = /* @__PURE__ */ b({
  __name: "remarkInfo",
  props: {
    remarks: { default: "" },
    fontColor: {}
  },
  setup(o) {
    const s = m(null), r = m(!0), e = m(0), d = m(0);
    H(
      () => {
        var A;
        return (A = s == null ? void 0 : s.value) == null ? void 0 : A.textContent;
      },
      () => {
        B();
      }
    );
    const B = () => {
      if (!s.value) return;
      const A = s.value.clientHeight, y = parseInt(getComputedStyle(s.value).lineHeight);
      e.value = Math.ceil(A / y), d.value < e.value && (d.value = e.value), d.value > 2 && (r.value = !r.value);
    }, v = () => {
      r.value = !r.value;
    };
    return (A, y) => (t(), a("div", null, [
      C(
        "div",
        {
          class: w(["remark-box", [r.value ? "" : "hide-two-line", o.fontColor ? "op65" : ""]]),
          ref_key: "contentDiv",
          ref: s,
          style: f({ color: o.fontColor })
        },
        h(n(I)("备注：")) + h(o.remarks),
        7
        /* TEXT, CLASS, STYLE */
      ),
      d.value > 2 ? (t(), a("div", {
        key: 0,
        class: "fold-btn",
        onClick: v
      }, [
        C(
          "div",
          {
            class: w(["text-collaspe", o.fontColor ? "op65" : ""]),
            style: f({ color: o.fontColor })
          },
          h(r.value ? n(I)("收起") : n(I)("展开")),
          7
          /* TEXT, CLASS, STYLE */
        ),
        r.value ? (t(), g(n(S), {
          key: 0,
          size: "mini",
          style: f({ opacity: o.fontColor ? 0.65 : "" }),
          iconColor: o.fontColor ? o.fontColor : "#999"
        }, null, 8, ["style", "iconColor"])) : (t(), g(n(Y), {
          key: 1,
          size: "mini",
          style: f({ opacity: o.fontColor ? 0.65 : "" }),
          iconColor: o.fontColor ? o.fontColor : "#999"
        }, null, 8, ["style", "iconColor"]))
      ])) : i("v-if", !0)
    ]));
  }
}), $o = /* @__PURE__ */ E(po, [["__scopeId", "data-v-af21c939"]]), _o = { key: 0 }, oe = { key: 1 }, ee = { class: "medium-show-box" }, te = /* @__PURE__ */ b({
  __name: "ProcessLogItem",
  props: {
    userName: {},
    userPhone: {},
    headIcon: {},
    status: {},
    statusName: {},
    userHandle: {},
    time: {},
    remarks: {},
    titleList: {},
    mediaList: {},
    fileList: {},
    userList: {},
    userRate: { default: "" },
    rateTxt: {},
    signImg: {},
    isAuto: { type: Boolean },
    isCustom: { type: Boolean },
    fontColor: {},
    panelBgColor: { default: "" },
    menuBgColor: {}
  },
  setup(o) {
    T((d) => ({
      v27d7c3ae: r.value
    }));
    const s = o, r = G(() => s != null && s.panelBgColor ? s == null ? void 0 : s.panelBgColor : "#ffffff"), e = (d) => L(d) ? d : no(Number(d)).format("YYYY/MM/DD HH:mm:ss");
    return (d, B) => (t(), g(
      n($),
      p({ ref: "$timelineitem" }, d.$attrs, { class: ["das-timeline-item"] }),
      {
        dot: z(() => [
          i(" 头像 "),
          k(Co, {
            "head-icon": o.headIcon,
            "user-phone": o.userPhone,
            isAuto: o.isAuto,
            time: o.time
          }, null, 8, ["head-icon", "user-phone", "isAuto", "time"])
        ]),
        default: z(() => {
          var v, A, y, l;
          return [
            C(
              "div",
              {
                class: w(["right-content", o.isCustom ? "w100" : "w700px"])
              },
              [
                n(L)(o.time) ? i("v-if", !0) : (t(), a(
                  "div",
                  {
                    key: 0,
                    class: w(["time-box", o.fontColor ? "op65" : ""]),
                    style: f({ color: o.fontColor })
                  },
                  h(e(o.time)),
                  7
                  /* TEXT, CLASS, STYLE */
                )),
                n(L)(o.statusName) ? i("v-if", !0) : (t(), a(
                  "div",
                  {
                    key: 1,
                    class: w(["status-box", [o.time ? "is-no-wait" : "is-wait"]]),
                    style: f({ color: o.time ? o.fontColor : o.menuBgColor })
                  },
                  h(o.statusName),
                  7
                  /* TEXT, CLASS, STYLE */
                )),
                !n(L)(o.userName) || !n(L)(o.userHandle) ? (t(), a(
                  "div",
                  {
                    key: 2,
                    class: "name-box",
                    style: f({ color: o.fontColor })
                  },
                  [
                    n(L)(o.userName) ? i("v-if", !0) : (t(), a(
                      "span",
                      _o,
                      h(o.userName),
                      1
                      /* TEXT */
                    )),
                    n(L)(o.userHandle) ? i("v-if", !0) : (t(), a(
                      "span",
                      oe,
                      "（" + h(o.userHandle) + "）",
                      1
                      /* TEXT */
                    ))
                  ],
                  4
                  /* STYLE */
                )) : i("v-if", !0),
                i(" 评价 "),
                n(L)(o.userRate) ? i("v-if", !0) : (t(), g(No, {
                  key: 3,
                  "user-rate": o.userRate,
                  "rate-txt": o.rateTxt,
                  fontColor: o.fontColor
                }, null, 8, ["user-rate", "rate-txt", "fontColor"])),
                i(" 标题 "),
                o.titleList && ((v = o.titleList) == null ? void 0 : v.length) > 0 ? (t(), g(Zo, {
                  key: 4,
                  "title-list": o.titleList,
                  fontColor: o.fontColor
                }, null, 8, ["title-list", "fontColor"])) : i("v-if", !0),
                C("div", ee, [
                  i(" 媒体 "),
                  n(L)(o.signImg) ? i("v-if", !0) : (t(), g(Wo, {
                    key: 0,
                    "sign-img": o.signImg,
                    isCustom: o.isCustom
                  }, null, 8, ["sign-img", "isCustom"])),
                  o.mediaList && ((A = o.mediaList) == null ? void 0 : A.length) > 0 ? (t(), g(Go, {
                    key: 1,
                    "media-list": o.mediaList,
                    isCustom: o.isCustom
                  }, null, 8, ["media-list", "isCustom"])) : i("v-if", !0),
                  o.userList && ((y = o.userList) == null ? void 0 : y.length) > 0 ? (t(), g(ko, {
                    key: 2,
                    "user-list": o.userList,
                    fontColor: o.fontColor
                  }, null, 8, ["user-list", "fontColor"])) : i("v-if", !0)
                ]),
                i(" 文件 "),
                o.fileList && ((l = o.fileList) == null ? void 0 : l.length) > 0 ? (t(), g(Po, {
                  key: 5,
                  "file-list": o.fileList,
                  fontColor: o.fontColor,
                  menuBgColor: o.menuBgColor
                }, null, 8, ["file-list", "fontColor", "menuBgColor"])) : i("v-if", !0),
                i(" 备注 "),
                n(L)(o.remarks) ? i("v-if", !0) : (t(), g($o, {
                  key: 6,
                  remarks: o.remarks,
                  fontColor: o.fontColor
                }, null, 8, ["remarks", "fontColor"]))
              ],
              2
              /* CLASS */
            )
          ];
        }),
        _: 1
        /* STABLE */
      },
      16
      /* FULL_PROPS */
    ));
  }
}), ne = /* @__PURE__ */ E(te, [["__scopeId", "data-v-d8d903b5"]]), se = { title: "基本使用", desc: "" }, le = /* @__PURE__ */ b({
  ...se,
  __name: "Index",
  props: {
    type: { default: "" },
    data: { default: () => [] },
    isCustom: { type: Boolean, default: !1 },
    fontColor: {},
    panelBgColor: {},
    menuBgColor: {}
  },
  setup(o) {
    return (s, r) => (t(), a(
      "div",
      {
        class: "das-process-log",
        style: f({ background: o.panelBgColor })
      },
      [
        k(n(so), { layoutType: "right" }, {
          default: z(() => [
            (t(!0), a(
              x,
              null,
              O(o.data, (e, d) => (t(), g(n(lo), {
                key: d,
                userName: e == null ? void 0 : e.userName,
                userPhone: e == null ? void 0 : e.userPhone,
                headIcon: e == null ? void 0 : e.headIcon,
                status: e == null ? void 0 : e.status,
                statusName: e == null ? void 0 : e.statusName,
                userHandle: e == null ? void 0 : e.userHandle,
                time: e == null ? void 0 : e.time,
                remarks: e == null ? void 0 : e.remarks,
                mediaList: e == null ? void 0 : e.mediaList,
                fileList: e == null ? void 0 : e.fileList,
                userList: e == null ? void 0 : e.userList,
                titleList: e == null ? void 0 : e.titleList,
                userRate: e == null ? void 0 : e.userRate,
                rateTxt: e == null ? void 0 : e.rateTxt,
                signImg: e == null ? void 0 : e.signImg,
                isAuto: e == null ? void 0 : e.isAuto,
                isCustom: o.isCustom,
                fontColor: o.fontColor,
                panelBgColor: o.panelBgColor,
                menuBgColor: o.menuBgColor
              }, null, 8, ["userName", "userPhone", "headIcon", "status", "statusName", "userHandle", "time", "remarks", "mediaList", "fileList", "userList", "titleList", "userRate", "rateTxt", "signImg", "isAuto", "isCustom", "fontColor", "panelBgColor", "menuBgColor"]))),
              128
              /* KEYED_FRAGMENT */
            ))
          ]),
          _: 1
          /* STABLE */
        })
      ],
      4
      /* STYLE */
    ));
  }
}), ae = /* @__PURE__ */ E(le, [["__scopeId", "data-v-4db34645"]]);
Z(ao);
const Ee = V(ne), xe = V(ae);
export {
  xe as DasProcessLog,
  Ee as DasProcessLogItem,
  xe as default
};
