@uxland/primary-shell 5.4.2 → 5.4.3
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.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +3 -3
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/utils.d.ts +1 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/localization.d.ts +1 -0
- package/package.json +3 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/template.ts +2 -2
- package/src/internal-plugins/activity-history/activity-history-item/filter/utils.ts +8 -2
- package/src/internal-plugins/activity-history/localization.ts +4 -7
package/dist/index.js
CHANGED
|
@@ -11259,7 +11259,8 @@ const initializeLocalization = async (te) => {
|
|
|
11259
11259
|
prescriptions: "Prescripcions"
|
|
11260
11260
|
},
|
|
11261
11261
|
chipHeader: {
|
|
11262
|
-
selection: "Selecció:"
|
|
11262
|
+
selection: "Selecció:",
|
|
11263
|
+
without: "Sense"
|
|
11263
11264
|
},
|
|
11264
11265
|
error: {
|
|
11265
11266
|
general: {
|
|
@@ -15805,9 +15806,9 @@ ActivityHistorySearchBar = __decorateClass$i([
|
|
|
15805
15806
|
const formatShowFilterTitle = (te) => {
|
|
15806
15807
|
const J = te.replace(/veure/gi, "").trim();
|
|
15807
15808
|
return J.charAt(0).toUpperCase() + J.slice(1);
|
|
15808
|
-
}, normalizeDeletedFilterBooleanValue = (te) => te === !0 ? translate("filters.deleted") : te, MAX_VISIBLE_CHIPS = 5, renderChip = (te, J, X, re) => ke$1`
|
|
15809
|
+
}, normalizeDeletedFilterBooleanValue = (te) => te === !0 ? translate("filters.deleted") : te, normalizeEmptyFilterValue = (te, J) => te === "" ? formatEmptyFilterValue(J) : te, formatEmptyFilterValue = (te) => `${translate("chipHeader.without")} ${te.toLowerCase()}`, MAX_VISIBLE_CHIPS = 5, renderChip = (te, J, X, re) => ke$1`
|
|
15809
15810
|
<dss-chip
|
|
15810
|
-
label=${X}
|
|
15811
|
+
label=${normalizeEmptyFilterValue(X, J.title)}
|
|
15811
15812
|
size="sm"
|
|
15812
15813
|
hasdelete
|
|
15813
15814
|
selected
|