@redneckz/wildless-cms-uni-blocks 0.14.638 → 0.14.640
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 +15 -5
- 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/getInitialFormState.js +12 -3
- package/dist/components/CreditForm/getInitialFormState.js.map +1 -1
- 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/getInitialFormState.js +12 -3
- package/lib/components/CreditForm/getInitialFormState.js.map +1 -1
- package/mobile/bundle/api/RetailAPI/sendSignalToProcess.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +15 -5
- 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/getInitialFormState.js +12 -3
- package/mobile/dist/components/CreditForm/getInitialFormState.js.map +1 -1
- 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/getInitialFormState.js +12 -3
- package/mobile/lib/components/CreditForm/getInitialFormState.js.map +1 -1
- package/mobile/src/api/RetailAPI/sendSignalToProcess.ts +1 -1
- package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +3 -1
- package/mobile/src/components/CreditForm/getInitialFormState.tsx +12 -7
- 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/getInitialFormState.tsx +12 -7
|
@@ -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) {
|
|
@@ -6082,9 +6083,18 @@
|
|
|
6082
6083
|
if (localStorageData) {
|
|
6083
6084
|
// TODO: Fill in for other fields with type Date
|
|
6084
6085
|
// TODO: Take it out to the helper
|
|
6085
|
-
localStorageData.birthday = localStorageData.
|
|
6086
|
-
|
|
6087
|
-
|
|
6086
|
+
localStorageData.birthday = localStorageData.birthday
|
|
6087
|
+
? new Date(localStorageData.birthday)
|
|
6088
|
+
: undefined;
|
|
6089
|
+
localStorageData.dulIssueDateField = localStorageData.dulIssueDateField
|
|
6090
|
+
? new Date(localStorageData.dulIssueDateField)
|
|
6091
|
+
: undefined;
|
|
6092
|
+
localStorageData.participantDateRegistration = localStorageData.participantDateRegistration
|
|
6093
|
+
? new Date(localStorageData.participantDateRegistration)
|
|
6094
|
+
: undefined;
|
|
6095
|
+
localStorageData.beginDate = localStorageData?.beginDate
|
|
6096
|
+
? new Date(localStorageData.beginDate)
|
|
6097
|
+
: undefined;
|
|
6088
6098
|
}
|
|
6089
6099
|
return {
|
|
6090
6100
|
...formStateMap[step],
|
|
@@ -8809,7 +8819,7 @@
|
|
|
8809
8819
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
8810
8820
|
});
|
|
8811
8821
|
|
|
8812
|
-
const packageVersion = "0.14.
|
|
8822
|
+
const packageVersion = "0.14.639";
|
|
8813
8823
|
|
|
8814
8824
|
exports.Blocks = Blocks;
|
|
8815
8825
|
exports.ContentPage = ContentPage;
|