@zealicsolutions/web-ui 0.4.71 → 0.4.73

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,4 +1,5 @@
1
1
  export declare const paramKeys: {
2
+ internalLinkAlias: string;
2
3
  internalLinkWebpageId: string;
3
4
  internalLinkApplicationId: string;
4
5
  previewApplicationId: string;
@@ -17,6 +17,7 @@ export declare type OrganismContextType = {
17
17
  dateType: InputFieldTypes;
18
18
  }[]>>;
19
19
  formId?: string;
20
+ isPreview?: boolean;
20
21
  submitHandler?: (data: {
21
22
  formId: string;
22
23
  data: AnyObject;
@@ -15,6 +15,7 @@ export declare type OrganismContextProviderProps = PropsWithChildren<{
15
15
  } & Partial<{
16
16
  formId: string;
17
17
  editable: boolean;
18
+ isPreview: boolean;
18
19
  initItems: (ContainerComponentProps | Molecule)[];
19
20
  validations: PasswordRuleValidation[];
20
21
  submitHandler: (data: {
@@ -27,4 +28,4 @@ export declare type OrganismContextProviderProps = PropsWithChildren<{
27
28
  onConfigurationItemHandler: (itemInfo: ConfigurationItem) => void;
28
29
  selectedConfigurationItemId: string;
29
30
  }>>;
30
- export declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, organismId, validations, editable, isFormInEditMode, organismMetadata, isConfigurationMode, onConfigurationItemHandler, selectedConfigurationItemId, }: OrganismContextProviderProps) => JSX.Element;
31
+ export declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, organismId, validations, editable, isPreview, isFormInEditMode, organismMetadata, isConfigurationMode, onConfigurationItemHandler, selectedConfigurationItemId, }: OrganismContextProviderProps) => JSX.Element;
@@ -4,7 +4,7 @@ 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: (currentParams: URLSearchParams, internalLink?: Nullable<string>) => URLSearchParams;
7
+ export declare const updateSearchParams: (isPreview: boolean, currentParams: URLSearchParams, internalLink?: Nullable<string>) => 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;