@redneckz/wildless-cms-uni-blocks 0.14.662 → 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 +28 -10
- 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/CreditCardFormStatusTracker.js +5 -3
- package/dist/components/CreditCardForm/CreditCardFormStatusTracker.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/dist/components/CreditForm/CreditFormStatusTracker.js +5 -3
- package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/lib/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardFormStatusTracker.js +5 -3
- package/lib/components/CreditCardForm/CreditCardFormStatusTracker.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/lib/components/CreditForm/CreditFormStatusTracker.js +5 -3
- package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +5 -0
- package/mobile/bundle/bundle.umd.js +28 -10
- 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/CreditCardFormStatusTracker.js +5 -3
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.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/dist/components/CreditForm/CreditFormStatusTracker.js +5 -3
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- 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/CreditCardFormStatusTracker.js +5 -3
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.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/lib/components/CreditForm/CreditFormStatusTracker.js +5 -3
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/src/api/RetailAPI/updateUserTask.ts +5 -0
- package/mobile/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +5 -3
- package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +3 -3
- package/mobile/src/components/CreditCardForm/getSixthStepData.ts +21 -0
- package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +5 -3
- package/package.json +1 -1
- package/src/api/RetailAPI/updateUserTask.ts +5 -0
- package/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +5 -3
- package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +3 -3
- package/src/components/CreditCardForm/getSixthStepData.ts +21 -0
- package/src/components/CreditForm/CreditFormStatusTracker.tsx +5 -3
|
@@ -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
|
@@ -6086,9 +6086,11 @@
|
|
|
6086
6086
|
const [status, setStatus] = useState(STATUS_TYPE.process);
|
|
6087
6087
|
const [taskId] = useLocalStorage('taskId');
|
|
6088
6088
|
useEffect(() => {
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6089
|
+
(async () => {
|
|
6090
|
+
for (const signalType of SIGNAL_TYPES$1) {
|
|
6091
|
+
await sendSignalToProcess({ signalType, taskId });
|
|
6092
|
+
}
|
|
6093
|
+
})();
|
|
6092
6094
|
const trackStatus = () => getTaskStatus({ taskId }).then((res) => {
|
|
6093
6095
|
if (res.statusCd && res.statusCd !== STATUS_TYPE.process) {
|
|
6094
6096
|
clearInterval(pullingInterval);
|
|
@@ -6331,6 +6333,21 @@
|
|
|
6331
6333
|
};
|
|
6332
6334
|
};
|
|
6333
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
|
+
|
|
6334
6351
|
const getThirdStepData$1 = (formData) => {
|
|
6335
6352
|
const { employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
|
|
6336
6353
|
return {
|
|
@@ -6379,6 +6396,7 @@
|
|
|
6379
6396
|
...getCurrentStepData$1(step, formData),
|
|
6380
6397
|
},
|
|
6381
6398
|
],
|
|
6399
|
+
...getDeliveryData(formData),
|
|
6382
6400
|
},
|
|
6383
6401
|
};
|
|
6384
6402
|
};
|
|
@@ -6395,9 +6413,7 @@
|
|
|
6395
6413
|
case 4:
|
|
6396
6414
|
return getFifthStepData(formData);
|
|
6397
6415
|
case 5:
|
|
6398
|
-
return
|
|
6399
|
-
//TODO: Сделать адаптер данных способа получения карты
|
|
6400
|
-
};
|
|
6416
|
+
return getSixthStepData(formData);
|
|
6401
6417
|
default:
|
|
6402
6418
|
return {};
|
|
6403
6419
|
}
|
|
@@ -6962,9 +6978,11 @@
|
|
|
6962
6978
|
const [status, setStatus] = useState(STATUS_TYPE.process);
|
|
6963
6979
|
const [taskId] = useLocalStorage('taskId');
|
|
6964
6980
|
useEffect(() => {
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6981
|
+
(async () => {
|
|
6982
|
+
for (const signalType of SIGNAL_TYPES) {
|
|
6983
|
+
await sendSignalToProcess({ signalType, taskId });
|
|
6984
|
+
}
|
|
6985
|
+
})();
|
|
6968
6986
|
const trackStatus = () => taskId &&
|
|
6969
6987
|
getTaskStatus({ taskId }).then((res) => {
|
|
6970
6988
|
if (res.statusCd && res.statusCd !== STATUS_TYPE.process) {
|
|
@@ -9899,7 +9917,7 @@
|
|
|
9899
9917
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
9900
9918
|
});
|
|
9901
9919
|
|
|
9902
|
-
const packageVersion = "0.14.
|
|
9920
|
+
const packageVersion = "0.14.663";
|
|
9903
9921
|
|
|
9904
9922
|
exports.Blocks = Blocks;
|
|
9905
9923
|
exports.ContentPage = ContentPage;
|