@verdocs/web-sdk 1.12.30 → 1.12.32
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/{Envelopes-d28eaba2.js → Envelopes-f81d02b1.js} +6 -1
- package/dist/cjs/{VerdocsEndpoint-a27c59d0.js → VerdocsEndpoint-e0d39762.js} +324 -0
- package/dist/cjs/{interact.min-5a50a2ac.js → interact.min-29d23a9c.js} +1 -1
- package/dist/cjs/{utils-6f0ef095.js → utils-aa7160e9.js} +1 -1
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button-panel_3.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-envelope-sidebar.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 +2 -2
- 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-preview.cjs.entry.js +3 -3
- 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-send.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-sign.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-template-attachments.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-create_2.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-document-page.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-template-name.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-properties.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-reminders.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-role-properties_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-roles.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-visibility.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-view.cjs.entry.js +6 -5
- package/dist/collection/components/elements/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +3 -2
- package/dist/components/Envelopes.js +6 -1
- package/dist/components/VerdocsEndpoint.js +324 -0
- package/dist/components/verdocs-envelope-document-page2.js +1 -1
- package/dist/components/verdocs-view2.js +3 -2
- package/dist/docs.json +4 -4
- package/dist/esm/{Envelopes-36b1d722.js → Envelopes-19a6e456.js} +6 -1
- package/dist/esm/{VerdocsEndpoint-0292f9e8.js → VerdocsEndpoint-d0a126c0.js} +324 -0
- package/dist/esm/{interact.min-00a7df3b.js → interact.min-ad5c452f.js} +1 -1
- package/dist/esm/{utils-8f3dd731.js → utils-9628af35.js} +1 -1
- package/dist/esm/verdocs-auth.entry.js +1 -1
- package/dist/esm/verdocs-build.entry.js +1 -1
- package/dist/esm/verdocs-button-panel_3.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm/verdocs-dropdown_2.entry.js +4 -4
- package/dist/esm/verdocs-envelope-sidebar.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 +2 -2
- package/dist/esm/verdocs-field-textbox.entry.js +3 -3
- package/dist/esm/verdocs-field-timestamp.entry.js +2 -2
- package/dist/esm/verdocs-preview.entry.js +3 -3
- package/dist/esm/verdocs-quick-functions_3.entry.js +1 -1
- package/dist/esm/verdocs-search.entry.js +1 -1
- package/dist/esm/verdocs-send.entry.js +3 -3
- package/dist/esm/verdocs-sign.entry.js +3 -3
- package/dist/esm/verdocs-template-attachments.entry.js +1 -1
- package/dist/esm/verdocs-template-create_2.entry.js +4 -4
- package/dist/esm/verdocs-template-document-page.entry.js +3 -3
- package/dist/esm/verdocs-template-name.entry.js +1 -1
- package/dist/esm/verdocs-template-properties.entry.js +1 -1
- package/dist/esm/verdocs-template-reminders.entry.js +1 -1
- package/dist/esm/verdocs-template-role-properties_2.entry.js +1 -1
- package/dist/esm/verdocs-template-roles.entry.js +4 -4
- package/dist/esm/verdocs-template-visibility.entry.js +1 -1
- package/dist/esm/verdocs-view.entry.js +6 -5
- package/dist/esm-es5/{Envelopes-36b1d722.js → Envelopes-19a6e456.js} +1 -1
- package/dist/esm-es5/VerdocsEndpoint-d0a126c0.js +1 -0
- package/dist/esm-es5/{interact.min-00a7df3b.js → interact.min-ad5c452f.js} +1 -1
- package/dist/esm-es5/{utils-8f3dd731.js → utils-9628af35.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_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.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-preview.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-send.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-attachments.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-create_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-name.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-properties.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-reminders.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-role-properties_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-roles.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-visibility.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/verdocs-web-sdk/{p-496d6b16.system.entry.js → p-06866a49.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-247da917.entry.js → p-0739d739.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3daf832f.system.entry.js → p-0ba7360f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e4e5071d.system.entry.js → p-0c5c9ebf.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1eafc7a0.system.js → p-0d81757b.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9655064d.system.entry.js → p-13b8ec6f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a295a639.entry.js → p-1aecc86f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b3af85e4.entry.js → p-1da14840.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-86fac8d0.system.entry.js → p-1e44ea9c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-74eaa63f.entry.js → p-1ec06377.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0f5891ac.system.entry.js → p-1ecc4e7f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ea483104.system.entry.js → p-2441a163.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3613d3dc.entry.js → p-2abbbad7.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-969fae3c.entry.js → p-2dac6972.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b31fcf53.entry.js → p-2fda790b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f943ef3f.system.entry.js → p-3867c364.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b09befc3.system.entry.js → p-3b64f016.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-287055b4.system.entry.js → p-3f9bea4d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-14d40c91.entry.js → p-456969a5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2dd9f54e.entry.js → p-563d545d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bc2f4aa2.system.entry.js → p-58a9048a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-5c043400.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-562df70d.system.entry.js → p-5e3bccd0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f712083b.entry.js → p-61338680.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1d07b8a3.system.entry.js → p-6316a549.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c155c417.entry.js → p-693c98c5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8014232c.system.entry.js → p-6b3102b2.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-6caf1137.system.js +1 -1
- package/dist/verdocs-web-sdk/p-6cf864e3.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d451872f.system.entry.js → p-6e38f3c4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-65c4e99e.system.entry.js → p-6f828ccb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-432685cb.js → p-7448182b.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b902f48f.system.entry.js → p-74f6ca70.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-280cd415.entry.js → p-76c4d3dd.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9bcb75b4.system.entry.js → p-789d66cd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8617c5eb.system.entry.js → p-85281871.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f410d5fe.system.entry.js → p-94a2f261.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-dfc24cb9.system.entry.js → p-98098fad.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-aa93eb93.entry.js → p-992ae721.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-04f4dcb0.system.js → p-9a20f533.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-173a5335.js → p-9b2db78f.js} +1 -1
- package/dist/verdocs-web-sdk/{p-23c65287.entry.js → p-a2438331.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-751c0320.system.entry.js → p-a4051110.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b584e124.system.entry.js → p-a9f19c58.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d2bd9d44.entry.js → p-ae6303f9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c04c0594.system.entry.js → p-aeb488e3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3d6f06eb.entry.js → p-b87ca18d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6d9dbcfc.entry.js → p-b8bb5a01.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-547dabc5.system.entry.js → p-b8c14498.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2985b884.entry.js → p-b97237fa.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad8b7388.entry.js → p-b9fc620d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6066c7ed.entry.js → p-baf138a0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-736b6b76.system.entry.js → p-c43c8a31.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-c58fd28c.js +1 -0
- package/dist/verdocs-web-sdk/{p-6a4e1c60.system.entry.js → p-cb583a98.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-940b3de0.entry.js → p-cd0bdac3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-87697f26.entry.js → p-d1fbad63.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-db003554.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-fea0e89e.entry.js → p-e120905e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4fd92b61.system.entry.js → p-e2275465.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cb49f62f.system.entry.js → p-e62c3c9c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-57fec2cb.system.entry.js → p-e7e3af7e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-11dc8218.entry.js → p-e9b21d78.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-38f695d1.entry.js → p-ed095623.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-daf80d85.entry.js → p-f15e84fb.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ccc45daa.entry.js → p-f3bcd729.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d37ebdb0.entry.js → p-f4cb1692.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-75525ad4.system.entry.js → p-f6e5de8f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-55c4e7b2.entry.js → p-f92ff2d2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3ff28091.js → p-fb86b102.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f1e76d7a.entry.js → p-fd73ee30.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-0292f9e8.js +0 -1
- package/dist/verdocs-web-sdk/p-6d371383.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-91fe136b.system.js +0 -1
- package/dist/verdocs-web-sdk/p-9a923b15.js +0 -1
- package/dist/verdocs-web-sdk/p-e9d5230f.system.js +0 -1
@@ -78,6 +78,322 @@ var SortOptions;
|
|
78
78
|
SortOptions["STAR_COUNTER"] = "star_counter";
|
79
79
|
})(SortOptions || (SortOptions = {}));
|
80
80
|
|
81
|
+
const denyList = new Set([
|
82
|
+
'ENOTFOUND',
|
83
|
+
'ENETUNREACH',
|
84
|
+
|
85
|
+
// SSL errors from https://github.com/nodejs/node/blob/fc8e3e2cdc521978351de257030db0076d79e0ab/src/crypto/crypto_common.cc#L301-L328
|
86
|
+
'UNABLE_TO_GET_ISSUER_CERT',
|
87
|
+
'UNABLE_TO_GET_CRL',
|
88
|
+
'UNABLE_TO_DECRYPT_CERT_SIGNATURE',
|
89
|
+
'UNABLE_TO_DECRYPT_CRL_SIGNATURE',
|
90
|
+
'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',
|
91
|
+
'CERT_SIGNATURE_FAILURE',
|
92
|
+
'CRL_SIGNATURE_FAILURE',
|
93
|
+
'CERT_NOT_YET_VALID',
|
94
|
+
'CERT_HAS_EXPIRED',
|
95
|
+
'CRL_NOT_YET_VALID',
|
96
|
+
'CRL_HAS_EXPIRED',
|
97
|
+
'ERROR_IN_CERT_NOT_BEFORE_FIELD',
|
98
|
+
'ERROR_IN_CERT_NOT_AFTER_FIELD',
|
99
|
+
'ERROR_IN_CRL_LAST_UPDATE_FIELD',
|
100
|
+
'ERROR_IN_CRL_NEXT_UPDATE_FIELD',
|
101
|
+
'OUT_OF_MEM',
|
102
|
+
'DEPTH_ZERO_SELF_SIGNED_CERT',
|
103
|
+
'SELF_SIGNED_CERT_IN_CHAIN',
|
104
|
+
'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',
|
105
|
+
'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
|
106
|
+
'CERT_CHAIN_TOO_LONG',
|
107
|
+
'CERT_REVOKED',
|
108
|
+
'INVALID_CA',
|
109
|
+
'PATH_LENGTH_EXCEEDED',
|
110
|
+
'INVALID_PURPOSE',
|
111
|
+
'CERT_UNTRUSTED',
|
112
|
+
'CERT_REJECTED',
|
113
|
+
'HOSTNAME_MISMATCH'
|
114
|
+
]);
|
115
|
+
|
116
|
+
// TODO: Use `error?.code` when targeting Node.js 14
|
117
|
+
var isRetryAllowed = error => !denyList.has(error && error.code);
|
118
|
+
|
119
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
120
|
+
|
121
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
122
|
+
|
123
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
124
|
+
|
125
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
126
|
+
|
127
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
128
|
+
var namespace = 'axios-retry';
|
129
|
+
/**
|
130
|
+
* @param {Error} error
|
131
|
+
* @return {boolean}
|
132
|
+
*/
|
133
|
+
|
134
|
+
function isNetworkError(error) {
|
135
|
+
return !error.response && Boolean(error.code) && // Prevents retrying cancelled requests
|
136
|
+
error.code !== 'ECONNABORTED' && // Prevents retrying timed out requests
|
137
|
+
isRetryAllowed(error); // Prevents retrying unsafe errors
|
138
|
+
}
|
139
|
+
var SAFE_HTTP_METHODS = ['get', 'head', 'options'];
|
140
|
+
var IDEMPOTENT_HTTP_METHODS = SAFE_HTTP_METHODS.concat(['put', 'delete']);
|
141
|
+
/**
|
142
|
+
* @param {Error} error
|
143
|
+
* @return {boolean}
|
144
|
+
*/
|
145
|
+
|
146
|
+
function isRetryableError(error) {
|
147
|
+
return error.code !== 'ECONNABORTED' && (!error.response || error.response.status >= 500 && error.response.status <= 599);
|
148
|
+
}
|
149
|
+
/**
|
150
|
+
* @param {Error} error
|
151
|
+
* @return {boolean}
|
152
|
+
*/
|
153
|
+
|
154
|
+
function isSafeRequestError(error) {
|
155
|
+
if (!error.config) {
|
156
|
+
// Cannot determine if the request can be retried
|
157
|
+
return false;
|
158
|
+
}
|
159
|
+
|
160
|
+
return isRetryableError(error) && SAFE_HTTP_METHODS.indexOf(error.config.method) !== -1;
|
161
|
+
}
|
162
|
+
/**
|
163
|
+
* @param {Error} error
|
164
|
+
* @return {boolean}
|
165
|
+
*/
|
166
|
+
|
167
|
+
function isIdempotentRequestError(error) {
|
168
|
+
if (!error.config) {
|
169
|
+
// Cannot determine if the request can be retried
|
170
|
+
return false;
|
171
|
+
}
|
172
|
+
|
173
|
+
return isRetryableError(error) && IDEMPOTENT_HTTP_METHODS.indexOf(error.config.method) !== -1;
|
174
|
+
}
|
175
|
+
/**
|
176
|
+
* @param {Error} error
|
177
|
+
* @return {boolean}
|
178
|
+
*/
|
179
|
+
|
180
|
+
function isNetworkOrIdempotentRequestError(error) {
|
181
|
+
return isNetworkError(error) || isIdempotentRequestError(error);
|
182
|
+
}
|
183
|
+
/**
|
184
|
+
* @return {number} - delay in milliseconds, always 0
|
185
|
+
*/
|
186
|
+
|
187
|
+
function noDelay() {
|
188
|
+
return 0;
|
189
|
+
}
|
190
|
+
/**
|
191
|
+
* @param {number} [retryNumber=0]
|
192
|
+
* @return {number} - delay in milliseconds
|
193
|
+
*/
|
194
|
+
|
195
|
+
|
196
|
+
function exponentialDelay() {
|
197
|
+
var retryNumber = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
198
|
+
var delay = Math.pow(2, retryNumber) * 100;
|
199
|
+
var randomSum = delay * 0.2 * Math.random(); // 0-20% of the delay
|
200
|
+
|
201
|
+
return delay + randomSum;
|
202
|
+
}
|
203
|
+
/**
|
204
|
+
* Initializes and returns the retry state for the given request/config
|
205
|
+
* @param {AxiosRequestConfig} config
|
206
|
+
* @return {Object}
|
207
|
+
*/
|
208
|
+
|
209
|
+
function getCurrentState(config) {
|
210
|
+
var currentState = config[namespace] || {};
|
211
|
+
currentState.retryCount = currentState.retryCount || 0;
|
212
|
+
config[namespace] = currentState;
|
213
|
+
return currentState;
|
214
|
+
}
|
215
|
+
/**
|
216
|
+
* Returns the axios-retry options for the current request
|
217
|
+
* @param {AxiosRequestConfig} config
|
218
|
+
* @param {AxiosRetryConfig} defaultOptions
|
219
|
+
* @return {AxiosRetryConfig}
|
220
|
+
*/
|
221
|
+
|
222
|
+
|
223
|
+
function getRequestOptions(config, defaultOptions) {
|
224
|
+
return _objectSpread(_objectSpread({}, defaultOptions), config[namespace]);
|
225
|
+
}
|
226
|
+
/**
|
227
|
+
* @param {Axios} axios
|
228
|
+
* @param {AxiosRequestConfig} config
|
229
|
+
*/
|
230
|
+
|
231
|
+
|
232
|
+
function fixConfig(axios, config) {
|
233
|
+
if (axios.defaults.agent === config.agent) {
|
234
|
+
delete config.agent;
|
235
|
+
}
|
236
|
+
|
237
|
+
if (axios.defaults.httpAgent === config.httpAgent) {
|
238
|
+
delete config.httpAgent;
|
239
|
+
}
|
240
|
+
|
241
|
+
if (axios.defaults.httpsAgent === config.httpsAgent) {
|
242
|
+
delete config.httpsAgent;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
/**
|
246
|
+
* Checks retryCondition if request can be retried. Handles it's retruning value or Promise.
|
247
|
+
* @param {number} retries
|
248
|
+
* @param {Function} retryCondition
|
249
|
+
* @param {Object} currentState
|
250
|
+
* @param {Error} error
|
251
|
+
* @return {boolean}
|
252
|
+
*/
|
253
|
+
|
254
|
+
|
255
|
+
function shouldRetry(_x, _x2, _x3, _x4) {
|
256
|
+
return _shouldRetry.apply(this, arguments);
|
257
|
+
}
|
258
|
+
/**
|
259
|
+
* Adds response interceptors to an axios instance to retry requests failed due to network issues
|
260
|
+
*
|
261
|
+
* @example
|
262
|
+
*
|
263
|
+
* import axios from 'axios';
|
264
|
+
*
|
265
|
+
* axiosRetry(axios, { retries: 3 });
|
266
|
+
*
|
267
|
+
* axios.get('http://example.com/test') // The first request fails and the second returns 'ok'
|
268
|
+
* .then(result => {
|
269
|
+
* result.data; // 'ok'
|
270
|
+
* });
|
271
|
+
*
|
272
|
+
* // Exponential back-off retry delay between requests
|
273
|
+
* axiosRetry(axios, { retryDelay : axiosRetry.exponentialDelay});
|
274
|
+
*
|
275
|
+
* // Custom retry delay
|
276
|
+
* axiosRetry(axios, { retryDelay : (retryCount) => {
|
277
|
+
* return retryCount * 1000;
|
278
|
+
* }});
|
279
|
+
*
|
280
|
+
* // Also works with custom axios instances
|
281
|
+
* const client = axios.create({ baseURL: 'http://example.com' });
|
282
|
+
* axiosRetry(client, { retries: 3 });
|
283
|
+
*
|
284
|
+
* client.get('/test') // The first request fails and the second returns 'ok'
|
285
|
+
* .then(result => {
|
286
|
+
* result.data; // 'ok'
|
287
|
+
* });
|
288
|
+
*
|
289
|
+
* // Allows request-specific configuration
|
290
|
+
* client
|
291
|
+
* .get('/test', {
|
292
|
+
* 'axios-retry': {
|
293
|
+
* retries: 0
|
294
|
+
* }
|
295
|
+
* })
|
296
|
+
* .catch(error => { // The first request fails
|
297
|
+
* error !== undefined
|
298
|
+
* });
|
299
|
+
*
|
300
|
+
* @param {Axios} axios An axios instance (the axios object or one created from axios.create)
|
301
|
+
* @param {Object} [defaultOptions]
|
302
|
+
* @param {number} [defaultOptions.retries=3] Number of retries
|
303
|
+
* @param {boolean} [defaultOptions.shouldResetTimeout=false]
|
304
|
+
* Defines if the timeout should be reset between retries
|
305
|
+
* @param {Function} [defaultOptions.retryCondition=isNetworkOrIdempotentRequestError]
|
306
|
+
* A function to determine if the error can be retried
|
307
|
+
* @param {Function} [defaultOptions.retryDelay=noDelay]
|
308
|
+
* A function to determine the delay between retry requests
|
309
|
+
* @param {Function} [defaultOptions.onRetry=()=>{}]
|
310
|
+
* A function to get notified when a retry occurs
|
311
|
+
*/
|
312
|
+
|
313
|
+
|
314
|
+
function _shouldRetry() {
|
315
|
+
_shouldRetry = _asyncToGenerator(function* (retries, retryCondition, currentState, error) {
|
316
|
+
var shouldRetryOrPromise = currentState.retryCount < retries && retryCondition(error); // This could be a promise
|
317
|
+
|
318
|
+
if (typeof shouldRetryOrPromise === 'object') {
|
319
|
+
try {
|
320
|
+
var shouldRetryPromiseResult = yield shouldRetryOrPromise; // keep return true unless shouldRetryPromiseResult return false for compatibility
|
321
|
+
|
322
|
+
return shouldRetryPromiseResult !== false;
|
323
|
+
} catch (_err) {
|
324
|
+
return false;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
|
328
|
+
return shouldRetryOrPromise;
|
329
|
+
});
|
330
|
+
return _shouldRetry.apply(this, arguments);
|
331
|
+
}
|
332
|
+
|
333
|
+
function axiosRetry(axios, defaultOptions) {
|
334
|
+
axios.interceptors.request.use(config => {
|
335
|
+
var currentState = getCurrentState(config);
|
336
|
+
currentState.lastRequestTime = Date.now();
|
337
|
+
return config;
|
338
|
+
});
|
339
|
+
axios.interceptors.response.use(null, /*#__PURE__*/function () {
|
340
|
+
var _ref = _asyncToGenerator(function* (error) {
|
341
|
+
var {
|
342
|
+
config
|
343
|
+
} = error; // If we have no information to retry the request
|
344
|
+
|
345
|
+
if (!config) {
|
346
|
+
return Promise.reject(error);
|
347
|
+
}
|
348
|
+
|
349
|
+
var {
|
350
|
+
retries = 3,
|
351
|
+
retryCondition = isNetworkOrIdempotentRequestError,
|
352
|
+
retryDelay = noDelay,
|
353
|
+
shouldResetTimeout = false,
|
354
|
+
onRetry = () => {}
|
355
|
+
} = getRequestOptions(config, defaultOptions);
|
356
|
+
var currentState = getCurrentState(config);
|
357
|
+
|
358
|
+
if (yield shouldRetry(retries, retryCondition, currentState, error)) {
|
359
|
+
currentState.retryCount += 1;
|
360
|
+
var delay = retryDelay(currentState.retryCount, error); // Axios fails merging this configuration to the default configuration because it has an issue
|
361
|
+
// with circular structures: https://github.com/mzabriskie/axios/issues/370
|
362
|
+
|
363
|
+
fixConfig(axios, config);
|
364
|
+
|
365
|
+
if (!shouldResetTimeout && config.timeout && currentState.lastRequestTime) {
|
366
|
+
var lastRequestDuration = Date.now() - currentState.lastRequestTime;
|
367
|
+
var timeout = config.timeout - lastRequestDuration - delay;
|
368
|
+
|
369
|
+
if (timeout <= 0) {
|
370
|
+
return Promise.reject(error);
|
371
|
+
}
|
372
|
+
|
373
|
+
config.timeout = timeout;
|
374
|
+
}
|
375
|
+
|
376
|
+
config.transformRequest = [data => data];
|
377
|
+
onRetry(currentState.retryCount, error, config);
|
378
|
+
return new Promise(resolve => setTimeout(() => resolve(axios(config)), delay));
|
379
|
+
}
|
380
|
+
|
381
|
+
return Promise.reject(error);
|
382
|
+
});
|
383
|
+
|
384
|
+
return function (_x5) {
|
385
|
+
return _ref.apply(this, arguments);
|
386
|
+
};
|
387
|
+
}());
|
388
|
+
} // Compatibility with CommonJS
|
389
|
+
|
390
|
+
axiosRetry.isNetworkError = isNetworkError;
|
391
|
+
axiosRetry.isSafeRequestError = isSafeRequestError;
|
392
|
+
axiosRetry.isIdempotentRequestError = isIdempotentRequestError;
|
393
|
+
axiosRetry.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;
|
394
|
+
axiosRetry.exponentialDelay = exponentialDelay;
|
395
|
+
axiosRetry.isRetryableError = isRetryableError;
|
396
|
+
|
81
397
|
function bind(fn, thisArg) {
|
82
398
|
return function wrap() {
|
83
399
|
return fn.apply(thisArg, arguments);
|
@@ -3360,6 +3676,14 @@ var VerdocsEndpoint = /** @class */ (function () {
|
|
3360
3676
|
this.sessionType = (options === null || options === void 0 ? void 0 : options.sessionType) || 'user';
|
3361
3677
|
this.clientID = (options === null || options === void 0 ? void 0 : options.clientID) || 'not-set';
|
3362
3678
|
this.api = axios.create({ baseURL: this.baseURL, timeout: this.timeout });
|
3679
|
+
// We set the default retries to zero because we only actually want this feature on certain calls for now
|
3680
|
+
axiosRetry(this.api, {
|
3681
|
+
retries: 0,
|
3682
|
+
retryDelay: axiosRetry.exponentialDelay,
|
3683
|
+
onRetry: function (retryCount, error, requestConfig) {
|
3684
|
+
window.console.debug("[JS_SDK] Retrying request (".concat(retryCount, ")"), error.message, requestConfig.url);
|
3685
|
+
},
|
3686
|
+
});
|
3363
3687
|
}
|
3364
3688
|
VerdocsEndpoint.prototype.setDefault = function () {
|
3365
3689
|
globalThis_1[ENDPOINT_KEY] = this;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as getDefaultExportFromCjs, c as createCommonjsModule } from './utils-
|
1
|
+
import { a as getDefaultExportFromCjs, c as createCommonjsModule } from './utils-9628af35.js';
|
2
2
|
|
3
3
|
var interact_min = createCommonjsModule(function (module, exports) {
|
4
4
|
/* interact.js 1.10.17 | https://interactjs.io/license */
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as getEnvelopeFile, a as getFieldAttachment } from './Envelopes-
|
1
|
+
import { g as getEnvelopeFile, a as getFieldAttachment } from './Envelopes-19a6e456.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
3
|
import { d as downloadBlob } from './Files-70a192df.js';
|
4
4
|
import { f as format } from './index-d264c496.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-5260ed60.js';
|
2
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
3
3
|
import './Types-6dc82c14.js';
|
4
4
|
import { S as SDKError } from './errors-9b5498c8.js';
|
5
5
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
4
4
|
import { l as loadTemplate } from './Templates-deedf4bd.js';
|
5
5
|
import { S as SDKError } from './errors-9b5498c8.js';
|
6
6
|
import './Templates-8e4ab976.js';
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, c as createEvent, a as getElement
|
|
2
2
|
import { c as createPopper } from './popper-f860750c.js';
|
3
3
|
import './Types-6dc82c14.js';
|
4
4
|
import { u as updateField, d as deleteField } from './Fields-c82e6df3.js';
|
5
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
5
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
6
6
|
import { s as state } from './templateStore-17c872da.js';
|
7
7
|
import { l as loadTemplate } from './Templates-deedf4bd.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-5260ed60.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
4
4
|
|
5
5
|
const verdocsContactPickerCss = "verdocs-contact-picker{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;background-color:#ffffff}verdocs-contact-picker form{background-color:#f5f5fa;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .row{width:300px;display:-ms-flexbox;display:flex;position:relative;margin:0 0 20px 0;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form label{display:block;font-size:14px;font-weight:500;margin:0 0 4px 0;color:#5c6575}verdocs-contact-picker form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker form .dropdown{left:0;right:0;top:49px;z-index:100;position:absolute;background:#ffffff;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .dropdown .suggestion svg{fill:#666666}verdocs-contact-picker form .dropdown .suggestion .avatar{width:48px;height:48px;-ms-flex:0 0 48px;flex:0 0 48px;margin-right:8px;border-radius:100%}verdocs-contact-picker form .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}verdocs-contact-picker form .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}verdocs-contact-picker form .dropdown .suggestion:hover{background:#eee;cursor:pointer}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}";
|
6
6
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-5260ed60.js';
|
2
2
|
import { c as createPopper } from './popper-f860750c.js';
|
3
|
-
import { f as getEnvelopeDocumentPageDisplayUri } from './Envelopes-
|
3
|
+
import { f as getEnvelopeDocumentPageDisplayUri } from './Envelopes-19a6e456.js';
|
4
4
|
import './Types-6dc82c14.js';
|
5
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
6
|
-
import { t as throttle } from './utils-
|
5
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
6
|
+
import { t as throttle } from './utils-9628af35.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
|
@@ -107,7 +107,7 @@ const VerdocsEnvelopeDocumentPage = class {
|
|
107
107
|
this.naturalHeight = this.virtualHeight;
|
108
108
|
this.aspectRatio = this.virtualWidth / this.virtualHeight;
|
109
109
|
this.skipFirstNotification = true;
|
110
|
-
this.pageDisplayUri = '';
|
110
|
+
this.pageDisplayUri = 'https://verdocs-public-assets.s3.amazonaws.com/loading-placeholder.png';
|
111
111
|
}
|
112
112
|
async componentWillLoad() {
|
113
113
|
this.pageDisplayUri = await getEnvelopeDocumentPageDisplayUri(this.endpoint, this.envelopeId, this.documentId, this.pageNumber);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import { t as throttledGetEnvelope } from './Envelopes-
|
2
|
+
import { t as throttledGetEnvelope } from './Envelopes-19a6e456.js';
|
3
3
|
import './Types-6dc82c14.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
5
5
|
import { S as SDKError } from './errors-9b5498c8.js';
|
6
6
|
import { f as format } from './index-d264c496.js';
|
7
7
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-19a6e456.js';
|
6
6
|
import './Types-6dc82c14.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import { g as getFieldSettings } from './utils-
|
2
|
+
import { g as getFieldSettings } from './utils-9628af35.js';
|
3
3
|
import { g as getRGBA } from './Colors-1b298092.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
5
|
import { f as format } from './index-d264c496.js';
|
6
|
-
import './Envelopes-
|
6
|
+
import './Envelopes-19a6e456.js';
|
7
7
|
import './Types-6dc82c14.js';
|
8
8
|
import './Files-70a192df.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-19a6e456.js';
|
6
6
|
import './Types-6dc82c14.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-19a6e456.js';
|
6
6
|
import './Types-6dc82c14.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-19a6e456.js';
|
6
6
|
import './Types-6dc82c14.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-19a6e456.js';
|
6
6
|
import './Types-6dc82c14.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-19a6e456.js';
|
6
6
|
import './Types-6dc82c14.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
5
|
+
import './Envelopes-19a6e456.js';
|
6
6
|
import './Types-6dc82c14.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-5260ed60.js';
|
2
|
-
import { i as interact } from './interact.min-
|
2
|
+
import { i as interact } from './interact.min-ad5c452f.js';
|
3
3
|
import { g as getRGBA } from './Colors-1b298092.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import { g as getFieldSettings } from './utils-
|
5
|
+
import { g as getFieldSettings } from './utils-9628af35.js';
|
6
6
|
import './Primitives-054bc6e5.js';
|
7
|
-
import './Envelopes-
|
7
|
+
import './Envelopes-19a6e456.js';
|
8
8
|
import './Types-6dc82c14.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
import './index-d264c496.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.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-9628af35.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
5
|
import { f as format } from './index-d264c496.js';
|
6
|
-
import './Envelopes-
|
6
|
+
import './Envelopes-19a6e456.js';
|
7
7
|
import './Types-6dc82c14.js';
|
8
8
|
import './Files-70a192df.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
-
import { r as renderDocumentField, b as getRoleIndex } from './utils-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
4
|
+
import { r as renderDocumentField, b as getRoleIndex } from './utils-9628af35.js';
|
5
5
|
import { s as state } from './templateStore-17c872da.js';
|
6
6
|
import { l as loadTemplate } from './Templates-deedf4bd.js';
|
7
7
|
import { S as SDKError } from './errors-9b5498c8.js';
|
8
|
-
import './Envelopes-
|
8
|
+
import './Envelopes-19a6e456.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
import './index-d264c496.js';
|
11
11
|
import './Primitives-054bc6e5.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-5260ed60.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
4
4
|
import { a as getTemplates } from './Templates-8e4ab976.js';
|
5
5
|
|
6
6
|
/**
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, h } from './index-5260ed60.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
4
4
|
|
5
5
|
const verdocsSearchCss = "verdocs-search{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;background-color:#1e2031}verdocs-search search-box{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:20px 10px}verdocs-search .boxes{-ms-flex-wrap:wrap;flex-wrap:wrap;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:20px 0}verdocs-search search-recent,verdocs-search search-saved,verdocs-search search-quick-functions,verdocs-search search-starred{display:-ms-flexbox;display:flex;margin:0 20px 20px 0}";
|
6
6
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
4
4
|
import { i as isValidEmail, a as isValidPhone } from './Validators-f110bae2.js';
|
5
5
|
import { g as getRGBA } from './Colors-1b298092.js';
|
6
6
|
import { s as state } from './templateStore-17c872da.js';
|
7
7
|
import { l as loadTemplate } from './Templates-deedf4bd.js';
|
8
|
-
import { b as getRoleIndex } from './utils-
|
8
|
+
import { b as getRoleIndex } from './utils-9628af35.js';
|
9
9
|
import { S as SDKError } from './errors-9b5498c8.js';
|
10
10
|
import './Primitives-054bc6e5.js';
|
11
11
|
import './Templates-8e4ab976.js';
|
12
|
-
import './Envelopes-
|
12
|
+
import './Envelopes-19a6e456.js';
|
13
13
|
import './Files-70a192df.js';
|
14
14
|
import './index-d264c496.js';
|
15
15
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment } from './index-5260ed60.js';
|
2
|
-
import { b as getSigningSession, t as throttledGetEnvelope, u as updateEnvelopeField, c as updateEnvelopeFieldSignature, d as updateEnvelopeFieldInitials } from './Envelopes-
|
2
|
+
import { b as getSigningSession, t as throttledGetEnvelope, u as updateEnvelopeField, c as updateEnvelopeFieldSignature, d as updateEnvelopeFieldInitials } from './Envelopes-19a6e456.js';
|
3
3
|
import './Types-6dc82c14.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
5
5
|
import { a as isValidPhone, i as isValidEmail } from './Validators-f110bae2.js';
|
6
6
|
import { f as fullNameToInitials } from './Primitives-054bc6e5.js';
|
7
|
-
import { s as saveAttachment, u as updateDocumentFieldValue, b as getRoleIndex, r as renderDocumentField, d as getFieldId } from './utils-
|
7
|
+
import { s as saveAttachment, u as updateDocumentFieldValue, b as getRoleIndex, r as renderDocumentField, d as getFieldId } from './utils-9628af35.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
import './index-d264c496.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import './Types-6dc82c14.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d0a126c0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
5
|
import { l as loadTemplate } from './Templates-deedf4bd.js';
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|