@pronto-tools-and-more/components 14.26.0 → 14.27.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
@@ -297,7 +297,8 @@ var getNodeInfo = (element) => {
297
297
  publicationDate: `$functions.id($context, ${contentKey}, 'publicationDate')`,
298
298
  id: `$functions.id($context, ${contentKey}, 'id')`,
299
299
  primaryCategoryName: `$functions.id($context, ${contentKey}, 'primaryCategoryName')`,
300
- primaryCategoryId: `$functions.id($context, ${contentKey}, 'primaryCategoryId')`
300
+ primaryCategoryId: `$functions.id($context, ${contentKey}, 'primaryCategoryId')`,
301
+ language: `$functions.getLanguage($functions.id($context, ${contentKey}))`
301
302
  };
302
303
  }
303
304
  return {
@@ -311,7 +312,8 @@ var getNodeInfo = (element) => {
311
312
  id: `$functions.id($context, ${contentKey}, 'id')`,
312
313
  primaryCategoryId: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'id')`,
313
314
  primaryCategoryName: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'name')`,
314
- access: `$functions.id($context, ${contentKey}, 'access')`
315
+ access: `$functions.id($context, ${contentKey}, 'access')`,
316
+ language: `$functions.getLanguage($functions.id($context, ${contentKey}))`
315
317
  };
316
318
  };
317
319
  var unrender2 = (element, renderElement) => {
@@ -11,4 +11,5 @@ export interface IArticleListItem {
11
11
  readonly primaryCategoryName?: string;
12
12
  readonly primaryCategoryId?: string;
13
13
  readonly access?: string;
14
+ readonly language: string;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "14.26.0",
3
+ "version": "14.27.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",