@zealicsolutions/web-ui 0.3.211 → 0.3.221
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 +13 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/cjs/src/containers/Container.d.ts +1 -1
- package/dist/cjs/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/cjs/src/containers/mock-data.d.ts +310 -23
- package/dist/cjs/src/containers/styles.d.ts +14 -2
- package/dist/cjs/src/containers/types/types.d.ts +1 -0
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +3 -1
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Button/Button.d.ts +3 -2
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +3 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Checklist/Checklist.d.ts +3 -1
- package/dist/cjs/src/molecules/Checklist/Checklist.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/cjs/src/molecules/Image/Image.d.ts +4 -4
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +3 -2
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Link/Link.d.ts +3 -1
- package/dist/cjs/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +4 -2
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +3 -2
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/cjs/src/molecules/Stepper/Stepper.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +3 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +3 -1
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Video/Video.d.ts +3 -1
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/esm/src/containers/Container.d.ts +1 -1
- package/dist/esm/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/esm/src/containers/mock-data.d.ts +310 -23
- package/dist/esm/src/containers/styles.d.ts +14 -2
- package/dist/esm/src/containers/types/types.d.ts +1 -0
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +3 -1
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Button/Button.d.ts +3 -2
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +3 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Checklist/Checklist.d.ts +3 -1
- package/dist/esm/src/molecules/Checklist/Checklist.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/esm/src/molecules/Image/Image.d.ts +4 -4
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/esm/src/molecules/InputField/InputField.d.ts +3 -2
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Link/Link.d.ts +3 -1
- package/dist/esm/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +4 -2
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +3 -2
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/esm/src/molecules/Stepper/Stepper.stories.d.ts +1 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +3 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -1
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +3 -1
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Video/Video.d.ts +3 -1
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/index.d.ts +45 -20
- package/package.json +1 -1
|
@@ -39,6 +39,6 @@ export declare const getInputIconColor: ({ isEditMode, isFocused, isError, disab
|
|
|
39
39
|
}>;
|
|
40
40
|
config?: MaskConfig | undefined;
|
|
41
41
|
state: import("../../containers").FormStateType;
|
|
42
|
-
}>, "disabled" | "
|
|
42
|
+
}>, "disabled" | "isEditMode" | "isError"> & {
|
|
43
43
|
isFocused: boolean;
|
|
44
44
|
}) => ThemeColors;
|
|
@@ -78,7 +78,7 @@ export declare const Container: ({ id, type, wide, props, compact, children, met
|
|
|
78
78
|
} & {
|
|
79
79
|
id: string;
|
|
80
80
|
}) => JSX.Element | null;
|
|
81
|
-
export declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, }: ContainerComponentProps & {
|
|
81
|
+
export declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, isConfigurationMode, }: ContainerComponentProps & {
|
|
82
82
|
formData?: AnyObject | undefined;
|
|
83
83
|
setFormData?: Dispatch<SetStateAction<AnyObject>> | undefined;
|
|
84
84
|
}) => JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Molecule } from 'containers';
|
|
1
|
+
import { Molecule, MoleculeTypes } from 'containers';
|
|
2
2
|
import { TabGroupProps } from 'molecules';
|
|
3
3
|
import { ThemeColors } from 'theme';
|
|
4
4
|
export declare type InternalLinkAliases = 'account-information' | 'forgot-password' | 'change-password' | 'login' | 'account-creation' | 'landing';
|
|
@@ -9,5 +9,8 @@ export declare const MoleculeItem: ({ type, config, attributes, tabsProps, form,
|
|
|
9
9
|
}) => JSX.Element | null;
|
|
10
10
|
export declare const ConfigurationWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11
11
|
$color?: ThemeColors | undefined;
|
|
12
|
+
$itemId?: string | undefined;
|
|
13
|
+
$itemType?: "container" | "molecule" | undefined;
|
|
14
|
+
$entityType?: MoleculeTypes | undefined;
|
|
12
15
|
$selected?: boolean | undefined;
|
|
13
16
|
}, never>;
|
|
@@ -6,10 +6,6 @@ export declare const dynamicContainerMock: ContainerComponentProps;
|
|
|
6
6
|
export declare const columnContainerProps: ContainerComponentProps;
|
|
7
7
|
export declare const formWithConditionalFields: ContainerComponentProps;
|
|
8
8
|
export declare const rowContainer: ContainerComponentProps;
|
|
9
|
-
export declare const rowRepeaterContainer: ContainerComponentProps;
|
|
10
|
-
export declare const rowRepeaterContainerSingle: ContainerComponentProps;
|
|
11
|
-
export declare const columnRepeaterContainer: ContainerComponentProps;
|
|
12
|
-
export declare const outlinedColumnContainer: ContainerComponentProps;
|
|
13
9
|
export declare const headerContainer: ContainerComponentProps;
|
|
14
10
|
export declare const headerWithTabs2: ContainerComponentProps;
|
|
15
11
|
export declare const anotherProcessTracker: {
|
|
@@ -185,7 +181,7 @@ export declare const anotherProcessTracker: {
|
|
|
185
181
|
};
|
|
186
182
|
moleculeLibraryId: string;
|
|
187
183
|
organismLibraryMoleculeId: string;
|
|
188
|
-
|
|
184
|
+
items: never[];
|
|
189
185
|
idForFrontend: string;
|
|
190
186
|
id: string;
|
|
191
187
|
}[];
|
|
@@ -288,12 +284,11 @@ export declare const anotherProcessTracker: {
|
|
|
288
284
|
};
|
|
289
285
|
moleculeLibraryId: string;
|
|
290
286
|
organismLibraryMoleculeId: string;
|
|
291
|
-
|
|
287
|
+
items: never[];
|
|
292
288
|
idForFrontend: string;
|
|
293
289
|
id: string;
|
|
294
290
|
containerLibraryId?: undefined;
|
|
295
291
|
organismLibraryContainerId?: undefined;
|
|
296
|
-
items?: undefined;
|
|
297
292
|
} | {
|
|
298
293
|
type: string;
|
|
299
294
|
config: {
|
|
@@ -391,7 +386,7 @@ export declare const anotherProcessTracker: {
|
|
|
391
386
|
};
|
|
392
387
|
moleculeLibraryId: string;
|
|
393
388
|
organismLibraryMoleculeId: string;
|
|
394
|
-
|
|
389
|
+
items: never[];
|
|
395
390
|
idForFrontend: string;
|
|
396
391
|
id: string;
|
|
397
392
|
}[];
|
|
@@ -399,7 +394,6 @@ export declare const anotherProcessTracker: {
|
|
|
399
394
|
attributes?: undefined;
|
|
400
395
|
moleculeLibraryId?: undefined;
|
|
401
396
|
organismLibraryMoleculeId?: undefined;
|
|
402
|
-
children?: undefined;
|
|
403
397
|
idForFrontend?: undefined;
|
|
404
398
|
})[];
|
|
405
399
|
id: string;
|
|
@@ -484,7 +478,7 @@ export declare const anotherProcessTracker: {
|
|
|
484
478
|
};
|
|
485
479
|
moleculeLibraryId: string;
|
|
486
480
|
organismLibraryMoleculeId: string;
|
|
487
|
-
|
|
481
|
+
items: never[];
|
|
488
482
|
idForFrontend: string;
|
|
489
483
|
id: string;
|
|
490
484
|
}[];
|
|
@@ -634,7 +628,7 @@ export declare const anotherProcessTracker: {
|
|
|
634
628
|
};
|
|
635
629
|
moleculeLibraryId: string;
|
|
636
630
|
organismLibraryMoleculeId: string;
|
|
637
|
-
|
|
631
|
+
items: never[];
|
|
638
632
|
idForFrontend: string;
|
|
639
633
|
id: string;
|
|
640
634
|
} | {
|
|
@@ -704,7 +698,7 @@ export declare const anotherProcessTracker: {
|
|
|
704
698
|
};
|
|
705
699
|
moleculeLibraryId: string;
|
|
706
700
|
organismLibraryMoleculeId: string;
|
|
707
|
-
|
|
701
|
+
items: never[];
|
|
708
702
|
idForFrontend: string;
|
|
709
703
|
id: string;
|
|
710
704
|
})[];
|
|
@@ -805,7 +799,7 @@ export declare const anotherProcessTracker: {
|
|
|
805
799
|
};
|
|
806
800
|
moleculeLibraryId: string;
|
|
807
801
|
organismLibraryMoleculeId: string;
|
|
808
|
-
|
|
802
|
+
items: never[];
|
|
809
803
|
idForFrontend: string;
|
|
810
804
|
id: string;
|
|
811
805
|
}[];
|
|
@@ -814,6 +808,302 @@ export declare const anotherProcessTracker: {
|
|
|
814
808
|
id: string;
|
|
815
809
|
})[];
|
|
816
810
|
};
|
|
811
|
+
export declare const bannerWithRoundedImage: {
|
|
812
|
+
instance: string;
|
|
813
|
+
organismLibraryContainerId: string;
|
|
814
|
+
containerLibraryId: string;
|
|
815
|
+
type: string;
|
|
816
|
+
ordering: number;
|
|
817
|
+
config: {
|
|
818
|
+
wide: {
|
|
819
|
+
containerProps: {
|
|
820
|
+
alignItems: string;
|
|
821
|
+
};
|
|
822
|
+
containerStyle: {
|
|
823
|
+
gap: string;
|
|
824
|
+
width: string;
|
|
825
|
+
height: string;
|
|
826
|
+
paddingTop: string;
|
|
827
|
+
paddingLeft: string;
|
|
828
|
+
paddingRight: string;
|
|
829
|
+
flexDirection: string;
|
|
830
|
+
paddingBottom: string;
|
|
831
|
+
justifyContent: string;
|
|
832
|
+
backgroundColor: string;
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
compact: {
|
|
836
|
+
containerProps: {
|
|
837
|
+
position: string;
|
|
838
|
+
alignItems: string;
|
|
839
|
+
};
|
|
840
|
+
containerStyle: {
|
|
841
|
+
gap: string;
|
|
842
|
+
width: string;
|
|
843
|
+
paddingTop: string;
|
|
844
|
+
paddingLeft: string;
|
|
845
|
+
flexDirection: string;
|
|
846
|
+
paddingRight: string;
|
|
847
|
+
justifyContent: string;
|
|
848
|
+
paddingBottom: string;
|
|
849
|
+
backgroundColor: string;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
metadata: {
|
|
854
|
+
group: string[];
|
|
855
|
+
};
|
|
856
|
+
items: ({
|
|
857
|
+
type: string;
|
|
858
|
+
config: {
|
|
859
|
+
wide: {
|
|
860
|
+
containerProps: {
|
|
861
|
+
position: string;
|
|
862
|
+
alignItems: string;
|
|
863
|
+
};
|
|
864
|
+
containerStyle: {
|
|
865
|
+
width: string;
|
|
866
|
+
height: string;
|
|
867
|
+
paddingTop: string;
|
|
868
|
+
paddingLeft: string;
|
|
869
|
+
paddingRight: string;
|
|
870
|
+
paddingBottom: string;
|
|
871
|
+
justifyContent: string;
|
|
872
|
+
'border-bottom-right-radius': string;
|
|
873
|
+
gap?: undefined;
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
compact: {
|
|
877
|
+
containerProps: {
|
|
878
|
+
position: string;
|
|
879
|
+
alignItems: string;
|
|
880
|
+
};
|
|
881
|
+
containerStyle: {
|
|
882
|
+
width: string;
|
|
883
|
+
flexDirection: string;
|
|
884
|
+
justifyContent: string;
|
|
885
|
+
backgroundColor: string;
|
|
886
|
+
gap?: undefined;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
instance: string;
|
|
891
|
+
metadata: {
|
|
892
|
+
group: string[];
|
|
893
|
+
};
|
|
894
|
+
ordering: number;
|
|
895
|
+
containerLibraryId: string;
|
|
896
|
+
organismLibraryContainerId: string;
|
|
897
|
+
items: {
|
|
898
|
+
type: string;
|
|
899
|
+
config: {
|
|
900
|
+
props: {
|
|
901
|
+
behaveAs: string;
|
|
902
|
+
cornerRadius: string;
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
instance: string;
|
|
906
|
+
metadata: {
|
|
907
|
+
group: string[];
|
|
908
|
+
isTrigger: boolean;
|
|
909
|
+
};
|
|
910
|
+
ordering: number;
|
|
911
|
+
attributes: {
|
|
912
|
+
link: {
|
|
913
|
+
id: string;
|
|
914
|
+
name: string;
|
|
915
|
+
type: string;
|
|
916
|
+
required: boolean;
|
|
917
|
+
externalLink: string;
|
|
918
|
+
internalLink: string;
|
|
919
|
+
attributeType: string;
|
|
920
|
+
};
|
|
921
|
+
image: {
|
|
922
|
+
id: string;
|
|
923
|
+
imageFile: {
|
|
924
|
+
id: string;
|
|
925
|
+
url: string;
|
|
926
|
+
name: string;
|
|
927
|
+
size: number;
|
|
928
|
+
tags: never[];
|
|
929
|
+
type: string;
|
|
930
|
+
status: string;
|
|
931
|
+
fileType: string;
|
|
932
|
+
updatedAt: string;
|
|
933
|
+
description: string;
|
|
934
|
+
originalName: string;
|
|
935
|
+
brandId: string;
|
|
936
|
+
uploadedAt: string;
|
|
937
|
+
};
|
|
938
|
+
attributeType: string;
|
|
939
|
+
};
|
|
940
|
+
altText: {
|
|
941
|
+
id: string;
|
|
942
|
+
text: string;
|
|
943
|
+
required: boolean;
|
|
944
|
+
isRichText: boolean;
|
|
945
|
+
attributeType: string;
|
|
946
|
+
showRichTextToolbar: boolean;
|
|
947
|
+
};
|
|
948
|
+
};
|
|
949
|
+
moleculeLibraryId: string;
|
|
950
|
+
organismLibraryMoleculeId: string;
|
|
951
|
+
items: never[];
|
|
952
|
+
id: string;
|
|
953
|
+
}[];
|
|
954
|
+
id: string;
|
|
955
|
+
} | {
|
|
956
|
+
type: string;
|
|
957
|
+
config: {
|
|
958
|
+
wide: {
|
|
959
|
+
containerProps: {
|
|
960
|
+
alignItems: string;
|
|
961
|
+
position?: undefined;
|
|
962
|
+
};
|
|
963
|
+
containerStyle: {
|
|
964
|
+
gap: string;
|
|
965
|
+
width: string;
|
|
966
|
+
height: string;
|
|
967
|
+
paddingTop: string;
|
|
968
|
+
paddingLeft: string;
|
|
969
|
+
paddingRight: string;
|
|
970
|
+
paddingBottom: string;
|
|
971
|
+
justifyContent: string;
|
|
972
|
+
'border-bottom-right-radius'?: undefined;
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
compact: {
|
|
976
|
+
containerProps: {
|
|
977
|
+
position?: undefined;
|
|
978
|
+
alignItems?: undefined;
|
|
979
|
+
};
|
|
980
|
+
containerStyle: {
|
|
981
|
+
gap: string;
|
|
982
|
+
width?: undefined;
|
|
983
|
+
flexDirection?: undefined;
|
|
984
|
+
justifyContent?: undefined;
|
|
985
|
+
backgroundColor?: undefined;
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
instance: string;
|
|
990
|
+
metadata: {
|
|
991
|
+
group: string[];
|
|
992
|
+
};
|
|
993
|
+
ordering: number;
|
|
994
|
+
containerLibraryId: string;
|
|
995
|
+
organismLibraryContainerId: string;
|
|
996
|
+
items: ({
|
|
997
|
+
type: string;
|
|
998
|
+
config: {
|
|
999
|
+
props: {
|
|
1000
|
+
textAlign: string;
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
instance: string;
|
|
1004
|
+
metadata: {
|
|
1005
|
+
group: string[];
|
|
1006
|
+
};
|
|
1007
|
+
ordering: number;
|
|
1008
|
+
attributes: {
|
|
1009
|
+
text: {
|
|
1010
|
+
id: string;
|
|
1011
|
+
text: string;
|
|
1012
|
+
required: boolean;
|
|
1013
|
+
isRichText: boolean;
|
|
1014
|
+
attributeType: string;
|
|
1015
|
+
showRichTextToolbar: boolean;
|
|
1016
|
+
};
|
|
1017
|
+
color: {
|
|
1018
|
+
id: string;
|
|
1019
|
+
color: string;
|
|
1020
|
+
required: boolean;
|
|
1021
|
+
attributeType: string;
|
|
1022
|
+
};
|
|
1023
|
+
seoStyle: {
|
|
1024
|
+
id: string;
|
|
1025
|
+
value: string;
|
|
1026
|
+
options: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
label: string;
|
|
1029
|
+
value: string;
|
|
1030
|
+
}[];
|
|
1031
|
+
required: boolean;
|
|
1032
|
+
attributeType: string;
|
|
1033
|
+
};
|
|
1034
|
+
fontVariant: {
|
|
1035
|
+
id: string;
|
|
1036
|
+
value: string;
|
|
1037
|
+
options: {
|
|
1038
|
+
id: string;
|
|
1039
|
+
label: string;
|
|
1040
|
+
value: string;
|
|
1041
|
+
}[];
|
|
1042
|
+
attributeType: string;
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
moleculeLibraryId: string;
|
|
1046
|
+
organismLibraryMoleculeId: string;
|
|
1047
|
+
items: never[];
|
|
1048
|
+
id: string;
|
|
1049
|
+
} | {
|
|
1050
|
+
type: string;
|
|
1051
|
+
config: {
|
|
1052
|
+
props: {
|
|
1053
|
+
textAlign?: undefined;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
instance: string;
|
|
1057
|
+
metadata: {
|
|
1058
|
+
group: string[];
|
|
1059
|
+
};
|
|
1060
|
+
ordering: number;
|
|
1061
|
+
attributes: {
|
|
1062
|
+
text: {
|
|
1063
|
+
id: string;
|
|
1064
|
+
text: string;
|
|
1065
|
+
required: boolean;
|
|
1066
|
+
isRichText: boolean;
|
|
1067
|
+
attributeType: string;
|
|
1068
|
+
showRichTextToolbar: boolean;
|
|
1069
|
+
};
|
|
1070
|
+
color: {
|
|
1071
|
+
id: string;
|
|
1072
|
+
color: string;
|
|
1073
|
+
required: boolean;
|
|
1074
|
+
attributeType: string;
|
|
1075
|
+
};
|
|
1076
|
+
seoStyle: {
|
|
1077
|
+
id: string;
|
|
1078
|
+
value: string;
|
|
1079
|
+
options: {
|
|
1080
|
+
id: string;
|
|
1081
|
+
label: string;
|
|
1082
|
+
value: string;
|
|
1083
|
+
}[];
|
|
1084
|
+
required: boolean;
|
|
1085
|
+
attributeType: string;
|
|
1086
|
+
};
|
|
1087
|
+
fontVariant: {
|
|
1088
|
+
id: string;
|
|
1089
|
+
value: string;
|
|
1090
|
+
options: {
|
|
1091
|
+
id: string;
|
|
1092
|
+
label: string;
|
|
1093
|
+
value: string;
|
|
1094
|
+
}[];
|
|
1095
|
+
attributeType: string;
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1098
|
+
moleculeLibraryId: string;
|
|
1099
|
+
organismLibraryMoleculeId: string;
|
|
1100
|
+
items: never[];
|
|
1101
|
+
id: string;
|
|
1102
|
+
})[];
|
|
1103
|
+
id: string;
|
|
1104
|
+
})[];
|
|
1105
|
+
id: string;
|
|
1106
|
+
};
|
|
817
1107
|
export declare const threeColumnOrganismBody: {
|
|
818
1108
|
type: string;
|
|
819
1109
|
config: {
|
|
@@ -960,12 +1250,11 @@ export declare const threeColumnOrganismBody: {
|
|
|
960
1250
|
};
|
|
961
1251
|
moleculeLibraryId: string;
|
|
962
1252
|
organismLibraryMoleculeId: string;
|
|
963
|
-
|
|
1253
|
+
items: never[];
|
|
964
1254
|
idForFrontend: string;
|
|
965
1255
|
id: string;
|
|
966
1256
|
containerLibraryId?: undefined;
|
|
967
1257
|
organismLibraryContainerId?: undefined;
|
|
968
|
-
items?: undefined;
|
|
969
1258
|
} | {
|
|
970
1259
|
type: string;
|
|
971
1260
|
config: {
|
|
@@ -1123,7 +1412,7 @@ export declare const threeColumnOrganismBody: {
|
|
|
1123
1412
|
};
|
|
1124
1413
|
moleculeLibraryId: string;
|
|
1125
1414
|
organismLibraryMoleculeId: string;
|
|
1126
|
-
|
|
1415
|
+
items: never[];
|
|
1127
1416
|
idForFrontend: string;
|
|
1128
1417
|
id: string;
|
|
1129
1418
|
} | {
|
|
@@ -1188,7 +1477,7 @@ export declare const threeColumnOrganismBody: {
|
|
|
1188
1477
|
};
|
|
1189
1478
|
moleculeLibraryId: string;
|
|
1190
1479
|
organismLibraryMoleculeId: string;
|
|
1191
|
-
|
|
1480
|
+
items: never[];
|
|
1192
1481
|
idForFrontend: string;
|
|
1193
1482
|
id: string;
|
|
1194
1483
|
})[];
|
|
@@ -1198,7 +1487,6 @@ export declare const threeColumnOrganismBody: {
|
|
|
1198
1487
|
attributes?: undefined;
|
|
1199
1488
|
moleculeLibraryId?: undefined;
|
|
1200
1489
|
organismLibraryMoleculeId?: undefined;
|
|
1201
|
-
children?: undefined;
|
|
1202
1490
|
idForFrontend?: undefined;
|
|
1203
1491
|
} | {
|
|
1204
1492
|
type: string;
|
|
@@ -1260,12 +1548,11 @@ export declare const threeColumnOrganismBody: {
|
|
|
1260
1548
|
};
|
|
1261
1549
|
moleculeLibraryId: string;
|
|
1262
1550
|
organismLibraryMoleculeId: string;
|
|
1263
|
-
|
|
1551
|
+
items: never[];
|
|
1264
1552
|
idForFrontend: string;
|
|
1265
1553
|
id: string;
|
|
1266
1554
|
containerLibraryId?: undefined;
|
|
1267
1555
|
organismLibraryContainerId?: undefined;
|
|
1268
|
-
items?: undefined;
|
|
1269
1556
|
})[];
|
|
1270
1557
|
id: string;
|
|
1271
1558
|
}[];
|
|
@@ -1485,7 +1772,7 @@ export declare const enrollMentOrganism: {
|
|
|
1485
1772
|
};
|
|
1486
1773
|
moleculeLibraryId: string;
|
|
1487
1774
|
organismLibraryMoleculeId: string;
|
|
1488
|
-
|
|
1775
|
+
items: never[];
|
|
1489
1776
|
idForFrontend: string;
|
|
1490
1777
|
id: string;
|
|
1491
1778
|
}[];
|
|
@@ -1633,7 +1920,7 @@ export declare const enrollMentOrganism: {
|
|
|
1633
1920
|
};
|
|
1634
1921
|
moleculeLibraryId: string;
|
|
1635
1922
|
organismLibraryMoleculeId: string;
|
|
1636
|
-
|
|
1923
|
+
items: never[];
|
|
1637
1924
|
idForFrontend: string;
|
|
1638
1925
|
id: string;
|
|
1639
1926
|
} | {
|
|
@@ -1703,7 +1990,7 @@ export declare const enrollMentOrganism: {
|
|
|
1703
1990
|
};
|
|
1704
1991
|
moleculeLibraryId: string;
|
|
1705
1992
|
organismLibraryMoleculeId: string;
|
|
1706
|
-
|
|
1993
|
+
items: never[];
|
|
1707
1994
|
idForFrontend: string;
|
|
1708
1995
|
id: string;
|
|
1709
1996
|
})[];
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { ContainerProps } from 'containers/types/types';
|
|
2
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
3
|
import { SizesTypes } from 'theme';
|
|
4
|
+
import { MouseEvent } from 'react';
|
|
3
5
|
import { AnyObject } from '../typescript';
|
|
4
|
-
export declare
|
|
6
|
+
export declare type ConfigurationItemInfo = {
|
|
7
|
+
$selected?: boolean;
|
|
8
|
+
isConfigurationMode?: boolean;
|
|
9
|
+
onClick?: (e: MouseEvent) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const ContainerWrapper: import("styled-components").StyledComponent<"div", DefaultTheme, Pick<ContainerProps, "type"> & {
|
|
5
12
|
containerProps?: Partial<{
|
|
6
13
|
position: import("containers/types/types").ContainerPositionType;
|
|
7
14
|
alignItems: import("containers/types/types").ContainerAlignItemsType;
|
|
8
15
|
scrollBehaviour: import("containers/types/types").ContainerScrollBehaviourType;
|
|
9
16
|
cornerRadius: number | SizesTypes;
|
|
10
17
|
gap: SizesTypes;
|
|
11
|
-
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object,
|
|
18
|
+
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, DefaultTheme>>;
|
|
12
19
|
paddingTop: SizesTypes;
|
|
13
20
|
paddingBottom: SizesTypes;
|
|
14
21
|
paddingLeft: SizesTypes;
|
|
@@ -24,3 +31,8 @@ export declare const ContainerWrapper: import("styled-components").StyledCompone
|
|
|
24
31
|
}> | undefined;
|
|
25
32
|
metadata?: AnyObject | undefined;
|
|
26
33
|
}, never>;
|
|
34
|
+
export declare const getConfigurationWrapperStyle: ({ $selected, isConfigurationMode, theme: { colors }, }: {
|
|
35
|
+
$selected?: boolean | undefined;
|
|
36
|
+
isConfigurationMode?: boolean | undefined;
|
|
37
|
+
theme: DefaultTheme;
|
|
38
|
+
}) => import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -100,6 +100,7 @@ export declare type ContainerComponentProps = {
|
|
|
100
100
|
attributes?: AnyObject;
|
|
101
101
|
containerLibraryId?: string;
|
|
102
102
|
isMobile?: boolean;
|
|
103
|
+
isConfigurationMode?: boolean;
|
|
103
104
|
};
|
|
104
105
|
export declare type CriteriaType = 'operator' | 'condition';
|
|
105
106
|
export declare type ConditionCriteria = {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { AvatarProps } from 'atoms';
|
|
2
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
2
3
|
import { MenuItemsProps } from '../MenuItems/MenuItems';
|
|
3
4
|
import 'rc-dropdown/assets/index.css';
|
|
4
5
|
export declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
|
|
5
6
|
export declare type AvatarDropdownProps<T = string> = {
|
|
6
7
|
avatarProps: AvatarProps;
|
|
7
8
|
menuConfig: MenuItemsProps<T>;
|
|
9
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
8
10
|
};
|
|
9
|
-
export declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
11
|
+
export declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
@@ -2,7 +2,7 @@ import type { ComponentStory } from '@storybook/react';
|
|
|
2
2
|
import { AvatarDropdown as AvatarDropdownComponent } from './AvatarDropdown';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T extends string | number>({ avatarProps, menuConfig, }: import("./AvatarDropdown").AvatarDropdownProps<T>) => JSX.Element;
|
|
5
|
+
component: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: import("./AvatarDropdown").AvatarDropdownProps<T>) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const AvatarDropdown: ComponentStory<typeof AvatarDropdownComponent>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MetadataStateConfig, MetadataType } from 'containers';
|
|
1
|
+
import { ConfigurationItemInfo, MetadataStateConfig, MetadataType } from 'containers';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { FontSizesTypes, SizesTypes, ThemeColors } from 'theme';
|
|
4
4
|
import type { Callback, StylesType } from 'typescript';
|
|
@@ -42,5 +42,6 @@ export declare type ButtonProps = BaseButtonProps & {
|
|
|
42
42
|
stateConfig?: MetadataStateConfig[];
|
|
43
43
|
htmlElementId?: string;
|
|
44
44
|
metadata?: MetadataType;
|
|
45
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
45
46
|
};
|
|
46
|
-
export declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, ...props }: ButtonProps) => JSX.Element | null;
|
|
47
|
+
export declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, configurationItemInfo, ...props }: ButtonProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { Button as ButtonComponent } from 'molecules';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, ...props }: import("molecules").ButtonProps) => JSX.Element | null;
|
|
5
|
+
component: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, configurationItemInfo, ...props }: import("molecules").ButtonProps) => JSX.Element | null;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Button: StoryFn<typeof ButtonComponent>;
|
|
@@ -3,6 +3,7 @@ import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
|
|
|
3
3
|
import { ConditionConfig, FormStateType } from 'containers';
|
|
4
4
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
|
5
5
|
import type { AnyObject, StylesType } from 'typescript';
|
|
6
|
+
import { ConfigurationItemInfo } from 'containers/MoleculeItem';
|
|
6
7
|
import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
|
|
7
8
|
export declare type CheckboxesProps = Partial<{
|
|
8
9
|
checkboxGroupWrapperStyles: StylesType;
|
|
@@ -32,5 +33,6 @@ export declare type CheckboxFieldProps = Partial<{
|
|
|
32
33
|
htmlElementId: string;
|
|
33
34
|
isTrigger?: boolean;
|
|
34
35
|
moleculeId: string;
|
|
36
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
35
37
|
}>;
|
|
36
|
-
export declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, }: CheckboxFieldProps) => JSX.Element | null;
|
|
38
|
+
export declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { CheckboxField as CheckboxFieldComponent } from 'molecules';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, }: Partial<{
|
|
5
|
+
component: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
|
6
6
|
checkboxesProps: Partial<{
|
|
7
7
|
checkboxGroupWrapperStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
8
8
|
checkboxFieldWrapperStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
@@ -54,6 +54,7 @@ declare const _default: {
|
|
|
54
54
|
htmlElementId: string;
|
|
55
55
|
isTrigger?: boolean | undefined;
|
|
56
56
|
moleculeId: string;
|
|
57
|
+
configurationItemInfo?: any;
|
|
57
58
|
}>) => JSX.Element | null;
|
|
58
59
|
};
|
|
59
60
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
1
2
|
import { SizesTypes } from 'theme';
|
|
2
3
|
import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
|
|
3
4
|
import type { Nullable } from 'typescript';
|
|
@@ -16,8 +17,9 @@ export declare type ChecklistProps = {
|
|
|
16
17
|
props: {
|
|
17
18
|
gap: SizesTypes;
|
|
18
19
|
} & CheckboxInternalConfigProps;
|
|
20
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
19
21
|
};
|
|
20
|
-
export declare const Checklist: ({ items, props: { gap, ...checkboxProps }, }: ChecklistProps) => JSX.Element;
|
|
22
|
+
export declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: ChecklistProps) => JSX.Element;
|
|
21
23
|
export declare const ChecklistWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
22
24
|
$gap: SizesTypes;
|
|
23
25
|
}, never>;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { Checklist as ChecklistComponent } from 'molecules';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ items, props: { gap, ...checkboxProps }, }: import("molecules").ChecklistProps) => JSX.Element;
|
|
5
|
+
component: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: import("molecules").ChecklistProps) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Checklist: StoryFn<typeof ChecklistComponent>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ConsentFieldMolecule } from 'containers';
|
|
1
|
+
import { ConfigurationItemInfo, ConsentFieldMolecule } from 'containers';
|
|
2
2
|
import { AnyObject } from 'typescript';
|
|
3
3
|
declare type ConsentMoleculeProps = {
|
|
4
4
|
attributes: ConsentFieldMolecule['attributes'];
|
|
5
5
|
config: ConsentFieldMolecule['config'];
|
|
6
6
|
formData?: AnyObject;
|
|
7
7
|
htmlElementId?: string;
|
|
8
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
8
9
|
};
|
|
9
|
-
export declare const ConsentMolecule: ({ attributes, formData, config, htmlElementId, }: ConsentMoleculeProps) => JSX.Element | null;
|
|
10
|
+
export declare const ConsentMolecule: ({ attributes, formData, config, htmlElementId, configurationItemInfo, }: ConsentMoleculeProps) => JSX.Element | null;
|
|
10
11
|
export {};
|