@pronto-tools-and-more/components 12.0.0 → 12.1.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
CHANGED
@@ -250,7 +250,9 @@ var getNodeInfo = (element) => {
|
|
250
250
|
metadataVideoPodcast: `$functions.id($context, ${contentKey}, 'metadataVideoPodcast')`,
|
251
251
|
readTime: `$functions.id($context, ${contentKey}, 'readTime')`,
|
252
252
|
publicationDate: `$functions.id($context, ${contentKey}, 'publicationDate')`,
|
253
|
-
id: `$functions.id($context, ${contentKey}, 'id')
|
253
|
+
id: `$functions.id($context, ${contentKey}, 'id')`,
|
254
|
+
primaryCategoryName: `$functions.id($context, ${contentKey}, 'primaryCategoryName')`,
|
255
|
+
primaryCategoryId: `$functions.id($context, ${contentKey}, 'primaryCategoryId')`
|
254
256
|
};
|
255
257
|
}
|
256
258
|
return {
|
@@ -261,7 +263,9 @@ var getNodeInfo = (element) => {
|
|
261
263
|
metadataVideoPodcast: `$functions.id($context, ${contentKey}, 'properties', 'metadataVideoPodcast')`,
|
262
264
|
readTime: `$functions.getReadTime($functions.id($context, ${contentKey}))`,
|
263
265
|
publicationDate: `$functions.id($context, ${contentKey}, 'publicationDate')`,
|
264
|
-
id: `$functions.id($context, ${contentKey}, 'id')
|
266
|
+
id: `$functions.id($context, ${contentKey}, 'id')`,
|
267
|
+
primaryCategoryId: `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'id')`,
|
268
|
+
primaryCategoryName: `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'name')`
|
265
269
|
};
|
266
270
|
};
|
267
271
|
var unrender2 = (element, renderElement) => {
|