@verdocs/web-sdk 1.12.2 → 1.12.3
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/dist/cjs/{interact.min-3fb55faf.js → interact.min-5b353ffd.js} +1 -1
- package/dist/cjs/{utils-8dcfb4ed.js → utils-66565e63.js} +30 -1
- package/dist/cjs/verdocs-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-date.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-send.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-create_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-document-page.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-roles.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-view.cjs.entry.js +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
- package/dist/collection/utils/utils.js +30 -1
- package/dist/components/utils.js +30 -1
- package/dist/components/verdocs-template-document-page2.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{interact.min-19cd5a3f.js → interact.min-7c1428d0.js} +1 -1
- package/dist/esm/{utils-6d305f47.js → utils-5e8bf15b.js} +30 -1
- package/dist/esm/verdocs-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-field-checkbox.entry.js +1 -1
- package/dist/esm/verdocs-field-date.entry.js +1 -1
- package/dist/esm/verdocs-field-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-field-initial.entry.js +1 -1
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-field-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-field-signature.entry.js +1 -1
- package/dist/esm/verdocs-field-textarea.entry.js +1 -1
- package/dist/esm/verdocs-field-textbox.entry.js +1 -1
- package/dist/esm/verdocs-field-timestamp.entry.js +1 -1
- package/dist/esm/verdocs-preview.entry.js +1 -1
- package/dist/esm/verdocs-send.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +1 -1
- package/dist/esm/verdocs-template-create_2.entry.js +2 -2
- package/dist/esm/verdocs-template-document-page.entry.js +2 -2
- package/dist/esm/verdocs-template-roles.entry.js +2 -2
- package/dist/esm/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/{interact.min-19cd5a3f.js → interact.min-7c1428d0.js} +1 -1
- package/dist/esm-es5/{utils-6d305f47.js → utils-5e8bf15b.js} +1 -1
- package/dist/esm-es5/verdocs-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-checkbox.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-date.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-initial.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-radio-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-signature.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-textarea.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-textbox.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-timestamp.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview.entry.js +1 -1
- package/dist/esm-es5/verdocs-send.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-create_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-roles.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/verdocs-web-sdk/{p-fc97d696.system.entry.js → p-02a2340e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a5528dcd.entry.js → p-03d776ac.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cf3e15fa.entry.js → p-0530e2cf.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-457ce7ee.system.entry.js → p-108bbaf3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6c881285.entry.js → p-122c4341.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-be9f3cb4.system.entry.js → p-2082f48f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-125ed09a.entry.js → p-25152d8e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5a5c7806.system.entry.js → p-258546a4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad818224.entry.js → p-27149233.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-402daffb.entry.js → p-3ebcf391.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-de57ddbb.entry.js → p-445a768a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6e89c9a9.system.entry.js → p-45e4f142.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ae195531.system.entry.js → p-48356a9c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c05f7f00.system.entry.js → p-4be1ae98.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9ae853d2.system.entry.js → p-4fe691fd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cb619459.entry.js → p-58c1392d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d9108bf5.entry.js → p-5cd0d09d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3ea03e42.js → p-5ce7c588.js} +1 -1
- package/dist/verdocs-web-sdk/{p-41e463fc.js → p-6179e4bb.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d2a77a74.entry.js → p-69d1df85.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-71b29261.entry.js → p-6cb5d278.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5a3ad0a2.entry.js → p-7048c165.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-7e6d7c07.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-98fe1e7a.system.entry.js → p-7e78ed24.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c5e7155b.system.js → p-7f7d8f2c.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3d03c50c.entry.js → p-853098e0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f10bdaa0.system.entry.js → p-8efff54f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-23015028.system.entry.js → p-a4ebe8ba.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-833cc40b.entry.js → p-a8b1f54a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2ff0bf23.system.entry.js → p-ac9338d0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a4aad6fa.system.entry.js → p-b054a21d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0d1692d0.system.entry.js → p-be345c16.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-970a4cf0.entry.js → p-ca9c1012.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d090ad0f.system.entry.js → p-e11bf4da.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-daf52640.system.entry.js → p-ead6568b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2e3ad71e.system.entry.js → p-ebca8e8b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-13883644.entry.js → p-eed56276.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-04ca71f3.entry.js → p-f55238a6.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6a2a5175.entry.js → p-f7f62a97.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-287f83b4.system.js → p-fa7c30e1.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-60508155.system.entry.js → p-fe0b1efd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as o,h as t,H as s}from"./p-7239d28d.js";import{g as i}from"./p-6de76553.js";import{g as r}from"./p-
|
1
|
+
import{r as e,c as o,h as t,H as s}from"./p-7239d28d.js";import{g as i}from"./p-6de76553.js";import{g as r}from"./p-6179e4bb.js";import{s as n}from"./p-a8b01bb9.js";import"./p-388b771c.js";import"./p-21603661.js";import"./p-aa124212.js";import"./p-ab01f71e.js";import"./p-8b2040be.js";import"./p-7291906c.js";const a=class{constructor(t){e(this,t),this.fieldChange=o(this,"fieldChange",7),this.settingsChanged=o(this,"settingsChanged",7),this.deleted=o(this,"deleted",7),this.field=null,this.disabled=!1,this.roleindex=0}async focusField(){this.el.focus()}handleChange(e){this.fieldChange.emit(e.target.value)}async showSettingsPanel(){const e=document.getElementById(`verdocs-settings-panel-${this.field.name}`);e&&e.showPanel&&e.showPanel()}async hideSettingsPanel(){const e=document.getElementById(`verdocs-settings-panel-${this.field.name}`);e&&e.hidePanel&&e.hidePanel(),n.updateCount++}render(){var e,o;const n=r(this.field),a=null!==(o=null!==(e=this.disabled)&&void 0!==e?e:n.disabled)&&void 0!==o&&o,d=this.field.rgba||i(this.roleindex);return t(s,{class:{required:n.required,disabled:a},style:{backgroundColor:d}},t("select",{tabIndex:n.order,disabled:a,ref:e=>this.el=e,onChange:e=>this.handleChange(e)},t("option",{value:""},"Select..."),(n.options||[]).map((e=>t("option",{value:e.id,selected:e.value===n.value},e.value)))))}};a.style='verdocs-field-dropdown{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;width:85px;height:20px;display:block;font-size:11px;position:relative;background-color:transparent;-webkit-transform-origin:bottom left;transform-origin:bottom left}verdocs-field-dropdown.disabled{opacity:0.5}verdocs-field-dropdown select{position:absolute;background:linear-gradient(55deg, transparent 50%, #333 50%), linear-gradient(125deg, #333 50%, transparent 50%), linear-gradient(to right, transparent, transparent);background-position:calc(100% - 7px) 4px, calc(100% - 3px) 4px, 100% 0;background-size:5px 5px, 5px 5px, 2.5em 2.5em;background-repeat:no-repeat;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0, 0, 0, 0.87);font-weight:500;-webkit-transform-origin:0 0;transform-origin:0 0;height:100%;width:100%;font-size:11px;border:1px solid rgba(0, 0, 0, 0.2)}verdocs-field-dropdown select:focus{outline:none}verdocs-field-dropdown select.hide{display:none}verdocs-field-dropdown.required select{border:1px solid #cc0000}verdocs-field-dropdown.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}';export{a as verdocs_field_dropdown}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as i,h as e,H as s}from"./p-7239d28d.js";import{g as o}from"./p-6de76553.js";import{g as n}from"./p-
|
1
|
+
import{r as t,c as i,h as e,H as s}from"./p-7239d28d.js";import{g as o}from"./p-6de76553.js";import{g as n}from"./p-6179e4bb.js";import{s as a}from"./p-a8b01bb9.js";import"./p-388b771c.js";import"./p-21603661.js";import"./p-aa124212.js";import"./p-ab01f71e.js";import"./p-8b2040be.js";import"./p-7291906c.js";const r=class{constructor(e){t(this,e),this.signatureComplete=i(this,"signatureComplete",7),this.initialComplete=i(this,"initialComplete",7),this.settingsChanged=i(this,"settingsChanged",7),this.deleted=i(this,"deleted",7),this._fields=[],this.signatureFile=null,this.initialFile=null,this.focusOrderNumber=-1,this.focusFieldName="",this.activeElement=null,this.showError={pageNum:-1,fieldIndex:-1,type:null},this.dialogOpened=!1,this.closeAllErrors=!1,this.fieldsMap={},this.fieldsForCurrentSigner=[],this.fontSize=11,this.averageFontWidth=5,this.requiredFields=[],this.field=null,this.disabled=!1,this.fields=void 0,this.pageNum=void 0,this.roleName=void 0,this.fieldId=void 0,this.recipients=void 0,this.selectedRoleName=void 0,this.pdfPages=void 0,this.currentSignature=void 0,this.currentSignatureId=void 0,this.currentInitial=void 0,this.currentInitialId=void 0,this.focused=!1,this.signed=!1,this.preparedMessage=void 0,this.signatureUrl="",this.roleindex=0}componentWillLoad(){if(console.log("sign field",this.field),this.recipients&&this.recipients.length>0){const t=this.recipients.find((t=>"preparer"===t.type));console.log("Found preparer",t),t&&(this.preparedMessage=`Prepared by ${t.full_name}`)}}async showSettingsPanel(){const t=document.getElementById(`verdocs-settings-panel-${this.field.name}`);t&&t.showPanel&&t.showPanel()}async hideSettingsPanel(){const t=document.getElementById(`verdocs-settings-panel-${this.field.name}`);t&&t.hidePanel&&t.hidePanel(),a.updateCount++}render(){var t,i;const a=n(this.field),r=null!==(i=null!==(t=this.disabled)&&void 0!==t?t:a.disabled)&&void 0!==i&&i;console.log("Payment field",a);const d=this.field.rgba||o(this.roleindex);return e(s,{class:{focused:this.focused,disabled:r},style:{backgroundColor:d}},e("button",{class:{hide:this.signed}},"$"),e("div",this.signed?{class:"frame"}:{style:{display:"none"}}),e("img",{width:"100%",height:"100%",src:this.signatureUrl}))}};r.style='verdocs-field-payment{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;width:24px;height:24px;display:block;font-size:11px;position:relative;border:1px solid #cfa;background-color:transparent;-webkit-transform-origin:bottom left;transform-origin:bottom left}verdocs-field-payment.disabled{opacity:0.5}verdocs-field-payment button,verdocs-field-payment div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-field-payment button{color:rgba(0, 0, 0, 0.87);font-weight:500;-webkit-transform-origin:0 0;transform-origin:0 0;height:100%;width:100%;background:none;font-size:11px}verdocs-field-payment button.hide{display:none}verdocs-field-payment input{float:left;font-family:Arial, sans-serif}verdocs-field-payment select{position:absolute;font-family:Arial, sans-serif;background:linear-gradient(55deg, transparent 50%, #333 50%), linear-gradient(125deg, #333 50%, transparent 50%), linear-gradient(to right, transparent, transparent);background-position:calc(100% - 7px) 4px, calc(100% - 3px) 4px, 100% 0;background-size:5px 5px, 5px 5px, 2.5em 2.5em;background-repeat:no-repeat;-webkit-appearance:none;-moz-appearance:none;appearance:none}verdocs-field-payment .frame{width:100%;height:100%;background-size:contain;text-align:left}verdocs-field-payment .frame img{position:absolute;height:auto;width:100%}verdocs-field-payment.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}';export{r as verdocs_field_payment}
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./p-9422b807.system.js"],(function(e,t){"use strict";var d,i;return{setters:[function(e){d=e.p;i=e.b}],execute:function(){var e=function(){var e=t.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return d(i)};e().then((function(e){return i([["p-
|
1
|
+
System.register(["./p-9422b807.system.js"],(function(e,t){"use strict";var d,i;return{setters:[function(e){d=e.p;i=e.b}],execute:function(){var e=function(){var e=t.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return d(i)};e().then((function(e){return i([["p-fe0b1efd.system",[[0,"verdocs-template-roles",{endpoint:[16],templateId:[1,"template-id"],showingRoleDialog:[32],showingSenderDialog:[32],sender:[32],forceRerender:[32]}]]],["p-7e78ed24.system",[[0,"verdocs-field-initial",{field:[16],disabled:[4],initials:[1],editable:[4],moveable:[4],done:[4],roleindex:[2],tempInitials:[32],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-b054a21d.system",[[0,"verdocs-field-signature",{field:[16],name:[1],disabled:[4],editable:[4],moveable:[4],done:[4],roleindex:[2],tempSignature:[32],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-ead6568b.system",[[0,"verdocs-field-checkbox",{field:[16],option:[2],disabled:[4],done:[4],roleindex:[2],editable:[4],moveable:[4],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-258546a4.system",[[0,"verdocs-field-date",{field:[16],disabled:[4],editable:[4],moveable:[4],done:[4],roleindex:[2],containerId:[32],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-ac9338d0.system",[[0,"verdocs-field-radio-button",{field:[16],option:[2],disabled:[4],done:[4],roleindex:[2],editable:[4],moveable:[4],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-be345c16.system",[[0,"verdocs-field-textarea",{field:[16],disabled:[4],editable:[4],moveable:[4],done:[4],roleindex:[2],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-108bbaf3.system",[[0,"verdocs-field-textbox",{field:[16],disabled:[4],editable:[4],moveable:[4],done:[4],roleindex:[2],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-48356a9c.system",[[0,"verdocs-field-timestamp",{field:[16],disabled:[4],editable:[4],moveable:[4],done:[4],roleindex:[2],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-e897e87a.system",[[0,"verdocs-build",{endpoint:[16],templateId:[1,"template-id"],step:[32],pdfUrl:[32],template:[32]}]]],["p-e11bf4da.system",[[0,"verdocs-sign",{envelopeId:[1,"envelope-id"],roleId:[1,"role-id"],inviteCode:[1,"invite-code"],recipient:[32],signerToken:[32],hasSignature:[32],nextButtonLabel:[32],nextSubmits:[32],errorMessage:[32],focusedField:[32],isDone:[32],showDone:[32],finishLater:[32],showFinishLater:[32],agreed:[32],documentsSingularPlural:[32]}]]],["p-55610f09.system",[[0,"verdocs-template-properties",{endpoint:[16],templateId:[1,"template-id"],template:[32],name:[32],visibility:[32],sendReminders:[32],firstReminderDays:[32],reminderDays:[32]}]]],["p-06201c22.system",[[0,"verdocs-template-reminders",{endpoint:[16],templateId:[1,"template-id"],showPlanBlocker:[32],sendReminders:[32],firstReminderDays:[32],reminderDays:[32],dirty:[32],loading:[32]}]]],["p-bfbca3ba.system",[[0,"verdocs-template-name",{endpoint:[16],templateId:[1,"template-id"],name:[32],dirty:[32],loading:[32]}]]],["p-591432e9.system",[[0,"verdocs-auth",{endpoint:[16],visible:[4],logo:[1],isAuthenticated:[32],displayMode:[32],username:[32],password:[32],loggingIn:[32],activeSession:[32],loginError:[32]}]]],["p-dc5875be.system",[[0,"verdocs-search",{endpoint:[16]}]]],["p-30f1611a.system",[[0,"verdocs-initial-dialog",{initials:[1],fontLoaded:[32],enteredInitials:[32],mode:[32]}]]],["p-257d232d.system",[[0,"verdocs-signature-dialog",{name:[1],fontLoaded:[32],enteredName:[32],mode:[32]}]]],["p-fc57a027.system",[[0,"verdocs-contact-picker",{endpoint:[16],templateRole:[16],contactSuggestions:[16],name:[32],email:[32],phone:[32],message:[32],showSuggestions:[32],showMessage:[32],delegator:[32],nameFieldId:[32],emailFieldId:[32],phoneFieldId:[32]}]]],["p-8efff54f.system",[[0,"verdocs-send",{endpoint:[16],templateId:[1,"template-id"],containerId:[32],rolesAtLevel:[32],showPickerForId:[32],sessionContacts:[32],rolesCompleted:[32],reset:[64]}]]],["p-55f89a5b.system",[[0,"verdocs-template-visibility",{endpoint:[16],templateId:[1,"template-id"],dirty:[32],loading:[32],personal:[32],public:[32]}]]],["p-e9f06aab.system",[[0,"verdocs-field-attachment",{field:[16],disabled:[4],roleIndex:[2,"role-index"],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-a4ebe8ba.system",[[0,"verdocs-template-document-page",{endpoint:[16],templateId:[1,"template-id"],documentId:[1,"document-id"],pageNumber:[2,"page-number"],virtualWidth:[2,"virtual-width"],virtualHeight:[1026,"virtual-height"],layers:[16],containerId:[32],renderedWidth:[32],renderedHeight:[32],naturalWidth:[32],naturalHeight:[32],aspectRatio:[32],skipFirstNotification:[32],pageDisplayUri:[32]}]]],["p-69ded49f.system",[[0,"verdocs-loader"]]],["p-4fe691fd.system",[[0,"verdocs-preview",{endpoint:[16],templateId:[1,"template-id"]}]]],["p-bdfdcb0f.system",[[0,"verdocs-template-attachments",{endpoint:[16],templateId:[1,"template-id"],loading:[32]}]]],["p-c6e8e485.system",[[0,"verdocs-envelope-sidebar",{endpoint:[16],envelopeId:[1,"envelope-id"],activeTab:[32],panelOpen:[32]}]]],["p-5cb8b228.system",[[0,"verdocs-floating-menu",{options:[16]}]]],["p-504d51c9.system",[[0,"verdocs-kba-dialog",{step:[2],steps:[2],helptitle:[1],helptext:[1],mode:[1],label:[1],placeholder:[1],choices:[16],response:[32]}]]],["p-4be1ae98.system",[[0,"verdocs-field-dropdown",{field:[16],disabled:[4],roleindex:[2],focusField:[64],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-2082f48f.system",[[0,"verdocs-field-payment",{field:[16],disabled:[4],fields:[16],pageNum:[2,"page-num"],roleName:[1,"role-name"],fieldId:[1,"field-id"],recipients:[8],selectedRoleName:[1,"selected-role-name"],pdfPages:[16],currentSignature:[1,"current-signature"],currentSignatureId:[1,"current-signature-id"],currentInitial:[1,"current-initial"],currentInitialId:[1,"current-initial-id"],focused:[4],signed:[4],roleindex:[2],preparedMessage:[32],signatureUrl:[32],showSettingsPanel:[64],hideSettingsPanel:[64]}]]],["p-5777de38.system",[[0,"verdocs-organization-card",{organization:[16]}]]],["p-137837c5.system",[[0,"verdocs-search-tabs",{selected:[32]}]]],["p-0fff0dbd.system",[[0,"verdocs-status-indicator",{size:[1],theme:[1],status:[1],envelope:[16],isOpen:[32],recipientStatusIcons:[32],containerId:[32]}]]],["p-b3ea279b.system",[[0,"verdocs-template-card",{template:[16]}]]],["p-cb2dd06d.system",[[0,"verdocs-template-tags",{tags:[16]}]]],["p-f3169208.system",[[0,"verdocs-toggle",{options:[16],theme:[1],selectedOption:[32]}]]],["p-04bf80c2.system",[[0,"verdocs-radio-button",{checked:[4],name:[1],value:[1],disabled:[4]}]]],["p-ebca8e8b.system",[[0,"verdocs-document-page",{pageImageUri:[1,"page-image-uri"],pageNumber:[2,"page-number"],virtualWidth:[2,"virtual-width"],virtualHeight:[1026,"virtual-height"],layers:[16],containerId:[32],renderedWidth:[32],renderedHeight:[32],naturalWidth:[32],naturalHeight:[32],aspectRatio:[32],skipFirstNotification:[32]}],[0,"verdocs-dropdown",{options:[16],open:[32]}]]],["p-02a2340e.system",[[0,"verdocs-view",{endpoint:[16],envelopeId:[1,"envelope-id"]}]]],["p-5ba5c607.system",[[0,"verdocs-button",{label:[1],startIcon:[1,"start-icon"],endIcon:[1,"end-icon"],size:[1],type:[1],variant:[1],disabled:[4]}]]],["p-f1863a57.system",[[0,"verdocs-upload-dialog",{draggingOver:[32],decodedFiles:[32]}]]],["p-9191190c.system",[[0,"verdocs-checkbox",{checked:[4],name:[1],label:[1],value:[1],theme:[1],disabled:[4]}],[0,"verdocs-text-input",{value:[1],label:[1],placeholder:[1],autocomplete:[1],helpText:[1,"help-text"],type:[1],disabled:[4]}],[0,"verdocs-component-error",{message:[1]}],[0,"verdocs-help-icon",{text:[1],containerId:[32]}]]],["p-a3413844.system",[[0,"verdocs-template-role-properties",{endpoint:[16],templateId:[1,"template-id"],roleName:[1,"role-name"],sender:[1],dirty:[32],saving:[32],name:[32],type:[32],fullName:[32],email:[32],phone:[32],allowDelegation:[32]}],[0,"verdocs-template-sender",{endpoint:[16],templateId:[1,"template-id"],sender:[1],saving:[32]}]]],["p-45e4f142.system",[[0,"verdocs-template-fields",{endpoint:[16],templateId:[1,"template-id"],toolbarTargetId:[1,"toolbar-target-id"],placing:[32],selectedRoleName:[32],rerender:[32]},[[4,"keydown","handleKeyDown"]]],[0,"verdocs-template-create",{endpoint:[16],file:[32],creating:[32]}]]],["p-6affb629.system",[[0,"verdocs-toggle-button",{active:[4],icon:[1],label:[1],size:[1],_active:[32]}]]],["p-a8ff2439.system",[[0,"verdocs-ok-dialog",{heading:[1],message:[1],showCancel:[4,"show-cancel"]}]]],["p-b62bf4bb.system",[[0,"verdocs-quick-functions",{endpoint:[16]}],[0,"verdocs-search-activity",{endpoint:[16],type:[1],options:[8],emptyMessage:[32],authFailure:[32],title:[32],recent:[32],saved:[32],starred:[32]}],[0,"verdocs-search-box",{endpoint:[16],placeholder:[1],type:[1],query:[1],grabsFocus:[4,"grabs-focus"],focusField:[64]}]]],["p-2a6d69c2.system",[[0,"verdocs-toolbar-icon",{text:[1],icon:[1],placement:[1],containerId:[32]}]]],["p-4a6013d8.system",[[0,"verdocs-template-field-properties",{endpoint:[16],templateId:[1,"template-id"],fieldName:[1,"field-name"],dirty:[32],loading:[32],type:[32],name:[32],roleName:[32],required:[32],placeholder:[32],defaultValue:[32]}],[4,"verdocs-button-panel",{icon:[1],showPanel:[64],hidePanel:[64],toggle:[64]}],[0,"verdocs-select-input",{value:[1],label:[1],options:[16],disabled:[4]}]]]],e)}))}}}));
|
@@ -1 +1 @@
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,s){function r(e){try{a(n.next(e))}catch(e){s(e)}}function l(e){try{a(n["throw"](e))}catch(e){s(e)}}function a(e){e.done?i(e.value):o(e.value).then(r,l)}a((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,o,s,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return a([e,t])}}function a(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,o&&(s=r[0]&2?o["return"]:r[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,r[1])).done)return s;if(o=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;o=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){i.label=r[1];break}if(r[0]===6&&i.label<s[1]){i.label=s[1];s=r;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(r);break}if(s[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];o=0}finally{n=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-9422b807.system.js","./p-05eb4fed.system.js","./p-fa7c30e1.system.js","./p-03aeaebe.system.js","./p-e764098e.system.js","./p-af2c2f79.system.js","./p-327858f0.system.js","./p-51a3ea62.system.js","./p-71c7e1ba.system.js","./p-d50523fd.system.js"],(function(e){"use strict";var t,i,n,o,s,r,l;return{setters:[function(e){t=e.r;i=e.c;n=e.h;o=e.H},function(e){s=e.g},function(e){r=e.g},function(e){l=e.s},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var a='verdocs-field-initial{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;width:83px;height:36px;display:block;font-size:11px;letter-spacing:0.3px;background-color:transparent;-webkit-transform-origin:bottom left;transform-origin:bottom left;border:1px solid rgba(0, 0, 0, 0.2)}verdocs-field-initial.disabled{opacity:0.5}verdocs-field-initial.done{border:none;opacity:1}verdocs-field-initial img{display:block;max-width:100%;max-height:100%}verdocs-field-initial button{-webkit-box-sizing:border-box;box-sizing:border-box;border:none;color:rgba(0, 0, 0, 0.87);font-weight:500;-webkit-transform-origin:0 0;transform-origin:0 0;height:100%;width:100%;background:none;font-size:11px}verdocs-field-initial button.hide{display:none}verdocs-field-initial.required{border:1px solid #cc0000}verdocs-field-initial.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}verdocs-field-initial verdocs-button-panel{top:-3px;left:-2px;opacity:0.5;z-index:1000;cursor:pointer;position:absolute;-webkit-transform:scale(0.6);transform:scale(0.6)}verdocs-field-initial verdocs-button-panel[data-active],verdocs-field-initial verdocs-button-panel:hover{opacity:1}verdocs-field-initial verdocs-button-panel .icon svg{fill:#333333}verdocs-field-initial verdocs-button-panel .icon:hover svg{fill:#000000}';var d='<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20"><path d="m7.5 18.5-.312-2.667q-.188-.125-.396-.25-.209-.125-.396-.229l-2.479 1.063-2.521-4.334 2.125-1.625q.021-.104.021-.229v-.458q0-.125-.021-.229L1.396 7.917l2.521-4.313 2.5 1.042q.166-.104.375-.229.208-.125.396-.229L7.5 1.5h5l.312 2.688q.188.104.396.229.209.125.396.229l2.479-1.042 2.521 4.313-2.125 1.625v.916l2.125 1.625-2.521 4.334-2.5-1.063q-.166.104-.375.229-.208.125-.396.25L12.5 18.5Zm2.479-5.521q1.229 0 2.104-.875T12.958 10q0-1.229-.875-2.104t-2.104-.875q-1.208 0-2.094.875Q7 8.771 7 10t.885 2.104q.886.875 2.094.875Zm0-1.75q-.5 0-.864-.364Q8.75 10.5 8.75 10t.365-.865q.364-.364.864-.364t.865.364q.364.365.364.865t-.364.865q-.365.364-.865.364ZM10.021 10Zm-.792 6.521h1.542l.25-2.146q.625-.167 1.198-.51.573-.344 1.031-.823l2.021.854.771-1.271-1.771-1.354q.104-.292.156-.615.052-.323.052-.656 0-.292-.052-.604-.052-.313-.135-.646l1.77-1.375-.77-1.271-2.021.875q-.479-.5-1.042-.833-.562-.334-1.187-.5l-.271-2.167H9.208l-.25 2.167q-.625.166-1.187.5-.563.333-1.042.812l-2-.854-.771 1.271 1.73 1.354q-.084.333-.136.656Q5.5 9.708 5.5 10t.052.604q.052.313.136.667l-1.73 1.354.771 1.271 2-.834q.479.459 1.042.792.562.334 1.187.5Z"/></svg>';var c=e("verdocs_field_initial",function(){function e(e){t(this,e);this.adopt=i(this,"adopt",7);this.exit=i(this,"exit",7);this.fieldChange=i(this,"fieldChange",7);this.settingsChanged=i(this,"settingsChanged",7);this.settingsPress=i(this,"settingsPress",7);this.deleted=i(this,"deleted",7);this.field=null;this.disabled=false;this.initials="";this.editable=false;this.moveable=false;this.done=false;this.roleindex=0;this.tempInitials=""}e.prototype.focusField=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hideDialog=function(){var e;(e=this.dialog)===null||e===void 0?void 0:e.remove();this.dialog=null};e.prototype.handleAdopt=function(e){var t;console.log("[INITIAL] Adopted initials");this.tempInitials=e.detail;(t=this.fieldChange)===null||t===void 0?void 0:t.emit(this.tempInitials);this.hideDialog()};e.prototype.handleShow=function(){var e=this;this.dialog=document.createElement("verdocs-initial-dialog");this.dialog.setAttribute("initials",this.initials);this.dialog.setAttribute("roleindex",this.roleindex);this.dialog.addEventListener("exit",(function(){return e.hideDialog()}));this.dialog.addEventListener("next",(function(t){return e.handleAdopt(t)}));document.body.append(this.dialog)};e.prototype.showSettingsPanel=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=document.getElementById("verdocs-settings-panel-".concat(this.field.name));if(e&&e.showPanel){e.showPanel()}return[2]}))}))};e.prototype.hideSettingsPanel=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=document.getElementById("verdocs-settings-panel-".concat(this.field.name));if(e&&e.hidePanel){e.hidePanel()}l.updateCount++;return[2]}))}))};e.prototype.render=function(){var e=this;var t,i;var a=r(this.field);var c=a.base64||this.tempInitials;var u=(i=(t=this.disabled)!==null&&t!==void 0?t:a.disabled)!==null&&i!==void 0?i:false;var f=this.field["rgba"]||s(this.roleindex);if(this.done){return n(o,{class:{done:this.done}},c&&n("img",{src:c,alt:"Initials"}))}return n(o,{class:{required:a.required,disabled:u},style:{backgroundColor:f}},c?n("img",{src:c,alt:"Initials"}):n("button",{class:{},onClick:function(){return!u&&e.handleShow()}},"Initials"),this.editable&&n("verdocs-button-panel",{icon:d,id:"verdocs-settings-panel-".concat(this.field.name)},n("h6",null,"Field Settings"),n("verdocs-template-field-properties",{templateId:l.templateId,fieldName:this.field.name,onClose:function(){return e.hideSettingsPanel()},onDelete:function(){var t;(t=e.deleted)===null||t===void 0?void 0:t.emit({fieldName:e.field.name});return e.hideSettingsPanel()},onSettingsChanged:function(t){var i;(i=e.settingsChanged)===null||i===void 0?void 0:i.emit(t.detail);return e.hideSettingsPanel()}})))};return e}());c.style=a}}}));
|