@redneckz/wildless-cms-uni-blocks 0.14.640 → 0.14.641
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/bundle/bundle.umd.js +5 -5
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/lib/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +5 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/mobile/src/components/CreditForm/getCreditFormTaskData.ts +4 -4
- package/package.json +1 -1
- package/src/components/CreditForm/getCreditFormTaskData.ts +4 -4
|
@@ -32,13 +32,13 @@ const getCreditFormTaskData = ({ participantId, taskId, profileId, formData, ste
|
|
|
32
32
|
exports.getCreditFormTaskData = getCreditFormTaskData;
|
|
33
33
|
const getCurrentStepData = (step, formData) => {
|
|
34
34
|
switch (step) {
|
|
35
|
-
case 0:
|
|
36
|
-
return (0, getFirstStepData_1.getFirstStepData)(formData);
|
|
37
35
|
case 1:
|
|
38
|
-
return (0,
|
|
36
|
+
return (0, getFirstStepData_1.getFirstStepData)(formData);
|
|
39
37
|
case 2:
|
|
40
|
-
return (0,
|
|
38
|
+
return (0, getSecondStepData_1.getSecondStepData)(formData);
|
|
41
39
|
case 3:
|
|
40
|
+
return (0, getThirdStepData_1.getThirdStepData)(formData);
|
|
41
|
+
case 4:
|
|
42
42
|
return (0, getFourthStepData_1.getFourthStepData)(formData);
|
|
43
43
|
default:
|
|
44
44
|
return (0, getFirstStepData_1.getFirstStepData)(formData);
|
|
@@ -29,13 +29,13 @@ export const getCreditFormTaskData = ({ participantId, taskId, profileId, formDa
|
|
|
29
29
|
};
|
|
30
30
|
const getCurrentStepData = (step, formData) => {
|
|
31
31
|
switch (step) {
|
|
32
|
-
case 0:
|
|
33
|
-
return getFirstStepData(formData);
|
|
34
32
|
case 1:
|
|
35
|
-
return
|
|
33
|
+
return getFirstStepData(formData);
|
|
36
34
|
case 2:
|
|
37
|
-
return
|
|
35
|
+
return getSecondStepData(formData);
|
|
38
36
|
case 3:
|
|
37
|
+
return getThirdStepData(formData);
|
|
38
|
+
case 4:
|
|
39
39
|
return getFourthStepData(formData);
|
|
40
40
|
default:
|
|
41
41
|
return getFirstStepData(formData);
|
|
@@ -47,13 +47,13 @@ export const getCreditFormTaskData = ({
|
|
|
47
47
|
|
|
48
48
|
const getCurrentStepData = (step: number, formData: FormState): Partial<Participant> => {
|
|
49
49
|
switch (step) {
|
|
50
|
-
case 0:
|
|
51
|
-
return getFirstStepData(formData);
|
|
52
50
|
case 1:
|
|
53
|
-
return
|
|
51
|
+
return getFirstStepData(formData);
|
|
54
52
|
case 2:
|
|
55
|
-
return
|
|
53
|
+
return getSecondStepData(formData);
|
|
56
54
|
case 3:
|
|
55
|
+
return getThirdStepData(formData);
|
|
56
|
+
case 4:
|
|
57
57
|
return getFourthStepData(formData);
|
|
58
58
|
default:
|
|
59
59
|
return getFirstStepData(formData);
|
package/package.json
CHANGED
|
@@ -47,13 +47,13 @@ export const getCreditFormTaskData = ({
|
|
|
47
47
|
|
|
48
48
|
const getCurrentStepData = (step: number, formData: FormState): Partial<Participant> => {
|
|
49
49
|
switch (step) {
|
|
50
|
-
case 0:
|
|
51
|
-
return getFirstStepData(formData);
|
|
52
50
|
case 1:
|
|
53
|
-
return
|
|
51
|
+
return getFirstStepData(formData);
|
|
54
52
|
case 2:
|
|
55
|
-
return
|
|
53
|
+
return getSecondStepData(formData);
|
|
56
54
|
case 3:
|
|
55
|
+
return getThirdStepData(formData);
|
|
56
|
+
case 4:
|
|
57
57
|
return getFourthStepData(formData);
|
|
58
58
|
default:
|
|
59
59
|
return getFirstStepData(formData);
|