@sunny-base-web/effects 0.8.92 → 0.8.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { getCurrentInstance as Ut, inject as To, defineComponent as X, computed
2
2
  import { Message as A, Modal as ge, Tabs as dt, Tree as dn, Checkbox as mn } from "@arco-design/web-vue";
3
3
  import pn from "jsencrypt";
4
4
  import { isFunction as eo, isUndefined as to, merge as fn, bindMethods as bn, isString as hn, getCookie as gn, setCookie as vn, transformToString as yn, transformToObjectArray as xn } from "@sunny-base-web/utils";
5
- import { i18n as oo, useI18n as ft, loadLocaleMessages as wn, $t as Pe } from "@sunny-base-web/locales";
5
+ import { i18n as oo, useI18n as ft, loadLocaleMessages as wn, $t as Re } from "@sunny-base-web/locales";
6
6
  import Ae from "axios";
7
7
  export * from "axios";
8
8
  import nt from "qs";
@@ -1191,14 +1191,14 @@ function ko(e, t) {
1191
1191
  }
1192
1192
  }
1193
1193
  const Do = /* @__PURE__ */ Symbol("EFFECTS_CONFIG");
1194
- let Re = {};
1195
- const Jp = (e) => (Re = { ...e }, {
1194
+ let Pe = {};
1195
+ const Jp = (e) => (Pe = { ...e }, {
1196
1196
  install(t) {
1197
1197
  t.provide(Do, e);
1198
1198
  }
1199
1199
  }), zo = () => To(Do, {});
1200
1200
  function _o(e) {
1201
- const t = new pn(), n = Re.publicKey || "";
1201
+ const t = new pn(), n = Pe.publicKey || "";
1202
1202
  return t.setPublicKey(n), t.encrypt(e);
1203
1203
  }
1204
1204
  const Ks = ({
@@ -1547,11 +1547,11 @@ function sa(e, t) {
1547
1547
  A.warning(b || "登录已过期,请重新登录");
1548
1548
  const p = Ie(), x = no(), f = Kt();
1549
1549
  p.setAccessToken(null), await x.logout(), f.tabs = [], f.cachedTabs = /* @__PURE__ */ new Set();
1550
- const c = window.location.hash.slice(1) || "/", u = Re.app?.loginPath || "/auth/login", d = c !== u ? `${u}?redirect=${encodeURIComponent(c)}` : u;
1550
+ const c = window.location.hash.slice(1) || "/", u = Pe.app?.loginPath || "/auth/login", d = c !== u ? `${u}?redirect=${encodeURIComponent(c)}` : u;
1551
1551
  window.location.hash = d;
1552
1552
  return;
1553
1553
  }
1554
- Re.onBusinessError ? await Re.onBusinessError(r, b) : A.error(b || "操作失败");
1554
+ Pe.onBusinessError ? await Pe.onBusinessError(r, b) : A.error(b || "操作失败");
1555
1555
  }
1556
1556
  async function a() {
1557
1557
  const r = Ie(), p = (await na()).data;
@@ -1563,7 +1563,7 @@ function sa(e, t) {
1563
1563
  return n.addRequestInterceptor({
1564
1564
  fulfilled: async (r) => {
1565
1565
  let b = null;
1566
- return Re.cookieTokenKey && (b = gn(Re.cookieTokenKey)), b || (b = Ie().accessToken), r.headers.Authorization = s(b), r.headers["Accept-Language"] = Re.locale, Re.apiPrefix && (r.baseURL = Re.apiPrefix), r;
1566
+ return Pe.cookieTokenKey && (b = gn(Pe.cookieTokenKey)), console.log("addRequestInterceptor"), console.log("globalConfig.cookieTokenKey" + Pe.cookieTokenKey), b || (b = Ie().accessToken), r.headers.Authorization = s(b), r.headers["Accept-Language"] = Pe.locale, Pe.apiPrefix && (r.baseURL = Pe.apiPrefix), r;
1567
1567
  }
1568
1568
  }), n.addResponseInterceptor(
1569
1569
  Hs({
@@ -1582,7 +1582,7 @@ function sa(e, t) {
1582
1582
  client: n,
1583
1583
  doReAuthenticate: o,
1584
1584
  doRefreshToken: a,
1585
- enableRefreshToken: Re.enableRefreshToken ?? !1,
1585
+ enableRefreshToken: Pe.enableRefreshToken ?? !1,
1586
1586
  // 是否启用自动刷新 Token
1587
1587
  formatToken: s
1588
1588
  })
@@ -1630,8 +1630,8 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1630
1630
  }, L = () => {
1631
1631
  const K = document.querySelector(".d-01"), F = document.querySelector(".d-02");
1632
1632
  !K || !F || (window.onresize = () => {
1633
- const Z = document.body.clientWidth, oe = document.body.clientHeight, te = 26 / (1366 / 657), ae = Z / oe * te;
1634
- K.style.transform = `rotate(${ae}deg)`, F.style.transform = `rotate(${ae}deg)`;
1633
+ const Z = document.body.clientWidth, oe = document.body.clientHeight, te = 26 / (1366 / 657), se = Z / oe * te;
1634
+ K.style.transform = `rotate(${se}deg)`, F.style.transform = `rotate(${se}deg)`;
1635
1635
  }, setInterval(() => {
1636
1636
  K.style.transition = ".6s", K.style.left = "22.3%", K.style.top = "98%", F.style.transition = ".6s", F.style.left = "95.3%", F.style.top = "-18%", setTimeout(() => {
1637
1637
  K.style.transition = "0s", K.style.opacity = "0", F.style.transition = "0s", F.style.opacity = "0";
@@ -1669,16 +1669,16 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1669
1669
  const K = new Promise((Z, oe) => {
1670
1670
  Ae.post("http://127.0.0.1:19101").then((te) => {
1671
1671
  console.log("1", te);
1672
- const ae = te.data;
1673
- Z([ae]);
1672
+ const se = te.data;
1673
+ Z([se]);
1674
1674
  }).catch((te) => {
1675
1675
  oe(te);
1676
1676
  });
1677
1677
  }), F = new Promise((Z, oe) => {
1678
1678
  Ae.post("http://127.0.0.1:29101").then((te) => {
1679
1679
  console.log("2", te);
1680
- const ae = te.data;
1681
- Z([ae]);
1680
+ const se = te.data;
1681
+ Z([se]);
1682
1682
  }).catch((te) => {
1683
1683
  oe(te);
1684
1684
  });
@@ -1707,69 +1707,69 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1707
1707
  } else
1708
1708
  j("NetworkAdapter." + K + ".PhysicalAddress"), p.value.push(K), r.macAddress = p.value.join(",");
1709
1709
  }, S = () => {
1710
- const K = new Promise((te, ae) => {
1710
+ const K = new Promise((te, se) => {
1711
1711
  Ae.get("http://localhost:19101/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
1712
1712
  const me = Y.data;
1713
1713
  if (M() === "mac")
1714
1714
  te(me);
1715
1715
  else if (me.Code == 0) {
1716
- const ke = me.Win32_NetworkAdapter.map((se) => se.MACAddress).filter((se) => !!se);
1716
+ const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
1717
1717
  te(ke);
1718
1718
  } else
1719
- ae(Y);
1719
+ se(Y);
1720
1720
  }).catch((Y) => {
1721
- ae(Y);
1721
+ se(Y);
1722
1722
  });
1723
- }), F = new Promise((te, ae) => {
1723
+ }), F = new Promise((te, se) => {
1724
1724
  Ae.get("http://localhost:29101/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
1725
1725
  const me = Y.data;
1726
1726
  if (M() === "mac")
1727
1727
  te(me);
1728
1728
  else if (me.Code == 0) {
1729
- const ke = me.Win32_NetworkAdapter.map((se) => se.MACAddress).filter((se) => !!se);
1729
+ const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
1730
1730
  te(ke);
1731
1731
  } else
1732
- ae(Y);
1732
+ se(Y);
1733
1733
  }).catch((Y) => {
1734
- ae(Y);
1734
+ se(Y);
1735
1735
  });
1736
- }), Z = new Promise((te, ae) => {
1736
+ }), Z = new Promise((te, se) => {
1737
1737
  Ae.get("https://localhost:19102/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
1738
1738
  const me = Y.data;
1739
1739
  if (M() === "mac")
1740
1740
  te(me);
1741
1741
  else if (me.Code == 0) {
1742
- const ke = me.Win32_NetworkAdapter.map((se) => se.MACAddress).filter((se) => !!se);
1742
+ const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
1743
1743
  te(ke);
1744
1744
  } else
1745
- ae(Y);
1745
+ se(Y);
1746
1746
  }).catch((Y) => {
1747
- ae(Y);
1747
+ se(Y);
1748
1748
  });
1749
- }), oe = new Promise((te, ae) => {
1749
+ }), oe = new Promise((te, se) => {
1750
1750
  Ae.get("https://localhost:29102/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
1751
1751
  const me = Y.data;
1752
1752
  if (M() === "mac")
1753
1753
  te(me);
1754
1754
  else if (me.Code == 0) {
1755
- const ke = me.Win32_NetworkAdapter.map((se) => se.MACAddress).filter((se) => !!se);
1755
+ const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
1756
1756
  te(ke);
1757
1757
  } else
1758
- ae(Y);
1758
+ se(Y);
1759
1759
  }).catch((Y) => {
1760
- ae(Y);
1760
+ se(Y);
1761
1761
  });
1762
1762
  });
1763
1763
  Promise.any([K, F, Z, oe]).then((te) => {
1764
1764
  p.value = te, r.macAddress = te.join(",");
1765
1765
  }).catch(() => {
1766
1766
  let te;
1767
- const ae = setInterval(() => {
1767
+ const se = setInterval(() => {
1768
1768
  try {
1769
1769
  te = ko();
1770
1770
  } catch {
1771
1771
  }
1772
- te && (j("NetworkAdapter.Count"), clearInterval(ae));
1772
+ te && (j("NetworkAdapter.Count"), clearInterval(se));
1773
1773
  }, 500);
1774
1774
  });
1775
1775
  }, $ = async () => {
@@ -1791,16 +1791,16 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1791
1791
  }, N = Ie(), T = async () => {
1792
1792
  f.value = !0;
1793
1793
  try {
1794
- const { username: K, password: F, macAddress: Z, cVerificationCode: oe, systemSign: te } = r, ae = await aa({
1794
+ const { username: K, password: F, macAddress: Z, cVerificationCode: oe, systemSign: te } = r, se = await aa({
1795
1795
  username: K.trim(),
1796
1796
  password: _o(F) || "",
1797
1797
  macAddress: Z,
1798
1798
  cVerificationCode: oe,
1799
1799
  systemSign: te && _o(te) || ""
1800
1800
  });
1801
- if (ae.code === 0 || ae.success) {
1802
- const Y = ae.result?.token || ae.result;
1803
- N.setAccessToken(Y), Re.cookieTokenKey && vn(Re.cookieTokenKey, Y), n("login", ae.result);
1801
+ if (console.log("Login response:", se), console.log("globalConfig.cookieTokenKey", Pe.cookieTokenKey), se.code === 0 || se.success) {
1802
+ const Y = se.result?.token || se.result;
1803
+ N.setAccessToken(Y), Pe.cookieTokenKey && vn(Pe.cookieTokenKey, Y), n("login", se.result);
1804
1804
  }
1805
1805
  } catch (K) {
1806
1806
  console.error(K);
@@ -1831,7 +1831,7 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1831
1831
  }), Bt(() => {
1832
1832
  document.removeEventListener("click", ne);
1833
1833
  }), (K, F) => {
1834
- const Z = D("a-input"), oe = D("a-form-item"), te = D("a-input-password"), ae = D("a-option"), Y = D("a-select"), me = D("a-button"), ke = D("a-form");
1834
+ const Z = D("a-input"), oe = D("a-form-item"), te = D("a-input-password"), se = D("a-option"), Y = D("a-select"), me = D("a-button"), ke = D("a-form");
1835
1835
  return _(), U("div", ia, [
1836
1836
  g("div", {
1837
1837
  class: "bg-01",
@@ -1882,11 +1882,11 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1882
1882
  default: v(() => [
1883
1883
  i(Z, {
1884
1884
  modelValue: r.username,
1885
- "onUpdate:modelValue": F[0] || (F[0] = (se) => r.username = se),
1885
+ "onUpdate:modelValue": F[0] || (F[0] = (ae) => r.username = ae),
1886
1886
  tabindex: "1",
1887
1887
  placeholder: K.$t("请输入账号"),
1888
- onFocus: F[1] || (F[1] = (se) => c.value = 0),
1889
- onBlur: F[2] || (F[2] = (se) => c.value = -1),
1888
+ onFocus: F[1] || (F[1] = (ae) => c.value = 0),
1889
+ onBlur: F[2] || (F[2] = (ae) => c.value = -1),
1890
1890
  "allow-clear": ""
1891
1891
  }, {
1892
1892
  prefix: v(() => [
@@ -1911,11 +1911,11 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1911
1911
  ref_key: "pwdInputRef",
1912
1912
  ref: s,
1913
1913
  modelValue: r.password,
1914
- "onUpdate:modelValue": F[3] || (F[3] = (se) => r.password = se),
1914
+ "onUpdate:modelValue": F[3] || (F[3] = (ae) => r.password = ae),
1915
1915
  tabindex: "2",
1916
1916
  placeholder: K.$t("请输入密码"),
1917
- onFocus: F[4] || (F[4] = (se) => c.value = 1),
1918
- onBlur: F[5] || (F[5] = (se) => c.value = -1),
1917
+ onFocus: F[4] || (F[4] = (ae) => c.value = 1),
1918
+ onBlur: F[5] || (F[5] = (ae) => c.value = -1),
1919
1919
  "allow-clear": ""
1920
1920
  }, {
1921
1921
  prefix: v(() => [
@@ -1934,12 +1934,12 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1934
1934
  default: v(() => [
1935
1935
  i(Y, {
1936
1936
  modelValue: k.value,
1937
- "onUpdate:modelValue": F[6] || (F[6] = (se) => k.value = se),
1937
+ "onUpdate:modelValue": F[6] || (F[6] = (ae) => k.value = ae),
1938
1938
  placeholder: K.$t("请选择语言"),
1939
1939
  style: { width: "100%" },
1940
1940
  onChange: O,
1941
- onFocus: F[7] || (F[7] = (se) => c.value = 2),
1942
- onBlur: F[8] || (F[8] = (se) => c.value = -1)
1941
+ onFocus: F[7] || (F[7] = (ae) => c.value = 2),
1942
+ onBlur: F[8] || (F[8] = (ae) => c.value = -1)
1943
1943
  }, {
1944
1944
  prefix: v(() => [
1945
1945
  g("div", {
@@ -1949,10 +1949,10 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1949
1949
  ], 2)
1950
1950
  ]),
1951
1951
  default: v(() => [
1952
- (_(!0), U(le, null, re(x.value, (se) => (_(), J(ae, {
1953
- key: se.id,
1954
- label: se.cName,
1955
- value: se.cXuhao
1952
+ (_(!0), U(le, null, re(x.value, (ae) => (_(), J(se, {
1953
+ key: ae.id,
1954
+ label: ae.cName,
1955
+ value: ae.cXuhao
1956
1956
  }, null, 8, ["label", "value"]))), 128))
1957
1957
  ]),
1958
1958
  _: 1
@@ -1967,11 +1967,11 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
1967
1967
  default: v(() => [
1968
1968
  i(Z, {
1969
1969
  modelValue: r.macAddress,
1970
- "onUpdate:modelValue": F[9] || (F[9] = (se) => r.macAddress = se),
1970
+ "onUpdate:modelValue": F[9] || (F[9] = (ae) => r.macAddress = ae),
1971
1971
  readonly: "",
1972
1972
  placeholder: K.$t("MAC地址"),
1973
- onFocus: F[10] || (F[10] = (se) => c.value = 3),
1974
- onBlur: F[11] || (F[11] = (se) => c.value = -1)
1973
+ onFocus: F[10] || (F[10] = (ae) => c.value = 3),
1974
+ onBlur: F[11] || (F[11] = (ae) => c.value = -1)
1975
1975
  }, {
1976
1976
  prefix: v(() => [
1977
1977
  g("div", {
@@ -2053,7 +2053,7 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
2053
2053
  for (const [o, l] of t)
2054
2054
  n[o] = l;
2055
2055
  return n;
2056
- }, Zp = /* @__PURE__ */ xe(ka, [["__scopeId", "data-v-43f9b6f6"]]);
2056
+ }, Zp = /* @__PURE__ */ xe(ka, [["__scopeId", "data-v-d589f167"]]);
2057
2057
  async function _a(e) {
2058
2058
  return B.post("/core/authResource/findMenuAll", e);
2059
2059
  }
@@ -14150,7 +14150,7 @@ const nm = /* @__PURE__ */ X({
14150
14150
  const ne = (F, Z) => {
14151
14151
  for (const oe of F)
14152
14152
  if (oe.children) {
14153
- if (oe.children.some((ae) => ae.id === Z))
14153
+ if (oe.children.some((se) => se.id === Z))
14154
14154
  return oe;
14155
14155
  const te = ne(oe.children, Z);
14156
14156
  if (te)
@@ -15072,8 +15072,8 @@ function Ne(e) {
15072
15072
  ajax: {
15073
15073
  // sorts: [{ field: string, order: 'asc' | 'desc' }] 列配置需开启 sortable: true
15074
15074
  query: async ({ page: Y, sorts: me }, ke) => {
15075
- const se = await $.getValues();
15076
- return a({ page: Y, formValues: se, filterValues: ke, sorts: me });
15075
+ const ae = await $.getValues();
15076
+ return a({ page: Y, formValues: ae, filterValues: ke, sorts: me });
15077
15077
  }
15078
15078
  }
15079
15079
  }
@@ -15088,7 +15088,7 @@ function Ne(e) {
15088
15088
  }), W = (Y) => {
15089
15089
  const me = Y.$grid.getCheckboxRecords();
15090
15090
  if (me.length !== 1) {
15091
- A.warning(Pe("common.selectOne"));
15091
+ A.warning(Re("common.selectOne"));
15092
15092
  return;
15093
15093
  }
15094
15094
  const ke = me[0];
@@ -15157,7 +15157,7 @@ function Ne(e) {
15157
15157
  }
15158
15158
  const oe = C([]), te = C(
15159
15159
  n.find((Y) => [1, 2, 3].includes(Y.params?.nBill)) || null
15160
- ), ae = async () => {
15160
+ ), se = async () => {
15161
15161
  if (!L) {
15162
15162
  console.warn("[useList] 未配置 cModnumb,跳过资源获取");
15163
15163
  return;
@@ -15167,16 +15167,16 @@ function Ne(e) {
15167
15167
  if (Y.code === 200 && Y.result) {
15168
15168
  const { resButtonList: me } = Yt(Y.result);
15169
15169
  oe.value = me?.searchTable || [];
15170
- const ke = oe.value.filter((se) => !se.cSubArea);
15170
+ const ke = oe.value.filter((ae) => !ae.cSubArea);
15171
15171
  te.value && ke.push({
15172
- label: Pe("common.queryBusinessHistory"),
15172
+ label: Re("common.queryBusinessHistory"),
15173
15173
  handle: "operationLog/FindBusiness",
15174
15174
  icon: "sunnyfont baseicon-record",
15175
15175
  order: "",
15176
15176
  loading: !1,
15177
15177
  size: "mini",
15178
15178
  billColumn: te.value,
15179
- name: Pe("common.queryBusinessHistory"),
15179
+ name: Re("common.queryBusinessHistory"),
15180
15180
  code: "operationLog/FindBusiness",
15181
15181
  params: JSON.stringify({ billColumn: te.value })
15182
15182
  }), ke.length > 0 && (N.toolbarConfig = {
@@ -15189,7 +15189,7 @@ function Ne(e) {
15189
15189
  }
15190
15190
  };
15191
15191
  return Te(() => {
15192
- ae();
15192
+ se();
15193
15193
  }), {
15194
15194
  QueryForm: S,
15195
15195
  formApi: $,
@@ -15206,7 +15206,7 @@ function Ne(e) {
15206
15206
  businessResumeState: E,
15207
15207
  handleSearchPlanSearch: K,
15208
15208
  handleDefaultPlanLoaded: F,
15209
- fetchResourceConfig: ae
15209
+ fetchResourceConfig: se
15210
15210
  };
15211
15211
  }
15212
15212
  function Pf(e) {
@@ -15223,7 +15223,7 @@ function Pf(e) {
15223
15223
  let Z;
15224
15224
  const { enhancedSchema: oe } = Ze(F, {
15225
15225
  onAutoSelect: (Y) => et(Y, Z)
15226
- }), [te, ae] = Oe({
15226
+ }), [te, se] = Oe({
15227
15227
  layout: "vertical",
15228
15228
  size: "mini",
15229
15229
  gridProps: { xGap: 8, yGap: 8, collapsedRows: 1 },
@@ -15239,7 +15239,7 @@ function Pf(e) {
15239
15239
  fieldMappingTime: o.fieldMappingTime,
15240
15240
  arrayToStringFields: o.arrayToStringFields
15241
15241
  });
15242
- Z = ae, c = te, u = ae, u.setState({
15242
+ Z = se, c = te, u = se, u.setState({
15243
15243
  handleSubmit: async () => {
15244
15244
  f.value = !0;
15245
15245
  try {
@@ -15316,7 +15316,7 @@ function Pf(e) {
15316
15316
  }), L = (F) => {
15317
15317
  const Z = F.$grid.getCheckboxRecords();
15318
15318
  if (Z.length !== 1) {
15319
- A.warning(Pe("common.selectOne"));
15319
+ A.warning(Re("common.selectOne"));
15320
15320
  return;
15321
15321
  }
15322
15322
  const oe = Z[0];
@@ -15386,8 +15386,8 @@ function Pf(e) {
15386
15386
  response: { result: "result.records", total: "result.total" },
15387
15387
  ajax: {
15388
15388
  query: async ({ page: F, sorts: Z }, oe) => {
15389
- const te = u ? await u.getValues() : {}, ae = d.value;
15390
- return a.queryFunction({ page: F, formValues: te, filterValues: oe, sorts: Z, masterRow: ae });
15389
+ const te = u ? await u.getValues() : {}, se = d.value;
15390
+ return a.queryFunction({ page: F, formValues: te, filterValues: oe, sorts: Z, masterRow: se });
15391
15391
  }
15392
15392
  }
15393
15393
  }
@@ -15450,14 +15450,14 @@ function Pf(e) {
15450
15450
  if (F.code === 200 && F.result) {
15451
15451
  const { resButtonList: Z } = Yt(F.result), oe = Z?.searchTable1 || [], te = Z?.searchTable2 || [];
15452
15452
  ee.value = [...oe, ...te], w.value && oe.push({
15453
- label: Pe("common.queryBusinessHistory"),
15453
+ label: Re("common.queryBusinessHistory"),
15454
15454
  handle: "operationLog/FindBusiness",
15455
15455
  icon: "sunnyfont baseicon-record",
15456
15456
  order: "",
15457
15457
  loading: !1,
15458
15458
  size: "mini",
15459
15459
  billColumn: w.value,
15460
- name: Pe("common.queryBusinessHistory"),
15460
+ name: Re("common.queryBusinessHistory"),
15461
15461
  code: "operationLog/FindBusiness",
15462
15462
  params: JSON.stringify({ billColumn: w.value })
15463
15463
  }), oe.length > 0 && (P.toolbarConfig = {
@@ -15754,13 +15754,13 @@ const fp = /* @__PURE__ */ X({
15754
15754
  },
15755
15755
  setup(e) {
15756
15756
  const t = e, n = C([]), o = C(!1), l = H(() => [
15757
- { field: "cDanju", title: Pe("common.businessHistory.billNo"), minWidth: 100 },
15758
- { field: "cDongzuo", title: Pe("common.businessHistory.action"), minWidth: 80 },
15759
- { field: "cModname", title: Pe("common.businessHistory.moduleName"), minWidth: 100 },
15760
- { field: "cUsername", title: Pe("common.businessHistory.operator"), minWidth: 80 },
15761
- { field: "dCreate", title: Pe("common.businessHistory.operationTime"), minWidth: 150 },
15762
- { field: "cMethod", title: Pe("common.businessHistory.interfaceMethod"), minWidth: 120 },
15763
- { field: "cUrl", title: Pe("common.businessHistory.interfaceUrl"), minWidth: 150 }
15757
+ { field: "cDanju", title: Re("common.businessHistory.billNo"), minWidth: 100 },
15758
+ { field: "cDongzuo", title: Re("common.businessHistory.action"), minWidth: 80 },
15759
+ { field: "cModname", title: Re("common.businessHistory.moduleName"), minWidth: 100 },
15760
+ { field: "cUsername", title: Re("common.businessHistory.operator"), minWidth: 80 },
15761
+ { field: "dCreate", title: Re("common.businessHistory.operationTime"), minWidth: 150 },
15762
+ { field: "cMethod", title: Re("common.businessHistory.interfaceMethod"), minWidth: 120 },
15763
+ { field: "cUrl", title: Re("common.businessHistory.interfaceUrl"), minWidth: 150 }
15764
15764
  ]), a = C([]), s = C(""), r = C(!1), b = H(() => a.value.find((w) => w.cName === s.value)), p = H(() => {
15765
15765
  const w = b.value;
15766
15766
  if (!w) return [];
@@ -15860,7 +15860,7 @@ const fp = /* @__PURE__ */ X({
15860
15860
  return _(), J(I, {
15861
15861
  class: "business-resume-modal",
15862
15862
  visible: e.state.visible,
15863
- title: m(Pe)("common.businessHistory.title"),
15863
+ title: m(Re)("common.businessHistory.title"),
15864
15864
  width: "1000px",
15865
15865
  footer: !1,
15866
15866
  "mask-closable": !0,
@@ -16094,7 +16094,7 @@ export {
16094
16094
  Qt as getOtherPermissionsConfig,
16095
16095
  Xt as getRoleConfig,
16096
16096
  la as getSlideVerificationCode,
16097
- Re as globalConfig,
16097
+ Pe as globalConfig,
16098
16098
  rp as initButtonItem,
16099
16099
  ip as initFormItem,
16100
16100
  Yt as initResourceConstructor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunny-base-web/effects",
3
- "version": "0.8.92",
3
+ "version": "0.8.93",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"
@@ -34,11 +34,11 @@
34
34
  "vxe-table": "^4.17.49",
35
35
  "xe-utils": "3.9.1",
36
36
  "zod": "^4.3.6",
37
- "@sunny-base-web/locales": "^0.8.92",
38
- "@sunny-base-web/icons": "^0.8.92",
39
- "@sunny-base-web/utils": "^0.8.92",
40
- "@sunny-base-web/stores": "^0.8.92",
41
- "@sunny-base-web/ui": "^0.8.92"
37
+ "@sunny-base-web/locales": "^0.8.93",
38
+ "@sunny-base-web/icons": "^0.8.93",
39
+ "@sunny-base-web/ui": "^0.8.93",
40
+ "@sunny-base-web/stores": "^0.8.93",
41
+ "@sunny-base-web/utils": "^0.8.93"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@laynezh/vite-plugin-lib-assets": "^2.1.3",
@@ -50,10 +50,10 @@
50
50
  "typescript": "^5.7.2",
51
51
  "vite": "^7.3.1",
52
52
  "vite-plugin-dts": "^4.5.4",
53
- "@sunny-base-web/constants": "0.8.92",
53
+ "@sunny-base-web/constants": "0.8.93",
54
54
  "@sunny-base-web/designer-studio": "^0.1.1",
55
- "@sunny-base-web/tailwind-config": "0.8.92",
56
- "@sunny-base-web/tsconfig": "0.8.92"
55
+ "@sunny-base-web/tsconfig": "0.8.93",
56
+ "@sunny-base-web/tailwind-config": "0.8.93"
57
57
  },
58
58
  "publishConfig": {
59
59
  "style": "./dist/effects.css",