@zealicsolutions/web-ui 0.4.85 → 0.4.86

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,11 +4,11 @@ import { LinkAttributes, StateConfigType } from 'containers';
4
4
  import type { Nullable } from 'typescript';
5
5
  export declare const validateAndOpenUrl: (url: string) => void;
6
6
  export declare const getParameterByName: (name: string, url: string) => string;
7
- export declare const updateSearchParams: (isPreview: boolean, currentParams: URLSearchParams, internalLink?: Nullable<string>) => URLSearchParams;
7
+ export declare const updateSearchParams: (currentParams: URLSearchParams, internalLink?: Nullable<string>, isPreview?: boolean) => URLSearchParams;
8
8
  export declare const downloadFile: (url?: string, name?: string) => Promise<void>;
9
9
  export declare const navigateToExternalLink: (externalLink?: Nullable<string>) => void;
10
10
  export declare const checkIsInternalLink: (link?: LinkAttributes) => boolean;
11
- export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>) => string;
11
+ export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>, isPreview?: boolean) => string;
12
12
  export declare const getHref: (link?: LinkAttributes) => string | undefined;
13
13
  export declare const parseDescendantContent: (string: string) => CustomDescendant[];
14
14
  export declare const matchSlateAndStateObject: (slateValue: Descendant[], stateConfig: StateConfigType) => Descendant[];