@verdocs/web-sdk 4.2.139 → 4.2.141
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/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-button_3.cjs.entry.js +5 -5
- package/dist/cjs/verdocs-checkbox_4.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +16 -9
- package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.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 +2 -2
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-loader.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-preview_9.cjs.entry.js +9 -6
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-table.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 +2 -2
- package/dist/cjs/verdocs-template-role-properties.cjs.entry.js +8 -8
- 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-templates-list.cjs.entry.js +7 -7
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -1
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +2 -2
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +1 -1
- package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +1 -1
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -1
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -1
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -1
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -1
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -1
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -1
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -1
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -1
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +1 -1
- package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +1 -1
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +1 -1
- package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +1 -1
- package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js +2 -2
- package/dist/collection/components/controls/verdocs-table/verdocs-table.js +2 -2
- package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js +1 -1
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +3 -3
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +1 -1
- package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +1 -1
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +11 -8
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +12 -2
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +16 -8
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- 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-star/verdocs-template-star.js +1 -1
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +7 -7
- package/dist/components/verdocs-button-panel2.js +2 -2
- package/dist/components/verdocs-button2.js +1 -1
- package/dist/components/verdocs-checkbox2.js +1 -1
- package/dist/components/verdocs-component-error2.js +1 -1
- package/dist/components/verdocs-contact-picker2.js +17 -9
- package/dist/components/verdocs-dialog.js +1 -1
- package/dist/components/verdocs-dropdown2.js +1 -1
- package/dist/components/verdocs-envelope-document-page2.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +6 -6
- package/dist/components/verdocs-file-chooser2.js +1 -1
- package/dist/components/verdocs-help-icon2.js +1 -1
- package/dist/components/verdocs-initial-dialog2.js +1 -1
- package/dist/components/verdocs-kba-dialog2.js +1 -1
- package/dist/components/verdocs-loader2.js +1 -1
- package/dist/components/verdocs-ok-dialog2.js +1 -1
- package/dist/components/verdocs-organization-card.js +1 -1
- package/dist/components/verdocs-pagination2.js +1 -1
- package/dist/components/verdocs-portal2.js +1 -1
- package/dist/components/verdocs-progress-bar2.js +1 -1
- package/dist/components/verdocs-quick-filter2.js +1 -1
- package/dist/components/verdocs-quick-functions.js +1 -1
- package/dist/components/verdocs-radio-button.js +1 -1
- package/dist/components/verdocs-search-box.js +1 -1
- package/dist/components/verdocs-search-tabs.js +1 -1
- package/dist/components/verdocs-select-input2.js +1 -1
- package/dist/components/verdocs-send2.js +11 -8
- package/dist/components/verdocs-signature-dialog2.js +1 -1
- package/dist/components/verdocs-spinner2.js +1 -1
- package/dist/components/verdocs-status-indicator2.js +2 -2
- package/dist/components/verdocs-switch2.js +2 -2
- package/dist/components/verdocs-table.js +2 -2
- package/dist/components/verdocs-tabs2.js +1 -1
- 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-star2.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/components/verdocs-templates-list.js +7 -7
- package/dist/components/verdocs-text-input2.js +3 -3
- package/dist/components/verdocs-toggle-button2.js +1 -1
- package/dist/components/verdocs-toggle.js +1 -1
- package/dist/components/verdocs-toolbar-icon2.js +1 -1
- package/dist/components/verdocs-upload-dialog2.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-button-panel_2.entry.js +3 -3
- package/dist/esm/verdocs-button_3.entry.js +5 -5
- package/dist/esm/verdocs-checkbox_4.entry.js +3 -3
- package/dist/esm/verdocs-contact-picker_2.entry.js +17 -10
- package/dist/esm/verdocs-dialog.entry.js +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +2 -2
- package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
- package/dist/esm/verdocs-field-attachment_13.entry.js +3 -3
- package/dist/esm/verdocs-file-chooser_2.entry.js +2 -2
- package/dist/esm/verdocs-kba-dialog_2.entry.js +1 -1
- package/dist/esm/verdocs-loader.entry.js +1 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
- package/dist/esm/verdocs-pagination_2.entry.js +2 -2
- package/dist/esm/verdocs-preview_9.entry.js +10 -7
- package/dist/esm/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm/verdocs-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-search-box.entry.js +1 -1
- package/dist/esm/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm/verdocs-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +2 -2
- package/dist/esm/verdocs-table.entry.js +2 -2
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
- package/dist/esm/verdocs-template-role-properties.entry.js +8 -8
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-templates-list.entry.js +7 -7
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_4.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown.entry.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-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-loader.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_9.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-table.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-role-properties.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-templates-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/embeds/verdocs-send/verdocs-send.d.ts +2 -1
- package/dist/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.d.ts +3 -1
- package/dist/verdocs-web-sdk/{p-4d071145.system.entry.js → p-06448ac6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2717a4d8.entry.js → p-0b345a45.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d775d674.system.entry.js → p-0cf80242.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a246dd98.system.entry.js → p-1129b2c6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a12ed59f.system.entry.js → p-1134fec8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3de99865.entry.js → p-11730369.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-221c1a1e.entry.js → p-1537c6d4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c56a9fd0.system.entry.js → p-1a0cbfcc.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-329e5d8b.entry.js → p-1b55a23f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-1e8c7927.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-069574d7.entry.js → p-1fd82865.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-80ddfda6.system.entry.js → p-226fc99e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-267df026.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-9567cba1.entry.js → p-2a97be57.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ab385138.entry.js → p-2becc4f4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c6de5539.entry.js → p-2eccd1db.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c621b381.entry.js → p-3457d011.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2844d252.system.entry.js → p-42d245bb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-101f3138.entry.js → p-44ecab31.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-458eda56.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-535f7ee3.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-317f7a56.system.entry.js → p-5822f3c1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d1ec0c0e.entry.js → p-585fd9ff.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fed1d58a.system.entry.js → p-5a267f30.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-68a37526.entry.js → p-5ac7e3d0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-aebb6858.system.entry.js → p-5f3f22ad.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-377858e5.system.entry.js → p-69f5136c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-48227855.system.entry.js → p-6c9514db.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7fb3ba8a.system.entry.js → p-6ef0c33b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9458de83.system.entry.js → p-6efc761e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ea093336.system.entry.js → p-7349df8b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e15086a1.entry.js → p-79aa0c7b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-adbf48ae.system.entry.js → p-7f0af248.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9931d962.system.entry.js → p-7f33a64f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-93fc163b.entry.js → p-7f5ac627.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-815404c0.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-4f864f00.system.entry.js → p-838d0ed1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-85184829.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-0729a901.entry.js → p-88481111.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8e67affa.entry.js → p-90c60846.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ac677e8c.system.entry.js → p-95eaf936.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9750767c.entry.js → p-9745c048.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a91eadcc.entry.js → p-9b34699e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ab97a806.system.entry.js → p-a251441b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-aa66d378.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-96393d62.entry.js → p-adf6fde9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-682ce711.system.entry.js → p-aedfa605.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3af0fcae.system.entry.js → p-b12dc865.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-54ef19e9.system.entry.js → p-b1397670.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-53a3cdf3.system.entry.js → p-b5763ec0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4a20885d.entry.js → p-b581231f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2eca2eda.entry.js → p-c0087254.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-12a39d57.entry.js → p-cad5ac82.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bb523ebf.system.entry.js → p-d2fc4789.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-50271eca.entry.js → p-d51ca7f9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b4e6217b.system.entry.js → p-daa9193c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-26bd87bf.entry.js → p-e3e5e18c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b3c4d445.entry.js → p-e6242ac2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6a57c036.system.entry.js → p-ebf16d0c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5c9fd1e3.entry.js → p-f0bc99ba.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8a7b7815.system.entry.js → p-f85644ea.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad8dfb2b.system.entry.js → p-f9858e4a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-965464db.entry.js → p-ff50e207.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +4 -4
- package/dist/custom-elements.json +0 -2010
- package/dist/verdocs-web-sdk/p-0165edae.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-0f677e5a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-28684a2b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3912a575.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a6be54b0.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-acf595c9.entry.js +0 -1
@@ -74,7 +74,7 @@ export class VerdocsEnvelopeDocumentPage {
|
|
74
74
|
}
|
75
75
|
render() {
|
76
76
|
const height = `${this.renderedHeight}px`;
|
77
|
-
return (h(Host, { key: '
|
77
|
+
return (h(Host, { key: '725aa4c47855fd5ba3594e5fcbf30cd267041f60', 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) => {
|
78
78
|
// Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
|
79
79
|
// useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
|
80
80
|
// Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
|
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: '9f1eaf7fdbf0798a8ce02946ad3c42daf60a76b0' }, h("div", { key: '620cfe52f3e75e74de3dfb17d9d0f1913ff4de46', class: "header" }, h("div", { key: 'd62a2698c22c708bf94cf8a6a3add05d5399cfe1', class: "filter" }, h("verdocs-text-input", { key: '073ffcea37379f48cf3d6609a2b996c91ed51318', 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: 'eef9479478f38926f330b4ff1489622a7c7e39b0', 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: '5b85df2a2ac590e5a601352b1de516fa1d2fa5cc', 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: '06446e65471a4765623114e33b8a3fc35b375040', 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: 'fca503be96b2f82fe1c70271491b5d094a804d43', mode: "dark", size: 24 }), h("div", { key: '3bdb02f99ef011100fbe7ed7f845f7c035c2a060', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'da857a4fbb5ce231d326c9e62b455333c596282c', 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: '99f0bc38e1fff5fefa09ca53b774dd3b468cfd71', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '9c5ecb405fcdb7f6623ad8faaa3289617621f013', 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
@@ -238,11 +238,11 @@ export class VerdocsStatusIndicator {
|
|
238
238
|
}
|
239
239
|
const icon = this.getStatusIcon(status);
|
240
240
|
const statusMessage = this.getStatusMessage(status);
|
241
|
-
return (h(Host, { key: '
|
241
|
+
return (h(Host, { key: '6312602f7079a3c8d77671570118712d5ee4ea0f', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
|
242
242
|
e.stopPropagation();
|
243
243
|
e.preventDefault();
|
244
244
|
this.envelope && this.toggleDropdown();
|
245
|
-
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '
|
245
|
+
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '002f53e8f17930ffb75c282b3db8555578b69381', class: "icon", innerHTML: icon }), h("span", { key: 'b1c8f30923fe0b19910c692f8117d81a69eba410', class: "content" }, statusMessage), h("div", { key: 'c00a99383415570210692cdecbfd83673d18937e', class: "detail-panel", ref: el => (this.detailPanel = el) }, h("div", { key: '8067991e8781d12151e774eb761dfab613e77fe3', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
|
246
246
|
}
|
247
247
|
static get is() { return "verdocs-status-indicator"; }
|
248
248
|
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: 'd91ad349d43b29a364e20eb2d552eda22a684bfb' }, h("span", { key: '3921cd424720786785071f698758d770a0ba3cea', class: "name" }, this.template.name), h("span", { key: '229f1190a546c8bd588b1a4588b880a70832c06a', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: '725d4d03814909199ada357874e0383d2306e34d' }), h("div", { key: 'c95f57c02bb89f14b12c1a501a241d0f799aa8bc', class: "controls" }, h("div", { key: 'ae9c7b8bf7a9e85d31aa29cfbaad1d458df50ac8', class: "control" }, h("span", { key: 'ce4ec610d9f87c2b8b6db99c89a9a25554aa46a0', class: "icon", innerHTML: StarIcon }), h("span", { key: '7b7440269617317f3a31c87d7bb4e470f9d3af06', class: "value" }, this.template.star_counter)), h("div", { key: '2edfdee2eabff9fd18d48bdcc1e9c6813dde6bcb', class: "control secondary" }, h("span", { key: 'a97c594f26a3a9550e49426a05b3a6aa40789246', class: "icon", innerHTML: PagesIcon }), h("span", { key: 'bd7425bb723624484a4550de2fca1970b53de2c9', 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: '7a5e4e2bf93af1ac58140189d64762b806a4d25c', class: "control secondary" }, h("span", { key: '108128b396a7190df160120a696dfa5af51b2491', class: "icon", innerHTML: EmailIcon }), h("span", { key: 'af3b4bf2c3f3c421ed7403c61fd3ea4978322a66', class: "value" }, this.template.counter)), h("span", { key: 'ae096641db6ac975e3874e7af6bf509dd331025b', 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: 'a27edb5194ef483dba9825b8c04e7a334e1bba50', 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)
|
@@ -115,34 +115,34 @@ export class VerdocsTemplateRoleProperties {
|
|
115
115
|
}
|
116
116
|
render() {
|
117
117
|
const hasFields = this.fieldStore.get('fields').some(field => field.role_name === this.roleName);
|
118
|
-
return (h(Host, { key: '
|
118
|
+
return (h(Host, { key: 'f8c0f4b3d408390e935c539583177c3ca16d9229' }, h("div", { key: 'dc1e94f660fd04fdd46949cea264665ffb13c386', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: 'b12d9663eb57894cadc189bd114c5e9394b5de73', class: "dialog" }, h("form", { key: 'b85e1cbb6cc84c0cede0a29ef33b51bb048b6b87', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: '76180529bea555a4a3368f590c2a111ecac5bfc9', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
|
119
119
|
? 'This role has fields assigned and can no longer be renamed.'
|
120
120
|
: 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Role Name...", onInput: (e) => {
|
121
121
|
this.name = e.target.value;
|
122
122
|
this.dirty = true;
|
123
|
-
} }), h("div", { key: '
|
123
|
+
} }), h("div", { key: 'df08983c5f1362a22dc6e3aa2e63d956ff6d57c2', class: "row" }, h("div", { key: '2f19675fbf378cf95508d7ba92a67f655c046de6', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: '1dbe2f47e8f8bbe06eed928fe1dea5aaac67b14d', value: this.type, options: [
|
124
124
|
{ label: 'Signer', value: 'signer' },
|
125
125
|
{ label: 'CC', value: 'cc' },
|
126
126
|
{ label: 'Approver', value: 'approver' },
|
127
127
|
], onInput: (e) => {
|
128
128
|
this.type = e.target.value;
|
129
129
|
this.dirty = true;
|
130
|
-
} }), h("verdocs-help-icon", { key: '
|
130
|
+
} }), h("verdocs-help-icon", { key: 'acb627ac84f551f546ab78d24257c67b66547a21', 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: '46bbd9cf613f063b97507db5847018f2e1050e96', 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) => {
|
131
131
|
this.first_name = e.target.value;
|
132
132
|
this.dirty = true;
|
133
|
-
} }), h("verdocs-text-input", { key: '
|
133
|
+
} }), h("verdocs-text-input", { key: '235ec9a054944c50514b19f22dc55eeb118e78e2', 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) => {
|
134
134
|
this.last_name = e.target.value;
|
135
135
|
this.dirty = true;
|
136
|
-
} }), h("verdocs-text-input", { key: '
|
136
|
+
} }), h("verdocs-text-input", { key: '322a925e71166b74a1519a95efeaf458de5e4636', 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) => {
|
137
137
|
this.email = e.target.value;
|
138
138
|
this.dirty = true;
|
139
|
-
} }), h("verdocs-text-input", { key: '
|
139
|
+
} }), h("verdocs-text-input", { key: '3f38cfe49d5038659511bd78aaf1d7c198232ca7', 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) => {
|
140
140
|
this.phone = e.target.value;
|
141
141
|
this.dirty = true;
|
142
|
-
} }), h("div", { key: '
|
142
|
+
} }), h("div", { key: '36848d9cca848871dd9446cf610422d3bb3dec5a', class: "row" }, h("div", { key: 'a0981091c78c70485c667d7815bcf1265120f01a', class: "input-label" }, "May Delegate:"), h("div", { key: 'fe3b762847c9163b13df5cfd4515cc33b0b75881', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: 'e0dbfd9356f331030b659bf1a0e2d2e708eb1e9a', checked: this.delegator, onInput: (e) => {
|
143
143
|
this.delegator = e.target.checked;
|
144
144
|
this.dirty = true;
|
145
|
-
} })), h("verdocs-help-icon", { key: '
|
145
|
+
} })), h("verdocs-help-icon", { key: 'a9e562dec930345f38b80dc24ec3002f01730916', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: '35f529ca8a2470bc6311e838e3185432b6a4f5f3', class: "buttons" }, h("button", { key: 'fd67b04b234ef3dd768b6fac3ebd1c45a8d62ae4', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: 'e050a318046ea51566f3d2c1b52a39ecf4001dd5', style: { flex: '1' } }), h("verdocs-button", { key: 'b4661018898ab310dc0e0e5738bd7707c056ee6d', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '978b78c58668af0b81a9de136f04c57bba4fce54', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
|
146
146
|
}
|
147
147
|
static get is() { return "verdocs-template-role-properties"; }
|
148
148
|
static get originalStyleUrls() {
|
@@ -38,7 +38,7 @@ export class VerdocsTemplateStar {
|
|
38
38
|
});
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (h(Host, { key: '
|
41
|
+
return (h(Host, { key: '7003637e9953f089bf0ddf9a128ab416103f64db' }, h("div", { key: '8b53c549e72e2b8432edc6d6de7d5ec4af746b37', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), h("div", { key: '66382354cf49ca5f0b01896983d34a3d27684041', class: "count" }, this.template.star_counter || '--')));
|
42
42
|
}
|
43
43
|
static get is() { return "verdocs-template-star"; }
|
44
44
|
static get originalStyleUrls() {
|
@@ -8,7 +8,7 @@ export class VerdocsTemplateTags {
|
|
8
8
|
}
|
9
9
|
render() {
|
10
10
|
var _a;
|
11
|
-
return (h(Host, { key: '
|
11
|
+
return (h(Host, { key: '67dd899e37a2c181705a9abf3ea031869e93257b' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
|
12
12
|
}
|
13
13
|
static get is() { return "verdocs-template-tags"; }
|
14
14
|
static get originalStyleUrls() {
|
package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js
CHANGED
@@ -144,24 +144,24 @@ export class VerdocsTemplatesList {
|
|
144
144
|
// In addition to the server query we also filter locally. This provides a faster UI update
|
145
145
|
// while the onBlur re-queries the server for any new records that now qualify by the filter.
|
146
146
|
const locallyFilteredTemplates = !this.localNameFilter ? this.templates : this.templates.filter(t => t.name.toLowerCase().includes(this.localNameFilter.toLowerCase()));
|
147
|
-
return (h(Host, { key: '
|
147
|
+
return (h(Host, { key: '8a4c436255e24af2dd9bffaa108a3c62ea72accc' }, h("div", { key: 'a28f3b140c708fc9491a1567b7e0977d00b02b23', class: "header" }, h("div", { key: 'ecb9bf6ea174af19a155b3bffdd9f3df6e3d0452', class: "filter" }, h("verdocs-text-input", { key: 'b4f4046fee300d2deefe70246158cb6048844e75', id: "verdocs-filter-name", value: this.name, clearable: true, autocomplete: "off", placeholder: "Filter by Name...", onInput: (e) => (this.localNameFilter = e.target.value.trim()), onFocusout: (e) => {
|
148
148
|
var _a;
|
149
149
|
this.name = e.target.value.trim();
|
150
150
|
this.localNameFilter = e.target.value.trim();
|
151
151
|
(_a = this.changeName) === null || _a === void 0 ? void 0 : _a.emit(this.name);
|
152
|
-
} })), h("verdocs-quick-filter", { key: '
|
152
|
+
} })), h("verdocs-quick-filter", { key: 'c070d309bdf00dbdcb244929cbe3f16ce404656f', label: "Visibility", value: this.visibility, options: VisibilityFilters, onOptionSelected: e => {
|
153
153
|
var _a;
|
154
154
|
this.visibility = e.detail.value;
|
155
155
|
(_a = this.changeVisibility) === null || _a === void 0 ? void 0 : _a.emit(this.visibility);
|
156
|
-
} }), h("verdocs-quick-filter", { key: '
|
156
|
+
} }), h("verdocs-quick-filter", { key: 'ed6d35f557ae3c39498b020167e572024d8c2fa0', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
|
157
157
|
var _a;
|
158
158
|
this.starred = e.detail.value;
|
159
159
|
(_a = this.changeStarred) === null || _a === void 0 ? void 0 : _a.emit(this.starred);
|
160
|
-
} }), h("verdocs-quick-filter", { key: '
|
160
|
+
} }), h("verdocs-quick-filter", { key: '59ae730527224140d6b4ae1f94878ccc3cc9e5e8', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
|
161
161
|
var _a;
|
162
162
|
this.sort = e.detail.value;
|
163
163
|
(_a = this.changeSort) === null || _a === void 0 ? void 0 : _a.emit(this.sort);
|
164
|
-
} }), this.loading && h("verdocs-spinner", { key: '
|
164
|
+
} }), this.loading && h("verdocs-spinner", { key: '10c67eddf0cd00c85f636251b276f8fb6acc8a0c', mode: "dark", size: 24 }), h("div", { key: '615ebf459f9ee6c07a171393844add188b1af82a', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
|
165
165
|
const dateToShow = this.sort === 'created_at' ? 'created_at' : this.sort === 'updated_at' ? 'updated_at' : 'last_used_at';
|
166
166
|
const date = template[dateToShow];
|
167
167
|
const MENU_OPTIONS = [];
|
@@ -208,9 +208,9 @@ export class VerdocsTemplatesList {
|
|
208
208
|
var _a;
|
209
209
|
(_a = this.viewTemplate) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template });
|
210
210
|
} }, h("div", { class: "inner" }, h("verdocs-template-star", { template: template, endpoint: this.endpoint }), h("div", { class: "spacer icon-spacer" }), h("div", { class: "name" }, template.name), h("div", { class: "spacer usage-spacer" }), h("div", { class: "usage" }, h("span", { innerHTML: EnvelopeIcon, title: "Usage Counter" }), template.counter || '--'), h("div", { class: "spacer last-used-spacer" }), h("div", { class: "last-used" }, dateToShow === 'created_at' && h("span", { innerHTML: CreatedIcon, title: "Created" }), dateToShow === 'updated_at' && h("span", { innerHTML: UpdatedIcon, title: "Last Updated" }), dateToShow === 'last_used_at' && h("span", { innerHTML: LastUsedIcon, title: "Last Used" }), date ? format(new Date(date), 'P') : 'Never'), h("div", { class: "spacer ownership-spacer" }), template.is_public && (h("div", { class: "ownership" }, h("span", { innerHTML: GlobeAltIcon }), " Public")), !template.is_public && !template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: LockClosedIcon }), " Private")), !template.is_public && template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: BuildingOfficeIcon }), " Shared")), h("verdocs-dropdown", { options: MENU_OPTIONS, onOptionSelected: e => this.handleOptionSelected(e.detail.id, template) }))));
|
211
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
211
|
+
}), !this.initiallyLoaded && (h("div", { key: '3163f2916038b79f02e5cbda0c73d8da99b7770c' }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && h("div", { key: 'ad467ef5f9d17286134252e0dac59584a670f381', class: "empty-text" }, "No matching templates found. Please adjust your filters and try again."), this.initiallyLoaded && this.templates.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
|
212
212
|
this.selectedPage = e.detail.selectedPage;
|
213
|
-
} }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: '
|
213
|
+
} }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: '523648491adbf8f81da3b3e2a239d671b3e087d6', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
|
214
214
|
}
|
215
215
|
static get is() { return "verdocs-templates-list"; }
|
216
216
|
static get originalStyleUrls() {
|
@@ -67,10 +67,10 @@ const VerdocsButtonPanel = /*@__PURE__*/ proxyCustomElement(class VerdocsButtonP
|
|
67
67
|
}
|
68
68
|
}
|
69
69
|
render() {
|
70
|
-
return (h(Host, { key: '
|
70
|
+
return (h(Host, { key: '2328093cde073dbec39bd31f3d63dd677e1ffa24' }, h("div", { key: '3063d313220631924c881a0f028a8c066a467340', class: "icon", innerHTML: this.icon, onClick: (e) => {
|
71
71
|
e.stopPropagation();
|
72
72
|
return this.toggle();
|
73
|
-
}, ref: el => (this.iconEl = el) }), h("div", { key: '
|
73
|
+
}, ref: el => (this.iconEl = el) }), h("div", { key: 'eb1d15cae3db271014ba9c05f7749ec0fb48435a', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: '4d4e81de6a905f2145f51537149ae8874c9e2855', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: '0118fddf566568d318e9496adbfcd49686969194' }))));
|
74
74
|
}
|
75
75
|
static get style() { return VerdocsButtonPanelStyle0; }
|
76
76
|
}, [4, "verdocs-button-panel", {
|
@@ -16,7 +16,7 @@ const VerdocsButton = /*@__PURE__*/ proxyCustomElement(class VerdocsButton exten
|
|
16
16
|
this.disabled = false;
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (h("button", { key: '
|
19
|
+
return (h("button", { key: '1a6d3fe8be68d100ca27cfe11ca8a94c4973ed12', disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { key: '0b97033c8aec172b908231b16937670b0e998774', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
20
20
|
}
|
21
21
|
static get style() { return VerdocsButtonStyle0; }
|
22
22
|
}, [0, "verdocs-button", {
|
@@ -15,7 +15,7 @@ const VerdocsCheckbox = /*@__PURE__*/ proxyCustomElement(class VerdocsCheckbox e
|
|
15
15
|
this.disabled = false;
|
16
16
|
}
|
17
17
|
render() {
|
18
|
-
return (h(Host, { key: '
|
18
|
+
return (h(Host, { key: '008593a13b7353d959884be116c33130195afc1d', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: 'a09444ec1e7d5670095623f3eac2f808ce622f84' }, h("input", { key: 'ec157d44ab08722eb04e44c0a863ac1968110b35', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: 'b2a9e3dec69778c2ef38e8cfa1a3ecf6ac891db4' }, this.label))));
|
19
19
|
}
|
20
20
|
static get style() { return VerdocsCheckboxStyle0; }
|
21
21
|
}, [0, "verdocs-checkbox", {
|
@@ -10,7 +10,7 @@ const VerdocsComponentError = /*@__PURE__*/ proxyCustomElement(class VerdocsComp
|
|
10
10
|
this.message = '';
|
11
11
|
}
|
12
12
|
render() {
|
13
|
-
return (h(Host, { key: '
|
13
|
+
return (h(Host, { key: 'b852ad72093698987e6142e1d87b7d4522395c79' }, h("div", { key: '5bb10a4aa2f551b7edd88d5ae119a201ee90f289', class: "inner" }, this.message)));
|
14
14
|
}
|
15
15
|
static get style() { return VerdocsComponentErrorStyle0; }
|
16
16
|
}, [0, "verdocs-component-error", {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint, formatFullName } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, formatFullName, isValidEmail } from '@verdocs/js-sdk';
|
3
3
|
import { c as convertToE164 } from './utils.js';
|
4
4
|
import { d as defineCustomElement$4 } from './verdocs-button2.js';
|
5
5
|
import { d as defineCustomElement$3 } from './verdocs-help-icon2.js';
|
6
6
|
import { d as defineCustomElement$2 } from './verdocs-select-input2.js';
|
7
7
|
import { d as defineCustomElement$1 } from './verdocs-toggle-button2.js';
|
8
8
|
|
9
|
-
const verdocsContactPickerCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}verdocs-contact-picker form .row.message{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:103px}verdocs-contact-picker form .kba-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .kba-row verdocs-select-input{margin:0}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0;flex:0;width:133px;font-size:14px;margin-left:58px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:
|
9
|
+
const verdocsContactPickerCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}verdocs-contact-picker form .row.message{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:103px}verdocs-contact-picker form .kba-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .kba-row verdocs-select-input{margin:0}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0;flex:0;width:133px;font-size:14px;margin-left:58px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px;margin-left:58px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px;margin-left:58px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 50px;flex:0 0 50px;font-size:14px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message label{-ms-flex:0;flex:0}verdocs-contact-picker form .row.message input{width:100%}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;background:rgba(0, 0, 0, 0.0196078431);border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker form .dropdown{left:0;right:0;top:49px;z-index:1000000;max-height:225px;overflow-y:scroll;position:absolute;background:#ffffff;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .dropdown .suggestion svg{width:32px;height:32px}verdocs-contact-picker form .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}verdocs-contact-picker form .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}verdocs-contact-picker form .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}verdocs-contact-picker form .dropdown .suggestion:hover{background:#eee;cursor:pointer}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}";
|
10
10
|
const VerdocsContactPickerStyle0 = verdocsContactPickerCss;
|
11
11
|
|
12
12
|
const messageIcon = '<svg focusable="false" viewBox="0 0 24 24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path></svg>';
|
@@ -29,6 +29,7 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
29
29
|
this.email = undefined;
|
30
30
|
this.phone = undefined;
|
31
31
|
this.zip = undefined;
|
32
|
+
this.address = undefined;
|
32
33
|
this.message = undefined;
|
33
34
|
this.showSuggestions = false;
|
34
35
|
this.showMessage = false;
|
@@ -90,6 +91,7 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
90
91
|
delegator: this.delegator,
|
91
92
|
kba_method: this.kba_method,
|
92
93
|
kba_pin: this.kba_pin,
|
94
|
+
address: this.address,
|
93
95
|
zip: this.zip,
|
94
96
|
});
|
95
97
|
}
|
@@ -104,23 +106,28 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
104
106
|
// The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
|
105
107
|
// and show a duplicate autocomplete picker on top of our own.
|
106
108
|
render() {
|
107
|
-
|
108
|
-
const
|
109
|
+
// TODO: Re-activate this one SMS is re-enabled
|
110
|
+
// const hasBasics = this.first_name && this.last_name && (isValidEmail(this.email) || isValidPhone(this.phone));
|
111
|
+
const hasBasics = this.first_name && this.last_name && isValidEmail(this.email);
|
112
|
+
const hasKbaRequirements = !this.kba_method || (this.kba_method === 'pin' && this.kba_pin) || (this.kba_method === 'identity' && this.address && this.zip);
|
109
113
|
const canSubmit = hasBasics && hasKbaRequirements;
|
110
|
-
return (h("form", { key: '
|
114
|
+
return (h("form", { key: 'd40d7ab6926801a72fc905124323740cdcc7af82', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '1cc65cc395753e4d5de4287b09216d6e07439592', class: "row" }, h("label", { key: '7a1120950c72c4f7346b938a1f37dd1972f35df6', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: 'd627bc1a4afbe9124ac6a13d51bf302e3001ec1d', class: "names-row" }, h("input", { key: '0c253b1af4193a0be2eff1fdc37b2afd389ae628', id: this.firstNameFieldId, name: this.firstNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.first_name, placeholder: "First...", onFocus: () => { var _a; return (this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0); }, onInput: e => this.handleFirstNameChange(e) }), h("input", { key: '94783d62f158a900d1d500f35c9f39f104dab573', id: this.lastNameFieldId, name: this.lastNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.last_name, placeholder: "Last...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleLastNameChange(e) })), this.showSuggestions && (h("div", { key: 'f871569070a3f5607e3105fce9fbc0556a158698', class: "dropdown" }, this.contactSuggestions
|
111
115
|
.filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
|
112
116
|
.map(suggestion => {
|
113
117
|
var _a;
|
114
118
|
return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.email, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.picture ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.picture }) : h("div", { class: "avatar", innerHTML: addrBookIcon }), h("div", { class: "details" }, h("div", { class: "name" }, formatFullName(suggestion)), suggestion.email && h("div", { class: "destination" }, suggestion.email), suggestion.phone && h("div", { class: "destination" }, suggestion.phone))));
|
115
|
-
})))), h("div", { key: '
|
119
|
+
})))), h("div", { key: '5eacfbeefc837f28ea047bc323272b09fef575e5', class: "row" }, h("label", { key: '4bf46b0b13fa3cafd608589b042577296fdc1594', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: '619e6531fe613f8f52958c76ab52776660e4534f', id: this.emailFieldId, name: this.emailFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.email, placeholder: "Email address...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.email = e.target.value) })), h("div", { key: 'd63956f4aa8dce0e97209be869ae8648a62b9fdb', class: "row" }, h("label", { key: '5dd9cf94ed4b8003521d5083b6553d71e9dd3dee', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: '063fc3193ef9cb0955060d5cd092c7783cba5098', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.phone, placeholder: "Phone (SMS)...", onFocus: () => (this.showSuggestions = false), onInput: (e) => {
|
120
|
+
this.phone = convertToE164(e.target.value);
|
121
|
+
} })), this.showKba && (h(Fragment, { key: '48e0af03f5a249ef2c20e2df222341120a6c3b5c' }, h("div", { key: '4346ebf44c8e0c243a1f746590246c7490eea2fe', class: "kba-row" }, h("label", { key: 'd25915358b4484f75eee50018e6bda21cd70960d' }, "KBA:"), h("verdocs-select-input", { key: 'ee98c872450e200dcbfaef60d771e5af326836d0', value: this.kba_method, onInput: (e) => {
|
116
122
|
this.kba_method = e.target.value;
|
117
123
|
this.zip = '';
|
124
|
+
this.address = '';
|
118
125
|
this.kba_pin = '';
|
119
126
|
}, options: [
|
120
127
|
{ label: 'None', value: '' },
|
121
128
|
{ label: 'PIN Code', value: 'pin' },
|
122
129
|
{ label: 'Full Verification', value: 'identity' },
|
123
|
-
] }), h("div", { key: '
|
130
|
+
] }), h("div", { key: '957a356a2e8c5a1b3ee5385f9a8f5415c5a46e65', style: { flex: '1' } }), h("verdocs-help-icon", { key: 'a4f8fec22927ef6c2f128e54352698a56ce37a82', text: "Knowledge-Based Authentication adds additional authentication for this user either via a simple PIN code or full address validation. NOTE: There may be a fee for using this feature." })), this.kba_method === 'pin' && (h("div", { key: 'b86ac5c7d462bcf496a798238dd5faab5b426dcc', class: "row pin-code" }, h("input", { key: '4cd823f381dcaa148f010eaa3120899a2b1e520b', id: "verdocs-pin-code", name: "verdocs-pin-code", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.kba_pin, placeholder: "PIN Code...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.kba_pin = e.target.value) }))), this.kba_method === 'identity' && (h("div", { key: 'b4ca6e66fec7d2207e1cfea367b8634c2a846298', class: "row address" }, h("input", { key: '98797c6fa77aab7616dbc46fe4cffd2be2711443', id: "verdocs-address", name: "verdocs-address", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.address, placeholder: "Address...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.address = e.target.value) }), h("verdocs-help-icon", { key: 'a25ec19d4765ce7b43018ce7fcf5818a96a7133d', text: "Pre-fill the recipient's current street address. They will still be asked ID challenge questions." }))), this.kba_method === 'identity' && (h("div", { key: '3ddd93dec30290944b8ee2810a7c61ea66cae603', class: "row zip-code" }, h("input", { key: 'eeb1c0dacec272a10886b3a6c9b7042d3c9d3c43', id: "verdocs-zip-code", name: "verdocs-zip-code", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.zip, placeholder: "Zip Code...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.zip = e.target.value) }), h("verdocs-help-icon", { key: '140e700ed613664ebb33d39c5af117c9e7969aa1', text: "Pre-fill the recipient's current zip code. They will still be asked ID challenge questions." }))))), this.showMessage && (h("div", { key: '93a84aefd533d9c2c88cb843da08fab4bd5981a8', class: "row message" }, h("label", { key: '719b04a962c48b31aab9480c22d5d81a53ed1858', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: 'c0931551ef1a2f3fda6cd55b155f43d22aa93852', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.message, placeholder: "Message shown in invitation...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.message = e.target.value) }))), h("div", { key: 'a547e03cd3054068f022f4203b823f9c0075c3d4', class: "buttons" }, h("verdocs-toggle-button", { key: '2ba5baaf63bf580d536c8823e924f786d506eab5', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
|
124
131
|
this.showKba = e.detail.active;
|
125
132
|
if (!e.detail.active) {
|
126
133
|
this.kba_pin = '';
|
@@ -128,10 +135,10 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
128
135
|
this.zip = '';
|
129
136
|
}
|
130
137
|
this.showSuggestions = false;
|
131
|
-
} }), h("verdocs-toggle-button", { key: '
|
138
|
+
} }), h("verdocs-toggle-button", { key: '5d5d3786fe83fc99f42061e273098bb97ff36eb0', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
|
132
139
|
this.showMessage = e.detail.active;
|
133
140
|
this.showSuggestions = false;
|
134
|
-
} }), h("div", { key: '
|
141
|
+
} }), h("div", { key: 'a90c22f81cd8b13bd4646bf039693d1bc24cd95c', class: "flex-fill" }), h("verdocs-button", { key: '6ab5ef1e3f15561b44ee415f359c22bdf0a840ca', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '3b773438022361c3c04cdcad5a94d0673d887239', label: "OK", size: "small", disabled: !canSubmit, onClick: !canSubmit ? () => { } : e => this.handleSubmit(e) }))));
|
135
142
|
}
|
136
143
|
static get style() { return VerdocsContactPickerStyle0; }
|
137
144
|
}, [0, "verdocs-contact-picker", {
|
@@ -143,6 +150,7 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
143
150
|
"email": [32],
|
144
151
|
"phone": [32],
|
145
152
|
"zip": [32],
|
153
|
+
"address": [32],
|
146
154
|
"message": [32],
|
147
155
|
"showSuggestions": [32],
|
148
156
|
"showMessage": [32],
|
@@ -18,7 +18,7 @@ const VerdocsDialog$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsDialog ext
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
render() {
|
21
|
-
return (h(Host, { key: '
|
21
|
+
return (h(Host, { key: '6af3d8e041c352f4125a67488a311751fd8c1401' }, h("div", { key: 'c00e484f1564cf12ee69a9b44c479fc0bc48a788', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '603b57d62c4d9b28d3dc63146d39cc52ec58d479', class: "dialog" }, h("slot", { key: '0808d13eef9177505e77cb4d4b013520b9bbab7d', name: "title" }, h("div", { key: 'aa4ac24cd90fa930b72c2a9e71d61296a1b67802', class: "heading" }, "Please Confirm")), h("div", { key: '3420c0f08d411ae7765f2bdbfb3f93775ef5459f', class: "content" }, h("slot", { key: '6f0c8648d2494b35a7a352ca483b996990dce72b' }))))));
|
22
22
|
}
|
23
23
|
static get style() { return VerdocsDialogStyle0; }
|
24
24
|
}, [4, "verdocs-dialog"]);
|
@@ -26,7 +26,7 @@ const VerdocsDropdown = /*@__PURE__*/ proxyCustomElement(class VerdocsDropdown e
|
|
26
26
|
}
|
27
27
|
render() {
|
28
28
|
const elId = `verdocs-dropdown-${randomString(8)}`;
|
29
|
-
return (h(Host, { key: '
|
29
|
+
return (h(Host, { key: 'c6bef6cbf6bf5ea11060ee051288e0a9169c59f5' }, h("button", { key: '494f34e8cce26292a27180e00f1bdf5b050b4166', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", id: elId, onClick: () => (this.showPicker = !this.showPicker) }), this.showPicker && (h("verdocs-portal", { key: '529dff704b16259e98ed8693173621a39da97d21', anchor: elId, onClickAway: () => (this.showPicker = false), id: "verdocs-dropdown-menu-items" }, this.options.map(option => {
|
30
30
|
if (!option.label) {
|
31
31
|
return h("div", { class: "verdocs-dropdown-menu-separator" });
|
32
32
|
}
|
@@ -75,7 +75,7 @@ const VerdocsEnvelopeDocumentPage = /*@__PURE__*/ proxyCustomElement(class Verdo
|
|
75
75
|
}
|
76
76
|
render() {
|
77
77
|
const height = `${this.renderedHeight}px`;
|
78
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: '725aa4c47855fd5ba3594e5fcbf30cd267041f60', 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
|
@@ -204,18 +204,18 @@ const VerdocsEnvelopesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsEnv
|
|
204
204
|
});
|
205
205
|
}
|
206
206
|
render() {
|
207
|
-
return (h(Host, { key: '
|
207
|
+
return (h(Host, { key: '9f1eaf7fdbf0798a8ce02946ad3c42daf60a76b0' }, h("div", { key: '620cfe52f3e75e74de3dfb17d9d0f1913ff4de46', class: "header" }, h("div", { key: 'd62a2698c22c708bf94cf8a6a3add05d5399cfe1', class: "filter" }, h("verdocs-text-input", { key: '073ffcea37379f48cf3d6609a2b996c91ed51318', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
|
208
208
|
var _a;
|
209
209
|
// We don't locally filter envelopes because there are too many fields to match against efficiently.
|
210
210
|
this.match = e.target.value.trim();
|
211
211
|
(_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
|
212
|
-
} })), h("verdocs-quick-filter", { key: '
|
212
|
+
} })), h("verdocs-quick-filter", { key: 'eef9479478f38926f330b4ff1489622a7c7e39b0', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
|
213
213
|
this.view = e.detail.value;
|
214
|
-
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
214
|
+
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '5b85df2a2ac590e5a601352b1de516fa1d2fa5cc', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
|
215
215
|
this.status = e.detail.value;
|
216
|
-
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
216
|
+
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '06446e65471a4765623114e33b8a3fc35b375040', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
|
217
217
|
this.sort = e.detail.value;
|
218
|
-
} })), this.loading && h("verdocs-spinner", { key: '
|
218
|
+
} })), this.loading && h("verdocs-spinner", { key: 'fca503be96b2f82fe1c70271491b5d094a804d43', mode: "dark", size: 24 }), h("div", { key: '3bdb02f99ef011100fbe7ed7f845f7c035c2a060', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'da857a4fbb5ce231d326c9e62b455333c596282c', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
|
219
219
|
var _a;
|
220
220
|
const recipientsWithActions = getRecipientsWithActions(envelope);
|
221
221
|
const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
|
@@ -256,7 +256,7 @@ const VerdocsEnvelopesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsEnv
|
|
256
256
|
break;
|
257
257
|
}
|
258
258
|
} }))));
|
259
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
259
|
+
}), !this.initiallyLoaded && (h("div", { key: '99f0bc38e1fff5fefa09ca53b774dd3b468cfd71', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '9c5ecb405fcdb7f6623ad8faaa3289617621f013', 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 => {
|
260
260
|
this.selectedPage = e.detail.selectedPage;
|
261
261
|
} }))) : (h("div", null))));
|
262
262
|
}
|
@@ -29,7 +29,7 @@ const VerdocsFileChooser = /*@__PURE__*/ proxyCustomElement(class VerdocsFileCho
|
|
29
29
|
}
|
30
30
|
render() {
|
31
31
|
const buttonlabel = this.file ? 'Select a different file' : 'Select a file from your computer';
|
32
|
-
return (h(Host, { key: '
|
32
|
+
return (h(Host, { key: 'be9ae4e6e32d7c284001b7fea41d96f39b642005' }, h("input", { key: '0bc7cd1766b630372ea380300575dfd239bc86e4', type: "file", multiple: true, id: "verdocs-file-chooser", accept: "application/pdf,.pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), h("div", { key: 'dbd3aa4e9d64b4bd427f4c6e198d92b10e94dfff', class: "upload-box" }, h("div", { key: '41a10b9ffbe862bedc300cdbb8d2a366dc00414e', class: "selected-filename" }, this.file ? this.file.name : 'Drag a file here'), h("div", { key: '128679d890e1c68ff1c7fb47abd4f638db453b87', class: "or-prefer" }, this.file ? unicodeNBSP : 'Or, if you prefer...'), h("verdocs-button", { key: '277c4246513e40dc2bc5e7f0f7d7130d52904813', label: buttonlabel, size: "small", onClick: e => this.handleSelectFile(e) }))));
|
33
33
|
}
|
34
34
|
static get style() { return VerdocsFileChooserStyle0; }
|
35
35
|
}, [0, "verdocs-file-chooser", {
|
@@ -35,7 +35,7 @@ const VerdocsHelpIcon = /*@__PURE__*/ proxyCustomElement(class VerdocsHelpIcon e
|
|
35
35
|
(_a = this.tooltipEl) === null || _a === void 0 ? void 0 : _a.removeAttribute('data-show');
|
36
36
|
}
|
37
37
|
render() {
|
38
|
-
return (h(Host, { key: '
|
38
|
+
return (h(Host, { key: '7db54f180fe741e77a9c1a3d07c745a8a4a31672', class: {} }, h("div", { key: '5da20e898e508ca3fe91ccea6385872454829399', "aria-describedby": this.containerId, class: "icon", innerHTML: this.icon, onMouseEnter: () => this.show(), onFocus: () => this.show(), onMouseLeave: () => this.hide(), onBlur: () => this.hide(), ref: el => (this.iconEl = el) }), h("div", { key: 'ed3bf3bd5995fdf289853ece83be638172c7df8f', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: '612abca3a6db8768e13e7188af7637216e4ad3e1', innerHTML: this.text }), h("div", { key: 'ea449e838c064e938a7841d4481ac381179ebb1e', "data-popper-arrow": "true", class: "arrow" }))));
|
39
39
|
}
|
40
40
|
static get style() { return VerdocsHelpIconStyle0; }
|
41
41
|
}, [0, "verdocs-help-icon", {
|
@@ -223,7 +223,7 @@ const VerdocsInitialDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsIniti
|
|
223
223
|
}
|
224
224
|
*/
|
225
225
|
render() {
|
226
|
-
return (h(Host, { key: '
|
226
|
+
return (h(Host, { key: 'dbd2d6af5532ce54406290d13916b8d3652a6722', onClick: e => this.handleCancel(e) }, h("div", { key: '20e5fe0ba3c4f5574cefe244cc87464d5f09eb57', class: "dialog" }, h("div", { key: 'f55d4466d9ff27893b2152bca9602c7503555652', class: "heading" }, "Create Your Initial"), h("div", { key: 'b01a33fe760e1ed989285d70a42277318306323f', class: "content" }, h("verdocs-text-input", { key: '9d3bdce7cbeb095fdb240b024e7706f7cb1a8111', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: 'f59a8bad63cc8236a2e9eea999bb7becf9d546aa', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: 'ec122ff8aaf91af9b61f7c8c2fe0ac149a876fdf', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: '3d4c5b091243d136ef2af60dc3bbd0006c8ec2f8', class: "buttons" }, h("verdocs-button", { key: 'c2d94b3f5ef8b3d038727b6a8062a55c4a4ee155', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'ce87ab1c91e8898197d776eaae8463daf2fe88a3', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
|
227
227
|
}
|
228
228
|
static get style() { return VerdocsInitialDialogStyle0; }
|
229
229
|
}, [0, "verdocs-initial-dialog", {
|
@@ -35,7 +35,7 @@ const VerdocsKbaDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsKbaDialog
|
|
35
35
|
this.next.emit(this.response);
|
36
36
|
}
|
37
37
|
render() {
|
38
|
-
return (h(Host, { key: '
|
38
|
+
return (h(Host, { key: '6a0d0f9d07455a772a6973ce057b5f7483fbccf6' }, h("div", { key: '71aa7ccd29a30edbd139d6eb1ddeeb1a5d31cafc', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'f1944ed02a20aac17a9ca6c5ac8320f2fcd8eabd', class: "dialog" }, h("div", { key: '3d3611820bd29897586122fa92c6b079cf53fd90', class: "heading" }, "Confirm Your Identity", this.steps > 1 ? (h("span", { class: "step" }, "(", this.step, "/", this.steps, ")")) : (h(Fragment, null))), !!this.helptitle && (h("div", { key: '2cbe26b7fb83f1a29aa9121c16893fd435a988b4', class: "help-box" }, h("div", { key: 'dcf7560f4addc363280bbe0cbb1de63c49d180ec', class: "help-icon", innerHTML: QuestionIcon }), h("div", { key: '17fd9ba07eb279585349d8b7e9f8a3a12c14c239', class: "help-details" }, h("div", { key: '36c255b2fa80908b118b77a8e77cebe8ed9e490a', class: "help-title" }, this.helptitle), h("div", { key: '88218d1b9a792cf7dc63c329102a0d5e371c7eb6', class: "help-text" }, this.helptext)))), this.mode === 'choice' ? (h("div", { class: "choices" }, this.choices.map(choice => (h("div", { class: `choice ${choice === this.response ? 'selected' : ''}`, onClick: () => (this.response = choice) }, choice))))) : (h("div", { class: "input" }, h("label", { htmlFor: "verdocs-kba-input" }, this.label), h("input", { type: "text", id: "verdocs-kba-input", name: "verdocs-kba-input", placeholder: this.placeholder, value: this.response, onInput: (e) => (this.response = e.target.value) }))), h("div", { key: '0d5ab0977141dac182e9675d5bca063da6daa96e', class: "buttons" }, h("verdocs-button", { key: 'eff5f44bb3ca7cd0c4628d399e27e2d55a40ae3c', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '4fbe8b58483b83002d6f8a7a1232d341b7f48c2e', label: "Done", onClick: () => this.handleDone(), disabled: !this.response }))))));
|
39
39
|
}
|
40
40
|
static get style() { return VerdocsKbaDialogStyle0; }
|
41
41
|
}, [0, "verdocs-kba-dialog", {
|
@@ -9,7 +9,7 @@ const VerdocsLoader = /*@__PURE__*/ proxyCustomElement(class VerdocsLoader exten
|
|
9
9
|
this.__registerHost();
|
10
10
|
}
|
11
11
|
render() {
|
12
|
-
return h(Host, { key: '
|
12
|
+
return h(Host, { key: '3bba8f5f53c7070e8444e40146633d193bdf070a' });
|
13
13
|
}
|
14
14
|
static get style() { return VerdocsLoaderStyle0; }
|
15
15
|
}, [0, "verdocs-loader"]);
|