From 25d878b53d60ad4a1438b787cd867de36ea0e340 Mon Sep 17 00:00:00 2001 From: =bhagwanSingh <=bhagwan.r@hicglobalsolutions.com> Date: Wed, 27 Aug 2025 16:50:22 +0530 Subject: [PATCH] documentContainer Update --- .env | 4 +- src/components/client/DocumentPages.tsx | 4 +- src/components/client/SignDocument.tsx | 71 ++-- src/components/home/StartNow.tsx | 5 +- src/components/home/StartSection.tsx | 6 +- src/components/process/RecipientAddCard.tsx | 69 ---- .../process/processStepOne/DocumentCard.tsx | 2 +- .../process/processStepOne/ProcessStepOne.tsx | 74 ++-- .../processStepOne/RecipientAddCard.tsx | 31 +- .../process/processStepOne/RecipientCards.tsx | 134 +++---- .../processStepOne/SelectedDocuments.tsx | 6 +- .../processStepOne/SelfSignWarnModal.tsx | 2 +- .../processStepTwo/DocumentContainer.tsx | 359 ++---------------- .../processStepTwo/DroppedItemsTagsCon.tsx | 313 +++++++++++++++ .../process/processStepTwo/LeftSideBar.tsx | 2 +- .../process/processStepTwo/NavTwo.tsx | 33 +- .../processStepTwo/rightSideBar/LabelAttr.tsx | 21 - .../rightSideBar/RightSideBar.tsx | 228 +---------- .../{ => attributes}/CommonAttrDropDown.tsx | 6 +- .../{ => attributes}/CurrTimeStampAttr.tsx | 0 .../{ => attributes}/DirectionalControls.tsx | 70 ---- .../rightSideBar/attributes/LabelAttr.tsx | 23 ++ .../{ => attributes}/MaskTypePassAttr.tsx | 2 +- .../{ => attributes}/MaxMinLenAttr.tsx | 0 .../{ => attributes}/RecipientsAttrCon.tsx | 4 +- .../{ => attributes}/RequiredAttr.tsx | 0 .../{ => attributes}/SelectTagAttr.tsx | 0 .../{ => attributes}/TemporalDateAttr.tsx | 6 +- .../{ => attributes}/TextValueFIll.tsx | 0 .../rightSideBar/attributes/ToolTipAttr.tsx | 23 ++ src/store/slices/documentSlice.ts | 35 +- src/store/slices/selectedRecipientsSlice.tsx | 353 +---------------- src/utlity/types.tsx | 6 +- 33 files changed, 620 insertions(+), 1272 deletions(-) delete mode 100644 src/components/process/RecipientAddCard.tsx create mode 100644 src/components/process/processStepTwo/DroppedItemsTagsCon.tsx delete mode 100644 src/components/process/processStepTwo/rightSideBar/LabelAttr.tsx rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/CommonAttrDropDown.tsx (97%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/CurrTimeStampAttr.tsx (100%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/DirectionalControls.tsx (67%) create mode 100644 src/components/process/processStepTwo/rightSideBar/attributes/LabelAttr.tsx rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/MaskTypePassAttr.tsx (97%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/MaxMinLenAttr.tsx (100%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/RecipientsAttrCon.tsx (96%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/RequiredAttr.tsx (100%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/SelectTagAttr.tsx (100%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/TemporalDateAttr.tsx (95%) rename src/components/process/processStepTwo/rightSideBar/{ => attributes}/TextValueFIll.tsx (100%) create mode 100644 src/components/process/processStepTwo/rightSideBar/attributes/ToolTipAttr.tsx diff --git a/.env b/.env index 23bf83b..98c85da 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -# VITE_BASE_URI="https://officially-powerful-goat.ngrok-free.app" +VITE_BASE_URI="https://officially-powerful-goat.ngrok-free.app" # VITE_BASE_URI="https://python-amused-adder.ngrok-free.app" -VITE_BASE_URI="https://concrete-gladly-mullet.ngrok-free.app" \ No newline at end of file +# VITE_BASE_URI="https://concrete-gladly-mullet.ngrok-free.app" \ No newline at end of file diff --git a/src/components/client/DocumentPages.tsx b/src/components/client/DocumentPages.tsx index 6e6c0e5..ea4cf05 100644 --- a/src/components/client/DocumentPages.tsx +++ b/src/components/client/DocumentPages.tsx @@ -14,7 +14,7 @@ const DocumentPages = ({ selectedDocuments, setDropDownTogglePage, dropDownToggl const [currentPage, setCurrentPage] = useState(0); return ( -
Fields
+Pages
+Add Recipient Details
-- {recipient.firstName} {recipient.lastName || ""} -
-- {recipient.email} | {recipient.type} {recipient.roleName ? `| Role : ${recipient.roleName}` : ""} -
-+ {recipient.firstName} {recipient.lastName || ""} +
++ {recipient.email} | {recipient.type} {recipient.roleName ? `| Role : ${recipient.roleName}` : ""} +
+{IconComponent} -
-{item.label}
-- {IconComponent} -
-{IconComponent} +
+{item.label}
++ {IconComponent} +
+Pages
- {/*Reset
-Fit
-Properties
+{selectedTag.type.toLowerCase()} Attributes: