@pronto-tools-and-more/components 15.39.0 → 15.40.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
@@ -367,6 +367,7 @@ var getContentKey = (element) => {
367
367
  var getNodeInfo = (element) => {
368
368
  const { render, ...rest } = element;
369
369
  const contentKey = getContentKey(element);
370
+ const contextKey = contentKey.slice(1, -1);
370
371
  const isBookmarks = element.dataSource.data === "$context.bookmarks";
371
372
  if (isBookmarks) {
372
373
  return {
@@ -384,7 +385,8 @@ var getNodeInfo = (element) => {
384
385
  properties: createPropertiesProxy({
385
386
  original: {},
386
387
  contentKey
387
- })
388
+ }),
389
+ contextKey
388
390
  };
389
391
  }
390
392
  return {
@@ -404,7 +406,8 @@ var getNodeInfo = (element) => {
404
406
  properties: createPropertiesProxy({
405
407
  original: {},
406
408
  contentKey
407
- })
409
+ }),
410
+ contextKey
408
411
  };
409
412
  };
410
413
  var unrender2 = (element, renderElement) => {
@@ -13,4 +13,5 @@ export interface IArticleNodeInfo {
13
13
  readonly primaryCategoryLanguage?: string;
14
14
  readonly access?: string;
15
15
  readonly language: string;
16
+ readonly contextKey?: string;
16
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "15.39.0",
3
+ "version": "15.40.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",