@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
@@ -54,9 +54,8 @@ const VerdocsContactPicker = class {
|
|
54
54
|
this.message = this.templateRole.message || '';
|
55
55
|
this.showMessage = this.message !== '';
|
56
56
|
this.kbaMethod = this.templateRole.kba_method || '';
|
57
|
+
this.pinCode = this.templateRole.kba_pin || '';
|
57
58
|
this.showKba = !!this.kbaMethod;
|
58
|
-
// TODO
|
59
|
-
this.pinCode = '';
|
60
59
|
}
|
61
60
|
}
|
62
61
|
handleFirstNameChange(e) {
|
@@ -86,6 +85,8 @@ const VerdocsContactPicker = class {
|
|
86
85
|
phone: this.phone,
|
87
86
|
message: this.message,
|
88
87
|
delegator: this.delegator,
|
88
|
+
kba_method: this.kbaMethod,
|
89
|
+
kba_pin: this.pinCode,
|
89
90
|
});
|
90
91
|
}
|
91
92
|
handleSelectSuggestion(e, suggestion) {
|
@@ -99,26 +100,26 @@ const VerdocsContactPicker = class {
|
|
99
100
|
// The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
|
100
101
|
// and show a duplicate autocomplete picker on top of our own.
|
101
102
|
render() {
|
102
|
-
return (h("form", { key: '
|
103
|
+
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
|
103
104
|
.filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
|
104
105
|
.map(suggestion => {
|
105
106
|
var _a;
|
106
107
|
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))));
|
107
|
-
})))), h("div", { key: '
|
108
|
+
})))), 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: [
|
108
109
|
{ label: 'None', value: '' },
|
109
110
|
{ label: 'PIN Code', value: 'pin' },
|
110
111
|
{ label: 'Full Verification', value: 'kba' },
|
111
|
-
] }), h("div", { key: '
|
112
|
+
] }), 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 => {
|
112
113
|
this.showKba = e.detail.active;
|
113
114
|
if (!e.detail.active) {
|
114
115
|
this.pinCode = '';
|
115
116
|
this.kbaMethod = '';
|
116
117
|
}
|
117
118
|
this.showSuggestions = false;
|
118
|
-
} }), h("verdocs-toggle-button", { key: '
|
119
|
+
} }), h("verdocs-toggle-button", { key: '689ac4fbbcae076aa2b23e4552ee8e9ffde3e3f1', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
|
119
120
|
this.showMessage = e.detail.active;
|
120
121
|
this.showSuggestions = false;
|
121
|
-
} }), h("div", { key: '
|
122
|
+
} }), 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) }))));
|
122
123
|
}
|
123
124
|
};
|
124
125
|
VerdocsContactPicker.style = VerdocsContactPickerStyle0;
|
@@ -147,7 +148,7 @@ const VerdocsToggleButton = class {
|
|
147
148
|
(_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
|
148
149
|
}
|
149
150
|
render() {
|
150
|
-
return (h(Host, { key: '
|
151
|
+
return (h(Host, { key: '4633ea6f8281ab53c77cc1544e0c252ecbcb3e8e', 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))));
|
151
152
|
}
|
152
153
|
};
|
153
154
|
VerdocsToggleButton.style = VerdocsToggleButtonStyle0;
|
@@ -17,7 +17,7 @@ const VerdocsDialog = class {
|
|
17
17
|
}
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
return (h(Host, { key: '
|
20
|
+
return (h(Host, { key: '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' }))))));
|
21
21
|
}
|
22
22
|
};
|
23
23
|
VerdocsDialog.style = VerdocsDialogStyle0;
|
@@ -1,95 +1,37 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a68c7262.js';
|
2
|
+
import { randomString } from '@verdocs/js-sdk';
|
2
3
|
|
3
4
|
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
5
|
const VerdocsDropdownStyle0 = verdocsDropdownCss;
|
5
6
|
|
6
|
-
const MENU_ID = 'verdocs-dropdown-menu-items';
|
7
7
|
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
8
|
const VerdocsDropdown = class {
|
25
9
|
constructor(hostRef) {
|
26
10
|
registerInstance(this, hostRef);
|
27
11
|
this.optionSelected = createEvent(this, "optionSelected", 7);
|
28
12
|
this.options = [];
|
29
|
-
|
30
|
-
|
31
|
-
handleResize() {
|
32
|
-
debounce(this.repositionDropdown.bind(this), 100);
|
13
|
+
this.containerId = `verdocs-send-${Math.random().toString(36).substring(2, 11)}`;
|
14
|
+
this.showPicker = false;
|
33
15
|
}
|
34
16
|
handleSelectOption(e, option) {
|
35
17
|
var _a;
|
36
18
|
e.stopPropagation();
|
37
19
|
(_a = this.optionSelected) === null || _a === void 0 ? void 0 : _a.emit(option);
|
38
|
-
this.
|
20
|
+
this.showPicker = false;
|
39
21
|
}
|
40
|
-
|
41
|
-
|
42
|
-
const menu = document.getElementById(MENU_ID);
|
43
|
-
if (menu) {
|
44
|
-
const bodyWidth = document.body.scrollWidth;
|
45
|
-
const buttonRect = (_a = this.dropdownButton) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
46
|
-
const triggerHeight = ((_b = this.dropdownButton) === null || _b === void 0 ? void 0 : _b.offsetWidth) || 28;
|
47
|
-
console.log('Repositioning dropdown', { bodyWidth, buttonRect, triggerHeight }, menu);
|
48
|
-
menu.style.top = `${((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.top) || 0) + triggerHeight}px`;
|
49
|
-
menu.style.right = `${Math.max(0, bodyWidth - ((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.right) || 0))}px`;
|
50
|
-
}
|
22
|
+
toggle() {
|
23
|
+
this.showPicker = !this.showPicker;
|
51
24
|
}
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
this.hide();
|
56
|
-
const menu = document.createElement('div');
|
57
|
-
menu.id = MENU_ID;
|
58
|
-
this.options.forEach(option => {
|
25
|
+
render() {
|
26
|
+
const elId = `verdocs-dropdown-${randomString(8)}`;
|
27
|
+
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 => {
|
59
28
|
if (!option.label) {
|
60
|
-
|
61
|
-
separator.className = 'verdocs-dropdown-menu-separator';
|
62
|
-
menu.appendChild(separator);
|
29
|
+
return h("div", { class: "verdocs-dropdown-menu-separator" });
|
63
30
|
}
|
64
31
|
else {
|
65
|
-
|
66
|
-
button.className = 'verdocs-dropdown-menu-option';
|
67
|
-
button.disabled = option.disabled || false;
|
68
|
-
button.innerHTML = option.label;
|
69
|
-
button.addEventListener('click', e => this.handleSelectOption(e, option));
|
70
|
-
menu.appendChild(button);
|
32
|
+
return (h("button", { class: "verdocs-dropdown-menu-option", disabled: option.disabled || false, onClick: e => this.handleSelectOption(e, option) }, option.label));
|
71
33
|
}
|
72
|
-
});
|
73
|
-
document.body.appendChild(menu);
|
74
|
-
setTimeout(this.repositionDropdown.bind(this), 50);
|
75
|
-
}
|
76
|
-
toggle(e) {
|
77
|
-
e.stopPropagation();
|
78
|
-
if (document.getElementById(MENU_ID)) {
|
79
|
-
this.hide();
|
80
|
-
}
|
81
|
-
else {
|
82
|
-
this.showDropdown();
|
83
|
-
}
|
84
|
-
}
|
85
|
-
hide() {
|
86
|
-
var _a;
|
87
|
-
(_a = document.getElementById(MENU_ID)) === null || _a === void 0 ? void 0 : _a.remove();
|
88
|
-
}
|
89
|
-
render() {
|
90
|
-
return (h(Host, { key: '1e52613887181c34d3b6903ce32b7166b465acad' }, h("button", { key: '5216ee8fff5a1014ccd083a574c27f4ef8b22564', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
|
91
|
-
// onBlur={() => this.hide()}
|
92
|
-
ref: el => (this.dropdownButton = el) })));
|
34
|
+
})))));
|
93
35
|
}
|
94
36
|
get el() { return getElement(this); }
|
95
37
|
};
|
@@ -46,7 +46,6 @@ const VerdocsEnvelopeDocumentPage = class {
|
|
46
46
|
disconnectedCallback() {
|
47
47
|
var _a;
|
48
48
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
49
|
-
console.log('[PAGE] Disconnected', this.containerId);
|
50
49
|
}
|
51
50
|
// Left here for documentation purposes in case we find an edge case where this isn't true. But we apparently don't need this.
|
52
51
|
// When we add the resize observer it will always be triggered at least once so notifying here as well is just a dupe.
|
@@ -78,7 +77,7 @@ const VerdocsEnvelopeDocumentPage = class {
|
|
78
77
|
}
|
79
78
|
render() {
|
80
79
|
const height = `${this.renderedHeight}px`;
|
81
|
-
return (h(Host, { key: '
|
80
|
+
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) => {
|
82
81
|
// Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
|
83
82
|
// useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
|
84
83
|
// Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
|
@@ -102,13 +102,13 @@ const VerdocsSwitch = class {
|
|
102
102
|
this.disabled = false;
|
103
103
|
}
|
104
104
|
render() {
|
105
|
-
return (h("button", { key: '
|
105
|
+
return (h("button", { key: '6cc3b6ceec83890cafd71abb8c6def5501bed6a7', value: "on", type: "button", role: "switch", class: `switch ${this.theme} ${this.disabled ? 'disabled' : ''}`, "data-state": this.checked ? 'checked' : 'unchecked', "aria-checked": this.checked ? 'checked' : 'unchecked', onClick: () => {
|
106
106
|
var _a;
|
107
107
|
if (!this.disabled) {
|
108
108
|
this.checked = !this.checked;
|
109
109
|
(_a = this.checkedChange) === null || _a === void 0 ? void 0 : _a.emit(this.checked);
|
110
110
|
}
|
111
|
-
} }, h("span", { key: '
|
111
|
+
} }, h("span", { key: 'f6867dea9d0ebb119f401d0892149b1959a1b801', "data-state": this.checked ? 'checked' : 'unchecked', class: "slider" })));
|
112
112
|
}
|
113
113
|
};
|
114
114
|
VerdocsSwitch.style = VerdocsSwitchStyle0;
|
@@ -196,18 +196,18 @@ const VerdocsEnvelopesList = class {
|
|
196
196
|
});
|
197
197
|
}
|
198
198
|
render() {
|
199
|
-
return (h(Host, { key: '
|
199
|
+
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) => {
|
200
200
|
var _a;
|
201
201
|
// We don't locally filter envelopes because there are too many fields to match against efficiently.
|
202
202
|
this.match = e.target.value.trim();
|
203
203
|
(_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
|
204
|
-
} })), h("verdocs-quick-filter", { key: '
|
204
|
+
} })), h("verdocs-quick-filter", { key: '32a191d2d8e67c2d6633e4ae43ed16d82bc9fa8d', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
|
205
205
|
this.view = e.detail.value;
|
206
|
-
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
206
|
+
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '41ff33e406d7c7b40512e1ce3bbfbcc883b4871a', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
|
207
207
|
this.status = e.detail.value;
|
208
|
-
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
208
|
+
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '28ca07defeb30f227345dd691a1672200c071c9f', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
|
209
209
|
this.sort = e.detail.value;
|
210
|
-
} })), this.loading && h("verdocs-spinner", { key: '
|
210
|
+
} })), this.loading && h("verdocs-spinner", { key: '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 => {
|
211
211
|
var _a;
|
212
212
|
const recipientsWithActions = getRecipientsWithActions(envelope);
|
213
213
|
const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
|
@@ -248,7 +248,7 @@ const VerdocsEnvelopesList = class {
|
|
248
248
|
break;
|
249
249
|
}
|
250
250
|
} }))));
|
251
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
251
|
+
}), !this.initiallyLoaded && (h("div", { key: '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 => {
|
252
252
|
this.selectedPage = e.detail.selectedPage;
|
253
253
|
} }))) : (h("div", null))));
|
254
254
|
}
|
@@ -1140,7 +1140,7 @@ const VerdocsInitialDialog = class {
|
|
1140
1140
|
}
|
1141
1141
|
*/
|
1142
1142
|
render() {
|
1143
|
-
return (h(Host, { key: '
|
1143
|
+
return (h(Host, { key: '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) }))))));
|
1144
1144
|
}
|
1145
1145
|
};
|
1146
1146
|
VerdocsInitialDialog.style = VerdocsInitialDialogStyle0;
|
@@ -1361,7 +1361,7 @@ const VerdocsSignatureDialog = class {
|
|
1361
1361
|
}
|
1362
1362
|
*/
|
1363
1363
|
render() {
|
1364
|
-
return (h(Host, { key: '
|
1364
|
+
return (h(Host, { key: '1c8be76f76ad6c6c6bb455ea94af5aaefe48d8dc', onClick: e => this.handleCancel(e) }, h("div", { key: '179622d724573e78c3a23b81902c5380dfd3b6b4', class: "dialog" }, h("div", { key: 'a149f5453e75339e07fa6fa93c69099e5857b6c6', class: "heading" }, "Create Your Signature"), h("div", { key: 'b55b63fc5fd3050b164ff1952dc0b206265c6c06', class: "content" }, h("verdocs-text-input", { key: '2e9edfb8b7cf22819a72c2a7e831b8245134c710', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: 'a4e3a34686a783b9b16ea84b93331847ba42052f', 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: 'a5d433881194fb0beadeb357710f45c63c5a7d5a', 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: 'c0af3589e89e786f5ef67ff28786514942441bd3', class: "buttons" }, h("verdocs-button", { key: 'd7fd63314a28a0ffa430d8136718c6c4af846a5b', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '7811cf9c0c33c2f739458dec0aae9fab09ab291e', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
|
1365
1365
|
}
|
1366
1366
|
};
|
1367
1367
|
VerdocsSignatureDialog.style = VerdocsSignatureDialogStyle0;
|
@@ -1425,7 +1425,7 @@ const VerdocsUploadDialog = class {
|
|
1425
1425
|
this.selectedFiles = Array.from((_a = this.fileInput) === null || _a === void 0 ? void 0 : _a.files);
|
1426
1426
|
}
|
1427
1427
|
render() {
|
1428
|
-
return (h(Host, { key: '
|
1428
|
+
return (h(Host, { key: 'e8fc331b44b9da5a3da0b6dd144886e869b0ad57' }, h("div", { key: '7a7bf10b9d30acdbaef078e5422fb67d2924be5b', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '71dd58afe5a4651442339970b2acec4ddf13a2fb', class: "dialog" }, h("div", { key: '40c2111f9ac8c00f348273ab7643d89efc6a68e6', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && this.existingFile && (h(Fragment, { key: '76618c396fceae2809e65ce089c1d9de05218c3e' }, h("div", { key: 'dface5b5c91bcc71b326a1ff980d56178c137cbf', class: "current-label" }, "Current Attachment"), h("div", { key: 'e4dd55aed47fb5d40ceb47fee37d5e99b4e85483', class: "attachments", style: { marginTop: '0' } }, h("div", { key: '3d29f45ecbdf209dc58cccb608d26cd739d2856a', class: "attachment" }, h("div", { key: '72fd1eb1fe354b5a1071a576006abcbb6ecb3c78', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: 'cd08be12f47150d5d974b0d30b3c2479752760fd', class: "name" }, this.existingFile.name), h("div", { key: '5c8b29b1e765b8c19820932ff6252cedf923949e', class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleDeleteAttachment() }))))), this.selectedFiles.length < 1 && (h("div", { key: '0087f25c61415aa094d72bbdd2c3e66cb820356f', 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: '548e424032f1d839e61fa446960daf89a1a1369e' }, "Drag and drop a ", !!this.existingFile && 'replacement', " here..."), h("p", { key: '7e02b52cf95547cbe63e93326d906eb39ff476c5' }, "- or -"), h("verdocs-button", { key: '04d29abff12269bd87dfd42fe6cfaef15ca0bcce', label: !!this.existingFile ? 'Replace file...' : 'Select a file...', onClick: () => this.handleSelectFile() }), h("input", { key: 'b9855eed6197defe6a3e75b709d9427c2da23363', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: 'acf45d5508241f73baa1386135dec6c17f624b94', 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: '7201e2aed151424e9d18398a0f75fadb952b6a22', class: "buttons" }, h("verdocs-button", { key: '9076dc0693ff0ab365e3ce38e39b7f1336567e4a', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'f9786124e707344c3c9278ccbd6aae26a4da216a', label: "Upload", onClick: () => this.handleDone(), disabled: this.selectedFiles.length < 1 }))))));
|
1429
1429
|
}
|
1430
1430
|
};
|
1431
1431
|
VerdocsUploadDialog.style = VerdocsUploadDialogStyle0;
|
@@ -27,7 +27,7 @@ const VerdocsFileChooser = class {
|
|
27
27
|
}
|
28
28
|
render() {
|
29
29
|
const buttonlabel = this.file ? 'Select a different file' : 'Select a file from your computer';
|
30
|
-
return (h(Host, { key: '
|
30
|
+
return (h(Host, { key: '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) }))));
|
31
31
|
}
|
32
32
|
};
|
33
33
|
VerdocsFileChooser.style = VerdocsFileChooserStyle0;
|
@@ -45,7 +45,7 @@ const VerdocsProgressBar = class {
|
|
45
45
|
render() {
|
46
46
|
const widthPercent = Math.ceil((100 * Math.min(this.percent, 100)) / 100);
|
47
47
|
console.log('Rendering progress bar', { widthPercent, label: this.label, showPercent: this.showPercent, percent: this.percent });
|
48
|
-
return (h(Host, { key: '
|
48
|
+
return (h(Host, { key: '1452640352e75d2857c138b4a02c8c76cc636dab' }, h("div", { key: '284a8c45e266f91b07a4450836b395597fc8d18a', class: "labels" }, this.label && h("div", { key: '182a5e200ceab601f86e68b3fbb09fcbc6d499b9', class: "label" }, this.label), this.showPercent && h("div", { key: 'cd624e4f7678435e57beb51ff27a3339ae7475d4', class: "label" }, this.percent, "%")), h("div", { key: '4d734b86bb51c14a0e99c4b3a7461c1c41f87d36', class: "bar" }, h("div", { key: '012cc09cdcdcf310eeb0723dcb57eff2e783c8e6', class: "slider", style: { width: `${widthPercent}%` } }))));
|
49
49
|
}
|
50
50
|
};
|
51
51
|
VerdocsProgressBar.style = VerdocsProgressBarStyle0;
|
@@ -33,7 +33,7 @@ const VerdocsKbaDialog = class {
|
|
33
33
|
this.next.emit(this.response);
|
34
34
|
}
|
35
35
|
render() {
|
36
|
-
return (h(Host, { key: '
|
36
|
+
return (h(Host, { key: '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 }))))));
|
37
37
|
}
|
38
38
|
};
|
39
39
|
VerdocsKbaDialog.style = VerdocsKbaDialogStyle0;
|
@@ -8,7 +8,7 @@ const VerdocsLoader = class {
|
|
8
8
|
registerInstance(this, hostRef);
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return h(Host, { key: '
|
11
|
+
return h(Host, { key: '09a2f8601ced17f0a53e466bd5f5532524fb90a9' });
|
12
12
|
}
|
13
13
|
};
|
14
14
|
VerdocsLoader.style = VerdocsLoaderStyle0;
|
@@ -29,7 +29,7 @@ const VerdocsOkDialog = class {
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (h(Host, { key: '
|
32
|
+
return (h(Host, { key: '044bc26a34fbb0d47866a4bba1fcd9afa00fce3c', class: this.closed ? 'closed' : '' }, h("div", { key: '7770fe5bf587af5795850f62c245fbd3895c56d1', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '638b1cd3f3803afa9c5013d8ff1106068c526e6a', class: "dialog" }, h("div", { key: 'cf5ebe2ed18b46b942a91d8eb4ab5c90c5246cbc', class: "heading" }, this.heading), h("div", { key: 'fa3b50e724b16a7d3acd6d86b7fdb8e8c04581c4', class: "content" }, h("div", { key: 'fd3fcf42eca89e5cc06f00b8beb0533851b00e1b', class: "message", innerHTML: this.message }), h("div", { key: 'f4dc2ecfa87b38e8f40e751ed905c51e77007509', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: '17d5bf13abb90801117361480bddfd577b58d480', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
|
33
33
|
}
|
34
34
|
};
|
35
35
|
VerdocsOkDialog.style = VerdocsOkDialogStyle0;
|
@@ -16085,7 +16085,7 @@ const VerdocsOrganizationCard = class {
|
|
16085
16085
|
console.log('Rendering org card', this.organization.thumbnail_url, this.organization);
|
16086
16086
|
const fallbackIcon = BusinessIcon;
|
16087
16087
|
const portalId = `verdocs-org-card-${this.organization.id}`;
|
16088
|
-
return (h(Host, { key: '
|
16088
|
+
return (h(Host, { key: 'edcb6b648eb703e234ce904970ebb6b9723bf6aa', id: portalId }, this.organization.thumbnail_url ? h("img", { class: "icon", src: this.organization.thumbnail_url, alt: "Logo" }) : h("span", { class: "icon", innerHTML: fallbackIcon }), h("span", { key: 'd65260bd7cfa424e2a8330a8ad5937cbcae99284', class: "content" }, (_a = this.organization) === null || _a === void 0 ? void 0 : _a.name), h("verdocs-portal", { key: 'a3f9e0a6d165485782ae1be397c27dc2e385c48d', anchor: portalId }, h("div", { key: '75d61fc62badff566ba55fb6a8761cc4f8fb2220', class: "verdocs-org-card-popup", style: { display: this.hovered ? 'block' : 'none' } }, this.organization.full_logo_url ? (h("div", { class: "popup-header-with-logo" }, h("img", { src: this.organization.full_logo_url, alt: "Logo" }), h("div", { class: "title" }, (_b = this.organization) === null || _b === void 0 ? void 0 : _b.name))) : (h("div", { class: "popup-header" }, h("span", { class: "status" }, h("span", { class: "icon", innerHTML: fallbackIcon })), h("span", { class: "title" }, (_c = this.organization) === null || _c === void 0 ? void 0 : _c.name))), h("div", { key: '73ca0dec9baa6e86a8cdf8e6c0cec8acbbe167cf', class: "popup-body" }, h("div", { key: '60f5cf8c4b8a0cce6db8e1f098c700910244ca71', class: "field" }, h("strong", { key: '039e40d1a4584e17f87d18efb607a341eb47d564' }, "Joined"), dateFns.format(new Date(((_d = this.organization) === null || _d === void 0 ? void 0 : _d.created_at) || undefined), 'LLL d, Y')), this.organization.url && (h("div", { key: 'fa6f6ba48c7ab7da9a6291a132cec83b104fbf93', class: "field" }, h("strong", { key: 'd7f81707a67bc98efa25e6587027782bba74c6cd' }, "Website"), h("a", { key: 'c81679b5b296bacd5a52ed1beb9b7420b6bf81c7', href: (_e = this.organization) === null || _e === void 0 ? void 0 : _e.url, target: "_blank", rel: "nofollow" }, (_f = this.organization) === null || _f === void 0 ? void 0 : _f.url))))))));
|
16089
16089
|
}
|
16090
16090
|
};
|
16091
16091
|
VerdocsOrganizationCard.style = VerdocsOrganizationCardStyle0;
|
@@ -16128,8 +16128,7 @@ const VerdocsPortal = class {
|
|
16128
16128
|
// Math.max(anchorRect.left + anchorRect.width - this.portal.offsetWidth, 0);
|
16129
16129
|
const popupWidth = ((_a = this.element) === null || _a === void 0 ? void 0 : _a.offsetWidth) || 400;
|
16130
16130
|
const offRightEdge = leftOfPopup + popupWidth > rightOfViewportWithScroll;
|
16131
|
-
|
16132
|
-
return offRightEdge ? leftOfPopup - popupWidth : leftOfPopup;
|
16131
|
+
return offRightEdge ? leftOfPopup + anchorRect.width - popupWidth : leftOfPopup;
|
16133
16132
|
}
|
16134
16133
|
calculateTop() {
|
16135
16134
|
var _a;
|
@@ -16165,7 +16164,7 @@ const VerdocsPortal = class {
|
|
16165
16164
|
this.moved ? this.portal.remove() : (this.moved = true);
|
16166
16165
|
}
|
16167
16166
|
render() {
|
16168
|
-
return (h(Host, { key: '
|
16167
|
+
return (h(Host, { key: '2640e3cd863ace891444caf6f7c323397eaba1a4', ref: el => (this.element = el) }, h("slot", { key: 'c6f903125d37b41d1b85b1bdb973c3b61905ac73' })));
|
16169
16168
|
}
|
16170
16169
|
};
|
16171
16170
|
VerdocsPortal.style = VerdocsPortalStyle0;
|
@@ -42,7 +42,7 @@ const VerdocsQuickFilter$1 = class {
|
|
42
42
|
const firstPage = Math.max(0, this.selectedPage - 2);
|
43
43
|
const numPages = this.itemCount > 0 ? Math.ceil(this.itemCount / this.perPage) : 0;
|
44
44
|
const pagesToDisplay = integerSequence(0, Math.ceil(this.itemCount / this.perPage)).slice(firstPage, firstPage + VISIBLE_PAGES);
|
45
|
-
return (h(Host, { key: '
|
45
|
+
return (h(Host, { key: 'e8281a2f8d40512479595b6f10355d65d4ece855' }, this.selectedPage > 0 && h(PageButton, { key: '0ced00072d3046ef74ecc2f9c80e1deddaa6182d', page: 'first', selected: this.selectedPage, onClick: () => this.handleSelectPage(0) }), firstPage > 0 && h("div", { key: 'e6eeb99d7c42081bc0b1e010fa6c015c6ea58b3e', class: "ellipsis" }, "..."), pagesToDisplay.map(pageNumber => (h(PageButton, { page: pageNumber, selected: this.selectedPage, onClick: page => this.handleSelectPage(+page) }))), this.selectedPage < numPages - 1 && h("div", { key: '0ce4734579ec250c1d9d7a6f8171a94f8a1c2088', class: "ellipsis" }, "..."), this.selectedPage < numPages - 1 && h(PageButton, { key: '542ad8c6646d22fa1f5e399918202b173323fa6d', page: 'last', selected: this.selectedPage, onClick: () => this.handleSelectPage(numPages - 1) })));
|
46
46
|
}
|
47
47
|
get el() { return getElement(this); }
|
48
48
|
};
|
@@ -130,7 +130,7 @@ const VerdocsQuickFilter = class {
|
|
130
130
|
const longestLabelWidth = renderedTextWidth((longestOption === null || longestOption === void 0 ? void 0 : longestOption.label) || 'FILLER', '14px Inter, Barlow, sans-serif');
|
131
131
|
const prefixWidth = renderedTextWidth(this.label, '14px Inter, Barlow, sans-serif');
|
132
132
|
const minWidth = `${longestLabelWidth + prefixWidth + 40}px`;
|
133
|
-
return (h(Host, { key: '
|
133
|
+
return (h(Host, { key: '003157b49ca0a97cf1d7741862b343f7032bf37e', class: { open: !!this.open }, style: { minWidth, display: 'inline-block' } }, h("div", { key: 'e3a45fb1a5e8962c732159f145b398e7fb1f0c7d', class: "control", onClick: e => this.toggleDropdown(e), onBlur: e => this.handleHideDropdown(e) }, h("div", { key: '79b1d5d2b9dc52d4e364a3e8c56a175280d493d5', class: "title", ref: el => (this.dropdownButton = el) }, h("span", { key: '760645cc99eb63f9b90afa75b8cb787ec80ace05', class: "prefix" }, this.label, ":"), selectedOption ? selectedOption.label : this.placeholder), h("div", { key: 'dec25f104674e82f91781e53edcedb6112741f86', style: { flex: '1' } }), h("div", { key: '47f17166fad9fd3f6eba46b8589cfb935cd20222', class: "separator" }), h("div", { key: 'd6deb3811ad209885a7f973ace22fbeb7784cd0f', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu" })), h("div", { key: 'be8116461c9edcc6f9ee25ff1941eda3c9f2387d', class: "items", "aria-hidden": !this.open, ref: el => (this.dropdownMenu = el), style: { minWidth } }, (_c = this.options) === null || _c === void 0 ? void 0 : _c.map(option => option.label ? (h("button", { onClick: e => this.handleSelectOption(e, option), class: `option ${option.value === this.value ? 'selected' : ''}`, disabled: option.disabled }, option.label)) : (h("div", { class: "separator" }))))));
|
134
134
|
}
|
135
135
|
get el() { return getElement(this); }
|
136
136
|
};
|
@@ -20,7 +20,7 @@ const VerdocsQuickFunctions = class {
|
|
20
20
|
this.createDocument.emit();
|
21
21
|
}
|
22
22
|
render() {
|
23
|
-
return (h("div", { key: '
|
23
|
+
return (h("div", { key: 'e0edb4e04bbf4ee92ba26f50f3c56beec434e375', class: "container" }, h("p", { key: '58e823308edc32e234587cd6232c5014460a7a8a', class: "title" }, "Quick Create"), h("button", { key: '5ef91f83933d1d716c6627ab393cb171e977aa81', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '773b5d9e6f4288f288cee92d4c7884cdce8a3374', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
|
24
24
|
}
|
25
25
|
};
|
26
26
|
VerdocsQuickFunctions.style = VerdocsQuickFunctionsStyle0;
|