@zealicsolutions/web-ui 1.0.140-beta.56 → 1.0.140-beta.58

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.
@@ -39,4 +39,21 @@ export declare const checkIsDataDrivenLink: (link?: LinkProperties) => boolean;
39
39
  export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>, isPreview?: boolean) => string | undefined;
40
40
  export declare const getHref: (link?: LinkProperties, isPreview?: boolean) => Nullable<string> | undefined;
41
41
  export declare const parseDescendantContent: (string: string) => CustomDescendant[];
42
+ /**
43
+ * Parse an internal link string into a URL object anchored to window.location.origin
44
+ */
45
+ export declare const parseInternalLink: (internalLink?: Nullable<string>) => URL | null;
46
+ /**
47
+ * Read a query param from an internal link (supports relative links)
48
+ */
49
+ export declare const getParamFromInternalLink: (internalLink: Nullable<string>, param: string) => string | undefined;
50
+ /**
51
+ * Get the selected webpage id encoded into an internal link
52
+ * Checks multiple keys for compatibility
53
+ */
54
+ export declare const getSelectedWebpageIdFromInternalLink: (internalLink: Nullable<string>) => string | undefined;
55
+ /**
56
+ * Get selected webpage id from the current location's search params
57
+ */
58
+ export declare const getSelectedWebpageIdFromLocation: () => string | undefined;
42
59
  export { encodeObjectToBase64Url, getByPath } from './rwoContext';