@okf/ootils 1.29.0 → 1.29.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/browser.js +2 -1
- package/dist/browser.mjs +2 -1
- package/dist/node.js +2 -1
- package/dist/node.mjs +2 -1
- package/dist/universal.js +2 -1
- package/dist/universal.mjs +2 -1
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -1296,7 +1296,7 @@ var buildFilterConfigurations = ({ groups, type, selectedTpls, allTpls, isRollup
|
|
|
1296
1296
|
});
|
|
1297
1297
|
return {
|
|
1298
1298
|
filterId: isAnno ? `annoTags_${element.tagType}` : `tags_${element.tagType}`,
|
|
1299
|
-
display: allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1299
|
+
display: element.display || allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1300
1300
|
value: element.tagType,
|
|
1301
1301
|
filterKey: tagFilterKey,
|
|
1302
1302
|
contentType: element.tagType,
|
|
@@ -1443,6 +1443,7 @@ var extractAndOrganizeBlocks = (selectedTpls, allTpls) => {
|
|
|
1443
1443
|
contentType: tpl.kp_content_type,
|
|
1444
1444
|
blocks: allBlocks.filter((block) => block.valuePath.startsWith("tags.")).map((block) => ({
|
|
1445
1445
|
tagType: block.props.tagType,
|
|
1446
|
+
display: block.props?.shortLabel || block.props?.label,
|
|
1446
1447
|
comp: block.comp,
|
|
1447
1448
|
filterType: "tagType"
|
|
1448
1449
|
}))
|
package/dist/browser.mjs
CHANGED
|
@@ -1238,7 +1238,7 @@ var buildFilterConfigurations = ({ groups, type, selectedTpls, allTpls, isRollup
|
|
|
1238
1238
|
});
|
|
1239
1239
|
return {
|
|
1240
1240
|
filterId: isAnno ? `annoTags_${element.tagType}` : `tags_${element.tagType}`,
|
|
1241
|
-
display: allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1241
|
+
display: element.display || allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1242
1242
|
value: element.tagType,
|
|
1243
1243
|
filterKey: tagFilterKey,
|
|
1244
1244
|
contentType: element.tagType,
|
|
@@ -1385,6 +1385,7 @@ var extractAndOrganizeBlocks = (selectedTpls, allTpls) => {
|
|
|
1385
1385
|
contentType: tpl.kp_content_type,
|
|
1386
1386
|
blocks: allBlocks.filter((block) => block.valuePath.startsWith("tags.")).map((block) => ({
|
|
1387
1387
|
tagType: block.props.tagType,
|
|
1388
|
+
display: block.props?.shortLabel || block.props?.label,
|
|
1388
1389
|
comp: block.comp,
|
|
1389
1390
|
filterType: "tagType"
|
|
1390
1391
|
}))
|
package/dist/node.js
CHANGED
|
@@ -2890,7 +2890,7 @@ var buildFilterConfigurations = ({ groups, type, selectedTpls, allTpls, isRollup
|
|
|
2890
2890
|
});
|
|
2891
2891
|
return {
|
|
2892
2892
|
filterId: isAnno ? `annoTags_${element.tagType}` : `tags_${element.tagType}`,
|
|
2893
|
-
display: allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
2893
|
+
display: element.display || allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
2894
2894
|
value: element.tagType,
|
|
2895
2895
|
filterKey: tagFilterKey,
|
|
2896
2896
|
contentType: element.tagType,
|
|
@@ -3037,6 +3037,7 @@ var extractAndOrganizeBlocks = (selectedTpls, allTpls) => {
|
|
|
3037
3037
|
contentType: tpl.kp_content_type,
|
|
3038
3038
|
blocks: allBlocks.filter((block) => block.valuePath.startsWith("tags.")).map((block) => ({
|
|
3039
3039
|
tagType: block.props.tagType,
|
|
3040
|
+
display: block.props?.shortLabel || block.props?.label,
|
|
3040
3041
|
comp: block.comp,
|
|
3041
3042
|
filterType: "tagType"
|
|
3042
3043
|
}))
|
package/dist/node.mjs
CHANGED
|
@@ -2831,7 +2831,7 @@ var buildFilterConfigurations = ({ groups, type, selectedTpls, allTpls, isRollup
|
|
|
2831
2831
|
});
|
|
2832
2832
|
return {
|
|
2833
2833
|
filterId: isAnno ? `annoTags_${element.tagType}` : `tags_${element.tagType}`,
|
|
2834
|
-
display: allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
2834
|
+
display: element.display || allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
2835
2835
|
value: element.tagType,
|
|
2836
2836
|
filterKey: tagFilterKey,
|
|
2837
2837
|
contentType: element.tagType,
|
|
@@ -2978,6 +2978,7 @@ var extractAndOrganizeBlocks = (selectedTpls, allTpls) => {
|
|
|
2978
2978
|
contentType: tpl.kp_content_type,
|
|
2979
2979
|
blocks: allBlocks.filter((block) => block.valuePath.startsWith("tags.")).map((block) => ({
|
|
2980
2980
|
tagType: block.props.tagType,
|
|
2981
|
+
display: block.props?.shortLabel || block.props?.label,
|
|
2981
2982
|
comp: block.comp,
|
|
2982
2983
|
filterType: "tagType"
|
|
2983
2984
|
}))
|
package/dist/universal.js
CHANGED
|
@@ -1296,7 +1296,7 @@ var buildFilterConfigurations = ({ groups, type, selectedTpls, allTpls, isRollup
|
|
|
1296
1296
|
});
|
|
1297
1297
|
return {
|
|
1298
1298
|
filterId: isAnno ? `annoTags_${element.tagType}` : `tags_${element.tagType}`,
|
|
1299
|
-
display: allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1299
|
+
display: element.display || allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1300
1300
|
value: element.tagType,
|
|
1301
1301
|
filterKey: tagFilterKey,
|
|
1302
1302
|
contentType: element.tagType,
|
|
@@ -1443,6 +1443,7 @@ var extractAndOrganizeBlocks = (selectedTpls, allTpls) => {
|
|
|
1443
1443
|
contentType: tpl.kp_content_type,
|
|
1444
1444
|
blocks: allBlocks.filter((block) => block.valuePath.startsWith("tags.")).map((block) => ({
|
|
1445
1445
|
tagType: block.props.tagType,
|
|
1446
|
+
display: block.props?.shortLabel || block.props?.label,
|
|
1446
1447
|
comp: block.comp,
|
|
1447
1448
|
filterType: "tagType"
|
|
1448
1449
|
}))
|
package/dist/universal.mjs
CHANGED
|
@@ -1238,7 +1238,7 @@ var buildFilterConfigurations = ({ groups, type, selectedTpls, allTpls, isRollup
|
|
|
1238
1238
|
});
|
|
1239
1239
|
return {
|
|
1240
1240
|
filterId: isAnno ? `annoTags_${element.tagType}` : `tags_${element.tagType}`,
|
|
1241
|
-
display: allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1241
|
+
display: element.display || allTpls.find((t) => t.kp_content_type === element.tagType)?.general?.content?.title || element.tagType,
|
|
1242
1242
|
value: element.tagType,
|
|
1243
1243
|
filterKey: tagFilterKey,
|
|
1244
1244
|
contentType: element.tagType,
|
|
@@ -1385,6 +1385,7 @@ var extractAndOrganizeBlocks = (selectedTpls, allTpls) => {
|
|
|
1385
1385
|
contentType: tpl.kp_content_type,
|
|
1386
1386
|
blocks: allBlocks.filter((block) => block.valuePath.startsWith("tags.")).map((block) => ({
|
|
1387
1387
|
tagType: block.props.tagType,
|
|
1388
|
+
display: block.props?.shortLabel || block.props?.label,
|
|
1388
1389
|
comp: block.comp,
|
|
1389
1390
|
filterType: "tagType"
|
|
1390
1391
|
}))
|