@omnia/wcm 7.8.40-preview → 7.8.42-preview

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.
@@ -1,11 +1,25 @@
1
1
  import { EventAction } from "@omnia/fx-models";
2
+ import { PageId } from "@omnia/wcm/models";
2
3
  export declare class AnalyticsHelper {
3
4
  private replaceToken;
4
5
  private currentPageStore;
6
+ private pageStore;
5
7
  private analyticsService;
6
8
  private analyticsSettings;
7
9
  private getAnalyticsSettingsFromPageTypes;
10
+ /**
11
+ * Get page type data, if page id = null -> use current page
12
+ * @param pageId
13
+ * @returns
14
+ */
15
+ private getPageTypeData;
8
16
  replaceEventToken(source: string, fallBackDefault?: string): Promise<string>;
9
17
  private findAndReplaceUnresolveToken;
10
- registerAction(action: EventAction, actionValue?: number): void;
18
+ /**
19
+ * Register analysis action
20
+ * @param action
21
+ * @param actionValue
22
+ * @param pageId Id of page. Use current page if this param is empty
23
+ */
24
+ registerAction(action: EventAction, actionValue?: number, pageId?: PageId): void;
11
25
  }
@@ -21,6 +21,7 @@ export declare class OmniaSearchCategoryQueryHelper {
21
21
  private excludeCountry;
22
22
  private currentUserLanguage;
23
23
  private pageCollections;
24
+ private defaultPropertyTitle;
24
25
  getCategorySearchResult(options: SearchCategoryOption[], keyword?: string): Promise<Array<CategorySearchResult>>;
25
26
  private getFilters;
26
27
  private getDictionaryPropertiesMapping;
@@ -60,6 +60,7 @@ export declare class NavigationStore extends Store {
60
60
  handleDeletedNodes: import("@omnia/fx/stores").StoreAction<unknown, (deletedNodes: NavigationNode<NavigationData>[]) => void, (result: void, deletedNodes: NavigationNode<NavigationData>[]) => void, (failureReason: any, deletedNodes: NavigationNode<NavigationData>[]) => void, (deletedNodes: Array<NavigationNode<NavigationData>>) => Promise<void>>;
61
61
  deleteLinkNode: import("@omnia/fx/stores").StoreAction<unknown, (nodeToDelete: NavigationNode<LinkNavigationData>) => void, (result: void, nodeToDelete: NavigationNode<LinkNavigationData>) => void, (failureReason: any, nodeToDelete: NavigationNode<LinkNavigationData>) => void, (nodeToDelete: NavigationNode<LinkNavigationData>) => Promise<void>>;
62
62
  ensureParents: import("@omnia/fx/stores").StoreAction<unknown, (node: NavigationNode<NavigationData>) => void, (result: void, node: NavigationNode<NavigationData>) => void, (failureReason: any, node: NavigationNode<NavigationData>) => void, (node: NavigationNode<NavigationData>) => Promise<void>>;
63
+ getAbsoluteUrl: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: string, pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<string>>;
63
64
  };
64
65
  private handleNavigationResult;
65
66
  private ensureChildrenPromiseFulfilled;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.8.40-preview",
4
+ "version": "7.8.42-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"