@verdocs/web-sdk 4.1.3 → 4.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/verdocs-auth.cjs.entry.js +5 -9
- package/dist/cjs/verdocs-button-panel.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-button_3.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-checkbox_3.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-component-error.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +9 -11
- package/dist/cjs/verdocs-dialog_2.cjs.entry.js +3 -3
- 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-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 +2 -2
- package/dist/cjs/verdocs-loader.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-quick-functions_2.cjs.entry.js +2 -2
- 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-tabs.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +7 -7
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -1
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +2 -2
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +1 -1
- package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +1 -1
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -1
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -1
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -1
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -1
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -1
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -1
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -1
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -1
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +1 -1
- package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +1 -1
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +1 -1
- package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +1 -1
- package/dist/collection/components/controls/verdocs-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 +2 -2
- 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 +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-box/verdocs-search-box.js +1 -1
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +6 -10
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +1 -1
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -10
- 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/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +7 -7
- package/dist/components/verdocs-auth.js +6 -10
- 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 -10
- package/dist/components/verdocs-dialog2.js +1 -1
- package/dist/components/verdocs-dropdown2.js +1 -1
- package/dist/components/verdocs-envelope-document-page2.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +6 -6
- package/dist/components/verdocs-file-chooser2.js +1 -1
- package/dist/components/verdocs-help-icon2.js +1 -1
- package/dist/components/verdocs-initial-dialog2.js +1 -1
- package/dist/components/verdocs-kba-dialog.js +2 -2
- package/dist/components/verdocs-loader2.js +1 -1
- package/dist/components/verdocs-ok-dialog2.js +1 -1
- package/dist/components/verdocs-organization-card.js +1 -1
- package/dist/components/verdocs-pagination2.js +1 -1
- package/dist/components/verdocs-portal2.js +1 -1
- package/dist/components/verdocs-progress-bar2.js +1 -1
- package/dist/components/verdocs-quick-filter2.js +1 -1
- package/dist/components/verdocs-quick-functions2.js +1 -1
- package/dist/components/verdocs-radio-button2.js +1 -1
- package/dist/components/verdocs-search-box2.js +1 -1
- package/dist/components/verdocs-search-tabs.js +1 -1
- package/dist/components/verdocs-search.js +1 -1
- package/dist/components/verdocs-select-input2.js +1 -1
- package/dist/components/verdocs-signature-dialog2.js +1 -1
- package/dist/components/verdocs-spinner2.js +1 -1
- package/dist/components/verdocs-status-indicator2.js +2 -2
- package/dist/components/verdocs-table2.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 +7 -7
- package/dist/components/verdocs-template-sender2.js +1 -1
- package/dist/components/verdocs-template-star2.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/components/verdocs-templates-list.js +7 -7
- package/dist/components/verdocs-text-input2.js +2 -2
- package/dist/components/verdocs-toggle-button2.js +1 -1
- package/dist/components/verdocs-toggle.js +1 -1
- package/dist/components/verdocs-toolbar-icon2.js +1 -1
- package/dist/components/verdocs-upload-dialog2.js +1 -1
- package/dist/esm/verdocs-auth.entry.js +6 -10
- package/dist/esm/verdocs-button-panel.entry.js +2 -2
- package/dist/esm/verdocs-button_3.entry.js +4 -4
- package/dist/esm/verdocs-checkbox_3.entry.js +2 -2
- package/dist/esm/verdocs-component-error.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker_2.entry.js +9 -11
- package/dist/esm/verdocs-dialog_2.entry.js +3 -3
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/verdocs-loader.entry.js +1 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
- package/dist/esm/verdocs-pagination_2.entry.js +2 -2
- package/dist/esm/verdocs-quick-functions_2.entry.js +2 -2
- 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-tabs.entry.js +1 -1
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-templates-list.entry.js +7 -7
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-component-error.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-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_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-tabs.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/verdocs-web-sdk/{p-e6992b79.system.entry.js → p-03aedbe9.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a5c6eac3.entry.js → p-03f8d33f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-67c3b3d1.entry.js → p-0713ab8d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bb0ed696.system.entry.js → p-08210588.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba675574.system.entry.js → p-0e022e75.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bb1dc544.system.entry.js → p-1030a0b7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-eaf4de2f.entry.js → p-10947d22.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e7b29b46.system.entry.js → p-1175926f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-597bd8aa.system.entry.js → p-12c26b19.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ccdb7d88.system.entry.js → p-141a992e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-16beca12.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d4331e4f.system.entry.js → p-17050bcd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad2814b4.entry.js → p-1b6664c9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0a0ac65f.entry.js → p-1f7d5165.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0ff14c4d.entry.js → p-20593762.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-42ec5f5b.entry.js → p-316b550f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-322fa613.system.js +1 -1
- package/dist/verdocs-web-sdk/p-340d2dfb.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-973a8142.entry.js → p-3dcdaf36.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7e6fa885.entry.js → p-3f246894.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3093ede7.entry.js → p-3f9b5a02.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d61235cf.entry.js → p-4bb08486.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f91f3248.entry.js → p-50439d9f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-50aa20d5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-7b8ae86c.entry.js → p-5961ce51.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-748ed4ef.entry.js → p-65df6ef0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1dd1d686.entry.js → p-67e9f8a5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a908ebeb.system.entry.js → p-6bbea733.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-43962d76.system.entry.js → p-6fa08e21.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f54b4cc0.system.entry.js → p-6fc92b73.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-84caf3e1.system.entry.js → p-708b5430.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7b222135.system.entry.js → p-71efd549.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-71f53fd6.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-b0df559c.entry.js → p-753d0e16.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-72c7e548.entry.js → p-77ec3348.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4291db9f.entry.js → p-7a4930b1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-7c61d3ea.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-5be462d9.system.entry.js → p-8a820b88.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3a8b2213.system.entry.js → p-8ca0c8c2.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1fec2d1e.system.entry.js → p-8ee31f33.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bf8e7b5a.system.entry.js → p-9452b95d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-9bef9a21.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-314321b8.system.entry.js → p-9ce9d353.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-05c9b6c9.system.entry.js → p-a11d459d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-a1289b75.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-b3eab86c.entry.js → p-aa6fbe00.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-99510d53.system.entry.js → p-aed8139a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5070ad92.system.entry.js → p-c293ad2e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7ed27280.entry.js → p-d6592bda.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c598ea74.system.entry.js → p-daf07a17.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-84781ec3.system.entry.js → p-dcbad099.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cf06ba29.system.entry.js → p-e1679e5b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2b6566eb.entry.js → p-e42587b7.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-62728531.entry.js → p-efc547dc.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-76297fa0.system.entry.js → p-f2884b26.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9c05218b.entry.js → p-f44b9bd0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6c5aee88.entry.js → p-f80e65ce.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-13450dcd.system.entry.js → p-fbfdfcd4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f2f6c646.system.entry.js → p-fdb77c22.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-000b8414.entry.js → p-fe0c473d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bbae0a6c.entry.js → p-ff6a4383.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/custom-elements.json +0 -2126
- package/dist/verdocs-web-sdk/p-4542fd4b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-62af2ee6.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-73042665.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7c3b1e47.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-96352ec7.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ac7d07de.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b699eeef.system.entry.js +0 -1
@@ -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: '635ebb3b00a1ba9596addcc8722c0897c67ccefc', class: { disabled: this.disabled } }, index.h("input", { key: 'c3ec421823ccb3e8f587b535ba8e23f7069f4a61', 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: '80b453e62ed979c5f7ee73303d5dc43464b21289', 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: 'd3988edb91247f2dd580645350c7c5641d21c61a' }, index.h("div", { key: '912555974fc01f6b5dbd37173217a17e1e6cc756', class: "background-overlay", onClick: e => this.handleCancel(e) }, index.h("div", { key: 'e6d8172451f3fe78fd4b932039b15615f4b4c843', class: "dialog" }, index.h("form", { key: '0d0519144c0de4813a664a2345a85a7da15606c9', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, index.h("verdocs-text-input", { key: '9169dd76bf19c5f809b78bdef9a20511d21cbdcc', 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: 'fba0622ed18d69ae13c2dc6dbc4f3c2230fb72d5', class: "row" }, index.h("div", { key: 'db653736e1e1b32a58ea8df1d5f9f58928ca7047', class: "input-label" }, "Type:"), index.h("verdocs-select-input", { key: '7199410b3a1598e9fc74b6bcd42b58458e7c0ad7', 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: '8e553f8d63d8d57022d449b9db08d8ab0bbdd48c', 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: 'da8fae069e9a65a8fbe41c926a4aabc2af0816f2', 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: '5c2818a8b37c6fdef9dfd4a9a64bbb2c66216ca9', 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: '4230659800aac4470c96d411436434511a208015', 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: '2a675d0120b3cbeff8af790260578126d3cf46ce', class: "row" }, index.h("div", { key: '66c007c4d9ea713f5a399186e144d7445797765a', class: "input-label" }, "May Delegate:"), index.h("div", { key: 'ab88572b986a7c5def40a9c1e084fe3c62a766bf', class: "checkbox-wrapper" }, index.h("verdocs-checkbox", { key: 'b1ca8f96ffd71843beecdc349d86bf3d8cc35708', 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: 'de1d5f121299c133edcc8001a9b6a6b63ff9b739', text: "If enabled, this recipient may delegate their actions to another individual." })), index.h("div", { key: '79869b6fb38187967ca3550284e4d25f63884fd0', class: "buttons" }, index.h("button", { key: 'e58733c07c6793e2c454e5f68c5ffc8907cec1f1', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), index.h("div", { key: '55f4478946d4675a17055be652e19eb377ae5437', style: { flex: '1' } }), index.h("verdocs-button", { key: 'f67fa328ee71a14f0bd1ba049ffddf228841eb67', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), index.h("verdocs-button", { key: '690bc539949328f6130e4d8da5db97ed1b355992', 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: '092c9e3593fffb0559c72fab66510070e73d7c05' }, index.h("div", { key: '666b71a674030a3541138d6dd07a04ec2f352e20', class: "background-overlay", onClick: e => this.handleDismiss(e) }, index.h("div", { key: 'fcabfd99d07d0f72a874fd2ff32a7f72cda51d86', class: "dialog" }, index.h("div", { key: '1098b307a0f787d282ae423f273f02231524598a', class: "options" }, index.h("div", { key: 'bb2bd6a5c6f338a955d0e38ddd72be127a908ea7', class: "option" }, index.h("verdocs-radio-button", { key: '47ef7fa0ea436b284f76f8507ecf66ff098a3021', name: "template-sender", value: 'everyone', checked: this.sender === 'everyone', onInput: () => this.handleSelectSetting('everyone') }), index.h("div", { key: '8dcc183312a85bf6bb0145a55933842951c859c4', class: "description" }, index.h("div", { key: 'c3e41eff5d8353846d5fe62e9739864743936d5d', class: "name" }, "Anyone on the Web"), index.h("verdocs-help-icon", { key: 'b3b965183887842c7f3434afc9602ca8d67de419', text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), index.h("div", { key: '4fa78b48a79fc3932a02553e9360fb656c735493', class: "option" }, index.h("verdocs-radio-button", { key: '40429f3fbaa48e0515d4f1e860d0a256df551fb4', name: "template-sender", value: 'everyone_as_creator', checked: this.sender === 'everyone_as_creator', onInput: () => this.handleSelectSetting('everyone_as_creator') }), index.h("div", { key: '5add2c44aac55f11094780c82ff6006b4b48ca8e', class: "description" }, index.h("div", { key: 'ac8e1c67ab3614b8e5dd3a255c0d71c1820ba83b', class: "name" }, "Anyone on the Web as me"), index.h("verdocs-help-icon", { key: '4d2172b0dcef9cd3e46095e8337aa3c1b8e06523', text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), index.h("div", { key: '36970f9e7c4be312447a36c4a63b470ea85cddf8', class: "option" }, index.h("verdocs-radio-button", { key: 'b2fd0896b2bee7243450d6a50cc65fe96e98ab20', name: "template-sender", value: 'organization_member', checked: this.sender === 'organization_member', onInput: () => this.handleSelectSetting('organization_member') }), index.h("div", { key: '0bbfeeaf609aa3106df12bf34ef778891e83d0df', class: "description" }, index.h("div", { key: 'bb62d9eece8db82b8ef071c0c24127086a89dccc', class: "name" }, "Anyone in my organization"), index.h("verdocs-help-icon", { key: '73d7fa4b6f4b4896d778f3fbc165de2d7b6b2c87', text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), index.h("div", { key: 'e1eca6d0234cf0d01ee8d30690248eec07912d3c', class: "option" }, index.h("verdocs-radio-button", { key: 'f31029edc86697d113fc37f55c0a94bcc4a35f68', 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: '5a0f46208920de20dd725f4e16c5de556260d7cb', class: "description" }, index.h("div", { key: '9bfd1c74d34afe93d4a0e11b0877ff7dadf19f83', class: "name" }, "Anyone in my organization as me"), index.h("verdocs-help-icon", { key: 'd72a7899414895b1637186c4f731be73cc786eb9', 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: '5e55d764e9040fb7b87e0456c2809286835b89e3', class: "option" }, index.h("verdocs-radio-button", { key: '2309a84ec1b4487619f932e8a2316f51c331a13d', name: "template-sender", value: 'creator', checked: this.sender === 'creator', onInput: () => this.handleSelectSetting('creator') }), index.h("div", { key: 'f3bd9236d0b692415c5a39687c35ba71cf245703', class: "description" }, index.h("div", { key: '8aa05e4b9f42d4febf3c3b28f53dec9de2e0c64d', class: "name" }, "Me"), index.h("verdocs-help-icon", { key: 'e79cb02b13641acd64983b91e8de6eb6284a8ee7', text: "Only I can use this template." })))), index.h("div", { key: 'd4b7c6ee528df1ee7f7ec952e80826a20c29ff6c', class: "buttons" }, index.h("verdocs-button", { key: '024ba9b87fc9131db993ecafd76105be0959df47', 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: 'cc29b2f831a932ceb0462835fb6cefba4350c018' }, "\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: '5494b903b38da3f8695866720032ae5664885e5a', class: "container" }, index.h("verdocs-search-box", { key: '2985fc2bbe16dfe08f400cabb2299f5732ef2967', endpoint: this.endpoint }), index.h("div", { key: '564828ab1a9fa57b3e2555441862cd4fcd80fbf0', class: "boxes" }, index.h("verdocs-search-activity", { key: 'f7c560b1e8c9cfc394133e317b894c8d5e3b7f8b', type: "recent", endpoint: this.endpoint }), index.h("verdocs-search-activity", { key: '1faf9b5b1ff51c9654678738448bf4be85b1d58c', type: "saved", endpoint: this.endpoint }), index.h("verdocs-search-activity", { key: '7763f2600598f258ba21003e89b3b709f07448c6', type: "starred", endpoint: this.endpoint }), index.h("verdocs-quick-functions", { key: '4ef3c0faaee2cb381cef414b558c8b69b7f32a75', 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: '674c605f794bcad37a3ccf1ef7b2c6893a36011a', style: {
|
20
20
|
width: `${this.size}px`, //
|
21
21
|
height: `${this.size}px`,
|
22
22
|
flex: `0 0 ${this.size}px`,
|
@@ -7193,11 +7193,11 @@ const VerdocsStatusIndicator = class {
|
|
7193
7193
|
}
|
7194
7194
|
const icon = this.getStatusIcon(status);
|
7195
7195
|
const statusMessage = this.getStatusMessage(status);
|
7196
|
-
return (index.h(index.Host, { key: '
|
7196
|
+
return (index.h(index.Host, { key: 'cf2d831b91cdbe3ed6e5f169f77ebba96e8116ae', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
|
7197
7197
|
e.stopPropagation();
|
7198
7198
|
e.preventDefault();
|
7199
7199
|
this.envelope && this.toggleDropdown();
|
7200
|
-
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, index.h("span", { key: '
|
7200
|
+
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, index.h("span", { key: '0e9b3ce331057662375bd08c2942016acf3bf473', class: "icon", innerHTML: icon }), index.h("span", { key: '697e060a2afb5de22e5ced2d6041d558b0e108a3', class: "content" }, statusMessage), index.h("div", { key: 'a816a2d991246f1b49a774f1e0aa3f64a691e8d9', class: "detail-panel", ref: el => (this.detailPanel = el) }, index.h("div", { key: 'b5df9ec7a7ff70ab929789d8d77d8430337f5b94', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (index.h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
|
7201
7201
|
}
|
7202
7202
|
};
|
7203
7203
|
VerdocsStatusIndicator.style = VerdocsStatusIndicatorStyle0;
|
@@ -19,7 +19,7 @@ const VerdocsTabs = class {
|
|
19
19
|
(_a = this.selectTab) === null || _a === void 0 ? void 0 : _a.emit({ tab: this.tabs[index], index });
|
20
20
|
}
|
21
21
|
render() {
|
22
|
-
return (index.h(index.Host, { key: '
|
22
|
+
return (index.h(index.Host, { key: '40357821a495d7b0c94b205ed90e5fd83b4a5146' }, this.tabs.map((tab, index$1) => (index.h("div", { class: `tab ${index$1 === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index$1) }, tab.label))), index.h("div", { key: 'dd9e2a621082bd61f62b161830c6fd1138f0e8c1', class: "flex flex-1" }), index.h("slot", { key: '4e64f7e7221fd9d5613f83db4067f71f2c4c1f12' }, index.h("div", { key: '4926afa57bb87a838b66807837f3b71c436a4586' }))));
|
23
23
|
}
|
24
24
|
};
|
25
25
|
VerdocsTabs.style = VerdocsTabsStyle0;
|
@@ -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: 'b5bcce45639a644e66e263a09329e8f345bb51e4' }, index.h("span", { key: 'db094c3a8e429af167b56da7df97cdb0d35f5ff7', class: "name" }, this.template.name), index.h("span", { key: '153ce6c4aab0beb2cd5f012bbe58b8d4fc700b1f', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), index.h("hr", { key: '709fbc0c993eb1b54ff6568fc4c639aea696d6f6' }), index.h("div", { key: 'd7d1bda1d9e6ac5aab6cae62503fe5dfa2e040ca', class: "controls" }, index.h("div", { key: '5dddc88cea131c3bee2d4fa9a3e2f1522fe3593a', class: "control" }, index.h("span", { key: 'e114a05a3cdf3176aa453ca845f7dc2ff1f2b7bb', class: "icon", innerHTML: StarIcon }), index.h("span", { key: '3a2ccb4728c0129fb182efc3e763075e8a923768', class: "value" }, this.template.star_counter)), index.h("div", { key: 'a9bfe80a726cfeb90338d0add15f99acd5ca2cae', class: "control secondary" }, index.h("span", { key: '67b8a3b64f5d40a79e35cc2ca229123c90dad701', class: "icon", innerHTML: PagesIcon }), index.h("span", { key: '3459e3e3dac0596876ec2905b6668813d986aee9', 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: 'f3a2d438d3b748061cfcf16028e352ca6337eb04', class: "control secondary" }, index.h("span", { key: '17d0a3ad7050436ccda2da74120c2348fcfa4fd7', class: "icon", innerHTML: EmailIcon }), index.h("span", { key: '6737878e795f633feb30ae0d28fc4b0c90f122eb', class: "value" }, this.template.counter)), index.h("span", { key: 'cbfde7c6ac4860d9b0720b458bf210194c25ebe0', class: "additional-controls", innerHTML: ActionsIcon }))));
|
22
22
|
}
|
23
23
|
};
|
24
24
|
VerdocsTemplateCard.style = VerdocsTemplateCardStyle0;
|
@@ -101,7 +101,7 @@ const VerdocsTemplateDocumentPage = class {
|
|
101
101
|
}
|
102
102
|
render() {
|
103
103
|
const height = `${this.renderedHeight}px`;
|
104
|
-
return (index.h(index.Host, { key: '
|
104
|
+
return (index.h(index.Host, { key: 'a332323d7adc14d79884131c20d41dfddcb03ac5', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (index.h("div", { class: "verdocs-template-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } }, layer.name === 'controls' &&
|
105
105
|
this.fieldStore
|
106
106
|
.get('fields')
|
107
107
|
.filter(field => field && field.page === this.pageNumber)
|
@@ -201,7 +201,7 @@ const VerdocsToolbarIcon = class {
|
|
201
201
|
// this.press?.emit();
|
202
202
|
// }
|
203
203
|
render() {
|
204
|
-
return (index.h(index.Host, { key: '
|
204
|
+
return (index.h(index.Host, { key: 'ec176e549d8259f0f511113319fe2b7e62ff6e0a', class: {} }, index.h("div", { key: '61402e769d66bb7ecf0d7b7e24467b20baa2d4d3', "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: '3cf9f801cd53af645929a6c8067baf5f62835e15', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, index.h("div", { key: 'bd7660b0a728b1a6720907caaaede964564ee189', "data-popper-arrow": "true", class: "arrow" }))));
|
205
205
|
}
|
206
206
|
};
|
207
207
|
VerdocsToolbarIcon.style = VerdocsToolbarIconStyle0;
|
@@ -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: 'f72b055ab1619cc45511d468dd1b115509c59272' }, index.h("div", { key: 'dd925ee5060a57ab6a89d4045bef645035f1c731', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), index.h("div", { key: 'f0003f728db6cee4cd17eb7025e2a82f768fa8c3', 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: '537d0786deea45df3bc938eabb4db09b3532d5cb' }, (_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;
|
@@ -159,24 +159,24 @@ const VerdocsTemplatesList = class {
|
|
159
159
|
// In addition to the server query we also filter locally. This provides a faster UI update
|
160
160
|
// while the onBlur re-queries the server for any new records that now qualify by the filter.
|
161
161
|
const locallyFilteredTemplates = !this.localNameFilter ? this.templates : this.templates.filter(t => t.name.toLowerCase().includes(this.localNameFilter.toLowerCase()));
|
162
|
-
return (index.h(index.Host, { key: '
|
162
|
+
return (index.h(index.Host, { key: 'f694c7dfbf5eba03936305973ee58f659b6bf108' }, index.h("div", { key: '3e4d44e62833d7202b23c0d5f836bc9d197408a0', class: "header" }, index.h("div", { key: 'f1141327d08933634f429520f47946a2a1d656fe', class: "filter" }, index.h("verdocs-text-input", { key: 'a769a17f2f7b82ab4a3ba2b9b911ee7d73a4e049', id: "verdocs-filter-name", value: this.name, clearable: true, autocomplete: "off", placeholder: "Filter by Name...", onInput: (e) => (this.localNameFilter = e.target.value.trim()), onFocusout: (e) => {
|
163
163
|
var _a;
|
164
164
|
this.name = e.target.value.trim();
|
165
165
|
this.localNameFilter = e.target.value.trim();
|
166
166
|
(_a = this.changeName) === null || _a === void 0 ? void 0 : _a.emit(this.name);
|
167
|
-
} })), index.h("verdocs-quick-filter", { key: '
|
167
|
+
} })), index.h("verdocs-quick-filter", { key: 'ec3aad6196653129f6e5107455a16ed9b3e61865', label: "Sharing", value: this.sharing, options: SharingFilters, onOptionSelected: e => {
|
168
168
|
var _a;
|
169
169
|
this.sharing = e.detail.value;
|
170
170
|
(_a = this.changeSharing) === null || _a === void 0 ? void 0 : _a.emit(this.sharing);
|
171
|
-
} }), index.h("verdocs-quick-filter", { key: '
|
171
|
+
} }), index.h("verdocs-quick-filter", { key: '2724fed4125aa25e4eca0ffb2257f73efdcdd3b8', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
|
172
172
|
var _a;
|
173
173
|
this.starred = e.detail.value;
|
174
174
|
(_a = this.changeStarred) === null || _a === void 0 ? void 0 : _a.emit(this.starred);
|
175
|
-
} }), index.h("verdocs-quick-filter", { key: '
|
175
|
+
} }), index.h("verdocs-quick-filter", { key: '0b359f7886bc720cc7c9226a188e9a9ddbf57f96', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
|
176
176
|
var _a;
|
177
177
|
this.sort = e.detail.value;
|
178
178
|
(_a = this.changeSort) === null || _a === void 0 ? void 0 : _a.emit(this.sort);
|
179
|
-
} }), this.loading && index.h("verdocs-spinner", { key: '
|
179
|
+
} }), this.loading && index.h("verdocs-spinner", { key: '8d27b2e859f2bb8414f76bc6c623fdc5b673f3c9', mode: "dark", size: 24 }), index.h("div", { key: '620315aef35c64aa9eb1ad57c5d0ecccd595a669', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
|
180
180
|
const dateToShow = this.sort === 'created_at' ? 'created_at' : this.sort === 'updated_at' ? 'updated_at' : 'last_used_at';
|
181
181
|
const date = template[dateToShow];
|
182
182
|
const MENU_OPTIONS = [];
|
@@ -223,9 +223,9 @@ const VerdocsTemplatesList = class {
|
|
223
223
|
var _a;
|
224
224
|
(_a = this.viewTemplate) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template });
|
225
225
|
} }, index.h("div", { class: "inner" }, index.h("verdocs-template-star", { template: template, endpoint: this.endpoint }), index.h("div", { class: "spacer icon-spacer" }), index.h("div", { class: "name" }, template.name), index.h("div", { class: "spacer usage-spacer" }), index.h("div", { class: "usage" }, index.h("span", { innerHTML: EnvelopeIcon, title: "Usage Counter" }), template.counter || '--'), index.h("div", { class: "spacer last-used-spacer" }), index.h("div", { class: "last-used" }, dateToShow === 'created_at' && index.h("span", { innerHTML: CreatedIcon, title: "Created" }), dateToShow === 'updated_at' && index.h("span", { innerHTML: UpdatedIcon, title: "Last Updated" }), dateToShow === 'last_used_at' && index.h("span", { innerHTML: LastUsedIcon, title: "Last Used" }), date ? index$1.dateFns.format(new Date(date), 'P') : 'Never'), index.h("div", { class: "spacer ownership-spacer" }), template.is_public && (index.h("div", { class: "ownership" }, index.h("span", { innerHTML: GlobeAltIcon }), " Public")), !template.is_public && !template.is_personal && (index.h("div", { class: "ownership" }, index.h("span", { innerHTML: LockClosedIcon }), " Private")), !template.is_public && template.is_personal && (index.h("div", { class: "ownership" }, index.h("span", { innerHTML: BuildingOfficeIcon }), " Shared")), index.h("verdocs-dropdown", { options: MENU_OPTIONS, onOptionSelected: e => this.handleOptionSelected(e.detail.id, template) }))));
|
226
|
-
}), !this.initiallyLoaded && (index.h("div", { key: '
|
226
|
+
}), !this.initiallyLoaded && (index.h("div", { key: '3feb2c40a2e322baeb52fea8815174268bdb9097' }, jsSdk.integerSequence(0, this.rowsPerPage).map(() => (index.h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && index.h("div", { key: 'a4fbb1722d6d000614b0bfff01081c72550dbd85', class: "empty-text" }, "No matching templates found. Please adjust your filters and try again."), this.initiallyLoaded && this.templates.length && this.showPagination ? (index.h("div", { style: { marginTop: '20px' } }, index.h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
|
227
227
|
this.selectedPage = e.detail.selectedPage;
|
228
|
-
} }))) : (index.h("div", null)), this.confirmDelete && (index.h("verdocs-ok-dialog", { key: '
|
228
|
+
} }))) : (index.h("div", null)), this.confirmDelete && (index.h("verdocs-ok-dialog", { key: '906e97265ab3564b2bff57f66869769ebaf65bcd', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
|
229
229
|
}
|
230
230
|
static get watchers() { return {
|
231
231
|
"sharing": ["handleSharingUpdated"],
|
@@ -19,7 +19,7 @@ const VerdocsToggle = class {
|
|
19
19
|
this.selectedOption = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.defaultSelection) || 0;
|
20
20
|
}
|
21
21
|
render() {
|
22
|
-
return (index.h("div", { key: '
|
22
|
+
return (index.h("div", { key: '5e8025021d44358544e0dd8b3e0d6f41ed384e09', class: "container" }, index.h("span", { key: 'eaf50982d880e77f6be9c462bb988359057dfa1c', class: "label" }, `${this.options.label}:`), index.h("div", { key: '3e46f7114555905a3a86f7ac2cec28ca2b75d981', class: "buttons" }, this.options.buttons.map((button, index$1) => (index.h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index$1 === this.selectedOption ? 'selected' : '', onClick: () => {
|
23
23
|
console.log('clicked', index$1);
|
24
24
|
this.selectedOption = index$1;
|
25
25
|
} }))))));
|
@@ -17,7 +17,7 @@ export class VerdocsButton {
|
|
17
17
|
this.disabled = false;
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
return (h("button", { key: '
|
20
|
+
return (h("button", { key: '5c9a79a82b7dab63acc557febfd7c9b143cafb2d', 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: 'e57d793fad07ccccf2e15d3f1f01edaab971691c', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
21
21
|
}
|
22
22
|
static get is() { return "verdocs-button"; }
|
23
23
|
static get originalStyleUrls() {
|
@@ -77,10 +77,10 @@ export class VerdocsButtonPanel {
|
|
77
77
|
}
|
78
78
|
}
|
79
79
|
render() {
|
80
|
-
return (h(Host, { key: '
|
80
|
+
return (h(Host, { key: '997291ad3f463fff0932490fdab478345757b2e4' }, h("div", { key: '02c1929038bcf9f9d3b433b95f9badcfbc3d6a48', class: "icon", innerHTML: this.icon, onClick: (e) => {
|
81
81
|
e.stopPropagation();
|
82
82
|
return this.toggle();
|
83
|
-
}, ref: el => (this.iconEl = el) }), h("div", { key: '
|
83
|
+
}, ref: el => (this.iconEl = el) }), h("div", { key: '6c89badb41660bbe7b826b0f2758c8a6f7525b78', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: '069ae9f31df8fdb08d4cdf37526f22494a4108f8', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: 'fc5af74e822ca9e0c4c2620585c66e1dcda8f237' }))));
|
84
84
|
}
|
85
85
|
static get is() { return "verdocs-button-panel"; }
|
86
86
|
static get originalStyleUrls() {
|
@@ -26,7 +26,7 @@ export class VerdocsCheckbox {
|
|
26
26
|
this.disabled = false;
|
27
27
|
}
|
28
28
|
render() {
|
29
|
-
return (h(Host, { key: '
|
29
|
+
return (h(Host, { key: '02a992ff0c9365a18637ccd7b0acc34a16c95b0e', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: '897f8d9d3f3365087a00ab0bb12b741c944a66a3' }, h("input", { key: '1e82031b5febc2cea4920e2c374a5f3cbff07889', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: 'a5b8a8518301ce6866228d7a66029abdc802e092' }, this.label))));
|
30
30
|
}
|
31
31
|
static get is() { return "verdocs-checkbox"; }
|
32
32
|
static get originalStyleUrls() {
|
package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js
CHANGED
@@ -8,7 +8,7 @@ export class VerdocsComponentError {
|
|
8
8
|
this.message = '';
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return (h(Host, { key: '
|
11
|
+
return (h(Host, { key: '572b854146e540ecb3fecdab0abe7a89bdc5f6e5' }, h("div", { key: 'b531eabc052b083f9a99b20d57df4dc0992a1ef0', class: "inner" }, this.message)));
|
12
12
|
}
|
13
13
|
static get is() { return "verdocs-component-error"; }
|
14
14
|
static get originalStyleUrls() {
|
@@ -98,7 +98,7 @@ export class VerdocsDropdown {
|
|
98
98
|
(_a = document.getElementById(MENU_ID)) === null || _a === void 0 ? void 0 : _a.remove();
|
99
99
|
}
|
100
100
|
render() {
|
101
|
-
return (h(Host, { key: '
|
101
|
+
return (h(Host, { key: '3a0ecbe96fffea8c916de9a657afd891dc95fa01' }, h("button", { key: 'bf194fdde69ec6a4e9edfa897eefe57daaa847d2', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
|
102
102
|
// onBlur={() => this.hide()}
|
103
103
|
ref: el => (this.dropdownButton = el) })));
|
104
104
|
}
|
@@ -29,7 +29,7 @@ export class VerdocsFileChooser {
|
|
29
29
|
}
|
30
30
|
render() {
|
31
31
|
const buttonlabel = this.file ? 'Select a different file' : 'Select a file from your computer';
|
32
|
-
return (h(Host, { key: '
|
32
|
+
return (h(Host, { key: 'c5a0f7286477e1abb1e9211fa44317b1e10fbad7' }, h("input", { key: '26a1aec574872d2dd3406c54c434503c3b81ff6a', 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: 'e470dcabda5905509ee5c14a57c2a91585f0ce90', class: "upload-box" }, h("div", { key: 'faf9f0babd52c256126a9a49a0a7c3ad3b293257', class: "selected-filename" }, this.file ? this.file.name : 'Drag a file here'), h("div", { key: '8c4d46193b78c39e1ebdf82e4d9748991d87f415', class: "or-prefer" }, this.file ? unicodeNBSP : 'Or, if you prefer...'), h("verdocs-button", { key: 'e9616e665a5b3c9e4d04055993e1bbcae66d8322', label: buttonlabel, size: "small", onClick: e => this.handleSelectFile(e) }))));
|
33
33
|
}
|
34
34
|
static get is() { return "verdocs-file-chooser"; }
|
35
35
|
static get originalStyleUrls() {
|
@@ -36,7 +36,7 @@ export class VerdocsHelpIcon {
|
|
36
36
|
(_a = this.tooltipEl) === null || _a === void 0 ? void 0 : _a.removeAttribute('data-show');
|
37
37
|
}
|
38
38
|
render() {
|
39
|
-
return (h(Host, { key: '
|
39
|
+
return (h(Host, { key: '5a9b1c6fe8b5d180f14d2335950b23a7ff0d0c90', class: {} }, h("div", { key: '6e69978780529072f292c5a3d89c2cb7be0d6c8f', "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: '19316d99b359b9ec20c46c4ecbe72be3b231d498', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: 'ac871b0bfa55e880272c62b957495096103ef55e', innerHTML: this.text }), h("div", { key: 'b17216877657c25dd062d51d7a2c813d9d59972b', "data-popper-arrow": "true", class: "arrow" }))));
|
40
40
|
}
|
41
41
|
static get is() { return "verdocs-help-icon"; }
|
42
42
|
static get originalStyleUrls() {
|
@@ -8,7 +8,7 @@ import { h, Host } from "@stencil/core";
|
|
8
8
|
*/
|
9
9
|
export class VerdocsLoader {
|
10
10
|
render() {
|
11
|
-
return h(Host, { key: '
|
11
|
+
return h(Host, { key: 'ed5515379a667ba9187a662d42ec3d96148f4536' });
|
12
12
|
}
|
13
13
|
static get is() { return "verdocs-loader"; }
|
14
14
|
static get originalStyleUrls() {
|
package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js
CHANGED
@@ -26,7 +26,7 @@ export class VerdocsOrganizationCard {
|
|
26
26
|
console.log('Rendering org card', this.organization.thumbnail_url, this.organization);
|
27
27
|
const fallbackIcon = BusinessIcon;
|
28
28
|
const portalId = `verdocs-org-card-${this.organization.id}`;
|
29
|
-
return (h(Host, { key: '
|
29
|
+
return (h(Host, { key: '984cc4f5ae5a5bd8be25812d23e2137b86b8cb53', 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: 'ef2b5647ef244a490b453ab4cfea637c817b6250', class: "content" }, (_a = this.organization) === null || _a === void 0 ? void 0 : _a.name), h("verdocs-portal", { key: 'be131ea49f16eda6400b7fae51c137b6c765ba1f', anchor: portalId }, h("div", { key: 'cf1f7f9c1bb9a9f2725ee610c5ad7d338e102948', 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: '1757748b560ed3ce222ff2ebff898c70898cc0e2', class: "popup-body" }, h("div", { key: '49fb111697b12303c2aa261dba15f68a316cc6e3', class: "field" }, h("strong", { key: 'e75239eec42a1bd06332f41ad4273c9f5cc33879' }, "Joined"), 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: '6f2445fe7b9b283e9d13b77e5c45da8dfaeff54b', class: "field" }, h("strong", { key: '2742ec20318bbb3f2ba0d71aea75d3778aa82d6f' }, "Website"), h("a", { key: 'dac897696dabd8c46c26294846b08f64026150fc', 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))))))));
|
30
30
|
}
|
31
31
|
static get is() { return "verdocs-organization-card"; }
|
32
32
|
static get originalStyleUrls() {
|
@@ -44,7 +44,7 @@ export class VerdocsQuickFilter {
|
|
44
44
|
const firstPage = Math.max(0, this.selectedPage - 2);
|
45
45
|
const numPages = this.itemCount > 0 ? Math.ceil(this.itemCount / this.perPage) : 0;
|
46
46
|
const pagesToDisplay = integerSequence(0, Math.ceil(this.itemCount / this.perPage)).slice(firstPage, firstPage + VISIBLE_PAGES);
|
47
|
-
return (h(Host, { key: '
|
47
|
+
return (h(Host, { key: 'da7fa58179d4dfab9131ab65bfd801e3e8e4c4c8' }, this.selectedPage > 0 && h(PageButton, { key: 'ce00b9a669d7db36a2b788ff9d3a438eaae4d9e0', page: 'first', selected: this.selectedPage, onClick: () => this.handleSelectPage(0) }), firstPage > 0 && h("div", { key: 'b72cbbc77a95104828e7a2d5439b1f73a8370316', class: "ellipsis" }, "..."), pagesToDisplay.map(pageNumber => (h(PageButton, { page: pageNumber, selected: this.selectedPage, onClick: page => this.handleSelectPage(+page) }))), this.selectedPage < numPages - 1 && h("div", { key: 'a6fdc04b9a307c8240edf80b14a96c6b892055b1', class: "ellipsis" }, "..."), this.selectedPage < numPages - 1 && h(PageButton, { key: '843dcb794dfbb81a0909bea199591f64a6b0ff91', page: 'last', selected: this.selectedPage, onClick: () => this.handleSelectPage(numPages - 1) })));
|
48
48
|
}
|
49
49
|
static get is() { return "verdocs-pagination"; }
|
50
50
|
static get originalStyleUrls() {
|
@@ -80,7 +80,7 @@ export class VerdocsPortal {
|
|
80
80
|
this.moved ? this.portal.remove() : (this.moved = true);
|
81
81
|
}
|
82
82
|
render() {
|
83
|
-
return (h(Host, { key: '
|
83
|
+
return (h(Host, { key: 'd92c3751ccd809986670dd9a7f47a5e6bbcec022', ref: el => (this.element = el) }, h("slot", { key: '50c70872a6bd88ea41d987b14c80731e0bb23e76' })));
|
84
84
|
}
|
85
85
|
static get is() { return "verdocs-portal"; }
|
86
86
|
static get originalStyleUrls() {
|
@@ -15,7 +15,7 @@ export class VerdocsProgressBar {
|
|
15
15
|
render() {
|
16
16
|
const widthPercent = Math.ceil((100 * Math.min(this.percent, 100)) / 100);
|
17
17
|
console.log('Rendering progress bar', { widthPercent, label: this.label, showPercent: this.showPercent, percent: this.percent });
|
18
|
-
return (h(Host, { key: '
|
18
|
+
return (h(Host, { key: '8b1b66e6fea674c6dbd31ae8de842ad07a411118' }, h("div", { key: '384af4301fbe9f8668688551f60da9ea5175f5a9', class: "labels" }, this.label && h("div", { key: 'af1578e6c2e5c9993613b43a24416bfd62f7da3d', class: "label" }, this.label), this.showPercent && h("div", { key: '174b1e878eec204af82dba5f60bab3699e3ba435', class: "label" }, this.percent, "%")), h("div", { key: 'c9c0a875d37ec0de10184143e4239ede8d7d208c', class: "bar" }, h("div", { key: '9e2f3c25d5cb38b5eedf77010b05a393c74fd07e', class: "slider", style: { width: `${widthPercent}%` } }))));
|
19
19
|
}
|
20
20
|
static get is() { return "verdocs-progress-bar"; }
|
21
21
|
static get originalStyleUrls() {
|
@@ -86,7 +86,7 @@ export class VerdocsQuickFilter {
|
|
86
86
|
const longestLabelWidth = renderedTextWidth((longestOption === null || longestOption === void 0 ? void 0 : longestOption.label) || 'FILLER', '14px Inter, Barlow, sans-serif');
|
87
87
|
const prefixWidth = renderedTextWidth(this.label, '14px Inter, Barlow, sans-serif');
|
88
88
|
const minWidth = `${longestLabelWidth + prefixWidth + 40}px`;
|
89
|
-
return (h(Host, { key: '
|
89
|
+
return (h(Host, { key: '8fbd487bc5f44471f7fc1ba41b3e9590294791a1', class: { open: !!this.open }, style: { minWidth, display: 'inline-block' } }, h("div", { key: '63cd83e83fdf8ef46d50b5950461ff2a0fde19ea', class: "control", onClick: e => this.toggleDropdown(e), onBlur: e => this.handleHideDropdown(e) }, h("div", { key: '2f660abf210127da67b76266bb5454f0267712cd', class: "title", ref: el => (this.dropdownButton = el) }, h("span", { key: '3cafd0d1edebc9449b3c9d2f0d60cb873ca4231c', class: "prefix" }, this.label, ":"), selectedOption ? selectedOption.label : this.placeholder), h("div", { key: 'ee4828fb55b904e1eaceb832db83706edd2b78da', style: { flex: '1' } }), h("div", { key: '79ec0e1054f8db50a7058e5169c503bd34ab8f45', class: "separator" }), h("div", { key: 'ce09c9523f6e1678b967edfba7e876e0d4fa4ec3', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu" })), h("div", { key: '3bf62283431384863acc497fb18a9f74dd12a044', 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" }))))));
|
90
90
|
}
|
91
91
|
static get is() { return "verdocs-quick-filter"; }
|
92
92
|
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: '635ebb3b00a1ba9596addcc8722c0897c67ccefc', class: { disabled: this.disabled } }, h("input", { key: 'c3ec421823ccb3e8f587b535ba8e23f7069f4a61', 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: '80b453e62ed979c5f7ee73303d5dc43464b21289', htmlFor: `verdocs-radio-button-${this.name}-${this.value}` })));
|
29
29
|
}
|
30
30
|
static get is() { return "verdocs-radio-button"; }
|
31
31
|
static get originalStyleUrls() {
|
@@ -16,7 +16,7 @@ export class VerdocsSelectInput {
|
|
16
16
|
this.disabled = false;
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (h(Host, { key: '
|
19
|
+
return (h(Host, { key: '49b233e1dcda5c8ffd51453654fa88bdec73bd82', class: "input-field" }, h("label", { key: '53ec0b8c1823a9e992c04e554bb33752ed676ad3' }, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("select", { key: 'e7e0ef4dc4ab8aae9cc81d39010cfa335d37b291', class: "input-element", disabled: this.disabled }, this.options.map(option => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))))));
|
20
20
|
}
|
21
21
|
static get is() { return "verdocs-select-input"; }
|
22
22
|
static get originalStyleUrls() {
|
@@ -14,7 +14,7 @@ export class VerdocsQuickFilter {
|
|
14
14
|
this.mode = 'light';
|
15
15
|
}
|
16
16
|
render() {
|
17
|
-
return (h(Host, { key: '
|
17
|
+
return (h(Host, { key: '674c605f794bcad37a3ccf1ef7b2c6893a36011a', style: {
|
18
18
|
width: `${this.size}px`, //
|
19
19
|
height: `${this.size}px`,
|
20
20
|
flex: `0 0 ${this.size}px`,
|
@@ -13,9 +13,9 @@ export class VerdocsTable {
|
|
13
13
|
this.data = [];
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (h(Host, { key: '
|
16
|
+
return (h(Host, { key: '30dc31671a4fe5fe698e16ff2dd4ea9929c7659b', class: "table-wrapper" }, h("table", { key: '584e1b863ccf37c17b0e36ac3dd5178d3e591473', class: "table" }, h("thead", { key: 'e54fccb7ad63ff09d32719b2b9ce2beceae33d4a' }, h("tr", { key: '1b435a6772c21795c5c7bd0dddb5a8225add0e55', class: "row header-row" }, this.columns.map((col, i) => {
|
17
17
|
return (h("th", { class: `col header-col col-${i} col-${col.id}`, onClick: () => { var _a; return (_a = this.colHeaderClick) === null || _a === void 0 ? void 0 : _a.emit({ col }); }, innerHTML: col.renderHeader ? col.renderHeader(col) : col.header || col.id }));
|
18
|
-
}))), h("tbody", { key: '
|
18
|
+
}))), h("tbody", { key: '75dd1db03c8ea79b186939b5dab16a800371c3db' }, this.data.map(row => (h("tr", { class: "row data-row", onClick: () => { var _a; return (_a = this.rowClick) === null || _a === void 0 ? void 0 : _a.emit({ row }); } }, this.columns.map((col, i) => {
|
19
19
|
return col.renderCell ? (h("td", { class: `col data-col col-${i} col-${col.id}`, innerHTML: col.renderCell(col, row) })) : (h("td", { class: `col data-col col-${i} col-${col.id}` }, row[col.id]));
|
20
20
|
}))))))));
|
21
21
|
}
|
@@ -17,7 +17,7 @@ export class VerdocsTabs {
|
|
17
17
|
(_a = this.selectTab) === null || _a === void 0 ? void 0 : _a.emit({ tab: this.tabs[index], index });
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
return (h(Host, { key: '
|
20
|
+
return (h(Host, { key: '40357821a495d7b0c94b205ed90e5fd83b4a5146' }, this.tabs.map((tab, index) => (h("div", { class: `tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index) }, tab.label))), h("div", { key: 'dd9e2a621082bd61f62b161830c6fd1138f0e8c1', class: "flex flex-1" }), h("slot", { key: '4e64f7e7221fd9d5613f83db4067f71f2c4c1f12' }, h("div", { key: '4926afa57bb87a838b66807837f3b71c436a4586' }))));
|
21
21
|
}
|
22
22
|
static get is() { return "verdocs-tabs"; }
|
23
23
|
static get originalStyleUrls() {
|
@@ -32,7 +32,7 @@ export class VerdocsTextInput {
|
|
32
32
|
.catch(e => console.log('Error copying to clipboard', e));
|
33
33
|
}
|
34
34
|
render() {
|
35
|
-
return (h(Host, { key: '
|
35
|
+
return (h(Host, { key: '7cb63a97bff0475aa8ac8afa3d751f61832871af', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '2cd35c0ef2712ad23fadc773366da49e854123f5' }, this.label && (h("div", { key: '2c5ef0f38034fbff29a4c0565e15fe3be7ffbef7', class: "input-label" }, this.label + ':', this.required && h("span", { key: 'e03549b0ce0e090d9874b613bf5be0c6ea02a55a', class: "required" }, "*"))), h("div", { key: '5ea0c16f4207d76ccb7ffbad1298f1a1a31ee5a4', class: "input-container" }, h("input", { key: '806f951f542523b3c3e2b23c2f3ff9db36da2708', 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: '38a2a56b2856f2a58f11109e4a2bf7b5155423b5', innerHTML: ClearIcon, class: "clear", onClick: () => {
|
36
36
|
// We need to allow the onInput event to fire first in case
|
37
37
|
// the user was focused on this field before clicking clear.
|
38
38
|
setTimeout(() => {
|
@@ -46,7 +46,7 @@ export class VerdocsTextInput {
|
|
46
46
|
(_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
|
47
47
|
}, 50);
|
48
48
|
}, 50);
|
49
|
-
} })), !this.clearable && this.copyable && this.value && h("span", { key: '
|
49
|
+
} })), !this.clearable && this.copyable && this.value && h("span", { key: 'ccc030e4bb60af0325a20f61e4f51a6be53b9d9b', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '7134f63ca288289f7242da64fca5d6a0088dafca', text: this.helpText }))));
|
50
50
|
}
|
51
51
|
static get is() { return "verdocs-text-input"; }
|
52
52
|
static get originalStyleUrls() {
|
@@ -17,7 +17,7 @@ export class VerdocsToggle {
|
|
17
17
|
this.selectedOption = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.defaultSelection) || 0;
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
return (h("div", { key: '
|
20
|
+
return (h("div", { key: '5e8025021d44358544e0dd8b3e0d6f41ed384e09', class: "container" }, h("span", { key: 'eaf50982d880e77f6be9c462bb988359057dfa1c', class: "label" }, `${this.options.label}:`), h("div", { key: '3e46f7114555905a3a86f7ac2cec28ca2b75d981', class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.selectedOption ? 'selected' : '', onClick: () => {
|
21
21
|
console.log('clicked', index);
|
22
22
|
this.selectedOption = index;
|
23
23
|
} }))))));
|
@@ -25,7 +25,7 @@ export class VerdocsToggleButton {
|
|
25
25
|
(_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (h(Host, { key: '
|
28
|
+
return (h(Host, { key: '7c2621ca7573c6a555f20f5d45131e5cc38efd9d', class: `size-${this.size}` }, this.icon ? (h("button", { innerHTML: this.icon, class: { active: this._active }, onClick: e => this.handleToggle(e) })) : (h("button", { class: { active: this._active }, onClick: e => this.handleToggle(e) }, this.label))));
|
29
29
|
}
|
30
30
|
static get is() { return "verdocs-toggle-button"; }
|
31
31
|
static get originalStyleUrls() {
|