@verdocs/web-sdk 2.2.38 → 2.2.40
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/{EnvelopeStore-eda7addf.js → EnvelopeStore-f8c301e1.js} +1 -1
- package/dist/cjs/{Envelopes-ef06e293.js → Envelopes-99ca79fe.js} +5 -5
- package/dist/cjs/{TemplateStore-8bf09f12.js → TemplateStore-42c35573.js} +1 -1
- package/dist/cjs/{VerdocsEndpoint-a15d322b.js → VerdocsEndpoint-ae3a69d6.js} +67 -5
- package/dist/cjs/ipc-test.cjs.entry.js +2 -2
- package/dist/cjs/{utils-06248dca.js → utils-2ddfdf9e.js} +1 -1
- package/dist/cjs/verdocs-activity-box.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-auth.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-build.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +21 -27
- package/dist/cjs/verdocs-field-attachment.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-date.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-preview_8.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-settings-api-keys_4.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-settings.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +23 -12
- package/dist/cjs/verdocs-view.cjs.entry.js +3 -3
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +3 -3
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.stories.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +26 -26
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +23 -12
- package/dist/components/Envelopes.js +5 -5
- package/dist/components/VerdocsEndpoint.js +67 -5
- package/dist/components/verdocs-auth.js +3 -3
- package/dist/components/verdocs-envelopes-list.js +18 -24
- package/dist/components/verdocs-templates-list.js +22 -11
- package/dist/custom-elements.json +2059 -0
- package/dist/docs.json +3 -3
- package/dist/esm/{EnvelopeStore-03f3f9f4.js → EnvelopeStore-15cc99ef.js} +1 -1
- package/dist/esm/{Envelopes-7ba36e68.js → Envelopes-21ffb899.js} +5 -5
- package/dist/esm/{TemplateStore-555a4b49.js → TemplateStore-1dfaf509.js} +1 -1
- package/dist/esm/{VerdocsEndpoint-750b24e4.js → VerdocsEndpoint-f58fcb3c.js} +67 -5
- package/dist/esm/ipc-test.entry.js +2 -2
- package/dist/esm/{utils-36e03f93.js → utils-d269cea3.js} +1 -1
- package/dist/esm/verdocs-activity-box.entry.js +2 -2
- package/dist/esm/verdocs-auth.entry.js +4 -4
- package/dist/esm/verdocs-build.entry.js +2 -2
- package/dist/esm/verdocs-button-panel_2.entry.js +2 -2
- package/dist/esm/verdocs-contact-picker_2.entry.js +3 -3
- package/dist/esm/verdocs-envelope-document-page.entry.js +3 -3
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +3 -3
- package/dist/esm/verdocs-envelope-sidebar.entry.js +3 -3
- package/dist/esm/verdocs-envelopes-list.entry.js +21 -27
- package/dist/esm/verdocs-field-attachment.entry.js +2 -2
- package/dist/esm/verdocs-field-checkbox.entry.js +2 -2
- package/dist/esm/verdocs-field-date.entry.js +2 -2
- package/dist/esm/verdocs-field-dropdown.entry.js +2 -2
- package/dist/esm/verdocs-field-initial.entry.js +2 -2
- package/dist/esm/verdocs-field-payment.entry.js +2 -2
- package/dist/esm/verdocs-field-radio-button.entry.js +2 -2
- package/dist/esm/verdocs-field-signature.entry.js +2 -2
- package/dist/esm/verdocs-field-textarea.entry.js +3 -3
- package/dist/esm/verdocs-field-textbox.entry.js +3 -3
- package/dist/esm/verdocs-field-timestamp.entry.js +2 -2
- package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm/verdocs-pagination_2.entry.js +2 -2
- package/dist/esm/verdocs-preview_8.entry.js +4 -4
- package/dist/esm/verdocs-quick-functions_3.entry.js +1 -1
- package/dist/esm/verdocs-search.entry.js +1 -1
- package/dist/esm/verdocs-settings-api-keys_4.entry.js +3 -3
- package/dist/esm/verdocs-settings.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +3 -3
- package/dist/esm/verdocs-template-document-page_2.entry.js +3 -3
- package/dist/esm/verdocs-template-fields_4.entry.js +4 -4
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-templates-list.entry.js +23 -12
- package/dist/esm/verdocs-view.entry.js +3 -3
- package/dist/esm-es5/{EnvelopeStore-03f3f9f4.js → EnvelopeStore-15cc99ef.js} +1 -1
- package/dist/esm-es5/{Envelopes-7ba36e68.js → Envelopes-21ffb899.js} +1 -1
- package/dist/esm-es5/{TemplateStore-555a4b49.js → TemplateStore-1dfaf509.js} +1 -1
- package/dist/esm-es5/VerdocsEndpoint-f58fcb3c.js +1 -0
- package/dist/esm-es5/ipc-test.entry.js +1 -1
- package/dist/esm-es5/{utils-36e03f93.js → utils-d269cea3.js} +1 -1
- package/dist/esm-es5/verdocs-activity-box.entry.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-checkbox.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-date.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-initial.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-radio-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-signature.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-textarea.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-textbox.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-timestamp.entry.js +1 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_8.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-search.entry.js +1 -1
- package/dist/esm-es5/verdocs-settings-api-keys_4.entry.js +1 -1
- package/dist/esm-es5/verdocs-settings.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
- package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/types/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.d.ts +6 -6
- package/dist/types/components/templates/verdocs-templates-list/verdocs-templates-list.d.ts +5 -5
- package/dist/types/components.d.ts +2 -2
- package/dist/verdocs-web-sdk/{p-d44a159b.system.entry.js → p-01f875d4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-36e20c7d.system.entry.js → p-081df4a1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f5222669.system.entry.js → p-0d35d591.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f8c3d844.entry.js → p-0df58c57.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d477824e.entry.js → p-0f94d635.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d6495ba8.entry.js → p-1406ffd2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba50174c.system.entry.js → p-14aefeb2.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-005f8cbc.system.entry.js → p-16043ac0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-25988bd7.entry.js → p-2184a570.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e33e9dd5.system.entry.js → p-23a92204.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8e2b8c08.entry.js → p-271c989f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4f6f538d.entry.js → p-2a185ea9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-95d6d5bc.entry.js → p-2ae9baa3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7b8a52a9.system.entry.js → p-2bc8c83c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-271dafb1.system.js → p-2ccbcfeb.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-354179b9.entry.js → p-2f7236a5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1d52f0a4.entry.js → p-32d4b31e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-07118e76.entry.js → p-34d2f66c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4d8287cb.system.entry.js → p-35769d0c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c1164de2.entry.js → p-35acc57f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d48bffed.entry.js → p-3807b541.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1db55e60.entry.js → p-3a702f79.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c4255966.entry.js → p-3ba65022.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-19e9660c.entry.js → p-3f9fbf94.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-96325d87.entry.js → p-3fd978ad.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ced58601.entry.js → p-409e992a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-58eb94ab.system.entry.js → p-4248ef54.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9df48701.entry.js → p-44fa9fba.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6a5ef696.system.entry.js → p-4d4da6ef.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d96f37d0.system.entry.js → p-53648483.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-53b991de.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-135d684d.system.entry.js → p-56c0cc86.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-56f2a8ac.js +1 -0
- package/dist/verdocs-web-sdk/{p-84341e03.js → p-5a91bf23.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f7641208.system.entry.js → p-5fa7fcf7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-61ad8441.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-faae78ce.system.entry.js → p-62f090c7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-604d7791.entry.js → p-6823dd3e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9623a082.system.entry.js → p-691fa663.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9b02abc9.system.entry.js → p-69c0f441.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1540e617.system.entry.js → p-6a795d03.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-dca97ec0.entry.js → p-6d1150ae.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9a510e13.system.entry.js → p-70df50d0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0a4856ac.entry.js → p-7549ad05.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-47ff8ea2.entry.js → p-77abc3ce.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a866be55.entry.js → p-79557fd0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c3874a8d.system.entry.js → p-7c013c13.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-7e558e92.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-4c0f38c5.system.js → p-7e8d64fb.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3c64c237.system.entry.js → p-90ff8b2c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-95259770.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-24a2d61e.entry.js → p-9b25404e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-9c7093ab.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-a2a9d906.system.js → p-9fa916b5.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-af1c6957.system.entry.js → p-a171983b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-19b70691.js → p-a35314fe.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7783d364.system.entry.js → p-aa51514f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bd264e9b.entry.js → p-af3e9624.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-264085f1.system.entry.js → p-b2d698f7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2727f8c1.system.entry.js → p-b73415c3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e40d07cd.entry.js → p-bb8d6bdb.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3d20f09f.system.js → p-c694cf93.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-185f5fa5.system.entry.js → p-c6cc7015.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-073fcf03.js → p-c7757545.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9871a31d.entry.js → p-ca807155.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-334a7cd0.entry.js → p-ce804092.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a3208fbe.entry.js → p-cf765153.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c186e449.entry.js → p-d37aac3a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b8266baf.system.entry.js → p-d5a46144.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-43226b70.system.entry.js → p-d735df79.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-84b84302.system.entry.js → p-dd8845d4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-877d6c80.system.entry.js → p-e3a9d167.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-066822ff.system.entry.js → p-e48418fd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f4e40ebd.system.entry.js → p-e6037224.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1c70b492.system.entry.js → p-eaa5f223.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-adc052fa.js → p-ebc4142c.js} +1 -1
- package/dist/verdocs-web-sdk/p-f04bf956.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-f720f49e.entry.js → p-f1c4035f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6f8eb3d7.system.entry.js → p-f2249009.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/VerdocsEndpoint-750b24e4.js +0 -1
- package/dist/verdocs-web-sdk/p-2174e539.js +0 -1
- package/dist/verdocs-web-sdk/p-24f0c391.system.js +0 -1
- package/dist/verdocs-web-sdk/p-4d2e73d9.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-57c09a21.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-793b6a49.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d6588808.entry.js +0 -1
package/dist/docs.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2023-11-
|
2
|
+
"timestamp": "2023-11-22T05:10:46",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@stencil/core",
|
5
5
|
"version": "2.20.0",
|
@@ -2210,7 +2210,7 @@
|
|
2210
2210
|
},
|
2211
2211
|
{
|
2212
2212
|
"event": "finishEnvelope",
|
2213
|
-
"detail": "{ endpoint: VerdocsEndpoint; envelope:
|
2213
|
+
"detail": "{ endpoint: VerdocsEndpoint; envelope: IEnvelope; }",
|
2214
2214
|
"bubbles": true,
|
2215
2215
|
"cancelable": true,
|
2216
2216
|
"composed": true,
|
@@ -2228,7 +2228,7 @@
|
|
2228
2228
|
},
|
2229
2229
|
{
|
2230
2230
|
"event": "viewEnvelope",
|
2231
|
-
"detail": "{ endpoint: VerdocsEndpoint; envelope:
|
2231
|
+
"detail": "{ endpoint: VerdocsEndpoint; envelope: IEnvelope; }",
|
2232
2232
|
"bubbles": true,
|
2233
2233
|
"cancelable": true,
|
2234
2234
|
"composed": true,
|
@@ -248,18 +248,18 @@ var throttledGetEnvelope = function (endpoint, envelopeId) {
|
|
248
248
|
return envelope;
|
249
249
|
});
|
250
250
|
};
|
251
|
-
/**
|
252
|
-
* Lists all
|
251
|
+
/**a
|
252
|
+
* Lists all envelopes accessible by the caller, with optional filters.
|
253
253
|
*
|
254
254
|
* ```typescript
|
255
|
-
* import {Envelopes} from '@verdocs/js-sdk/
|
255
|
+
* import {Envelopes} from '@verdocs/js-sdk/Envelopes';
|
256
256
|
*
|
257
|
-
* await Envelopes.listEnvelopes((VerdocsEndpoint.getDefault(), {
|
257
|
+
* const {totals, envelopes} = await Envelopes.listEnvelopes((VerdocsEndpoint.getDefault(), { q: 'test', sort: 'created_at' });
|
258
258
|
* ```
|
259
259
|
*/
|
260
260
|
var listEnvelopes = function (endpoint, params) {
|
261
261
|
return endpoint.api //
|
262
|
-
.post('/envelopes/list', params
|
262
|
+
.post('/envelopes/list', params)
|
263
263
|
.then(function (r) { return r.data; });
|
264
264
|
};
|
265
265
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { c as createStore } from './index-4439b0d1.js';
|
2
|
-
import { g as getTemplate, T as TemplateSenderTypes } from './VerdocsEndpoint-
|
2
|
+
import { g as getTemplate, T as TemplateSenderTypes } from './VerdocsEndpoint-f58fcb3c.js';
|
3
3
|
|
4
4
|
const createTemplateStore = (templateId) => {
|
5
5
|
const now = new Date().toISOString();
|
@@ -27,6 +27,42 @@ var TemplatePermissions;
|
|
27
27
|
*
|
28
28
|
* @module
|
29
29
|
*/
|
30
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
37
|
+
});
|
38
|
+
};
|
39
|
+
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
41
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
43
|
+
function step(op) {
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
48
|
+
switch (op[0]) {
|
49
|
+
case 0: case 1: t = op; break;
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
53
|
+
default:
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
58
|
+
if (t[2]) _.ops.pop();
|
59
|
+
_.trys.pop(); continue;
|
60
|
+
}
|
61
|
+
op = body.call(thisArg, _);
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
64
|
+
}
|
65
|
+
};
|
30
66
|
/**
|
31
67
|
* Get all templates accessible by the caller, with optional filters.
|
32
68
|
*
|
@@ -44,6 +80,15 @@ var getTemplates = function (endpoint, params) {
|
|
44
80
|
.post('/templates', { params: params })
|
45
81
|
.then(function (r) { return r.data; });
|
46
82
|
};
|
83
|
+
// export interface IListTemplatesParams {
|
84
|
+
// name?: string;
|
85
|
+
// sharing?: 'all' | 'personal' | 'shared' | 'public';
|
86
|
+
// starred?: 'all' | 'starred' | 'unstarred';
|
87
|
+
// sort?: 'name' | 'created_at' | 'updated_at' | 'last_used_at' | 'counter' | 'star_counter';
|
88
|
+
// direction?: 'asc' | 'desc';
|
89
|
+
// page?: number;
|
90
|
+
// rows?: number;
|
91
|
+
// }
|
47
92
|
/**
|
48
93
|
* Lists all templates accessible by the caller, with optional filters.
|
49
94
|
*
|
@@ -53,11 +98,10 @@ var getTemplates = function (endpoint, params) {
|
|
53
98
|
* await Templates.listTemplates((VerdocsEndpoint.getDefault(), { sharing: 'personal', sort: 'last_used_at' });
|
54
99
|
* ```
|
55
100
|
*/
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
};
|
101
|
+
// export const listTemplates = (endpoint: VerdocsEndpoint, params?: IListTemplatesParams) =>
|
102
|
+
// endpoint.api //
|
103
|
+
// .post<ITemplateSummaries>('/templates/list', params, {baseURL: endpoint.getBaseURLv2()})
|
104
|
+
// .then((r) => r.data);
|
61
105
|
/**
|
62
106
|
* Get one template by its ID.
|
63
107
|
*
|
@@ -155,6 +199,24 @@ var SortOptions$1;
|
|
155
199
|
SortOptions["COUNTER"] = "counter";
|
156
200
|
SortOptions["STAR_COUNTER"] = "star_counter";
|
157
201
|
})(SortOptions$1 || (SortOptions$1 = {}));
|
202
|
+
/**
|
203
|
+
* List templates.
|
204
|
+
*
|
205
|
+
* ```typescript
|
206
|
+
* import {Templates} from '@verdocs/js-sdk/Templates';
|
207
|
+
*
|
208
|
+
* const {totals, templates} = await Templates.listTemplates((VerdocsEndpoint.getDefault(), { q: 'test', sort: 'created_at' }); * ```
|
209
|
+
*/
|
210
|
+
var listTemplates = function (endpoint, params) {
|
211
|
+
if (params === void 0) { params = {}; }
|
212
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
213
|
+
return __generator(this, function (_a) {
|
214
|
+
return [2 /*return*/, endpoint.api //
|
215
|
+
.post('/templates/list', params)
|
216
|
+
.then(function (r) { return r.data; })];
|
217
|
+
});
|
218
|
+
});
|
219
|
+
};
|
158
220
|
|
159
221
|
var TemplateSenderTypes;
|
160
222
|
(function (TemplateSenderTypes) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-172625c5.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
-
import { g as getTemplateStore } from './TemplateStore-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
4
|
+
import { g as getTemplateStore } from './TemplateStore-1dfaf509.js';
|
5
5
|
import './index-4439b0d1.js';
|
6
6
|
|
7
7
|
const ipcTestCss = "ipc-test{max-width:800px;display:block}";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { c as createCommonjsModule, a as commonjsGlobal, b as commonjsRequire } from './_commonjsHelpers-5ec8f9b7.js';
|
2
|
-
import { b as getEnvelopeFile, d as getFieldAttachment } from './Envelopes-
|
2
|
+
import { b as getEnvelopeFile, d as getFieldAttachment } from './Envelopes-21ffb899.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
4
|
import { d as downloadBlob } from './Files-70a192df.js';
|
5
5
|
import { a as FORMAT_DATE } from './Types-de18e225.js';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
|
-
import { g as getSummary } from './Envelopes-
|
2
|
+
import { g as getSummary } from './Envelopes-21ffb899.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
5
5
|
import { i as integerSequence } from './Primitives-8fe93caf.js';
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-172625c5.js';
|
2
2
|
import { d as decodeAccessTokenBody } from './Types-5f31149e.js';
|
3
3
|
import { c as createBusinessAccount, i as isOrgAvailable } from './Profiles-4cc942ef.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
5
5
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
7
7
|
|
@@ -306,14 +306,14 @@ const VerdocsAuth = class {
|
|
306
306
|
}
|
307
307
|
if (this.displayMode === 'signup') {
|
308
308
|
const step1Invalid = this.submitting || !this.first || !this.last || !this.username || !this.password || !this.orgname || this.orgAvailable !== 'AVAILABLE';
|
309
|
-
return (h("div", { class: "form" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" }), h("h3", null, "Sign up for a trial account"), h("h4", null, "Already have an account?", h("verdocs-button", { label: "Log In", variant: "text", onClick: () => (this.displayMode = 'login'), disabled: this.submitting })), this.signupStep === 1 && (h("form", { onSubmit: () => this.handleSignup() }, h("div", { style: { display: 'flex', flexDirection: 'row', columnGap: '20px' } }, h("verdocs-text-input", { label: "First Name", autocomplete: "first", required: true, value: this.first, onInput: (e) => (this.first = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Last Name", autocomplete: "last", required: true, value: this.last, onInput: (e) => (this.last = e.target.value), disabled: this.submitting })), h("verdocs-text-input", { label: "Email", autocomplete: "email", required: true, value: this.username, onInput: (e) => (this.username = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Phone #", autocomplete: "phone", value: this.phone, onInput: (e) => (this.phone = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", required: true, autocomplete: "current-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("div", { style: { display: 'flex', flexDirection: 'row', gap: '10px', alignItems: 'center' } }, h("verdocs-text-input", { label: "Organization Name", autocomplete: "org", required: true, value: this.orgname, onInput: (e) => this.checkAvailability(e.target.value), disabled: this.submitting, style: { flex: '1' }, onBlur: () => {
|
309
|
+
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Sign up for a trial account"), h("h4", null, "Already have an account?", h("verdocs-button", { label: "Log In", variant: "text", onClick: () => (this.displayMode = 'login'), disabled: this.submitting })), this.signupStep === 1 && (h("form", { onSubmit: () => this.handleSignup() }, h("div", { style: { display: 'flex', flexDirection: 'row', columnGap: '20px' } }, h("verdocs-text-input", { label: "First Name", autocomplete: "first", required: true, value: this.first, onInput: (e) => (this.first = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Last Name", autocomplete: "last", required: true, value: this.last, onInput: (e) => (this.last = e.target.value), disabled: this.submitting })), h("verdocs-text-input", { label: "Email", autocomplete: "email", required: true, value: this.username, onInput: (e) => (this.username = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Phone #", autocomplete: "phone", value: this.phone, onInput: (e) => (this.phone = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", required: true, autocomplete: "current-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("div", { style: { display: 'flex', flexDirection: 'row', gap: '10px', alignItems: 'center' } }, h("verdocs-text-input", { label: "Organization Name", autocomplete: "org", required: true, value: this.orgname, onInput: (e) => this.checkAvailability(e.target.value), disabled: this.submitting, style: { flex: '1' }, onBlur: () => {
|
310
310
|
console.log('blur');
|
311
311
|
} }), !this.checkingOrg && this.orgAvailable === 'AVAILABLE' && h("verdocs-help-icon", { icon: OkIcon, text: "Organization name is available." }), !this.checkingOrg && this.orgAvailable === 'TAKEN' && h("verdocs-help-icon", { icon: TakenIcon, text: "Organization already registered." }), !this.checkingOrg && this.orgAvailable === 'UNKNOWN' && h("verdocs-help-icon", { icon: InfoIcon, text: "Organization name must be unique." }), this.checkingOrg && h("verdocs-spinner", { mode: "dark", size: 24 })), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Next", disabled: step1Invalid, onClick: () => (this.signupStep = 2), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))), this.signupStep === 2 && (h("form", { onSubmit: () => this.handleSignup() }, h("verdocs-text-input", { label: "How did you hear about Verdocs?", value: this.howHear, onInput: (e) => (this.howHear = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Your Industry", options: Industries, value: this.industry, onInput: (e) => (this.industry = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Company Size", options: CompanySizes, value: this.companySize, onInput: (e) => (this.companySize = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Purpose", options: Reasons, value: this.reason, onInput: (e) => (this.reason = e.target.value), disabled: this.submitting }), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Create Account", disabled: this.submitting, onClick: () => this.handleSignup(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))), this.signupStep === 3 && (h("form", { onSubmit: () => this.handleSignup() }, h("p", null, "Please check your e-mail inbox for a verification code and follow the instructions provided."), h("p", null, h("em", null, "Verification messages may take up to 1 hour to arrive. If you do not receive the invitation, ", h("a", { href: "#" }, "Click Here"), " to resend it. Be sure to check your spam folder.")), h("div", { style: { display: 'flex', flexDirection: 'row', gap: '20px' } }, h("verdocs-button", { label: "Back", disabled: this.submitting, onClick: () => {
|
312
312
|
this.signupStep = 2;
|
313
313
|
}, style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }), h("verdocs-button", { label: "Go to Dashboard", disabled: true, onClick: () => this.handleSignup(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))))));
|
314
314
|
}
|
315
315
|
if (this.displayMode === 'forgot') {
|
316
|
-
return (h("div", { class: "form" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" }), h("h3", null, "Forgot your password?"), h("p", null, "Enter your e-mail address below, and reset instructions will be sent to your Inbox."), h("p", null, h("em", null, "Please allow up to 24 hours for delivery, and check your spam folder if you do not receive the message. ")), h("form", { onSubmit: () => this.handleSignup() }, h("verdocs-text-input", { label: "Email", autocomplete: "email", required: true, value: this.username, onInput: (e) => (this.username = e.target.value), disabled: this.submitting }), h("div", { style: { marginTop: '30px' } }), h("div", { class: "buttons" }, h("verdocs-button", { label: "Cancel", variant: "outline", disabled: this.submitting, onClick: () => (this.displayMode = 'login') }), h("verdocs-button", { label: "Reset", disabled: this.submitting, onClick: () => this.handleReset() })))));
|
316
|
+
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Forgot your password?"), h("p", null, "Enter your e-mail address below, and reset instructions will be sent to your Inbox."), h("p", null, h("em", null, "Please allow up to 24 hours for delivery, and check your spam folder if you do not receive the message. ")), h("form", { onSubmit: () => this.handleSignup() }, h("verdocs-text-input", { label: "Email", autocomplete: "email", required: true, value: this.username, onInput: (e) => (this.username = e.target.value), disabled: this.submitting }), h("div", { style: { marginTop: '30px' } }), h("div", { class: "buttons" }, h("verdocs-button", { label: "Cancel", variant: "outline", disabled: this.submitting, onClick: () => (this.displayMode = 'login') }), h("verdocs-button", { label: "Reset", disabled: this.submitting, onClick: () => this.handleReset() })))));
|
317
317
|
}
|
318
318
|
if (this.displayMode === 'verify') {
|
319
319
|
return (h("div", { class: "form" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" }), h("h3", null, "Please Verify your Email Address"), h("p", null, "Check your e-mail inbox for a verification email, and follow the instructions provided."), h("p", null, h("em", null, "Please allow up to 24 hours for delivery, and check your spam folder if you do not receive the message. ")), h("div", { class: "buttons" }, h("verdocs-button", { label: "Sign Out", variant: "outline", disabled: this.submitting, onClick: () => {
|
@@ -323,7 +323,7 @@ const VerdocsAuth = class {
|
|
323
323
|
this.displayMode = 'login';
|
324
324
|
} }), h("verdocs-button", { label: "Resend Email", disabled: this.resendDisabled, onClick: () => this.handleResend() }))));
|
325
325
|
}
|
326
|
-
return (h("div", { class: "form" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" }), h("h3", null, "Log in to your account"), h("h4", null, "Don't have an account?", h("verdocs-button", { label: "Sign Up", variant: "text", onClick: () => {
|
326
|
+
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Log in to your account"), h("h4", null, "Don't have an account?", h("verdocs-button", { label: "Sign Up", variant: "text", onClick: () => {
|
327
327
|
this.displayMode = 'signup';
|
328
328
|
this.signupStep = 1;
|
329
329
|
}, disabled: this.submitting })), h("form", { onSubmit: () => this.loginAndCheckVerification() }, h("verdocs-text-input", { label: "Email", autocomplete: "username", value: this.username, onInput: (e) => (this.username = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", autocomplete: "current-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("verdocs-button", { label: "Forgot Your Password?", variant: "text", onClick: () => (this.displayMode = 'forgot'), disabled: this.submitting, style: { display: 'flex', justifyContent: 'center', margin: '10px auto 20px' } }), h("verdocs-button", { label: "Login", disabled: this.submitting, onClick: () => this.loginAndCheckVerification(), style: { display: 'flex', justifyContent: 'center', margin: '10px auto 0' } }))));
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, a as getElement } from './index-172625c5.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
-
import { g as getTemplateStore } from './TemplateStore-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
4
|
+
import { g as getTemplateStore } from './TemplateStore-1dfaf509.js';
|
5
5
|
import { S as SDKError } from './errors-9b5498c8.js';
|
6
6
|
import './index-4439b0d1.js';
|
7
7
|
|
@@ -2,9 +2,9 @@ import { r as registerInstance, h, H as Host, c as createEvent, a as getElement
|
|
2
2
|
import { c as createPopper } from './popper-15e448b4.js';
|
3
3
|
import { a as commonjsGlobal } from './_commonjsHelpers-5ec8f9b7.js';
|
4
4
|
import './Types-5f31149e.js';
|
5
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
5
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
6
6
|
import { u as updateField, d as deleteField } from './Fields-c82e6df3.js';
|
7
|
-
import { g as getTemplateStore } from './TemplateStore-
|
7
|
+
import { g as getTemplateStore } from './TemplateStore-1dfaf509.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
9
|
import './index-4439b0d1.js';
|
10
10
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
-
import { d as convertToE164 } from './utils-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
4
|
+
import { d as convertToE164 } from './utils-d269cea3.js';
|
5
5
|
import './_commonjsHelpers-5ec8f9b7.js';
|
6
|
-
import './Envelopes-
|
6
|
+
import './Envelopes-21ffb899.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
9
9
|
import './index-914ed6f7.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-172625c5.js';
|
2
|
-
import { m as getEnvelopeDocumentPageDisplayUri } from './Envelopes-
|
2
|
+
import { m as getEnvelopeDocumentPageDisplayUri } from './Envelopes-21ffb899.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
5
|
-
import { t as throttle } from './utils-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
5
|
+
import { t as throttle } from './utils-d269cea3.js';
|
6
6
|
import './_commonjsHelpers-5ec8f9b7.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
3
|
import { g as getInPersonLink } from './Recipients-4ec2138c.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
5
|
-
import { g as getEnvelopeStore } from './EnvelopeStore-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
5
|
+
import { g as getEnvelopeStore } from './EnvelopeStore-15cc99ef.js';
|
6
6
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
7
7
|
import { S as SDKError } from './errors-9b5498c8.js';
|
8
8
|
import { g as getRecipientsWithActions, r as recipientCanAct } from './Permissions-f2eb0421.js';
|
9
9
|
import './index-4439b0d1.js';
|
10
|
-
import './Envelopes-
|
10
|
+
import './Envelopes-21ffb899.js';
|
11
11
|
|
12
12
|
const verdocsEnvelopeRecipientLinkCss = "verdocs-envelope-recipient-link{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:100000;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:\"Inter\", \"Barlow\", sans-serif;background-color:#0000007f}verdocs-envelope-recipient-link .summary-content{width:600px;display:-ms-flexbox;display:flex;max-width:90%;font-size:18px;-ms-flex:0 0 600px;flex:0 0 600px;border-radius:6px;background:#ffffff;-ms-flex-direction:column;flex-direction:column;padding:30px 20px 20px}verdocs-envelope-recipient-link .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-recipient-link .summary-recipient{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-recipient-link .summary-recipient .role-name{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;font-size:14px;font-weight:600;margin:0 0 8px 0;color:#092c4c}verdocs-envelope-recipient-link .summary-recipient .role-info{gap:5px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end}verdocs-envelope-recipient-link .summary-recipient .role-full-name{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:#f9fafb}verdocs-envelope-recipient-link .summary-recipient .recipient-link{width:120px;padding:0 16px;font-weight:500;margin:0 0 0 8px;text-align:center;font-size:0.875rem;border-radius:100%;color:#374151;line-height:1.25rem;background-color:#d8d8d8;border:2px solid #9ca3af}verdocs-envelope-recipient-link .summary-recipient .link-wrapper{gap:5px;display:-ms-flexbox;display:flex;margin:4px 0 0 0;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-recipient-link .summary-recipient .link-wrapper .link{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:#f9fafb}verdocs-envelope-recipient-link .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;margin:10px 0 0 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-envelope-recipient-link .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-recipient-link .buttons verdocs-button button{width:100%}";
|
13
13
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
|
-
import { c as cancelEnvelope } from './Envelopes-
|
2
|
+
import { c as cancelEnvelope } from './Envelopes-21ffb899.js';
|
3
3
|
import { u as userIsEnvelopeOwner } from './Permissions-f2eb0421.js';
|
4
4
|
import { r as resendInvitation } from './Recipients-4ec2138c.js';
|
5
5
|
import './Types-5f31149e.js';
|
6
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
7
|
-
import { g as getEnvelopeStore } from './EnvelopeStore-
|
6
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
7
|
+
import { g as getEnvelopeStore } from './EnvelopeStore-15cc99ef.js';
|
8
8
|
import { F as FORMAT_TIMESTAMP } from './Types-de18e225.js';
|
9
9
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
10
10
|
import { S as SDKError } from './errors-9b5498c8.js';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
|
-
import { l as listEnvelopes, c as cancelEnvelope } from './Envelopes-
|
2
|
+
import { l as listEnvelopes, c as cancelEnvelope } from './Envelopes-21ffb899.js';
|
3
3
|
import { g as getRecipientsWithActions, a as userCanAct, b as userCanCancelEnvelope } from './Permissions-f2eb0421.js';
|
4
4
|
import './Types-5f31149e.js';
|
5
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
5
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
6
6
|
import { i as integerSequence } from './Primitives-8fe93caf.js';
|
7
|
-
import { s as saveEnvelopesAsZip } from './utils-
|
7
|
+
import { s as saveEnvelopesAsZip } from './utils-d269cea3.js';
|
8
8
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
9
9
|
import { S as SDKError } from './errors-9b5498c8.js';
|
10
10
|
import './_commonjsHelpers-5ec8f9b7.js';
|
@@ -98,64 +98,64 @@ const VerdocsEnvelopesList = class {
|
|
98
98
|
this.loading = true;
|
99
99
|
let queryParams = {
|
100
100
|
page: this.selectedPage,
|
101
|
-
sort: this.sort,
|
101
|
+
// sort: this.sort,
|
102
102
|
rows: this.rowsPerPage,
|
103
103
|
};
|
104
104
|
switch (this.view) {
|
105
105
|
case 'all':
|
106
106
|
queryParams = {
|
107
107
|
...queryParams,
|
108
|
-
sort: this.sort,
|
109
|
-
direction: this.sort === 'name' ? 'asc' : 'desc',
|
108
|
+
// sort: this.sort,
|
109
|
+
// direction: this.sort === 'name' ? 'asc' : 'desc',
|
110
110
|
status: (this.status === 'all' ? ['pending', 'in progress', 'complete', 'declined', 'canceled'] : [this.status]),
|
111
111
|
};
|
112
112
|
break;
|
113
113
|
case 'inbox':
|
114
114
|
queryParams = {
|
115
115
|
...queryParams,
|
116
|
-
is_recipient: true,
|
117
|
-
sort: 'updated_at',
|
118
|
-
recipient_status: ['invited', 'declined', 'opened', 'signed', 'submitted', 'canceled'],
|
116
|
+
// is_recipient: true,
|
117
|
+
// sort: 'updated_at',
|
118
|
+
// recipient_status: ['invited', 'declined', 'opened', 'signed', 'submitted', 'canceled'],
|
119
119
|
};
|
120
120
|
break;
|
121
121
|
case 'sent':
|
122
122
|
queryParams = {
|
123
123
|
...queryParams,
|
124
124
|
is_owner: true,
|
125
|
-
sort: 'updated_at',
|
125
|
+
// sort: 'updated_at',
|
126
126
|
};
|
127
127
|
break;
|
128
128
|
case 'action':
|
129
129
|
queryParams = {
|
130
130
|
...queryParams,
|
131
|
-
sort: 'updated_at',
|
132
|
-
is_recipient: true,
|
131
|
+
// sort: 'updated_at',
|
132
|
+
// is_recipient: true,
|
133
133
|
status: ['pending', 'in progress'],
|
134
|
-
recipient_status: ['invited', 'opened', 'signed'],
|
134
|
+
// recipient_status: ['invited', 'opened', 'signed'],
|
135
135
|
};
|
136
136
|
break;
|
137
137
|
case 'waiting':
|
138
138
|
queryParams = {
|
139
139
|
...queryParams,
|
140
140
|
is_owner: true,
|
141
|
-
sort: 'updated_at',
|
142
|
-
direction: 'desc',
|
141
|
+
// sort: 'updated_at',
|
142
|
+
// direction: 'desc',
|
143
143
|
status: ['pending', 'in progress'],
|
144
144
|
};
|
145
145
|
break;
|
146
146
|
case 'completed':
|
147
147
|
queryParams = {
|
148
148
|
...queryParams,
|
149
|
-
sort: 'updated_at',
|
150
|
-
direction: 'desc',
|
149
|
+
// sort: 'updated_at',
|
150
|
+
// direction: 'desc',
|
151
151
|
status: ['complete'],
|
152
152
|
};
|
153
153
|
break;
|
154
154
|
default:
|
155
155
|
queryParams = {
|
156
156
|
...queryParams,
|
157
|
-
sort: 'updated_at',
|
158
|
-
direction: 'desc',
|
157
|
+
// sort: 'updated_at',
|
158
|
+
// direction: 'desc',
|
159
159
|
status: (this.status === 'all' ? ['pending', 'in progress', 'complete', 'declined', 'canceled'] : [this.status]),
|
160
160
|
};
|
161
161
|
}
|
@@ -167,18 +167,12 @@ const VerdocsEnvelopesList = class {
|
|
167
167
|
queryParams.status = [this.status];
|
168
168
|
}
|
169
169
|
}
|
170
|
-
if (this.
|
171
|
-
queryParams.sort = this.sort;
|
172
|
-
queryParams.direction = this.sort === 'name' ? 'asc' : 'desc';
|
173
|
-
}
|
174
|
-
if (this.match.trim()) {
|
175
|
-
queryParams.match = this.match.trim();
|
176
|
-
}
|
170
|
+
if (this.match.trim()) ;
|
177
171
|
// if (this.containing.trim()) {
|
178
172
|
// queryParams.field_value = this.containing.trim();
|
179
173
|
// }
|
180
174
|
const response = await listEnvelopes(this.endpoint, queryParams);
|
181
|
-
this.envelopes = response.
|
175
|
+
this.envelopes = response.envelopes;
|
182
176
|
this.count = response.total;
|
183
177
|
this.loading = false;
|
184
178
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-21ffb899.js';
|
6
6
|
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-21ffb899.js';
|
6
6
|
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
|
-
import { g as getFieldSettings } from './utils-
|
2
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
3
3
|
import { g as getRGBA } from './Colors-1b298092.js';
|
4
4
|
import { a as FORMAT_DATE } from './Types-de18e225.js';
|
5
5
|
import { f as format } from './index-914ed6f7.js';
|
6
6
|
import './_commonjsHelpers-5ec8f9b7.js';
|
7
|
-
import './Envelopes-
|
7
|
+
import './Envelopes-21ffb899.js';
|
8
8
|
import './Types-5f31149e.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-21ffb899.js';
|
6
6
|
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-21ffb899.js';
|
6
6
|
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-21ffb899.js';
|
6
6
|
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-21ffb899.js';
|
6
6
|
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-21ffb899.js';
|
6
6
|
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-172625c5.js';
|
2
2
|
import { i as interact } from './interact.min-cf83fa88.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
5
5
|
import { u as updateField } from './Fields-c82e6df3.js';
|
6
6
|
import { g as getRGBA } from './Colors-1b298092.js';
|
7
|
-
import { g as getFieldSettings } from './utils-
|
7
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
8
8
|
import './_commonjsHelpers-5ec8f9b7.js';
|
9
|
-
import './Envelopes-
|
9
|
+
import './Envelopes-21ffb899.js';
|
10
10
|
import './Files-70a192df.js';
|
11
11
|
import './Types-de18e225.js';
|
12
12
|
import './index-914ed6f7.js';
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-172625c5.js';
|
2
2
|
import { i as interact } from './interact.min-cf83fa88.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
5
5
|
import { u as updateField } from './Fields-c82e6df3.js';
|
6
6
|
import { g as getRGBA } from './Colors-1b298092.js';
|
7
|
-
import { g as getFieldSettings } from './utils-
|
7
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
8
8
|
import './_commonjsHelpers-5ec8f9b7.js';
|
9
|
-
import './Envelopes-
|
9
|
+
import './Envelopes-21ffb899.js';
|
10
10
|
import './Files-70a192df.js';
|
11
11
|
import './Types-de18e225.js';
|
12
12
|
import './index-914ed6f7.js';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-d269cea3.js';
|
4
4
|
import { F as FORMAT_TIMESTAMP } from './Types-de18e225.js';
|
5
5
|
import { f as format } from './index-914ed6f7.js';
|
6
6
|
import './_commonjsHelpers-5ec8f9b7.js';
|
7
|
-
import './Envelopes-
|
7
|
+
import './Envelopes-21ffb899.js';
|
8
8
|
import './Types-5f31149e.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-f58fcb3c.js';
|
4
4
|
import { u as unicodeNBSP } from './Icons-c29eb0fa.js';
|
5
5
|
|
6
6
|
const verdocsFileChooserCss = "verdocs-file-chooser{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-file-chooser .upload-box{text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px 15px;color:rgba(0, 0, 0, 0.54)}verdocs-file-chooser .upload-box svg{width:64px;height:64px;fill:#5c6575}verdocs-file-chooser .selected-filename{font-size:20px;font-weight:bold;overflow-wrap:anywhere}verdocs-file-chooser .or-prefer{height:20px;margin:20px 0;font-size:16px}";
|