@coorpacademy/components 11.19.0 → 11.19.1-alpha.1
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/es/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.js +15 -3
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/es/organism/rewards-form/index.d.ts +45 -0
- package/es/organism/select-opponents/index.d.ts +67 -12
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/index.js +3 -3
- package/es/organism/select-opponents/index.js.map +1 -1
- package/es/organism/select-opponents/style.css +6 -0
- package/es/organism/select-opponents/types.d.ts +75 -14
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/select-opponents/types.js +2 -2
- package/es/organism/select-opponents/types.js.map +1 -1
- package/es/organism/title-and-input/index.d.ts +84 -29
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +84 -29
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +45 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.js +17 -3
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/lib/organism/rewards-form/index.d.ts +45 -0
- package/lib/organism/select-opponents/index.d.ts +67 -12
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/index.js +3 -3
- package/lib/organism/select-opponents/index.js.map +1 -1
- package/lib/organism/select-opponents/style.css +6 -0
- package/lib/organism/select-opponents/types.d.ts +75 -14
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.js +2 -2
- package/lib/organism/select-opponents/types.js.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +84 -29
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +84 -29
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +45 -0
- package/locales/.mtslconfig.json +1 -0
- package/package.json +2 -2
|
@@ -12,23 +12,6 @@ declare const TitleAndInput: {
|
|
|
12
12
|
subtitleSize: import("prop-types").Requireable<string>;
|
|
13
13
|
}>>>;
|
|
14
14
|
field: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
15
|
-
title: import("prop-types").Requireable<string>;
|
|
16
|
-
placeholder: import("prop-types").Requireable<string>;
|
|
17
|
-
description: import("prop-types").Requireable<string>;
|
|
18
|
-
hint: import("prop-types").Requireable<string>;
|
|
19
|
-
options: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
20
|
-
selected: import("prop-types").Validator<boolean>;
|
|
21
|
-
name: import("prop-types").Validator<string>;
|
|
22
|
-
value: import("prop-types").Requireable<string>;
|
|
23
|
-
}>>[]>;
|
|
24
|
-
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
25
|
-
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
26
|
-
multiple: import("prop-types").Requireable<boolean>;
|
|
27
|
-
modified: import("prop-types").Requireable<boolean>;
|
|
28
|
-
disabled: import("prop-types").Requireable<boolean>;
|
|
29
|
-
error: import("prop-types").Requireable<string>;
|
|
30
|
-
theme: import("prop-types").Requireable<string>;
|
|
31
|
-
}> | import("prop-types").InferProps<{
|
|
32
15
|
title: import("prop-types").Requireable<string>;
|
|
33
16
|
placeholder: import("prop-types").Requireable<string>;
|
|
34
17
|
value: import("prop-types").Requireable<string>;
|
|
@@ -47,24 +30,96 @@ declare const TitleAndInput: {
|
|
|
47
30
|
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
48
31
|
onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
49
32
|
onSuggestionSelected: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
33
|
+
}> | import("prop-types").InferProps<{
|
|
34
|
+
title: import("prop-types").Requireable<string>;
|
|
35
|
+
placeholder: import("prop-types").Requireable<string>;
|
|
36
|
+
description: import("prop-types").Requireable<string>;
|
|
37
|
+
hint: import("prop-types").Requireable<string>;
|
|
38
|
+
options: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
39
|
+
selected: import("prop-types").Validator<boolean>;
|
|
40
|
+
name: import("prop-types").Validator<string>;
|
|
41
|
+
value: import("prop-types").Requireable<string>;
|
|
42
|
+
}>>[]>;
|
|
43
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
44
|
+
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
45
|
+
multiple: import("prop-types").Requireable<boolean>;
|
|
46
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
47
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
48
|
+
error: import("prop-types").Requireable<string>;
|
|
49
|
+
theme: import("prop-types").Requireable<string>;
|
|
50
50
|
}> | import("prop-types").InferProps<{
|
|
51
51
|
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
52
|
-
|
|
53
|
-
title: import("prop-types").
|
|
54
|
-
title: import("prop-types").Requireable<string>;
|
|
55
|
-
subtitle: import("prop-types").Requireable<string>;
|
|
56
|
-
type: import("prop-types").Requireable<string>;
|
|
57
|
-
'data-name': import("prop-types").Requireable<string>;
|
|
58
|
-
titleSize: import("prop-types").Requireable<string>;
|
|
59
|
-
subtitleSize: import("prop-types").Requireable<string>;
|
|
60
|
-
}>>>;
|
|
52
|
+
checkboxWithTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
53
|
+
title: import("prop-types").Requireable<string>;
|
|
61
54
|
name: import("prop-types").Requireable<string>;
|
|
62
55
|
checked: import("prop-types").Requireable<boolean>;
|
|
63
|
-
onChange: import("prop-types").
|
|
56
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
64
57
|
'aria-label': import("prop-types").Requireable<string>;
|
|
65
58
|
'data-name': import("prop-types").Requireable<string>;
|
|
66
59
|
}>>;
|
|
67
|
-
|
|
60
|
+
sectionTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
61
|
+
removeMargin: import("prop-types").Requireable<boolean>;
|
|
62
|
+
title: import("prop-types").Requireable<string>;
|
|
63
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
64
|
+
type: import("prop-types").Requireable<string>;
|
|
65
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
66
|
+
titleSize: import("prop-types").Requireable<string>;
|
|
67
|
+
subtitleSize: import("prop-types").Requireable<string>;
|
|
68
|
+
}>>;
|
|
69
|
+
child: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
70
|
+
childType: import("prop-types").Requireable<string>;
|
|
71
|
+
inputText: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
72
|
+
theme: import("prop-types").Requireable<string>;
|
|
73
|
+
size: import("prop-types").Requireable<string>;
|
|
74
|
+
autoFocus: import("prop-types").Requireable<boolean>;
|
|
75
|
+
title: import("prop-types").Requireable<string>;
|
|
76
|
+
placeholder: import("prop-types").Requireable<string>;
|
|
77
|
+
defaultValue: import("prop-types").Requireable<string>;
|
|
78
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
79
|
+
value: import("prop-types").Requireable<string>;
|
|
80
|
+
hint: import("prop-types").Requireable<string>;
|
|
81
|
+
error: import("prop-types").Requireable<string>;
|
|
82
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
83
|
+
description: import("prop-types").Requireable<string>;
|
|
84
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
85
|
+
valid: import("prop-types").Requireable<boolean>;
|
|
86
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
87
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
88
|
+
}>>;
|
|
89
|
+
title: import("prop-types").Requireable<string>;
|
|
90
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
91
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
92
|
+
}> | import("prop-types").InferProps<{
|
|
93
|
+
childType: import("prop-types").Requireable<string>;
|
|
94
|
+
list: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
95
|
+
name: import("prop-types").Requireable<string>;
|
|
96
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
97
|
+
onReset: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
98
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
99
|
+
error: import("prop-types").Requireable<string>;
|
|
100
|
+
buttonAriaLabel: import("prop-types").Requireable<string>;
|
|
101
|
+
errorButtonLabel: import("prop-types").Requireable<string>;
|
|
102
|
+
labelLink: import("prop-types").Requireable<string>;
|
|
103
|
+
hrefLink: import("prop-types").Requireable<string>;
|
|
104
|
+
title: import("prop-types").Requireable<string>;
|
|
105
|
+
description: import("prop-types").Requireable<string>;
|
|
106
|
+
uploadLabel: import("prop-types").Requireable<string>;
|
|
107
|
+
previewLabel: import("prop-types").Requireable<string>;
|
|
108
|
+
previewContent: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
109
|
+
type: import("prop-types").Requireable<string>;
|
|
110
|
+
src: import("prop-types").Requireable<string>;
|
|
111
|
+
label: import("prop-types").Requireable<string>;
|
|
112
|
+
}>>;
|
|
113
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
114
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
115
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
116
|
+
children: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
117
|
+
pdfButtonLabel: import("prop-types").Requireable<string>;
|
|
118
|
+
pdfButtonAriaLabel: import("prop-types").Requireable<string>;
|
|
119
|
+
}> | null | undefined)[]>;
|
|
120
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
121
|
+
}> | import("prop-types").InferProps<{
|
|
122
|
+
childType: import("prop-types").Requireable<string>;
|
|
68
123
|
name: import("prop-types").Requireable<string>;
|
|
69
124
|
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
70
125
|
onReset: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -90,6 +145,7 @@ declare const TitleAndInput: {
|
|
|
90
145
|
pdfButtonLabel: import("prop-types").Requireable<string>;
|
|
91
146
|
pdfButtonAriaLabel: import("prop-types").Requireable<string>;
|
|
92
147
|
}> | import("prop-types").InferProps<{
|
|
148
|
+
childType: import("prop-types").Requireable<string>;
|
|
93
149
|
title: import("prop-types").Requireable<string>;
|
|
94
150
|
placeholder: import("prop-types").Requireable<string>;
|
|
95
151
|
description: import("prop-types").Requireable<string>;
|
|
@@ -107,7 +163,6 @@ declare const TitleAndInput: {
|
|
|
107
163
|
error: import("prop-types").Requireable<string>;
|
|
108
164
|
theme: import("prop-types").Requireable<string>;
|
|
109
165
|
}> | null | undefined>>;
|
|
110
|
-
childType: import("prop-types").Requireable<string>;
|
|
111
166
|
}> | null | undefined)[]>;
|
|
112
167
|
}> | null | undefined>>;
|
|
113
168
|
childType: import("prop-types").Validator<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB/C,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -13,23 +13,6 @@ declare const propTypes: {
|
|
|
13
13
|
subtitleSize: PropTypes.Requireable<string>;
|
|
14
14
|
}>>>;
|
|
15
15
|
field: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
16
|
-
title: PropTypes.Requireable<string>;
|
|
17
|
-
placeholder: PropTypes.Requireable<string>;
|
|
18
|
-
description: PropTypes.Requireable<string>;
|
|
19
|
-
hint: PropTypes.Requireable<string>;
|
|
20
|
-
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
21
|
-
selected: PropTypes.Validator<boolean>;
|
|
22
|
-
name: PropTypes.Validator<string>;
|
|
23
|
-
value: PropTypes.Requireable<string>;
|
|
24
|
-
}>>[]>;
|
|
25
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
-
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
multiple: PropTypes.Requireable<boolean>;
|
|
28
|
-
modified: PropTypes.Requireable<boolean>;
|
|
29
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
30
|
-
error: PropTypes.Requireable<string>;
|
|
31
|
-
theme: PropTypes.Requireable<string>;
|
|
32
|
-
}> | PropTypes.InferProps<{
|
|
33
16
|
title: PropTypes.Requireable<string>;
|
|
34
17
|
placeholder: PropTypes.Requireable<string>;
|
|
35
18
|
value: PropTypes.Requireable<string>;
|
|
@@ -48,24 +31,96 @@ declare const propTypes: {
|
|
|
48
31
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
49
32
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
50
33
|
onSuggestionSelected: PropTypes.Requireable<(...args: any[]) => any>;
|
|
34
|
+
}> | PropTypes.InferProps<{
|
|
35
|
+
title: PropTypes.Requireable<string>;
|
|
36
|
+
placeholder: PropTypes.Requireable<string>;
|
|
37
|
+
description: PropTypes.Requireable<string>;
|
|
38
|
+
hint: PropTypes.Requireable<string>;
|
|
39
|
+
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
40
|
+
selected: PropTypes.Validator<boolean>;
|
|
41
|
+
name: PropTypes.Validator<string>;
|
|
42
|
+
value: PropTypes.Requireable<string>;
|
|
43
|
+
}>>[]>;
|
|
44
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
46
|
+
multiple: PropTypes.Requireable<boolean>;
|
|
47
|
+
modified: PropTypes.Requireable<boolean>;
|
|
48
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
49
|
+
error: PropTypes.Requireable<string>;
|
|
50
|
+
theme: PropTypes.Requireable<string>;
|
|
51
51
|
}> | PropTypes.InferProps<{
|
|
52
52
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
53
|
-
|
|
54
|
-
title: PropTypes.
|
|
55
|
-
title: PropTypes.Requireable<string>;
|
|
56
|
-
subtitle: PropTypes.Requireable<string>;
|
|
57
|
-
type: PropTypes.Requireable<string>;
|
|
58
|
-
'data-name': PropTypes.Requireable<string>;
|
|
59
|
-
titleSize: PropTypes.Requireable<string>;
|
|
60
|
-
subtitleSize: PropTypes.Requireable<string>;
|
|
61
|
-
}>>>;
|
|
53
|
+
checkboxWithTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
54
|
+
title: PropTypes.Requireable<string>;
|
|
62
55
|
name: PropTypes.Requireable<string>;
|
|
63
56
|
checked: PropTypes.Requireable<boolean>;
|
|
64
|
-
onChange: PropTypes.
|
|
57
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
65
58
|
'aria-label': PropTypes.Requireable<string>;
|
|
66
59
|
'data-name': PropTypes.Requireable<string>;
|
|
67
60
|
}>>;
|
|
68
|
-
|
|
61
|
+
sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
62
|
+
removeMargin: PropTypes.Requireable<boolean>;
|
|
63
|
+
title: PropTypes.Requireable<string>;
|
|
64
|
+
subtitle: PropTypes.Requireable<string>;
|
|
65
|
+
type: PropTypes.Requireable<string>;
|
|
66
|
+
'data-name': PropTypes.Requireable<string>;
|
|
67
|
+
titleSize: PropTypes.Requireable<string>;
|
|
68
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
69
|
+
}>>;
|
|
70
|
+
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
71
|
+
childType: PropTypes.Requireable<string>;
|
|
72
|
+
inputText: PropTypes.Requireable<PropTypes.InferProps<{
|
|
73
|
+
theme: PropTypes.Requireable<string>;
|
|
74
|
+
size: PropTypes.Requireable<string>;
|
|
75
|
+
autoFocus: PropTypes.Requireable<boolean>;
|
|
76
|
+
title: PropTypes.Requireable<string>;
|
|
77
|
+
placeholder: PropTypes.Requireable<string>;
|
|
78
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
79
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
80
|
+
value: PropTypes.Requireable<string>;
|
|
81
|
+
hint: PropTypes.Requireable<string>;
|
|
82
|
+
error: PropTypes.Requireable<string>;
|
|
83
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
84
|
+
description: PropTypes.Requireable<string>;
|
|
85
|
+
modified: PropTypes.Requireable<boolean>;
|
|
86
|
+
valid: PropTypes.Requireable<boolean>;
|
|
87
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
88
|
+
'data-name': PropTypes.Requireable<string>;
|
|
89
|
+
}>>;
|
|
90
|
+
title: PropTypes.Requireable<string>;
|
|
91
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
92
|
+
'data-name': PropTypes.Requireable<string>;
|
|
93
|
+
}> | PropTypes.InferProps<{
|
|
94
|
+
childType: PropTypes.Requireable<string>;
|
|
95
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
96
|
+
name: PropTypes.Requireable<string>;
|
|
97
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
98
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
99
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
100
|
+
error: PropTypes.Requireable<string>;
|
|
101
|
+
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
102
|
+
errorButtonLabel: PropTypes.Requireable<string>;
|
|
103
|
+
labelLink: PropTypes.Requireable<string>;
|
|
104
|
+
hrefLink: PropTypes.Requireable<string>;
|
|
105
|
+
title: PropTypes.Requireable<string>;
|
|
106
|
+
description: PropTypes.Requireable<string>;
|
|
107
|
+
uploadLabel: PropTypes.Requireable<string>;
|
|
108
|
+
previewLabel: PropTypes.Requireable<string>;
|
|
109
|
+
previewContent: PropTypes.Requireable<PropTypes.InferProps<{
|
|
110
|
+
type: PropTypes.Requireable<string>;
|
|
111
|
+
src: PropTypes.Requireable<string>;
|
|
112
|
+
label: PropTypes.Requireable<string>;
|
|
113
|
+
}>>;
|
|
114
|
+
loading: PropTypes.Requireable<boolean>;
|
|
115
|
+
modified: PropTypes.Requireable<boolean>;
|
|
116
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
117
|
+
children: PropTypes.Requireable<(...args: any[]) => any>;
|
|
118
|
+
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
119
|
+
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
120
|
+
}> | null | undefined)[]>;
|
|
121
|
+
'data-name': PropTypes.Requireable<string>;
|
|
122
|
+
}> | PropTypes.InferProps<{
|
|
123
|
+
childType: PropTypes.Requireable<string>;
|
|
69
124
|
name: PropTypes.Requireable<string>;
|
|
70
125
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
71
126
|
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -91,6 +146,7 @@ declare const propTypes: {
|
|
|
91
146
|
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
92
147
|
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
93
148
|
}> | PropTypes.InferProps<{
|
|
149
|
+
childType: PropTypes.Requireable<string>;
|
|
94
150
|
title: PropTypes.Requireable<string>;
|
|
95
151
|
placeholder: PropTypes.Requireable<string>;
|
|
96
152
|
description: PropTypes.Requireable<string>;
|
|
@@ -108,7 +164,6 @@ declare const propTypes: {
|
|
|
108
164
|
error: PropTypes.Requireable<string>;
|
|
109
165
|
theme: PropTypes.Requireable<string>;
|
|
110
166
|
}> | null | undefined>>;
|
|
111
|
-
childType: PropTypes.Requireable<string>;
|
|
112
167
|
}> | null | undefined)[]>;
|
|
113
168
|
}> | null | undefined>>;
|
|
114
169
|
childType: PropTypes.Validator<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQd,CAAC;AACF,oBAAY,kBAAkB,GAAG;IAC/B,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EACD,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAC3C,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,GACzC,oBAAoB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -275,6 +275,7 @@ declare namespace WizardContents {
|
|
|
275
275
|
'data-name': PropTypes.Requireable<string>;
|
|
276
276
|
}>>;
|
|
277
277
|
sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
278
|
+
removeMargin: PropTypes.Requireable<boolean>;
|
|
278
279
|
title: PropTypes.Requireable<string>;
|
|
279
280
|
subtitle: PropTypes.Requireable<string>;
|
|
280
281
|
type: PropTypes.Requireable<string>;
|
|
@@ -334,6 +335,50 @@ declare namespace WizardContents {
|
|
|
334
335
|
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
335
336
|
}> | null | undefined)[]>;
|
|
336
337
|
'data-name': PropTypes.Requireable<string>;
|
|
338
|
+
}> | PropTypes.InferProps<{
|
|
339
|
+
childType: PropTypes.Requireable<string>;
|
|
340
|
+
name: PropTypes.Requireable<string>;
|
|
341
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
342
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
343
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
344
|
+
error: PropTypes.Requireable<string>;
|
|
345
|
+
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
346
|
+
errorButtonLabel: PropTypes.Requireable<string>;
|
|
347
|
+
labelLink: PropTypes.Requireable<string>;
|
|
348
|
+
hrefLink: PropTypes.Requireable<string>;
|
|
349
|
+
title: PropTypes.Requireable<string>;
|
|
350
|
+
description: PropTypes.Requireable<string>;
|
|
351
|
+
uploadLabel: PropTypes.Requireable<string>;
|
|
352
|
+
previewLabel: PropTypes.Requireable<string>;
|
|
353
|
+
previewContent: PropTypes.Requireable<PropTypes.InferProps<{
|
|
354
|
+
type: PropTypes.Requireable<string>;
|
|
355
|
+
src: PropTypes.Requireable<string>;
|
|
356
|
+
label: PropTypes.Requireable<string>;
|
|
357
|
+
}>>;
|
|
358
|
+
loading: PropTypes.Requireable<boolean>;
|
|
359
|
+
modified: PropTypes.Requireable<boolean>;
|
|
360
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
361
|
+
children: PropTypes.Requireable<(...args: any[]) => any>;
|
|
362
|
+
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
363
|
+
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
364
|
+
}> | PropTypes.InferProps<{
|
|
365
|
+
childType: PropTypes.Requireable<string>;
|
|
366
|
+
title: PropTypes.Requireable<string>;
|
|
367
|
+
placeholder: PropTypes.Requireable<string>;
|
|
368
|
+
description: PropTypes.Requireable<string>;
|
|
369
|
+
hint: PropTypes.Requireable<string>;
|
|
370
|
+
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
371
|
+
selected: PropTypes.Validator<boolean>;
|
|
372
|
+
name: PropTypes.Validator<string>;
|
|
373
|
+
value: PropTypes.Requireable<string>;
|
|
374
|
+
}>>[]>;
|
|
375
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
376
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
377
|
+
multiple: PropTypes.Requireable<boolean>;
|
|
378
|
+
modified: PropTypes.Requireable<boolean>;
|
|
379
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
380
|
+
error: PropTypes.Requireable<string>;
|
|
381
|
+
theme: PropTypes.Requireable<string>;
|
|
337
382
|
}> | null | undefined>>;
|
|
338
383
|
}> | null | undefined)[]>;
|
|
339
384
|
}> | PropTypes.InferProps<{
|
|
@@ -11,6 +11,7 @@ declare namespace TitleAndCheckBoxWrapper {
|
|
|
11
11
|
'data-name': PropTypes.Requireable<string>;
|
|
12
12
|
}>>;
|
|
13
13
|
const sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
|
+
removeMargin: PropTypes.Requireable<boolean>;
|
|
14
15
|
title: PropTypes.Requireable<string>;
|
|
15
16
|
subtitle: PropTypes.Requireable<string>;
|
|
16
17
|
type: PropTypes.Requireable<string>;
|
|
@@ -70,6 +71,50 @@ declare namespace TitleAndCheckBoxWrapper {
|
|
|
70
71
|
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
71
72
|
}> | null | undefined)[]>;
|
|
72
73
|
'data-name': PropTypes.Requireable<string>;
|
|
74
|
+
}> | PropTypes.InferProps<{
|
|
75
|
+
childType: PropTypes.Requireable<string>;
|
|
76
|
+
name: PropTypes.Requireable<string>;
|
|
77
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
78
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
79
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
80
|
+
error: PropTypes.Requireable<string>;
|
|
81
|
+
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
82
|
+
errorButtonLabel: PropTypes.Requireable<string>;
|
|
83
|
+
labelLink: PropTypes.Requireable<string>;
|
|
84
|
+
hrefLink: PropTypes.Requireable<string>;
|
|
85
|
+
title: PropTypes.Requireable<string>;
|
|
86
|
+
description: PropTypes.Requireable<string>;
|
|
87
|
+
uploadLabel: PropTypes.Requireable<string>;
|
|
88
|
+
previewLabel: PropTypes.Requireable<string>;
|
|
89
|
+
previewContent: PropTypes.Requireable<PropTypes.InferProps<{
|
|
90
|
+
type: PropTypes.Requireable<string>;
|
|
91
|
+
src: PropTypes.Requireable<string>;
|
|
92
|
+
label: PropTypes.Requireable<string>;
|
|
93
|
+
}>>;
|
|
94
|
+
loading: PropTypes.Requireable<boolean>;
|
|
95
|
+
modified: PropTypes.Requireable<boolean>;
|
|
96
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
97
|
+
children: PropTypes.Requireable<(...args: any[]) => any>;
|
|
98
|
+
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
99
|
+
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
100
|
+
}> | PropTypes.InferProps<{
|
|
101
|
+
childType: PropTypes.Requireable<string>;
|
|
102
|
+
title: PropTypes.Requireable<string>;
|
|
103
|
+
placeholder: PropTypes.Requireable<string>;
|
|
104
|
+
description: PropTypes.Requireable<string>;
|
|
105
|
+
hint: PropTypes.Requireable<string>;
|
|
106
|
+
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
107
|
+
selected: PropTypes.Validator<boolean>;
|
|
108
|
+
name: PropTypes.Validator<string>;
|
|
109
|
+
value: PropTypes.Requireable<string>;
|
|
110
|
+
}>>[]>;
|
|
111
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
112
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
113
|
+
multiple: PropTypes.Requireable<boolean>;
|
|
114
|
+
modified: PropTypes.Requireable<boolean>;
|
|
115
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
116
|
+
error: PropTypes.Requireable<string>;
|
|
117
|
+
theme: PropTypes.Requireable<string>;
|
|
73
118
|
}> | null | undefined>>;
|
|
74
119
|
}
|
|
75
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"names":[],"mappings":";AAiBA,kEAuBC"}
|
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
|
|
6
|
+
var _isUndefined2 = _interopRequireDefault(require("lodash/fp/isUndefined"));
|
|
7
|
+
|
|
6
8
|
var _react = _interopRequireDefault(require("react"));
|
|
7
9
|
|
|
8
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
11
|
|
|
12
|
+
var _imageUpload = _interopRequireDefault(require("../../atom/image-upload"));
|
|
13
|
+
|
|
10
14
|
var _inputTextWithTitle = _interopRequireDefault(require("../../atom/input-text-with-title"));
|
|
11
15
|
|
|
16
|
+
var _selectMultiple = _interopRequireDefault(require("../select-multiple"));
|
|
17
|
+
|
|
12
18
|
var _checkboxWithTitle = _interopRequireDefault(require("../../atom/checkbox-with-title"));
|
|
13
19
|
|
|
14
20
|
var _title = _interopRequireDefault(require("../../atom/title"));
|
|
@@ -23,7 +29,9 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
23
29
|
|
|
24
30
|
const CHILD = {
|
|
25
31
|
'input-text': _inputTextWithTitle.default,
|
|
26
|
-
'drag-and-drop-wrapper': _dragAndDropWrapper.default
|
|
32
|
+
'drag-and-drop-wrapper': _dragAndDropWrapper.default,
|
|
33
|
+
'image-upload': _imageUpload.default,
|
|
34
|
+
'select-multiple': _selectMultiple.default
|
|
27
35
|
};
|
|
28
36
|
|
|
29
37
|
const TitleAndCheckBoxWrapper = props => {
|
|
@@ -38,17 +46,23 @@ const TitleAndCheckBoxWrapper = props => {
|
|
|
38
46
|
}, /*#__PURE__*/_react.default.createElement(_title.default, _extends({}, sectionTitle, {
|
|
39
47
|
type: 'form-group'
|
|
40
48
|
}))) : null, /*#__PURE__*/_react.default.createElement("div", {
|
|
41
|
-
className: checkboxWithTitle || sectionTitle ? _style.default.child : null
|
|
49
|
+
className: checkboxWithTitle || sectionTitle && (0, _isUndefined2.default)(sectionTitle.removeMargin) ? _style.default.child : null
|
|
42
50
|
}, /*#__PURE__*/_react.default.createElement(Child, child)));
|
|
43
51
|
};
|
|
44
52
|
|
|
45
53
|
TitleAndCheckBoxWrapper.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
46
54
|
checkboxWithTitle: _propTypes.default.shape(_checkboxWithTitle.default.propTypes),
|
|
47
|
-
sectionTitle: _propTypes.default.shape(_title.default.propTypes
|
|
55
|
+
sectionTitle: _propTypes.default.shape(_extends({}, _title.default.propTypes, {
|
|
56
|
+
removeMargin: _propTypes.default.bool
|
|
57
|
+
})),
|
|
48
58
|
child: _propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, _inputTextWithTitle.default.propTypes, {
|
|
49
59
|
childType: _propTypes.default.oneOf(['input-text'])
|
|
50
60
|
})), _propTypes.default.shape(_extends({}, _dragAndDropWrapper.default.propTypes, {
|
|
51
61
|
childType: _propTypes.default.oneOf(['drag-and-drop-wrapper'])
|
|
62
|
+
})), _propTypes.default.shape(_extends({}, _imageUpload.default.propTypes, {
|
|
63
|
+
childType: _propTypes.default.oneOf(['image-upload'])
|
|
64
|
+
})), _propTypes.default.shape(_extends({}, _selectMultiple.default.propTypes, {
|
|
65
|
+
childType: _propTypes.default.oneOf(['select-multiple'])
|
|
52
66
|
}))])
|
|
53
67
|
} : {};
|
|
54
68
|
var _default = TitleAndCheckBoxWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["CHILD","InputTextWithTitle","DragAndDropWrapper","TitleAndCheckBoxWrapper","props","checkboxWithTitle","child","sectionTitle","Child","childType","style","propTypes","PropTypes","shape","CheckboxWithTitle","Title","oneOfType","oneOf"],"sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputTextWithTitle from '../../atom/input-text-with-title';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport Title from '../../atom/title';\nimport DragAndDropWrapper from '../drag-and-drop-wrapper';\nimport style from './style.css';\n\nconst CHILD = {\n 'input-text': InputTextWithTitle,\n 'drag-and-drop-wrapper': DragAndDropWrapper\n};\nconst TitleAndCheckBoxWrapper = props => {\n const {checkboxWithTitle, child, sectionTitle} = props;\n\n const Child = CHILD[child.childType];\n return (\n <div>\n {checkboxWithTitle ? <CheckboxWithTitle {...checkboxWithTitle} /> : null}\n {sectionTitle ? (\n <div className={style.sectionTitle}>\n <Title {...sectionTitle} type={'form-group'} />\n </div>\n ) : null}\n <div
|
|
1
|
+
{"version":3,"file":"index.js","names":["CHILD","InputTextWithTitle","DragAndDropWrapper","ImageUpload","SelectMultiple","TitleAndCheckBoxWrapper","props","checkboxWithTitle","child","sectionTitle","Child","childType","style","removeMargin","propTypes","PropTypes","shape","CheckboxWithTitle","Title","bool","oneOfType","oneOf"],"sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isUndefined} from 'lodash/fp';\nimport ImageUpload from '../../atom/image-upload';\nimport InputTextWithTitle from '../../atom/input-text-with-title';\nimport SelectMultiple from '../select-multiple';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport Title from '../../atom/title';\nimport DragAndDropWrapper from '../drag-and-drop-wrapper';\nimport style from './style.css';\n\nconst CHILD = {\n 'input-text': InputTextWithTitle,\n 'drag-and-drop-wrapper': DragAndDropWrapper,\n 'image-upload': ImageUpload,\n 'select-multiple': SelectMultiple\n};\nconst TitleAndCheckBoxWrapper = props => {\n const {checkboxWithTitle, child, sectionTitle} = props;\n\n const Child = CHILD[child.childType];\n return (\n <div>\n {checkboxWithTitle ? <CheckboxWithTitle {...checkboxWithTitle} /> : null}\n {sectionTitle ? (\n <div className={style.sectionTitle}>\n <Title {...sectionTitle} type={'form-group'} />\n </div>\n ) : null}\n <div\n className={\n checkboxWithTitle || (sectionTitle && isUndefined(sectionTitle.removeMargin))\n ? style.child\n : null\n }\n >\n <Child {...child} />\n </div>\n </div>\n );\n};\n\nTitleAndCheckBoxWrapper.propTypes = {\n checkboxWithTitle: PropTypes.shape(CheckboxWithTitle.propTypes),\n sectionTitle: PropTypes.shape({...Title.propTypes, removeMargin: PropTypes.bool}),\n child: PropTypes.oneOfType([\n PropTypes.shape({\n ...InputTextWithTitle.propTypes,\n childType: PropTypes.oneOf(['input-text'])\n }),\n PropTypes.shape({\n ...DragAndDropWrapper.propTypes,\n childType: PropTypes.oneOf(['drag-and-drop-wrapper'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n childType: PropTypes.oneOf(['image-upload'])\n }),\n PropTypes.shape({\n ...SelectMultiple.propTypes,\n childType: PropTypes.oneOf(['select-multiple'])\n })\n ])\n};\nexport default TitleAndCheckBoxWrapper;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,KAAK,GAAG;EACZ,cAAcC,2BADF;EAEZ,yBAAyBC,2BAFb;EAGZ,gBAAgBC,oBAHJ;EAIZ,mBAAmBC;AAJP,CAAd;;AAMA,MAAMC,uBAAuB,GAAGC,KAAK,IAAI;EACvC,MAAM;IAACC,iBAAD;IAAoBC,KAApB;IAA2BC;EAA3B,IAA2CH,KAAjD;EAEA,MAAMI,KAAK,GAAGV,KAAK,CAACQ,KAAK,CAACG,SAAP,CAAnB;EACA,oBACE,0CACGJ,iBAAiB,gBAAG,6BAAC,0BAAD,EAAuBA,iBAAvB,CAAH,GAAkD,IADtE,EAEGE,YAAY,gBACX;IAAK,SAAS,EAAEG,cAAA,CAAMH;EAAtB,gBACE,6BAAC,cAAD,eAAWA,YAAX;IAAyB,IAAI,EAAE;EAA/B,GADF,CADW,GAIT,IANN,eAOE;IACE,SAAS,EACPF,iBAAiB,IAAKE,YAAY,IAAI,2BAAYA,YAAY,CAACI,YAAzB,CAAtC,GACID,cAAA,CAAMJ,KADV,GAEI;EAJR,gBAOE,6BAAC,KAAD,EAAWA,KAAX,CAPF,CAPF,CADF;AAmBD,CAvBD;;AAyBAH,uBAAuB,CAACS,SAAxB,2CAAoC;EAClCP,iBAAiB,EAAEQ,kBAAA,CAAUC,KAAV,CAAgBC,0BAAA,CAAkBH,SAAlC,CADe;EAElCL,YAAY,EAAEM,kBAAA,CAAUC,KAAV,cAAoBE,cAAA,CAAMJ,SAA1B;IAAqCD,YAAY,EAAEE,kBAAA,CAAUI;EAA7D,GAFoB;EAGlCX,KAAK,EAAEO,kBAAA,CAAUK,SAAV,CAAoB,CACzBL,kBAAA,CAAUC,KAAV,cACKf,2BAAA,CAAmBa,SADxB;IAEEH,SAAS,EAAEI,kBAAA,CAAUM,KAAV,CAAgB,CAAC,YAAD,CAAhB;EAFb,GADyB,EAKzBN,kBAAA,CAAUC,KAAV,cACKd,2BAAA,CAAmBY,SADxB;IAEEH,SAAS,EAAEI,kBAAA,CAAUM,KAAV,CAAgB,CAAC,uBAAD,CAAhB;EAFb,GALyB,EASzBN,kBAAA,CAAUC,KAAV,cACKb,oBAAA,CAAYW,SADjB;IAEEH,SAAS,EAAEI,kBAAA,CAAUM,KAAV,CAAgB,CAAC,cAAD,CAAhB;EAFb,GATyB,EAazBN,kBAAA,CAAUC,KAAV,cACKZ,uBAAA,CAAeU,SADpB;IAEEH,SAAS,EAAEI,kBAAA,CAAUM,KAAV,CAAgB,CAAC,iBAAD,CAAhB;EAFb,GAbyB,CAApB;AAH2B,CAApC;eAsBehB,uB"}
|
|
@@ -14,6 +14,7 @@ declare namespace RewardsForm {
|
|
|
14
14
|
'data-name': PropTypes.Requireable<string>;
|
|
15
15
|
}>>;
|
|
16
16
|
sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
+
removeMargin: PropTypes.Requireable<boolean>;
|
|
17
18
|
title: PropTypes.Requireable<string>;
|
|
18
19
|
subtitle: PropTypes.Requireable<string>;
|
|
19
20
|
type: PropTypes.Requireable<string>;
|
|
@@ -73,6 +74,50 @@ declare namespace RewardsForm {
|
|
|
73
74
|
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
74
75
|
}> | null | undefined)[]>;
|
|
75
76
|
'data-name': PropTypes.Requireable<string>;
|
|
77
|
+
}> | PropTypes.InferProps<{
|
|
78
|
+
childType: PropTypes.Requireable<string>;
|
|
79
|
+
name: PropTypes.Requireable<string>;
|
|
80
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
81
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
82
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
83
|
+
error: PropTypes.Requireable<string>;
|
|
84
|
+
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
85
|
+
errorButtonLabel: PropTypes.Requireable<string>;
|
|
86
|
+
labelLink: PropTypes.Requireable<string>;
|
|
87
|
+
hrefLink: PropTypes.Requireable<string>;
|
|
88
|
+
title: PropTypes.Requireable<string>;
|
|
89
|
+
description: PropTypes.Requireable<string>;
|
|
90
|
+
uploadLabel: PropTypes.Requireable<string>;
|
|
91
|
+
previewLabel: PropTypes.Requireable<string>;
|
|
92
|
+
previewContent: PropTypes.Requireable<PropTypes.InferProps<{
|
|
93
|
+
type: PropTypes.Requireable<string>;
|
|
94
|
+
src: PropTypes.Requireable<string>;
|
|
95
|
+
label: PropTypes.Requireable<string>;
|
|
96
|
+
}>>;
|
|
97
|
+
loading: PropTypes.Requireable<boolean>;
|
|
98
|
+
modified: PropTypes.Requireable<boolean>;
|
|
99
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
100
|
+
children: PropTypes.Requireable<(...args: any[]) => any>;
|
|
101
|
+
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
102
|
+
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
103
|
+
}> | PropTypes.InferProps<{
|
|
104
|
+
childType: PropTypes.Requireable<string>;
|
|
105
|
+
title: PropTypes.Requireable<string>;
|
|
106
|
+
placeholder: PropTypes.Requireable<string>;
|
|
107
|
+
description: PropTypes.Requireable<string>;
|
|
108
|
+
hint: PropTypes.Requireable<string>;
|
|
109
|
+
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
110
|
+
selected: PropTypes.Validator<boolean>;
|
|
111
|
+
name: PropTypes.Validator<string>;
|
|
112
|
+
value: PropTypes.Requireable<string>;
|
|
113
|
+
}>>[]>;
|
|
114
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
115
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
116
|
+
multiple: PropTypes.Requireable<boolean>;
|
|
117
|
+
modified: PropTypes.Requireable<boolean>;
|
|
118
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
119
|
+
error: PropTypes.Requireable<string>;
|
|
120
|
+
theme: PropTypes.Requireable<string>;
|
|
76
121
|
}> | null | undefined>>;
|
|
77
122
|
}> | null | undefined)[]>;
|
|
78
123
|
}
|