@redneckz/wildless-cms-uni-blocks 0.14.639 → 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/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
- package/bundle/bundle.umd.js +7 -6
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
- package/dist/components/CreditForm/CreditFormStatusTracker.js +3 -1
- package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/dist/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/lib/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
- package/lib/components/CreditForm/CreditFormStatusTracker.js +3 -1
- package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/lib/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +7 -6
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js +3 -1
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/mobile/lib/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js +3 -1
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js +4 -4
- package/mobile/src/api/RetailAPI/sendSignalToProcess.ts +1 -1
- package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +3 -1
- package/mobile/src/components/CreditForm/getCreditFormTaskData.ts +4 -4
- package/package.json +1 -1
- package/src/api/RetailAPI/sendSignalToProcess.ts +1 -1
- package/src/components/CreditForm/CreditFormStatusTracker.tsx +3 -1
- package/src/components/CreditForm/getCreditFormTaskData.ts +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare type SignalType = 'CREATE_APPLICATION_SHORT_SIGNAL' | 'CREATE_APPLICATION_LOAN_V3_SIGNAL' | 'KILL_DRAFT_PROCESS_SIGNAL';
|
|
2
2
|
interface SendSignalToProcess {
|
|
3
3
|
signalType: SignalType;
|
|
4
|
-
taskId: number;
|
|
4
|
+
taskId: number | null;
|
|
5
5
|
}
|
|
6
6
|
interface SendSignalToProcessResponse {
|
|
7
7
|
statusCd: string;
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -5975,9 +5975,10 @@
|
|
|
5975
5975
|
];
|
|
5976
5976
|
const CreditFormStatusTracker = JSX(() => {
|
|
5977
5977
|
const [status, setStatus] = useState(STATUS_TYPE.process);
|
|
5978
|
+
const [taskId] = useLocalStorage('taskId');
|
|
5978
5979
|
useEffect(() => {
|
|
5979
5980
|
for (const signalType of SIGNAL_TYPES) {
|
|
5980
|
-
sendSignalToProcess({ signalType, taskId
|
|
5981
|
+
sendSignalToProcess({ signalType, taskId });
|
|
5981
5982
|
}
|
|
5982
5983
|
const trackStatus = () => getTaskStatus({ taskId: TASK_ID }).then((res) => {
|
|
5983
5984
|
if (res.statusCd && res.statusCd !== STATUS_TYPE.process) {
|
|
@@ -6221,13 +6222,13 @@
|
|
|
6221
6222
|
};
|
|
6222
6223
|
const getCurrentStepData = (step, formData) => {
|
|
6223
6224
|
switch (step) {
|
|
6224
|
-
case 0:
|
|
6225
|
-
return getFirstStepData(formData);
|
|
6226
6225
|
case 1:
|
|
6227
|
-
return
|
|
6226
|
+
return getFirstStepData(formData);
|
|
6228
6227
|
case 2:
|
|
6229
|
-
return
|
|
6228
|
+
return getSecondStepData(formData);
|
|
6230
6229
|
case 3:
|
|
6230
|
+
return getThirdStepData(formData);
|
|
6231
|
+
case 4:
|
|
6231
6232
|
return getFourthStepData(formData);
|
|
6232
6233
|
default:
|
|
6233
6234
|
return getFirstStepData(formData);
|
|
@@ -8818,7 +8819,7 @@
|
|
|
8818
8819
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
8819
8820
|
});
|
|
8820
8821
|
|
|
8821
|
-
const packageVersion = "0.14.
|
|
8822
|
+
const packageVersion = "0.14.640";
|
|
8822
8823
|
|
|
8823
8824
|
exports.Blocks = Blocks;
|
|
8824
8825
|
exports.ContentPage = ContentPage;
|