@zealicsolutions/web-ui 0.4.28 → 0.4.30
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/containers/types/moleculeTypes.d.ts +9 -0
- package/dist/cjs/src/helpers/utils.d.ts +3 -1
- package/dist/esm/index.js +27 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +9 -0
- package/dist/esm/src/helpers/utils.d.ts +3 -1
- package/dist/index.d.ts +10 -1
- package/package.json +2 -2
@@ -274,4 +274,13 @@ export declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | Bu
|
|
274
274
|
formData: AnyObject;
|
275
275
|
setFormData: Dispatch<SetStateAction<AnyObject>>;
|
276
276
|
}>;
|
277
|
+
export declare type SlateValueChildType = {
|
278
|
+
id: string;
|
279
|
+
text: string;
|
280
|
+
variable?: {
|
281
|
+
dataModelField: DataConnectionValues;
|
282
|
+
text: string;
|
283
|
+
isStateConfigPresent?: boolean;
|
284
|
+
};
|
285
|
+
};
|
277
286
|
export {};
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import { Descendant } from 'slate';
|
1
2
|
import { CustomDescendant } from 'atoms/RichTextViewer/types';
|
2
|
-
import { LinkAttributes } from 'containers';
|
3
|
+
import { LinkAttributes, StateConfigType } from 'containers';
|
3
4
|
import type { Nullable } from 'typescript';
|
4
5
|
export declare const validateAndOpenUrl: (url: string) => void;
|
5
6
|
export declare const getParameterByName: (name: string, url: string) => string;
|
@@ -10,3 +11,4 @@ export declare const checkIsInternalLink: (link?: LinkAttributes) => boolean;
|
|
10
11
|
export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>) => string;
|
11
12
|
export declare const getHref: (link?: LinkAttributes) => string;
|
12
13
|
export declare const parseDescendantContent: (string: string) => CustomDescendant[];
|
14
|
+
export declare const matchSlateAndStateObject: (slateValue: Descendant[], stateConfig: StateConfigType) => Descendant[] | undefined;
|