@luigi-project/core-modular 0.0.17-dev.20261070056 → 0.0.17-dev.20261090057

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/luigi.js CHANGED
@@ -7969,6 +7969,16 @@ var fi = {
7969
7969
  }, i = n?.pathParams ? n.pathParams : {};
7970
7970
  c.url = U.substituteViewUrl(r, i, void 0, this.luigi), l = c.url;
7971
7971
  }
7972
+ if (s.statusBadge) {
7973
+ let e = {
7974
+ critical: "Critical",
7975
+ informative: "Information",
7976
+ negative: "Negative",
7977
+ neutral: "Neutral",
7978
+ positive: "Positive"
7979
+ };
7980
+ s.statusBadge.type = e[s.statusBadge.type] || "Neutral";
7981
+ }
7972
7982
  let d = s.category && (typeof s.category == "string" || s.category.id || s.category.label);
7973
7983
  if (d) {
7974
7984
  let n = s.category.id || s.category.label || s.category, a = this.luigi.i18n().getTranslation(s.category.label || s.category.id || s.category), o = r[n];