@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.
- package/dist/cjs/helpers/utils.d.ts +17 -0
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/_virtual/index3.js +1 -1
- package/dist/esm/_virtual/index4.js +1 -1
- package/dist/esm/helpers/utils.d.ts +17 -0
- package/dist/esm/helpers/utils.js +1 -1
- package/dist/esm/helpers/utils.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
- package/dist/esm/molecules/Menu/Menu.js +1 -1
- package/dist/esm/molecules/Menu/Menu.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Accordion/Accordion.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Menu/Menu.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/MenuList/MenuList.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Select/SelectInput.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/SpeedDial/SpeedDial.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Tabs/Tabs.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/esm/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/classnames/index.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/arrows.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/dots.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/inner-slider.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/track.js +1 -1
- package/package.json +1 -1
|
@@ -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';
|