From f045674055817f7647d56d043ed42784bd5694ab Mon Sep 17 00:00:00 2001 From: =bhagwanSingh <=bhagwan.r@hicglobalsolutions.com> Date: Mon, 13 Oct 2025 12:18:27 +0530 Subject: [PATCH] 13-10 --- src/App.tsx | 10 +- src/SigningOrderDiagram .tsx | 4 +- src/components/CommonNav.tsx | 14 +- src/components/accounts/Account.tsx | 4 +- src/components/accounts/AccountNav.tsx | 10 +- src/components/accounts/Accounts.tsx | 12 +- .../accounts/TransactionDataTable.tsx | 10 +- src/components/auth/LoginForm.tsx | 6 +- src/components/auth/OAuthGoogle.tsx | 2 +- src/components/auth/RegisterForm.tsx | 10 +- src/components/auth/UsertAuthUI.tsx | 4 +- src/components/client/ClientAuditModal.tsx | 2 +- src/components/client/DeclineModal.tsx | 4 +- src/components/client/DocumentPages.tsx | 165 +++++++++--------- src/components/client/ReassignModal.tsx | 2 +- .../client/SignCompletionScreen.tsx | 2 +- src/components/client/SignDocument.tsx | 110 ++++++------ src/components/client/TagsCon.tsx | 90 +++++----- src/components/client/draft.save.jsx | 16 +- src/components/contacts/Contacts.tsx | 14 +- src/components/contacts/ContactsFormModal.tsx | 6 +- src/components/dashboard/Dashboard.tsx | 18 +- src/components/dashboard/NavLink.tsx | 36 ++-- src/components/dashboard/SendForSign.tsx | 12 +- src/components/home/Cards.tsx | 4 +- src/components/home/Home.tsx | 4 +- src/components/home/ShowDocs.tsx | 10 +- src/components/home/StartNow.tsx | 2 +- src/components/home/StartSection.tsx | 12 +- src/components/home/UploadDoc.tsx | 2 +- .../DocumentCompletionScreen.tsx | 10 +- .../process/CompletionScreen/SignerList.tsx | 2 +- .../CompletionScreen/SigningOrderDiagram.tsx | 2 +- .../TransactionSentSuccess.tsx | 16 +- .../processStepOne/AdvancedOptions.tsx | 2 +- .../process/processStepOne/ContactModal.tsx | 12 +- .../process/processStepOne/DocumentCard.tsx | 4 +- .../process/processStepOne/MessageCon.tsx | 2 +- .../process/processStepOne/ProcessStepOne.tsx | 48 ++--- .../processStepOne/RecipientAddCard.tsx | 36 ++-- .../process/processStepOne/RecipientCards.tsx | 64 +++---- .../process/processStepOne/RecipientsCon.tsx | 6 +- .../processStepOne/SelectedDocuments.tsx | 14 +- .../processStepOne/SortableRecipient.tsx | 2 +- .../processStepTwo/DocumentContainer.tsx | 55 +++--- .../processStepTwo/DroppedItemsTagsCon.tsx | 79 +++++---- .../process/processStepTwo/FieldList.tsx | 12 +- .../process/processStepTwo/LeftSideBar.tsx | 108 +++++++++--- .../process/processStepTwo/NavTwo.tsx | 22 +-- .../process/processStepTwo/ProcessStepTwo.tsx | 47 ++++- .../rightSideBar/RightSideBar.tsx | 38 ++-- .../attributes/CommonAttrDropDown.tsx | 48 ++--- .../attributes/CurrTimeStampAttr.tsx | 2 +- .../attributes/DirectionalControls.tsx | 10 +- .../attributes/MaskTypePassAttr.tsx | 20 +-- .../rightSideBar/attributes/MaxMinLenAttr.tsx | 4 +- .../attributes/RecipientsAttrCon.tsx | 12 +- .../rightSideBar/attributes/SelectTagAttr.tsx | 16 +- .../attributes/TemporalDateAttr.tsx | 20 +-- .../routes_helper/ProtectedRoute.tsx | 2 +- src/components/setting/AsideSection.tsx | 4 +- src/components/setting/ContactForm.tsx | 2 +- src/components/setting/CreateAndInvite.tsx | 2 +- src/components/setting/Setting.tsx | 32 ++-- .../setting/Signature/AddSignatureModal.tsx | 22 +-- .../setting/Signature/DrawSignatureCanvas.tsx | 18 +- .../setting/Signature/Signature.tsx | 16 +- src/components/signature/ClientSignCon.tsx | 38 ++-- src/components/signature/Draw.tsx | 12 +- src/components/signature/SignUpload.tsx | 10 +- src/components/signature_pad/SignatureCon.tsx | 2 +- src/components/stamp/StampUpload.tsx | 6 +- src/components/templates/TemplateTable.tsx | 20 +-- src/components/templates/Templates.tsx | 4 +- src/components/transactions/AuditModal.tsx | 10 +- .../transactions/TransactionView.tsx | 14 +- src/components/transactions/Transactions.tsx | 2 +- src/components/view/DocView.tsx | 4 +- src/config/api.tsx | 20 +-- src/config/axiosInstance.tsx | 8 +- src/store/slices/documentSlice.ts | 22 +-- src/store/slices/droppedItemsSlice.tsx | 6 +- src/store/slices/selectedDocsSlice.ts | 2 +- src/store/slices/selectedRecipientsSlice.tsx | 30 ++-- src/store/store.ts | 4 +- src/utlity/JoyRideTour.tsx | 8 +- src/utlity/downloadDocumentsUtils.ts | 2 +- src/utlity/maskUtils.ts | 8 +- src/utlity/tagGroupConUtils.ts | 16 +- 89 files changed, 883 insertions(+), 773 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 94b09fe..2a895a9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -60,31 +60,31 @@ const App = () => { } /> - } /> - } /> - } /> - } /> - diff --git a/src/SigningOrderDiagram .tsx b/src/SigningOrderDiagram .tsx index a0839ad..bcce4e7 100644 --- a/src/SigningOrderDiagram .tsx +++ b/src/SigningOrderDiagram .tsx @@ -97,7 +97,7 @@ const SigningOrderDiagram : React.FC = (signers) => { if (signer.completed) { bgColor = "bg-green-500"; icon = ; - } else if (order === currentProcessingOrder) { + } else if (order == currentProcessingOrder) { bgColor = "bg-yellow-500"; icon = ; } else { @@ -111,7 +111,7 @@ const SigningOrderDiagram : React.FC = (signers) => { className={`w-10 h-10 rounded-full flex items-center justify-center text-white text-sm font-semibold ${bgColor}`} title={signer?.name} > - {(signer?.name !== '' || signer?.roleName) ? getInitials(signer?.name || signer?.roleName) : ""} + {(signer?.name != '' || signer?.roleName) ? getInitials(signer?.name || signer?.roleName) : ""} {icon} diff --git a/src/components/CommonNav.tsx b/src/components/CommonNav.tsx index e5834a5..c75692d 100644 --- a/src/components/CommonNav.tsx +++ b/src/components/CommonNav.tsx @@ -87,7 +87,7 @@ const CommonNav: React.FC = ({ } useEffect(() => { - if (initial !== "") return + if (initial != "") return console.log(userDetailsAsync, 'line 89') let initialN = (userDetailsAsync.firstName && userDetailsAsync.firstName[0]) initialN = initialN + "" + (userDetailsAsync.lastName && userDetailsAsync.lastName[0]) @@ -121,7 +121,7 @@ const CommonNav: React.FC = ({ if (!accountsOpen) { setLoadingAccounts(true); - if (accounts.length === 0 || hasModalBeenClosed) { + if (accounts.length == 0 || hasModalBeenClosed) { await getAccountDetails(); setHasModalBeenClosed(false); } @@ -278,7 +278,7 @@ const CommonNav: React.FC = ({ // Special case: if first segment is 's' and next is 'settings', remove 's' const pathnames = - rawPathnames[0] === "s" && rawPathnames[1] === "settings" + rawPathnames[0] == "s" && rawPathnames[1] == "settings" ? rawPathnames.slice(1) : rawPathnames; @@ -298,7 +298,7 @@ const CommonNav: React.FC = ({ const accIndex = pathnames.indexOf("accounts"); const txnIndex = pathnames.indexOf("transactions"); - if (accIndex !== -1 && txnIndex !== -1 && txnIndex > accIndex) { + if (accIndex != -1 && txnIndex != -1 && txnIndex > accIndex) { // keep only "transactions" and everything after it filteredPathnames = pathnames.slice(txnIndex); } @@ -336,13 +336,13 @@ const CommonNav: React.FC = ({ {/* Breadcrumb Navigation */}