import '@das-fed/ui/packages/business-components/process-form/style.css';
import { withInstall as pt } from "@das-fed/utils/with-install/index";
import { ref as i, nextTick as dt, defineComponent as K, watch as z, createBlock as P, createCommentVNode as O, openBlock as V, unref as a, withCtx as R, createVNode as N, createElementVNode as je, createElementBlock as x, Fragment as X, createTextVNode as ae, toDisplayString as ne, isRef as fe, createSlots as ct, h as ie, renderList as re, resolveDynamicComponent as ce, onMounted as gt, withDirectives as mt, normalizeStyle as vt } from "vue";
import { DasFormRef as ft, DasForm as Ie } from "@das-fed/ui/packages/components/form/index";
import { DasButton as ht } from "@das-fed/ui/packages/components/button/index";
import { vOverlay as yt } from "@das-fed/ui/packages/components/overlay/index";
import { createService as Z } from "@das-fed/utils/create-api-service";
import { DasUpload as bt } from "@das-fed/ui/packages/components/upload/index";
import { DasFormItem as A } from "@das-fed/ui/packages/components/form-item/index";
import { DasAutocomplete as _t } from "@das-fed/ui/packages/components/autocomplete/index";
import me from "dayjs";
import { DasImageViewer as Be } from "@das-fed/ui/packages/components/image-viewer/index";
import { DasInput as wt } from "@das-fed/ui/packages/components/input/index";
import { DasTooltip as De } from "@das-fed/ui/packages/components/tooltip/index";
import { i18n as E, t as _, setI18nRule as Ct } from "@das-fed/web/packages/i18n/index";
import { DasTableColumn as I } from "@das-fed/ui/packages/components/table/index";
import { DasSearchForm as Dt } from "@das-fed/ui/packages/components/search-form/index";
import { DasModelTableDialog as Vt } from "@das-fed/ui/packages/business-components/model-table-dialog";
import { getProjectInfo as Ee } from "@das-fed/utils/common-info";
import { getConfig as kt } from "@das-fed/utils/config";
import { DasRichEditor as Ke } from "@das-fed/ui/packages/components/rich-editor/index";
import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/index";
import { DasCollaspePanel as Qe } from "@das-fed/ui/packages/components/collapse-panel/index";
const te = "v1", St = Z(`/workflow/form/form/${te}`), Nt = Z(`/workflow/form/formDef/${te}`);
Z(`/workflow/api/user/${te}`);
const Ue = Z(`/workflow/api/extend/${te}`), Lt = Z(`/workflow/flow/def/${te}`), zt = Z(`/workflow/form/customQuery/${te}`), oe = Z(`/api/enterpriseright/permission/${te}`), Ve = Z(`/api/space-manage/space-tree/${te}`), Mt = Z(`/workflow/form/dataTemplate/${te}`), ke = Z(`/api/supply/supplier/${te}`), Tt = Z(`/api/warehouse/vms/${te}/asset-receive`), Rt = Mt.get("/getBpmDataTemplateInfoByFlowKey"), $t = St.get("/formDesign"), Pt = Nt.get("/get"), Ft = Ue.get("/report-config");
Ue.get("/application-report");
const It = Lt.get("/getBindRelationByDefKey"), qt = zt.get("/getByAlias"), Ot = oe.get("/organization/authTree"), jt = oe.post("/user/list"), Bt = oe.post("/data/user-query"), Et = oe.get("/role/list"), Kt = oe.post("/data/role-ids"), At = oe.get("/organization/organizationpage"), Qt = oe.get("/station/list"), Ut = oe.get("/position/list"), he = oe.post("/organization/detailbyids"), xt = Ve.get("/controller/area-children"), Yt = Ve.get("/controller/fuzzy-tree-all"), Jt = Ve.get("/controller/space"), Ht = ke.post("/supplier/list/page", (o) => {
  var e, t;
  return o.data.pageBean = {
    page: ((e = o == null ? void 0 : o.data) == null ? void 0 : e.pageIndex) || 1,
    pageSize: ((t = o == null ? void 0 : o.data) == null ? void 0 : t.pageSize) || 20
  }, o;
}), Wt = ke.get("/supplier"), Zt = ke.post("/classification/list/all"), Gt = Tt.get("/receive-code"), ye = i(""), Xt = (o, e, t) => {
  const { setDetailData: l, getFormData: p, setFormData: u, formRule: f, showData: w, disabledData: n, encryptionData: s } = t, m = i([]), v = i([]), g = i([]), d = i(!1), C = ft(), c = i([]), b = (k) => Object.keys(k).length === 0, r = async (k) => {
    const [B, F] = await $t({ formId: k }).run();
    if (B) return;
    const ee = JSON.parse(F.bos);
    ye.value = ee[0].alias, v.value.length && v.value.forEach((W) => {
      W.formKey === F.formKey && u(F.formKey, ye.value, W.id);
    });
    const [G, se] = await Pt({ formDefId: F.defId }).run();
    await D(), g.value = JSON.parse(se.value.expand).list, g.value.forEach((W) => {
      W.columns && W.columns[0].isOpen && c.value.push(W.key);
    }), n.value = { ...n.value, ...o.disabledData }, v.value.length || u(F.formKey, ye.value), setTimeout(() => {
      w.value = { ...w.value, ...o.showData }, b(o.data) && (d.value = !0), b(o.data) || (l(o.data), o.flowKey && (m.value = o.data.button_list ? JSON.parse(o.data.button_list) : []), d.value = !0);
    }, 50);
  }, h = async () => {
    if (o.formConfigurationId) {
      const [k, B] = await Ft({ id: o.formConfigurationId }).run();
      if (k) return;
      v.value = B.reports, m.value = B.reports[0].buttons.filter((F) => !(o.isView && F.event !== "LINK")), r(B.reports[0].formId);
    }
    if (o.flowKey) {
      const [k, B] = await It({ flowKey: o.flowKey }).run();
      if (k) return;
      r(B.pcForm.pcFormId);
    }
  }, D = async () => {
    var F, ee, G, se;
    if (!o.flowKey) return;
    const [k, B] = await Rt().run({
      flowKey: o.flowKey,
      needDisplayFileds: !1
    });
    s.value = ((se = (G = (ee = (F = B == null ? void 0 : B.value) == null ? void 0 : F.boDef) == null ? void 0 : ee.boEnt) == null ? void 0 : G.attributeList) == null ? void 0 : se.filter((W) => W.encryption == "phone")) || [];
  }, y = i({}), T = (k, B) => {
    const { key: F } = B;
    y.value[F] || (y.value[F] = k);
  }, j = async () => (g.value.forEach((k) => {
    k.columns && c.value.push(k.key);
  }), await dt(), new Promise((k, B) => {
    let F = !0;
    for (const ee in y.value)
      y.value[ee].validate((G) => {
        G == !1 && (F = !1);
      });
    setTimeout(() => {
      k({
        result: F,
        data: p()
      });
    }, 50);
  }));
  return {
    isShowPage: d,
    formJsonList: g,
    btnList: m,
    formRef: C,
    activityKeys: c,
    getForm: r,
    getBtnSet: h,
    handleClick: async (k) => {
      let { result: B } = await j();
      B && (e("handleClick", k, p()), k.event === "LINK" && v.value.forEach((F) => {
        k.eventTarget === F.formKey && (m.value = F.buttons.filter((ee) => !(o.isView && ee.event !== "LINK")), d.value = !1, f.value = {}, r(F.formId));
      }));
    },
    validateFormData: j,
    getFormRef: T
  };
}, Y = (o) => {
  var e = new RegExp("<.+?>", "g"), t = o.replace(e, "").replace(/&nbsp;/g, "");
  return t;
}, le = async (o, e, t = {}) => {
  const [l, p] = await qt({ alias: o }).run();
  if (!l && p.url) {
    typeof e == "string" && (e = JSON.parse(e));
    const u = i({});
    e.forEach((s) => {
      s.defaultType == 2 && (u.value[s.field] = s.defaultValue);
    }), u.value = { ...u.value, ...t };
    const f = p.requestType === "POST" ? Z(p.url).post("") : Z(p.url).get(""), [w, n] = await f({}, { params: u.value }).run();
    return w ? void 0 : n;
  }
}, H = async (o) => {
  const e = i(!1);
  return o.forEach((t) => {
    t.key === "required" && (e.value = !0);
  }), e.value;
}, ea = {
  name: "attachment"
}, ta = /* @__PURE__ */ K({
  ...ea,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = i();
    return e.setting.options.tip && (m.value = Y(e.setting.options.tip)), n.value || p(e.setting.name, null), z(n, (v) => {
      p(e.setting.name, JSON.stringify(v));
    }), (v, g) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      label: v.setting.desc,
      type: "custom",
      helpMessage: m.value
    }, {
      default: R(() => [
        N(a(bt), {
          style: { width: "100%" },
          modelValue: n.value,
          "onUpdate:modelValue": g[0] || (g[0] = (d) => n.value = d)
        }, null, 8, ["modelValue"])
      ]),
      _: 1
      /* STABLE */
    }, 8, ["col", "label", "helpMessage"])) : O("v-if", !0);
  }
}), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: ta
}, Symbol.toStringTag, { value: "Module" })), aa = {
  name: "autocomplete"
}, na = /* @__PURE__ */ K({
  ...aa,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((r) => {
      v.value = r;
    });
    const g = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath, c = i([]);
    e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
      c.value = r;
    }) : c.value = e.setting.options.options;
    const b = i();
    return e.setting.options.tip && (b.value = Y(e.setting.options.tip)), n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (r) => {
      p(e.setting.name, r.toString());
    }), (r, h) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      prop: e.setting.name,
      modelValue: n.value,
      "onUpdate:modelValue": h[1] || (h[1] = (D) => n.value = D),
      label: r.setting.desc,
      type: "custom",
      helpMessage: b.value,
      required: v.value,
      disabled: a(m)
    }, {
      default: R(() => [
        N(a(_t), {
          modelValue: n.value,
          "onUpdate:modelValue": h[0] || (h[0] = (D) => n.value = D),
          options: c.value,
          isView: e.isView,
          width: "100%",
          fieldNames: { label: a(g), children: a(d) },
          showFullPath: a(C),
          placeholder: r.setting.options.placeholder,
          clearable: ""
        }, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
      ]),
      _: 1
      /* STABLE */
    }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : O("v-if", !0);
  }
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: na
}, Symbol.toStringTag, { value: "Module" })), sa = {
  name: "checkbox"
}, oa = /* @__PURE__ */ K({
  ...sa,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((b) => {
      v.value = b;
    });
    const g = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = i([]);
    e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((b) => {
      C.value = b;
    }) : C.value = e.setting.options.options;
    const c = i();
    return e.setting.options.tip && (c.value = Y(e.setting.options.tip)()), setTimeout(() => {
      u(e.setting.name) && (n.value = u(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (n.value = e.setting.options.formulasDiyJs.split(",")), n.value.length || n.value || p(e.setting.name, null);
    }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (b) => {
      p(e.setting.name, b.toString());
    }), (b, r) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: n.value,
      "onUpdate:modelValue": r[0] || (r[0] = (h) => n.value = h),
      layout: b.setting.options.inline ? "vertical" : "default",
      label: b.setting.desc,
      prop: e.setting.name,
      type: "checkbox",
      options: C.value,
      isView: e.isView,
      disabled: a(m),
      optionsValueKey: a(g),
      optionsLabelKey: a(d),
      helpMessage: c.value,
      required: v.value
    }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : O("v-if", !0);
  }
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: oa
}, Symbol.toStringTag, { value: "Module" })), la = {
  name: "date"
}, ia = /* @__PURE__ */ K({
  ...la,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((c) => {
      v.value = c;
    });
    const g = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = i("");
    e.setting.options.inputFormat === "YYYY/MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (d.value = "month"), e.setting.options.inputFormat === "YYYY" && (d.value = "year");
    const C = i();
    if (e.setting.options.tip && (C.value = Y(e.setting.options.tip)), setTimeout(() => {
      n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
    }, 50), e.setting.options.showCurrentDate) {
      let c = /* @__PURE__ */ new Date();
      c.setDate(c.getDate() + e.setting.options.day), n.value = me(c.getTime()).format(g), p(e.setting.name, n.value);
    }
    return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (c) => {
      p(e.setting.name, c);
    }), (c, b) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: n.value,
      "onUpdate:modelValue": b[0] || (b[0] = (r) => n.value = r),
      label: c.setting.desc,
      prop: e.setting.name,
      type: a(g).indexOf("HH") != -1 ? "dateTime" : "date",
      format: a(g),
      valueFormat: "YYYY-MM-DD HH:mm:ss",
      picker: d.value,
      isView: e.isView,
      disabled: a(m),
      placeholder: c.setting.options.placeholder,
      helpMessage: C.value,
      required: v.value
    }, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : O("v-if", !0);
  }
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: ia
}, Symbol.toStringTag, { value: "Module" })), ra = {
  name: "dropdown"
}, ua = /* @__PURE__ */ K({
  ...ra,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w, setLinkData: n } = e.store || {}, s = i(""), m = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        m.value = t.value[e.setting.name], m.value || (s.value = e.setting.options.multiple ? [] : "", w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const v = () => {
      e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && n(e.setting.options.customQuery.custQueryJson, s.value);
    }, g = l.value[e.setting.name] || !1, d = i(!1);
    H(e.setting.options.validateList).then((y) => {
      d.value = y;
    });
    const C = i(""), c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", b = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = e.setting.options.customQuery.PId || "children", h = i([]);
    e.setting.options.customQuery.alias && le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((y) => {
      h.value = y;
    });
    const D = i();
    return e.setting.options.tip && (D.value = Y(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && u(e.setting.name) ? s.value = u(e.setting.name).split(",") : s.value = u(e.setting.name) || s.value, s.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(s, (y) => {
      p(e.setting.name, y.toString());
    }), (y, T) => m.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: s.value,
      "onUpdate:modelValue": T[0] || (T[0] = (j) => s.value = j),
      keyword: C.value,
      "onUpdate:keyword": T[1] || (T[1] = (j) => C.value = j),
      label: y.setting.desc,
      type: "treeSelect",
      "node-key": y.setting.options.customQuery.valueBind,
      placeholder: y.setting.options.placeholder,
      mode: y.setting.options.multiple ? "multiple" : "",
      prop: e.setting.name,
      filter: y.setting.options.filterable,
      selectAttrs: { allowClear: !0 },
      options: h.value,
      isView: e.isView,
      helpMessage: D.value,
      disabled: a(g),
      props: { label: a(b), value: a(c), children: a(r) },
      "check-strictly": !y.setting.options.cascade,
      required: d.value,
      onChange: v
    }, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : O("v-if", !0);
  }
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: ua
}, Symbol.toStringTag, { value: "Module" })), pa = { class: "form-image" }, da = {
  name: "imageViewer"
}, ca = /* @__PURE__ */ K({
  ...da,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = e.setting.options.file.limit > 1 ? [] : "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((c) => {
      v.value = c;
    });
    const g = i("normal");
    e.isView && (g.value = "info");
    const d = i();
    e.setting.options.tip && (d.value = Y(e.setting.options.tip)), n.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && u(e.setting.name) ? n.value = u(e.setting.name).split(",") : n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null);
    const C = (c) => {
      setTimeout(() => {
        p(e.setting.name, n.value.toString());
      }, 100);
    };
    return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n.value, (c) => {
      const b = c.map((r) => {
        let h = "";
        return r.indexOf("/oss/") != -1 ? h = r : h = `/oss/${r}`, h;
      });
      setTimeout(() => {
        p(e.setting.name, b.join(","));
      }, 100);
    }), (c, b) => s.value ? (V(), P(a(A), {
      key: 0,
      modelValue: n.value,
      "onUpdate:modelValue": b[2] || (b[2] = (r) => n.value = r),
      "margin-bottom": "0",
      prop: e.setting.name,
      label: c.setting.desc,
      type: "custom",
      helpMessage: d.value,
      required: v.value,
      col: e.span
    }, {
      default: R(() => [
        je("div", pa, [
          N(a(Be), {
            modelValue: n.value,
            "onUpdate:modelValue": b[0] || (b[0] = (r) => n.value = r),
            status: g.value,
            "onUpdate:status": b[1] || (b[1] = (r) => g.value = r),
            maxSize: "6",
            "limit-num": c.setting.options.file.limit,
            prop: e.setting.name,
            "service-name": "hotent",
            "accept-video": "",
            "accept-audio": "",
            videoWidth: 420,
            videoHeight: 680,
            disabled: a(m),
            "show-image-name": "",
            needDownloadBtn: c.setting.options.file.allowDownload == !0,
            needPreview: c.setting.options.file.allowPreview == !0,
            onImageUpload: C,
            required: v.value
          }, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
        ])
      ]),
      _: 1
      /* STABLE */
    }, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : O("v-if", !0);
  }
}), ve = (o, e) => {
  const t = o.__vccOpts || o;
  for (const [l, p] of e)
    t[l] = p;
  return t;
}, ga = /* @__PURE__ */ ve(ca, [["__scopeId", "data-v-745a2e98"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: ga
}, Symbol.toStringTag, { value: "Module" })), ma = (o) => {
  const t = "****", l = String(o), p = l.slice(0, 15), u = l.slice(15);
  return ((n) => {
    const s = n.length;
    if (s < 6) return n;
    let m = 0;
    switch (s) {
      case 6:
      case 7:
        m = 1;
        break;
      case 8:
      case 9:
        m = 2;
        break;
      case 10:
      case 11:
        m = 3;
        break;
      case 12:
        m = 4;
        break;
      case 13:
        m = 5;
        break;
      case 14:
        m = 6;
        break;
      case 15:
        m = 7;
        break;
    }
    const v = m + t.length;
    return n.slice(0, m) + t + n.slice(v);
  })(p) + u;
}, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: ma
}, Symbol.toStringTag, { value: "Module" })), ge = {}, fa = /^\.\/(.+)\/index\.ts$/, qe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": va });
var Oe;
for (const o in qe) {
  const e = qe[o], t = (Oe = o.match(fa)) == null ? void 0 : Oe[1];
  ge[t] = e.default;
}
const ha = (o, e) => {
  var l;
  return e ? ((l = ge[o]) == null ? void 0 : l.call(ge, e)) ?? e : "-";
}, ya = {
  name: "input"
}, ba = /* @__PURE__ */ K({
  ...ya,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { data: t, showData: l, disabledData: p, setData: u, getData: f, setFormRule: w, deleteRule: n, encryptionData: s } = e.store || {}, m = i(""), v = i(!1);
    s.value.length && s.value.forEach((r) => {
      r.name === e.setting.name && (v.value = !0);
    });
    const g = i(""), d = i(!0);
    !l.value[e.setting.name] && l.value[e.setting.name] != !1 && (l.value[e.setting.name] = !0), z(
      () => l.value,
      () => {
        d.value = l.value[e.setting.name], d.value || (g.value = "", n(e.setting.name)), d.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    ), z(
      () => t.value,
      () => {
        t.value[e.setting.name] && (g.value = t.value[e.setting.name]);
      },
      { deep: !0 }
    );
    const C = p.value[e.setting.name] || !1, c = i(!1);
    H(e.setting.options.validateList).then((r) => {
      c.value = r;
    });
    const b = i();
    return e.setting.options.tip && (b.value = Y(e.setting.options.tip)), setTimeout(() => {
      g.value = f(e.setting.name) || e.setting.options.formulasDiyJs || g.value, v && e.isView && (m.value = ha("phone", g.value)), g.value || u(e.setting.name, null);
    }, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), z(g, (r) => {
      e.setting.options.dataType === "number" && !isNaN(r) ? u(e.setting.name, Number(r)) : u(e.setting.name, r);
    }), (r, h) => (V(), x(
      X,
      null,
      [
        d.value && v.value && e.isView ? (V(), P(a(A), {
          key: 0,
          col: e.span,
          prop: e.setting.name,
          modelValue: g.value,
          "onUpdate:modelValue": h[1] || (h[1] = (D) => g.value = D),
          label: r.setting.desc,
          type: "custom",
          helpMessage: b.value,
          required: c.value
        }, {
          default: R(() => [
            N(a(De), {
              placement: "top",
              disabled: !g.value,
              content: g.value
            }, {
              default: R(() => [
                N(a(wt), {
                  modelValue: m.value,
                  "onUpdate:modelValue": h[0] || (h[0] = (D) => m.value = D),
                  width: r.setting.options.width,
                  disabled: r.setting.options.isInputEdit || a(C),
                  isView: r.setting.options.isReadonly || e.isView,
                  placeholder: r.setting.options.placeholder
                }, {
                  prepend: R(() => [
                    ae(
                      ne(r.setting.options.bindPreAndSufFixjson.preFix),
                      1
                      /* TEXT */
                    )
                  ]),
                  append: R(() => [
                    ae(
                      ne(r.setting.options.bindPreAndSufFixjson.sufSix),
                      1
                      /* TEXT */
                    )
                  ]),
                  _: 1
                  /* STABLE */
                }, 8, ["modelValue", "width", "disabled", "isView", "placeholder"])
              ]),
              _: 1
              /* STABLE */
            }, 8, ["disabled", "content"])
          ]),
          _: 1
          /* STABLE */
        }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : O("v-if", !0),
        d.value && (!v.value || !e.isView) ? (V(), P(a(A), {
          key: 1,
          col: e.span,
          modelValue: g.value,
          "onUpdate:modelValue": h[2] || (h[2] = (D) => g.value = D),
          width: r.setting.options.width,
          disabled: r.setting.options.isInputEdit || a(C),
          isView: r.setting.options.isReadonly || e.isView,
          prop: e.setting.name,
          label: r.setting.desc,
          type: "input",
          helpMessage: b.value,
          required: c.value,
          placeholder: r.setting.options.placeholder
        }, {
          default: R(() => [
            O(` <DasInput\r
      v-model="inputValue"\r
    >\r
      <template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>\r
      <template #append>{{ setting.options.bindPreAndSufFixjson.sufSix }}</template>\r
    </DasInput> `)
          ]),
          _: 1
          /* STABLE */
        }, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : O("v-if", !0)
      ],
      64
      /* STABLE_FRAGMENT */
    ));
  }
}), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: ba
}, Symbol.toStringTag, { value: "Module" })), _a = {
  name: "number"
}, wa = /* @__PURE__ */ K({
  ..._a,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(0), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = 0, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((d) => {
      v.value = d;
    });
    const g = i();
    return e.setting.options.tip && (g.value = Y(e.setting.options.tip)), setTimeout(() => {
      n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
    }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (d) => {
      p(e.setting.name, d);
    }), (d, C) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: n.value,
      "onUpdate:modelValue": C[0] || (C[0] = (c) => n.value = c),
      style: { width: "100%" },
      label: d.setting.desc,
      type: "inputNumber",
      prop: e.setting.name,
      max: d.setting.options.max,
      min: d.setting.options.min,
      step: d.setting.options.step,
      disabled: a(m),
      isView: e.isView,
      precision: d.setting.options.decimalDigits,
      helpMessage: g.value,
      required: v.value
    }, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : O("v-if", !0);
  }
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: wa
}, Symbol.toStringTag, { value: "Module" })), Ca = {
  name: "radio"
}, Da = /* @__PURE__ */ K({
  ...Ca,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {
        linkage: []
      }
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(null), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((r) => {
      v.value = r;
    });
    const g = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = i([]);
    e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
      C.value = r;
    }) : C.value = e.setting.options.options;
    const c = i();
    e.setting.options.tip && (c.value = Y(e.setting.options.tip)), setTimeout(() => {
      n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
    }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (r) => {
      p(e.setting.name, r);
    });
    const b = (r) => {
      e.setting.options.linkage.length && e.setting.options.linkage.forEach((h) => {
        if (h.value === r) {
          const y = h.effect[0].target.split(".")[2];
          t.value[y] = h.effect[0].type === "w";
        }
      });
    };
    return (r, h) => s.value ? (V(), P(a(A), {
      key: 0,
      onChange: b,
      col: e.span,
      modelValue: n.value,
      "onUpdate:modelValue": h[0] || (h[0] = (D) => n.value = D),
      layout: r.setting.options.inline ? "vertical" : "default",
      label: r.setting.desc,
      type: "radio",
      prop: e.setting.name,
      options: C.value,
      isView: e.isView,
      optionsValueKey: a(g),
      optionsLabelKey: a(d),
      helpMessage: c.value,
      disabled: a(m),
      required: v.value,
      isSetTimeout: !0
    }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : O("v-if", !0);
  }
}), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Da
}, Symbol.toStringTag, { value: "Module" })), Va = {
  name: "select"
}, ka = /* @__PURE__ */ K({
  ...Va,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    var h, D;
    const e = o, { showData: t, disabledData: l, linkData: p, setData: u, getData: f, setFormRule: w, deleteRule: n } = e.store || {}, s = i(), m = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        m.value = t.value[e.setting.name], m.value || (s.value = null, n(e.setting.name)), m.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    ), z(
      () => p.value,
      () => {
        p.value.data.forEach((y) => {
          if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === y.alias) {
            s.value = null;
            const T = y.conditionfield.filter((M) => M.defaultType == 1);
            let j = {};
            T.forEach((M) => {
              const k = M.fieldPath.split("."), B = k[k.length - 1];
              j[M.field] = f(B);
            }), le(
              e.setting.options.customQuery.alias,
              e.setting.options.customQuery.conditionfield,
              j
            ).then((M) => {
              c.value = M;
            });
          }
        });
      },
      { deep: !0 }
    );
    const v = l.value[e.setting.name] || !1, g = i(!1);
    H(e.setting.options.validateList).then((y) => {
      g.value = y;
    });
    const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", C = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", c = i([]);
    if (e.setting.options.customQuery.alias) {
      let y = (D = (h = e.setting.options) == null ? void 0 : h.customQuery) == null ? void 0 : D.conditionfield;
      typeof y == "string" && (y = JSON.parse(y));
      const T = y.filter((M) => M.defaultType == 1);
      let j = {};
      T.forEach((M) => {
        var F;
        const k = (F = M.fieldPath) == null ? void 0 : F.split("."), B = k[k.length - 1];
        j[M.field] = f(B);
      }), le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, j).then(
        (M) => {
          c.value = M;
        }
      );
    } else
      c.value = e.setting.options.options;
    const b = i();
    e.setting.options.tip && (b.value = Y(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
      e.setting.options.multiple && (f(e.setting.name) || e.setting.options.formulasDiyJs) ? (f(e.setting.name) && (s.value = f(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (s.value = e.setting.options.formulasDiyJs.split(","))) : s.value = f(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
    }, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), z(s, (y) => {
      e.setting.options.multiple ? u(e.setting.name, y.toString()) : u(e.setting.name, y);
    });
    const r = (y) => {
      e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((T) => {
        if (T.value === y) {
          const M = T.effect[0].target.split(".")[2];
          t.value[M] = T.effect[0].type === "w";
        }
      });
    };
    return (y, T) => m.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: s.value,
      "onUpdate:modelValue": T[0] || (T[0] = (j) => s.value = j),
      label: y.setting.desc,
      onChange: r,
      type: "select",
      prop: e.setting.name,
      placeholder: y.setting.options.placeholder,
      mode: y.setting.options.multiple ? "tags" : "combobox",
      showSearch: y.setting.options.filterable,
      allowClear: !0,
      isView: e.isView,
      options: c.value,
      optionsValueKey: a(d),
      optionsLabelKey: a(C),
      helpMessage: b.value,
      disabled: a(v),
      required: g.value
    }, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : O("v-if", !0);
  }
}), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: ka
}, Symbol.toStringTag, { value: "Module" })), Sa = (o, e, t) => {
  var G, se, W, pe, de;
  const l = Ee().id, p = i(!1), u = (de = (pe = (W = (se = (G = o == null ? void 0 : o.options) == null ? void 0 : G.selector) == null ? void 0 : se.type) == null ? void 0 : W.alias) == null ? void 0 : pe.replace("eip-", "")) == null ? void 0 : de.replace("-selector", ""), f = i([]), w = i(""), n = i(""), s = {
    user: E("搜索姓名/账号/手机号").value,
    org: E("搜索组织名称/组织编码").value,
    role: E("搜索角色名称").value,
    job: E("职务名称/职务编码").value,
    post: E("搜索岗位名称/岗位编码").value,
    supplier: E("搜索供应商编码/名称").value,
    source: E("搜索单据编码/申请人").value
  }, m = {
    user: E("添加用户").value,
    org: E("组织选择器").value,
    role: E("角色选择器").value,
    job: E("职务选择器").value,
    post: E("岗位选择器").value,
    supplier: E("选择供应商").value,
    source: E("选择源单").value
  }, v = {
    user: "id",
    org: "id",
    role: "id",
    job: "positionId",
    post: "stationId",
    supplier: "id",
    source: "code"
  }, g = {
    1: E("正常").value,
    2: E("锁定").value,
    3: E("禁用").value
  }, d = {
    0: E("普通").value,
    1: E("管理员").value
  }, C = {
    0: E("无效").value,
    1: E("有效").value
  }, c = {
    user: Bt,
    org: he,
    role: Kt,
    job: he,
    post: he,
    supplier: Wt
  }, b = m[u], r = i({}), h = i([]), D = () => {
    var q, Q;
    u === "supplier" ? (r.value = {
      left: !1,
      content: {
        api: Ht,
        params: {
          flowKey: e,
          clientType: "pc",
          pageBean: {
            page: 1,
            pageSize: 20
          },
          params: {},
          sorter: [],
          querys: [
            {
              property: "orgId",
              value: l,
              group: "quick",
              relation: "AND",
              operation: "EQUAL"
            }
          ]
        },
        selectListProps: {
          data: []
        }
      },
      right: !1
    }, j(), T()) : u === "source" ? (r.value = {
      left: !1,
      content: {
        api: Gt,
        params: {
          key: "",
          code: t
        },
        selectListProps: {
          data: []
        },
        props: {
          pageSize: 9999,
          paginationProps: { layout: "none," },
          rowKey: "code"
        }
      },
      right: !1
    }, y()) : u === "org" ? (r.value = {
      left: !1,
      content: {
        api: At,
        params: {
          search: ""
        },
        selectListProps: {
          data: []
        }
      }
    }, y()) : r.value = {
      left: {
        api: Ot,
        params: {
          projectId: l,
          parentId: l
        },
        props: {
          inputOptions: {
            placeholder: E("搜索组织名称").value
          }
        }
      },
      content: {
        selectListProps: {
          data: []
        }
      }
    }, u === "user" && (r.value.content = {
      api: jt,
      searchKey: "groupId",
      params: {
        status: 1,
        queryPhone: !0
      },
      selectListProps: {
        data: []
      }
    }, y()), u === "role" && (r.value.content = {
      api: Et,
      searchKey: "orgId",
      params: {
        status: 1
      },
      selectListProps: {
        data: []
      }
    }, y()), u === "job" && (r.value.content = {
      api: Ut,
      searchKey: "groupId",
      props: {
        rowKey: "positionId"
      },
      selectListProps: {
        data: []
      }
    }, y()), u === "post" && (r.value.content = {
      api: Qt,
      searchKey: "groupId",
      props: {
        rowKey: "stationId"
      },
      selectListProps: {
        data: []
      }
    }, y()), r.value.content.multiple = u === "supplier" || u === "source" ? !1 : !((Q = (q = o == null ? void 0 : o.options) == null ? void 0 : q.selector) != null && Q.isSingle);
  }, y = async () => {
    h.value = [
      {
        type: "searchInput",
        key: "inputtKey",
        label: "",
        placeholder: s[u],
        value: "",
        clearable: !0,
        isIconLeft: !0,
        layout: "out",
        size: "small"
      }
    ];
  }, T = async () => {
    h.value = [
      {
        type: "searchInput",
        key: "inputtKey",
        label: "",
        placeholder: s[u],
        value: "",
        clearable: !0,
        isIconLeft: !0,
        layout: "out",
        size: "small"
      },
      {
        type: "select",
        label: E("供应商类型").value,
        layout: "out",
        width: "200px",
        closable: !0,
        options: [],
        value: void 0,
        nodeKey: "id",
        optionsValueKey: "id",
        optionsLabelKey: "name",
        allowClear: !0
      }
    ];
  }, j = async () => {
    const q = {
      name: "",
      published: 1
    }, [Q, L] = await Zt(q).run();
    Q || (h.value[1].options = L);
  }, M = () => {
    var Q;
    w.value = "", p.value = !0;
    let q = v[u];
    r.value.content.selectListProps.data = (Q = f == null ? void 0 : f.value) == null ? void 0 : Q.map((L) => ({ name: L == null ? void 0 : L.label, [q]: L == null ? void 0 : L.value }));
  };
  D();
  const k = async () => {
    var q, Q, L, $, U, S, J, Se, Ne, Le, ze, Me, Te, Re, $e, Pe, Fe;
    r.value.content.params = {
      ...(Q = (q = r == null ? void 0 : r.value) == null ? void 0 : q.content) == null ? void 0 : Q.params,
      pageIndex: 1
    }, (u === "user" || u === "org" || u === "post" || u === "role" || u === "job") && (r.value.content.params.name = (L = h == null ? void 0 : h.value[0]) == null ? void 0 : L.value), u === "source" && (r.value.content.params.key = ($ = h == null ? void 0 : h.value[0]) == null ? void 0 : $.value), u === "supplier" && (r.value.content.params.querys = [
      {
        property: "orgId",
        value: l,
        group: "quick",
        relation: "AND",
        operation: "EQUAL"
      }
    ], (U = h == null ? void 0 : h.value[0]) != null && U.value && (r.value.content.params.querys = (ze = (Se = (J = (S = r == null ? void 0 : r.value) == null ? void 0 : S.content) == null ? void 0 : J.params) == null ? void 0 : Se.querys) == null ? void 0 : ze.concat([
      {
        property: "name",
        value: (Ne = h == null ? void 0 : h.value[0]) == null ? void 0 : Ne.value,
        group: "merge",
        relation: "OR",
        operation: "LIKE"
      },
      {
        property: "code",
        value: (Le = h == null ? void 0 : h.value[0]) == null ? void 0 : Le.value,
        group: "merge",
        relation: "OR",
        operation: "LIKE"
      }
    ])), (Me = h == null ? void 0 : h.value[1]) != null && Me.value && (r.value.content.params.querys = (Fe = ($e = (Re = (Te = r == null ? void 0 : r.value) == null ? void 0 : Te.content) == null ? void 0 : Re.params) == null ? void 0 : $e.querys) == null ? void 0 : Fe.concat([
      {
        property: "classificationId",
        value: (Pe = h == null ? void 0 : h.value[1]) == null ? void 0 : Pe.value,
        group: "quick",
        relation: "AND",
        operation: "EQUAL"
      }
    ])));
  };
  z(
    () => p == null ? void 0 : p.value,
    (q) => {
      q || B();
    }
  );
  const B = async () => {
    u === "supplier" ? (h.value[0].value = "", h.value[1].value = void 0) : (u === "org" || u === "user" || u === "source" || u === "post" || u === "role" || u === "job") && (h.value[0].value = ""), D();
  };
  return {
    dialogVisible: p,
    title: b,
    searchName: w,
    selectorType: u,
    selectOptions: f,
    tableOptions: r,
    userStatusMap: g,
    roleTypeMap: d,
    roleStatusMap: C,
    openDialog: M,
    confirm: (q) => {
      var L;
      let Q = v[u];
      f.value = q == null ? void 0 : q.map(($) => ({ label: ($ == null ? void 0 : $.name) || ($ == null ? void 0 : $.code), value: $[Q] })), u === "supplier" && (n.value = (L = q[0]) == null ? void 0 : L.linkmanPhone);
    },
    getDetail: async (q) => {
      if (!q) return;
      const Q = c[u];
      let L = {};
      const $ = q == null ? void 0 : q.split(",");
      if (u === "source") {
        f.value = [
          {
            label: q,
            value: q
          }
        ];
        return;
      } else u === "user" ? L.userIds = $ : u === "role" ? L.ids = $ : u === "supplier" ? L.id = $ : L = $;
      const [U, S] = await Q(L).run();
      U || (u === "supplier" ? f.value = [
        {
          label: (S == null ? void 0 : S.name) || (S == null ? void 0 : S.code),
          value: S == null ? void 0 : S.id
        }
      ] : f.value = S == null ? void 0 : S.map((J) => ({ label: (J == null ? void 0 : J.name) || (J == null ? void 0 : J.code), value: J == null ? void 0 : J.id })));
    },
    searchData: k,
    searchOptions: h,
    linkmanPhone: n
  };
}, Na = () => {
  const o = i(""), e = i(""), t = i([]), l = i("");
  return {
    spacePath: o,
    spaceName: e,
    spaceTreeData: t,
    searchSpace: l,
    changeSpace: (n, s) => {
      o.value = s[0].path, e.value = s[0].pathName;
    },
    spaceLoad: async (n) => {
      let s = {
        pageSize: 1e4,
        pageIndex: 1,
        projectId: Ee().id,
        //项目id
        spaceId: ""
        // orgId:getProjectInfo().id
      };
      s.spaceId = n != null && n.id ? n.id : "";
      let m = xt;
      const [v, g] = await m(s).run();
      return v ? {} : g;
    },
    filterSpaceTree: async (n) => {
      if (!n) return [];
      let s = Yt;
      const m = {
        name: n
      }, [v, g] = await s(m).run();
      return v ? {} : (g.forEach((d) => {
        d.path.startsWith("/0") && (d.path = d.path.slice(2) + `/${d.id}`), d._name = d.nodeName ? d.nodeName : d.name;
      }), g);
    },
    getSpaceDetail: async (n) => {
      const [s, m] = await Jt().run({ spaceId: n });
      s || (o.value = m.path);
    }
  };
}, La = { class: "table-search-process-top" }, za = {
  name: "selector"
}, Ma = /* @__PURE__ */ K({
  ...za,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, setData: l, getData: p, flowKey: u, setFormRule: f, deleteRule: w, disabledData: n } = e.store || {}, s = i(""), m = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        m.value = t.value[e.setting.name], m.value || (s.value = "", b.value = [], w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const v = n.value[e.setting.name] || !1, {
      dialogVisible: g,
      title: d,
      tableOptions: C,
      selectorType: c,
      selectOptions: b,
      userStatusMap: r,
      roleTypeMap: h,
      roleStatusMap: D,
      openDialog: y,
      confirm: T,
      getDetail: j,
      searchData: M,
      searchOptions: k,
      linkmanPhone: B
    } = Sa(e.setting, u, s), { spacePath: F, spaceName: ee, searchSpace: G, changeSpace: se, spaceLoad: W, filterSpaceTree: pe, getSpaceDetail: de } = Na(), q = i(!1);
    H(e.setting.options.validateList).then((L) => {
      q.value = L;
    });
    const Q = i();
    return e.setting.options.tip && (Q.value = Y(e.setting.options.tip)), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), c == "position" ? (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && de(s.value), s.value || l(e.setting.name, null), z(s, (L) => {
      l(e.setting.name, L);
    }), z(ee, (L) => {
      l(e.setting.options.selector.type.positionName, L);
    })) : c == "supplier" ? (s.value = p(e.setting.name) ? [p(e.setting.name)] : [s.value], s.value && j(p(e.setting.name)), z(s, (L) => {
      l(e.setting.name, L == null ? void 0 : L.toString());
    }), z(B, (L) => {
      var $, U, S, J;
      ((J = (S = (U = ($ = e == null ? void 0 : e.setting) == null ? void 0 : $.options) == null ? void 0 : U.selector) == null ? void 0 : S.type) == null ? void 0 : J.supplierPhone) !== void 0 && l(e.setting.options.selector.type.supplierPhone, L);
    })) : (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && j(s.value), s.value.length || l(e.setting.name, null), z(b, (L) => {
      s.value = L.map(($) => $.value).toString(), l(e.setting.name, s.value);
    })), (L, $) => (V(), x(
      X,
      null,
      [
        m.value && a(c) != "position" ? (V(), P(a(A), {
          key: 0,
          col: e.span,
          modelValue: s.value,
          "onUpdate:modelValue": $[1] || ($[1] = (U) => s.value = U),
          prop: e.setting.name,
          label: L.setting.desc,
          type: "inputDialogSelect",
          options: a(b),
          helpMessage: Q.value,
          isView: e.isView,
          disabled: a(v),
          required: q.value,
          placeholder: L.setting.options.placeholder || a(_)("请选择"),
          onOpenDialog: a(y)
        }, {
          default: R(() => {
            var U;
            return [
              N(a(Vt), {
                "append-to-body": "",
                modelValue: a(g),
                "onUpdate:modelValue": $[0] || ($[0] = (S) => fe(g) ? g.value = S : null),
                options: a(C),
                onConfirm: a(T),
                title: a(d),
                "body-style": { padding: "0px" }
              }, ct({
                _: 2
                /* DYNAMIC */
              }, [
                ((U = a(k)) == null ? void 0 : U.length) > 0 ? {
                  name: "table-header-search",
                  fn: R(() => [
                    je("div", La, [
                      N(a(Dt), {
                        labelLength: "6",
                        options: a(k),
                        onConfirm: a(M),
                        "is-margin-right": !1
                      }, null, 8, ["options", "onConfirm"])
                    ])
                  ]),
                  key: "0"
                } : void 0,
                a(c) === "user" ? {
                  name: "table-column",
                  fn: R(() => [
                    N(a(I), {
                      label: a(_)("姓名"),
                      prop: "name"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("账号"),
                      prop: "userName"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("手机号"),
                      prop: "sensitivePhone"
                    }, {
                      default: R(({ row: S }) => [
                        N(a(De), {
                          placement: "top",
                          content: S.phone,
                          disabled: !S.phone
                        }, {
                          default: R(() => [
                            ae(
                              ne(S.sensitivePhone || "-"),
                              1
                              /* TEXT */
                            )
                          ]),
                          _: 2
                          /* DYNAMIC */
                        }, 1032, ["content", "disabled"])
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("状态")
                    }, {
                      default: R(({ row: S }) => [
                        ae(
                          ne(a(r)[S.status]),
                          1
                          /* TEXT */
                        )
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"])
                  ]),
                  key: "1"
                } : void 0,
                a(c) === "org" ? {
                  name: "table-column",
                  fn: R(() => [
                    N(a(I), {
                      label: a(_)("组织名称"),
                      prop: "name"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("组织编码"),
                      prop: "code"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("组织类型"),
                      prop: "typeName"
                    }, null, 8, ["label"])
                  ]),
                  key: "2"
                } : void 0,
                a(c) === "role" ? {
                  name: "table-column",
                  fn: R(() => [
                    N(a(I), {
                      label: a(_)("角色名称"),
                      prop: "name"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("角色类型")
                    }, {
                      default: R(({ row: S }) => [
                        ae(
                          ne(a(h)[S.type]),
                          1
                          /* TEXT */
                        )
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("角色状态")
                    }, {
                      default: R(({ row: S }) => [
                        ae(
                          ne(a(D)[S.status]),
                          1
                          /* TEXT */
                        )
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"])
                  ]),
                  key: "3"
                } : void 0,
                a(c) === "job" ? {
                  name: "table-column",
                  fn: R(() => [
                    N(a(I), {
                      label: a(_)("职务名称"),
                      prop: "name"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("职务编码"),
                      prop: "code"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("所属组织路径"),
                      prop: "groupName"
                    }, null, 8, ["label"])
                  ]),
                  key: "4"
                } : void 0,
                a(c) === "post" ? {
                  name: "table-column",
                  fn: R(() => [
                    N(a(I), {
                      label: a(_)("岗位名称"),
                      prop: "name"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("岗位编码"),
                      prop: "code"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("所属组织路径"),
                      prop: "groupName"
                    }, null, 8, ["label"])
                  ]),
                  key: "5"
                } : void 0,
                a(c) === "supplier" ? {
                  name: "table-column",
                  fn: R(() => [
                    N(a(I), {
                      type: "index",
                      width: "50"
                    }),
                    N(a(I), {
                      label: a(_)("供应商名称"),
                      prop: "name"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("供应商编码"),
                      prop: "code"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("供应商等级"),
                      prop: "supplierLevel"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("供应商分类"),
                      prop: "classificationName"
                    }, {
                      default: R(() => [
                        O(` <template #default="{row}">\r
            {{ getSupplierName(row) }}\r
          </template>   `)
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("个人/公司"),
                      prop: "businessType"
                    }, {
                      default: R(({ row: S }) => [
                        ae(
                          ne(S.businessType == "COMPANY" ? a(_)("公司") : a(_)("个人")),
                          1
                          /* TEXT */
                        )
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"])
                  ]),
                  key: "6"
                } : void 0,
                a(c) === "source" ? {
                  name: "table-column",
                  fn: R(() => [
                    N(a(I), {
                      type: "index",
                      width: "50"
                    }),
                    N(a(I), {
                      label: a(_)("单据编码"),
                      prop: "code"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("申请人"),
                      prop: "userName"
                    }, null, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("联系电话"),
                      prop: "sensitivePhone"
                    }, {
                      default: R(({ row: S }) => [
                        N(a(De), {
                          placement: "top",
                          content: S.phone,
                          disabled: !S.phone
                        }, {
                          default: R(() => [
                            ae(
                              ne(S.sensitivePhone || "-"),
                              1
                              /* TEXT */
                            )
                          ]),
                          _: 2
                          /* DYNAMIC */
                        }, 1032, ["content", "disabled"])
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("计划领用日期"),
                      prop: "claimingDate"
                    }, {
                      default: R(({ row: S }) => [
                        ae(
                          ne(S.claimingDate ? a(me)(Number(S == null ? void 0 : S.claimingDate)).format("YYYY/MM/DD") : "-"),
                          1
                          /* TEXT */
                        )
                      ]),
                      _: 1
                      /* STABLE */
                    }, 8, ["label"]),
                    N(a(I), {
                      label: a(_)("资产用途"),
                      prop: "purpose"
                    }, null, 8, ["label"])
                  ]),
                  key: "7"
                } : void 0
              ]), 1032, ["modelValue", "options", "onConfirm", "title"])
            ];
          }),
          _: 1
          /* STABLE */
        }, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : O("v-if", !0),
        m.value && a(c) == "position" ? (V(), P(a(A), {
          key: 1,
          col: e.span,
          label: L.setting.desc,
          prop: e.setting.name,
          type: "treeSelect",
          "node-key": "id",
          showFullPath: !0,
          helpMessage: Q.value,
          placeholder: L.setting.options.placeholder,
          required: q.value,
          modelValue: s.value,
          "onUpdate:modelValue": $[2] || ($[2] = (U) => s.value = U),
          keyword: a(G),
          "onUpdate:keyword": $[3] || ($[3] = (U) => fe(G) ? G.value = U : null),
          path: a(F),
          "onUpdate:path": $[4] || ($[4] = (U) => fe(F) ? F.value = U : null),
          isView: e.isView,
          disabled: a(v),
          load: a(W),
          search: a(pe),
          props: {
            isLeaf: "leaf",
            label: "name"
          },
          onChange: a(se)
        }, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : O("v-if", !0)
      ],
      64
      /* STABLE_FRAGMENT */
    ));
  }
}), Ta = /* @__PURE__ */ ve(Ma, [["__scopeId", "data-v-76614098"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Ta
}, Symbol.toStringTag, { value: "Module" })), Ra = {
  key: 0,
  class: "form-image"
}, $a = {
  key: 1,
  style: { "margin-bottom": "10px" }
}, Pa = {
  name: "soundRecording"
}, Fa = /* @__PURE__ */ K({
  ...Pa,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    ), l.value[e.setting.name];
    const { baseURL: m } = kt(), v = i(!1);
    H(e.setting.options.validateList).then((C) => {
      v.value = C;
    });
    const g = i("info"), d = i();
    if (e.setting.options.tip && (d.value = Y(e.setting.options.tip)), u(e.setting.name)) {
      const C = JSON.parse(u(e.setting.name));
      n.value = m + C[0].url;
    }
    return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), (C, c) => e.isView && s.value ? (V(), P(a(A), {
      key: 0,
      modelValue: n.value,
      "onUpdate:modelValue": c[2] || (c[2] = (b) => n.value = b),
      "margin-bottom": "0",
      prop: e.setting.name,
      label: C.setting.desc,
      type: "custom",
      helpMessage: d.value,
      required: v.value,
      col: e.span
    }, {
      default: R(() => [
        n.value ? (V(), x("div", Ra, [
          N(a(Be), {
            modelValue: n.value,
            "onUpdate:modelValue": c[0] || (c[0] = (b) => n.value = b),
            status: g.value,
            "onUpdate:status": c[1] || (c[1] = (b) => g.value = b),
            required: v.value
          }, null, 8, ["modelValue", "status", "required"])
        ])) : (V(), x("div", $a, "-"))
      ]),
      _: 1
      /* STABLE */
    }, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : O("v-if", !0);
  }
}), Ia = /* @__PURE__ */ ve(Fa, [["__scopeId", "data-v-b30e3d77"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Ia
}, Symbol.toStringTag, { value: "Module" })), qa = {
  name: "switch"
}, Oa = /* @__PURE__ */ K({
  ...qa,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((d) => {
      v.value = d;
    });
    const g = i();
    return e.setting.options.tip && (g.value = Y(e.setting.options.tip)), setTimeout(() => {
      n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
    }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (d) => {
      p(e.setting.name, d);
    }), (d, C) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: n.value,
      "onUpdate:modelValue": C[0] || (C[0] = (c) => n.value = c),
      label: d.setting.desc,
      type: "switch",
      prop: e.setting.name,
      activeValue: d.setting.options.activeValue,
      inactiveValue: d.setting.options.inactiveValue,
      activeText: d.setting.options.activeText,
      inactiveText: d.setting.options.inactiveText,
      helpMessage: g.value,
      disabled: a(m),
      required: v.value,
      isView: e.isView
    }, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : O("v-if", !0);
  }
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Oa
}, Symbol.toStringTag, { value: "Module" })), ja = {
  name: "text"
}, Ba = /* @__PURE__ */ K({
  ...ja,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = i();
    return e.setting.options.tip && (m.value = Y(e.setting.options.tip)), n.value = e.setting.options.textValue, n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), z(n, (v) => {
      p(e.setting.name, v);
    }), (v, g) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: n.value,
      "onUpdate:modelValue": g[1] || (g[1] = (d) => n.value = d),
      label: v.setting.desc,
      type: "custom",
      helpMessage: m.value
    }, {
      default: R(() => [
        N(a(Ke), {
          type: "text",
          modelValue: n.value,
          "onUpdate:modelValue": g[0] || (g[0] = (d) => n.value = d)
        }, null, 8, ["modelValue"])
      ]),
      _: 1
      /* STABLE */
    }, 8, ["col", "modelValue", "label", "helpMessage"])) : O("v-if", !0);
  }
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Ba
}, Symbol.toStringTag, { value: "Module" })), Ea = {
  name: "textarea"
}, Ka = /* @__PURE__ */ K({
  ...Ea,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((c) => {
      v.value = c;
    });
    const g = i();
    e.setting.options.tip && (g.value = Y(e.setting.options.tip)), setTimeout(() => {
      n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
    }, 50);
    const d = i(), C = i();
    return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (c) => {
      p(e.setting.name, c);
    }), (c, b) => (V(), x(
      X,
      null,
      [
        !c.setting.options.isEditor && s.value ? (V(), P(a(A), {
          key: 0,
          col: e.span,
          label: c.setting.desc,
          type: "textarea",
          modelValue: n.value,
          "onUpdate:modelValue": b[0] || (b[0] = (r) => n.value = r),
          prop: e.setting.name,
          placeholder: c.setting.options.placeholder,
          disabled: c.setting.options.isInputEdit || a(m),
          isView: e.isView,
          autosize: {
            minRows: 1,
            maxRows: 3
          },
          "show-word-limit": "",
          helpMessage: g.value,
          required: v.value
        }, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : O("v-if", !0),
        c.setting.options.isEditor && s.value ? (V(), P(a(A), {
          key: 1,
          modelValue: n.value,
          "onUpdate:modelValue": b[2] || (b[2] = (r) => n.value = r),
          prop: e.setting.name,
          contentWidth: d.value,
          label: c.setting.desc,
          type: "custom",
          helpMessage: g.value,
          required: v.value,
          readOnly: e.isView
        }, {
          default: R(() => [
            N(a(Ke), {
              ref: "editor",
              width: d.value,
              height: C.value,
              modelValue: n.value,
              "onUpdate:modelValue": b[1] || (b[1] = (r) => n.value = r),
              placeholder: c.setting.options.placeholder
            }, null, 8, ["width", "height", "modelValue", "placeholder"])
          ]),
          _: 1
          /* STABLE */
        }, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : O("v-if", !0)
      ],
      64
      /* STABLE_FRAGMENT */
    ));
  }
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Ka
}, Symbol.toStringTag, { value: "Module" })), Aa = {
  name: "time"
}, Qa = /* @__PURE__ */ K({
  ...Aa,
  props: {
    setting: { default: () => ({
      icon: "",
      ctrlType: "",
      name: "",
      desc: "",
      options: {}
    }) },
    span: { default: 24 },
    isView: { type: Boolean },
    marginRight: {},
    store: {}
  },
  setup(o) {
    const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
    !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), z(
      () => t.value,
      () => {
        s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
      },
      { deep: !0, immediate: !0 }
    );
    const m = l.value[e.setting.name] || !1, v = i(!1);
    H(e.setting.options.validateList).then((d) => {
      v.value = d;
    });
    const g = i();
    return e.setting.options.tip && (g.value = Y(e.setting.options.tip)), setTimeout(() => {
      const d = me().format("YYYY-MM-DD ");
      u(e.setting.name) && (n.value = u(e.setting.name)), e.setting.options.formulasDiyJs && (n.value = me(d + e.setting.options.formulasDiyJs)), n.value || p(e.setting.name, null);
    }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), z(n, (d) => {
      p(e.setting.name, d);
    }), (d, C) => s.value ? (V(), P(a(A), {
      key: 0,
      col: e.span,
      modelValue: n.value,
      "onUpdate:modelValue": C[0] || (C[0] = (c) => n.value = c),
      prop: e.setting.name,
      label: d.setting.desc,
      type: "time",
      helpMessage: g.value,
      isView: e.isView,
      required: v.value,
      disabled: a(m)
    }, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : O("v-if", !0);
  }
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Qa
}, Symbol.toStringTag, { value: "Module" })), Ua = K({
  name: "accordion",
  props: {
    columns: {
      type: Array,
      required: !0,
      default: () => []
    },
    isView: {
      type: Boolean
    },
    options: {},
    store: {
      type: Object
    }
  },
  setup(o) {
    const e = i([]), t = o.columns.map((l) => {
      const p = l.list.map(
        (u) => ie(ue[u.ctrlType], { setting: u, isView: o.isView, store: o.store })
      );
      return l.isOpen == !0 && e.value.push(l.idKey), ie(
        Qe,
        {
          header: l.span,
          key: `${l.idKey}`
        },
        ie("div", p)
      );
    });
    return () => ie(
      "div",
      { class: "accordion-layout" },
      ie(
        Ae,
        { activeKey: e.value, collapsible: o.options.accordion ? "" : "disabled" },
        t
      )
    );
  }
}), xa = {
  name: "accordion"
}, Ya = /* @__PURE__ */ K({
  ...xa,
  props: {
    setting: { default: () => ({
      name: "",
      isLayout: !0,
      ctrlType: "accordion",
      icon: "icon-accordion",
      desc: "折叠面板",
      columns: [
        // {
        //   span: '名称,
        //   list: [],
        // },
      ],
      options: {
        gutter: 0,
        justify: "start",
        align: "top",
        nextCheck: "",
        accordion: "false",
        activeNames: []
      },
      key: ""
    }) },
    isView: { type: Boolean },
    store: {}
  },
  setup(o) {
    return (e, t) => (V(), P(a(Ua), {
      columns: e.setting.columns,
      options: e.setting.options,
      isView: e.isView,
      store: e.store,
      style: { "margin-bottom": "10px" }
    }, null, 8, ["columns", "options", "isView", "store"]));
  }
}), Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Ya
}, Symbol.toStringTag, { value: "Module" })), Ha = {
  name: "grid"
}, Wa = /* @__PURE__ */ K({
  ...Ha,
  props: {
    setting: { default: () => ({
      name: "",
      isLayout: !0,
      ctrlType: "grid",
      icon: "icon-grid",
      desc: "栅格布局",
      columns: [
        // {
        //   span: 6,
        //   list: [],
        // },
      ],
      options: {
        gutter: 0,
        justify: "start",
        align: "top"
      },
      key: ""
    }) },
    isView: { type: Boolean },
    store: {}
  },
  setup(o) {
    const e = o;
    return (t, l) => (V(), x(
      X,
      null,
      [
        O(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
        O(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
        (V(!0), x(
          X,
          null,
          re(t.setting.columns, (p) => (V(), x(
            X,
            null,
            [
              (V(!0), x(
                X,
                null,
                re(p.list, (u) => (V(), P(ce(a(Xa)[u.ctrlType]), {
                  setting: u,
                  isView: e.isView,
                  store: t.store,
                  span: p.span
                }, null, 8, ["setting", "isView", "store", "span"]))),
                256
                /* UNKEYED_FRAGMENT */
              ))
            ],
            64
            /* STABLE_FRAGMENT */
          ))),
          256
          /* UNKEYED_FRAGMENT */
        )),
        O(" </div> ")
      ],
      2112
      /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
    ));
  }
}), Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Wa
}, Symbol.toStringTag, { value: "Module" })), be = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": xe, "./base/autocomplete.vue": Ye, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it, "./layout/accordion/accordion.vue": Ja, "./layout/grid/gridLayout.vue": Za }), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": xe, "./base/autocomplete.vue": Ye, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it }), we = /* @__PURE__ */ Object.assign({}), Ce = /* @__PURE__ */ Object.assign({}), ue = {}, rt = {}, ut = {}, Ga = {};
Object.keys(_e).map((o) => rt[_e[o].default.name] = _e[o].default);
Object.keys(we).map((o) => ut[we[o].default.name] = we[o].default);
Object.keys(Ce).map((o) => Ga[Ce[o].default.name] = Ce[o].default);
Object.keys(be).map((o) => ue[be[o].default.name] = be[o].default);
const Xa = { ...rt, ...ut }, en = (o, e, t, l) => {
  (!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${_("*必填")}`)) : t();
}, tn = (o, e, t, l) => {
  e !== "" && e.length > parseInt(l.value) ? t(new Error(`${_("最大文本长度")}${_("不能超过")}${l.value}`)) : t();
}, an = (o, e, t, l) => {
  e !== "" && e.length < parseInt(l.value) ? t(new Error(`${_("最小文本长度")}${_("不能少于")}${l.value}`)) : t();
}, nn = (o, e, t, l) => {
  if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
    return t(new Error(_("手机号码格式不正确，请重新输入"))), !1;
  t();
}, sn = (o, e, t) => {
  if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
    return t(new Error(_("电子邮箱格式不正确，请重新输入"))), !1;
  t();
}, on = (o, e, t) => {
  if (e !== "" && !/^-?\d+$/.test(e))
    return t(new Error(_("请输入整数"))), !1;
  t();
}, ln = (o, e, t, l) => {
  if (e !== "" && e != l.value)
    return t(new Error(_("请输入相同的值"))), !1;
  t();
}, rn = (o, e, t, l) => {
  e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${_("不能小于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
}, un = (o, e, t, l) => {
  e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(l.value) ? t(new Error(`${l.name}${_("不能大于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
}, pn = (o, e, t, l) => {
  const p = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, u = /^-?\d+$/;
  e === "" ? t() : p.test(e) || u.test(e) ? e >= parseFloat(l.start) && e <= parseFloat(l.end) ? t() : t(new Error(`${_("只能输入指定数字范围")}${l.start}-${l.end}`)) : t(new Error(_("请输入数字")));
}, dn = (o, e, t, l) => {
  e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${_("只能输入指定的值")}${l.value}`));
}, cn = (o, e, t, l) => {
  e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(l.value) ? t() : t(new Error(`${_("只能输入")}${l.value}${_("位数数字")}`)) : t(new Error(_("请输入整数")));
}, gn = (o, e, t) => {
  if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
    return t(new Error(_("只能输入字母"))), !1;
  t();
}, mn = (o, e, t) => {
  if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
    return t(new Error(_("只能输入字母空格"))), !1;
  t();
}, vn = (o, e, t) => {
  if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
    return t(new Error(_("只能输入字母数字横线下划线"))), !1;
  t();
}, fn = (o, e, t) => {
  if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
    return t(new Error(_("只能输入字母数字"))), !1;
  t();
}, hn = (o, e, t, l) => {
  const p = new RegExp(l.value);
  if (e !== "" && !p.test(e))
    return t(new Error(l.errorMessage)), !1;
  t();
}, yn = {
  required: en,
  min: an,
  max: tn,
  email: sn,
  min_value: rn,
  max_value: un,
  confirmed: ln,
  numeric: on,
  between: pn,
  is: dn,
  digits: cn,
  mobile: nn,
  alpha: gn,
  alpha_spaces: mn,
  alpha_dash: vn,
  alpha_num: fn,
  regex: hn
}, bn = () => {
  const o = i({}), e = i([]), t = i({}), l = i({}), p = i([]), u = i(""), f = i(""), w = i({}), n = i([]), s = i({});
  return {
    data: o,
    formData: e,
    formRule: w,
    showData: t,
    disabledData: l,
    flowKey: u,
    linkData: s,
    encryptionData: n,
    setData: (D, y) => {
      e.value.forEach((T) => {
        T.formKey === f.value && (T.data[D] = y);
      });
    },
    setDetailData: (D) => {
      o.value = D, e.value.forEach((y) => {
        y.formKey === f.value && (y.data = D);
      });
    },
    setLinkData: (D, y) => {
      s.value = { data: D, val: y };
    },
    getData: (D) => o.value[D],
    setFormData: (D, y, T) => {
      f.value = D, p.value.includes(D) ? e.value.forEach((j) => {
        j.formKey === D && (o.value = j.data);
      }) : (p.value.push(D), e.value.push({
        formKey: D,
        boKey: y,
        reportId: T || null,
        data: {}
      }));
    },
    getFormData: () => e.value,
    setFormRule: (D, y) => {
      w.value[D] = [], y && y.length && y.forEach((T) => {
        w.value[D].push({
          validator: (j, M, k) => yn[T.key](j, M, k, T)
        });
      });
    },
    clearData: () => {
      o.value = {}, e.value = [], p.value = [], w.value = {};
    },
    deleteRule: (D) => {
      delete w.value[D];
    }
  };
}, _n = { class: "custom-page" }, wn = {
  key: 0,
  class: "btn-box"
}, Cn = {
  key: 1,
  style: { "background-color": "#fff" }
}, Dn = /* @__PURE__ */ K({
  __name: "App",
  props: {
    formConfigurationId: {},
    flowKey: { default: "" },
    isView: { type: Boolean, default: !1 },
    isShowBtn: { type: Boolean, default: !0 },
    data: { default: {} },
    showData: { default: {} },
    customStyle: { default: {} },
    disabledData: { default: {} }
  },
  emits: ["handleClick", "change"],
  setup(o, { expose: e, emit: t }) {
    const l = bn(), { formRule: p, data: u, flowKey: f, clearData: w, getFormData: n } = l, s = o, m = t;
    f.value = s.flowKey;
    const v = (T) => T === "accordion";
    z(
      () => u.value,
      (T) => {
        m("change", T);
      },
      {
        immediate: !0,
        deep: !0
      }
    );
    const {
      formJsonList: g,
      isShowPage: d,
      btnList: C,
      activityKeys: c,
      getForm: b,
      getBtnSet: r,
      handleClick: h,
      validateFormData: D,
      getFormRef: y
    } = Xt(s, m, l);
    return gt(async () => {
      s.isShowBtn == !1 ? b(s.formConfigurationId) : r();
    }), e({
      validateFormData: D,
      clearData: w
    }), (T, j) => (V(), x("div", _n, [
      a(C).length > 0 ? (V(), x("div", wn, [
        (V(!0), x(
          X,
          null,
          re(a(C), (M) => (V(), P(a(ht), {
            key: M.id,
            style: { "margin-right": "20px" },
            "btn-type": "primary",
            onClick: (k) => a(h)(M)
          }, {
            default: R(() => [
              ae(
                ne(M.name),
                1
                /* TEXT */
              )
            ]),
            _: 2
            /* DYNAMIC */
          }, 1032, ["onClick"]))),
          128
          /* KEYED_FRAGMENT */
        ))
      ])) : O("v-if", !0),
      mt((V(), x(
        "div",
        {
          class: "content-box",
          style: vt({ margin: "0 10px", ...T.customStyle })
        },
        [
          (V(!0), x(
            X,
            null,
            re(a(g), (M) => (V(), x(
              X,
              {
                key: M.name
              },
              [
                v(M.ctrlType) ? (V(), P(a(Ae), {
                  key: 0,
                  style: { "margin-bottom": "10px" },
                  collapsible: M.options.accordion ? "" : "disabled",
                  activeKey: a(c)
                }, {
                  default: R(() => [
                    (V(), P(a(Qe), {
                      key: M.key,
                      header: M.columns[0].span
                    }, {
                      default: R(() => [
                        a(d) ? (V(), P(a(Ie), {
                          key: 0,
                          ref_for: !0,
                          ref: (k) => a(y)(k, M),
                          cols: 24,
                          alignType: "horizontal",
                          "margin-right": "80px",
                          "auto-margin-right": "",
                          rules: a(p),
                          form: a(l).data
                        }, {
                          default: R(() => [
                            (V(!0), x(
                              X,
                              null,
                              re(M.columns[0].list, (k) => (V(), x(
                                X,
                                {
                                  key: M.name
                                },
                                [
                                  k.ctrlType == "grid" ? (V(), P(ce(a(ue).grid), {
                                    key: 0,
                                    setting: k,
                                    isView: s.isView,
                                    store: a(l)
                                  }, null, 8, ["setting", "isView", "store"])) : (V(), P(ce(a(ue)[k.ctrlType]), {
                                    key: 1,
                                    setting: k,
                                    isView: s.isView,
                                    store: a(l)
                                  }, null, 8, ["setting", "isView", "store"]))
                                ],
                                64
                                /* STABLE_FRAGMENT */
                              ))),
                              128
                              /* KEYED_FRAGMENT */
                            ))
                          ]),
                          _: 2
                          /* DYNAMIC */
                        }, 1032, ["rules", "form"])) : O("v-if", !0)
                      ]),
                      _: 2
                      /* DYNAMIC */
                    }, 1032, ["header"]))
                  ]),
                  _: 2
                  /* DYNAMIC */
                }, 1032, ["collapsible", "activeKey"])) : (V(), x("div", Cn, [
                  a(d) ? (V(), P(a(Ie), {
                    key: 0,
                    ref_for: !0,
                    ref: (k) => a(y)(k, M),
                    cols: 24,
                    "auto-margin-right": "",
                    alignType: "horizontal",
                    "margin-right": "80px",
                    rules: a(p),
                    form: a(l).data
                  }, {
                    default: R(() => [
                      (V(), P(ce(a(ue)[M.ctrlType]), {
                        setting: M,
                        isView: s.isView,
                        store: a(l)
                      }, null, 8, ["setting", "isView", "store"]))
                    ]),
                    _: 2
                    /* DYNAMIC */
                  }, 1032, ["rules", "form"])) : O("v-if", !0)
                ]))
              ],
              64
              /* STABLE_FRAGMENT */
            ))),
            128
            /* KEYED_FRAGMENT */
          ))
        ],
        4
        /* STYLE */
      )), [
        [a(yt)]
      ])
    ]));
  }
}), Vn = /* @__PURE__ */ ve(Dn, [["__scopeId", "data-v-ce01ee82"]]), kn = {
  姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
  状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
  组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
  组织类型: { "zh-CN": "组织类型", en: "Organization Type", _appCode: "framework" },
  角色名称: { "zh-CN": "角色名称", en: "Role Name", _appCode: "framework" },
  角色类型: { "zh-CN": "角色类型", en: "Role Type", _appCode: "framework" },
  角色状态: { "zh-CN": "角色状态", en: "Role Status", _appCode: "framework" },
  所属组织路径: { "zh-CN": "所属组织路径", en: "Associated Organization Path", _appCode: "framework" },
  岗位名称: { "zh-CN": "岗位名称", en: "Position Name", _appCode: "framework" },
  供应商名称: { "zh-CN": "供应商名称", en: "Supplier Name", _appCode: "framework" },
  供应商编码: { "zh-CN": "供应商编码", en: "Supplier Code", _appCode: "framework" },
  供应商等级: { "zh-CN": "供应商等级", en: "Supplier Level", _appCode: "framework" },
  供应商分类: { "zh-CN": "供应商分类", en: "Supplier Classification", _appCode: "framework" },
  个人: { "zh-CN": "个人", en: "Individual", _appCode: "framework" },
  公司: { "zh-CN": "公司", en: "Company", _appCode: "framework" },
  单据编码: { "zh-CN": "单据编码", en: "Document Code", _appCode: "framework" },
  联系电话: { "zh-CN": "联系电话", en: "Contact Phone", _appCode: "framework" },
  计划领用日期: { "zh-CN": "计划领用日期", en: "Planned Usage Date", _appCode: "framework" },
  资产用途: { "zh-CN": "资产用途", en: "Asset Usage", _appCode: "framework" },
  "*必填": { "zh-CN": "*必填", en: "*Required", _appCode: "framework" },
  最大文本长度: { "zh-CN": "最大文本长度", en: "Maximum text length ", _appCode: "framework" },
  最小文本长度: { "zh-CN": "最小文本长度", en: "Minimum text length ", _appCode: "framework" },
  不能超过: { "zh-CN": "不能超过", en: "cannot exceed ", _appCode: "framework" },
  不能少于: { "zh-CN": "不能少于", en: "cannot be less than ", _appCode: "framework" },
  手机号码格式不正确: { "zh-CN": "手机号码格式不正确", en: "Invalid Mobile Number Format", _appCode: "framework" },
  请重新输入: { "zh-CN": "请重新输入", en: "Please re-enter", _appCode: "framework" },
  电子邮箱格式不正确: { "zh-CN": "电子邮箱格式不正确", en: "Invalid Email Format", _appCode: "framework" },
  请输入整数: { "zh-CN": "请输入整数", en: "Please enter an integer", _appCode: "framework" },
  请输入相同的值: { "zh-CN": "请输入相同的值", en: "Please enter the same value", _appCode: "framework" },
  不能小于: { "zh-CN": "不能小于", en: "Cannot be less than", _appCode: "framework" },
  请输入数字: { "zh-CN": "请输入数字", en: "Please enter a number", _appCode: "framework" },
  不能大于: { "zh-CN": "不能大于", en: "Cannot be greater than", _appCode: "framework" },
  日期必须晚于: { "zh-CN": "日期必须晚于", en: "Date must be later than", _appCode: "framework" },
  日期必须早于: { "zh-CN": "日期必须早于", en: "Date must be earlier than", _appCode: "framework" },
  日期必须不晚于: { "zh-CN": "日期必须不晚于", en: "Date must not be later than", _appCode: "framework" },
  日期必须不早于: { "zh-CN": "日期必须不早于", en: "Date must not be earlier than", _appCode: "framework" },
  只能输入指定数字范围: {
    "zh-CN": "只能输入指定数字范围",
    en: "Can only enter a specified number range",
    _appCode: "framework"
  },
  只能输入指定的值: { "zh-CN": "只能输入指定的值", en: "Can only enter specified values", _appCode: "framework" },
  只能输入: { "zh-CN": "只能输入", en: "Can only enter", _appCode: "framework" },
  位数数字: { "zh-CN": "位数数字", en: "Digit Number", _appCode: "framework" },
  只能输入字母: { "zh-CN": "只能输入字母", en: "Can only enter letters", _appCode: "framework" },
  只能输入字母空格: { "zh-CN": "只能输入字母空格", en: "Can only enter letters and spaces", _appCode: "framework" },
  只能输入字母数字横线下划线: {
    "zh-CN": "只能输入字母数字横线下划线",
    en: "Can only enter letters, numbers, hyphens, and underscores",
    _appCode: "framework"
  },
  只能输入字母数字: {
    "zh-CN": "只能输入字母数字",
    en: "Can only enter alphanumeric characters",
    _appCode: "framework"
  },
  搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", _appCode: "framework" },
  账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
  手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
  搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name", _appCode: "framework" },
  组织编码: { "zh-CN": "组织编码", en: "Organization Code", _appCode: "framework" },
  搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search role name", _appCode: "framework" },
  职务名称: { "zh-CN": "职务名称", en: "Title Name", _appCode: "framework" },
  职务编码: { "zh-CN": "职务编码", en: "Title Code", _appCode: "framework" },
  搜索岗位名称: { "zh-CN": "搜索岗位名称", en: "Search job title", _appCode: "framework" },
  岗位编码: { "zh-CN": "岗位编码", en: "Post Code", _appCode: "framework" },
  搜索供应商编码: { "zh-CN": "搜索供应商编码", en: "Search supplier code", _appCode: "framework" },
  名称: { "zh-CN": "名称", en: "Name", _appCode: "framework" },
  搜索单据编码: { "zh-CN": "搜索单据编码", en: "Search document code", _appCode: "framework" },
  申请人: { "zh-CN": "申请人", en: "Applicant", _appCode: "framework" },
  添加用户: { "zh-CN": "添加用户", en: "Add User", _appCode: "framework" },
  组织选择器: { "zh-CN": "组织选择器", en: "Organization Selector", _appCode: "framework" },
  角色选择器: { "zh-CN": "角色选择器", en: "Role Selector", _appCode: "framework" },
  职务选择器: { "zh-CN": "职务选择器", en: "Position Selector", _appCode: "framework" },
  岗位选择器: { "zh-CN": "岗位选择器", en: "Post Selector", _appCode: "framework" },
  选择供应商: { "zh-CN": "选择供应商", en: "Select Supplier", _appCode: "framework" },
  源单选择器: { "zh-CN": "源单选择器", en: "Source Document Selector", _appCode: "framework" },
  正常: { "zh-CN": "正常", en: "Normal", _appCode: "framework" },
  锁定: { "zh-CN": "锁定", en: "Locked", _appCode: "framework" },
  禁用: { "zh-CN": "禁用", en: "Disabled", _appCode: "framework" },
  普通: { "zh-CN": "普通", en: "Normal", _appCode: "framework" },
  管理员: { "zh-CN": "管理员", en: "Administrator", _appCode: "framework" },
  无效: { "zh-CN": "无效", en: "Invalid", _appCode: "framework" },
  有效: { "zh-CN": "有效", en: "Valid", _appCode: "framework" },
  "搜索姓名/账号/手机号": {
    "zh-CN": "搜索姓名/账号/手机号",
    en: "Search name/account/phone number",
    _appCode: "framework"
  },
  "搜索组织名称/组织编码": {
    "zh-CN": "搜索组织名称/组织编码",
    en: "Search organization name/organization code",
    _appCode: "framework"
  },
  "职务名称/职务编码": { "zh-CN": "职务名称/职务编码", en: "Title Name/Title Code", _appCode: "framework" },
  "搜索岗位名称/岗位编码": {
    "zh-CN": "搜索岗位名称/岗位编码",
    en: "Search position name/position code",
    _appCode: "framework"
  },
  "搜索供应商编码/名称": { "zh-CN": "搜索供应商编码/名称", en: "Search supplier code/name", _appCode: "framework" },
  "搜索单据编码/申请人": {
    "zh-CN": "搜索单据编码/申请人",
    en: "Search document code/applicant",
    _appCode: "framework"
  },
  供应商类型: { "zh-CN": "供应商类型", en: "Supplier Type", _appCode: "framework" },
  "手机号码格式不正确，请重新输入": {
    "zh-CN": "手机号码格式不正确，请重新输入",
    en: "Incorrect phone number format, please re-enter",
    _appCode: "framework"
  },
  "电子邮箱格式不正确，请重新输入": {
    "zh-CN": "电子邮箱格式不正确，请重新输入",
    en: "Incorrect email format, please re-enter",
    _appCode: "framework"
  },
  "个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company", _appCode: "framework" },
  选择源单: { "zh-CN": "选择源单", en: "Select Source Document", _appCode: "framework" },
  请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" }
};
Ct(kn);
const Jn = pt(Vn);
export {
  Jn as DasProcessForm,
  Jn as default
};
