@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.
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/constants/params.d.ts +1 -0
- package/dist/cjs/src/contexts/OrganismContext/OrganismContext.d.ts +1 -0
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -1
- package/dist/cjs/src/helpers/utils.d.ts +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/constants/params.d.ts +1 -0
- package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +1 -0
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -1
- package/dist/esm/src/helpers/utils.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/package.json +2 -2
@@ -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;
|
package/dist/index.d.ts
CHANGED
@@ -1540,6 +1540,7 @@ declare type OrganismContextProviderProps = PropsWithChildren<{
|
|
1540
1540
|
} & Partial<{
|
1541
1541
|
formId: string;
|
1542
1542
|
editable: boolean;
|
1543
|
+
isPreview: boolean;
|
1543
1544
|
initItems: (ContainerComponentProps$1 | Molecule$1)[];
|
1544
1545
|
validations: PasswordRuleValidation[];
|
1545
1546
|
submitHandler: (data: {
|
@@ -1552,7 +1553,7 @@ declare type OrganismContextProviderProps = PropsWithChildren<{
|
|
1552
1553
|
onConfigurationItemHandler: (itemInfo: ConfigurationItem) => void;
|
1553
1554
|
selectedConfigurationItemId: string;
|
1554
1555
|
}>>;
|
1555
|
-
declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, organismId, validations, editable, isFormInEditMode, organismMetadata, isConfigurationMode, onConfigurationItemHandler, selectedConfigurationItemId, }: OrganismContextProviderProps) => JSX.Element;
|
1556
|
+
declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, organismId, validations, editable, isPreview, isFormInEditMode, organismMetadata, isConfigurationMode, onConfigurationItemHandler, selectedConfigurationItemId, }: OrganismContextProviderProps) => JSX.Element;
|
1556
1557
|
|
1557
1558
|
declare type OrganismContextType = {
|
1558
1559
|
items: (ContainerComponentProps$1 | Molecule$1)[];
|
@@ -1566,6 +1567,7 @@ declare type OrganismContextType = {
|
|
1566
1567
|
dateType: InputFieldTypes$2;
|
1567
1568
|
}[]>>;
|
1568
1569
|
formId?: string;
|
1570
|
+
isPreview?: boolean;
|
1569
1571
|
submitHandler?: (data: {
|
1570
1572
|
formId: string;
|
1571
1573
|
data: AnyObject$1;
|
package/package.json
CHANGED