🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
update the Angular code snippet syntax for use in the @opensign/angular package
RaktimaNXGbef8fbf18334
diff --git a/apps/OpenSign/public/locales/en/translation.json b/apps/OpenSign/public/locales/en/translation.jsonindex 2249deb0c..19f3e5610 100644--- a/apps/OpenSign/public/locales/en/translation.json+++ b/apps/OpenSign/public/locales/en/translation.json@@ -640,7 +640,7 @@"public-template-mssg-3" :"Need more details or examples?","public-template-mssg-4": "Visit the","public-template-mssg-5": " npm for the latest updates, detailed documentation, and version history.",- "public-template-mssg-6" :"You need to set this template as public before you can utilize this code snippet.",+ "public-template-mssg-6" :"Before you can use this code snippet, you must make this template public.","copy-code":"COPY","copied-code":"COPIED","Installation":"Installation",diff --git a/apps/OpenSign/public/locales/fr/translation.json b/apps/OpenSign/public/locales/fr/translation.jsonindex 95a3c3f6f..0e1cce477 100644--- a/apps/OpenSign/public/locales/fr/translation.json+++ b/apps/OpenSign/public/locales/fr/translation.json@@ -639,7 +639,7 @@"public-template-mssg-3" :"Besoin de plus de détails ou d'exemples ?","public-template-mssg-4": "Visitez le","public-template-mssg-5": "npm pour les dernières mises à jour, une documentation détaillée et l'historique des versions.",- "public-template-mssg-6":"Vous devez définir ce modèle comme public avant de pouvoir utiliser cet extrait de code.",+ "public-template-mssg-6":"Avant de pouvoir utiliser cet extrait de code, vous devez rendre ce modèle public.","copy-code":"COPIE","copied-code":"COPIÉ","Installation":"Installation",diff --git a/apps/OpenSign/src/components/pdf/EmbedTab.js b/apps/OpenSign/src/components/pdf/EmbedTab.jsindex ca3991b9b..c60686f76 100644--- a/apps/OpenSign/src/components/pdf/EmbedTab.js+++ b/apps/OpenSign/src/components/pdf/EmbedTab.js@@ -34,7 +34,7 @@ export function App() {<OpensignonLoad={() => console.log("success")}onLoadError={(error) => console.log(error)}- templateId= {"${props.templateId}"}+ templateId= "${props.templateId}"/></div>);@@ -63,10 +63,10 @@ import {OpensignComponent} from "@opensign/angular"selector:'app-root',standalone: true,imports: [OpensignComponent],- template: '<opensign templateId={"${props.templateId}"}+ template:\`<opensign templateId="${props.templateId}"(onLoad)="handleLoad()"(onLoadError)="handleError($event)"- ></opensign>',+ ></opensign>\`,})export class AppComponent{handleLoad() {diff --git a/apps/OpenSign/src/pages/PdfRequestFiles.js b/apps/OpenSign/src/pages/PdfRequestFiles.jsindex ea6fa89f4..44a06b314 100644--- a/apps/OpenSign/src/pages/PdfRequestFiles.js+++ b/apps/OpenSign/src/pages/PdfRequestFiles.js@@ -284,6 +284,7 @@ function PdfRequestFiles(props) {}}//function for get document details for perticular signer with signer'object id+ //whenever change anything in this function check react/angular packages also in plan jsconst getTemplateDetails = async () => {try {const params = { templateId: props.templateId, ispublic: true };@@ -309,6 +310,7 @@ function PdfRequestFiles(props) {throw new Error("error: Invalid TemplateId");} else if (documentData && documentData.length > 0) {if (documentData[0]?.IsPublic) {+ //handle condition when someone use plan js then setTemplateStatus is not supportingprops?.setTemplateStatus &&props?.setTemplateStatus({status: "Success"diff --git a/apps/OpenSign/src/script/locales/en/translation.json b/apps/OpenSign/src/script/locales/en/translation.jsonindex 2249deb0c..3e9970d37 100644--- a/apps/OpenSign/src/script/locales/en/translation.json+++ b/apps/OpenSign/src/script/locales/en/translation.json@@ -41,7 +41,7 @@"upgrade-now": "Upgrade now","upgrade-to": "Upgrade to","plan": "Plan",- "subscribe-card-teamplan":"Unlock the full power of collaboration! Create unlimited organizations, teams, and hierarchies. Share templates seamlessly across teams and assign custom user roles. Elevate your workflow today!",+ "subscribe-card-teamplan": "Unlock the full power of collaboration! Create unlimited organizations, teams, and hierarchies. Share templates seamlessly across teams and assign custom user roles. Elevate your workflow today!","subscribe-card-plan": "Unlock premium features starting at just {{premiumPrice}}/month. Enjoy enhanced performance and only {{addonPrice}} per additional credit after your included premium credits.","user-name-limit-char": "To have a username less than 8 character please subscribe","tour-content": "Don't show this again",@@ -132,8 +132,8 @@"View": "View","option": "Option","Embed": "Embed",- "Copy TemplateId":"Copy TemplateId",- "Copy Public URL":"Copy Public URL"+ "Copy TemplateId": "Copy TemplateId",+ "Copy Public URL": "Copy Public URL"},"report-heading": {"Sr.No": "Sr.No",@@ -267,7 +267,7 @@"public-role": "Public role","public-url": "Public URL","public-url-copy": "Here’s your public URL: ",- "public-url-copy-mssg":"Copy it or share it with the signer, and you will be able to see all your publicly set templates.",+ "public-url-copy-mssg": "Copy it or share it with the signer, and you will be able to see all your publicly set templates.","add-public-url-alert": "Please add your public URL, and you will be able to make a public template.","share-with-alert": "You cannot share a template if any roles already have contacts assigned. Please remove all contact assignments from the roles before sharing the template.","share-with": "Share with",@@ -598,7 +598,7 @@"Recently sent for signatures": "This is a list of documents you've sent to other parties for signature.","Drafts": "This are documents you have started but have not finalized for sending.","public-template": "This video demonstrates how to set up your personalized public profile, such as ‘https://opensign.me/your-username’. You’ll also learn how to customize your tagline and make your templates available for public signing."- },+ },"enter-email-plaholder": "Add an email address and hit enter","success-email-alert": "Email sent successfully!","expired-doc-title": "Expired Document",@@ -619,44 +619,44 @@"select-date-format": "Select a date format","quantity-of-credits": "Quantity of premium credits","remaining-credits": "Premium credits available:",- "remaining-credits-help":"Use premium credits for API document signing, bulk sending, or embedding OpenSign integration on your website. You have {{allowedcredits}} included credits and {{addoncredits}} additional purchased credits remaining.",+ "remaining-credits-help": "Use premium credits for API document signing, bulk sending, or embedding OpenSign integration on your website. You have {{allowedcredits}} included credits and {{addoncredits}} additional purchased credits remaining.","additional-credits": "Please purchase premium credits","quota-err-quicksend": "Quota Reached, You don't have enough credits.","buy-credits": "Buy Premium Credits",- "rotate-right":"Rotate right",- "rotate-left":"Rotate left",- "rotate-alert-mssg":"All widgets on this page will be lost. Are you sure you want to proceed?",- "templateid":"Template-Id",- "bulk-send-subcription-alert":"Please upgrade to Professional or Team plan to use bulk send.",- "generate-test-token":"Generate Test Token",- "regenerate-test-token":"Regenerate Test Token",- "help-test-token":"This token can be used to test the APIs at the https://sandbox.opensignlabs.com/api/v1 endpoint, allowing you to conduct unlimited document signatures. Please note that the sandbox API will sign your documents with self-signed certificates, which may not be recognized as valid by Adobe. Once you’ve completed your testing, you can upgrade to one of our paid plans to generate a production token.",- "help-api-token":"This token can be used to access the production APIs at the {{origin}}/api/v1 endpoint. It can only be generated on one of our paid plans.",- "reason":"Reason",- "decline-by":"Declined/revoked by",+ "rotate-right": "Rotate right",+ "rotate-left": "Rotate left",+ "rotate-alert-mssg": "All widgets on this page will be lost. Are you sure you want to proceed?",+ "templateid": "Template-Id",+ "bulk-send-subcription-alert": "Please upgrade to Professional or Team plan to use bulk send.",+ "generate-test-token": "Generate Test Token",+ "regenerate-test-token": "Regenerate Test Token",+ "help-test-token": "This token can be used to test the APIs at the https://sandbox.opensignlabs.com/api/v1 endpoint, allowing you to conduct unlimited document signatures. Please note that the sandbox API will sign your documents with self-signed certificates, which may not be recognized as valid by Adobe. Once you’ve completed your testing, you can upgrade to one of our paid plans to generate a production token.",+ "help-api-token": "This token can be used to access the production APIs at the {{origin}}/api/v1 endpoint. It can only be generated on one of our paid plans.",+ "reason": "Reason",+ "decline-by": "Declined/revoked by","document-declined": "Document declined",- "public-template-mssg-1":"To integrate OpenSign into your React or Next.js project, simply run the following command:",- "public-template-mssg-2" :"Ensure you have npm or yarn set up in your project. If you’re using Yarn, you can replace npm install with yarn add @opensign/react.",- "public-template-mssg-3" :"Need more details or examples?",+ "public-template-mssg-1": "To integrate OpenSign into your React or Next.js project, simply run the following command:",+ "public-template-mssg-2": "Ensure you have npm or yarn set up in your project. If you’re using Yarn, you can replace npm install with yarn add @opensign/react.",+ "public-template-mssg-3": "Need more details or examples?","public-template-mssg-4": "Visit the","public-template-mssg-5": " npm for the latest updates, detailed documentation, and version history.",- "public-template-mssg-6" :"You need to set this template as public before you can utilize this code snippet.",- "copy-code":"COPY",- "copied-code":"COPIED",- "Installation":"Installation",- "Usage" :"Usage",- "insufficient-credits":"Insufficient Signing Credits",- "insufficient-credits-mssg":"The owner of this document currently lacks the necessary OpenSign credits for you to sign. Please reach out to the owner if you require further details.",+ "public-template-mssg-6": "Before you can use this code snippet, you must make this template public.",+ "copy-code": "COPY",+ "copied-code": "COPIED",+ "Installation": "Installation",+ "Usage": "Usage",+ "insufficient-credits": "Insufficient Signing Credits",+ "insufficient-credits-mssg": "The owner of this document currently lacks the necessary OpenSign credits for you to sign. Please reach out to the owner if you require further details.","angular-npm-mssg-1": "To integrate OpenSign into your Angular project, simply run the following command:",- "quota-mail-info-head":"Monthly request signatures email limit",+ "quota-mail-info-head": "Monthly request signatures email limit","quota-mail-info": "You can send upto 15 signature request emails every month. Upgrade now to send unlimited signing requests directly.","quota-mail": "You've reached your limit of 15 signature request emails for this month. Upgrade now to continue sending emails directly.",- "quota-mail-tip":"Tip: You can still sign <1>unlimited documents</1> by manually sharing the signing request links.",- "quota-mail-head":"Quota Reached",- "unauthorized-modal":"You don't have permission to perform this action, please contact {{adminEmail}}.",- "sent-this-month":"Sent this month",- "available-seats":"Available seats",- "buy-users":"Buy more users",+ "quota-mail-tip": "Tip: You can still sign <1>unlimited documents</1> by manually sharing the signing request links.",+ "quota-mail-head": "Quota Reached",+ "unauthorized-modal": "You don't have permission to perform this action, please contact {{adminEmail}}.",+ "sent-this-month": "Sent this month",+ "available-seats": "Available seats",+ "buy-users": "Buy more users","isenable-otp": "Enable OTP verification","isenable-otp-help": {"p1": "Would you like to enable the verification process using a one-time password (OTP)?",@@ -664,14 +664,13 @@"p3": "Selecting this option will disable OTP verification, allowing users to sign the document directly without additional steps.","p4": "Please choose the option that best suits your document signing requirements."},- "advanced-options":"Advanced options",- "hide-advanced-options":"Hide Advanced options",- "download-files":"Download files",- "download-pdf":"Download Pdf",- "pdf-certificate":"Download Pdf + Certificate",- "document-logs":"Document logs",+ "advanced-options": "Advanced options",+ "hide-advanced-options": "Hide Advanced options",+ "download-files": "Download files",+ "download-pdf": "Download Pdf",+ "pdf-certificate": "Download Pdf + Certificate",+ "document-logs": "Document logs","server-down": "Unable to connect to the OpenSign server. If you are self-hosting OpenSign, please ensure that all the steps in the documentation have been followed correctly. If you're running OpenSign locally, you might be accessing it through an incorrect port number.","admin-exists": "Admin already exists. Please login to the application using admin credentials in order to manage users.",- "public-tour-message":"Please make template public to copy public URL"-+ "public-tour-message": "Please make template public to copy public URL"}diff --git a/apps/OpenSign/src/script/locales/fr/translation.json b/apps/OpenSign/src/script/locales/fr/translation.jsonindex 00e671adf..6b3cde993 100644--- a/apps/OpenSign/src/script/locales/fr/translation.json+++ b/apps/OpenSign/src/script/locales/fr/translation.json@@ -639,7 +639,7 @@"public-template-mssg-3": "Besoin de plus de détails ou d'exemples ?","public-template-mssg-4": "Visitez le","public-template-mssg-5": "npm pour les dernières mises à jour, une documentation détaillée et l'historique des versions.",- "public-template-mssg-6": "Vous devez définir ce modèle comme public avant de pouvoir utiliser cet extrait de code.",+ "public-template-mssg-6": "Avant de pouvoir utiliser cet extrait de code, vous devez rendre ce modèle public.","copy-code": "COPIE","copied-code": "COPIÉ","Installation": "Installation",