1import { r as i, j as r } from "./chunk-DC5fQwvS.js"; 2import { bH as c, t as d, ar as m } from "../entries/pages_spa.BBkNrs7J.js"; 3import { P as p } from "./chunk-DNHaE7xS.js"; 4import { P as u } from "./chunk-DMIiRM1k.js"; 5import { T as a } from "./chunk-ChSx0eEV.js"; 6import { M as x } from "./chunk-C6KDjCkz.js"; 7import "./chunk-DWeE5Y0G.js"; 8import "./chunk-Dxqvi9v3.js"; 9import "./chunk-0x1gBMBx.js"; 10import "./chunk-BArghIwn.js"; 11import "./chunk-C0TFbFtH.js"; 12import "./chunk-BKApCE6t.js"; 13import "./chunk-C5iOjZdu.js"; 14import "./chunk-DwPmycG5.js"; 15import "./chunk-Ce2YUJjV.js"; 16const h = "/emailTemplate/emailLogs", R = () => { 17 const o = i.useRef(), l = c(); 18 i.useEffect(() => { 19 o.current && (Object.keys(localStorage).forEach((t) => { 20 t.includes("pro-table") && localStorage.removeItem(t), t.includes("umi") && localStorage.removeItem(t); 21 }), o.current.reload()); 22 }, [l.pathname]); 23 const s = [{ title: "\u6536\u4EF6\u4EBA", dataIndex: "to" }, { title: "\u8BED\u8A00", dataIndex: ["template", "locale"], hideInSearch: true, render: (t, e) => { 24 var _a, _b; 25 return ((_a = e.template) == null ? void 0 : _a.locale) === "hk" ? r.jsx(a, { color: "cyan", children: "\u6E2F" }) : ((_b = e.template) == null ? void 0 : _b.locale) === "ko" ? r.jsx(a, { color: "purple", children: "\u97E9" }) : r.jsx(a, { color: "pink", children: "\u82F1" }); 26 } }, { title: "\u8BA2\u5355\u53F7", dataIndex: "orderId" }, { title: "\u4EA7\u54C1", dataIndex: ["variables", "productName"], hideInSearch: true }, { title: "\u5907\u6CE8", dataIndex: "remark", render: (t, e) => e.variables.remark }, { title: "\u53D1\u9001\u7ED3\u679C", dataIndex: "status", render: (t, e) => e.status === "success" ? r.jsx(a, { color: "green", children: "\u6210\u529F" }) : e.status === "test" ? r.jsx(a, { color: "green", children: "\u6D4B\u8BD5\u73AF\u5883" }) : r.jsx(a, { color: "red", children: "\u5931\u8D25" }) }, { title: "\u53D1\u9001\u65F6\u95F4", dataIndex: "createdAt", valueType: "dateTime", hideInSearch: true }, { title: "\u64CD\u4F5C", dataIndex: "option", valueType: "option", render: (t, e) => [r.jsx(x, { items: [{ key: "preview", label: "\u9884\u89C8", onClick: () => m.info({ title: "\u90AE\u4EF6\u9884\u89C8", width: 800, content: r.jsx("div", { dangerouslySetInnerHTML: { __html: e.html } }), okText: "\u5173\u95ED" }) }] }, "more")] }]; 27 return r.jsx(p, { children: r.jsx(u, { headerTitle: "\u90AE\u4EF6\u53D1\u9001\u8BB0\u5F55", actionRef: o, rowKey: "_id", search: { collapsed: false, persist: false }, preserve: false, request: async (t, e, n) => d(h, { ...t }, e, n), columns: s }) }); 28}; 29export { 30 R as default 31};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.