UNPKG

@aplus-frontend/ui

Version:

37 lines (36 loc) 1.28 kB
import { defineComponent as n, createBlock as s, openBlock as a, unref as o, withCtx as r, createVNode as d, createElementVNode as t, toDisplayString as i } from "vue"; import { QuestionCircleOutlined as p } from "@ant-design/icons-vue"; import { Tooltip as m } from "@aplus-frontend/antdv"; import "../config-provider/index.mjs"; import { useLocale as f } from "../config-provider/hooks/use-locale.mjs"; const u = { class: "title" }, c = { class: "flex" }, _ = { class: "flex" }, w = /* @__PURE__ */ n({ __name: "help-message", setup(x) { const { t: l } = f(); return (v, e) => (a(), s(o(m), { placement: "right" }, { title: r(() => [ t("div", u, [ t("div", c, [ e[0] || (e[0] = t("div", null, "1.", -1)), t("div", null, i(o(l)("ap.workOrderModal.fileSizeMax")) + ":50MB", 1) ]), t("div", _, [ e[1] || (e[1] = t("div", null, "2.", -1)), t("div", null, i(o(l)("ap.workOrderModal.fileCountMax", { x: 10 })), 1) ]) ]) ]), default: r(() => [ d(o(p), { style: { color: "#1890FF", fontSize: "16px", transform: "translateX(-6px)" } }) ]), _: 1 })); } }); export { w as default };