@fonderie/vue-admin-screens 1.6.2 → 1.7.1
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.cjs +16 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -14
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -834,7 +834,7 @@ var AttentionScreen = (0, import_vue4.defineComponent)({
|
|
|
834
834
|
(0, import_vue4.h)("span", { style: styles.mono }, item.source)
|
|
835
835
|
]
|
|
836
836
|
),
|
|
837
|
-
(0, import_vue4.h)("div", { style: { lineHeight: 1.55 } }, item.
|
|
837
|
+
(0, import_vue4.h)("div", { style: { lineHeight: 1.55 } }, (0, import_client2.localizeReason)(item, props.locale))
|
|
838
838
|
])
|
|
839
839
|
]
|
|
840
840
|
)
|
|
@@ -951,7 +951,7 @@ var EnvironmentScreen = (0, import_vue5.defineComponent)({
|
|
|
951
951
|
color: p.severity === "error" ? "var(--fonderie-danger,#e00)" : "var(--fonderie-text-muted,#5c5c5c)"
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
|
-
p.
|
|
954
|
+
(0, import_client3.localizeReason)(p, props.locale)
|
|
955
955
|
)
|
|
956
956
|
)
|
|
957
957
|
])
|
|
@@ -1014,9 +1014,15 @@ var DoctorScreen = (0, import_vue6.defineComponent)({
|
|
|
1014
1014
|
" ",
|
|
1015
1015
|
(0, import_vue6.h)("span", { style: styles.muted }, c.module)
|
|
1016
1016
|
]),
|
|
1017
|
-
c.skipped ? (0, import_vue6.h)(
|
|
1018
|
-
|
|
1019
|
-
|
|
1017
|
+
c.skipped ? (0, import_vue6.h)(
|
|
1018
|
+
"div",
|
|
1019
|
+
{ style: { ...styles.muted, marginTop: "4px" } },
|
|
1020
|
+
(0, import_client4.localizeReason)(c.skippedDetail ?? { message: c.skipped }, props.locale)
|
|
1021
|
+
) : null,
|
|
1022
|
+
...c.findings.map((f, i) => {
|
|
1023
|
+
const detail = c.details?.[i];
|
|
1024
|
+
const error2 = detail ? detail.severity === "error" : !c.ok;
|
|
1025
|
+
return (0, import_vue6.h)(
|
|
1020
1026
|
"div",
|
|
1021
1027
|
{
|
|
1022
1028
|
key: f,
|
|
@@ -1024,12 +1030,12 @@ var DoctorScreen = (0, import_vue6.defineComponent)({
|
|
|
1024
1030
|
marginTop: "4px",
|
|
1025
1031
|
fontSize: "13px",
|
|
1026
1032
|
lineHeight: 1.55,
|
|
1027
|
-
color:
|
|
1033
|
+
color: error2 ? "var(--fonderie-danger,#e00)" : "var(--fonderie-text,#171717)"
|
|
1028
1034
|
}
|
|
1029
1035
|
},
|
|
1030
|
-
f
|
|
1031
|
-
)
|
|
1032
|
-
)
|
|
1036
|
+
(0, import_client4.localizeReason)(detail ?? { message: f }, props.locale)
|
|
1037
|
+
);
|
|
1038
|
+
})
|
|
1033
1039
|
]),
|
|
1034
1040
|
td(`${c.durationMs} ms`, {
|
|
1035
1041
|
...styles.muted,
|
|
@@ -1111,7 +1117,7 @@ var ModulesScreen = (0, import_vue7.defineComponent)({
|
|
|
1111
1117
|
color: p.severity === "error" ? "var(--fonderie-danger,#e00)" : "var(--fonderie-text-muted,#5c5c5c)"
|
|
1112
1118
|
}
|
|
1113
1119
|
},
|
|
1114
|
-
p.
|
|
1120
|
+
(0, import_client5.localizeReason)(p, props.locale)
|
|
1115
1121
|
)
|
|
1116
1122
|
)
|
|
1117
1123
|
]),
|