@verdocs/web-sdk 4.2.101 → 4.2.106
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-auth.cjs.entry.js +5 -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 +7 -7
- 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.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-sign.cjs.entry.js +5 -0
- 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.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-auth/verdocs-auth.js +5 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +6 -1
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +35 -14
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -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-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-auth.js +5 -1
- 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 -7
- 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-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-sign.js +6 -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 +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-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-auth.entry.js +5 -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 -8
- 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.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-sign.entry.js +6 -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-auth.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-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-sign.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 -2
- package/dist/types/components.d.ts +8 -8
- 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-3007fa21.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-88c3a2b9.entry.js → p-362ed8d2.entry.js} +1 -1
- 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-4ae0fd79.system.entry.js +1 -0
- 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-9ed35b3e.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-23ca483b.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-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-afcde3c3.entry.js +1 -0
- 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-b7fdf5cb.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c33ecae3.system.entry.js +1 -0
- 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-ef8aafa1.entry.js +1 -0
- 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-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 +2 -2
- package/dist/verdocs-web-sdk/p-08d272d2.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-237930d6.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2bdba630.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-40b66b54.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7da5f9e6.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8b74ca77.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b055bec1.system.entry.js +0 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host, Fragment } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint, startSigningSession, envelopeRecipientAgree, envelopeRecipientDecline, updateEnvelopeField, createSignature, updateEnvelopeFieldSignature, createInitials, updateEnvelopeFieldInitials, isValidPhone, isValidEmail, envelopeRecipientSubmit, uploadEnvelopeFieldAttachment, deleteEnvelopeFieldAttachment, formatFullName, fullNameToInitials, integerSequence } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, startSigningSession, getKbaStep, envelopeRecipientAgree, envelopeRecipientDecline, updateEnvelopeField, createSignature, updateEnvelopeFieldSignature, createInitials, updateEnvelopeFieldInitials, isValidPhone, isValidEmail, envelopeRecipientSubmit, uploadEnvelopeFieldAttachment, deleteEnvelopeFieldAttachment, formatFullName, fullNameToInitials, integerSequence } from '@verdocs/js-sdk';
|
3
3
|
import { a as saveAttachment, u as updateDocumentFieldValue, r as renderDocumentField, g as getFieldId } from './utils.js';
|
4
4
|
import { c as createTemplateFieldStoreFromEnvelope } from './TemplateFieldStore.js';
|
5
5
|
import { V as VerdocsToast } from './Toast.js';
|
@@ -83,6 +83,11 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsSign extends
|
|
83
83
|
console.log(`[SIGN] Loaded signing session`, envelope, recipient);
|
84
84
|
this.recipient = recipient;
|
85
85
|
this.envelope = envelope;
|
86
|
+
getKbaStep(this.endpoint, this.envelopeId, this.roleId)
|
87
|
+
.then(r => {
|
88
|
+
console.log('KBA Step', r);
|
89
|
+
})
|
90
|
+
.catch(e => console.log('Error getting KBA step', e));
|
86
91
|
if (this.agreed) {
|
87
92
|
this.nextButtonLabel = 'Next';
|
88
93
|
}
|
@@ -220,7 +220,7 @@ const VerdocsSignatureDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsSig
|
|
220
220
|
}
|
221
221
|
*/
|
222
222
|
render() {
|
223
|
-
return (h(Host, { key: '
|
223
|
+
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) }))))));
|
224
224
|
}
|
225
225
|
static get style() { return VerdocsSignatureDialogStyle0; }
|
226
226
|
}, [0, "verdocs-signature-dialog", {
|
@@ -13,7 +13,7 @@ const VerdocsQuickFilter = /*@__PURE__*/ proxyCustomElement(class VerdocsQuickFi
|
|
13
13
|
this.mode = 'light';
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (h(Host, { key: '
|
16
|
+
return (h(Host, { key: '3f0d44897ca6b5f704f8566da9cb17cf3d18ebbb', style: {
|
17
17
|
width: `${this.size}px`, //
|
18
18
|
height: `${this.size}px`,
|
19
19
|
flex: `0 0 ${this.size}px`,
|
@@ -7190,11 +7190,11 @@ const VerdocsStatusIndicator = /*@__PURE__*/ proxyCustomElement(class VerdocsSta
|
|
7190
7190
|
}
|
7191
7191
|
const icon = this.getStatusIcon(status);
|
7192
7192
|
const statusMessage = this.getStatusMessage(status);
|
7193
|
-
return (h(Host, { key: '
|
7193
|
+
return (h(Host, { key: '25fadd6d77be693e57cb2fb5a09a31eb63646570', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
|
7194
7194
|
e.stopPropagation();
|
7195
7195
|
e.preventDefault();
|
7196
7196
|
this.envelope && this.toggleDropdown();
|
7197
|
-
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '
|
7197
|
+
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: 'aa78dca223dc4db4a1f89cf7978064553d7abea3', class: "icon", innerHTML: icon }), h("span", { key: '84f93dbd4c9cbff90abdc1dfeaef46cb592151b5', class: "content" }, statusMessage), h("div", { key: 'dccc1698ae3548ee0aa1a8e01a2fa0bfdabe3737', class: "detail-panel", ref: el => (this.detailPanel = el) }, h("div", { key: '129b157b29e1a7b610244b4ec02f7af59221ec8f', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
|
7198
7198
|
}
|
7199
7199
|
static get style() { return VerdocsStatusIndicatorStyle0; }
|
7200
7200
|
}, [0, "verdocs-status-indicator", {
|
@@ -13,13 +13,13 @@ const VerdocsSwitch = /*@__PURE__*/ proxyCustomElement(class VerdocsSwitch exten
|
|
13
13
|
this.disabled = false;
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (h("button", { key: '
|
16
|
+
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: () => {
|
17
17
|
var _a;
|
18
18
|
if (!this.disabled) {
|
19
19
|
this.checked = !this.checked;
|
20
20
|
(_a = this.checkedChange) === null || _a === void 0 ? void 0 : _a.emit(this.checked);
|
21
21
|
}
|
22
|
-
} }, h("span", { key: '
|
22
|
+
} }, h("span", { key: 'bfe8fe82ec75ec1a703e900e2eed9b56590e1a6d', "data-state": this.checked ? 'checked' : 'unchecked', class: "slider" })));
|
23
23
|
}
|
24
24
|
static get style() { return VerdocsSwitchStyle0; }
|
25
25
|
}, [0, "verdocs-switch", {
|
@@ -13,9 +13,9 @@ const VerdocsTable$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTable exten
|
|
13
13
|
this.data = [];
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (h(Host, { key: '
|
16
|
+
return (h(Host, { key: '4ffe8d38c873db9420325df769676a4411f5aa28', class: "table-wrapper" }, h("table", { key: 'a51dbc58bc7eb6504ca054f94e4795238e42e0aa', class: "table" }, h("thead", { key: '18e488f81ae20486bd281d79340c4b5e5611550f' }, h("tr", { key: '9ea7794a55a2669aae8144db8ecfb16fdaad281a', class: "row header-row" }, this.columns.map((col, i) => {
|
17
17
|
return (h("th", { class: `col header-col col-${i} col-${col.id}`, onClick: () => { var _a; return (_a = this.colHeaderClick) === null || _a === void 0 ? void 0 : _a.emit({ col }); }, innerHTML: col.renderHeader ? col.renderHeader(col) : col.header || col.id }));
|
18
|
-
}))), h("tbody", { key: '
|
18
|
+
}))), h("tbody", { key: 'fede948c8464f5e41376569b995dcf080ea8729a' }, this.data.map(row => (h("tr", { class: "row data-row", onClick: () => { var _a; return (_a = this.rowClick) === null || _a === void 0 ? void 0 : _a.emit({ row }); } }, this.columns.map((col, i) => {
|
19
19
|
return col.renderCell ? (h("td", { class: `col data-col col-${i} col-${col.id}`, innerHTML: col.renderCell(col, row) })) : (h("td", { class: `col data-col col-${i} col-${col.id}` }, row[col.id]));
|
20
20
|
}))))))));
|
21
21
|
}
|
@@ -16,7 +16,7 @@ const VerdocsTabs = /*@__PURE__*/ proxyCustomElement(class VerdocsTabs extends H
|
|
16
16
|
(_a = this.selectTab) === null || _a === void 0 ? void 0 : _a.emit({ tab: this.tabs[index], index });
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (h(Host, { key: '
|
19
|
+
return (h(Host, { key: 'bbbb38d60e005c8a80bc1db7f8ef12f79f05e3fc' }, this.tabs.map((tab, index) => (h("div", { class: `tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index) }, tab.label))), h("div", { key: 'f0ced79f6ed6110e5a9d41144adca56fac15ac3d', class: "flex flex-1" }), h("slot", { key: '8233a33dba15599e7d2e084c4c77a9cc229c980e' }, h("div", { key: 'dc3d1aad930fdc5ae56b299213f6251f5e35c240' }))));
|
20
20
|
}
|
21
21
|
static get style() { return VerdocsTabsStyle0; }
|
22
22
|
}, [4, "verdocs-tabs", {
|
@@ -15,7 +15,7 @@ const VerdocsTemplateCard$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
|
|
15
15
|
}
|
16
16
|
render() {
|
17
17
|
var _a, _b, _c, _d;
|
18
|
-
return (h(Host, { key: '
|
18
|
+
return (h(Host, { key: '2414caafbeb66be4f7418b22ab9766aaea18de4e' }, h("span", { key: '8b571bc3f50445e4a4413821ee4ade2c75940600', class: "name" }, this.template.name), h("span", { key: '77d3c36194959ca19928cb880dd2144c30079f5e', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: '5fa18b953a61dce4cc7d256552f5fbeace9b2fc2' }), h("div", { key: 'cd10884524860b3843b2bc308a1f5cd98e3521e6', class: "controls" }, h("div", { key: '1f9ea0ae36c3e9a285eb2124174a4096408f2833', class: "control" }, h("span", { key: '19249d5fdd259422591022aaad3b87626242b23b', class: "icon", innerHTML: StarIcon }), h("span", { key: '73c17da734ce561ed2a34792e7e49d3c5ef5ac88', class: "value" }, this.template.star_counter)), h("div", { key: '16c77cae206032ce4874aa8e3d94abdf56894563', class: "control secondary" }, h("span", { key: 'df2e55e5eb12dbc13d9fc566bf9c225da612a23e', class: "icon", innerHTML: PagesIcon }), h("span", { key: '0ff2120849aa15da404ad9f057b70fc47d8be414', 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: '8d5b816f15260673af8b53d7473f58f18fd82f46', class: "control secondary" }, h("span", { key: '161b8b7532fd4ee0a294dd8fed77fd82f90e78ad', class: "icon", innerHTML: EmailIcon }), h("span", { key: 'f80ca578f61f52ecebd13faf1c6a28a4b2efb431', class: "value" }, this.template.counter)), h("span", { key: '4ca0becd38dfd69172a5fb9f898b65dd03a330f3', class: "additional-controls", innerHTML: ActionsIcon }))));
|
19
19
|
}
|
20
20
|
static get style() { return VerdocsTemplateCardStyle0; }
|
21
21
|
}, [0, "verdocs-template-card", {
|
@@ -115,7 +115,7 @@ const VerdocsTemplateDocumentPage = /*@__PURE__*/ proxyCustomElement(class Verdo
|
|
115
115
|
}
|
116
116
|
render() {
|
117
117
|
const height = `${this.renderedHeight}px`;
|
118
|
-
return (h(Host, { key: '
|
118
|
+
return (h(Host, { key: '7dffce97ff8eb454bdfde6157190f5ba027d92b3', 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' &&
|
119
119
|
this.fieldStore
|
120
120
|
.get('fields')
|
121
121
|
.filter(field => field && field.page === this.pageNumber)
|
@@ -127,34 +127,34 @@ const VerdocsTemplateRoleProperties = /*@__PURE__*/ proxyCustomElement(class Ver
|
|
127
127
|
}
|
128
128
|
render() {
|
129
129
|
const hasFields = this.fieldStore.get('fields').some(field => field.role_name === this.roleName);
|
130
|
-
return (h(Host, { key: '
|
130
|
+
return (h(Host, { key: '730f06520de9e020296cacf991aa025606d7dbfb' }, h("div", { key: '5ac072dbe9f312b468d9a1b8d699694185c03e22', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: 'b303190355d969808ee3554b85c26e3f6da52536', class: "dialog" }, h("form", { key: '21a0ef6e184c52d92b47fc48f6210170a9a06697', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: 'bd81053ec77721af0b116a0060fa5d7cf2b82b03', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
|
131
131
|
? 'This role has fields assigned and can no longer be renamed.'
|
132
132
|
: 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Role Name...", onInput: (e) => {
|
133
133
|
this.name = e.target.value;
|
134
134
|
this.dirty = true;
|
135
|
-
} }), h("div", { key: '
|
135
|
+
} }), h("div", { key: '52b3feb14fb51e426db734624db563de1d1b2e24', class: "row" }, h("div", { key: '91ec0ebe42974aa36c5144d5815ac1d138862d95', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: 'dc06b63a7efe16b244bf667d6eb1e7b4ba27d951', value: this.type, options: [
|
136
136
|
{ label: 'Signer', value: 'signer' },
|
137
137
|
{ label: 'CC', value: 'cc' },
|
138
138
|
{ label: 'Approver', value: 'approver' },
|
139
139
|
], onInput: (e) => {
|
140
140
|
this.type = e.target.value;
|
141
141
|
this.dirty = true;
|
142
|
-
} }), h("verdocs-help-icon", { key: '
|
142
|
+
} }), h("verdocs-help-icon", { key: 'cd2117c7265b9b14bd30d46a78bf931a3d431495', 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: 'e1cc994258b539ab40e4e7fabc2544b1c7d82ade', 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) => {
|
143
143
|
this.first_name = e.target.value;
|
144
144
|
this.dirty = true;
|
145
|
-
} }), h("verdocs-text-input", { key: '
|
145
|
+
} }), h("verdocs-text-input", { key: '1a9ce3573fbf3a9a4495862cc780b6321169bef7', 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) => {
|
146
146
|
this.last_name = e.target.value;
|
147
147
|
this.dirty = true;
|
148
|
-
} }), h("verdocs-text-input", { key: '
|
148
|
+
} }), h("verdocs-text-input", { key: 'ef313cdd9da5f9ce299513a0f74a0010978a04f0', 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) => {
|
149
149
|
this.email = e.target.value;
|
150
150
|
this.dirty = true;
|
151
|
-
} }), h("verdocs-text-input", { key: '
|
151
|
+
} }), h("verdocs-text-input", { key: '017395decc39091207de4152283e401931254f10', 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) => {
|
152
152
|
this.phone = e.target.value;
|
153
153
|
this.dirty = true;
|
154
|
-
} }), h("div", { key: '
|
154
|
+
} }), h("div", { key: '68434c73d7fdcb24141cdf13ff9c076d477480c7', class: "row" }, h("div", { key: 'c5afca6f072a5a76646f5575b871bf55a075cc1b', class: "input-label" }, "May Delegate:"), h("div", { key: '55bfc7a17dcadf265d5ca6a7bbef12c1261392c2', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: 'd25aab079a596000a710a31cad269698d131f1b1', checked: this.delegator, onInput: (e) => {
|
155
155
|
this.delegator = e.target.checked;
|
156
156
|
this.dirty = true;
|
157
|
-
} })), h("verdocs-help-icon", { key: '
|
157
|
+
} })), h("verdocs-help-icon", { key: 'c95eeeb21f1c237ea5c3b0b92c14d5d62fc1617a', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: 'f563be7c352b2fd1ea04936796a942ae6353ae90', class: "buttons" }, h("button", { key: '107f332bc0650e9b1c2ac3666bebb6b7b0ec4c7c', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: 'f462302d0a04d178303ea8831eeaccdc18410265', style: { flex: '1' } }), h("verdocs-button", { key: 'ea1eabf74981acaa1674e94a9134fb6270b3b8d8', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '1ff52f0f25400416414477d2d7bf271bce5c310e', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
|
158
158
|
}
|
159
159
|
static get style() { return VerdocsTemplateRolePropertiesStyle0; }
|
160
160
|
}, [0, "verdocs-template-role-properties", {
|
@@ -69,7 +69,7 @@ const VerdocsTemplateSender = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
|
|
69
69
|
});
|
70
70
|
}
|
71
71
|
render() {
|
72
|
-
return (h(Host, { key: '
|
72
|
+
return (h(Host, { key: '849ebcae79fea1e7e810ea49c6d97fb26ef71601' }, h("div", { key: 'c4beb47af9820bbf7fdbb13386a381a1ec0ef3eb', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '6f1b23281f27a3e340602e73c6fc476d5a7d1a7b', class: "dialog" }, h("div", { key: '04aed5aff479eb6f1af4343dd838dfe57c7d9f3a', class: "options" }, h("div", { key: '484b72a2b7bd73ae9143219d539a6aa120a9cc5c', class: "option" }, h("verdocs-radio-button", { key: '2473798c37783ce1fc531d888120ef0187c28cb8', name: "template-sender", value: 'everyone', checked: this.sender === 'everyone', onInput: () => this.handleSelectSetting('everyone') }), h("div", { key: 'ba79bcdb09dfe1fdbd9adbb9f8fc5f593cc1a4db', class: "description" }, h("div", { key: '0bc8cac502ddac20468fa2e1c88e71940f17b069', class: "name" }, "Anyone on the Web"), h("verdocs-help-icon", { key: '153fc6f5e4371d3896f8886ae442a4caf8d1170d', text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), h("div", { key: '16e66ac18576da8b0080896c9457d8ad7fd86ed9', class: "option" }, h("verdocs-radio-button", { key: '45af40b3e65d78b61f84c7ebe0c8eda2766ea461', name: "template-sender", value: 'everyone_as_creator', checked: this.sender === 'everyone_as_creator', onInput: () => this.handleSelectSetting('everyone_as_creator') }), h("div", { key: '864183ff6d21343e1e2ac3ec878feb5cb464df51', class: "description" }, h("div", { key: 'fc0c1004ebddbbbfa7409a05aa1111640a8327ad', class: "name" }, "Anyone on the Web as me"), h("verdocs-help-icon", { key: 'a7527d745ea6cb3cc6b5eb0b67bc1e658a1834f9', text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), h("div", { key: '5324d01a5a9b4c6776e42c24fa605c6e7e1ba02b', class: "option" }, h("verdocs-radio-button", { key: '06fb10ac6f84d0eeffec279038bc4a55e3812466', name: "template-sender", value: 'organization_member', checked: this.sender === 'organization_member', onInput: () => this.handleSelectSetting('organization_member') }), h("div", { key: 'c29edc2f40ec7b8d4346d828341afc1722b0043b', class: "description" }, h("div", { key: '016a3f3625d3ae00aa58cb2ad035a657c862d7e0', class: "name" }, "Anyone in my organization"), h("verdocs-help-icon", { key: 'd3eefcb15e9d6ee005077161ce674d82e21433e4', text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), h("div", { key: '931602e92a61ff86332e420a02edd37cc002e186', class: "option" }, h("verdocs-radio-button", { key: '37c44e49f533700c8c2bb97adb394642b14b8fb5', name: "template-sender", value: 'organization_member_as_creator', checked: this.sender === 'organization_member_as_creator', onInput: () => this.handleSelectSetting('organization_member_as_creator') }), h("div", { key: '3f403de6f7c9548c13d744ce3fefae28ab4dce5d', class: "description" }, h("div", { key: 'f1cd1809ff04d543a2edc539504c894e19883879', class: "name" }, "Anyone in my organization as me"), h("verdocs-help-icon", { key: '1bba4cf3258bf6c7b686a09e0e9b778154a926e2', text: "Anyone in my organization can use this template on my behalf. (Make sure its visibility is set to to 'Shared'.)" }))), h("div", { key: 'e7a9e1f669cee3f845de44f928226b0e08c1db39', class: "option" }, h("verdocs-radio-button", { key: 'be8748e7ad1f623354d6889645f6b8191c68859c', name: "template-sender", value: 'creator', checked: this.sender === 'creator', onInput: () => this.handleSelectSetting('creator') }), h("div", { key: 'e5a4d884bfd01e176a568683310d23a1dcdaf042', class: "description" }, h("div", { key: '2166ceda9313a02750213bedf3c5170e7993c239', class: "name" }, "Me"), h("verdocs-help-icon", { key: 'f28de55873d3382d31c1734d393300b183c077ba', text: "Only I can use this template." })))), h("div", { key: 'cb36edb7d23d07ff5101e568f17d7b79a288a72b', class: "buttons" }, h("verdocs-button", { key: '63d7d2a227d4f39bc0eeaa7c7c935d95350921b4', label: "Close", onClick: () => this.handleClose() }))))));
|
73
73
|
}
|
74
74
|
static get style() { return VerdocsTemplateSenderStyle0; }
|
75
75
|
}, [0, "verdocs-template-sender", {
|
@@ -43,7 +43,7 @@ const VerdocsTemplateStar = /*@__PURE__*/ proxyCustomElement(class VerdocsTempla
|
|
43
43
|
});
|
44
44
|
}
|
45
45
|
render() {
|
46
|
-
return (h(Host, { key: '
|
46
|
+
return (h(Host, { key: '0fc342a217265e0a104fd3f611e99b57d4978be4' }, h("div", { key: 'ac7375a1a86846ec27d550356781426d19a4aec5', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), h("div", { key: '68c5329f639c404fb377accedce7a36b28d77d76', class: "count" }, this.template.star_counter || '--')));
|
47
47
|
}
|
48
48
|
static get style() { return VerdocsTemplateStarStyle0; }
|
49
49
|
}, [0, "verdocs-template-star", {
|
@@ -11,7 +11,7 @@ const VerdocsTemplateTags$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
|
|
11
11
|
}
|
12
12
|
render() {
|
13
13
|
var _a;
|
14
|
-
return (h(Host, { key: '
|
14
|
+
return (h(Host, { key: '8668a671bd4a1898582579efc2e330921f2b6b2d' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
|
15
15
|
}
|
16
16
|
static get style() { return VerdocsTemplateTagsStyle0; }
|
17
17
|
}, [0, "verdocs-template-tags", {
|
@@ -165,24 +165,24 @@ const VerdocsTemplatesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTem
|
|
165
165
|
// In addition to the server query we also filter locally. This provides a faster UI update
|
166
166
|
// while the onBlur re-queries the server for any new records that now qualify by the filter.
|
167
167
|
const locallyFilteredTemplates = !this.localNameFilter ? this.templates : this.templates.filter(t => t.name.toLowerCase().includes(this.localNameFilter.toLowerCase()));
|
168
|
-
return (h(Host, { key: '
|
168
|
+
return (h(Host, { key: '9910d30f954550fe89b6e0b5851ff5cfbdec5aff' }, h("div", { key: '6b77158a586a26163c38ab6d4af3836eef486de4', class: "header" }, h("div", { key: '9caad42bc2e305f401cb065a2045fc971197940f', class: "filter" }, h("verdocs-text-input", { key: 'dc9f1d30422255f5fd6da7a3a3d31b9f2ad4b36b', 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) => {
|
169
169
|
var _a;
|
170
170
|
this.name = e.target.value.trim();
|
171
171
|
this.localNameFilter = e.target.value.trim();
|
172
172
|
(_a = this.changeName) === null || _a === void 0 ? void 0 : _a.emit(this.name);
|
173
|
-
} })), h("verdocs-quick-filter", { key: '
|
173
|
+
} })), h("verdocs-quick-filter", { key: '194519821282ccf01b029c442ebc30f7102eaf2e', label: "Sharing", value: this.sharing, options: SharingFilters, onOptionSelected: e => {
|
174
174
|
var _a;
|
175
175
|
this.sharing = e.detail.value;
|
176
176
|
(_a = this.changeSharing) === null || _a === void 0 ? void 0 : _a.emit(this.sharing);
|
177
|
-
} }), h("verdocs-quick-filter", { key: '
|
177
|
+
} }), h("verdocs-quick-filter", { key: '5d814eedb83e97ce973a9205a29d7815b3fbf0fd', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
|
178
178
|
var _a;
|
179
179
|
this.starred = e.detail.value;
|
180
180
|
(_a = this.changeStarred) === null || _a === void 0 ? void 0 : _a.emit(this.starred);
|
181
|
-
} }), h("verdocs-quick-filter", { key: '
|
181
|
+
} }), h("verdocs-quick-filter", { key: '7bb139d40d9ec00dd2011248a5737f999e8765dd', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
|
182
182
|
var _a;
|
183
183
|
this.sort = e.detail.value;
|
184
184
|
(_a = this.changeSort) === null || _a === void 0 ? void 0 : _a.emit(this.sort);
|
185
|
-
} }), this.loading && h("verdocs-spinner", { key: '
|
185
|
+
} }), this.loading && h("verdocs-spinner", { key: 'eaa9aa626d7e9193400c45d065fad04133963f59', mode: "dark", size: 24 }), h("div", { key: '7387c1960def6cebdb2758a5f4cdcb9475b60d1e', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
|
186
186
|
const dateToShow = this.sort === 'created_at' ? 'created_at' : this.sort === 'updated_at' ? 'updated_at' : 'last_used_at';
|
187
187
|
const date = template[dateToShow];
|
188
188
|
const MENU_OPTIONS = [];
|
@@ -229,9 +229,9 @@ const VerdocsTemplatesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTem
|
|
229
229
|
var _a;
|
230
230
|
(_a = this.viewTemplate) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template });
|
231
231
|
} }, 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 ? dateFns.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) }))));
|
232
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
232
|
+
}), !this.initiallyLoaded && (h("div", { key: 'aa47ab45c993fce4229534b04ffc51b0ea7d9e0e' }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && h("div", { key: 'e5e953daa661123cf5658e5de97e7af35fb414fc', 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 => {
|
233
233
|
this.selectedPage = e.detail.selectedPage;
|
234
|
-
} }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: '
|
234
|
+
} }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: 'b5787c3b6c29784c0d1de6d98fdd190581ec9557', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
|
235
235
|
}
|
236
236
|
static get watchers() { return {
|
237
237
|
"sharing": ["handleSharingUpdated"],
|
@@ -34,7 +34,7 @@ const VerdocsTextInput = /*@__PURE__*/ proxyCustomElement(class VerdocsTextInput
|
|
34
34
|
.catch(e => console.log('Error copying to clipboard', e));
|
35
35
|
}
|
36
36
|
render() {
|
37
|
-
return (h(Host, { key: '
|
37
|
+
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: () => {
|
38
38
|
// We need to allow the onInput event to fire first in case
|
39
39
|
// the user was focused on this field before clicking clear.
|
40
40
|
setTimeout(() => {
|
@@ -48,9 +48,9 @@ const VerdocsTextInput = /*@__PURE__*/ proxyCustomElement(class VerdocsTextInput
|
|
48
48
|
(_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
|
49
49
|
}, 50);
|
50
50
|
}, 50);
|
51
|
-
} })), this.type === 'password' && (h("span", { key: '
|
51
|
+
} })), this.type === 'password' && (h("span", { key: '91e1427c7b7179ebc843d820e146d23b07ae7ba3', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
|
52
52
|
this.showingPw = !this.showingPw;
|
53
|
-
} })), !this.clearable && this.copyable && this.value && h("span", { key: '
|
53
|
+
} })), !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 }))));
|
54
54
|
}
|
55
55
|
get hostEl() { return this; }
|
56
56
|
static get style() { return VerdocsTextInputStyle0; }
|
@@ -25,7 +25,7 @@ const VerdocsToggleButton = /*@__PURE__*/ proxyCustomElement(class VerdocsToggle
|
|
25
25
|
(_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (h(Host, { key: '
|
28
|
+
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))));
|
29
29
|
}
|
30
30
|
static get style() { return VerdocsToggleButtonStyle0; }
|
31
31
|
}, [0, "verdocs-toggle-button", {
|
@@ -16,7 +16,7 @@ const VerdocsToggle$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsToggle ext
|
|
16
16
|
this.selectedOption = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.defaultSelection) || 0;
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (h("div", { key: '
|
19
|
+
return (h("div", { key: '3fce957152f13b188837bcf6cf40603d9618689e', class: "container" }, h("span", { key: '9d4c488975c9daa125ecf906f641e2bc74654a96', class: "label" }, `${this.options.label}:`), h("div", { key: '28a2d8a82b05fcb3cfc9bea409ad37633fb0d860', class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.selectedOption ? 'selected' : '', onClick: () => {
|
20
20
|
console.log('clicked', index);
|
21
21
|
this.selectedOption = index;
|
22
22
|
} }))))));
|
@@ -41,7 +41,7 @@ const VerdocsToolbarIcon = /*@__PURE__*/ proxyCustomElement(class VerdocsToolbar
|
|
41
41
|
// this.press?.emit();
|
42
42
|
// }
|
43
43
|
render() {
|
44
|
-
return (h(Host, { key: '
|
44
|
+
return (h(Host, { key: '4674a6debb2b1097facb31672444e0f1eb397d41', class: {} }, h("div", { key: '81948d50d0b55ba9e85862e37c1e16402d8851da', "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: '716d04df7702b2068ec15b55f744646ea26aeac7', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: '8511e8a6cbe059d525a4ee770a479c932dab9625', "data-popper-arrow": "true", class: "arrow" }))));
|
45
45
|
}
|
46
46
|
static get style() { return VerdocsToolbarIconStyle0; }
|
47
47
|
}, [0, "verdocs-toolbar-icon", {
|
@@ -61,7 +61,7 @@ const VerdocsUploadDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsUpload
|
|
61
61
|
this.selectedFiles = Array.from((_a = this.fileInput) === null || _a === void 0 ? void 0 : _a.files);
|
62
62
|
}
|
63
63
|
render() {
|
64
|
-
return (h(Host, { key: '
|
64
|
+
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 }))))));
|
65
65
|
}
|
66
66
|
static get style() { return VerdocsUploadDialogStyle0; }
|
67
67
|
}, [0, "verdocs-upload-dialog", {
|
@@ -87,7 +87,11 @@ const VerdocsAuth = class {
|
|
87
87
|
.then(r => {
|
88
88
|
console.log('[AUTH] Profile creation result', r);
|
89
89
|
this.tempAuthEndpoint.setToken(r.access_token);
|
90
|
-
|
90
|
+
// We can't clearForms because we need email to stick around
|
91
|
+
this.password = '';
|
92
|
+
this.first_name = '';
|
93
|
+
this.last_name = '';
|
94
|
+
this.org_name = '';
|
91
95
|
this.displayMode = 'verify';
|
92
96
|
})
|
93
97
|
.catch(e => {
|
@@ -66,10 +66,10 @@ const VerdocsButtonPanel = class {
|
|
66
66
|
}
|
67
67
|
}
|
68
68
|
render() {
|
69
|
-
return (h(Host, { key: '
|
69
|
+
return (h(Host, { key: '976e3e5ba3928e889f6b352df1fd83e1314040e0' }, h("div", { key: '8d1d8126051d28c8322b08e3744e6dd3c0d4f75d', class: "icon", innerHTML: this.icon, onClick: (e) => {
|
70
70
|
e.stopPropagation();
|
71
71
|
return this.toggle();
|
72
|
-
}, ref: el => (this.iconEl = el) }), h("div", { key: '
|
72
|
+
}, ref: el => (this.iconEl = el) }), h("div", { key: '6b3714c1a61a8acbc0463f9898d7241a0e80b6d0', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: 'b972da5ee44541e85b21dbed6439fba6ea279ad6', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: '98d84ed288074739b774ce11eedebf53cfc0e334' }))));
|
73
73
|
}
|
74
74
|
};
|
75
75
|
VerdocsButtonPanel.style = VerdocsButtonPanelStyle0;
|
@@ -89,7 +89,7 @@ const VerdocsTabs = class {
|
|
89
89
|
(_a = this.selectTab) === null || _a === void 0 ? void 0 : _a.emit({ tab: this.tabs[index], index });
|
90
90
|
}
|
91
91
|
render() {
|
92
|
-
return (h(Host, { key: '
|
92
|
+
return (h(Host, { key: 'bbbb38d60e005c8a80bc1db7f8ef12f79f05e3fc' }, this.tabs.map((tab, index) => (h("div", { class: `tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index) }, tab.label))), h("div", { key: 'f0ced79f6ed6110e5a9d41144adca56fac15ac3d', class: "flex flex-1" }), h("slot", { key: '8233a33dba15599e7d2e084c4c77a9cc229c980e' }, h("div", { key: 'dc3d1aad930fdc5ae56b299213f6251f5e35c240' }))));
|
93
93
|
}
|
94
94
|
};
|
95
95
|
VerdocsTabs.style = VerdocsTabsStyle0;
|
@@ -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;
|