@@ -11,7 +11,7 @@ import RenderAllPdfPage from "../components/pdf/RenderAllPdfPage";
11
11
import WidgetComponent from "../components/pdf/WidgetComponent" ;
12
12
import Tour from "reactour" ;
13
13
import { useLocation , useParams } from "react-router-dom" ;
14
- import Loader from "../primitives/LoaderWithMsg" ;
14
+ import LoaderWithMsg from "../primitives/LoaderWithMsg" ;
15
15
import HandleError from "../primitives/HandleError" ;
16
16
import SignerListPlace from "../components/pdf/SignerListPlace" ;
17
17
import Header from "../components/pdf/PdfHeader" ;
@@ -48,6 +48,7 @@ import { SaveFileSize } from "../constant/saveFileSize";
48
48
import { EmailBody } from "../components/pdf/EmailBody" ;
49
49
import Upgrade from "../primitives/Upgrade" ;
50
50
import Alert from "../primitives/Alert" ;
51
+ import Loader from "../primitives/Loader" ;
51
52
52
53
function PlaceHolderSign ( ) {
53
54
const editorRef = useRef ( ) ;
@@ -1013,34 +1014,25 @@ function PlaceHolderSign() {
1013
1014
className = "flex flex-row justify-between items-center mb-1"
1014
1015
key = { ind }
1015
1016
>
1016
- { copied && < Alert type = "success" > Copied</ Alert > }
1017
+ { copied && (
1018
+ < Alert type = "success" >
1019
+ < div className = "ml-3" > Copied</ div >
1020
+ </ Alert >
1021
+ ) }
1017
1022
< span className = "w-[220px] md:w-[300px] whitespace-nowrap overflow-hidden text-ellipsis " >
1018
1023
{ data . signerEmail }
1019
1024
</ span >
1020
1025
< div className = "flex flex-row items-center gap-3 " >
1021
1026
< button
1022
1027
onClick = { ( ) => copytoclipboard ( data . url ) }
1023
1028
type = "button"
1024
- className = "flex flex-row items-center text-white font-[500] "
1029
+ className = "flex flex-row items-center op-link op-link-primary "
1025
1030
>
1026
- < i
1027
- className = "fa-solid fa-link underline text-blue-700"
1028
- aria-hidden = "true"
1029
- > </ i >
1030
- < span className = " hidden md:block ml-1 underline text-blue-700" >
1031
- Copy link
1032
- </ span >
1031
+ < i className = "fa-solid fa-link" aria-hidden = "true" > </ i >
1032
+ < span className = " hidden md:block ml-1 " > Copy link</ span >
1033
1033
</ button >
1034
- < RWebShare
1035
- data = { {
1036
- url : data . url ,
1037
- title : "Sign url"
1038
- } }
1039
- >
1040
- < i
1041
- className = "fa-solid fa-share-from-square cursor-pointer"
1042
- style = { { color : themeColor } }
1043
- > </ i >
1034
+ < RWebShare data = { { url : data . url , title : "Sign url" } } >
1035
+ < i className = "fa-solid fa-share-from-square op-link op-link-secondary no-underline" > </ i >
1044
1036
</ RWebShare >
1045
1037
</ div >
1046
1038
</ div >
@@ -1632,7 +1624,7 @@ function PlaceHolderSign() {
1632
1624
< Title title = { state ?. title ? state . title : "New Document" } />
1633
1625
< DndProvider backend = { HTML5Backend } >
1634
1626
{ isLoading . isLoad ? (
1635
- < Loader isLoading = { isLoading } />
1627
+ < LoaderWithMsg isLoading = { isLoading } />
1636
1628
) : handleError ? (
1637
1629
< HandleError handleError = { handleError } />
1638
1630
) : (
@@ -1726,9 +1718,7 @@ function PlaceHolderSign() {
1726
1718
setRequestSubject = { setRequestSubject }
1727
1719
/>
1728
1720
< div
1729
- className = {
1730
- "flex justify-end items-center gap-1 mt-2 underline text-blue-700 focus:outline-none cursor-pointer "
1731
- }
1721
+ className = "flex justify-end items-center gap-1 mt-2 op-link op-link-primary"
1732
1722
onClick = { ( ) => {
1733
1723
setRequestBody ( defaultBody ) ;
1734
1724
setRequestSubject ( defaultSubject ) ;
@@ -1759,7 +1749,7 @@ function PlaceHolderSign() {
1759
1749
{ ! isCustomize &&
1760
1750
( isSubscribe || ! isEnableSubscription ) && (
1761
1751
< span
1762
- className = "link link-primary text-sm"
1752
+ className = "op- link op- link-accent text-sm"
1763
1753
onClick = { ( ) => setIsCustomize ( ! isCustomize ) }
1764
1754
>
1765
1755
Cutomize Email
@@ -1788,7 +1778,6 @@ function PlaceHolderSign() {
1788
1778
) }
1789
1779
</ div >
1790
1780
</ ModalUi >
1791
-
1792
1781
{ /* this modal is used show send mail message and after send mail success message */ }
1793
1782
< ModalUi
1794
1783
isOpen = { isSend }
@@ -2062,7 +2051,7 @@ function PlaceHolderSign() {
2062
2051
< button
2063
2052
onClick = { ( ) => handleRecipientSign ( ) }
2064
2053
type = "button"
2065
- className = "finishBtn cancelBtn "
2054
+ className = "op-btn op-btn-primary "
2066
2055
>
2067
2056
View
2068
2057
</ button >
0 commit comments