@verdocs/web-sdk 4.2.65 → 4.2.67
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/index-d2999878.js +6 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-preview_10.cjs.entry.js +1 -5
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +32 -0
- package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +9 -9
- package/dist/cjs/{verdocs-quick-functions_2.cjs.entry.js → verdocs-search-box.cjs.entry.js} +0 -25
- package/dist/cjs/verdocs-sign.cjs.entry.js +6 -10
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +17 -7
- package/dist/collection/components/embeds/verdocs-build/verdocs-build.js +32 -2
- package/dist/collection/components/embeds/verdocs-preview/verdocs-preview.js +5 -4
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +8 -7
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +31 -13
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +9 -1
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.css +4 -0
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +2 -2
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +8 -8
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js +1 -5
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +1 -1
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
- package/dist/components/index.js +0 -2
- package/dist/components/verdocs-envelope-document-page2.js +1 -1
- package/dist/components/verdocs-envelope-recipient-link2.js +1 -1
- package/dist/components/verdocs-envelope-sidebar.js +2 -2
- package/dist/components/verdocs-envelopes-list.js +6 -6
- package/dist/components/verdocs-quick-functions.js +42 -1
- package/dist/components/verdocs-search-box.js +70 -1
- package/dist/components/verdocs-sign.js +8 -11
- package/dist/components/verdocs-status-indicator2.js +2 -2
- package/dist/components/verdocs-template-card.js +1 -1
- package/dist/components/verdocs-template-document-page2.js +1 -1
- package/dist/components/verdocs-template-role-properties2.js +8 -8
- package/dist/components/verdocs-template-roles2.js +1 -5
- package/dist/components/verdocs-template-sender2.js +1 -1
- package/dist/components/verdocs-template-star2.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/esm/index-3476681c.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm/verdocs-envelope-sidebar.entry.js +2 -2
- package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
- package/dist/esm/verdocs-preview_10.entry.js +1 -5
- package/dist/{components/verdocs-quick-functions2.js → esm/verdocs-quick-functions.entry.js} +7 -23
- package/dist/esm/verdocs-radio-button_3.entry.js +9 -9
- package/dist/{components/verdocs-search-box2.js → esm/verdocs-search-box.entry.js} +7 -28
- package/dist/esm/verdocs-sign.entry.js +7 -11
- package/dist/esm/verdocs-status-indicator.entry.js +2 -2
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/index-3476681c.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_10.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -0
- package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-box.entry.js +1 -0
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +17 -7
- package/dist/types/components/embeds/verdocs-build/verdocs-build.d.ts +32 -2
- package/dist/types/components/embeds/verdocs-preview/verdocs-preview.d.ts +5 -2
- package/dist/types/components/embeds/verdocs-send/verdocs-send.d.ts +8 -7
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +4 -1
- package/dist/types/components/embeds/verdocs-view/verdocs-view.d.ts +9 -1
- package/dist/types/components.d.ts +264 -89
- package/dist/verdocs-web-sdk/p-03a228e4.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-52d9d12b.entry.js → p-0b858d95.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-113251b7.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-e8b96519.system.entry.js → p-1d2a24d8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-27b3f4b4.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-49899f3c.system.entry.js → p-2b801312.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-33675f2e.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-18a58a00.entry.js → p-47047ad0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba259b92.system.entry.js → p-4817a358.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7995e412.system.entry.js → p-48afd9e8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fba124de.system.entry.js → p-4acd87ad.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-721bc4db.entry.js → p-4dd7f091.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-672a4df3.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6bab3791.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d7b00716.entry.js → p-6e03c475.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-05ec94da.entry.js → p-74b45256.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-7861d427.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-6bd283bf.system.entry.js → p-7f4c7fef.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5352f042.system.entry.js → p-8e1fcab5.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-97a3efcf.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-18ef3307.system.entry.js → p-9ba77c1d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-a3b75156.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-86126812.system.entry.js → p-a63081ed.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-530f073d.entry.js → p-ace6d1f2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-b4e722fc.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-09174e70.entry.js → p-b9139237.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-bfd72d8d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-002b8ba2.entry.js → p-e27ffcbb.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f00e5323.entry.js → p-e2f2f11a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/verdocs-search.cjs.entry.js +0 -22
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.css +0 -34
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +0 -47
- package/dist/components/verdocs-search.d.ts +0 -11
- package/dist/components/verdocs-search.js +0 -49
- package/dist/custom-elements.json +0 -2030
- package/dist/esm/verdocs-quick-functions_2.entry.js +0 -75
- package/dist/esm/verdocs-search.entry.js +0 -18
- package/dist/esm-es5/verdocs-quick-functions_2.entry.js +0 -1
- package/dist/esm-es5/verdocs-search.entry.js +0 -1
- package/dist/types/components/embeds/verdocs-search/verdocs-search.d.ts +0 -8
- package/dist/verdocs-web-sdk/p-15cd7156.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-47dde2b1.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4bc07959.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-519db979.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6058c628.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-756f658c.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c5ad35e4.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-dbc572d5.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-dc335d28.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-f2c8fd36.system.entry.js +0 -1
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
19
19
|
|
20
20
|
patchBrowser().then(async (options) => {
|
21
21
|
await appGlobals.globalScripts();
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"verdocs-build.cjs\",[[0,\"verdocs-build\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}]]],[\"verdocs-envelopes-list.cjs\",[[0,\"verdocs-envelopes-list\",{\"endpoint\":[16],\"view\":[1537],\"status\":[1537],\"sort\":[1537],\"match\":[1537],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"selectedEnvelopes\":[32],\"envelopes\":[32]},null,{\"view\":[\"handleViewUpdated\"],\"status\":[\"handleStatusUpdated\"],\"sort\":[\"handleSortUpdated\"],\"match\":[\"handleMatchUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-templates-list.cjs\",[[0,\"verdocs-templates-list\",{\"endpoint\":[16],\"sharing\":[1537],\"starred\":[1537],\"sort\":[1537],\"name\":[1537],\"allowedActions\":[1040],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"confirmDelete\":[32],\"templates\":[32],\"localNameFilter\":[32]},null,{\"sharing\":[\"handleSharingUpdated\"],\"starred\":[\"handleStarredUpdated\"],\"sort\":[\"handleSortUpdated\"],\"name\":[\"handleNameUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-sign.cjs\",[[0,\"verdocs-sign\",{\"envelopeId\":[1,\"envelope-id\"],\"roleId\":[1,\"role-id\"],\"inviteCode\":[1,\"invite-code\"],\"headerTargetId\":[1,\"header-target-id\"],\"envelope\":[32],\"roleNames\":[32],\"sortedRecipients\":[32],\"recipient\":[32],\"hasSignature\":[32],\"nextButtonLabel\":[32],\"nextSubmits\":[32],\"errorMessage\":[32],\"focusedField\":[32],\"submitting\":[32],\"isDone\":[32],\"showDone\":[32],\"showLoadError\":[32],\"finishLater\":[32],\"showFinishLater\":[32],\"agreed\":[32],\"documentsSingularPlural\":[32]}]]],[\"verdocs-envelope-sidebar.cjs\",[[0,\"verdocs-envelope-sidebar\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"activeTab\":[32],\"panelOpen\":[32],\"showManageDialog\":[32],\"showRecipientDialog\":[32],\"showCancelDialog\":[32],\"loading\":[32]}]]],[\"verdocs-auth.cjs\",[[0,\"verdocs-auth\",{\"endpoint\":[16],\"visible\":[4],\"logo\":[1],\"displayMode\":[32],\"org_name\":[32],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"verificationCode\":[32],\"password\":[32],\"confirmpass\":[32],\"submitting\":[32],\"resendDisabled\":[32],\"session\":[32],\"profile\":[32]}]]],[\"verdocs-search.cjs\",[[0,\"verdocs-search\",{\"endpoint\":[16]}]]],[\"verdocs-kba-dialog.cjs\",[[0,\"verdocs-kba-dialog\",{\"step\":[2],\"steps\":[2],\"helptitle\":[1],\"helptext\":[1],\"mode\":[1],\"label\":[1],\"placeholder\":[1],\"choices\":[16],\"response\":[32]}]]],[\"verdocs-dialog.cjs\",[[4,\"verdocs-dialog\"]]],[\"verdocs-field-payment.cjs\",[[0,\"verdocs-field-payment\",{\"templateid\":[1],\"fieldname\":[1],\"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],\"xscale\":[2],\"yscale\":[2],\"pagenumber\":[2],\"roleindex\":[2],\"preparedMessage\":[32],\"signatureUrl\":[32],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-search-tabs.cjs\",[[0,\"verdocs-search-tabs\",{\"selected\":[32]}]]],[\"verdocs-table.cjs\",[[0,\"verdocs-table\",{\"columns\":[16],\"data\":[16]}]]],[\"verdocs-template-card.cjs\",[[0,\"verdocs-template-card\",{\"template\":[16]}]]],[\"verdocs-template-tags.cjs\",[[0,\"verdocs-template-tags\",{\"tags\":[16]}]]],[\"verdocs-toggle.cjs\",[[0,\"verdocs-toggle\",{\"options\":[16],\"theme\":[1],\"selectedOption\":[32]}]]],[\"verdocs-dropdown.cjs\",[[0,\"verdocs-dropdown\",{\"options\":[16]},[[9,\"resize\",\"handleResize\"]]]]],[\"verdocs-button_3.cjs\",[[0,\"verdocs-text-input\",{\"value\":[1537],\"label\":[1],\"placeholder\":[1],\"autocomplete\":[1],\"helpText\":[1,\"help-text\"],\"clearable\":[4],\"copyable\":[4],\"type\":[1],\"disabled\":[4],\"required\":[4],\"showingPw\":[32]}],[0,\"verdocs-help-icon\",{\"text\":[1],\"icon\":[1],\"containerId\":[32]}],[0,\"verdocs-button\",{\"label\":[1],\"startIcon\":[1,\"start-icon\"],\"endIcon\":[1,\"end-icon\"],\"size\":[1],\"type\":[1],\"variant\":[1],\"disabled\":[4]}]]],[\"verdocs-ok-dialog.cjs\",[[0,\"verdocs-ok-dialog\",{\"heading\":[1],\"message\":[1],\"buttonLabel\":[1,\"button-label\"],\"showCancel\":[4,\"show-cancel\"],\"closed\":[32]}]]],[\"verdocs-view.cjs\",[[0,\"verdocs-view\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"headerTargetId\":[1,\"header-target-id\"],\"canceling\":[32],\"envelope\":[32],\"roleNames\":[32],\"showCancelDone\":[32]}]]],[\"verdocs-status-indicator.cjs\",[[0,\"verdocs-status-indicator\",{\"size\":[1],\"theme\":[1],\"status\":[1],\"envelope\":[16],\"isOpen\":[32],\"containerId\":[32]}]]],[\"verdocs-template-star.cjs\",[[0,\"verdocs-template-star\",{\"endpoint\":[16],\"template\":[1040],\"updating\":[32]}]]],[\"verdocs-envelope-recipient-link_2.cjs\",[[0,\"verdocs-envelope-recipient-link\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"roleName\":[1,\"role-name\"],\"isOpen\":[32],\"loading\":[32],\"gettingLink\":[32],\"link\":[32]}],[0,\"verdocs-envelope-recipient-summary\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"canSendAnother\":[4,\"can-send-another\"],\"canView\":[4,\"can-view\"],\"canDone\":[4,\"can-done\"],\"isOpen\":[32],\"loading\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32],\"gettingLinks\":[32],\"links\":[32]}]]],[\"verdocs-quick-functions_2.cjs\",[[0,\"verdocs-quick-functions\",{\"endpoint\":[16]}],[0,\"verdocs-search-box\",{\"endpoint\":[16],\"placeholder\":[1],\"type\":[1],\"query\":[1],\"grabsFocus\":[4,\"grabs-focus\"],\"focusField\":[64]}]]],[\"verdocs-envelope-document-page.cjs\",[[0,\"verdocs-envelope-document-page\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"type\":[1],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}]]],[\"verdocs-button-panel_2.cjs\",[[4,\"verdocs-button-panel\",{\"icon\":[1],\"showPanel\":[64],\"hidePanel\":[64],\"toggle\":[64]}],[4,\"verdocs-tabs\",{\"tabs\":[16],\"selectedTab\":[2,\"selected-tab\"]}]]],[\"verdocs-pagination_2.cjs\",[[0,\"verdocs-pagination\",{\"selectedPage\":[1538,\"selected-page\"],\"itemCount\":[2,\"item-count\"],\"perPage\":[2,\"per-page\"]}],[0,\"verdocs-quick-filter\",{\"options\":[16],\"label\":[1],\"value\":[1537],\"placeholder\":[1],\"open\":[32]}]]],[\"verdocs-spinner.cjs\",[[0,\"verdocs-spinner\",{\"size\":[2],\"mode\":[1]}]]],[\"verdocs-checkbox_4.cjs\",[[0,\"verdocs-template-field-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"fieldName\":[1025,\"field-name\"],\"helpText\":[1,\"help-text\"],\"dirty\":[32],\"loading\":[32],\"label\":[32],\"type\":[32],\"name\":[32],\"required\":[32],\"roleName\":[32],\"group\":[32],\"fieldType\":[32],\"options\":[32],\"placeholder\":[32],\"defaultValue\":[32],\"showingHelp\":[32]}],[0,\"verdocs-select-input\",{\"value\":[1],\"label\":[1],\"options\":[16],\"disabled\":[4]}],[0,\"verdocs-checkbox\",{\"checked\":[4],\"name\":[1],\"label\":[1],\"value\":[1],\"theme\":[1],\"disabled\":[4]}],[0,\"verdocs-component-error\",{\"message\":[1]}]]],[\"verdocs-template-document-page_2.cjs\",[[0,\"verdocs-toolbar-icon\",{\"text\":[1],\"icon\":[1],\"placement\":[1],\"containerId\":[32]}],[0,\"verdocs-template-document-page\",{\"endpoint\":[16],\"editable\":[4],\"disabled\":[4],\"done\":[4],\"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],\"xScale\":[32],\"yScale\":[32]}]]],[\"verdocs-contact-picker_2.cjs\",[[0,\"verdocs-contact-picker\",{\"endpoint\":[16],\"templateRole\":[16],\"contactSuggestions\":[16],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"message\":[32],\"showSuggestions\":[32],\"showMessage\":[32],\"delegator\":[32],\"showKba\":[32],\"kbaMethod\":[32],\"pinCode\":[32],\"nameFieldId\":[32],\"firstNameFieldId\":[32],\"lastNameFieldId\":[32],\"emailFieldId\":[32],\"phoneFieldId\":[32]}],[0,\"verdocs-toggle-button\",{\"active\":[4],\"icon\":[1],\"label\":[1],\"size\":[1],\"_active\":[32]}]]],[\"verdocs-file-chooser_2.cjs\",[[0,\"verdocs-file-chooser\",{\"endpoint\":[16],\"file\":[32]}],[0,\"verdocs-progress-bar\",{\"label\":[1],\"showPercent\":[4,\"show-percent\"],\"percent\":[2]}]]],[\"verdocs-radio-button_3.cjs\",[[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],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"delegator\":[32]}],[0,\"verdocs-template-sender\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"sender\":[1],\"saving\":[32]}],[0,\"verdocs-radio-button\",{\"checked\":[4],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"verdocs-loader.cjs\",[[0,\"verdocs-loader\"]]],[\"verdocs-organization-card_2.cjs\",[[0,\"verdocs-organization-card\",{\"organization\":[16],\"hovered\":[32]},[[1,\"mouseover\",\"onMouseOver\"],[1,\"mouseout\",\"onMouseOut\"]]],[4,\"verdocs-portal\",{\"anchor\":[1],\"voffset\":[2],\"align\":[1]},[[11,\"scroll\",\"handleScroll\"],[11,\"resize\",\"handleResize\"],[10,\"click\",\"handleClick\"]]]]],[\"verdocs-field-attachment_13.cjs\",[[0,\"verdocs-field-attachment\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"selectedFile\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-initial\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"initials\":[513],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempInitials\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-signature\",{\"templateid\":[513],\"fieldname\":[513],\"name\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempSignature\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-checkbox\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-date\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"field\":[16],\"containerId\":[32],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-dropdown\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-radio\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textarea\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textbox\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"multiline\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-timestamp\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[2],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-initial-dialog\",{\"initials\":[1],\"fontLoaded\":[32],\"enteredInitials\":[32],\"mode\":[32]}],[0,\"verdocs-signature-dialog\",{\"name\":[1],\"fontLoaded\":[32],\"enteredName\":[32],\"mode\":[32]}],[0,\"verdocs-upload-dialog\",{\"draggingOver\":[32],\"decodedFiles\":[32]}]]],[\"verdocs-preview_10.cjs\",[[0,\"verdocs-template-fields\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"toolbarTargetId\":[1,\"toolbar-target-id\"],\"placing\":[32],\"showMustSelectRole\":[32],\"selectedRoleName\":[32],\"loading\":[32]},[[4,\"keydown\",\"handleKeyDown\"]]],[0,\"verdocs-preview\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"loading\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-roles\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showingRoleDialog\":[32],\"showingSenderDialog\":[32],\"sender\":[32],\"loading\":[32]}],[0,\"verdocs-send\",{\"endpoint\":[16],\"templateId\":[513,\"template-id\"],\"environment\":[1],\"containerId\":[32],\"showPickerForId\":[32],\"sessionContacts\":[32],\"sending\":[32],\"rolesCompleted\":[32],\"templateStore\":[32],\"roleStore\":[32],\"reset\":[64]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-attachments\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"uploading\":[32],\"progressLabel\":[32],\"progressPercent\":[32],\"showDeleteError\":[32],\"confirmDeleteDocument\":[32],\"store\":[32]}],[0,\"verdocs-template-reminders\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showPlanBlocker\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32],\"dirty\":[32]}],[0,\"verdocs-template-name\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"dirty\":[32]}],[0,\"verdocs-template-create\",{\"endpoint\":[16],\"file\":[32],\"creating\":[32],\"progressLabel\":[32],\"progressPercent\":[32]}],[0,\"verdocs-template-build-tabs\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}],[0,\"verdocs-template-visibility\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"dirty\":[32],\"personal\":[32],\"public\":[32]}]]]]"), options);
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"verdocs-build.cjs\",[[0,\"verdocs-build\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}]]],[\"verdocs-envelopes-list.cjs\",[[0,\"verdocs-envelopes-list\",{\"endpoint\":[16],\"view\":[1537],\"status\":[1537],\"sort\":[1537],\"match\":[1537],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"selectedEnvelopes\":[32],\"envelopes\":[32]},null,{\"view\":[\"handleViewUpdated\"],\"status\":[\"handleStatusUpdated\"],\"sort\":[\"handleSortUpdated\"],\"match\":[\"handleMatchUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-templates-list.cjs\",[[0,\"verdocs-templates-list\",{\"endpoint\":[16],\"sharing\":[1537],\"starred\":[1537],\"sort\":[1537],\"name\":[1537],\"allowedActions\":[1040],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"confirmDelete\":[32],\"templates\":[32],\"localNameFilter\":[32]},null,{\"sharing\":[\"handleSharingUpdated\"],\"starred\":[\"handleStarredUpdated\"],\"sort\":[\"handleSortUpdated\"],\"name\":[\"handleNameUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-sign.cjs\",[[0,\"verdocs-sign\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"roleId\":[1,\"role-id\"],\"inviteCode\":[1,\"invite-code\"],\"headerTargetId\":[1,\"header-target-id\"],\"envelope\":[32],\"roleNames\":[32],\"sortedRecipients\":[32],\"recipient\":[32],\"hasSignature\":[32],\"nextButtonLabel\":[32],\"nextSubmits\":[32],\"errorMessage\":[32],\"focusedField\":[32],\"submitting\":[32],\"isDone\":[32],\"showDone\":[32],\"showLoadError\":[32],\"finishLater\":[32],\"showFinishLater\":[32],\"agreed\":[32],\"documentsSingularPlural\":[32]}]]],[\"verdocs-envelope-sidebar.cjs\",[[0,\"verdocs-envelope-sidebar\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"activeTab\":[32],\"panelOpen\":[32],\"showManageDialog\":[32],\"showRecipientDialog\":[32],\"showCancelDialog\":[32],\"loading\":[32]}]]],[\"verdocs-auth.cjs\",[[0,\"verdocs-auth\",{\"endpoint\":[16],\"visible\":[4],\"logo\":[1],\"displayMode\":[32],\"org_name\":[32],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"verificationCode\":[32],\"password\":[32],\"confirmpass\":[32],\"submitting\":[32],\"resendDisabled\":[32],\"session\":[32],\"profile\":[32]}]]],[\"verdocs-kba-dialog.cjs\",[[0,\"verdocs-kba-dialog\",{\"step\":[2],\"steps\":[2],\"helptitle\":[1],\"helptext\":[1],\"mode\":[1],\"label\":[1],\"placeholder\":[1],\"choices\":[16],\"response\":[32]}]]],[\"verdocs-dialog.cjs\",[[4,\"verdocs-dialog\"]]],[\"verdocs-field-payment.cjs\",[[0,\"verdocs-field-payment\",{\"templateid\":[1],\"fieldname\":[1],\"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],\"xscale\":[2],\"yscale\":[2],\"pagenumber\":[2],\"roleindex\":[2],\"preparedMessage\":[32],\"signatureUrl\":[32],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-quick-functions.cjs\",[[0,\"verdocs-quick-functions\",{\"endpoint\":[16]}]]],[\"verdocs-search-box.cjs\",[[0,\"verdocs-search-box\",{\"endpoint\":[16],\"placeholder\":[1],\"type\":[1],\"query\":[1],\"grabsFocus\":[4,\"grabs-focus\"],\"focusField\":[64]}]]],[\"verdocs-search-tabs.cjs\",[[0,\"verdocs-search-tabs\",{\"selected\":[32]}]]],[\"verdocs-table.cjs\",[[0,\"verdocs-table\",{\"columns\":[16],\"data\":[16]}]]],[\"verdocs-template-card.cjs\",[[0,\"verdocs-template-card\",{\"template\":[16]}]]],[\"verdocs-template-tags.cjs\",[[0,\"verdocs-template-tags\",{\"tags\":[16]}]]],[\"verdocs-toggle.cjs\",[[0,\"verdocs-toggle\",{\"options\":[16],\"theme\":[1],\"selectedOption\":[32]}]]],[\"verdocs-button_3.cjs\",[[0,\"verdocs-text-input\",{\"value\":[1537],\"label\":[1],\"placeholder\":[1],\"autocomplete\":[1],\"helpText\":[1,\"help-text\"],\"clearable\":[4],\"copyable\":[4],\"type\":[1],\"disabled\":[4],\"required\":[4],\"showingPw\":[32]}],[0,\"verdocs-help-icon\",{\"text\":[1],\"icon\":[1],\"containerId\":[32]}],[0,\"verdocs-button\",{\"label\":[1],\"startIcon\":[1,\"start-icon\"],\"endIcon\":[1,\"end-icon\"],\"size\":[1],\"type\":[1],\"variant\":[1],\"disabled\":[4]}]]],[\"verdocs-ok-dialog.cjs\",[[0,\"verdocs-ok-dialog\",{\"heading\":[1],\"message\":[1],\"buttonLabel\":[1,\"button-label\"],\"showCancel\":[4,\"show-cancel\"],\"closed\":[32]}]]],[\"verdocs-view.cjs\",[[0,\"verdocs-view\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"headerTargetId\":[1,\"header-target-id\"],\"canceling\":[32],\"envelope\":[32],\"roleNames\":[32],\"showCancelDone\":[32]}]]],[\"verdocs-status-indicator.cjs\",[[0,\"verdocs-status-indicator\",{\"size\":[1],\"theme\":[1],\"status\":[1],\"envelope\":[16],\"isOpen\":[32],\"containerId\":[32]}]]],[\"verdocs-template-star.cjs\",[[0,\"verdocs-template-star\",{\"endpoint\":[16],\"template\":[1040],\"updating\":[32]}]]],[\"verdocs-envelope-recipient-link_2.cjs\",[[0,\"verdocs-envelope-recipient-link\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"roleName\":[1,\"role-name\"],\"isOpen\":[32],\"loading\":[32],\"gettingLink\":[32],\"link\":[32]}],[0,\"verdocs-envelope-recipient-summary\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"canSendAnother\":[4,\"can-send-another\"],\"canView\":[4,\"can-view\"],\"canDone\":[4,\"can-done\"],\"isOpen\":[32],\"loading\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32],\"gettingLinks\":[32],\"links\":[32]}]]],[\"verdocs-envelope-document-page.cjs\",[[0,\"verdocs-envelope-document-page\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"type\":[1],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}]]],[\"verdocs-button-panel_2.cjs\",[[4,\"verdocs-button-panel\",{\"icon\":[1],\"showPanel\":[64],\"hidePanel\":[64],\"toggle\":[64]}],[4,\"verdocs-tabs\",{\"tabs\":[16],\"selectedTab\":[2,\"selected-tab\"]}]]],[\"verdocs-pagination_2.cjs\",[[0,\"verdocs-pagination\",{\"selectedPage\":[1538,\"selected-page\"],\"itemCount\":[2,\"item-count\"],\"perPage\":[2,\"per-page\"]}],[0,\"verdocs-quick-filter\",{\"options\":[16],\"label\":[1],\"value\":[1537],\"placeholder\":[1],\"open\":[32]}]]],[\"verdocs-spinner.cjs\",[[0,\"verdocs-spinner\",{\"size\":[2],\"mode\":[1]}]]],[\"verdocs-checkbox_4.cjs\",[[0,\"verdocs-template-field-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"fieldName\":[1025,\"field-name\"],\"helpText\":[1,\"help-text\"],\"dirty\":[32],\"loading\":[32],\"label\":[32],\"type\":[32],\"name\":[32],\"required\":[32],\"roleName\":[32],\"group\":[32],\"fieldType\":[32],\"options\":[32],\"placeholder\":[32],\"defaultValue\":[32],\"showingHelp\":[32]}],[0,\"verdocs-select-input\",{\"value\":[1],\"label\":[1],\"options\":[16],\"disabled\":[4]}],[0,\"verdocs-checkbox\",{\"checked\":[4],\"name\":[1],\"label\":[1],\"value\":[1],\"theme\":[1],\"disabled\":[4]}],[0,\"verdocs-component-error\",{\"message\":[1]}]]],[\"verdocs-template-document-page_2.cjs\",[[0,\"verdocs-toolbar-icon\",{\"text\":[1],\"icon\":[1],\"placement\":[1],\"containerId\":[32]}],[0,\"verdocs-template-document-page\",{\"endpoint\":[16],\"editable\":[4],\"disabled\":[4],\"done\":[4],\"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],\"xScale\":[32],\"yScale\":[32]}]]],[\"verdocs-contact-picker_2.cjs\",[[0,\"verdocs-contact-picker\",{\"endpoint\":[16],\"templateRole\":[16],\"contactSuggestions\":[16],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"message\":[32],\"showSuggestions\":[32],\"showMessage\":[32],\"delegator\":[32],\"showKba\":[32],\"kbaMethod\":[32],\"pinCode\":[32],\"nameFieldId\":[32],\"firstNameFieldId\":[32],\"lastNameFieldId\":[32],\"emailFieldId\":[32],\"phoneFieldId\":[32]}],[0,\"verdocs-toggle-button\",{\"active\":[4],\"icon\":[1],\"label\":[1],\"size\":[1],\"_active\":[32]}]]],[\"verdocs-file-chooser_2.cjs\",[[0,\"verdocs-file-chooser\",{\"endpoint\":[16],\"file\":[32]}],[0,\"verdocs-progress-bar\",{\"label\":[1],\"showPercent\":[4,\"show-percent\"],\"percent\":[2]}]]],[\"verdocs-dropdown.cjs\",[[0,\"verdocs-dropdown\",{\"options\":[16]},[[9,\"resize\",\"handleResize\"]]]]],[\"verdocs-radio-button_3.cjs\",[[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],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"delegator\":[32]}],[0,\"verdocs-template-sender\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"sender\":[1],\"saving\":[32]}],[0,\"verdocs-radio-button\",{\"checked\":[4],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"verdocs-loader.cjs\",[[0,\"verdocs-loader\"]]],[\"verdocs-organization-card_2.cjs\",[[0,\"verdocs-organization-card\",{\"organization\":[16],\"hovered\":[32]},[[1,\"mouseover\",\"onMouseOver\"],[1,\"mouseout\",\"onMouseOut\"]]],[4,\"verdocs-portal\",{\"anchor\":[1],\"voffset\":[2],\"align\":[1]},[[11,\"scroll\",\"handleScroll\"],[11,\"resize\",\"handleResize\"],[10,\"click\",\"handleClick\"]]]]],[\"verdocs-field-attachment_13.cjs\",[[0,\"verdocs-field-attachment\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"selectedFile\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-initial\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"initials\":[513],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempInitials\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-signature\",{\"templateid\":[513],\"fieldname\":[513],\"name\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempSignature\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-checkbox\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-date\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"field\":[16],\"containerId\":[32],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-dropdown\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-radio\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textarea\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textbox\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"multiline\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-timestamp\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[2],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-initial-dialog\",{\"initials\":[1],\"fontLoaded\":[32],\"enteredInitials\":[32],\"mode\":[32]}],[0,\"verdocs-signature-dialog\",{\"name\":[1],\"fontLoaded\":[32],\"enteredName\":[32],\"mode\":[32]}],[0,\"verdocs-upload-dialog\",{\"draggingOver\":[32],\"decodedFiles\":[32]}]]],[\"verdocs-preview_10.cjs\",[[0,\"verdocs-template-fields\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"toolbarTargetId\":[1,\"toolbar-target-id\"],\"placing\":[32],\"showMustSelectRole\":[32],\"selectedRoleName\":[32],\"loading\":[32]},[[4,\"keydown\",\"handleKeyDown\"]]],[0,\"verdocs-preview\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"loading\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-roles\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showingRoleDialog\":[32],\"showingSenderDialog\":[32],\"sender\":[32],\"loading\":[32]}],[0,\"verdocs-send\",{\"endpoint\":[16],\"templateId\":[513,\"template-id\"],\"environment\":[1],\"containerId\":[32],\"showPickerForId\":[32],\"sessionContacts\":[32],\"sending\":[32],\"rolesCompleted\":[32],\"templateStore\":[32],\"roleStore\":[32],\"reset\":[64]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-attachments\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"uploading\":[32],\"progressLabel\":[32],\"progressPercent\":[32],\"showDeleteError\":[32],\"confirmDeleteDocument\":[32],\"store\":[32]}],[0,\"verdocs-template-reminders\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showPlanBlocker\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32],\"dirty\":[32]}],[0,\"verdocs-template-name\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"dirty\":[32]}],[0,\"verdocs-template-create\",{\"endpoint\":[16],\"file\":[32],\"creating\":[32],\"progressLabel\":[32],\"progressPercent\":[32]}],[0,\"verdocs-template-build-tabs\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}],[0,\"verdocs-template-visibility\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"dirty\":[32],\"personal\":[32],\"public\":[32]}]]]]"), options);
|
23
23
|
});
|
24
24
|
|
25
25
|
exports.setNonce = index.setNonce;
|
@@ -38,7 +38,6 @@
|
|
38
38
|
"components/elements/verdocs-quick-functions/verdocs-quick-functions.js",
|
39
39
|
"components/elements/verdocs-search-tabs/verdocs-search-tabs.js",
|
40
40
|
"components/embeds/verdocs-preview/verdocs-preview.js",
|
41
|
-
"components/embeds/verdocs-search/verdocs-search.js",
|
42
41
|
"components/embeds/verdocs-send/verdocs-send.js",
|
43
42
|
"components/embeds/verdocs-sign/verdocs-sign.js",
|
44
43
|
"components/embeds/verdocs-view/verdocs-view.js",
|
@@ -3,18 +3,28 @@ import { h } from "@stencil/core";
|
|
3
3
|
import { VerdocsToast } from "../../../utils/Toast";
|
4
4
|
import { SDKError } from "../../../utils/errors";
|
5
5
|
/**
|
6
|
-
* Display an authentication dialog that allows the user to login or sign up. If the user is
|
7
|
-
* with a valid session, this component will hide itself and fire the
|
8
|
-
* host application to render the next appropriate
|
6
|
+
* Display an authentication dialog that allows the user to login or sign up. If the user is
|
7
|
+
* already authenticated with a valid session, this component will hide itself and fire the
|
8
|
+
* success callback immediately. It is up to the host application to render the next appropriate
|
9
|
+
* view for the application.
|
9
10
|
*
|
10
11
|
* To simplify UI development, a visibility flag can force this component to never display. This
|
11
|
-
* allows you to
|
12
|
+
* allows you to subscribe to notifications from client apps without calling the lower-level JS SDK.
|
12
13
|
*
|
13
|
-
* This embed is responsive / mobile-friendly, but the calling application should provide at
|
14
|
-
* container to allow sufficient space for the required forms.
|
14
|
+
* This embed is responsive / mobile-friendly, but the calling application should provide at
|
15
|
+
* least a 300px wide container to allow sufficient space for the required forms.
|
15
16
|
*
|
16
17
|
* ```ts
|
17
|
-
*
|
18
|
+
* interface IAuthStatus {
|
19
|
+
* authenticated: boolean;
|
20
|
+
* session: TSession;
|
21
|
+
* profile: IProfile | null;
|
22
|
+
* }
|
23
|
+
*
|
24
|
+
* <verdocs-auth
|
25
|
+
* onAuthenticated={({ detail }: { detail: IAuthStatus }) => console.log('Authentication state:', detail) }
|
26
|
+
* onSdkError={({ detail }) => { console.log('SDK error', detail) }
|
27
|
+
* />
|
18
28
|
* ```
|
19
29
|
*/
|
20
30
|
export class VerdocsAuth {
|
@@ -3,10 +3,40 @@ import { h, Host } from "@stencil/core";
|
|
3
3
|
import { getTemplateStore } from "../../../utils/TemplateStore";
|
4
4
|
import { SDKError } from "../../../utils/errors";
|
5
5
|
/**
|
6
|
-
* Display a template building experience.
|
6
|
+
* Display a template building experience. Several event callbacks provide status updates to the
|
7
|
+
* parent application to support interface updates.
|
7
8
|
*
|
8
9
|
* ```ts
|
9
|
-
*
|
10
|
+
* type TVerdocsBuildStep = 'attachments' | 'roles' | 'settings' | 'fields' | 'preview'
|
11
|
+
*
|
12
|
+
* interface IEnvelopeSent {
|
13
|
+
* name: string;
|
14
|
+
* template_id: string
|
15
|
+
* recipients: ICreateEnvelopeRecipient[];
|
16
|
+
* }
|
17
|
+
*
|
18
|
+
* interface ITemplateEvent {
|
19
|
+
* event: string
|
20
|
+
* template: ITemplate;
|
21
|
+
* }
|
22
|
+
*
|
23
|
+
* interface IRolesEvent {
|
24
|
+
* event: string
|
25
|
+
* templateId: string;
|
26
|
+
* roles: ITemplateRole[];
|
27
|
+
* }
|
28
|
+
*
|
29
|
+
* <verdocs-build
|
30
|
+
* templateId={templateId}
|
31
|
+
* step="preview"
|
32
|
+
* onAuthenticated={({ detail }: { detail: IAuthStatus }) => console.log('Authentication state:', detail) }}
|
33
|
+
* onStepChanged={({ detail }: { detail: TVerdocsBuildStep }) => { console.log('Step changed', detail) }}
|
34
|
+
* onSend={({ detail }: { detail: IEnvelopeSent }) => { console.log('Step changed', detail) }}
|
35
|
+
* onTemplateUpdated={({ detail }: { detail: ITemplateEvent }) => { console.log('Template updated', detail) }}
|
36
|
+
* onTemplateCreated={({ detail }: { detail: ITemplateEvent }) => { console.log('Template created', detail) }}
|
37
|
+
* onRolesUpdated={({ detail }) => { console.log('Roles updated', detail) }}
|
38
|
+
* onSdkError={({ detail }) => { console.log('SDK error', detail) }}
|
39
|
+
* />
|
10
40
|
* ```
|
11
41
|
*/
|
12
42
|
export class VerdocsBuild {
|
@@ -1,10 +1,8 @@
|
|
1
1
|
import { integerSequence, VerdocsEndpoint } from "@verdocs/js-sdk";
|
2
|
-
import { h, Fragment } from "@stencil/core";
|
2
|
+
import { Host, h, Fragment } from "@stencil/core";
|
3
3
|
import { getTemplateFieldStore } from "../../../utils/TemplateFieldStore";
|
4
4
|
import { getTemplateRoleStore } from "../../../utils/TemplateRoleStore";
|
5
5
|
import { getTemplateStore } from "../../../utils/TemplateStore";
|
6
|
-
import { Host } from "@stencil/core";
|
7
|
-
// import {IDocumentPageInfo} from '../../../utils/Types';
|
8
6
|
import { SDKError } from "../../../utils/errors";
|
9
7
|
/**
|
10
8
|
* Display a template preview experience. This will display the template's attached
|
@@ -12,7 +10,10 @@ import { SDKError } from "../../../utils/errors";
|
|
12
10
|
* by recipient, and will be read-only (cannot be filled, moved, or altered).
|
13
11
|
*
|
14
12
|
* ```ts
|
15
|
-
* <verdocs-preview
|
13
|
+
* <verdocs-preview
|
14
|
+
* templateId={templateId}
|
15
|
+
* onSdkError={({ detail }) => { console.log('SDK error', detail) }
|
16
|
+
* />
|
16
17
|
* ```
|
17
18
|
*/
|
18
19
|
export class VerdocsPreview {
|
@@ -8,19 +8,20 @@ const startIcon = '<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24"
|
|
8
8
|
const stepIcon = '<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24" tabindex="-1"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></svg>';
|
9
9
|
const doneIcon = '<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24" tabindex="-1"><path d="m18 7-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41 6 19l1.41-1.41L1.83 12 .41 13.41z"></path></svg>';
|
10
10
|
/**
|
11
|
-
* Display a form to send a template to one or more recipients in an envelope for signing.
|
12
|
-
* that because most applications have custom workflow requirements to trigger after sending an
|
13
|
-
* Envelope, this component does not actually perform that operation. Parent applications should
|
14
|
-
* listen for the `onSend` event, and can pass the contents of `event.detail` directly to the
|
15
|
-
* `createEnvelope()` call in JS-SDK.
|
16
|
-
*
|
11
|
+
* Display a form to send a template to one or more recipients in an envelope for signing.
|
17
12
|
* Host applications should ensure the template is "sendable" before displaying this component.
|
18
13
|
* To be sendable, a template must have at least one document attached, at least one participant
|
19
14
|
* defined, and at least one field assigned to every "signer" participant. This component will
|
20
15
|
* hide itself if the template is not sendable.
|
21
16
|
*
|
22
17
|
* ```ts
|
23
|
-
* <verdocs-send
|
18
|
+
* <verdocs-send
|
19
|
+
* templateId={templateId}
|
20
|
+
* onSend={({ detail }) => { console.log('Sent!', detail) }
|
21
|
+
* onSendingEnvelope={()) => { console.log('Sending... Show a spinner...') }
|
22
|
+
* onExit={(e) => { console.log('Send cancelled.', detail) }
|
23
|
+
* onSdkError={({ detail }) => { console.log('SDK error', detail) }
|
24
|
+
* />
|
24
25
|
* ```
|
25
26
|
*/
|
26
27
|
export class VerdocsSend {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Host, Fragment, h } from "@stencil/core";
|
2
|
-
import {
|
3
|
-
import {
|
2
|
+
import { createInitials, createSignature, envelopeRecipientAgree, envelopeRecipientDecline, envelopeRecipientSubmit } from "@verdocs/js-sdk";
|
3
|
+
import { updateEnvelopeFieldSignature, uploadEnvelopeFieldAttachment, VerdocsEndpoint, updateEnvelopeField } from "@verdocs/js-sdk";
|
4
4
|
import { integerSequence, isValidEmail, isValidPhone, updateEnvelopeFieldInitials } from "@verdocs/js-sdk";
|
5
|
-
import {
|
5
|
+
import { fullNameToInitials, getEnvelope, startSigningSession } from "@verdocs/js-sdk";
|
6
6
|
import { getFieldId, renderDocumentField, saveAttachment, updateDocumentFieldValue } from "../../../utils/utils";
|
7
7
|
import { createTemplateFieldStoreFromEnvelope } from "../../../utils/TemplateFieldStore";
|
8
8
|
import { VerdocsToast } from "../../../utils/Toast";
|
@@ -37,8 +37,8 @@ const doneMenuOptions = [
|
|
37
37
|
*/
|
38
38
|
export class VerdocsSign {
|
39
39
|
constructor() {
|
40
|
-
this.endpoint = null;
|
41
40
|
this.recipientIndex = -1;
|
41
|
+
this.endpoint = null;
|
42
42
|
this.envelopeId = null;
|
43
43
|
this.roleId = null;
|
44
44
|
this.inviteCode = null;
|
@@ -62,7 +62,10 @@ export class VerdocsSign {
|
|
62
62
|
this.documentsSingularPlural = 'document';
|
63
63
|
}
|
64
64
|
componentWillLoad() {
|
65
|
-
this.endpoint
|
65
|
+
if (!this.endpoint) {
|
66
|
+
console.log('[SIGN] Creating signing endpoint');
|
67
|
+
this.endpoint = new VerdocsEndpoint({ sessionType: 'signing' });
|
68
|
+
}
|
66
69
|
}
|
67
70
|
async componentWillRender() {
|
68
71
|
var _a, _b, _c, _d, _e, _f, _g;
|
@@ -80,7 +83,7 @@ export class VerdocsSign {
|
|
80
83
|
}
|
81
84
|
try {
|
82
85
|
console.log(`[SIGN] Processing invite code for ${this.envelopeId} / ${this.roleId}`);
|
83
|
-
const { envelope, access_token } = await
|
86
|
+
const { envelope, access_token } = await startSigningSession(this.endpoint, this.envelopeId, this.roleId, this.inviteCode);
|
84
87
|
const recipient = envelope.recipients.find(r => r.role_name === this.roleId);
|
85
88
|
console.log(`[SIGN] Loaded signing session`, envelope, recipient, access_token);
|
86
89
|
this.recipient = recipient;
|
@@ -201,7 +204,6 @@ export class VerdocsSign {
|
|
201
204
|
.catch(e => {
|
202
205
|
var _a, _b, _c, _d, _e, _f;
|
203
206
|
if (((_a = e.response) === null || _a === void 0 ? void 0 : _a.status) === 401 && ((_c = (_b = e.response) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.error) === 'jwt expired') {
|
204
|
-
// TODO: Do we want to improve the instructions here?
|
205
207
|
console.log('[SIGN] Signing session expired');
|
206
208
|
this.errorMessage = 'Signing session expired. Please reload your browser to continue.';
|
207
209
|
}
|
@@ -334,12 +336,6 @@ export class VerdocsSign {
|
|
334
336
|
this.recipient.status = 'submitted';
|
335
337
|
this.showDone = true;
|
336
338
|
this.isDone = true;
|
337
|
-
// TODO: This is a temporary hack. After submitting, if we immediately show the View component it won't have re-renedered the
|
338
|
-
// pages yet with our submitted data.
|
339
|
-
// setTimeout(() => {
|
340
|
-
// console.log('[SIGN] Reloading');
|
341
|
-
// window.location.reload();
|
342
|
-
// }, 250);
|
343
339
|
}
|
344
340
|
catch (e) {
|
345
341
|
console.log('[SIGN] Error submitting', e);
|
@@ -534,6 +530,28 @@ export class VerdocsSign {
|
|
534
530
|
}
|
535
531
|
static get properties() {
|
536
532
|
return {
|
533
|
+
"endpoint": {
|
534
|
+
"type": "unknown",
|
535
|
+
"mutable": false,
|
536
|
+
"complexType": {
|
537
|
+
"original": "VerdocsEndpoint",
|
538
|
+
"resolved": "VerdocsEndpoint",
|
539
|
+
"references": {
|
540
|
+
"VerdocsEndpoint": {
|
541
|
+
"location": "import",
|
542
|
+
"path": "@verdocs/js-sdk",
|
543
|
+
"id": "node_modules::VerdocsEndpoint"
|
544
|
+
}
|
545
|
+
}
|
546
|
+
},
|
547
|
+
"required": false,
|
548
|
+
"optional": false,
|
549
|
+
"docs": {
|
550
|
+
"tags": [],
|
551
|
+
"text": "The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used."
|
552
|
+
},
|
553
|
+
"defaultValue": "null"
|
554
|
+
},
|
537
555
|
"envelopeId": {
|
538
556
|
"type": "string",
|
539
557
|
"mutable": false,
|
@@ -3,7 +3,15 @@ import { h, Host, Fragment } from "@stencil/core";
|
|
3
3
|
import { saveEnvelopesAsZip } from "../../../utils/utils";
|
4
4
|
import { SDKError } from "../../../utils/errors";
|
5
5
|
/**
|
6
|
-
* Render the documents attached to an envelope in read-only (view) mode. All documents are
|
6
|
+
* Render the documents attached to an envelope in read-only (view) mode. All documents are
|
7
|
+
* displayed in order.
|
8
|
+
*
|
9
|
+
* ```ts
|
10
|
+
* <verdocs-view
|
11
|
+
* envelopeId={envelopeId}
|
12
|
+
* onSdkError={({ detail }) => { console.log('SDK error', detail) }
|
13
|
+
* />
|
14
|
+
* ```
|
7
15
|
*/
|
8
16
|
export class VerdocsView {
|
9
17
|
constructor() {
|
@@ -75,7 +75,7 @@ export class VerdocsEnvelopeDocumentPage {
|
|
75
75
|
}
|
76
76
|
render() {
|
77
77
|
const height = `${this.renderedHeight}px`;
|
78
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: '665b5a6ff95da03cf616a320e073bc9cfa05b8b9', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-envelope-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } })) : this.pageDisplayUri ? (h("img", { class: "verdocs-envelope-document-page-layer img", id: `${this.containerId}-${layer.name}`, src: this.pageDisplayUri, alt: `Page ${this.pageNumber}`, "aria-hidden": true, loading: "lazy", onLoad: (e) => {
|
79
79
|
// Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
|
80
80
|
// useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
|
81
81
|
// Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
|
@@ -95,8 +95,12 @@ verdocs-envelope-recipient-link .summary-recipient .link-wrapper .link {
|
|
95
95
|
display: flex;
|
96
96
|
font-size: 16px;
|
97
97
|
padding: 0 12px;
|
98
|
+
overflow: hidden;
|
99
|
+
margin: 0 6px 0 0;
|
98
100
|
border-radius: 4px;
|
101
|
+
white-space: nowrap;
|
99
102
|
align-items: center;
|
103
|
+
text-overflow: ellipsis;
|
100
104
|
border: 1px solid #cccccc;
|
101
105
|
background: rgb(249, 250, 251);
|
102
106
|
}
|
package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { format } from "date-fns";
|
2
|
-
import { cancelEnvelope, resendInvitation, userIsEnvelopeOwner, VerdocsEndpoint } from "@verdocs/js-sdk";
|
2
|
+
import { cancelEnvelope, capitalize, resendInvitation, userIsEnvelopeOwner, VerdocsEndpoint } from "@verdocs/js-sdk";
|
3
3
|
import { h, Host } from "@stencil/core";
|
4
4
|
import { getEnvelopeStore } from "../../../utils/EnvelopeStore";
|
5
5
|
import { FORMAT_TIMESTAMP } from "../../../utils/Types";
|
@@ -258,7 +258,7 @@ export class VerdocsEnvelopeSidebar {
|
|
258
258
|
const isEnvelopeOwner = userIsEnvelopeOwner(this.endpoint.profile, this.store.state);
|
259
259
|
const historyEntries = this.prepareHistoryEntries();
|
260
260
|
const functionsDisabled = ((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.status) !== 'pending' && ((_d = (_c = this.store) === null || _c === void 0 ? void 0 : _c.state) === null || _d === void 0 ? void 0 : _d.status) !== 'in progress';
|
261
|
-
return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "side-buttons" }, h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (h("div", { class: "content" }, h("div", { class: "title" }, "Details"), h("div", { class: "label" }, "Envelope ID"), h("div", { class: "value" }, (_f = (_e = this.store) === null || _e === void 0 ? void 0 : _e.state) === null || _f === void 0 ? void 0 : _f.id), h("div", { class: "label" }, "Date Created"), h("div", { class: "value" }, format(new Date((_h = (_g = this.store) === null || _g === void 0 ? void 0 : _g.state) === null || _h === void 0 ? void 0 : _h.created_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Last Modified"), h("div", { class: "value" }, format(new Date((_k = (_j = this.store) === null || _j === void 0 ? void 0 : _j.state) === null || _k === void 0 ? void 0 : _k.updated_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Status"), h("div", { class: "value" }, (_m = (_l = this.store) === null || _l === void 0 ? void 0 : _l.state) === null || _m === void 0 ? void 0 : _m.status), h("div", { class: "label" }, "Verdoc Owner ID"), h("div", { class: "value" }, (_p = (_o = this.store) === null || _o === void 0 ? void 0 : _o.state) === null || _p === void 0 ? void 0 : _p.profile_id), h("div", { class: "label" }, "Verdoc Owner Name"), h("div", { class: "value" }, (_s = (_r = (_q = this.store) === null || _q === void 0 ? void 0 : _q.state) === null || _r === void 0 ? void 0 : _r.profile) === null || _s === void 0 ? void 0 :
|
261
|
+
return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "side-buttons" }, h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (h("div", { class: "content" }, h("div", { class: "title" }, "Details"), h("div", { class: "label" }, "Envelope ID"), h("div", { class: "value" }, (_f = (_e = this.store) === null || _e === void 0 ? void 0 : _e.state) === null || _f === void 0 ? void 0 : _f.id), h("div", { class: "label" }, "Date Created"), h("div", { class: "value" }, format(new Date((_h = (_g = this.store) === null || _g === void 0 ? void 0 : _g.state) === null || _h === void 0 ? void 0 : _h.created_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Last Modified"), h("div", { class: "value" }, format(new Date((_k = (_j = this.store) === null || _j === void 0 ? void 0 : _j.state) === null || _k === void 0 ? void 0 : _k.updated_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Status"), h("div", { class: "value" }, capitalize((_m = (_l = this.store) === null || _l === void 0 ? void 0 : _l.state) === null || _m === void 0 ? void 0 : _m.status)), h("div", { class: "label" }, "Verdoc Owner ID"), h("div", { class: "value" }, (_p = (_o = this.store) === null || _o === void 0 ? void 0 : _o.state) === null || _p === void 0 ? void 0 : _p.profile_id), h("div", { class: "label" }, "Verdoc Owner Name"), h("div", { class: "value" }, (_s = (_r = (_q = this.store) === null || _q === void 0 ? void 0 : _q.state) === null || _r === void 0 ? void 0 : _r.profile) === null || _s === void 0 ? void 0 :
|
262
262
|
_s.first_name, " ", (_v = (_u = (_t = this.store) === null || _t === void 0 ? void 0 : _t.state) === null || _u === void 0 ? void 0 : _u.profile) === null || _v === void 0 ? void 0 :
|
263
263
|
_v.last_name), h("div", { class: "label" }, "Verdoc Owner Email"), h("div", { class: "value" }, (_y = (_x = (_w = this.store) === null || _w === void 0 ? void 0 : _w.state) === null || _x === void 0 ? void 0 : _x.profile) === null || _y === void 0 ? void 0 : _y.email))), this.activeTab === 2 && (h("div", { class: "content" }, h("div", { class: "title" }, "Recipients"), (_0 = (_z = this.store) === null || _z === void 0 ? void 0 : _z.state) === null || _0 === void 0 ? void 0 :
|
264
264
|
_0.recipients.map((recipient, index) => {
|
package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js
CHANGED
@@ -191,18 +191,18 @@ export class VerdocsEnvelopesList {
|
|
191
191
|
});
|
192
192
|
}
|
193
193
|
render() {
|
194
|
-
return (h(Host, { key: '
|
194
|
+
return (h(Host, { key: '3ae39749a7f73fc7c42cb22530d0bcf2580444d7' }, h("div", { key: '64e62d2161fba13ecbc6a6d1b4d27a72c39329a3', class: "header" }, h("div", { key: 'cbf70502d0d58448296babbc108cad7332feb337', class: "filter" }, h("verdocs-text-input", { key: '59585606699673d1114fc8ac3bd34d970c19d853', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
|
195
195
|
var _a;
|
196
196
|
// We don't locally filter envelopes because there are too many fields to match against efficiently.
|
197
197
|
this.match = e.target.value.trim();
|
198
198
|
(_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
|
199
|
-
} })), h("verdocs-quick-filter", { key: '
|
199
|
+
} })), h("verdocs-quick-filter", { key: 'a28bb6b35d27da46dbc281911353cd7db1884757', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
|
200
200
|
this.view = e.detail.value;
|
201
|
-
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
201
|
+
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: 'fdfdb38a536d101a68701f5fd43afb5e33ba401c', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
|
202
202
|
this.status = e.detail.value;
|
203
|
-
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
203
|
+
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '4392aac6533595b758822248bfee32644e33cce9', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
|
204
204
|
this.sort = e.detail.value;
|
205
|
-
} })), this.loading && h("verdocs-spinner", { key: '
|
205
|
+
} })), this.loading && h("verdocs-spinner", { key: 'bb385ef9fb1ea56892e9b0f8e42b2d30c483a970', mode: "dark", size: 24 }), h("div", { key: '2087c1466a7d48b6cdcf0b3fb84c09500b0be704', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'b4b58daf674c9c54ada7052c635d4ea5add10b17', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
|
206
206
|
var _a;
|
207
207
|
const recipientsWithActions = getRecipientsWithActions(envelope);
|
208
208
|
const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
|
@@ -243,7 +243,7 @@ export class VerdocsEnvelopesList {
|
|
243
243
|
break;
|
244
244
|
}
|
245
245
|
} }))));
|
246
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
246
|
+
}), !this.initiallyLoaded && (h("div", { key: '477e410e086b0dd58c10b22d1f378cb9c76a4207', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '4a9d505fe194b1a7ceee18b1dccf69672ebad48c', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
|
247
247
|
this.selectedPage = e.detail.selectedPage;
|
248
248
|
} }))) : (h("div", null))));
|
249
249
|
}
|
package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js
CHANGED
@@ -237,11 +237,11 @@ export class VerdocsStatusIndicator {
|
|
237
237
|
}
|
238
238
|
const icon = this.getStatusIcon(status);
|
239
239
|
const statusMessage = this.getStatusMessage(status);
|
240
|
-
return (h(Host, { key: '
|
240
|
+
return (h(Host, { key: 'cb3df0e5439959fcef0b1894d5ffddd2af947c96', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
|
241
241
|
e.stopPropagation();
|
242
242
|
e.preventDefault();
|
243
243
|
this.envelope && this.toggleDropdown();
|
244
|
-
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '
|
244
|
+
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: 'b553fd3bed10a8ccf2a1c6f0bb285c4660582c6e', class: "icon", innerHTML: icon }), h("span", { key: 'e1369e3750e506ec83208383de998889c588cf8f', class: "content" }, statusMessage), h("div", { key: 'a46c80df5eeaaab5b41fe597eddab62dc1bffba6', class: "detail-panel", ref: el => (this.detailPanel = el) }, h("div", { key: 'ee4422809f7e5b7ecec9e7a9a244df86b2645d13', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
|
245
245
|
}
|
246
246
|
static get is() { return "verdocs-status-indicator"; }
|
247
247
|
static get originalStyleUrls() {
|
@@ -12,7 +12,7 @@ export class VerdocsTemplateCard {
|
|
12
12
|
}
|
13
13
|
render() {
|
14
14
|
var _a, _b, _c, _d;
|
15
|
-
return (h(Host, { key: '
|
15
|
+
return (h(Host, { key: 'a8670b21458374c791e1835e0a7369aa359451a2' }, h("span", { key: 'ba7a05351f8aa125b992c887a1c056ee5c14ab00', class: "name" }, this.template.name), h("span", { key: '07fea4c4356041cc07611e336fafad069a942d2c', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: 'be1bd61224d09d48397d8b554670c212fbad13a3' }), h("div", { key: '4a116cf5f55a54d3d6f830b1a1d141bd3ecbc5f0', class: "controls" }, h("div", { key: '47c05f4f7d76dc2fa75712d7fd48e8b1c9e715fc', class: "control" }, h("span", { key: 'def691f440eb7c12b37ef00d8ff169c1aa7cadd1', class: "icon", innerHTML: StarIcon }), h("span", { key: '4626346b6882386e1d784a6ab017617fbeab8bf6', class: "value" }, this.template.star_counter)), h("div", { key: '01ee37e947c1e85fc32635561f224749a6497d4b', class: "control secondary" }, h("span", { key: '8350442a91495e92eea4902aecaea0b53d6b23f3', class: "icon", innerHTML: PagesIcon }), h("span", { key: '000cd4f4004aa53a0513f84ab1260c502ef1b5b2', class: "value" }, ((_d = (_c = (_b = this.template) === null || _b === void 0 ? void 0 : _b.documents) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.pages) || 1)), h("div", { key: '835666de2ad3e6b0a2dc45a6802388cc37946fde', class: "control secondary" }, h("span", { key: '549252d05b93026cba455a4fcf59d0e3d6cbcf17', class: "icon", innerHTML: EmailIcon }), h("span", { key: '6396617c8bcdab1f5ec50aa54499a6c3c177605b', class: "value" }, this.template.counter)), h("span", { key: 'f387927e6b0cc6d8f2a67fc438a396739f2f07f6', class: "additional-controls", innerHTML: ActionsIcon }))));
|
16
16
|
}
|
17
17
|
static get is() { return "verdocs-template-card"; }
|
18
18
|
static get originalStyleUrls() {
|
@@ -94,7 +94,7 @@ export class VerdocsTemplateDocumentPage {
|
|
94
94
|
}
|
95
95
|
render() {
|
96
96
|
const height = `${this.renderedHeight}px`;
|
97
|
-
return (h(Host, { key: '
|
97
|
+
return (h(Host, { key: '2dc68d82c5a20e8c2380f4a86f16ccb98c4d0efb', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-template-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } }, layer.name === 'controls' &&
|
98
98
|
this.fieldStore
|
99
99
|
.get('fields')
|
100
100
|
.filter(field => field && field.page === this.pageNumber)
|
@@ -116,34 +116,34 @@ export class VerdocsTemplateRoleProperties {
|
|
116
116
|
}
|
117
117
|
render() {
|
118
118
|
const hasFields = this.fieldStore.get('fields').some(field => field.role_name === this.roleName);
|
119
|
-
return (h(Host, { key: '
|
119
|
+
return (h(Host, { key: '59806a550ecdcadb44188158d43917a857a1c581' }, h("div", { key: '328bd7cf00bbc00c795c732c5494a34b73ffed25', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: 'a51e08957a956ddc34be5ac3a2f1fecb1aa11d26', class: "dialog" }, h("form", { key: 'ae5ed7fd87bf98f76628ff194a8bc8cc0d60a3a8', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: '742811865bb156bb0ea3f6a527407ca28e2cdb27', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
|
120
120
|
? 'This role has fields assigned and can no longer be renamed.'
|
121
121
|
: 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Role Name...", onInput: (e) => {
|
122
122
|
this.name = e.target.value;
|
123
123
|
this.dirty = true;
|
124
|
-
} }), h("div", { key: '
|
124
|
+
} }), h("div", { key: '1a7646891c32b1375370f20dbcde0e9863a987c1', class: "row" }, h("div", { key: 'b05853d94b907d8e9710bc961c6ed892f0a50b78', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: '0b9e5030ad916961ce7c889d09ec2d8a7ba70844', value: this.type, options: [
|
125
125
|
{ label: 'Signer', value: 'signer' },
|
126
126
|
{ label: 'CC', value: 'cc' },
|
127
127
|
{ label: 'Approver', value: 'approver' },
|
128
128
|
], onInput: (e) => {
|
129
129
|
this.type = e.target.value;
|
130
130
|
this.dirty = true;
|
131
|
-
} }), h("verdocs-help-icon", { key: '
|
131
|
+
} }), h("verdocs-help-icon", { key: 'be2f8dacc8d6543cbd5cb0a2ad78c8b7417a92b2', text: "Most participants are Signers. CC roles are notified when documents are signed, but have no other actions. Approvers get notified when signing is completed to perform a final review." })), h("verdocs-text-input", { key: '4161563f3aa582f83f1be7a7279b900eacefae4e', id: "verdocs-recipient-first", label: "First Name", value: this.first_name, autocomplete: "off", helpText: "The recipient's first name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "First Name...", onInput: (e) => {
|
132
132
|
this.first_name = e.target.value;
|
133
133
|
this.dirty = true;
|
134
|
-
} }), h("verdocs-text-input", { key: '
|
134
|
+
} }), h("verdocs-text-input", { key: 'daaf9cf6dd00022d231f154bbec073a5c858223d', id: "verdocs-recipient-first", label: "Last Name", value: this.last_name, autocomplete: "off", helpText: "The recipient's last name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Last Name...", onInput: (e) => {
|
135
135
|
this.last_name = e.target.value;
|
136
136
|
this.dirty = true;
|
137
|
-
} }), h("verdocs-text-input", { key: '
|
137
|
+
} }), h("verdocs-text-input", { key: 'bffae611f096f491cf717cb613791963f7b973e5', id: "verdocs-recipient-email", label: "Email", value: this.email, autocomplete: "off", helpText: "The recipient's email address, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Email Address...", onInput: (e) => {
|
138
138
|
this.email = e.target.value;
|
139
139
|
this.dirty = true;
|
140
|
-
} }), h("verdocs-text-input", { key: '
|
140
|
+
} }), h("verdocs-text-input", { key: 'fa2ab182503c829309749400635760154d4ded8d', id: "verdocs-recipient-phone", label: "Phone", value: this.phone, autocomplete: "off", helpText: "The recipient's phone number, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Phone Number...", onInput: (e) => {
|
141
141
|
this.phone = e.target.value;
|
142
142
|
this.dirty = true;
|
143
|
-
} }), h("div", { key: '
|
143
|
+
} }), h("div", { key: 'a733c84c9b16b86ae11e58724ad0d3763034f1d7', class: "row" }, h("div", { key: '1d61a4dea085ae470c91762793d4d55f6a748f49', class: "input-label" }, "May Delegate:"), h("div", { key: 'ab41f3486b83096eb6079df6ce0fbe1997679f91', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: '666a913c220c43643f6927352e491abce2a5c32d', checked: this.delegator, onInput: (e) => {
|
144
144
|
this.delegator = e.target.checked;
|
145
145
|
this.dirty = true;
|
146
|
-
} })), h("verdocs-help-icon", { key: '
|
146
|
+
} })), h("verdocs-help-icon", { key: '6b4f501240e59c57596c386fe2e2c6a574869aa3', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: '7113b351cbe42d2c8a47bc21612e1c69295ca8d1', class: "buttons" }, h("button", { key: '0a733f9abf1610eed76d67135c920495ec8ca4e0', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: '9c23b3eacbc3f73deb230db806280e62c36de7d0', style: { flex: '1' } }), h("verdocs-button", { key: '3bab71062f1124f7245f3cacecd91fd686170573', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '9cfaad66e8d0b2e519730db0938f7c18ae734997', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
|
147
147
|
}
|
148
148
|
static get is() { return "verdocs-template-role-properties"; }
|
149
149
|
static get originalStyleUrls() {
|
package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js
CHANGED
@@ -47,10 +47,8 @@ export class VerdocsTemplateRoles {
|
|
47
47
|
}
|
48
48
|
await getTemplateStore(this.endpoint, this.templateId, false)
|
49
49
|
.then(ts => {
|
50
|
-
var _a;
|
51
50
|
this.templateStore = ts;
|
52
51
|
this.roleStore = getTemplateRoleStore(this.templateId);
|
53
|
-
console.log('RS', (_a = this.roleStore) === null || _a === void 0 ? void 0 : _a.state);
|
54
52
|
this.loading = false;
|
55
53
|
this.roleStore.onChange('roles', roles => {
|
56
54
|
var _a;
|
@@ -58,9 +56,7 @@ export class VerdocsTemplateRoles {
|
|
58
56
|
(_a = this.rolesUpdated) === null || _a === void 0 ? void 0 : _a.emit({ event: 'updated', endpoint: this.endpoint, templateId: this.templateId, roles });
|
59
57
|
});
|
60
58
|
})
|
61
|
-
.catch(e =>
|
62
|
-
console.log(e);
|
63
|
-
});
|
59
|
+
.catch(e => console.warn(e));
|
64
60
|
}
|
65
61
|
catch (e) {
|
66
62
|
console.log('[FIELDS] Error with preview session', e);
|