@pronto-tools-and-more/components 14.46.0 → 14.48.0
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/main.js +2 -0
- package/dist/parts/IArticleListItem/IArticleListItem.d.ts +1 -0
- package/dist/parts/ISearchResult/ISearchResult.d.ts +1 -0
- package/dist/parts/ISearchResultComponent/ISearchResultComponent.d.ts +1 -3
- package/dist/parts/PrimaryCategory/PrimaryCategory.d.ts +3 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -353,6 +353,7 @@ var getNodeInfo = (element) => {
|
|
353
353
|
id: `$functions.id($context, ${contentKey}, 'id')`,
|
354
354
|
primaryCategoryId: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'id')`,
|
355
355
|
primaryCategoryName: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'name')`,
|
356
|
+
primaryCategoryLanguage: `$functions.getLanguage($functions.getPrimaryCategoryProperty($context[${contentKey}], 'properties', 'lang'))`,
|
356
357
|
access: `$functions.id($context, ${contentKey}, 'access')`,
|
357
358
|
language: `$functions.getLanguage($functions.id($context, ${contentKey}))`
|
358
359
|
};
|
@@ -1799,6 +1800,7 @@ var getNodeInfo3 = (element) => {
|
|
1799
1800
|
slug: `$functions.id($context, ${contentKey}, 'issue', 'properties', 'slug')`,
|
1800
1801
|
primaryCategoryId: `$functions.getPrimaryCategoryProperty($context[${contentKey}]['issue'], 'id')`,
|
1801
1802
|
primaryCategoryName: `$functions.getPrimaryCategoryProperty($context[${contentKey}]['issue'], 'name')`,
|
1803
|
+
primaryCategoryLanguage: `$functions.getLanguage($functions.getPrimaryCategoryProperty($context[${contentKey}]['issue'], 'properties', 'lang'))`,
|
1802
1804
|
metadataVideoPodcast: `$functions.id($context, ${contentKey}, 'issue', 'metadataVideoPodcast')`,
|
1803
1805
|
readTime: `$functions.getReadTime($functions.id($context, ${contentKey}, 'issue'))`,
|
1804
1806
|
access: `$functions.id($context, ${contentKey}, 'issue', 'access')`
|
@@ -1,4 +1,7 @@
|
|
1
1
|
import { CategoryListItemRenderer } from "../CategoryListItemRenderer/CategoryListItemRenderer.ts";
|
2
|
+
/**
|
3
|
+
* @deprecated use item.primaryCategoryName instead
|
4
|
+
*/
|
2
5
|
export declare const PrimaryCategory: ({ render, contentKey, }: {
|
3
6
|
render: CategoryListItemRenderer;
|
4
7
|
contentKey?: string;
|