@idmwx/idmui-report 5.1.4 → 5.1.5

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.
@@ -14,6 +14,12 @@ declare namespace _sfc_main {
14
14
  const _default_1: undefined;
15
15
  export { _default_1 as default };
16
16
  }
17
+ export namespace locale {
18
+ const type_2: StringConstructor;
19
+ export { type_2 as type };
20
+ const _default_2: string;
21
+ export { _default_2 as default };
22
+ }
17
23
  }
18
24
  namespace methods {
19
25
  function computeUTCTime(utcTime: any, format: any): string;
package/dist/index.js CHANGED
@@ -11784,6 +11784,10 @@ const Vj = {
11784
11784
  issued: {
11785
11785
  type: String,
11786
11786
  default: void 0
11787
+ },
11788
+ locale: {
11789
+ type: String,
11790
+ default: "en"
11787
11791
  }
11788
11792
  },
11789
11793
  methods: {
@@ -11794,9 +11798,9 @@ const Vj = {
11794
11798
  }, zj = { class: "idm-brand-section2" }, pj = { class: "title-box" }, xj = { class: "issue-box" };
11795
11799
  function mj(i, l, s, r, M, o) {
11796
11800
  return n(), a("div", zj, [
11797
- l[1] || (l[1] = t("div", { class: "logo-box" }, [
11801
+ l[0] || (l[0] = t("div", { class: "logo-box" }, [
11798
11802
  t("a", {
11799
- href: "https://nop.idmwx.com",
11803
+ href: "https://nop.ormwx.com/",
11800
11804
  target: "_blank"
11801
11805
  }, [
11802
11806
  t("img", { src: Aj })
@@ -11804,8 +11808,8 @@ function mj(i, l, s, r, M, o) {
11804
11808
  ], -1)),
11805
11809
  t("div", pj, e(s.name), 1),
11806
11810
  t("div", xj, [
11807
- l[0] || (l[0] = t("div", null, "Mail to: op@ormwx.com", -1)),
11808
- t("div", null, "Issued: " + e(o.computeUTCTime(s.issued, "MMM-DD, YYYY")), 1)
11811
+ t("div", null, e(s.locale === "en" ? "Mail to" : "联系我们") + ": op@ormwx.com", 1),
11812
+ t("div", null, e(s.locale === "en" ? "Issued" : "发布时间") + ": " + e(o.computeUTCTime(s.issued, "MMM-DD, YYYY")), 1)
11809
11813
  ])
11810
11814
  ]);
11811
11815
  }