@verdocs/web-sdk 4.0.7 → 4.0.9
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/index-cfdfab36.js +4 -4
- package/dist/cjs/verdocs-button-panel.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-button_3.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dialog_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +15 -19280
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-field-attachment_14.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +3 -2
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card.cjs.entry.js +19275 -5
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_10.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-quick-functions_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +9 -9
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- 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-toolbar-icon.cjs.entry.js +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +8 -1
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +6 -2
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +17 -1
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +5 -1
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.css +15 -3
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +6 -1
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +2 -2
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -1
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +3 -2
- 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-text-input/verdocs-text-input.js +2 -2
- 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 +2 -2
- 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-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +1 -1
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +2 -2
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
- 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/components/EnvelopeStore.js +1 -1
- package/dist/components/TemplateFieldStore.js +2 -2
- package/dist/components/TemplateRoleStore.js +1 -1
- package/dist/components/TemplateStore.js +2 -2
- package/dist/components/Types.js +1 -1
- package/dist/components/index.d.ts +12 -0
- package/dist/components/index.js +171 -0
- package/dist/components/index2.js +2 -193
- package/dist/components/index4.js +193 -2
- package/dist/components/utils.js +3 -3
- package/dist/components/verdocs-activity-box.js +0 -1
- package/dist/components/verdocs-auth.js +0 -1
- package/dist/components/verdocs-build.js +0 -1
- package/dist/components/verdocs-button-panel.js +2 -3
- package/dist/components/verdocs-button2.js +1 -2
- package/dist/components/verdocs-checkbox2.js +0 -1
- package/dist/components/verdocs-component-error2.js +0 -1
- package/dist/components/verdocs-contact-picker2.js +0 -1
- package/dist/components/verdocs-dialog2.js +1 -2
- package/dist/components/verdocs-dropdown2.js +1 -2
- package/dist/components/verdocs-envelope-document-page2.js +1 -2
- package/dist/components/verdocs-envelope-recipient-link2.js +0 -1
- package/dist/components/verdocs-envelope-recipient-summary2.js +0 -1
- package/dist/components/verdocs-envelope-sidebar.js +2 -3
- package/dist/components/verdocs-envelopes-list.js +6 -7
- package/dist/components/verdocs-field-attachment2.js +0 -1
- package/dist/components/verdocs-field-checkbox2.js +1 -2
- package/dist/components/verdocs-field-date2.js +3 -4
- package/dist/components/verdocs-field-dropdown2.js +1 -2
- package/dist/components/verdocs-field-initial2.js +1 -2
- package/dist/components/verdocs-field-payment.js +0 -1
- package/dist/components/verdocs-field-radio-button2.js +1 -2
- package/dist/components/verdocs-field-signature2.js +1 -2
- package/dist/components/verdocs-field-textarea2.js +1 -2
- package/dist/components/verdocs-field-textbox2.js +1 -2
- package/dist/components/verdocs-field-timestamp2.js +3 -4
- package/dist/components/verdocs-file-chooser2.js +1 -2
- package/dist/components/verdocs-floating-menu.js +0 -1
- package/dist/components/verdocs-help-icon2.js +0 -1
- package/dist/components/verdocs-initial-dialog2.js +1 -2
- package/dist/components/verdocs-kba-dialog.js +2 -3
- package/dist/components/verdocs-loader2.js +0 -1
- package/dist/components/verdocs-ok-dialog2.js +1 -2
- package/dist/components/verdocs-organization-card.js +8 -4
- package/dist/components/verdocs-pagination2.js +1 -2
- package/dist/components/verdocs-portal2.js +1 -2
- package/dist/components/verdocs-preview2.js +0 -1
- package/dist/components/verdocs-progress-bar2.js +2 -2
- package/dist/components/verdocs-quick-filter2.js +1 -2
- package/dist/components/verdocs-quick-functions2.js +1 -2
- package/dist/components/verdocs-radio-button2.js +1 -2
- package/dist/components/verdocs-search-box2.js +0 -1
- package/dist/components/verdocs-search-tabs.js +1 -2
- package/dist/components/verdocs-search.js +1 -2
- package/dist/components/verdocs-select-input2.js +1 -2
- package/dist/components/verdocs-send2.js +2 -3
- package/dist/components/verdocs-settings-api-keys2.js +0 -1
- package/dist/components/verdocs-settings-members2.js +1 -2
- package/dist/components/verdocs-settings-organization2.js +0 -1
- package/dist/components/verdocs-settings-profile2.js +0 -1
- package/dist/components/verdocs-settings.js +0 -1
- package/dist/components/verdocs-sign.js +2 -3
- package/dist/components/verdocs-signature-dialog2.js +1 -2
- package/dist/components/verdocs-spinner2.js +1 -2
- package/dist/components/verdocs-status-indicator2.js +2 -3
- package/dist/components/verdocs-table2.js +0 -1
- package/dist/components/verdocs-tabs2.js +0 -1
- package/dist/components/verdocs-template-attachments2.js +0 -1
- package/dist/components/verdocs-template-build-tabs2.js +0 -1
- package/dist/components/verdocs-template-card.js +1 -2
- package/dist/components/verdocs-template-create2.js +0 -1
- package/dist/components/verdocs-template-document-page2.js +2 -3
- package/dist/components/verdocs-template-field-properties2.js +0 -1
- package/dist/components/verdocs-template-fields2.js +1 -2
- package/dist/components/verdocs-template-name2.js +0 -1
- package/dist/components/verdocs-template-reminders2.js +0 -1
- package/dist/components/verdocs-template-role-properties2.js +7 -8
- package/dist/components/verdocs-template-roles2.js +0 -1
- package/dist/components/verdocs-template-sender2.js +1 -2
- package/dist/components/verdocs-template-star2.js +1 -2
- package/dist/components/verdocs-template-tags.js +1 -2
- package/dist/components/verdocs-template-visibility2.js +0 -1
- package/dist/components/verdocs-templates-list.js +1 -2
- package/dist/components/verdocs-text-input2.js +2 -3
- package/dist/components/verdocs-toggle-button2.js +1 -2
- package/dist/components/verdocs-toggle.js +0 -1
- package/dist/components/verdocs-toolbar-icon2.js +1 -2
- package/dist/components/verdocs-upload-dialog2.js +1 -2
- package/dist/components/verdocs-view2.js +0 -1
- package/dist/custom-elements.json +2134 -0
- package/dist/esm/index-b89cf6a4.js +4 -4
- package/dist/esm/verdocs-button-panel.entry.js +2 -2
- package/dist/esm/verdocs-button_3.entry.js +3 -3
- package/dist/esm/verdocs-checkbox_5.entry.js +2 -2
- package/dist/esm/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm/verdocs-dialog_2.entry.js +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -19266
- package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
- package/dist/esm/verdocs-field-attachment_14.entry.js +4 -4
- package/dist/esm/verdocs-file-chooser_2.entry.js +3 -2
- package/dist/esm/verdocs-kba-dialog.entry.js +2 -2
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-organization-card.entry.js +19272 -2
- package/dist/esm/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm/verdocs-preview_10.entry.js +2 -2
- package/dist/esm/verdocs-quick-functions_2.entry.js +1 -1
- package/dist/esm/verdocs-radio-button_3.entry.js +9 -9
- package/dist/esm/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm/verdocs-search.entry.js +1 -1
- package/dist/esm/verdocs-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +2 -2
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-toolbar-icon.entry.js +1 -1
- package/dist/esm-es5/index-b89cf6a4.js +1 -1
- package/dist/esm-es5/verdocs-button-panel.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_5.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog_2.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-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_14.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-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_10.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-search.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-template-card.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-toolbar-icon.entry.js +1 -1
- package/{loader → dist/loader}/cdn.js +1 -1
- package/{loader → dist/loader}/index.cjs.js +1 -1
- package/{loader → dist/loader}/index.d.ts +1 -1
- package/dist/loader/index.es2017.js +2 -0
- package/{loader → dist/loader}/index.js +2 -2
- package/dist/types/components/controls/verdocs-button/verdocs-button.d.ts +7 -0
- package/dist/types/components/controls/verdocs-button-panel/verdocs-button-panel.d.ts +4 -0
- package/dist/types/components/controls/verdocs-dropdown/verdocs-dropdown.d.ts +16 -0
- package/dist/types/components/controls/verdocs-file-chooser/verdocs-file-chooser.d.ts +4 -0
- package/dist/types/components/controls/verdocs-pagination/verdocs-pagination.d.ts +1 -1
- package/dist/types/components/controls/verdocs-progress-bar/verdocs-progress-bar.d.ts +1 -1
- package/dist/types/components.d.ts +124 -8
- package/dist/verdocs-web-sdk/{p-b355111d.entry.js → p-0003dac3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fa51066b.entry.js → p-039c572c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-0ac52131.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-3ae988e6.entry.js → p-0bd91b17.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e26e9907.system.entry.js → p-164d9eb4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fb3afee2.system.entry.js → p-165bbc34.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b661c95f.system.entry.js → p-192fe783.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9f7a6ff6.entry.js → p-216757ff.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-322fa613.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-a396eee6.entry.js → p-3c3570cc.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5bc622c5.entry.js → p-50035423.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0191eac7.system.entry.js → p-5714caa0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba19b1d8.system.entry.js → p-5727dd92.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0f5dc1c5.system.entry.js → p-5f8341f5.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-eeece233.entry.js → p-65d71829.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-dee3aeec.entry.js → p-6a88d98b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9746816b.system.entry.js → p-6cd31085.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-32e396c5.system.entry.js → p-6f1df8e8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3415ddee.system.entry.js → p-71a93045.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-756791df.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-503072b6.entry.js → p-780c095e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-832bc1b5.entry.js → p-79407dd8.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7602d431.entry.js → p-794109d4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-846ee5dd.entry.js → p-79a5e9a6.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-75f98b48.system.entry.js → p-79cef953.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1e6cecc0.entry.js → p-7a9b4f83.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-854a3caa.entry.js → p-7ab60efa.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bd9f7023.system.entry.js → p-819187c7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-819fb18d.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-b12f1302.entry.js → p-82fbf5b5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-83d0f5e1.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-c327f3e6.system.entry.js → p-8b5d40b6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2cc1724f.entry.js → p-8fbf27ec.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-907bf2f3.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-3d9d0c2e.system.entry.js → p-943c7b8f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7a708333.system.entry.js → p-95e2ff59.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0017dee2.system.entry.js → p-99c29b9c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0664e011.system.entry.js → p-a164376d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e504ebcd.entry.js → p-a88760cd.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7db995b0.system.entry.js → p-aaa5c11a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bca3887c.system.entry.js → p-ac014bc9.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9a780e51.system.entry.js → p-ae6a23ba.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c3abfbb5.system.entry.js → p-b259c449.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8eed20fe.entry.js → p-c244e090.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-235d82f0.system.entry.js → p-c6645da7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8a0fd8b4.system.entry.js → p-ca71117e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fd064f80.entry.js → p-cdb8b832.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-656ba4ba.system.entry.js → p-da9d0886.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-db6a7e39.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-db9ef2cc.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-0f12fb66.entry.js → p-ea798c11.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-817b0210.entry.js → p-eb86419b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bf31565b.system.entry.js → p-ecfe6d7e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +7 -6
- package/dist/docs.d.ts +0 -435
- package/dist/docs.json +0 -15193
- package/dist/verdocs-web-sdk/p-294fd56c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5cc3dcb2.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-69ea5cb9.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-77fe89f5.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b952113a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c7d2e9c4.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ed863acf.entry.js +0 -1
- package/loader/index.es2017.js +0 -2
- /package/{loader → dist/loader}/package.json +0 -0
@@ -45,7 +45,7 @@ const VerdocsQuickFilter$1 = class {
|
|
45
45
|
const firstPage = Math.max(0, this.selectedPage - 2);
|
46
46
|
const numPages = this.itemCount > 0 ? Math.ceil(this.itemCount / this.perPage) : 0;
|
47
47
|
const pagesToDisplay = jsSdk.integerSequence(0, Math.ceil(this.itemCount / this.perPage)).slice(firstPage, firstPage + VISIBLE_PAGES);
|
48
|
-
return (index.h(index.Host, { key: '
|
48
|
+
return (index.h(index.Host, { key: '35e9f8dee414ae4addb4a0615d41ac2f877d6185' }, this.selectedPage > 0 && index.h(PageButton, { key: 'e3ccf5d514ed45c2e279b6ace160fa5865132f7d', page: 'first', selected: this.selectedPage, onClick: () => this.handleSelectPage(0) }), firstPage > 0 && index.h("div", { key: '74d1aaa681f9b8f3baafc935758d6dcc723fcdac', class: "ellipsis" }, "..."), pagesToDisplay.map(pageNumber => (index.h(PageButton, { page: pageNumber, selected: this.selectedPage, onClick: page => this.handleSelectPage(+page) }))), this.selectedPage < numPages - 1 && index.h("div", { key: 'cb5d8461f4a33adffcb2a6df87f6ffcf66d08737', class: "ellipsis" }, "..."), this.selectedPage < numPages - 1 && index.h(PageButton, { key: 'c433baeead865058d66f4aa127a6ce1fcc28f3bc', page: 'last', selected: this.selectedPage, onClick: () => this.handleSelectPage(numPages - 1) })));
|
49
49
|
}
|
50
50
|
get el() { return index.getElement(this); }
|
51
51
|
};
|
@@ -229,12 +229,12 @@ const VerdocsSend = class {
|
|
229
229
|
const roleNames = TemplateRoleStore.getRoleNames(this.roleStore);
|
230
230
|
const rolesAssigned = Object.values(this.rolesCompleted).filter(recipient => jsSdk.isValidEmail(recipient.email) || jsSdk.isValidPhone(recipient.phone));
|
231
231
|
const allRolesAssigned = rolesAssigned.length >= roleNames.length;
|
232
|
-
return (index.h(index.Host, { key: '
|
232
|
+
return (index.h(index.Host, { key: 'ecdc1830949a5a35b092167b201c6feb8284e221', class: { sendable: (_b = (_a = this.templateStore) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.is_sendable } }, index.h("div", { key: '2d8ebba91a5cff228135465c0956848fcc8873b5', class: "recipients" }, index.h("div", { key: '1c72951bfc1e11a1d95c04e005b3fcd8108c39f5', class: "left-line" }), index.h("div", { key: '82834a006584cde2b8020f7f233dfff685e647f2', class: `level level-start` }, this.getLevelIcon(-1), index.h("div", { key: '930ca1cc5b3f93f11f0a38703396538ee90dba5b', class: "complete" }, "Send Envelope")), this.levels.map(level => (index.h("div", { class: `level level-${level}` }, this.getLevelIcon(level), this.rolesAtLevel[level].map(role => {
|
233
233
|
var _a, _b, _c, _d, _e, _f;
|
234
234
|
const unknown = !role.email;
|
235
235
|
const elId = `verdocs-send-recipient-${role.name}`;
|
236
236
|
return unknown ? (index.h("div", { class: "recipient", style: { backgroundColor: jsSdk.getRGBA(TemplateRoleStore.getRoleIndex(this.roleStore, role.name)) }, onClick: e => this.handleClickRole(e, role), id: elId }, (_b = (_a = this.rolesCompleted[role.id]) === null || _a === void 0 ? void 0 : _a.full_name) !== null && _b !== void 0 ? _b : role.name, index.h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (index.h("verdocs-portal", { anchor: elId, onClickAway: () => (this.showPickerForId = '') }, index.h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_c = this.rolesCompleted[role.id]) !== null && _c !== void 0 ? _c : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } }))))) : (index.h("div", { class: "recipient", style: { borderColor: jsSdk.getRGBA(TemplateRoleStore.getRoleIndex(this.roleStore, role.name)) }, onClick: e => this.handleClickRole(e, role), id: elId }, (_e = (_d = this.rolesCompleted[role.id]) === null || _d === void 0 ? void 0 : _d.full_name) !== null && _e !== void 0 ? _e : role.full_name, index.h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (index.h("verdocs-portal", { anchor: elId, onClickAway: () => (this.showPickerForId = '') }, index.h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_f = this.rolesCompleted[role.id]) !== null && _f !== void 0 ? _f : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } })))));
|
237
|
-
})))), index.h("div", { key: '
|
237
|
+
})))), index.h("div", { key: '241118ea059aadb8a6030b5ee5bd4383e88af212', class: `level level-done` }, this.getLevelIcon(this.levels.length), index.h("div", { key: '05ba689ac40aaf1543b921b490f8fe4550bad4df', class: "complete" }, "Signing Complete"))), index.h("div", { key: '39c73b0a3310d85dfbd29f2d2fda347d37091e90', class: "buttons" }, index.h("verdocs-button", { key: 'c3d1196a34f1cd4ab654aa07b707372054f26202', label: "Cancel", size: "small", variant: "outline", onClick: e => this.handleCancel(e), disabled: this.sending }), index.h("verdocs-button", { key: 'd2e16d7a4d97c8888df3e7257296dee6f8db3234', label: "Send", size: "small", disabled: !allRolesAssigned || this.sending, onClick: e => this.handleSend(e) }), this.sending && index.h("verdocs-spinner", { key: 'd8c0a234261d1b77d6343dd7e426c28475dceadf' }))));
|
238
238
|
}
|
239
239
|
};
|
240
240
|
VerdocsSend.style = VerdocsSendStyle0;
|
@@ -24,7 +24,7 @@ const VerdocsQuickFunctions = class {
|
|
24
24
|
this.createDocument.emit();
|
25
25
|
}
|
26
26
|
render() {
|
27
|
-
return (index.h("div", { key: '
|
27
|
+
return (index.h("div", { key: 'e7d2ca753e83c18c1ca85aedcbe277db1488ab63', class: "container" }, index.h("p", { key: 'b5e1a9ff78f3fb76eacb96c8168f094f41f8d877', class: "title" }, "Quick Create"), index.h("button", { key: 'ac967b777b02f6d6155798ddd015de9eeafadd6f', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), index.h("button", { key: 'e36d5ac7e47e8e0d943b3722820fc994e0cad625', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
|
28
28
|
}
|
29
29
|
};
|
30
30
|
VerdocsQuickFunctions.style = VerdocsQuickFunctionsStyle0;
|
@@ -23,7 +23,7 @@ const VerdocsRadioButton = class {
|
|
23
23
|
this.disabled = false;
|
24
24
|
}
|
25
25
|
render() {
|
26
|
-
return (index.h(index.Host, { key: '
|
26
|
+
return (index.h(index.Host, { key: '08503221049dbcdb5ad6d8804576bd302437a784', class: { disabled: this.disabled } }, index.h("input", { key: '649115f2c5d916fbec807ab0566ec3352abe6afd', type: "radio", value: this.value, name: this.name, id: `verdocs-radio-button-${this.name}-${this.value}`, checked: this.checked, disabled: this.disabled }), index.h("label", { key: '597495b414c518d808f241cea9c3c66b0fabdf63', htmlFor: `verdocs-radio-button-${this.name}-${this.value}` })));
|
27
27
|
}
|
28
28
|
};
|
29
29
|
VerdocsRadioButton.style = VerdocsRadioButtonStyle0;
|
@@ -146,31 +146,31 @@ const VerdocsTemplateRoleProperties = class {
|
|
146
146
|
}
|
147
147
|
render() {
|
148
148
|
const hasFields = this.fieldStore.get('fields').some(field => field.role_name === this.roleName);
|
149
|
-
return (index.h(index.Host, { key: '
|
149
|
+
return (index.h(index.Host, { key: '710e7f0ab8b1ecad6fa29a2872cfa8cd724deabd' }, index.h("div", { key: 'cce8cee42d046c80504e4ae6905cd290334612e6', class: "background-overlay", onClick: e => this.handleCancel(e) }, index.h("div", { key: '9d43dd9253210f0682f9cf59835702e3ccde5b4f', class: "dialog" }, index.h("form", { key: 'b532cbc42c82301bbb528b8a3c5112ccad7ae0e4', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, index.h("verdocs-text-input", { key: '084af944f9d6c9f3e6fbc562caae052523c755f0', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
|
150
150
|
? 'This role has fields assigned and can no longer be renamed.'
|
151
151
|
: 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Role Name...", onInput: (e) => {
|
152
152
|
this.name = e.target.value;
|
153
153
|
this.dirty = true;
|
154
|
-
} }), index.h("div", { key: '
|
154
|
+
} }), index.h("div", { key: '2dabe3a2431972036407ec97432809b58ca8f250', class: "row" }, index.h("div", { key: 'fe50813b64830cd68e0c24621aaf72b926aac517', class: "input-label" }, "Type:"), index.h("verdocs-select-input", { key: '24ba6e3ae5f4fe7c187e7a11e12baaba4caaa094', value: this.type, options: [
|
155
155
|
{ label: 'Signer', value: 'signer' },
|
156
156
|
{ label: 'CC', value: 'cc' },
|
157
157
|
{ label: 'Approver', value: 'approver' },
|
158
158
|
], onInput: (e) => {
|
159
159
|
this.type = e.target.value;
|
160
160
|
this.dirty = true;
|
161
|
-
} }), index.h("verdocs-help-icon", { key: '
|
161
|
+
} }), index.h("verdocs-help-icon", { key: '271c9d72f5b7b7ecb683cd4b0ea0dbfec26d385b', text: "Most participants are Signers. CC roles are notified when documents are signed, but have no other actions. Approvers get notified when signing is completed to perform a final review." })), index.h("verdocs-text-input", { key: 'cccad696894aeb79f93803c8cc50fa9552a29860', id: "verdocs-recipient-email", label: "Full Name", value: this.full_name, autocomplete: "off", helpText: "The recipient's full name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Full Name...", onInput: (e) => {
|
162
162
|
this.full_name = e.target.value;
|
163
163
|
this.dirty = true;
|
164
|
-
} }), index.h("verdocs-text-input", { key: '
|
164
|
+
} }), index.h("verdocs-text-input", { key: '5a374e483b87942567a63c39fe9fdef13d460c59', id: "verdocs-recipient-email", label: "Email", value: this.email, autocomplete: "off", helpText: "The recipient's email address, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Email Address...", onInput: (e) => {
|
165
165
|
this.email = e.target.value;
|
166
166
|
this.dirty = true;
|
167
|
-
} }), index.h("verdocs-text-input", { key: '
|
167
|
+
} }), index.h("verdocs-text-input", { key: '8e9bf75190115c2b856a5a109a82e4fade3d99a7', id: "verdocs-recipient-phone", label: "Phone", value: this.phone, autocomplete: "off", helpText: "The recipient's phone number, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Phone Number...", onInput: (e) => {
|
168
168
|
this.phone = e.target.value;
|
169
169
|
this.dirty = true;
|
170
|
-
} }), index.h("div", { key: '
|
170
|
+
} }), index.h("div", { key: '9fd9cb1a91e78154bf1df75cec3b357a464955c5', class: "row" }, index.h("div", { key: '480168f43800400d9572f6018a0d1d60cc56a588', class: "input-label" }, "May Delegate:"), index.h("div", { key: 'e65486b714f0e8917572494c57f1ea316ef73038', class: "checkbox-wrapper" }, index.h("verdocs-checkbox", { key: '3c76bfc3d233e09be06e7bf252fd6997b30fc38b', checked: this.delegator, onInput: (e) => {
|
171
171
|
this.delegator = e.target.checked;
|
172
172
|
this.dirty = true;
|
173
|
-
} })), index.h("verdocs-help-icon", { key: '
|
173
|
+
} })), index.h("verdocs-help-icon", { key: '99076f70ccdf5a961a7078093e2f3f2ca73b56fb', text: "If enabled, this recipient may delegate their actions to another individual." })), index.h("div", { key: '86f63ddbd965d2709269cfeb1f105c69424d3a5c', class: "buttons" }, index.h("button", { key: 'ddde079896635a69dcd10bb82008c1986ed52383', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), index.h("div", { key: 'f4d23743dce9acb5f16c519b569764bb17253944', style: { flex: '1' } }), index.h("verdocs-button", { key: 'fe271dda2a5e9d6a8f0c4ba4199af5ea8f81077d', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), index.h("verdocs-button", { key: '38b2986e9e3b784215fcafdf486631f7ebf1361b', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
|
174
174
|
}
|
175
175
|
};
|
176
176
|
VerdocsTemplateRoleProperties.style = VerdocsTemplateRolePropertiesStyle0;
|
@@ -237,7 +237,7 @@ const VerdocsTemplateSender = class {
|
|
237
237
|
});
|
238
238
|
}
|
239
239
|
render() {
|
240
|
-
return (index.h(index.Host, { key: '
|
240
|
+
return (index.h(index.Host, { key: 'b8ca2ff8bdae1256801c67f7be188f6b3e4c5c33' }, index.h("div", { key: '565b0287142ce32fd1d11b7e344b35b8151b9e93', class: "background-overlay", onClick: e => this.handleDismiss(e) }, index.h("div", { key: '2ece454c0aba99deb418e1ac2035e237a2296a6c', class: "dialog" }, index.h("div", { key: 'cbac2ba10ad6cd63e714019e4311627e7972ae52', class: "options" }, index.h("div", { key: '1ab94e1e5f30089cabb6abf23ee1294663cfa878', class: "option" }, index.h("verdocs-radio-button", { key: 'ae1689ae1a34ff1f9e1ae99917e659c27e2b6731', name: "template-sender", value: 'everyone', checked: this.sender === 'everyone', onInput: () => this.handleSelectSetting('everyone') }), index.h("div", { key: '78741f9340debb402dfcca11bf33a19660f7c541', class: "description" }, index.h("div", { key: 'ddee4eaf150cf0989849a2799896a2fd7c401411', class: "name" }, "Anyone on the Web"), index.h("verdocs-help-icon", { key: 'f51b1ba236eb08ebaae5a6171b9d3f8815dfb7c5', text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), index.h("div", { key: '37095164cf4cfa5030b1d2da04b6add9a572c914', class: "option" }, index.h("verdocs-radio-button", { key: '8e8c8681e992cf00caa314c493afcd5bdb7a0fbe', name: "template-sender", value: 'everyone_as_creator', checked: this.sender === 'everyone_as_creator', onInput: () => this.handleSelectSetting('everyone_as_creator') }), index.h("div", { key: '5a94fd99ef10648c5c1f68a91f80c31d1e8f5078', class: "description" }, index.h("div", { key: '9a64f779ebe53499683f5af9ec7bc0218fe66499', class: "name" }, "Anyone on the Web as me"), index.h("verdocs-help-icon", { key: '64edd79a609173c7399dbc2cce06269f0f7adc15', text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), index.h("div", { key: 'b287986b5282e92153504a328a9273b0fcb81902', class: "option" }, index.h("verdocs-radio-button", { key: '909e26ec66bf5d27014f2ef41c533662f5e2033e', name: "template-sender", value: 'organization_member', checked: this.sender === 'organization_member', onInput: () => this.handleSelectSetting('organization_member') }), index.h("div", { key: '3a42018b36b144feefa5a662e23f852dcd230889', class: "description" }, index.h("div", { key: '071573ff99a6019b9d9ba164c7d6d3123b209510', class: "name" }, "Anyone in my organization"), index.h("verdocs-help-icon", { key: 'ecb0c3cd3f39c92954dd20c94a12c38ce35aa8cb', text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), index.h("div", { key: '2515c8c359379c70b7be04b2c50a139b760d777c', class: "option" }, index.h("verdocs-radio-button", { key: 'd5edd7267eb494c73cee3168de5d841c969a22aa', name: "template-sender", value: 'organization_member_as_creator', checked: this.sender === 'organization_member_as_creator', onInput: () => this.handleSelectSetting('organization_member_as_creator') }), index.h("div", { key: '31cbe88f2cc23b74534bb2d51f280a3112827722', class: "description" }, index.h("div", { key: '11160a0c962837e4c4342f46e111fe8ada8ca4d3', class: "name" }, "Anyone in my organization as me"), index.h("verdocs-help-icon", { key: 'd23472c9393598908dab4ae2a4cba983bafc89e1', text: "Anyone in my organization can use this template on my behalf. (Make sure its visibility is set to to 'Shared'.)" }))), index.h("div", { key: '128da3cd0259b4d72bd6bca910b932898d9f5f38', class: "option" }, index.h("verdocs-radio-button", { key: '0a65d2f15e37330526bbf384868b4e65a3b7ce5b', name: "template-sender", value: 'creator', checked: this.sender === 'creator', onInput: () => this.handleSelectSetting('creator') }), index.h("div", { key: '6182e6fd82ea55b8e59e175e6413f324657405b5', class: "description" }, index.h("div", { key: '919c6b40c4f171b491b8001c30acca73c6308a86', class: "name" }, "Me"), index.h("verdocs-help-icon", { key: '9aaaa7ad26ec56b5667c1c1ea31ce19f2742c81e', text: "Only I can use this template." })))), index.h("div", { key: '6b7bdc820887b652552d4ad9f08ac5c3f83fc71c', class: "buttons" }, index.h("verdocs-button", { key: 'bcaf3bc67e9de9c62cda7fb6cc1c5ecbfd168d9e', label: "Close", onClick: () => this.handleClose() }))))));
|
241
241
|
}
|
242
242
|
};
|
243
243
|
VerdocsTemplateSender.style = VerdocsTemplateSenderStyle0;
|
@@ -13,7 +13,7 @@ const VerdocsSearchTabs = class {
|
|
13
13
|
this.selected = 'all';
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return index.h("div", { key: '
|
16
|
+
return index.h("div", { key: 'b5bf8a69699b2d55bd2c744dc2c96ec09e185351' }, "\u00A0");
|
17
17
|
}
|
18
18
|
};
|
19
19
|
VerdocsSearchTabs.style = VerdocsSearchTabsStyle0;
|
@@ -14,7 +14,7 @@ const VerdocsSearch = class {
|
|
14
14
|
this.endpoint = jsSdk.VerdocsEndpoint.getDefault();
|
15
15
|
}
|
16
16
|
render() {
|
17
|
-
return (index.h("div", { key: '
|
17
|
+
return (index.h("div", { key: '1bdc73f6b69fdaf197b4d228c36ac28a4de147c8', class: "container" }, index.h("verdocs-search-box", { key: 'd5305d39714c09a83dca8d87282fe3bec40491f0', endpoint: this.endpoint }), index.h("div", { key: '6f333add2936ca54994f0ec4e33023fa2b196b07', class: "boxes" }, index.h("verdocs-search-activity", { key: '2c49e617f5bbb0337a3e48a18b2687478f512847', type: "recent", endpoint: this.endpoint }), index.h("verdocs-search-activity", { key: '3ee0c69f75e839459c63f33bf24302e3cc277adf', type: "saved", endpoint: this.endpoint }), index.h("verdocs-search-activity", { key: '1f78fdc2d68b97a24a37ba544bd2d49d49d43b32', type: "starred", endpoint: this.endpoint }), index.h("verdocs-quick-functions", { key: '789f6170d2f7e0b17da045d4c2350c69a7e9588b', endpoint: this.endpoint }))));
|
18
18
|
}
|
19
19
|
};
|
20
20
|
VerdocsSearch.style = VerdocsSearchStyle0;
|
@@ -16,7 +16,7 @@ const VerdocsQuickFilter = class {
|
|
16
16
|
this.mode = 'light';
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (index.h(index.Host, { key: '
|
19
|
+
return (index.h(index.Host, { key: 'd8e7181efe02d923319257c59da36ae807fcf7a0', style: {
|
20
20
|
width: `${this.size}px`, //
|
21
21
|
height: `${this.size}px`,
|
22
22
|
flex: `0 0 ${this.size}px`,
|
@@ -7185,11 +7185,11 @@ const VerdocsStatusIndicator = class {
|
|
7185
7185
|
}
|
7186
7186
|
const icon = this.getStatusIcon(status);
|
7187
7187
|
const statusMessage = this.getStatusMessage(status);
|
7188
|
-
return (index.h(index.Host, { key: '
|
7188
|
+
return (index.h(index.Host, { key: 'aaaa7b0cc222b74a9fc8b1663ca3ddf9d4580cf6', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
|
7189
7189
|
e.stopPropagation();
|
7190
7190
|
e.preventDefault();
|
7191
7191
|
this.envelope && this.toggleDropdown();
|
7192
|
-
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, index.h("span", { key: '
|
7192
|
+
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, index.h("span", { key: '03baee21425fefa4ce17e3e1998fb60f32310bb0', class: "icon", innerHTML: icon }), index.h("span", { key: '19b98f1e2cb76a7488bd7400928930d33b1003d0', class: "content" }, statusMessage), index.h("div", { key: '870dd620390fa1f201ca1b509f0c3bcf513cfa8c', class: "detail-panel", ref: el => (this.detailPanel = el) }, index.h("div", { key: '7cbe6e3452da0997d2169f2d1024e3d68f891d96', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (index.h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
|
7193
7193
|
}
|
7194
7194
|
};
|
7195
7195
|
VerdocsStatusIndicator.style = VerdocsStatusIndicatorStyle0;
|
@@ -18,7 +18,7 @@ const VerdocsTemplateCard = class {
|
|
18
18
|
}
|
19
19
|
render() {
|
20
20
|
var _a, _b, _c, _d;
|
21
|
-
return (index.h(index.Host, { key: '
|
21
|
+
return (index.h(index.Host, { key: '3ef4b7a60f214bc1b4301f82c4d6c0c43cb31c1c' }, index.h("span", { key: '5da8ee7013a901cfd37bde9319f2efa68d08d6f6', class: "name" }, this.template.name), index.h("span", { key: '0e27a427f7575435bc09e98408cb8ebfd20f2221', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), index.h("hr", { key: '3471951b3a1aae2b6e753f7eaf14bb44b5ec9270' }), index.h("div", { key: 'eb4f5304de241f9e7ff0a558591d1a3caca8b29f', class: "controls" }, index.h("div", { key: '3d913d458116470de9abc5f88234bb4ed57e561e', class: "control" }, index.h("span", { key: '5dbfeb4e3c103b49ce9c6d54b5249af8b5b16086', class: "icon", innerHTML: StarIcon }), index.h("span", { key: 'ca84ade8a0d54ab96bdee35c63b03e34ab893257', class: "value" }, this.template.star_counter)), index.h("div", { key: '01385ff24ea0de2948b3ede9fbf1058f92ab5c7f', class: "control secondary" }, index.h("span", { key: '907331cb5970739199c2b319b18f17f9ce98bb93', class: "icon", innerHTML: PagesIcon }), index.h("span", { key: '9120a25679b0f9bf7a89a77b76f9c253d66df2c9', class: "value" }, ((_d = (_c = (_b = this.template) === null || _b === void 0 ? void 0 : _b.documents) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.pages) || 1)), index.h("div", { key: '935459e3076e01cbbd2af34b2515e10722672799', class: "control secondary" }, index.h("span", { key: '1db1cc5176095a2d5646112a1d8aafc66b6e8772', class: "icon", innerHTML: EmailIcon }), index.h("span", { key: 'a66c84bfb81ac9ca2608a2dd35c28a707d3e7956', class: "value" }, this.template.counter)), index.h("span", { key: '0f9a72ba9ccc5c8c68321df12d0fdb489a25e4ac', class: "additional-controls", innerHTML: ActionsIcon }))));
|
22
22
|
}
|
23
23
|
};
|
24
24
|
VerdocsTemplateCard.style = VerdocsTemplateCardStyle0;
|
@@ -46,7 +46,7 @@ const VerdocsTemplateStar = class {
|
|
46
46
|
});
|
47
47
|
}
|
48
48
|
render() {
|
49
|
-
return (index.h(index.Host, { key: '
|
49
|
+
return (index.h(index.Host, { key: 'a3b6ca54b4549954355f9061b871489243432da7' }, index.h("div", { key: 'abcfec7a6fb4d928b3bc7080cbe49eb299cb56f9', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), index.h("div", { key: 'a36087cb85065e3cf888ec8c8ef6fa88f4b3a2e9', class: "count" }, this.template.star_counter || '--')));
|
50
50
|
}
|
51
51
|
};
|
52
52
|
VerdocsTemplateStar.style = VerdocsTemplateStarStyle0;
|
@@ -14,7 +14,7 @@ const VerdocsTemplateTags = class {
|
|
14
14
|
}
|
15
15
|
render() {
|
16
16
|
var _a;
|
17
|
-
return (index.h(index.Host, { key: '
|
17
|
+
return (index.h(index.Host, { key: 'b98c9a6fdcf66d4a7f779a7022f6b16cb7eef987' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (index.h("span", null, tag)))));
|
18
18
|
}
|
19
19
|
};
|
20
20
|
VerdocsTemplateTags.style = VerdocsTemplateTagsStyle0;
|
@@ -44,7 +44,7 @@ const VerdocsToolbarIcon = class {
|
|
44
44
|
// this.press?.emit();
|
45
45
|
// }
|
46
46
|
render() {
|
47
|
-
return (index.h(index.Host, { key: '
|
47
|
+
return (index.h(index.Host, { key: 'f9c2c8bd293559e5e504b69cbc445ca813f134a2', class: {} }, index.h("div", { key: 'e5d497d4859e8bd61364f56f8c452c61ece75a76', "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) }), index.h("div", { key: 'ebb1c0fa2cd8b58eba9d5057fc965ead53c23059', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, index.h("div", { key: 'df0d03fbeeeb3016dde67f6d8bf8f75c5a97105c', "data-popper-arrow": "true", class: "arrow" }))));
|
48
48
|
}
|
49
49
|
};
|
50
50
|
VerdocsToolbarIcon.style = VerdocsToolbarIconStyle0;
|
@@ -1,4 +1,11 @@
|
|
1
1
|
import { h } from "@stencil/core";
|
2
|
+
/**
|
3
|
+
* A simple button
|
4
|
+
*
|
5
|
+
* ```jsx
|
6
|
+
* <verdocs-button label="Click Me" />
|
7
|
+
* ```
|
8
|
+
*/
|
2
9
|
export class VerdocsButton {
|
3
10
|
constructor() {
|
4
11
|
this.label = undefined;
|
@@ -10,7 +17,7 @@ export class VerdocsButton {
|
|
10
17
|
this.disabled = false;
|
11
18
|
}
|
12
19
|
render() {
|
13
|
-
return (h("button", { key: '
|
20
|
+
return (h("button", { key: '92cd9d2b91cd0c950ae687af05496c2edc095e95', 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: '916c32a365115a8e4c1eaeb9a641acf376ff3f1c', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
14
21
|
}
|
15
22
|
static get is() { return "verdocs-button"; }
|
16
23
|
static get originalStyleUrls() {
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { createPopper } from "@popperjs/core";
|
2
2
|
import { h, Host } from "@stencil/core";
|
3
|
+
/**
|
4
|
+
* Display an icon button that triggers a drop-down panel that can display
|
5
|
+
* arbitrary child content, such as metadata, forms, or other controls.
|
6
|
+
*/
|
3
7
|
export class VerdocsButtonPanel {
|
4
8
|
constructor() {
|
5
9
|
// Not marked as @State because it's not the thing that controls our rendering
|
@@ -61,10 +65,10 @@ export class VerdocsButtonPanel {
|
|
61
65
|
}
|
62
66
|
}
|
63
67
|
render() {
|
64
|
-
return (h(Host, { key: '
|
68
|
+
return (h(Host, { key: 'cbf8d72d05c0a1461d0fb99e78879c42bd737336' }, h("div", { key: '87dec92b073c1dee35b40f08db6752e663b6249e', class: "icon", innerHTML: this.icon, onClick: (e) => {
|
65
69
|
e.stopPropagation();
|
66
70
|
return this.toggle();
|
67
|
-
}, ref: el => (this.iconEl = el) }), h("div", { key: '
|
71
|
+
}, ref: el => (this.iconEl = el) }), h("div", { key: '86911772f264252db5527655d5ac459c20813f1c', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: '0b4286031122fafe3927da086fd0b826bad6c388', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: '0644253791590daa7faf9de9e8be9cd599c2f9cc' }))));
|
68
72
|
}
|
69
73
|
static get is() { return "verdocs-button-panel"; }
|
70
74
|
static get originalStyleUrls() {
|
@@ -18,6 +18,22 @@ function debounce(func, wait, immediate) {
|
|
18
18
|
func.apply(context, args);
|
19
19
|
};
|
20
20
|
}
|
21
|
+
/**
|
22
|
+
* Display a drop-down menu button. A menu of the specified options will be displayed when the button is pressed. The menu will be hidden
|
23
|
+
* when the button is pressed again, or an option is selected. Separators may be created by supplying an entry with an empty label.
|
24
|
+
*
|
25
|
+
* ```html
|
26
|
+
* <verdocs-dropdown
|
27
|
+
* options={[
|
28
|
+
* {label: 'Option 1', disabled: true},
|
29
|
+
* {label: 'Option 2', id: '2'}
|
30
|
+
* {label: ''}
|
31
|
+
* {label: 'Option 3', id: '2'}
|
32
|
+
* ]}
|
33
|
+
* label="OK" onClick={() => (console.log('OK clicked'))}
|
34
|
+
* />
|
35
|
+
* ```
|
36
|
+
*/
|
21
37
|
export class VerdocsDropdown {
|
22
38
|
constructor() {
|
23
39
|
this.options = [];
|
@@ -82,7 +98,7 @@ export class VerdocsDropdown {
|
|
82
98
|
(_a = document.getElementById(MENU_ID)) === null || _a === void 0 ? void 0 : _a.remove();
|
83
99
|
}
|
84
100
|
render() {
|
85
|
-
return (h(Host, { key: '
|
101
|
+
return (h(Host, { key: 'ba41da3a28f1fb5b36c6918967fad5297cedf8dd' }, h("button", { key: '8f10c96d7e108f79115c8b4b309c7e02ab5f37f6', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
|
86
102
|
// onBlur={() => this.hide()}
|
87
103
|
ref: el => (this.dropdownButton = el) })));
|
88
104
|
}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import { VerdocsEndpoint } from "@verdocs/js-sdk";
|
2
2
|
import { h, Host } from "@stencil/core";
|
3
3
|
import { unicodeNBSP } from "../../../utils/Icons";
|
4
|
+
/**
|
5
|
+
* Displays a file picker to upload an attachment. This component is just the picker - the host application or component should
|
6
|
+
* provide the actual upload functionality.
|
7
|
+
*/
|
4
8
|
export class VerdocsFileChooser {
|
5
9
|
constructor() {
|
6
10
|
this.endpoint = VerdocsEndpoint.getDefault();
|
@@ -21,7 +25,7 @@ export class VerdocsFileChooser {
|
|
21
25
|
}
|
22
26
|
render() {
|
23
27
|
const buttonlabel = this.file ? 'Select a different file' : 'Select a file from your computer';
|
24
|
-
return (h(Host, { key: '
|
28
|
+
return (h(Host, { key: 'f8febf3e2ed17a5997e9e97aad97a83ecd5a0bb2' }, h("input", { key: 'b151b6e4a19521ecb95b40a7b414c6ffd3e7c74b', 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: '9aa5d9b06f54f4479afb9276702632c695d24d0f', class: "upload-box" }, h("div", { key: '769adcb7a66ae0357e581909978fc18e5cca75ab', class: "selected-filename" }, this.file ? this.file.name : 'Drag a file here'), h("div", { key: 'd50342ec030cf44a608b7e13e480015c63822ea7', class: "or-prefer" }, this.file ? unicodeNBSP : 'Or, if you prefer...'), h("verdocs-button", { key: 'd6a883649258392cb922a4b0a4901e526017bf5f', label: buttonlabel, size: "small", onClick: e => this.handleSelectFile(e) }))));
|
25
29
|
}
|
26
30
|
static get is() { return "verdocs-file-chooser"; }
|
27
31
|
static get originalStyleUrls() {
|
package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.css
CHANGED
@@ -52,9 +52,24 @@ verdocs-organization-card .popup {
|
|
52
52
|
flex-wrap: nowrap;
|
53
53
|
font-family: sans-serif;
|
54
54
|
}
|
55
|
+
verdocs-organization-card .popup-header-with-logo {
|
56
|
+
display: flex;
|
57
|
+
flex: 0;
|
58
|
+
gap: 20px;
|
59
|
+
flex-direction: column;
|
60
|
+
margin: 0 0 20px 0;
|
61
|
+
font-size: 21px;
|
62
|
+
line-height: 16px;
|
63
|
+
color: #4c56cb;
|
64
|
+
}
|
65
|
+
verdocs-organization-card .popup-header-with-logo img {
|
66
|
+
max-width: 300px;
|
67
|
+
max-height: 50px;
|
68
|
+
}
|
55
69
|
verdocs-organization-card .popup-header {
|
56
70
|
display: flex;
|
57
71
|
flex: 0;
|
72
|
+
gap: 20px;
|
58
73
|
flex-direction: row;
|
59
74
|
align-items: flex-end;
|
60
75
|
margin: 0 0 20px 0;
|
@@ -62,9 +77,6 @@ verdocs-organization-card .popup-header {
|
|
62
77
|
line-height: 16px;
|
63
78
|
color: #4c56cb;
|
64
79
|
}
|
65
|
-
verdocs-organization-card .popup-header .status {
|
66
|
-
margin-right: 20px;
|
67
|
-
}
|
68
80
|
verdocs-organization-card .popup-body {
|
69
81
|
display: flex;
|
70
82
|
flex-direction: column;
|
package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
import { format } from "date-fns";
|
2
2
|
import { h, Host } from "@stencil/core";
|
3
|
+
// TODO: See what was done in Storybook. Move all SVG icons to a common file that both projects can share
|
4
|
+
// and reduce duplication between components for re-used icons. Also bring icons into Figma for reuse there.
|
3
5
|
const UserIcon = '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><rect fill="none" height="24" width="24"/><g><path d="M4,13c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2s-2,0.9-2,2C2,12.1,2.9,13,4,13z M5.13,14.1C4.76,14.04,4.39,14,4,14 c-0.99,0-1.93,0.21-2.78,0.58C0.48,14.9,0,15.62,0,16.43V18l4.5,0v-1.61C4.5,15.56,4.73,14.78,5.13,14.1z M20,13c1.1,0,2-0.9,2-2 c0-1.1-0.9-2-2-2s-2,0.9-2,2C18,12.1,18.9,13,20,13z M24,16.43c0-0.81-0.48-1.53-1.22-1.85C21.93,14.21,20.99,14,20,14 c-0.39,0-0.76,0.04-1.13,0.1c0.4,0.68,0.63,1.46,0.63,2.29V18l4.5,0V16.43z M16.24,13.65c-1.17-0.52-2.61-0.9-4.24-0.9 c-1.63,0-3.07,0.39-4.24,0.9C6.68,14.13,6,15.21,6,16.39V18h12v-1.61C18,15.21,17.32,14.13,16.24,13.65z M8.07,16 c0.09-0.23,0.13-0.39,0.91-0.69c0.97-0.38,1.99-0.56,3.02-0.56s2.05,0.18,3.02,0.56c0.77,0.3,0.81,0.46,0.91,0.69H8.07z M12,8 c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S11.45,8,12,8 M12,6c-1.66,0-3,1.34-3,3c0,1.66,1.34,3,3,3s3-1.34,3-3 C15,7.34,13.66,6,12,6L12,6z"/></g></svg>';
|
4
6
|
const BusinessIcon = '<svg xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true" height="24px" viewBox="0 0 24 24" width="24px"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"></path></svg>';
|
5
7
|
/**
|
@@ -10,7 +12,10 @@ export class VerdocsOrganizationCard {
|
|
10
12
|
this.organization = undefined;
|
11
13
|
}
|
12
14
|
render() {
|
13
|
-
|
15
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
16
|
+
console.log('Rendering org card', this.organization.thumbnail_url, this.organization);
|
17
|
+
const fallbackIcon = ((_a = this.organization) === null || _a === void 0 ? void 0 : _a.is_business) ? BusinessIcon : UserIcon;
|
18
|
+
return (h(Host, { key: 'f76a55b62fb94a6d0214f535faac0dd1bc7a3d2c' }, this.organization.thumbnail_url ? h("img", { class: "icon", src: this.organization.thumbnail_url, alt: "Logo" }) : h("span", { class: "icon", innerHTML: fallbackIcon }), h("span", { key: '081b7de4929a689351b9097a5492854597a6a2e0', class: "content" }, (_b = this.organization) === null || _b === void 0 ? void 0 : _b.name), h("div", { key: '3d4f6d20995a9c192bd0022edf95cc89023457cd', class: "popup" }, 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" }, (_c = this.organization) === null || _c === void 0 ? void 0 : _c.name))) : (h("div", { class: "popup-header" }, h("span", { class: "status" }, h("span", { class: "icon", innerHTML: fallbackIcon })), h("span", { class: "title" }, (_d = this.organization) === null || _d === void 0 ? void 0 : _d.name))), h("div", { key: 'a17465bf3a71fc347699e749469209c43a643201', class: "popup-body" }, h("div", { key: '259540d41c8d257166a51139fdc29226ff3512ed', class: "field" }, h("strong", { key: 'c8d1a5abf7b48c5273e1f2d99ddffba71c528fb5' }, "Joined"), format(new Date(((_e = this.organization) === null || _e === void 0 ? void 0 : _e.created_at) || undefined), 'LLL d, Y')), this.organization.url && (h("div", { key: 'fe16d86018dc1f186e777afeb77dc43c2f2b1c73', class: "field" }, h("strong", { key: '1d3af10be4c1a3382d2425e5c38ab25c48d47872' }, "Website"), h("a", { key: 'cdd718f3d639015ce644b10a1c73f69c938e1426', href: (_f = this.organization) === null || _f === void 0 ? void 0 : _f.url, target: "_blank", rel: "nofollow" }, (_g = this.organization) === null || _g === void 0 ? void 0 : _g.url)))))));
|
14
19
|
}
|
15
20
|
static get is() { return "verdocs-organization-card"; }
|
16
21
|
static get originalStyleUrls() {
|
@@ -18,7 +18,7 @@ const PageButton = ({ page, selected, onClick }) => {
|
|
18
18
|
return h("div", { class: `page-button ${page === selected ? 'selected' : ''}`, onClick: () => onClick(page), innerHTML: label });
|
19
19
|
};
|
20
20
|
/**
|
21
|
-
* Display a
|
21
|
+
* Display a simple pagination control with individual buttons to move through the data set.
|
22
22
|
*/
|
23
23
|
export class VerdocsQuickFilter {
|
24
24
|
constructor() {
|
@@ -35,7 +35,7 @@ export class VerdocsQuickFilter {
|
|
35
35
|
const firstPage = Math.max(0, this.selectedPage - 2);
|
36
36
|
const numPages = this.itemCount > 0 ? Math.ceil(this.itemCount / this.perPage) : 0;
|
37
37
|
const pagesToDisplay = integerSequence(0, Math.ceil(this.itemCount / this.perPage)).slice(firstPage, firstPage + VISIBLE_PAGES);
|
38
|
-
return (h(Host, { key: '
|
38
|
+
return (h(Host, { key: '35e9f8dee414ae4addb4a0615d41ac2f877d6185' }, this.selectedPage > 0 && h(PageButton, { key: 'e3ccf5d514ed45c2e279b6ace160fa5865132f7d', page: 'first', selected: this.selectedPage, onClick: () => this.handleSelectPage(0) }), firstPage > 0 && h("div", { key: '74d1aaa681f9b8f3baafc935758d6dcc723fcdac', class: "ellipsis" }, "..."), pagesToDisplay.map(pageNumber => (h(PageButton, { page: pageNumber, selected: this.selectedPage, onClick: page => this.handleSelectPage(+page) }))), this.selectedPage < numPages - 1 && h("div", { key: 'cb5d8461f4a33adffcb2a6df87f6ffcf66d08737', class: "ellipsis" }, "..."), this.selectedPage < numPages - 1 && h(PageButton, { key: 'c433baeead865058d66f4aa127a6ce1fcc28f3bc', page: 'last', selected: this.selectedPage, onClick: () => this.handleSelectPage(numPages - 1) })));
|
39
39
|
}
|
40
40
|
static get is() { return "verdocs-pagination"; }
|
41
41
|
static get originalStyleUrls() {
|
@@ -69,7 +69,7 @@ export class VerdocsPortal {
|
|
69
69
|
this.moved ? this.portal.remove() : (this.moved = true);
|
70
70
|
}
|
71
71
|
render() {
|
72
|
-
return (h(Host, { key: '
|
72
|
+
return (h(Host, { key: 'bca4c2bfa7c2f16dcfd4046e66cf8011207c4902', ref: el => (this.element = el) }, h("slot", { key: '8e451491ccd52c55d08621198d916dc991487bfc' })));
|
73
73
|
}
|
74
74
|
static get is() { return "verdocs-portal"; }
|
75
75
|
static get originalStyleUrls() {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
2
2
|
/**
|
3
|
-
*
|
3
|
+
* A simple progress bar.
|
4
4
|
*/
|
5
5
|
export class VerdocsProgressBar {
|
6
6
|
constructor() {
|
@@ -10,7 +10,8 @@ export class VerdocsProgressBar {
|
|
10
10
|
}
|
11
11
|
render() {
|
12
12
|
const widthPercent = Math.ceil((100 * Math.min(this.percent, 100)) / 100);
|
13
|
-
|
13
|
+
console.log('Rendering progress bar', { widthPercent, label: this.label, showPercent: this.showPercent, percent: this.percent });
|
14
|
+
return (h(Host, { key: '44ff05aec2048b9ed24847dc0b410f379f94bbc6' }, h("div", { key: '8706b9d902db9b9731a1d92744fa5cd071bdfca9', class: "labels" }, this.label && h("div", { key: 'b56b39c39a16f0316de5b3d15d4e0c130ab9d232', class: "label" }, this.label), this.showPercent && h("div", { key: '99ec3b060256124b4f49325c16ab3cd5ec6d0640', class: "label" }, this.percent, "%")), h("div", { key: '4cbd4ac85304f77d148ebecd339e9eb87d8e12b5', class: "bar" }, h("div", { key: '472a105258357d4ab398b69f4d75c39b089ade96', class: "slider", style: { width: `${widthPercent}%` } }))));
|
14
15
|
}
|
15
16
|
static get is() { return "verdocs-progress-bar"; }
|
16
17
|
static get originalStyleUrls() {
|
@@ -25,7 +25,7 @@ export class VerdocsRadioButton {
|
|
25
25
|
this.disabled = false;
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (h(Host, { key: '
|
28
|
+
return (h(Host, { key: '08503221049dbcdb5ad6d8804576bd302437a784', class: { disabled: this.disabled } }, h("input", { key: '649115f2c5d916fbec807ab0566ec3352abe6afd', type: "radio", value: this.value, name: this.name, id: `verdocs-radio-button-${this.name}-${this.value}`, checked: this.checked, disabled: this.disabled }), h("label", { key: '597495b414c518d808f241cea9c3c66b0fabdf63', htmlFor: `verdocs-radio-button-${this.name}-${this.value}` })));
|
29
29
|
}
|
30
30
|
static get is() { return "verdocs-radio-button"; }
|
31
31
|
static get originalStyleUrls() {
|
@@ -12,7 +12,7 @@ export class VerdocsSelectInput {
|
|
12
12
|
this.disabled = false;
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (h(Host, { key: '
|
15
|
+
return (h(Host, { key: 'f4ed5ac0b8cd5321d4dc378dfb4118bd55993c6b', class: "input-field" }, h("label", { key: '0c46eaac6ae1e9044d477ee4e41cbb8ddf79ae91' }, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("select", { key: '983b8be81f9c017acb69a8d23560b72a0f0bf729', class: "input-element", disabled: this.disabled }, this.options.map(option => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))))));
|
16
16
|
}
|
17
17
|
static get is() { return "verdocs-select-input"; }
|
18
18
|
static get originalStyleUrls() {
|
@@ -10,7 +10,7 @@ export class VerdocsQuickFilter {
|
|
10
10
|
this.mode = 'light';
|
11
11
|
}
|
12
12
|
render() {
|
13
|
-
return (h(Host, { key: '
|
13
|
+
return (h(Host, { key: 'd8e7181efe02d923319257c59da36ae807fcf7a0', style: {
|
14
14
|
width: `${this.size}px`, //
|
15
15
|
height: `${this.size}px`,
|
16
16
|
flex: `0 0 ${this.size}px`,
|
@@ -28,7 +28,7 @@ export class VerdocsTextInput {
|
|
28
28
|
.catch(e => console.log('Error copying to clipboard', e));
|
29
29
|
}
|
30
30
|
render() {
|
31
|
-
return (h(Host, { key: '
|
31
|
+
return (h(Host, { key: '01f4cc50d00022fec700dd1703c403f788a7f3ee', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '755ccc9d7978816128f25e14051a4148246e2172' }, this.label && (h("div", { key: '275d72bce18e285eab0c5afee67998ffa8ef1717', class: "input-label" }, this.label + ':', this.required && h("span", { key: '4bc22add83d9953a8f719fc1737bbecbe70ad6fd', class: "required" }, "*"))), h("div", { key: '89b5a9e5795574005f3e45ad6e6701f32963f528', class: "input-container" }, h("input", { key: '6ef1db6b39dd01e7f2168983b08fd17fb94e5451', type: this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: 'afbff38029e87d44b4bfe37ea654e2b3813d766d', innerHTML: ClearIcon, class: "clear", onClick: () => {
|
32
32
|
// We need to allow the onInput event to fire first in case
|
33
33
|
// the user was focused on this field before clicking clear.
|
34
34
|
setTimeout(() => {
|
@@ -42,7 +42,7 @@ export class VerdocsTextInput {
|
|
42
42
|
(_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
|
43
43
|
}, 50);
|
44
44
|
}, 50);
|
45
|
-
} })), !this.clearable && this.copyable && this.value && h("span", { key: '
|
45
|
+
} })), !this.clearable && this.copyable && this.value && h("span", { key: '099378e71c88710a9d2fdc9a34e38ff12b4ee85f', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '1ac26e8e0513c247e8e04489026f5311eb51529f', text: this.helpText }))));
|
46
46
|
}
|
47
47
|
static get is() { return "verdocs-text-input"; }
|
48
48
|
static get originalStyleUrls() {
|
@@ -21,7 +21,7 @@ export class VerdocsToggleButton {
|
|
21
21
|
(_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
|
22
22
|
}
|
23
23
|
render() {
|
24
|
-
return (h(Host, { key: '
|
24
|
+
return (h(Host, { key: '20e488d05d44870dcc7dd9ab4bf14b49d99b8d97', 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))));
|
25
25
|
}
|
26
26
|
static get is() { return "verdocs-toggle-button"; }
|
27
27
|
static get originalStyleUrls() {
|
@@ -39,7 +39,7 @@ export class VerdocsToolbarIcon {
|
|
39
39
|
// this.press?.emit();
|
40
40
|
// }
|
41
41
|
render() {
|
42
|
-
return (h(Host, { key: '
|
42
|
+
return (h(Host, { key: 'f9c2c8bd293559e5e504b69cbc445ca813f134a2', class: {} }, h("div", { key: 'e5d497d4859e8bd61364f56f8c452c61ece75a76', "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: 'ebb1c0fa2cd8b58eba9d5057fc965ead53c23059', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: 'df0d03fbeeeb3016dde67f6d8bf8f75c5a97105c', "data-popper-arrow": "true", class: "arrow" }))));
|
43
43
|
}
|
44
44
|
static get is() { return "verdocs-toolbar-icon"; }
|
45
45
|
static get originalStyleUrls() {
|
@@ -12,7 +12,7 @@ export class VerdocsDialog {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (h(Host, { key: '
|
15
|
+
return (h(Host, { key: 'a70ef89e55b032e0e35b32ca7bd73143579ed719' }, h("div", { key: '956e60df02c25de5bc30bf022bded3d4474254a3', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'f786312d515007e9e5b338eea7180d73127bf68c', class: "dialog" }, h("slot", { key: '6be94a4f4a45cf06eca5d6fdf5c1534a1993bddc', name: "title" }, h("div", { key: 'f398bb3152b46748e3e498ece109c127771e5257', class: "heading" }, "Please Confirm")), h("slot", { key: '9f3fe959c07e129394cd539080738e2636061634' }, h("div", { key: '6b85e230be87e43bd67a0cfc951400752a0efe06', class: "content" }))))));
|
16
16
|
}
|
17
17
|
static get is() { return "verdocs-dialog"; }
|
18
18
|
static get originalStyleUrls() {
|
@@ -214,7 +214,7 @@ export class VerdocsInitialDialog {
|
|
214
214
|
}
|
215
215
|
*/
|
216
216
|
render() {
|
217
|
-
return (h(Host, { key: '
|
217
|
+
return (h(Host, { key: 'b6937b4cfa5d4c5cfb87b5b5dbfa880cf0410339', onClick: e => this.handleCancel(e) }, h("div", { key: 'd34f04c350e8fdff490e7f73fdbfdada3f1354e6', class: "dialog" }, h("div", { key: 'a2f4c19266143d58c8224895fcfc3bc379213b9c', class: "heading" }, "Create Your Initial"), h("div", { key: '2db3faa17b7150b825fae79cd1ab2636dada42ed', class: "content" }, h("verdocs-text-input", { key: 'c7bfc63b5e2e89cb2f74dc5993ab9c76e686b07b', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: '95538b2cd439ac0edc0b1c3b9823122e07843217', 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: 'f80a15e7da33abd5b8b8e9162a5c137fd8ed2abc', 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: 'bad375640b4fa14c7acd58de220918c982e64b02', class: "buttons" }, h("verdocs-button", { key: '29ae7e2794ca9cbada0e9622868621db1fa6e98c', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '0ea69569edc92a8c70eea3c837c9f41baa6c8c13', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
|
218
218
|
}
|
219
219
|
static get is() { return "verdocs-initial-dialog"; }
|
220
220
|
static get originalStyleUrls() {
|