@redneckz/wildless-cms-uni-blocks 0.14.663 → 0.14.664
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/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/bundle/bundle.umd.js +18 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CreditCardForm/getSixthStepData.d.ts +11 -0
- package/dist/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js +3 -3
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/dist/components/CreditCardForm/getSixthStepData.d.ts +11 -0
- package/dist/components/CreditCardForm/getSixthStepData.js +21 -0
- package/dist/components/CreditCardForm/getSixthStepData.js.map +1 -0
- package/lib/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js +3 -3
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/lib/components/CreditCardForm/getSixthStepData.d.ts +11 -0
- package/lib/components/CreditCardForm/getSixthStepData.js +17 -0
- package/lib/components/CreditCardForm/getSixthStepData.js.map +1 -0
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/mobile/bundle/bundle.umd.js +18 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CreditCardForm/getSixthStepData.d.ts +11 -0
- package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js +3 -3
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getSixthStepData.d.ts +11 -0
- package/mobile/dist/components/CreditCardForm/getSixthStepData.js +21 -0
- package/mobile/dist/components/CreditCardForm/getSixthStepData.js.map +1 -0
- package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js +3 -3
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getSixthStepData.d.ts +11 -0
- package/mobile/lib/components/CreditCardForm/getSixthStepData.js +17 -0
- package/mobile/lib/components/CreditCardForm/getSixthStepData.js.map +1 -0
- package/mobile/src/api/RetailAPI/updateUserTask.ts +5 -0
- package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +3 -3
- package/mobile/src/components/CreditCardForm/getSixthStepData.ts +21 -0
- package/package.json +1 -1
- package/src/api/RetailAPI/updateUserTask.ts +5 -0
- package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +3 -3
- package/src/components/CreditCardForm/getSixthStepData.ts +21 -0
|
@@ -106,6 +106,11 @@ export declare type UpdateUserTaskBody = {
|
|
|
106
106
|
office?: {
|
|
107
107
|
id: string;
|
|
108
108
|
};
|
|
109
|
+
courierDeliveryFlg?: boolean;
|
|
110
|
+
deliveryDate?: string;
|
|
111
|
+
deliveryTimeCd?: {
|
|
112
|
+
value: string;
|
|
113
|
+
};
|
|
109
114
|
authorizedAgentId?: number;
|
|
110
115
|
participants: Participant[];
|
|
111
116
|
esiaAccountTypeCd?: {
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -6333,6 +6333,21 @@
|
|
|
6333
6333
|
};
|
|
6334
6334
|
};
|
|
6335
6335
|
|
|
6336
|
+
const getDeliveryData = (formData) => {
|
|
6337
|
+
const { methodObtain, deliveryDate = '' } = formData;
|
|
6338
|
+
return {
|
|
6339
|
+
courierDeliveryFlg: methodObtain === 'courier',
|
|
6340
|
+
deliveryDate: formatDate(deliveryDate, true),
|
|
6341
|
+
deliveryTimeCd: { value: 'TIME_2' },
|
|
6342
|
+
};
|
|
6343
|
+
};
|
|
6344
|
+
const getSixthStepData = (formData) => {
|
|
6345
|
+
const { addressCourier } = formData;
|
|
6346
|
+
return {
|
|
6347
|
+
participantAddresses: getParticipantAddresses({ addressCourier }),
|
|
6348
|
+
};
|
|
6349
|
+
};
|
|
6350
|
+
|
|
6336
6351
|
const getThirdStepData$1 = (formData) => {
|
|
6337
6352
|
const { employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
|
|
6338
6353
|
return {
|
|
@@ -6381,6 +6396,7 @@
|
|
|
6381
6396
|
...getCurrentStepData$1(step, formData),
|
|
6382
6397
|
},
|
|
6383
6398
|
],
|
|
6399
|
+
...getDeliveryData(formData),
|
|
6384
6400
|
},
|
|
6385
6401
|
};
|
|
6386
6402
|
};
|
|
@@ -6397,9 +6413,7 @@
|
|
|
6397
6413
|
case 4:
|
|
6398
6414
|
return getFifthStepData(formData);
|
|
6399
6415
|
case 5:
|
|
6400
|
-
return
|
|
6401
|
-
//TODO: Сделать адаптер данных способа получения карты
|
|
6402
|
-
};
|
|
6416
|
+
return getSixthStepData(formData);
|
|
6403
6417
|
default:
|
|
6404
6418
|
return {};
|
|
6405
6419
|
}
|
|
@@ -9903,7 +9917,7 @@
|
|
|
9903
9917
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
9904
9918
|
});
|
|
9905
9919
|
|
|
9906
|
-
const packageVersion = "0.14.
|
|
9920
|
+
const packageVersion = "0.14.663";
|
|
9907
9921
|
|
|
9908
9922
|
exports.Blocks = Blocks;
|
|
9909
9923
|
exports.ContentPage = ContentPage;
|