@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.
Files changed (30) hide show
  1. package/bundle/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
  2. package/bundle/bundle.umd.js +7 -6
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
  5. package/dist/components/CreditForm/CreditFormStatusTracker.js +3 -1
  6. package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  7. package/dist/components/CreditForm/getCreditFormTaskData.js +4 -4
  8. package/lib/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
  9. package/lib/components/CreditForm/CreditFormStatusTracker.js +3 -1
  10. package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  11. package/lib/components/CreditForm/getCreditFormTaskData.js +4 -4
  12. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
  13. package/mobile/bundle/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
  14. package/mobile/bundle/bundle.umd.js +7 -6
  15. package/mobile/bundle/bundle.umd.min.js +1 -1
  16. package/mobile/dist/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
  17. package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js +3 -1
  18. package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  19. package/mobile/dist/components/CreditForm/getCreditFormTaskData.js +4 -4
  20. package/mobile/lib/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
  21. package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js +3 -1
  22. package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  23. package/mobile/lib/components/CreditForm/getCreditFormTaskData.js +4 -4
  24. package/mobile/src/api/RetailAPI/sendSignalToProcess.ts +1 -1
  25. package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +3 -1
  26. package/mobile/src/components/CreditForm/getCreditFormTaskData.ts +4 -4
  27. package/package.json +1 -1
  28. package/src/api/RetailAPI/sendSignalToProcess.ts +1 -1
  29. package/src/components/CreditForm/CreditFormStatusTracker.tsx +3 -1
  30. 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;
@@ -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: TASK_ID });
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 getSecondStepData(formData);
6226
+ return getFirstStepData(formData);
6228
6227
  case 2:
6229
- return getThirdStepData(formData);
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.638";
8822
+ const packageVersion = "0.14.640";
8822
8823
 
8823
8824
  exports.Blocks = Blocks;
8824
8825
  exports.ContentPage = ContentPage;