@verdocs/web-sdk 4.2.100 → 4.2.102
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/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 +7 -16
- 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 +3 -3
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +5 -6
- 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.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-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +10 -10
- 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-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/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.css +2 -2
- 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/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +32 -13
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -17
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +5 -6
- 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-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/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 +7 -16
- 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-envelope-sidebar.js +5 -6
- 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-dialog.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-button2.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-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 +3 -3
- 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-sender2.js +1 -1
- 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/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 +8 -17
- 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 +3 -3
- package/dist/esm/verdocs-envelope-sidebar.entry.js +5 -6
- 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.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-quick-functions.entry.js +1 -1
- package/dist/esm/verdocs-radio-button_3.entry.js +10 -10
- 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-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-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-envelope-sidebar.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.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-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button_3.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-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/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.d.ts +2 -5
- package/dist/types/components.d.ts +8 -8
- package/dist/verdocs-web-sdk/p-0226144d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-17930b47.system.entry.js → p-0625743b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-edcc7110.entry.js → p-0a7c4752.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-39453c48.system.entry.js → p-0ba1ab37.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-025eeafe.entry.js → p-0c6e565f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4dcd1005.system.entry.js → p-0c9f4c84.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d5f7caa2.entry.js → p-114b88b3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9ddaf09d.system.entry.js → p-12bd1b75.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-86482c5e.system.entry.js → p-16f5a57b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-2484ced2.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-267df026.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-88c3a2b9.entry.js → p-362ed8d2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-3819d481.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-1e89f52d.entry.js → p-39f758da.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1cb18a85.entry.js → p-3c1a7743.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ef0061be.system.entry.js → p-3f80a97f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4bf58d00.system.entry.js → p-496ce438.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-286a97a7.system.entry.js → p-4f4c7aab.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c8196df5.entry.js → p-51923579.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5a8672ab.system.entry.js → p-554849ad.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-18cdd0d8.entry.js → p-5c807974.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-45c9ff7a.system.entry.js → p-5cb664f7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cca9858f.entry.js → p-612018e9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-64d648c1.system.entry.js → p-6895ae8b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bb315de2.system.entry.js → p-693b6ebb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-985363b3.system.entry.js → p-70800dcd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-73f2e118.entry.js → p-712148d2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-369adf04.entry.js → p-8157bb4e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e544d694.system.entry.js → p-85ea1efe.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-444191a8.system.entry.js → p-8dc78489.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fcedcc72.system.entry.js → p-905ab532.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c2e15dd9.entry.js → p-90a79cb5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f0dd04a1.entry.js → p-941d0925.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ce085249.entry.js → p-98d2dd05.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-68545704.system.entry.js → p-9bf14c0b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-61a3e6ab.entry.js → p-9cd794dd.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ed38f9b4.entry.js → p-a150f6a6.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ffbfc227.entry.js → p-a61a668f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-00828859.system.entry.js → p-a9281481.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-809e1a1f.system.entry.js → p-ababdec2.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4480e944.entry.js → p-ad29e406.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c5dad8bb.system.entry.js → p-ae7bd8fa.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ff9fc188.system.entry.js → p-b58237c7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2f191d39.entry.js → p-b7ab2c28.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0b061610.entry.js → p-c82a7239.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a75f7b16.system.entry.js → p-d74621f3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8395d4f2.entry.js → p-d860605c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-405875b4.entry.js → p-dd0aa3a4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b8938237.entry.js → p-e135bbab.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-669771a1.system.entry.js → p-e41b6f91.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9753694a.entry.js → p-e9edbbaa.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fe672057.system.entry.js → p-ea7db073.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-233c47c9.entry.js → p-ee4c4423.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-eb602f8f.system.entry.js → p-f42e8692.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fd2224bb.system.entry.js → p-f449b8d4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ce8420d1.entry.js → p-f881d62b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d971f8f0.system.entry.js → p-fa74423b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-33f5ff73.system.entry.js → p-fb197463.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-fbcf4277.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-cea2766d.system.entry.js → p-fccffb60.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-393489cb.entry.js → p-fe3c5f82.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/verdocs-web-sdk/p-09b52821.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4dde02da.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8b74ca77.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9790720c.system.entry.js +0 -1
@@ -17,7 +17,7 @@ const VerdocsButton = class {
|
|
17
17
|
this.disabled = false;
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
return (h("button", { key: '
|
20
|
+
return (h("button", { key: '7fbcf013073495536de97934ff19a0d3e4544b66', 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: 'a74742802834f76bdd47ad62308bae979d04a9fe', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
21
21
|
}
|
22
22
|
};
|
23
23
|
VerdocsButton.style = VerdocsButtonStyle0;
|
@@ -55,7 +55,7 @@ const VerdocsHelpIcon = class {
|
|
55
55
|
(_a = this.tooltipEl) === null || _a === void 0 ? void 0 : _a.removeAttribute('data-show');
|
56
56
|
}
|
57
57
|
render() {
|
58
|
-
return (h(Host, { key: '
|
58
|
+
return (h(Host, { key: '72bf84cce5ad56efd8f01b9a2ee95b1fd97ff954', class: {} }, h("div", { key: 'd55be65906a152a1f7b613f72657c91f339fd565', "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: 'd82454830aa909a27531c99c70d951932c412d4e', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: '74a1ddb77cdec7c4e63072004dbe9b43a8e38bd3', innerHTML: this.text }), h("div", { key: '3d5c87b386971e4e1b528783fd055b148b6ca58f', "data-popper-arrow": "true", class: "arrow" }))));
|
59
59
|
}
|
60
60
|
};
|
61
61
|
VerdocsHelpIcon.style = VerdocsHelpIconStyle0;
|
@@ -91,7 +91,7 @@ const VerdocsTextInput = class {
|
|
91
91
|
.catch(e => console.log('Error copying to clipboard', e));
|
92
92
|
}
|
93
93
|
render() {
|
94
|
-
return (h(Host, { key: '
|
94
|
+
return (h(Host, { key: 'a6f4cbf0e0b53caa2f471b943cf61327d47f10fe', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: 'f0005d82081079e1fbb0c4e0dac810a5051e1271' }, this.label && (h("div", { key: '862931caecb6d33c6a216a582935806a964ad2e8', class: "input-label" }, this.label + ':', this.required && h("span", { key: '58347a8111e1f88d6e38ee5fbf55036aeec28935', class: "required" }, "*"))), h("div", { key: '298a97a55d866e1ab14608d5d33a918b98f45092', class: "input-container" }, h("input", { key: 'b813c15cd2822af0b994f5414c60d704ab07b2ac', type: this.type === 'password' && this.showingPw ? 'text' : this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, onBlur: (e) => { var _a; return (_a = this.blur) === null || _a === void 0 ? void 0 : _a.emit(e.target.value); }, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: '0dd0323f08f8a7c173c78f6eac16450295f6ecd5', innerHTML: ClearIcon, class: "clear", onClick: () => {
|
95
95
|
// We need to allow the onInput event to fire first in case
|
96
96
|
// the user was focused on this field before clicking clear.
|
97
97
|
setTimeout(() => {
|
@@ -105,9 +105,9 @@ const VerdocsTextInput = class {
|
|
105
105
|
(_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
|
106
106
|
}, 50);
|
107
107
|
}, 50);
|
108
|
-
} })), this.type === 'password' && (h("span", { key: '
|
108
|
+
} })), this.type === 'password' && (h("span", { key: '91e1427c7b7179ebc843d820e146d23b07ae7ba3', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
|
109
109
|
this.showingPw = !this.showingPw;
|
110
|
-
} })), !this.clearable && this.copyable && this.value && h("span", { key: '
|
110
|
+
} })), !this.clearable && this.copyable && this.value && h("span", { key: 'b785191a6f5681c8831fb3c75fa86d3d977aee30', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '3676128c06aaa7f7bd5cf4bd800a88604317041a', text: this.helpText }))));
|
111
111
|
}
|
112
112
|
get hostEl() { return getElement(this); }
|
113
113
|
};
|
@@ -21,7 +21,7 @@ const VerdocsCheckbox = class {
|
|
21
21
|
this.disabled = false;
|
22
22
|
}
|
23
23
|
render() {
|
24
|
-
return (h(Host, { key: '
|
24
|
+
return (h(Host, { key: '70758d5c97322eb7be79c961c0b26ea6317a62c9', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: '8a7026de0a8cd1e086d3ee23cdb22032f6dc23e7' }, h("input", { key: '0b5f2372fe69693001be2ca464e3cb36821d7099', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: '2a3041c71981a261147d39d2b59fb590e77de0c6' }, this.label))));
|
25
25
|
}
|
26
26
|
};
|
27
27
|
VerdocsCheckbox.style = VerdocsCheckboxStyle0;
|
@@ -35,7 +35,7 @@ const VerdocsComponentError = class {
|
|
35
35
|
this.message = '';
|
36
36
|
}
|
37
37
|
render() {
|
38
|
-
return (h(Host, { key: '
|
38
|
+
return (h(Host, { key: '0e8d4641858e19a5633ae39d4f87a19ab0859013' }, h("div", { key: 'abb304ede008248fda02011dba3f01239cb3676f', class: "inner" }, this.message)));
|
39
39
|
}
|
40
40
|
};
|
41
41
|
VerdocsComponentError.style = VerdocsComponentErrorStyle0;
|
@@ -52,7 +52,7 @@ const VerdocsSelectInput = class {
|
|
52
52
|
this.disabled = false;
|
53
53
|
}
|
54
54
|
render() {
|
55
|
-
return (h(Host, { key: '
|
55
|
+
return (h(Host, { key: '0739fe617ba9018dc152d058231a1e0a327fa5b0', class: "input-field" }, h("label", { key: 'c99adc97fb2d65386dac00da03548131bd4ff4b5' }, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("select", { key: 'd50a298b4f6d338b0f666f2976d4f8e0f2fb89a1', class: "input-element", disabled: this.disabled }, this.options.map(option => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))))));
|
56
56
|
}
|
57
57
|
};
|
58
58
|
VerdocsSelectInput.style = VerdocsSelectInputStyle0;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a68c7262.js';
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-a68c7262.js';
|
2
2
|
import { VerdocsEndpoint, formatFullName } from '@verdocs/js-sdk';
|
3
3
|
import { f as convertToE164 } from './utils-a79aa5dd.js';
|
4
4
|
import './_commonjsHelpers-bdec4bbd.js';
|
5
5
|
import './Types-95d86a44.js';
|
6
6
|
import './index-0329eed3.js';
|
7
7
|
|
8
|
-
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{
|
8
|
+
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{display:-ms-flexbox;display:flex;gap:14px;width:300px;padding:12px;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;width:300px;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{width:110px}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>input{width:110px}verdocs-contact-picker form .kba-row verdocs-select-input{margin:0}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;border:none;font-size:16px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}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}";
|
9
9
|
const VerdocsContactPickerStyle0 = verdocsContactPickerCss;
|
10
10
|
|
11
11
|
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>';
|
@@ -69,15 +69,6 @@ const VerdocsContactPicker = class {
|
|
69
69
|
this.last_name = e.target.value;
|
70
70
|
(_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit({ query: this.last_name });
|
71
71
|
}
|
72
|
-
handleEmailChange(e) {
|
73
|
-
this.email = e.target.value;
|
74
|
-
}
|
75
|
-
handlePhoneChange(e) {
|
76
|
-
this.phone = convertToE164(e.target.value);
|
77
|
-
}
|
78
|
-
handleMessageChange(e) {
|
79
|
-
this.message = e.target.value;
|
80
|
-
}
|
81
72
|
handleCancel(e) {
|
82
73
|
var _a;
|
83
74
|
e.stopPropagation();
|
@@ -108,26 +99,26 @@ const VerdocsContactPicker = class {
|
|
108
99
|
// The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
|
109
100
|
// and show a duplicate autocomplete picker on top of our own.
|
110
101
|
render() {
|
111
|
-
return (h("form", { key: '
|
102
|
+
return (h("form", { key: '8c7cb46336302d309187ca68d7e38ebb3d001468', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '8bc7c876bb89ee84dc14978560c6198d31983261', class: "row" }, h("label", { key: 'b57ac6d694661a48397afc6ab37fbf5cbca8cbc6', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: '197fbb1e998f52d0df3fe9040fd5d9d640b0237a', class: "names-row" }, h("input", { key: '343aa3e3c8bb31edfc43c4bd51bed1928ea29d49', 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: '78e830e80650f52d72e5c35523fa111df228c86b', 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: '9b35e34eba14d6ff17c29b7bb334e5a5d8080595', class: "dropdown" }, this.contactSuggestions
|
112
103
|
.filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
|
113
104
|
.map(suggestion => {
|
114
105
|
var _a;
|
115
106
|
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))));
|
116
|
-
})))), h("div", { key: '
|
107
|
+
})))), h("div", { key: '4e37f340b40e14e1469742856b9d9f2ea79add97', class: "row" }, h("label", { key: '0778e1b56c175a1a5077726fbba30280e5052773', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: '9f6806efb77821579c5eee7bf020e0219212761a', 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: '6e99f4b3a76f5696f39d721784be7ca0350a42bb', class: "row" }, h("label", { key: 'cdbfcb45cb531b203d4417f21daffe82a2b4974a', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: '384b2d948efacbdbb44bad6e8da4174035a63ad3', 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) => convertToE164(e.target.value) })), this.showKba && (h(Fragment, { key: '3824ab85ac446ee579279c034d44c9c7d9f80f44' }, h("div", { key: '253b5ce372f405f20dda62f889eb791dbc958d8c', class: "kba-row" }, h("label", { key: '6714f992e2f7710d1fe93ed34596f99c54d8e9b0' }, "KBA:"), h("verdocs-select-input", { key: '06107cc54709178c007a5416d0c8dcf9c206a1ca', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
|
117
108
|
{ label: 'None', value: '' },
|
118
109
|
{ label: 'PIN Code', value: 'pin' },
|
119
110
|
{ label: 'Full Verification', value: 'kba' },
|
120
|
-
] }), this.kbaMethod === 'pin' && (h("input", { key: '
|
111
|
+
] }), h("div", { key: '2d898124db289daada4f174e3fe4b557716ef563', style: { flex: '1' } }), h("verdocs-help-icon", { key: '17c58ed5bedaffa1a0bc1f72f7830076dd46502e', 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.kbaMethod === 'pin' && (h("div", { key: 'caf64fae166a136aebfcce7ed96bfe015a3cdeb4', class: "row pin-code" }, h("input", { key: '545918a43fbb7464dcf5f1aa19a7654899071017', id: "verdocs-pin-code", name: "verdocs-pin-code", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.pinCode, placeholder: "KBA PIN Code...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.pinCode = e.target.value) }))))), this.showMessage && (h("div", { key: 'a747e2260ae8224b5b871ddbf1e8423d0da5e0be', class: "row message" }, h("label", { key: '2ff918a32677e81887639120cc5ab09be09e27f3', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: '9c4c90117ca81c97f359e4b66dfde17d77506b98', 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: '3c043c21f0fd8e202de82782ed5d9beec1fa9f2f', class: "buttons" }, h("verdocs-toggle-button", { key: 'e4e7261482091d4ba73ca11ee0f5b1f738562339', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
|
121
112
|
this.showKba = e.detail.active;
|
122
113
|
if (!e.detail.active) {
|
123
114
|
this.pinCode = '';
|
124
115
|
this.kbaMethod = '';
|
125
116
|
}
|
126
117
|
this.showSuggestions = false;
|
127
|
-
} }), h("verdocs-toggle-button", { key: '
|
118
|
+
} }), h("verdocs-toggle-button", { key: 'd4fb36d6031a641bf056ee8ef022665bd1655e27', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
|
128
119
|
this.showMessage = e.detail.active;
|
129
120
|
this.showSuggestions = false;
|
130
|
-
} }), h("div", { key: '
|
121
|
+
} }), h("div", { key: '954cbf03867afb74ba9589f0c817541e410dd20c', class: "flex-fill" }), h("verdocs-button", { key: '1b02d3280ab090332a31cd200eed4f2d76d3df4e', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '6213ec5d1b337771d53ab8daee0818662666df9f', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
|
131
122
|
}
|
132
123
|
};
|
133
124
|
VerdocsContactPicker.style = VerdocsContactPickerStyle0;
|
@@ -156,7 +147,7 @@ const VerdocsToggleButton = class {
|
|
156
147
|
(_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
|
157
148
|
}
|
158
149
|
render() {
|
159
|
-
return (h(Host, { key: '
|
150
|
+
return (h(Host, { key: '32eb5cccbb9687200cf1b57266ceb09143d4a478', class: `size-${this.size}` }, this.icon ? (h("button", { innerHTML: this.icon, class: { active: this._active }, onClick: e => this.handleToggle(e) })) : (h("button", { class: { active: this._active }, onClick: e => this.handleToggle(e) }, this.label))));
|
160
151
|
}
|
161
152
|
};
|
162
153
|
VerdocsToggleButton.style = VerdocsToggleButtonStyle0;
|
@@ -17,7 +17,7 @@ const VerdocsDialog = class {
|
|
17
17
|
}
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
return (h(Host, { key: '
|
20
|
+
return (h(Host, { key: 'ee194cde3ac800e6e9f33d02adc229c928a47472' }, h("div", { key: '23b03c631d3b9f35b35118e97b8a07fadcd060dd', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '21c99c448b050697f4cecf7e7ff02ae4eb0d14b1', class: "dialog" }, h("slot", { key: '8d11918bfe16a6bec51cf1f4a3fb3fe85ea1bf7e', name: "title" }, h("div", { key: '289c5627bd2605d8029163a81a8d7e827b6b6742', class: "heading" }, "Please Confirm")), h("div", { key: 'e29ebee3cde9efa5c41d95ece644bcf7eb5c24b0', class: "content" }, h("slot", { key: '4d9ef52291c370dc13d799292d70fb96ed611852' }))))));
|
21
21
|
}
|
22
22
|
};
|
23
23
|
VerdocsDialog.style = VerdocsDialogStyle0;
|
@@ -87,7 +87,7 @@ const VerdocsDropdown = class {
|
|
87
87
|
(_a = document.getElementById(MENU_ID)) === null || _a === void 0 ? void 0 : _a.remove();
|
88
88
|
}
|
89
89
|
render() {
|
90
|
-
return (h(Host, { key: '
|
90
|
+
return (h(Host, { key: '1e52613887181c34d3b6903ce32b7166b465acad' }, h("button", { key: '5216ee8fff5a1014ccd083a574c27f4ef8b22564', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
|
91
91
|
// onBlur={() => this.hide()}
|
92
92
|
ref: el => (this.dropdownButton = el) })));
|
93
93
|
}
|
@@ -78,7 +78,7 @@ const VerdocsEnvelopeDocumentPage = class {
|
|
78
78
|
}
|
79
79
|
render() {
|
80
80
|
const height = `${this.renderedHeight}px`;
|
81
|
-
return (h(Host, { key: '
|
81
|
+
return (h(Host, { key: 'db47c26f1d1ad9d72d4a18238b0ab244e68f2f76', 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) => {
|
82
82
|
// Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
|
83
83
|
// useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
|
84
84
|
// Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
|
@@ -90,7 +90,7 @@ const VerdocsEnvelopeRecipientLink = class {
|
|
90
90
|
};
|
91
91
|
VerdocsEnvelopeRecipientLink.style = VerdocsEnvelopeRecipientLinkStyle0;
|
92
92
|
|
93
|
-
const verdocsSwitchCss = "@-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-switch{font-family:\"Inter\", \"Barlow\", sans-serif}verdocs-switch .switch{display:-ms-inline-flexbox;display:inline-flex;height:24px;width:44px;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:12px;border:transparent;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .switch.primary[data-state=checked]{background:#55bc81}verdocs-switch .switch.primary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .switch.secondary[data-state=checked]{background:#4c56cb}verdocs-switch .switch.secondary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .slider{display:block;width:20px;height:20px;border-radius:20px;background:#ffffff;-webkit-box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .slider[data-state=checked]{-webkit-transform:translateX(
|
93
|
+
const verdocsSwitchCss = "@-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-switch{font-family:\"Inter\", \"Barlow\", sans-serif}verdocs-switch .switch{display:-ms-inline-flexbox;display:inline-flex;height:24px;width:44px;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:12px;border:transparent;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .switch.primary[data-state=checked]{background:#55bc81}verdocs-switch .switch.primary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .switch.secondary[data-state=checked]{background:#4c56cb}verdocs-switch .switch.secondary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .slider{display:block;width:20px;height:20px;border-radius:20px;background:#ffffff;-webkit-box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .slider[data-state=checked]{-webkit-transform:translateX(22px);transform:translateX(22px)}verdocs-switch .slider[data-state=unchecked]{-webkit-transform:translateX(-2px);transform:translateX(-2px)}verdocs-switch .switch.disabled.primary,verdocs-switch .switch.disabled.secondary{cursor:not-allowed;background:#666666}";
|
94
94
|
const VerdocsSwitchStyle0 = verdocsSwitchCss;
|
95
95
|
|
96
96
|
const VerdocsSwitch = class {
|
@@ -102,13 +102,13 @@ const VerdocsSwitch = class {
|
|
102
102
|
this.disabled = false;
|
103
103
|
}
|
104
104
|
render() {
|
105
|
-
return (h("button", { key: '
|
105
|
+
return (h("button", { key: '34e83b914cb01d1d1b52c7091b68324808f7f8f3', value: "on", type: "button", role: "switch", class: `switch ${this.theme} ${this.disabled ? 'disabled' : ''}`, "data-state": this.checked ? 'checked' : 'unchecked', "aria-checked": this.checked ? 'checked' : 'unchecked', onClick: () => {
|
106
106
|
var _a;
|
107
107
|
if (!this.disabled) {
|
108
108
|
this.checked = !this.checked;
|
109
109
|
(_a = this.checkedChange) === null || _a === void 0 ? void 0 : _a.emit(this.checked);
|
110
110
|
}
|
111
|
-
} }, h("span", { key: '
|
111
|
+
} }, h("span", { key: 'bfe8fe82ec75ec1a703e900e2eed9b56590e1a6d', "data-state": this.checked ? 'checked' : 'unchecked', class: "slider" })));
|
112
112
|
}
|
113
113
|
};
|
114
114
|
VerdocsSwitch.style = VerdocsSwitchStyle0;
|
@@ -135,6 +135,7 @@ const VerdocsEnvelopeSidebar = class {
|
|
135
135
|
this.store = await getEnvelopeStore(this.endpoint, this.envelopeId, true);
|
136
136
|
this.sortEnvelopeRecipients();
|
137
137
|
this.loading = false;
|
138
|
+
this.panelOpen = false;
|
138
139
|
(_a = this.envelopeUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, envelope: (_b = this.store) === null || _b === void 0 ? void 0 : _b.state, event: 'canceled' });
|
139
140
|
})
|
140
141
|
.catch(e => {
|
@@ -288,11 +289,10 @@ const VerdocsEnvelopeSidebar = class {
|
|
288
289
|
this.updatingReminders = true;
|
289
290
|
updateEnvelope(this.endpoint, this.envelopeId, { initial_reminder, followup_reminders })
|
290
291
|
.then(envelope => {
|
291
|
-
var _a, _b, _c, _d;
|
292
292
|
console.log('Updated', envelope);
|
293
293
|
updateStoreEnvelope(this.store, envelope);
|
294
|
-
this.initialReminder =
|
295
|
-
this.followupReminders =
|
294
|
+
this.initialReminder = envelope.initial_reminder;
|
295
|
+
this.followupReminders = envelope.followup_reminders;
|
296
296
|
this.remindersEnabled = !!envelope.initial_reminder;
|
297
297
|
this.updatingReminders = false;
|
298
298
|
})
|
@@ -314,7 +314,6 @@ const VerdocsEnvelopeSidebar = class {
|
|
314
314
|
const isEnvelopeOwner = userIsEnvelopeOwner(this.endpoint.profile, this.store.state);
|
315
315
|
const historyEntries = this.prepareHistoryEntries();
|
316
316
|
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';
|
317
|
-
console.log('re', this.remindersEnabled);
|
318
317
|
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" }, dateFns.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" }, dateFns.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" }, "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" }, "Owner Name"), h("div", { class: "value" }, formatFullName((_r = (_q = this.store) === null || _q === void 0 ? void 0 : _q.state) === null || _r === void 0 ? void 0 : _r.profile)), h("div", { class: "label" }, "Owner Email"), h("div", { class: "value" }, (_u = (_t = (_s = this.store) === null || _s === void 0 ? void 0 : _s.state) === null || _t === void 0 ? void 0 : _t.profile) === null || _u === void 0 ? void 0 : _u.email))), this.activeTab === 2 && (h("div", { class: "content" }, h("div", { class: "title" }, "Recipients"), (_w = (_v = this.store) === null || _v === void 0 ? void 0 : _v.state) === null || _w === void 0 ? void 0 :
|
319
318
|
_w.recipients.map((recipient, index) => {
|
320
319
|
const canGetInPersonLink = recipient.status !== 'submitted' && recipient.status !== 'canceled' && recipient.status !== 'declined';
|
@@ -327,10 +326,10 @@ const VerdocsEnvelopeSidebar = class {
|
|
327
326
|
// TODO: Details dialog
|
328
327
|
// {id:'details',label: 'View Details'},
|
329
328
|
] }))), h("dic", { class: "recipient-content" }, h("div", { class: "recipient-name" }, fullName), h("div", { class: "recipient-name" }, recipient.email), h("div", { class: "recipient-name" }, recipient.phone))));
|
330
|
-
}), isEnvelopeOwner && (h("div", { class: "reminders" }, h("div", { class: "form-row" }, h("div", { class: "reminders-label" }, "Reminders"), h("verdocs-switch", { disabled: this.updatingReminders, checked: this.remindersEnabled, onCheckedChange: () => this.handleToggleReminders() })), this.remindersEnabled && (h(Fragment, null, h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Initial Reminder:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: this.updatingReminders, value: String(Math.floor(this.initialReminder / MS_PER_HOUR)), onBlur: (e) => {
|
329
|
+
}), isEnvelopeOwner && (h("div", { class: "reminders" }, h("div", { class: "form-row" }, h("div", { class: "reminders-label" }, "Reminders"), h("verdocs-switch", { disabled: functionsDisabled || this.updatingReminders, checked: this.remindersEnabled, onCheckedChange: () => this.handleToggleReminders() })), this.remindersEnabled && (h(Fragment, null, h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Initial Reminder:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: functionsDisabled || this.updatingReminders, value: String(Math.floor(this.initialReminder / MS_PER_HOUR)), onBlur: (e) => {
|
331
330
|
this.initialReminder = Number(e.target.value) * MS_PER_HOUR;
|
332
331
|
this.handleSetReminders(this.initialReminder, this.followupReminders);
|
333
|
-
} })), h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Follow-up Reminders:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: this.updatingReminders, value: String(Math.floor(this.followupReminders / MS_PER_HOUR)), onBlur: (e) => {
|
332
|
+
} })), h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Follow-up Reminders:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: functionsDisabled || this.updatingReminders, value: String(Math.floor(this.followupReminders / MS_PER_HOUR)), onBlur: (e) => {
|
334
333
|
this.followupReminders = Number(e.target.value) * MS_PER_HOUR;
|
335
334
|
this.handleSetReminders(this.initialReminder, this.followupReminders);
|
336
335
|
} })), h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Next Reminder:"), h("div", { style: { color: '#dddddd' } }, dateFns.format(new Date((_y = (_x = this.store) === null || _x === void 0 ? void 0 : _x.state) === null || _y === void 0 ? void 0 : _y.next_reminder), 'P p'))))))), isEnvelopeOwner && (h("verdocs-button", { class: "manage-recipients-button", variant: "standard", label: "Cancel Envelope", onClick: () => (this.showCancelDialog = !functionsDisabled), disabled: functionsDisabled })))), this.activeTab === 3 && (h("div", { class: "content" }, h("div", { class: "title" }, "History"), historyEntries.map(entry => (h("div", { class: "history-entry" }, h("div", { class: "activity-icon", innerHTML: ActivityIcons[entry.icon] || entry.icon }), h("div", { class: "activity-details" }, h("div", { class: "activity-text" }, entry.message), h("div", { class: "activity-date" }, dateFns.format(entry.date, FORMAT_TIMESTAMP)))))))), this.showRecipientDialog && (h("verdocs-envelope-recipient-link", { envelopeId: this.envelopeId, roleName: this.showRecipientDialog, onNext: () => (this.showRecipientDialog = '') })), this.showCancelDialog && (h("verdocs-ok-dialog", { heading: "Cancel Envelope?", message: 'Are you sure you want to cancel this Envelope? This action cannot be undone.', onNext: () => {
|
@@ -196,18 +196,18 @@ const VerdocsEnvelopesList = class {
|
|
196
196
|
});
|
197
197
|
}
|
198
198
|
render() {
|
199
|
-
return (h(Host, { key: '
|
199
|
+
return (h(Host, { key: '9f93a9c82a5dd9cac5d1457b59f27ac2a64e33c4' }, h("div", { key: 'e279d53d83511a338250d6d57e431a4662a2ac2f', class: "header" }, h("div", { key: '6dec54707d214be5b81711b2ebb9a069aabea3aa', class: "filter" }, h("verdocs-text-input", { key: 'f0f7a991581818cf3ae936b1f82004df68a90762', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
|
200
200
|
var _a;
|
201
201
|
// We don't locally filter envelopes because there are too many fields to match against efficiently.
|
202
202
|
this.match = e.target.value.trim();
|
203
203
|
(_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
|
204
|
-
} })), h("verdocs-quick-filter", { key: '
|
204
|
+
} })), h("verdocs-quick-filter", { key: 'e05c6b326ae1ea63e642dd9c884fd1a10a294da5', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
|
205
205
|
this.view = e.detail.value;
|
206
|
-
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
206
|
+
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '3caa255a74d88a9da45eca2f03522cf2b3c0e7ff', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
|
207
207
|
this.status = e.detail.value;
|
208
|
-
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
208
|
+
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '3e36f81be8ad759c770e7261c41f5fdb0d3b371f', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
|
209
209
|
this.sort = e.detail.value;
|
210
|
-
} })), this.loading && h("verdocs-spinner", { key: '
|
210
|
+
} })), this.loading && h("verdocs-spinner", { key: '441f2c0e3efeb105c61542c2e057c64720423082', mode: "dark", size: 24 }), h("div", { key: '80a6d1fad113d168bc68cabcf60d2e4517e6c2a1', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'e02ed6005bbea2dc6c7687724e995c338df98d45', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
|
211
211
|
var _a;
|
212
212
|
const recipientsWithActions = getRecipientsWithActions(envelope);
|
213
213
|
const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
|
@@ -248,7 +248,7 @@ const VerdocsEnvelopesList = class {
|
|
248
248
|
break;
|
249
249
|
}
|
250
250
|
} }))));
|
251
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
251
|
+
}), !this.initiallyLoaded && (h("div", { key: 'f35a7cf0c691d395bd03fc16e6819d773f234eec', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '6002b381ea34731dedff4c790c63005071732659', 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 => {
|
252
252
|
this.selectedPage = e.detail.selectedPage;
|
253
253
|
} }))) : (h("div", null))));
|
254
254
|
}
|
@@ -1140,7 +1140,7 @@ const VerdocsInitialDialog = class {
|
|
1140
1140
|
}
|
1141
1141
|
*/
|
1142
1142
|
render() {
|
1143
|
-
return (h(Host, { key: '
|
1143
|
+
return (h(Host, { key: 'b4b3d0cbe08bb7525e48c728b50f071d6c764c1b', onClick: e => this.handleCancel(e) }, h("div", { key: 'bfe9ca476892ec9e4d0826f02108d17ccdc7e52c', class: "dialog" }, h("div", { key: '0fe9deeafd7d0a1a23600b6ce78ecb0a2db68478', class: "heading" }, "Create Your Initial"), h("div", { key: '93ab94da31dce21b97bab3e3cd49d765626fca55', class: "content" }, h("verdocs-text-input", { key: '90f1c69e6b624aafeb734ab922971c261fd95099', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: 'ea0d3a80d34a1259d7e5a28537b6c2532b446915', 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: '018cc438201111ce05ccad82d7b6a5ecde225cd5', 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: 'f6abe4ff08732e499e172a11e7bd0cb4411f80f9', class: "buttons" }, h("verdocs-button", { key: '090929f2e43bc9b1d779b5a2c5bc8f22fee9c8b5', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '0a7c7c576f63525ed268a6e8f11b7ab0ad7f7d5f', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
|
1144
1144
|
}
|
1145
1145
|
};
|
1146
1146
|
VerdocsInitialDialog.style = VerdocsInitialDialogStyle0;
|
@@ -1361,7 +1361,7 @@ const VerdocsSignatureDialog = class {
|
|
1361
1361
|
}
|
1362
1362
|
*/
|
1363
1363
|
render() {
|
1364
|
-
return (h(Host, { key: '
|
1364
|
+
return (h(Host, { key: '53849e64803bef6eb9d350c0b74c31f85ae1d85d', onClick: e => this.handleCancel(e) }, h("div", { key: 'bbf1ac4498157388d44cc41c27dc2183eebaf990', class: "dialog" }, h("div", { key: '0b56bb436a6431af0b61effdffb31133437c12df', class: "heading" }, "Create Your Signature"), h("div", { key: 'a39e8a59f6744ba89ef321ba33dbabd1911fd225', class: "content" }, h("verdocs-text-input", { key: 'bc8d46fece7c7507fc506bd9dcc739eb848f54ea', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: '021334bb046539364e2c2c4d8797519a2e38dcb4', 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: '455dcd5d4a651af7d5cb7375996c063a30ab5f89', 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: '78c53b3d62310ce14ee4782f3ebb5bdc17b31fbb', class: "buttons" }, h("verdocs-button", { key: 'be2adff2be29e9fd4f22d2a5665d56330bbcbe09', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'e7eb8cbd63184fb567c86f6e2cb11e1afa6df036', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
|
1365
1365
|
}
|
1366
1366
|
};
|
1367
1367
|
VerdocsSignatureDialog.style = VerdocsSignatureDialogStyle0;
|
@@ -1425,7 +1425,7 @@ const VerdocsUploadDialog = class {
|
|
1425
1425
|
this.selectedFiles = Array.from((_a = this.fileInput) === null || _a === void 0 ? void 0 : _a.files);
|
1426
1426
|
}
|
1427
1427
|
render() {
|
1428
|
-
return (h(Host, { key: '
|
1428
|
+
return (h(Host, { key: '89846e6c89cb8fa7188545e455b98a5b2c99bec3' }, h("div", { key: 'd89b52c26561640dac6ff52ed37db33cdd26e6f9', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'd9a6d91ba3c4b0bc87a52ac57c5ff0131ecaba65', class: "dialog" }, h("div", { key: '2b781fd9b65028d14a38bdb88254840340cc7dfb', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && this.existingFile && (h(Fragment, { key: 'fc7b56c80302592ba276c6085ea1a44b09b80c98' }, h("div", { key: '7c31da25b44046d86df74e0caa4c377c7f91521c', class: "current-label" }, "Current Attachment"), h("div", { key: '993a194185ac803c0f55409d0942455656c48288', class: "attachments", style: { marginTop: '0' } }, h("div", { key: 'f73da1c66602b14150afef80c89a32d9061b22c5', class: "attachment" }, h("div", { key: '2715cf8bf9c31b51708d5165b5f4655ca7231540', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: '1a14d15b1bd9dcfbb13f6189b13616ba141ba643', class: "name" }, this.existingFile.name), h("div", { key: '89f95545e497da2bb5f67b5318c61540f3fd2627', class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleDeleteAttachment() }))))), this.selectedFiles.length < 1 && (h("div", { key: 'cc59dcebfd0ebd6614f11bc4d40f36448f19eef6', class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", { key: 'b615d9846d8b785e9e7e9ed93adc97a75ddfe381' }, "Drag and drop a ", !!this.existingFile && 'replacement', " here..."), h("p", { key: '228776a6174a936cbec81be7863586007a8b846a' }, "- or -"), h("verdocs-button", { key: 'a7142011ba18f6b004f1fd8b18afc044ea9d90fe', label: !!this.existingFile ? 'Replace file...' : 'Select a file...', onClick: () => this.handleSelectFile() }), h("input", { key: '82b8661d15cf281c38b2ea5d8e374786fb52c27b', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: 'b3f8495ed0faef35324745634b07bae41159bb24', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), h("div", { key: '404bd66083a86f2c964e8d6392ef01eab3854e91', class: "buttons" }, h("verdocs-button", { key: '97a0b6b4c4ae1cfa873b2d5f4addbb3676aba99b', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '07dfd4a41d5d1be909baaf5678e231062fe70fc6', label: "Upload", onClick: () => this.handleDone(), disabled: this.selectedFiles.length < 1 }))))));
|
1429
1429
|
}
|
1430
1430
|
};
|
1431
1431
|
VerdocsUploadDialog.style = VerdocsUploadDialogStyle0;
|
@@ -27,7 +27,7 @@ const VerdocsFileChooser = class {
|
|
27
27
|
}
|
28
28
|
render() {
|
29
29
|
const buttonlabel = this.file ? 'Select a different file' : 'Select a file from your computer';
|
30
|
-
return (h(Host, { key: '
|
30
|
+
return (h(Host, { key: '0c3558f72dd58ea3ef0ad544bf5af22c06cc718b' }, h("input", { key: 'b5e3de321c28757b542af4355bf9f7c62d072278', 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: '9f44b56b686f0f5f4aa1e3c3b4115f46701e3efb', class: "upload-box" }, h("div", { key: '6969c5457fc736f3b55740d3a155098201c8c52f', class: "selected-filename" }, this.file ? this.file.name : 'Drag a file here'), h("div", { key: 'c3f44d6183615a536ffb1ca00de59acc48e90c9b', class: "or-prefer" }, this.file ? unicodeNBSP : 'Or, if you prefer...'), h("verdocs-button", { key: 'a439787122e4410b7159bb49d943447cc5b22703', label: buttonlabel, size: "small", onClick: e => this.handleSelectFile(e) }))));
|
31
31
|
}
|
32
32
|
};
|
33
33
|
VerdocsFileChooser.style = VerdocsFileChooserStyle0;
|
@@ -45,7 +45,7 @@ const VerdocsProgressBar = class {
|
|
45
45
|
render() {
|
46
46
|
const widthPercent = Math.ceil((100 * Math.min(this.percent, 100)) / 100);
|
47
47
|
console.log('Rendering progress bar', { widthPercent, label: this.label, showPercent: this.showPercent, percent: this.percent });
|
48
|
-
return (h(Host, { key: '
|
48
|
+
return (h(Host, { key: 'f5b270b4d31070d6d7598d91c7cab9491ce7da02' }, h("div", { key: '959d70844ab64312a18d01640694da9d60b02284', class: "labels" }, this.label && h("div", { key: '65e00ca8ea3d1d1ab61e10a9b0a1bbc909569e79', class: "label" }, this.label), this.showPercent && h("div", { key: 'aa70b80a8d78888b8e441220cdfa0ca1e8cfc154', class: "label" }, this.percent, "%")), h("div", { key: '0c5e40cc47f9380b3966466c0d179e71409c5b3c', class: "bar" }, h("div", { key: '8629db35c7da6c8e3d72bcecb4d2f1bdc118e68b', class: "slider", style: { width: `${widthPercent}%` } }))));
|
49
49
|
}
|
50
50
|
};
|
51
51
|
VerdocsProgressBar.style = VerdocsProgressBarStyle0;
|
@@ -33,7 +33,7 @@ const VerdocsKbaDialog = class {
|
|
33
33
|
this.next.emit(this.response);
|
34
34
|
}
|
35
35
|
render() {
|
36
|
-
return (h(Host, { key: '
|
36
|
+
return (h(Host, { key: '97c855bc7ff5c4205ccc64d859d9b1787e0048a6' }, h("div", { key: 'f4dd12baf199d9c50e6ebbb02b7e26e6204a9669', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '051764b9306bc6f3d21221e3aa6d4e6cf104d0e1', class: "dialog" }, h("div", { key: '0f0ecc082f97975c92d7418a96e3689fea0a192b', class: "heading" }, "Confirm Your Identity", this.steps > 1 ? (h("span", { class: "step" }, "(", this.step, "/", this.steps, ")")) : (h(Fragment, null))), !!this.helptitle && (h("div", { key: 'f6d4e4db03fad13638f3980839210f8df886bd2c', class: "help-box" }, h("div", { key: 'c18a7aab25144f438da8cbacca4465e009ab6a02', class: "help-icon", innerHTML: QuestionIcon }), h("div", { key: '02e1dba0b4536b39a61fffea636a6e9c58fd40a8', class: "help-details" }, h("div", { key: '740bc221c448afc393b1007a4141ce4db2cf8008', class: "help-title" }, this.helptitle), h("div", { key: '767d5d0141c73e0621cfbe795fecb50637dc38cb', 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: 'f6e90196e71c9931613622d0879eeb4bc4877792', class: "buttons" }, h("verdocs-button", { key: '269ea8b9020ab81d9234c0d1b8151a459d84f37d', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '8b8c437cc11e3f5fcdbb5f0b5faa1c60daee21cb', label: "Done", onClick: () => this.handleDone(), disabled: !this.response }))))));
|
37
37
|
}
|
38
38
|
};
|
39
39
|
VerdocsKbaDialog.style = VerdocsKbaDialogStyle0;
|
@@ -8,7 +8,7 @@ const VerdocsLoader = class {
|
|
8
8
|
registerInstance(this, hostRef);
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return h(Host, { key: '
|
11
|
+
return h(Host, { key: 'ecc15b6b91fd03110eb3fab80efc3b0d761a98fd' });
|
12
12
|
}
|
13
13
|
};
|
14
14
|
VerdocsLoader.style = VerdocsLoaderStyle0;
|
@@ -29,7 +29,7 @@ const VerdocsOkDialog = class {
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (h(Host, { key: '
|
32
|
+
return (h(Host, { key: '16757775ee3a09054e3653fb7d12873fc0758e7a', class: this.closed ? 'closed' : '' }, h("div", { key: 'd3f240bbccce82dd4f3e769100ca17612637a0d5', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'ec4348a8efc1c95d3df2915ce6e6f4e72c3a6824', class: "dialog" }, h("div", { key: '82b2c477f4eb03c847744f4b1be829909fb286a0', class: "heading" }, this.heading), h("div", { key: 'bdf0962a46f2f9e1b0b8e3d3ec433f1cdc532dff', class: "content" }, h("div", { key: '2adfa55833f384622d4e98496d91786fa9c934e1', class: "message", innerHTML: this.message }), h("div", { key: '89619686b2eefbbb465fa6a86a9da9e360034a9e', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: 'dc298822a062b5687a22cc56adea8b3b202758ad', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
|
33
33
|
}
|
34
34
|
};
|
35
35
|
VerdocsOkDialog.style = VerdocsOkDialogStyle0;
|
@@ -16085,7 +16085,7 @@ const VerdocsOrganizationCard = class {
|
|
16085
16085
|
console.log('Rendering org card', this.organization.thumbnail_url, this.organization);
|
16086
16086
|
const fallbackIcon = BusinessIcon;
|
16087
16087
|
const portalId = `verdocs-org-card-${this.organization.id}`;
|
16088
|
-
return (h(Host, { key: '
|
16088
|
+
return (h(Host, { key: '81c347094d25f79e7cbd465558e27f52835807a3', id: portalId }, this.organization.thumbnail_url ? h("img", { class: "icon", src: this.organization.thumbnail_url, alt: "Logo" }) : h("span", { class: "icon", innerHTML: fallbackIcon }), h("span", { key: '7b02e94b67fc412ceea17cfedfe3bb2054231fba', class: "content" }, (_a = this.organization) === null || _a === void 0 ? void 0 : _a.name), h("verdocs-portal", { key: '00473dd8e408a31a58933e4ed82b5396f8cb41fa', anchor: portalId }, h("div", { key: 'f0eaa925cfa29bcfcf6340b99494636d8f2ab59d', class: "verdocs-org-card-popup", style: { display: this.hovered ? 'block' : 'none' } }, this.organization.full_logo_url ? (h("div", { class: "popup-header-with-logo" }, h("img", { src: this.organization.full_logo_url, alt: "Logo" }), h("div", { class: "title" }, (_b = this.organization) === null || _b === void 0 ? void 0 : _b.name))) : (h("div", { class: "popup-header" }, h("span", { class: "status" }, h("span", { class: "icon", innerHTML: fallbackIcon })), h("span", { class: "title" }, (_c = this.organization) === null || _c === void 0 ? void 0 : _c.name))), h("div", { key: '7b5d4427ba94087e504dd4b14884c9d4427fab0d', class: "popup-body" }, h("div", { key: 'bb4da149b3c9e1d14534ccb13fefe9f989ae2184', class: "field" }, h("strong", { key: '3f819b7faa7fbdd2d38a5b33ce31659cffe48af1' }, "Joined"), dateFns.format(new Date(((_d = this.organization) === null || _d === void 0 ? void 0 : _d.created_at) || undefined), 'LLL d, Y')), this.organization.url && (h("div", { key: '7581d309f46c46133eb7632a77d1330122c6725d', class: "field" }, h("strong", { key: '420c6434901556dc36af814976063a0772717e69' }, "Website"), h("a", { key: 'f12a8e81cfd4d1d25da3f244ddd74834caaea3fd', href: (_e = this.organization) === null || _e === void 0 ? void 0 : _e.url, target: "_blank", rel: "nofollow" }, (_f = this.organization) === null || _f === void 0 ? void 0 : _f.url))))))));
|
16089
16089
|
}
|
16090
16090
|
};
|
16091
16091
|
VerdocsOrganizationCard.style = VerdocsOrganizationCardStyle0;
|
@@ -16165,7 +16165,7 @@ const VerdocsPortal = class {
|
|
16165
16165
|
this.moved ? this.portal.remove() : (this.moved = true);
|
16166
16166
|
}
|
16167
16167
|
render() {
|
16168
|
-
return (h(Host, { key: '
|
16168
|
+
return (h(Host, { key: 'f0d0b63ad69959ddb3a130bc5d0c02ce62856e71', ref: el => (this.element = el) }, h("slot", { key: '1aa260893876a7273ee7a1b7e3de2dde2fe71423' })));
|
16169
16169
|
}
|
16170
16170
|
};
|
16171
16171
|
VerdocsPortal.style = VerdocsPortalStyle0;
|
@@ -42,7 +42,7 @@ const VerdocsQuickFilter$1 = class {
|
|
42
42
|
const firstPage = Math.max(0, this.selectedPage - 2);
|
43
43
|
const numPages = this.itemCount > 0 ? Math.ceil(this.itemCount / this.perPage) : 0;
|
44
44
|
const pagesToDisplay = integerSequence(0, Math.ceil(this.itemCount / this.perPage)).slice(firstPage, firstPage + VISIBLE_PAGES);
|
45
|
-
return (h(Host, { key: '
|
45
|
+
return (h(Host, { key: '76b8efa60199ca3a9244b68222762252e728d85b' }, this.selectedPage > 0 && h(PageButton, { key: '3e7981803c1efe32b97f9dee6e489e59a531e523', page: 'first', selected: this.selectedPage, onClick: () => this.handleSelectPage(0) }), firstPage > 0 && h("div", { key: '7af4e7b148e7ec4f49b3fa141177282f5d6c9d86', class: "ellipsis" }, "..."), pagesToDisplay.map(pageNumber => (h(PageButton, { page: pageNumber, selected: this.selectedPage, onClick: page => this.handleSelectPage(+page) }))), this.selectedPage < numPages - 1 && h("div", { key: '691efdf123b7c6d73e0ed54c1f1248b504becd2b', class: "ellipsis" }, "..."), this.selectedPage < numPages - 1 && h(PageButton, { key: 'a713867ccc6963e1193ecb8e04a934bc7a4d69d9', page: 'last', selected: this.selectedPage, onClick: () => this.handleSelectPage(numPages - 1) })));
|
46
46
|
}
|
47
47
|
get el() { return getElement(this); }
|
48
48
|
};
|
@@ -130,7 +130,7 @@ const VerdocsQuickFilter = class {
|
|
130
130
|
const longestLabelWidth = renderedTextWidth((longestOption === null || longestOption === void 0 ? void 0 : longestOption.label) || 'FILLER', '14px Inter, Barlow, sans-serif');
|
131
131
|
const prefixWidth = renderedTextWidth(this.label, '14px Inter, Barlow, sans-serif');
|
132
132
|
const minWidth = `${longestLabelWidth + prefixWidth + 40}px`;
|
133
|
-
return (h(Host, { key: '
|
133
|
+
return (h(Host, { key: '15c11ee382f7a5c01679113f6950c7037c0e4d3e', class: { open: !!this.open }, style: { minWidth, display: 'inline-block' } }, h("div", { key: 'afc86ba48459d97f446db3e10671f593b2f53511', class: "control", onClick: e => this.toggleDropdown(e), onBlur: e => this.handleHideDropdown(e) }, h("div", { key: 'e0f2b560e99ffe51c10e4fe9bb2e8458ff65643a', class: "title", ref: el => (this.dropdownButton = el) }, h("span", { key: '4a5d4b6d2ad22f17b80290daaafee5f505274b3b', class: "prefix" }, this.label, ":"), selectedOption ? selectedOption.label : this.placeholder), h("div", { key: 'd1599fbca5b7691b65ae2b0d1fd4d76c802ba9ca', style: { flex: '1' } }), h("div", { key: '5d2aba322cf7168780a38b315b485298cbb78ea1', class: "separator" }), h("div", { key: 'a1011166d7d9216d6c9ef8edc3712c4e571af611', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu" })), h("div", { key: 'a398d1f60135c4d48bb32024cca13f23bcae7cca', class: "items", "aria-hidden": !this.open, ref: el => (this.dropdownMenu = el), style: { minWidth } }, (_c = this.options) === null || _c === void 0 ? void 0 : _c.map(option => option.label ? (h("button", { onClick: e => this.handleSelectOption(e, option), class: `option ${option.value === this.value ? 'selected' : ''}`, disabled: option.disabled }, option.label)) : (h("div", { class: "separator" }))))));
|
134
134
|
}
|
135
135
|
get el() { return getElement(this); }
|
136
136
|
};
|
@@ -20,7 +20,7 @@ const VerdocsQuickFunctions = class {
|
|
20
20
|
this.createDocument.emit();
|
21
21
|
}
|
22
22
|
render() {
|
23
|
-
return (h("div", { key: '
|
23
|
+
return (h("div", { key: '7b09da81f9fb67b87e43b00d58230a34ebb95338', class: "container" }, h("p", { key: 'ebb90f14c24ca9764e537931e37b6274019294a4', class: "title" }, "Quick Create"), h("button", { key: '4dc154c1704c20671a0f2ffc1edb5690505ce67f', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '10f9d0350822800a7ed6c1f2bb76c364f9d83110', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
|
24
24
|
}
|
25
25
|
};
|
26
26
|
VerdocsQuickFunctions.style = VerdocsQuickFunctionsStyle0;
|