@verdocs/web-sdk 4.2.107 → 4.2.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-button_3.cjs.entry.js +5 -5
- package/dist/cjs/verdocs-checkbox_4.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +9 -8
- package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +12 -70
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -2
- 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 +3 -4
- 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 +19 -10
- 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/cjs/verdocs-view.cjs.entry.js +16 -16
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -1
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +2 -2
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +1 -1
- package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +1 -1
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +18 -79
- 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 +2 -3
- 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-sign/verdocs-sign.js +23 -11
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +40 -19
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -7
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -2
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +8 -8
- package/dist/collection/components/templates/verdocs-template-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 +8 -7
- package/dist/components/verdocs-dialog.js +1 -1
- package/dist/components/verdocs-dropdown2.js +23 -73
- package/dist/components/verdocs-envelope-document-page2.js +1 -2
- package/dist/components/verdocs-envelope-sidebar.js +16 -10
- package/dist/components/verdocs-envelopes-list.js +22 -16
- 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 +2 -3
- 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 +40 -22
- 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 +23 -17
- 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/components/verdocs-view2.js +33 -27
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-button-panel_2.entry.js +3 -3
- package/dist/esm/verdocs-button_3.entry.js +5 -5
- package/dist/esm/verdocs-checkbox_4.entry.js +3 -3
- package/dist/esm/verdocs-contact-picker_2.entry.js +9 -8
- package/dist/esm/verdocs-dialog.entry.js +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +12 -70
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -2
- 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 +3 -4
- 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 +19 -10
- 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/verdocs-view.entry.js +16 -16
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_4.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog.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/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/controls/verdocs-dropdown/verdocs-dropdown.d.ts +3 -6
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +4 -1
- package/dist/types/components/embeds/verdocs-view/verdocs-view.d.ts +5 -2
- package/dist/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.d.ts +2 -0
- package/dist/types/components.d.ts +10 -2
- package/dist/verdocs-web-sdk/{p-a9281481.system.entry.js → p-00963c82.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a150f6a6.entry.js → p-00fce956.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0ba1ab37.system.entry.js → p-01abd683.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0c9f4c84.system.entry.js → p-0576809a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-712148d2.entry.js → p-09897118.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-39f758da.entry.js → p-0be3e7a7.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6895ae8b.system.entry.js → p-0da80893.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3c1a7743.entry.js → p-0fbad066.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d74621f3.system.entry.js → p-11b787f8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-90a79cb5.entry.js → p-186bca33.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-16f5a57b.system.entry.js → p-1875e0c1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-1d46d7eb.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-693b6ebb.system.entry.js → p-1db51126.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-70800dcd.system.entry.js → p-2631ef37.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-267df026.system.js +1 -1
- package/dist/verdocs-web-sdk/p-27ab46dc.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-0a7c4752.entry.js → p-289e9196.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d860605c.entry.js → p-2cf4f3d4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4f4c7aab.system.entry.js → p-2e5f2378.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b7ab2c28.entry.js → p-33f1e46c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9bf14c0b.system.entry.js → p-3a69494d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-496ce438.system.entry.js → p-3d0cec1e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-941d0925.entry.js → p-3e118891.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-12bd1b75.system.entry.js → p-50eea95a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ee4c4423.entry.js → p-521120c3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9cd794dd.entry.js → p-522c4c25.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-5588ad8b.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-5cb664f7.system.entry.js → p-55e67be6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-583b39ec.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-c82a7239.entry.js → p-5c58db62.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-5cc1a52a.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-5d7c9f22.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-612018e9.entry.js → p-5fc9541b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-114b88b3.entry.js → p-6631d2e4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0625743b.system.entry.js → p-687afca9.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fa74423b.system.entry.js → p-6c23338e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3f80a97f.system.entry.js → p-6edb5d8c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ea7db073.system.entry.js → p-73d4eae3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fccffb60.system.entry.js → p-7d560c5c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ae7bd8fa.system.entry.js → p-83c7a81f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-85391bf5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-b58237c7.system.entry.js → p-85f88369.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f42e8692.system.entry.js → p-87d67a36.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5c807974.entry.js → p-89b4d602.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8dc78489.system.entry.js → p-8acbd1f4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e135bbab.entry.js → p-919cfc98.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ababdec2.system.entry.js → p-9c496734.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-9d67be0c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-dd0aa3a4.entry.js → p-9f68f41b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-b13cfe1d.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-98d2dd05.entry.js → p-b6689317.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-be4db1ce.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c00c794f.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-a61a668f.entry.js → p-c4ddbaf8.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e41b6f91.system.entry.js → p-ccc2ab25.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad29e406.entry.js → p-ced09ac4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fb197463.system.entry.js → p-de095f6c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f881d62b.entry.js → p-e0a014d1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fe3c5f82.entry.js → p-e2dd4857.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-554849ad.system.entry.js → p-e4b9cd95.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f449b8d4.system.entry.js → p-ee8850a5.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8157bb4e.entry.js → p-fb60de13.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0c6e565f.entry.js → p-fbe1e6c3.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-0bc31629.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2484ced2.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3007fa21.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-362ed8d2.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4ae0fd79.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-51923579.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-85ea1efe.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b7b1ad8f.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b7fdf5cb.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e9edbbaa.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ef8aafa1.entry.js +0 -1
@@ -8,7 +8,7 @@ export class VerdocsTemplateTags {
|
|
8
8
|
}
|
9
9
|
render() {
|
10
10
|
var _a;
|
11
|
-
return (h(Host, { key: '
|
11
|
+
return (h(Host, { key: 'b1adfd5844f2d5302e2fda6355d868a845005345' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
|
12
12
|
}
|
13
13
|
static get is() { return "verdocs-template-tags"; }
|
14
14
|
static get originalStyleUrls() {
|
package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js
CHANGED
@@ -144,24 +144,24 @@ export class VerdocsTemplatesList {
|
|
144
144
|
// In addition to the server query we also filter locally. This provides a faster UI update
|
145
145
|
// while the onBlur re-queries the server for any new records that now qualify by the filter.
|
146
146
|
const locallyFilteredTemplates = !this.localNameFilter ? this.templates : this.templates.filter(t => t.name.toLowerCase().includes(this.localNameFilter.toLowerCase()));
|
147
|
-
return (h(Host, { key: '
|
147
|
+
return (h(Host, { key: '7dc672029a1ec88a20c7ea019bdd80bd98b4e54d' }, h("div", { key: 'feb106c393aa87d7e4207679a3823fb5ceb0f8d0', class: "header" }, h("div", { key: 'c53a7346d4c485fda35c4ebe960e1e76c8a58d81', class: "filter" }, h("verdocs-text-input", { key: 'ba16ba49cce33494d5379751378061a2ed838762', id: "verdocs-filter-name", value: this.name, clearable: true, autocomplete: "off", placeholder: "Filter by Name...", onInput: (e) => (this.localNameFilter = e.target.value.trim()), onFocusout: (e) => {
|
148
148
|
var _a;
|
149
149
|
this.name = e.target.value.trim();
|
150
150
|
this.localNameFilter = e.target.value.trim();
|
151
151
|
(_a = this.changeName) === null || _a === void 0 ? void 0 : _a.emit(this.name);
|
152
|
-
} })), h("verdocs-quick-filter", { key: '
|
152
|
+
} })), h("verdocs-quick-filter", { key: '2854a34cb955ed1e330234eac3303c1dbf90dff0', label: "Sharing", value: this.sharing, options: SharingFilters, onOptionSelected: e => {
|
153
153
|
var _a;
|
154
154
|
this.sharing = e.detail.value;
|
155
155
|
(_a = this.changeSharing) === null || _a === void 0 ? void 0 : _a.emit(this.sharing);
|
156
|
-
} }), h("verdocs-quick-filter", { key: '
|
156
|
+
} }), h("verdocs-quick-filter", { key: 'db872856578e8961bfce82e6ee3a8161100fff51', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
|
157
157
|
var _a;
|
158
158
|
this.starred = e.detail.value;
|
159
159
|
(_a = this.changeStarred) === null || _a === void 0 ? void 0 : _a.emit(this.starred);
|
160
|
-
} }), h("verdocs-quick-filter", { key: '
|
160
|
+
} }), h("verdocs-quick-filter", { key: '7ff37f6760a422c30426247434f75f61c1403773', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
|
161
161
|
var _a;
|
162
162
|
this.sort = e.detail.value;
|
163
163
|
(_a = this.changeSort) === null || _a === void 0 ? void 0 : _a.emit(this.sort);
|
164
|
-
} }), this.loading && h("verdocs-spinner", { key: '
|
164
|
+
} }), this.loading && h("verdocs-spinner", { key: '5f957818a90efacab9f67e0a672bde9da0cc5fba', mode: "dark", size: 24 }), h("div", { key: '8c2cf92c197f2c76e9a2586eda4377042d851537', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
|
165
165
|
const dateToShow = this.sort === 'created_at' ? 'created_at' : this.sort === 'updated_at' ? 'updated_at' : 'last_used_at';
|
166
166
|
const date = template[dateToShow];
|
167
167
|
const MENU_OPTIONS = [];
|
@@ -208,9 +208,9 @@ export class VerdocsTemplatesList {
|
|
208
208
|
var _a;
|
209
209
|
(_a = this.viewTemplate) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template });
|
210
210
|
} }, h("div", { class: "inner" }, h("verdocs-template-star", { template: template, endpoint: this.endpoint }), h("div", { class: "spacer icon-spacer" }), h("div", { class: "name" }, template.name), h("div", { class: "spacer usage-spacer" }), h("div", { class: "usage" }, h("span", { innerHTML: EnvelopeIcon, title: "Usage Counter" }), template.counter || '--'), h("div", { class: "spacer last-used-spacer" }), h("div", { class: "last-used" }, dateToShow === 'created_at' && h("span", { innerHTML: CreatedIcon, title: "Created" }), dateToShow === 'updated_at' && h("span", { innerHTML: UpdatedIcon, title: "Last Updated" }), dateToShow === 'last_used_at' && h("span", { innerHTML: LastUsedIcon, title: "Last Used" }), date ? format(new Date(date), 'P') : 'Never'), h("div", { class: "spacer ownership-spacer" }), template.is_public && (h("div", { class: "ownership" }, h("span", { innerHTML: GlobeAltIcon }), " Public")), !template.is_public && !template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: LockClosedIcon }), " Private")), !template.is_public && template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: BuildingOfficeIcon }), " Shared")), h("verdocs-dropdown", { options: MENU_OPTIONS, onOptionSelected: e => this.handleOptionSelected(e.detail.id, template) }))));
|
211
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
211
|
+
}), !this.initiallyLoaded && (h("div", { key: '47313a9255707d50181d0211425c60085fa5583a' }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && h("div", { key: '9bb8a3dd1a35a0c742284b8bb9c8bd4f03b19680', class: "empty-text" }, "No matching templates found. Please adjust your filters and try again."), this.initiallyLoaded && this.templates.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
|
212
212
|
this.selectedPage = e.detail.selectedPage;
|
213
|
-
} }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: '
|
213
|
+
} }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: 'dc67ae619c47deca58789f3495813b78d6c90070', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
|
214
214
|
}
|
215
215
|
static get is() { return "verdocs-templates-list"; }
|
216
216
|
static get originalStyleUrls() {
|
@@ -67,10 +67,10 @@ const VerdocsButtonPanel = /*@__PURE__*/ proxyCustomElement(class VerdocsButtonP
|
|
67
67
|
}
|
68
68
|
}
|
69
69
|
render() {
|
70
|
-
return (h(Host, { key: '
|
70
|
+
return (h(Host, { key: '639090f81aa61513ab2e5e4a627b9fc281b4ee25' }, h("div", { key: '6607c25be31e632c720bbe3963b9510ba8403c7c', class: "icon", innerHTML: this.icon, onClick: (e) => {
|
71
71
|
e.stopPropagation();
|
72
72
|
return this.toggle();
|
73
|
-
}, ref: el => (this.iconEl = el) }), h("div", { key: '
|
73
|
+
}, ref: el => (this.iconEl = el) }), h("div", { key: '40fc7ba20cfed2e2bc3224a681e3a97a79efffb9', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: '92bfbb060670902db6835c4e2d5cc749ae137a45', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: '6d3ae07ea5c4205e7532118d2254e602bf26e1f3' }))));
|
74
74
|
}
|
75
75
|
static get style() { return VerdocsButtonPanelStyle0; }
|
76
76
|
}, [4, "verdocs-button-panel", {
|
@@ -16,7 +16,7 @@ const VerdocsButton = /*@__PURE__*/ proxyCustomElement(class VerdocsButton exten
|
|
16
16
|
this.disabled = false;
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (h("button", { key: '
|
19
|
+
return (h("button", { key: 'd6d19945c25ea8fdbbd2d59fde2b2da3aef452bb', 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: '47501f72bdeaa7c02a718bfb438a919b8a8d3187', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
20
20
|
}
|
21
21
|
static get style() { return VerdocsButtonStyle0; }
|
22
22
|
}, [0, "verdocs-button", {
|
@@ -15,7 +15,7 @@ const VerdocsCheckbox = /*@__PURE__*/ proxyCustomElement(class VerdocsCheckbox e
|
|
15
15
|
this.disabled = false;
|
16
16
|
}
|
17
17
|
render() {
|
18
|
-
return (h(Host, { key: '
|
18
|
+
return (h(Host, { key: '81036ae0ba0f74e5ef75722462bf9bc726ab438e', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: '30a436a445a8ef50bcc2f5679e9aa0d2569ac2ce' }, h("input", { key: '9dfbfde6d616f1a317815e00617d81a08aa85964', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: 'f0319a2eedc97d8ec91dc675f36f52d0e07dee9d' }, this.label))));
|
19
19
|
}
|
20
20
|
static get style() { return VerdocsCheckboxStyle0; }
|
21
21
|
}, [0, "verdocs-checkbox", {
|
@@ -10,7 +10,7 @@ const VerdocsComponentError = /*@__PURE__*/ proxyCustomElement(class VerdocsComp
|
|
10
10
|
this.message = '';
|
11
11
|
}
|
12
12
|
render() {
|
13
|
-
return (h(Host, { key: '
|
13
|
+
return (h(Host, { key: '0e55b2356678698f8ff73fecf719bbdc81f0b24a' }, h("div", { key: 'e4a1572dde8ebc1890deca3ebc9883db0c4a1d29', class: "inner" }, this.message)));
|
14
14
|
}
|
15
15
|
static get style() { return VerdocsComponentErrorStyle0; }
|
16
16
|
}, [0, "verdocs-component-error", {
|
@@ -56,9 +56,8 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
56
56
|
this.message = this.templateRole.message || '';
|
57
57
|
this.showMessage = this.message !== '';
|
58
58
|
this.kbaMethod = this.templateRole.kba_method || '';
|
59
|
+
this.pinCode = this.templateRole.kba_pin || '';
|
59
60
|
this.showKba = !!this.kbaMethod;
|
60
|
-
// TODO
|
61
|
-
this.pinCode = '';
|
62
61
|
}
|
63
62
|
}
|
64
63
|
handleFirstNameChange(e) {
|
@@ -88,6 +87,8 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
88
87
|
phone: this.phone,
|
89
88
|
message: this.message,
|
90
89
|
delegator: this.delegator,
|
90
|
+
kba_method: this.kbaMethod,
|
91
|
+
kba_pin: this.pinCode,
|
91
92
|
});
|
92
93
|
}
|
93
94
|
handleSelectSuggestion(e, suggestion) {
|
@@ -101,26 +102,26 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
101
102
|
// The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
|
102
103
|
// and show a duplicate autocomplete picker on top of our own.
|
103
104
|
render() {
|
104
|
-
return (h("form", { key: '
|
105
|
+
return (h("form", { key: '7ed697ee6acfcb2062280a820496aa1b186bcea9', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: 'f15d572ec332e405250d6c477f127e2d8a82fd25', class: "row" }, h("label", { key: 'fe0bcdd7753f1c966afa60c1571bb7a7eca5b867', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: '8867d1d70cce8fa44af315a0f6b960f42e009836', class: "names-row" }, h("input", { key: '1fe63076788f4d19541755cb577cc7afca222d69', 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: 'a6817292e059865c633be5ab4afba63a561fb07d', 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: '6cb90ca5096cc3573873de6e59f77cb88a792047', class: "dropdown" }, this.contactSuggestions
|
105
106
|
.filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
|
106
107
|
.map(suggestion => {
|
107
108
|
var _a;
|
108
109
|
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))));
|
109
|
-
})))), h("div", { key: '
|
110
|
+
})))), h("div", { key: 'f60a340ab55e8415452e85f833e284de8237aa08', class: "row" }, h("label", { key: 'f0c0370b4cd9900f7fce27a1ced2d45e97475ed5', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: '32d1e8768de34ba305a44bfafd9642f9587cb1a8', 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: '5be8b8e7b42c344a4fe18761b561e634b05ae718', class: "row" }, h("label", { key: 'f19e5ea6f3639dc28e2776e6f447b901f3ab3a31', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: '3d910de57ae8dcf5e5ad9bd9ba4cb164de47eaad', 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: '7f905e47123df6733b4abcf4b5f4b1951a8abb04' }, h("div", { key: '8eb65bd012848e33f7c485a5059879fb71d05db2', class: "kba-row" }, h("label", { key: '16a4024baf3b7316e8a9f3320b710783e2feb1d4' }, "KBA:"), h("verdocs-select-input", { key: '889100e6e474fd750b566d60eec5a0f87c9c33a9', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
|
110
111
|
{ label: 'None', value: '' },
|
111
112
|
{ label: 'PIN Code', value: 'pin' },
|
112
113
|
{ label: 'Full Verification', value: 'kba' },
|
113
|
-
] }), h("div", { key: '
|
114
|
+
] }), h("div", { key: '5b80e6e7a249229363b78fea8529a6d5dfa299d7', style: { flex: '1' } }), h("verdocs-help-icon", { key: 'cb8be539954343749053aacb2d8b97f331d58ef2', 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: 'ea1604394bcbdc74485f393f732f56cd72b16456', class: "row pin-code" }, h("input", { key: '220a6ecc193996b8324fc0857fdbedc5e0c9180c', 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: '1b28ed1eaa9f4b9732047f1310201e62dba098bb', class: "row message" }, h("label", { key: 'f0b2a337ad490405ac0d077519a9b716fbf6d8d1', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: '4f06ae76980ad130f064d6d4e69312aa9384b15f', 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: 'f81cff9b0ff13ba4a643aba20c3b9d4a2c4f9876', class: "buttons" }, h("verdocs-toggle-button", { key: '038477d4a09c003ee888d5fd6bf50cd1e412fe81', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
|
114
115
|
this.showKba = e.detail.active;
|
115
116
|
if (!e.detail.active) {
|
116
117
|
this.pinCode = '';
|
117
118
|
this.kbaMethod = '';
|
118
119
|
}
|
119
120
|
this.showSuggestions = false;
|
120
|
-
} }), h("verdocs-toggle-button", { key: '
|
121
|
+
} }), h("verdocs-toggle-button", { key: '689ac4fbbcae076aa2b23e4552ee8e9ffde3e3f1', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
|
121
122
|
this.showMessage = e.detail.active;
|
122
123
|
this.showSuggestions = false;
|
123
|
-
} }), h("div", { key: '
|
124
|
+
} }), h("div", { key: '79acd11f45019554126cb2dca15c30e3b8bfe86c', class: "flex-fill" }), h("verdocs-button", { key: '63ce6fb6c58955c19dddfc7ca7187ff5ad4ea86a', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'e1523687c11224c74a6235adcc23e9e53eb995bc', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
|
124
125
|
}
|
125
126
|
static get style() { return VerdocsContactPickerStyle0; }
|
126
127
|
}, [0, "verdocs-contact-picker", {
|
@@ -18,7 +18,7 @@ const VerdocsDialog$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsDialog ext
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
render() {
|
21
|
-
return (h(Host, { key: '
|
21
|
+
return (h(Host, { key: 'b52e003d02b8d1d6b493f9f30780d6e611dd2ab5' }, h("div", { key: 'b03e572b94355bf72d9d5a97a058d142cf6491f9', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '4e5471d867af652b253f9519ad07545b6000ca55', class: "dialog" }, h("slot", { key: '04a1f24df830362512053b786ae8fb15809065a2', name: "title" }, h("div", { key: '4bc1b5731b5465dcdf7e75f847208d7c270cef67', class: "heading" }, "Please Confirm")), h("div", { key: 'ac0a0f4475627e8a80992b26583e6e98d8e2ca42', class: "content" }, h("slot", { key: '7cfdf86bab1ad28f91b99c88157b40245438a9e1' }))))));
|
22
22
|
}
|
23
23
|
static get style() { return VerdocsDialogStyle0; }
|
24
24
|
}, [4, "verdocs-dialog"]);
|
@@ -1,113 +1,63 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
2
|
+
import { randomString } from '@verdocs/js-sdk';
|
3
|
+
import { d as defineCustomElement$1 } from './verdocs-portal2.js';
|
2
4
|
|
3
5
|
const verdocsDropdownCss = "@-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-dropdown{height:26px;display:block;position:relative;font-family:\"Inter\", \"Barlow\", sans-serif}verdocs-dropdown .arrow{width:32px;height:26px;background:#fff;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #cccccc;-ms-flex-pack:center;justify-content:center}verdocs-dropdown .arrow svg{fill:#55bc81;-webkit-transition:0.3s;transition:0.3s}verdocs-dropdown.open .arrow{background:#4c56cb;border:1px solid #707ae5}verdocs-dropdown.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}#verdocs-dropdown-menu-items{width:200px;z-index:10000;position:absolute;border-radius:5px;background:#33354c;border:1px solid #654dcb}.verdocs-dropdown-menu-separator{height:1px;margin-top:5px;padding-top:5px;border-top:1px solid rgba(255, 255, 255, 0.3725490196)}.verdocs-dropdown-menu-option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;padding:10px 20px}.verdocs-dropdown-menu-option:hover{cursor:pointer;background:#55bc81}.verdocs-dropdown-menu-option[disabled]{color:#aaaaaa}.verdocs-dropdown-menu-option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}";
|
4
6
|
const VerdocsDropdownStyle0 = verdocsDropdownCss;
|
5
7
|
|
6
|
-
const MENU_ID = 'verdocs-dropdown-menu-items';
|
7
8
|
const DropdownArrow = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>`;
|
8
|
-
function debounce(func, wait, immediate) {
|
9
|
-
let timeout;
|
10
|
-
return function () {
|
11
|
-
const context = this, args = arguments;
|
12
|
-
const later = function () {
|
13
|
-
timeout = null;
|
14
|
-
if (!immediate)
|
15
|
-
func.apply(context, args);
|
16
|
-
};
|
17
|
-
const callNow = immediate && !timeout;
|
18
|
-
clearTimeout(timeout);
|
19
|
-
timeout = setTimeout(later, wait);
|
20
|
-
if (callNow)
|
21
|
-
func.apply(context, args);
|
22
|
-
};
|
23
|
-
}
|
24
9
|
const VerdocsDropdown = /*@__PURE__*/ proxyCustomElement(class VerdocsDropdown extends HTMLElement {
|
25
10
|
constructor() {
|
26
11
|
super();
|
27
12
|
this.__registerHost();
|
28
13
|
this.optionSelected = createEvent(this, "optionSelected", 7);
|
29
14
|
this.options = [];
|
30
|
-
|
31
|
-
|
32
|
-
handleResize() {
|
33
|
-
debounce(this.repositionDropdown.bind(this), 100);
|
15
|
+
this.containerId = `verdocs-send-${Math.random().toString(36).substring(2, 11)}`;
|
16
|
+
this.showPicker = false;
|
34
17
|
}
|
35
18
|
handleSelectOption(e, option) {
|
36
19
|
var _a;
|
37
20
|
e.stopPropagation();
|
38
21
|
(_a = this.optionSelected) === null || _a === void 0 ? void 0 : _a.emit(option);
|
39
|
-
this.
|
22
|
+
this.showPicker = false;
|
40
23
|
}
|
41
|
-
|
42
|
-
|
43
|
-
const menu = document.getElementById(MENU_ID);
|
44
|
-
if (menu) {
|
45
|
-
const bodyWidth = document.body.scrollWidth;
|
46
|
-
const buttonRect = (_a = this.dropdownButton) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
47
|
-
const triggerHeight = ((_b = this.dropdownButton) === null || _b === void 0 ? void 0 : _b.offsetWidth) || 28;
|
48
|
-
console.log('Repositioning dropdown', { bodyWidth, buttonRect, triggerHeight }, menu);
|
49
|
-
menu.style.top = `${((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.top) || 0) + triggerHeight}px`;
|
50
|
-
menu.style.right = `${Math.max(0, bodyWidth - ((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.right) || 0))}px`;
|
51
|
-
}
|
24
|
+
toggle() {
|
25
|
+
this.showPicker = !this.showPicker;
|
52
26
|
}
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
this.hide();
|
57
|
-
const menu = document.createElement('div');
|
58
|
-
menu.id = MENU_ID;
|
59
|
-
this.options.forEach(option => {
|
27
|
+
render() {
|
28
|
+
const elId = `verdocs-dropdown-${randomString(8)}`;
|
29
|
+
return (h(Host, { key: '60221013138707cca7fe7d8dae9e63efdac14e81' }, h("button", { key: '38faecbe5a056d753443b910a0f4487506054f0f', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", id: elId, onClick: () => (this.showPicker = !this.showPicker) }), this.showPicker && (h("verdocs-portal", { key: '83a1fc7f845eafd5f93930fdcd7a36f4693c2e22', anchor: elId, onClickAway: () => (this.showPicker = false), id: "verdocs-dropdown-menu-items" }, this.options.map(option => {
|
60
30
|
if (!option.label) {
|
61
|
-
|
62
|
-
separator.className = 'verdocs-dropdown-menu-separator';
|
63
|
-
menu.appendChild(separator);
|
31
|
+
return h("div", { class: "verdocs-dropdown-menu-separator" });
|
64
32
|
}
|
65
33
|
else {
|
66
|
-
|
67
|
-
button.className = 'verdocs-dropdown-menu-option';
|
68
|
-
button.disabled = option.disabled || false;
|
69
|
-
button.innerHTML = option.label;
|
70
|
-
button.addEventListener('click', e => this.handleSelectOption(e, option));
|
71
|
-
menu.appendChild(button);
|
34
|
+
return (h("button", { class: "verdocs-dropdown-menu-option", disabled: option.disabled || false, onClick: e => this.handleSelectOption(e, option) }, option.label));
|
72
35
|
}
|
73
|
-
});
|
74
|
-
document.body.appendChild(menu);
|
75
|
-
setTimeout(this.repositionDropdown.bind(this), 50);
|
76
|
-
}
|
77
|
-
toggle(e) {
|
78
|
-
e.stopPropagation();
|
79
|
-
if (document.getElementById(MENU_ID)) {
|
80
|
-
this.hide();
|
81
|
-
}
|
82
|
-
else {
|
83
|
-
this.showDropdown();
|
84
|
-
}
|
85
|
-
}
|
86
|
-
hide() {
|
87
|
-
var _a;
|
88
|
-
(_a = document.getElementById(MENU_ID)) === null || _a === void 0 ? void 0 : _a.remove();
|
89
|
-
}
|
90
|
-
render() {
|
91
|
-
return (h(Host, { key: '1e52613887181c34d3b6903ce32b7166b465acad' }, h("button", { key: '5216ee8fff5a1014ccd083a574c27f4ef8b22564', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
|
92
|
-
// onBlur={() => this.hide()}
|
93
|
-
ref: el => (this.dropdownButton = el) })));
|
36
|
+
})))));
|
94
37
|
}
|
95
38
|
get el() { return this; }
|
96
39
|
static get style() { return VerdocsDropdownStyle0; }
|
97
40
|
}, [0, "verdocs-dropdown", {
|
98
|
-
"options": [16]
|
99
|
-
|
41
|
+
"options": [16],
|
42
|
+
"containerId": [32],
|
43
|
+
"showPicker": [32]
|
44
|
+
}]);
|
100
45
|
function defineCustomElement() {
|
101
46
|
if (typeof customElements === "undefined") {
|
102
47
|
return;
|
103
48
|
}
|
104
|
-
const components = ["verdocs-dropdown"];
|
49
|
+
const components = ["verdocs-dropdown", "verdocs-portal"];
|
105
50
|
components.forEach(tagName => { switch (tagName) {
|
106
51
|
case "verdocs-dropdown":
|
107
52
|
if (!customElements.get(tagName)) {
|
108
53
|
customElements.define(tagName, VerdocsDropdown);
|
109
54
|
}
|
110
55
|
break;
|
56
|
+
case "verdocs-portal":
|
57
|
+
if (!customElements.get(tagName)) {
|
58
|
+
defineCustomElement$1();
|
59
|
+
}
|
60
|
+
break;
|
111
61
|
} });
|
112
62
|
}
|
113
63
|
|
@@ -44,7 +44,6 @@ const VerdocsEnvelopeDocumentPage = /*@__PURE__*/ proxyCustomElement(class Verdo
|
|
44
44
|
disconnectedCallback() {
|
45
45
|
var _a;
|
46
46
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
47
|
-
console.log('[PAGE] Disconnected', this.containerId);
|
48
47
|
}
|
49
48
|
// Left here for documentation purposes in case we find an edge case where this isn't true. But we apparently don't need this.
|
50
49
|
// When we add the resize observer it will always be triggered at least once so notifying here as well is just a dupe.
|
@@ -76,7 +75,7 @@ const VerdocsEnvelopeDocumentPage = /*@__PURE__*/ proxyCustomElement(class Verdo
|
|
76
75
|
}
|
77
76
|
render() {
|
78
77
|
const height = `${this.renderedHeight}px`;
|
79
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: 'c36ed131abfd6604c5a48d6cc02384c4c35c5653', 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) => {
|
80
79
|
// Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
|
81
80
|
// useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
|
82
81
|
// Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
|
@@ -4,11 +4,12 @@ import { g as getEnvelopeStore, u as updateStoreEnvelope } from './EnvelopeStore
|
|
4
4
|
import { F as FORMAT_TIMESTAMP } from './Types.js';
|
5
5
|
import { V as VerdocsToast } from './Toast.js';
|
6
6
|
import { S as SDKError } from './errors.js';
|
7
|
-
import { d as defineCustomElement$
|
8
|
-
import { d as defineCustomElement$
|
9
|
-
import { d as defineCustomElement$
|
10
|
-
import { d as defineCustomElement$
|
11
|
-
import { d as defineCustomElement$
|
7
|
+
import { d as defineCustomElement$9 } from './verdocs-button2.js';
|
8
|
+
import { d as defineCustomElement$8 } from './verdocs-dropdown2.js';
|
9
|
+
import { d as defineCustomElement$7 } from './verdocs-envelope-recipient-link2.js';
|
10
|
+
import { d as defineCustomElement$6 } from './verdocs-help-icon2.js';
|
11
|
+
import { d as defineCustomElement$5 } from './verdocs-ok-dialog2.js';
|
12
|
+
import { d as defineCustomElement$4 } from './verdocs-portal2.js';
|
12
13
|
import { d as defineCustomElement$3 } from './verdocs-switch2.js';
|
13
14
|
import { d as defineCustomElement$2 } from './verdocs-text-input2.js';
|
14
15
|
import { d as dateFns } from './index2.js';
|
@@ -361,7 +362,7 @@ function defineCustomElement$1() {
|
|
361
362
|
if (typeof customElements === "undefined") {
|
362
363
|
return;
|
363
364
|
}
|
364
|
-
const components = ["verdocs-envelope-sidebar", "verdocs-button", "verdocs-dropdown", "verdocs-envelope-recipient-link", "verdocs-help-icon", "verdocs-ok-dialog", "verdocs-switch", "verdocs-text-input"];
|
365
|
+
const components = ["verdocs-envelope-sidebar", "verdocs-button", "verdocs-dropdown", "verdocs-envelope-recipient-link", "verdocs-help-icon", "verdocs-ok-dialog", "verdocs-portal", "verdocs-switch", "verdocs-text-input"];
|
365
366
|
components.forEach(tagName => { switch (tagName) {
|
366
367
|
case "verdocs-envelope-sidebar":
|
367
368
|
if (!customElements.get(tagName)) {
|
@@ -370,25 +371,30 @@ function defineCustomElement$1() {
|
|
370
371
|
break;
|
371
372
|
case "verdocs-button":
|
372
373
|
if (!customElements.get(tagName)) {
|
373
|
-
defineCustomElement$
|
374
|
+
defineCustomElement$9();
|
374
375
|
}
|
375
376
|
break;
|
376
377
|
case "verdocs-dropdown":
|
377
378
|
if (!customElements.get(tagName)) {
|
378
|
-
defineCustomElement$
|
379
|
+
defineCustomElement$8();
|
379
380
|
}
|
380
381
|
break;
|
381
382
|
case "verdocs-envelope-recipient-link":
|
382
383
|
if (!customElements.get(tagName)) {
|
383
|
-
defineCustomElement$
|
384
|
+
defineCustomElement$7();
|
384
385
|
}
|
385
386
|
break;
|
386
387
|
case "verdocs-help-icon":
|
387
388
|
if (!customElements.get(tagName)) {
|
388
|
-
defineCustomElement$
|
389
|
+
defineCustomElement$6();
|
389
390
|
}
|
390
391
|
break;
|
391
392
|
case "verdocs-ok-dialog":
|
393
|
+
if (!customElements.get(tagName)) {
|
394
|
+
defineCustomElement$5();
|
395
|
+
}
|
396
|
+
break;
|
397
|
+
case "verdocs-portal":
|
392
398
|
if (!customElements.get(tagName)) {
|
393
399
|
defineCustomElement$4();
|
394
400
|
}
|
@@ -3,11 +3,12 @@ import { VerdocsEndpoint, getEnvelopes, getRecipientsWithActions, userCanCancelE
|
|
3
3
|
import { s as saveEnvelopesAsZip } from './utils.js';
|
4
4
|
import { V as VerdocsToast } from './Toast.js';
|
5
5
|
import { S as SDKError } from './errors.js';
|
6
|
-
import { d as defineCustomElement$
|
7
|
-
import { d as defineCustomElement$
|
8
|
-
import { d as defineCustomElement$
|
9
|
-
import { d as defineCustomElement$
|
10
|
-
import { d as defineCustomElement$
|
6
|
+
import { d as defineCustomElement$b } from './verdocs-button2.js';
|
7
|
+
import { d as defineCustomElement$a } from './verdocs-checkbox2.js';
|
8
|
+
import { d as defineCustomElement$9 } from './verdocs-dropdown2.js';
|
9
|
+
import { d as defineCustomElement$8 } from './verdocs-help-icon2.js';
|
10
|
+
import { d as defineCustomElement$7 } from './verdocs-pagination2.js';
|
11
|
+
import { d as defineCustomElement$6 } from './verdocs-portal2.js';
|
11
12
|
import { d as defineCustomElement$5 } from './verdocs-quick-filter2.js';
|
12
13
|
import { d as defineCustomElement$4 } from './verdocs-spinner2.js';
|
13
14
|
import { d as defineCustomElement$3 } from './verdocs-status-indicator2.js';
|
@@ -203,18 +204,18 @@ const VerdocsEnvelopesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsEnv
|
|
203
204
|
});
|
204
205
|
}
|
205
206
|
render() {
|
206
|
-
return (h(Host, { key: '
|
207
|
+
return (h(Host, { key: 'afc4e894ffe975884de4740ab191141f45ae8dd3' }, h("div", { key: 'a31c5d67b40c79977ef398ade34906083386a6df', class: "header" }, h("div", { key: '4c9e4e53ad08e7ac14d6567da0bc9d8e076f3550', class: "filter" }, h("verdocs-text-input", { key: 'ea20a5b962b13f678a333c246cde83ce6d8ee9d7', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
|
207
208
|
var _a;
|
208
209
|
// We don't locally filter envelopes because there are too many fields to match against efficiently.
|
209
210
|
this.match = e.target.value.trim();
|
210
211
|
(_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
|
211
|
-
} })), h("verdocs-quick-filter", { key: '
|
212
|
+
} })), h("verdocs-quick-filter", { key: '32a191d2d8e67c2d6633e4ae43ed16d82bc9fa8d', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
|
212
213
|
this.view = e.detail.value;
|
213
|
-
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
214
|
+
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '41ff33e406d7c7b40512e1ce3bbfbcc883b4871a', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
|
214
215
|
this.status = e.detail.value;
|
215
|
-
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
216
|
+
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '28ca07defeb30f227345dd691a1672200c071c9f', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
|
216
217
|
this.sort = e.detail.value;
|
217
|
-
} })), this.loading && h("verdocs-spinner", { key: '
|
218
|
+
} })), this.loading && h("verdocs-spinner", { key: '8cac7f3bd1c013d04a355e38ff8d299f33de8d71', mode: "dark", size: 24 }), h("div", { key: 'f3e30dd1d638900f27b618c467b2e954de3da4a6', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'afa9d35d7c33ea1d6a6dcb44572d83f9195ffaed', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
|
218
219
|
var _a;
|
219
220
|
const recipientsWithActions = getRecipientsWithActions(envelope);
|
220
221
|
const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
|
@@ -255,7 +256,7 @@ const VerdocsEnvelopesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsEnv
|
|
255
256
|
break;
|
256
257
|
}
|
257
258
|
} }))));
|
258
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
259
|
+
}), !this.initiallyLoaded && (h("div", { key: 'c9208b59bfe96f706bfb30e5ced6e9024e2d93a4', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '169424956740f02d92be417c370cbce2621a233c', 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 => {
|
259
260
|
this.selectedPage = e.detail.selectedPage;
|
260
261
|
} }))) : (h("div", null))));
|
261
262
|
}
|
@@ -292,7 +293,7 @@ function defineCustomElement$1() {
|
|
292
293
|
if (typeof customElements === "undefined") {
|
293
294
|
return;
|
294
295
|
}
|
295
|
-
const components = ["verdocs-envelopes-list", "verdocs-button", "verdocs-checkbox", "verdocs-dropdown", "verdocs-help-icon", "verdocs-pagination", "verdocs-quick-filter", "verdocs-spinner", "verdocs-status-indicator", "verdocs-text-input"];
|
296
|
+
const components = ["verdocs-envelopes-list", "verdocs-button", "verdocs-checkbox", "verdocs-dropdown", "verdocs-help-icon", "verdocs-pagination", "verdocs-portal", "verdocs-quick-filter", "verdocs-spinner", "verdocs-status-indicator", "verdocs-text-input"];
|
296
297
|
components.forEach(tagName => { switch (tagName) {
|
297
298
|
case "verdocs-envelopes-list":
|
298
299
|
if (!customElements.get(tagName)) {
|
@@ -301,25 +302,30 @@ function defineCustomElement$1() {
|
|
301
302
|
break;
|
302
303
|
case "verdocs-button":
|
303
304
|
if (!customElements.get(tagName)) {
|
304
|
-
defineCustomElement$
|
305
|
+
defineCustomElement$b();
|
305
306
|
}
|
306
307
|
break;
|
307
308
|
case "verdocs-checkbox":
|
308
309
|
if (!customElements.get(tagName)) {
|
309
|
-
defineCustomElement$
|
310
|
+
defineCustomElement$a();
|
310
311
|
}
|
311
312
|
break;
|
312
313
|
case "verdocs-dropdown":
|
313
314
|
if (!customElements.get(tagName)) {
|
314
|
-
defineCustomElement$
|
315
|
+
defineCustomElement$9();
|
315
316
|
}
|
316
317
|
break;
|
317
318
|
case "verdocs-help-icon":
|
318
319
|
if (!customElements.get(tagName)) {
|
319
|
-
defineCustomElement$
|
320
|
+
defineCustomElement$8();
|
320
321
|
}
|
321
322
|
break;
|
322
323
|
case "verdocs-pagination":
|
324
|
+
if (!customElements.get(tagName)) {
|
325
|
+
defineCustomElement$7();
|
326
|
+
}
|
327
|
+
break;
|
328
|
+
case "verdocs-portal":
|
323
329
|
if (!customElements.get(tagName)) {
|
324
330
|
defineCustomElement$6();
|
325
331
|
}
|
@@ -29,7 +29,7 @@ const VerdocsFileChooser = /*@__PURE__*/ proxyCustomElement(class VerdocsFileCho
|
|
29
29
|
}
|
30
30
|
render() {
|
31
31
|
const buttonlabel = this.file ? 'Select a different file' : 'Select a file from your computer';
|
32
|
-
return (h(Host, { key: '
|
32
|
+
return (h(Host, { key: '1fb7d04e27804d492a6b6acba5f1b0e807efa8b4' }, h("input", { key: '3a0848d85ec37c6425092c524f064f27fe8d9216', 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: '801e620892edec0bd4fc060d041943d9b4f7a558', class: "upload-box" }, h("div", { key: '5172b33ffda0d71f944aa68b8f1e44d4e79cdad4', class: "selected-filename" }, this.file ? this.file.name : 'Drag a file here'), h("div", { key: 'bc6aa5604b17cfd5f1fc46ad00cdcc33721f6ebd', class: "or-prefer" }, this.file ? unicodeNBSP : 'Or, if you prefer...'), h("verdocs-button", { key: '036010ea672f05aab75540103707c15bdd4b704d', label: buttonlabel, size: "small", onClick: e => this.handleSelectFile(e) }))));
|
33
33
|
}
|
34
34
|
static get style() { return VerdocsFileChooserStyle0; }
|
35
35
|
}, [0, "verdocs-file-chooser", {
|
@@ -35,7 +35,7 @@ const VerdocsHelpIcon = /*@__PURE__*/ proxyCustomElement(class VerdocsHelpIcon e
|
|
35
35
|
(_a = this.tooltipEl) === null || _a === void 0 ? void 0 : _a.removeAttribute('data-show');
|
36
36
|
}
|
37
37
|
render() {
|
38
|
-
return (h(Host, { key: '
|
38
|
+
return (h(Host, { key: '4ca84931519e6fe3b8a1c16cecfb8e282bd7bbc9', class: {} }, h("div", { key: 'a2c20786904b9adddc540657aa2005370d699e80', "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: '6d734bed2ab56124f30938a2f09925fbb1ecadee', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: '4635be20f0408328ce53b15411b498a0a721e85a', innerHTML: this.text }), h("div", { key: 'd9cf513b3d8f544d03632ab5cbdb3dedd4b977f5', "data-popper-arrow": "true", class: "arrow" }))));
|
39
39
|
}
|
40
40
|
static get style() { return VerdocsHelpIconStyle0; }
|
41
41
|
}, [0, "verdocs-help-icon", {
|
@@ -223,7 +223,7 @@ const VerdocsInitialDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsIniti
|
|
223
223
|
}
|
224
224
|
*/
|
225
225
|
render() {
|
226
|
-
return (h(Host, { key: '
|
226
|
+
return (h(Host, { key: '900aeea0744959a212d056aa8dd1b1574d6cdd35', onClick: e => this.handleCancel(e) }, h("div", { key: 'b6170caaedaa8919b67e6783f78998420c5c9110', class: "dialog" }, h("div", { key: '915fda82214056830d281a0ca2673c82b3aea458', class: "heading" }, "Create Your Initial"), h("div", { key: 'ab1c0325dec9d4173f1a796b2f717dbac7c62d8c', class: "content" }, h("verdocs-text-input", { key: 'a38478a6b432559d6742708a75a23b2d46ddd2cc', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: '34aedea0b3a8145a744a75b7d47586aec8913733', 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: 'b5a021ecd2048f89fde646e4eb1c41f9158d5b1b', 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: '921ddbde7a8993a015ab1ab9d4e07d0624b75533', class: "buttons" }, h("verdocs-button", { key: 'd0e3be3c7309195b8071d35c100eb485c1cbdef0', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '943b216a82be8aa9f10b8d416aaf0aaffe69c624', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
|
227
227
|
}
|
228
228
|
static get style() { return VerdocsInitialDialogStyle0; }
|
229
229
|
}, [0, "verdocs-initial-dialog", {
|
@@ -35,7 +35,7 @@ const VerdocsKbaDialog$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsKbaDial
|
|
35
35
|
this.next.emit(this.response);
|
36
36
|
}
|
37
37
|
render() {
|
38
|
-
return (h(Host, { key: '
|
38
|
+
return (h(Host, { key: 'f9a083bccfb6207ec3be7e30e9555df493ceabe4' }, h("div", { key: '3bf629c7e6e0fd1e42f11748c8e0137df77271a1', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '9d422b2e5895311095251d9cc538803ec9225a9f', class: "dialog" }, h("div", { key: 'acc9993b406f7dfef86cd59699afaf2157c59df6', class: "heading" }, "Confirm Your Identity", this.steps > 1 ? (h("span", { class: "step" }, "(", this.step, "/", this.steps, ")")) : (h(Fragment, null))), !!this.helptitle && (h("div", { key: '46eda39009fab8d07eaa48d90b1a6492792ab42a', class: "help-box" }, h("div", { key: '29c1540850ccdb8cca5ad84dc8e25de37cac7202', class: "help-icon", innerHTML: QuestionIcon }), h("div", { key: '4d9d5b06f5b6f98c2584e520d1a88103eac108bb', class: "help-details" }, h("div", { key: '127cd0963876ca5674f8233685857b5a90d4331f', class: "help-title" }, this.helptitle), h("div", { key: '8104f492a91470844fa2cc2cfd3727aa84d74d59', 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: '6f65266320dd0f9ca8ff2a0abe8b0c75cadf2bcb', class: "buttons" }, h("verdocs-button", { key: '5baa530487b8264910f9cc3927479271bdef428d', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '7a64f46c176edaa9e82872d5ef6226b8bfd3e0f2', label: "Done", onClick: () => this.handleDone(), disabled: !this.response }))))));
|
39
39
|
}
|
40
40
|
static get style() { return VerdocsKbaDialogStyle0; }
|
41
41
|
}, [0, "verdocs-kba-dialog", {
|
@@ -9,7 +9,7 @@ const VerdocsLoader = /*@__PURE__*/ proxyCustomElement(class VerdocsLoader exten
|
|
9
9
|
this.__registerHost();
|
10
10
|
}
|
11
11
|
render() {
|
12
|
-
return h(Host, { key: '
|
12
|
+
return h(Host, { key: '09a2f8601ced17f0a53e466bd5f5532524fb90a9' });
|
13
13
|
}
|
14
14
|
static get style() { return VerdocsLoaderStyle0; }
|
15
15
|
}, [0, "verdocs-loader"]);
|