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