@verdocs/web-sdk 2.2.22 → 2.2.24
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/{TemplateStore-a5fa2b0c.js → TemplateStore-f29807cb.js} +1 -1
- package/dist/cjs/{VerdocsEndpoint-45deeb6a.js → VerdocsEndpoint-dac7e172.js} +62 -35
- package/dist/cjs/ipc-test.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-activity-box.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -0
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_8.cjs.entry.js +2 -2
- 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 +7 -16
- package/dist/cjs/verdocs-settings.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-view.cjs.entry.js +1 -1
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -0
- package/dist/collection/components/embeds/verdocs-settings/verdocs-settings.js +1 -0
- package/dist/collection/components/settings/verdocs-settings-organization/verdocs-settings-organization.js +6 -15
- package/dist/components/VerdocsEndpoint.js +62 -35
- package/dist/components/verdocs-dropdown2.js +1 -0
- package/dist/components/verdocs-settings-organization2.js +6 -15
- package/dist/components/verdocs-settings.js +1 -0
- package/dist/docs.json +1 -1
- package/dist/esm/{TemplateStore-e8cf5a15.js → TemplateStore-8d2216c0.js} +1 -1
- package/dist/esm/{VerdocsEndpoint-d58d5544.js → VerdocsEndpoint-665cd4ff.js} +62 -35
- package/dist/esm/ipc-test.entry.js +2 -2
- package/dist/esm/verdocs-activity-box.entry.js +1 -1
- package/dist/esm/verdocs-auth.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +1 -0
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm/verdocs-field-textarea.entry.js +1 -1
- package/dist/esm/verdocs-field-textbox.entry.js +1 -1
- package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm/verdocs-preview_8.entry.js +2 -2
- 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 +7 -16
- package/dist/esm/verdocs-settings.entry.js +2 -1
- package/dist/esm/verdocs-sign.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-template-fields_4.entry.js +2 -2
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-templates-list.entry.js +1 -1
- package/dist/esm/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/{TemplateStore-e8cf5a15.js → TemplateStore-8d2216c0.js} +1 -1
- package/dist/esm-es5/VerdocsEndpoint-665cd4ff.js +1 -0
- package/dist/esm-es5/ipc-test.entry.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-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.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-file-chooser_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/verdocs-web-sdk/{p-45d5e035.system.entry.js → p-0356d236.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f2deae25.entry.js → p-06ce4273.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-48c62137.system.entry.js → p-08516605.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ae971bb4.system.entry.js → p-14d75e85.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-428de4a5.entry.js → p-1a978084.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6ccb86b6.entry.js → p-26477930.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-353c7ff6.system.entry.js → p-272933c6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad273610.entry.js → p-332ca951.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-42f27e8c.entry.js → p-36e54b51.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-79b0c643.entry.js → p-37cbcaa4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-07b5f356.system.entry.js → p-3a477f56.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-edabba6b.system.entry.js → p-3b6c429b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba04698a.entry.js → p-3c2b77e1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e40dd4d1.entry.js → p-3e7e86b3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5ab837bf.entry.js → p-42d906e7.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1753f57b.system.js → p-442b15ed.system.js} +1 -1
- package/dist/verdocs-web-sdk/p-47e004ea.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-9009e136.entry.js → p-4d9887e8.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-4fcc89b5.js +1 -0
- package/dist/verdocs-web-sdk/{p-965b66a8.entry.js → p-51bb1472.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-5427b9da.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-cd64b223.system.entry.js → p-5582b7bb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4017b53a.system.entry.js → p-55ae6bcc.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-21e137f0.system.entry.js → p-57c6242a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-07696831.system.entry.js → p-57eead7b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a894761f.system.entry.js → p-5f8b36d8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fab73ec8.system.entry.js → p-60d8a2cb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3a90098d.entry.js → p-6ab93d62.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-66cec042.system.entry.js → p-6f50d2eb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a1e82d5a.entry.js → p-76048eac.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-84efd562.entry.js → p-7c3b27d4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8d14ace0.entry.js → p-7f81ea6d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bbd400a5.entry.js → p-8a3d93ff.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2549a794.system.entry.js → p-8ad808d6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-aba05f25.system.entry.js → p-93d84655.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3da4fed1.entry.js → p-98e72c2a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1dda2d09.entry.js → p-a10951b6.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7bd5db75.system.entry.js → p-a85feb0b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0b2102df.entry.js → p-abb253e4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2284d430.system.entry.js → p-c17390a3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-c230e3d1.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-506754d5.system.entry.js → p-c8246748.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f9e89b56.system.entry.js → p-d6af1df4.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a0ad315e.system.entry.js → p-d6b73c2b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d4aec860.entry.js → p-dd99d3c8.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d4d8858f.js → p-de14cfa1.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0df9e6e1.system.entry.js → p-e242f362.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-e2e28966.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-51979353.entry.js → p-e5a86420.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6f1e794d.system.entry.js → p-ea708cfb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2b6e4f2a.entry.js → p-eb1a70c9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-15df3998.system.entry.js → p-ec8f0b94.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-f04bf956.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-45bee3f6.system.entry.js → p-f3a3e38e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-77ecee31.entry.js → p-fb38a556.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-d58d5544.js +0 -1
- package/dist/verdocs-web-sdk/p-4422958b.system.js +0 -1
- package/dist/verdocs-web-sdk/p-686bf682.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-78e4f430.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-883d60e1.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-af048fad.js +0 -1
@@ -959,8 +959,9 @@ const reduceDescriptors = (obj, reducer) => {
|
|
959
959
|
const reducedDescriptors = {};
|
960
960
|
|
961
961
|
forEach(descriptors, (descriptor, name) => {
|
962
|
-
|
963
|
-
|
962
|
+
let ret;
|
963
|
+
if ((ret = reducer(descriptor, name, obj)) !== false) {
|
964
|
+
reducedDescriptors[name] = ret || descriptor;
|
964
965
|
}
|
965
966
|
});
|
966
967
|
|
@@ -1796,10 +1797,6 @@ function formDataToJSON(formData) {
|
|
1796
1797
|
return null;
|
1797
1798
|
}
|
1798
1799
|
|
1799
|
-
const DEFAULT_CONTENT_TYPE = {
|
1800
|
-
'Content-Type': undefined
|
1801
|
-
};
|
1802
|
-
|
1803
1800
|
/**
|
1804
1801
|
* It takes a string, tries to parse it, and if it fails, it returns the stringified version
|
1805
1802
|
* of the input
|
@@ -1938,19 +1935,16 @@ const defaults = {
|
|
1938
1935
|
|
1939
1936
|
headers: {
|
1940
1937
|
common: {
|
1941
|
-
'Accept': 'application/json, text/plain, */*'
|
1938
|
+
'Accept': 'application/json, text/plain, */*',
|
1939
|
+
'Content-Type': undefined
|
1942
1940
|
}
|
1943
1941
|
}
|
1944
1942
|
};
|
1945
1943
|
|
1946
|
-
utils.forEach(['delete', 'get', 'head'],
|
1944
|
+
utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
1947
1945
|
defaults.headers[method] = {};
|
1948
1946
|
});
|
1949
1947
|
|
1950
|
-
utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
1951
|
-
defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
|
1952
|
-
});
|
1953
|
-
|
1954
1948
|
// RawAxiosHeaders whose duplicates are ignored by node
|
1955
1949
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
1956
1950
|
const ignoreDuplicateOf = utils.toObjectSet([
|
@@ -2282,7 +2276,17 @@ class AxiosHeaders {
|
|
2282
2276
|
|
2283
2277
|
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
2284
2278
|
|
2285
|
-
|
2279
|
+
// reserved names hotfix
|
2280
|
+
utils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
2281
|
+
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
2282
|
+
return {
|
2283
|
+
get: () => value,
|
2284
|
+
set(headerValue) {
|
2285
|
+
this[mapped] = headerValue;
|
2286
|
+
}
|
2287
|
+
}
|
2288
|
+
});
|
2289
|
+
|
2286
2290
|
utils.freezeMethods(AxiosHeaders);
|
2287
2291
|
|
2288
2292
|
/**
|
@@ -2615,11 +2619,16 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
2615
2619
|
}
|
2616
2620
|
}
|
2617
2621
|
|
2622
|
+
let contentType;
|
2623
|
+
|
2618
2624
|
if (utils.isFormData(requestData)) {
|
2619
2625
|
if (platform.isStandardBrowserEnv || platform.isStandardBrowserWebWorkerEnv) {
|
2620
2626
|
requestHeaders.setContentType(false); // Let the browser set it
|
2621
|
-
} else {
|
2622
|
-
requestHeaders.setContentType('multipart/form-data
|
2627
|
+
} else if(!requestHeaders.getContentType(/^\s*multipart\/form-data/)){
|
2628
|
+
requestHeaders.setContentType('multipart/form-data'); // mobile/desktop app frameworks
|
2629
|
+
} else if(utils.isString(contentType = requestHeaders.getContentType())){
|
2630
|
+
// fix semicolon duplication issue for ReactNative FormData implementation
|
2631
|
+
requestHeaders.setContentType(contentType.replace(/^\s*(multipart\/form-data);+/, '$1'));
|
2623
2632
|
}
|
2624
2633
|
}
|
2625
2634
|
|
@@ -2812,7 +2821,7 @@ const knownAdapters = {
|
|
2812
2821
|
};
|
2813
2822
|
|
2814
2823
|
utils.forEach(knownAdapters, (fn, value) => {
|
2815
|
-
if(fn) {
|
2824
|
+
if (fn) {
|
2816
2825
|
try {
|
2817
2826
|
Object.defineProperty(fn, 'name', {value});
|
2818
2827
|
} catch (e) {
|
@@ -2822,6 +2831,10 @@ utils.forEach(knownAdapters, (fn, value) => {
|
|
2822
2831
|
}
|
2823
2832
|
});
|
2824
2833
|
|
2834
|
+
const renderReason = (reason) => `- ${reason}`;
|
2835
|
+
|
2836
|
+
const isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;
|
2837
|
+
|
2825
2838
|
const adapters = {
|
2826
2839
|
getAdapter: (adapters) => {
|
2827
2840
|
adapters = utils.isArray(adapters) ? adapters : [adapters];
|
@@ -2830,30 +2843,44 @@ const adapters = {
|
|
2830
2843
|
let nameOrAdapter;
|
2831
2844
|
let adapter;
|
2832
2845
|
|
2846
|
+
const rejectedReasons = {};
|
2847
|
+
|
2833
2848
|
for (let i = 0; i < length; i++) {
|
2834
2849
|
nameOrAdapter = adapters[i];
|
2835
|
-
|
2850
|
+
let id;
|
2851
|
+
|
2852
|
+
adapter = nameOrAdapter;
|
2853
|
+
|
2854
|
+
if (!isResolvedHandle(nameOrAdapter)) {
|
2855
|
+
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
2856
|
+
|
2857
|
+
if (adapter === undefined) {
|
2858
|
+
throw new AxiosError(`Unknown adapter '${id}'`);
|
2859
|
+
}
|
2860
|
+
}
|
2861
|
+
|
2862
|
+
if (adapter) {
|
2836
2863
|
break;
|
2837
2864
|
}
|
2865
|
+
|
2866
|
+
rejectedReasons[id || '#' + i] = adapter;
|
2838
2867
|
}
|
2839
2868
|
|
2840
2869
|
if (!adapter) {
|
2841
|
-
|
2842
|
-
|
2843
|
-
|
2844
|
-
'
|
2870
|
+
|
2871
|
+
const reasons = Object.entries(rejectedReasons)
|
2872
|
+
.map(([id, state]) => `adapter ${id} ` +
|
2873
|
+
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
2845
2874
|
);
|
2846
|
-
}
|
2847
2875
|
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
`Unknown adapter '${nameOrAdapter}'`
|
2852
|
-
);
|
2853
|
-
}
|
2876
|
+
let s = length ?
|
2877
|
+
(reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
|
2878
|
+
'as no adapter specified';
|
2854
2879
|
|
2855
|
-
|
2856
|
-
|
2880
|
+
throw new AxiosError(
|
2881
|
+
`There is no suitable adapter to dispatch the request ` + s,
|
2882
|
+
'ERR_NOT_SUPPORT'
|
2883
|
+
);
|
2857
2884
|
}
|
2858
2885
|
|
2859
2886
|
return adapter;
|
@@ -3035,7 +3062,7 @@ function mergeConfig(config1, config2) {
|
|
3035
3062
|
return config;
|
3036
3063
|
}
|
3037
3064
|
|
3038
|
-
const VERSION = "1.
|
3065
|
+
const VERSION = "1.5.1";
|
3039
3066
|
|
3040
3067
|
const validators$1 = {};
|
3041
3068
|
|
@@ -3188,15 +3215,13 @@ class Axios {
|
|
3188
3215
|
// Set config.method
|
3189
3216
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
3190
3217
|
|
3191
|
-
let contextHeaders;
|
3192
|
-
|
3193
3218
|
// Flatten headers
|
3194
|
-
contextHeaders = headers && utils.merge(
|
3219
|
+
let contextHeaders = headers && utils.merge(
|
3195
3220
|
headers.common,
|
3196
3221
|
headers[config.method]
|
3197
3222
|
);
|
3198
3223
|
|
3199
|
-
|
3224
|
+
headers && utils.forEach(
|
3200
3225
|
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
3201
3226
|
(method) => {
|
3202
3227
|
delete headers[method];
|
@@ -3600,6 +3625,8 @@ axios.AxiosHeaders = AxiosHeaders;
|
|
3600
3625
|
|
3601
3626
|
axios.formToJSON = thing => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
|
3602
3627
|
|
3628
|
+
axios.getAdapter = adapters.getAdapter;
|
3629
|
+
|
3603
3630
|
axios.HttpStatusCode = HttpStatusCode;
|
3604
3631
|
|
3605
3632
|
axios.default = axios;
|
@@ -44,6 +44,7 @@ const VerdocsDropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
44
44
|
const bodyWidth = document.body.scrollWidth;
|
45
45
|
const buttonRect = (_a = this.dropdownButton) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
46
46
|
const triggerHeight = ((_b = this.dropdownButton) === null || _b === void 0 ? void 0 : _b.offsetWidth) || 28;
|
47
|
+
console.log('Repositioning dropdown', { bodyWidth, buttonRect, triggerHeight }, menu);
|
47
48
|
menu.style.top = `${((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.top) || 0) + triggerHeight}px`;
|
48
49
|
menu.style.right = `${Math.max(0, bodyWidth - ((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.right) || 0))}px`;
|
49
50
|
}
|
@@ -159,12 +159,12 @@ const verdocsSettingsOrganizationCss = "verdocs-settings-organization{display:-m
|
|
159
159
|
|
160
160
|
const timeZoneOptions = TimeZones.map(tz => ({ value: tz[2], label: tz[2] }));
|
161
161
|
const schema = z.object({
|
162
|
-
name: z.string().trim().min(1, 'Name is required').max(30),
|
162
|
+
// name: z.string().trim().min(1, 'Name is required').max(30),
|
163
163
|
business_name: z.string().trim().max(30).optional(),
|
164
164
|
contact_email: z.string().trim().email('Invalid email').optional().or(z.literal('')),
|
165
165
|
phone: z.preprocess(val => convertToE164(String(val).trim()), z.string().optional()),
|
166
|
-
address: z.string().trim().max(30).optional(),
|
167
|
-
address2: z.string().trim().max(30).optional(),
|
166
|
+
// address: z.string().trim().max(30).optional(),
|
167
|
+
// address2: z.string().trim().max(30).optional(),
|
168
168
|
timezone: z.string().trim().optional(),
|
169
169
|
url: z.string().trim().optional(),
|
170
170
|
});
|
@@ -252,10 +252,10 @@ const VerdocsSettingsOrganization = /*@__PURE__*/ proxyCustomElement(class exten
|
|
252
252
|
console.log('[SETTINGS] Must be authenticated');
|
253
253
|
return h(Host, { class: "authentication-required" }, "Must be authenticated");
|
254
254
|
}
|
255
|
-
return (h(Host, null, h("h1", null, "Organization Profile"), h("form", { onSubmit: e => this.handleSubmit(e) }, h("div", { class: "columns" }, h("div", { class: "column" }, h("verdocs-text-input", { id: "verdocs-organization-name", value: this.name, autocomplete: "off", label: "Name", required:
|
255
|
+
return (h(Host, null, h("h1", null, "Organization Profile"), h("form", { onSubmit: e => this.handleSubmit(e) }, h("div", { class: "columns" }, h("div", { class: "column" }, h("verdocs-text-input", { id: "verdocs-organization-name", value: this.name, autocomplete: "off", label: "Name", required: false, disabled: false, placeholder: "Enter your organization's name...", onInput: (e) => (this.name = e.target.value), onFocusout: (e) => {
|
256
256
|
this.name = e.target.value.trim();
|
257
257
|
this.processFields();
|
258
|
-
} }), h("verdocs-text-input", { id: "verdocs-organization-business-name", value: this.business_name, autocomplete: "off", label: "
|
258
|
+
} }), h("verdocs-text-input", { id: "verdocs-organization-business-name", value: this.business_name, autocomplete: "off", label: "Display Name", placeholder: "The name to display on communications...", onInput: (e) => (this.business_name = e.target.value), onFocusout: (e) => {
|
259
259
|
this.business_name = e.target.value.trim();
|
260
260
|
this.processFields();
|
261
261
|
} }), h("verdocs-text-input", { id: "verdocs-organization-url", value: this.url, autocomplete: "off", label: "Web URL", placeholder: "Enter your Web URL...", onInput: (e) => (this.url = e.target.value), onFocusout: (e) => {
|
@@ -264,16 +264,7 @@ const VerdocsSettingsOrganization = /*@__PURE__*/ proxyCustomElement(class exten
|
|
264
264
|
} }), h("verdocs-text-input", { id: "verdocs-organization-phone", value: this.phone, autocomplete: "off", label: "Phone Number", placeholder: "Enter your phone number...", onInput: (e) => (this.phone = e.target.value), onFocusout: (e) => {
|
265
265
|
this.phone = e.target.value.trim();
|
266
266
|
this.processFields();
|
267
|
-
} })), h("div", { class: "column" }, h("verdocs-text-input", { id: "verdocs-organization-
|
268
|
-
this.address = e.target.value.trim();
|
269
|
-
this.processFields();
|
270
|
-
} }), h("verdocs-text-input", { id: "verdocs-organization-address", value: this.address2, autocomplete: "off", label: "Address 2", required: true, placeholder: "Address line 2...", onInput: (e) => (this.address2 = e.target.value), onFocusout: (e) => {
|
271
|
-
this.address2 = e.target.value.trim();
|
272
|
-
this.processFields();
|
273
|
-
} }), h("verdocs-text-input", { id: "verdocs-organization-address2", value: this.address2, clearable: true, autocomplete: "off", label: "Address 2", placeholder: "Enter your address...", onInput: (e) => (this.address2 = e.target.value), onFocusout: (e) => {
|
274
|
-
this.address2 = e.target.value.trim();
|
275
|
-
this.processFields();
|
276
|
-
} }), h("verdocs-text-input", { id: "verdocs-organization-email", value: this.contact_email, clearable: true, autocomplete: "off", label: "Contact Email", placeholder: "Enter your contact email address...", onInput: (e) => (this.contact_email = e.target.value), onFocusout: (e) => {
|
267
|
+
} })), h("div", { class: "column" }, h("verdocs-text-input", { id: "verdocs-organization-email", value: this.contact_email, clearable: true, autocomplete: "off", label: "Contact Email", placeholder: "Enter your contact email address...", onInput: (e) => (this.contact_email = e.target.value), onFocusout: (e) => {
|
277
268
|
this.contact_email = e.target.value.trim();
|
278
269
|
this.processFields();
|
279
270
|
} }), h("verdocs-select-input", { options: timeZoneOptions, value: this.timezone, label: "Time Zone" }))), h("verdocs-button", { type: "submit", label: "Save", size: "normal", disabled: this.submitting || !this.dirty }))));
|
package/dist/docs.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { c as createStore } from './index-4439b0d1.js';
|
2
2
|
import { g as getTemplate } from './Templates-f90883f7.js';
|
3
|
-
import { T as TemplateSenderTypes } from './VerdocsEndpoint-
|
3
|
+
import { T as TemplateSenderTypes } from './VerdocsEndpoint-665cd4ff.js';
|
4
4
|
|
5
5
|
const createTemplateStore = (templateId) => {
|
6
6
|
const now = new Date().toISOString();
|
@@ -959,8 +959,9 @@ const reduceDescriptors = (obj, reducer) => {
|
|
959
959
|
const reducedDescriptors = {};
|
960
960
|
|
961
961
|
forEach(descriptors, (descriptor, name) => {
|
962
|
-
|
963
|
-
|
962
|
+
let ret;
|
963
|
+
if ((ret = reducer(descriptor, name, obj)) !== false) {
|
964
|
+
reducedDescriptors[name] = ret || descriptor;
|
964
965
|
}
|
965
966
|
});
|
966
967
|
|
@@ -1796,10 +1797,6 @@ function formDataToJSON(formData) {
|
|
1796
1797
|
return null;
|
1797
1798
|
}
|
1798
1799
|
|
1799
|
-
const DEFAULT_CONTENT_TYPE = {
|
1800
|
-
'Content-Type': undefined
|
1801
|
-
};
|
1802
|
-
|
1803
1800
|
/**
|
1804
1801
|
* It takes a string, tries to parse it, and if it fails, it returns the stringified version
|
1805
1802
|
* of the input
|
@@ -1938,19 +1935,16 @@ const defaults = {
|
|
1938
1935
|
|
1939
1936
|
headers: {
|
1940
1937
|
common: {
|
1941
|
-
'Accept': 'application/json, text/plain, */*'
|
1938
|
+
'Accept': 'application/json, text/plain, */*',
|
1939
|
+
'Content-Type': undefined
|
1942
1940
|
}
|
1943
1941
|
}
|
1944
1942
|
};
|
1945
1943
|
|
1946
|
-
utils.forEach(['delete', 'get', 'head'],
|
1944
|
+
utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
1947
1945
|
defaults.headers[method] = {};
|
1948
1946
|
});
|
1949
1947
|
|
1950
|
-
utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
1951
|
-
defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
|
1952
|
-
});
|
1953
|
-
|
1954
1948
|
// RawAxiosHeaders whose duplicates are ignored by node
|
1955
1949
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
1956
1950
|
const ignoreDuplicateOf = utils.toObjectSet([
|
@@ -2282,7 +2276,17 @@ class AxiosHeaders {
|
|
2282
2276
|
|
2283
2277
|
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
2284
2278
|
|
2285
|
-
|
2279
|
+
// reserved names hotfix
|
2280
|
+
utils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
2281
|
+
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
2282
|
+
return {
|
2283
|
+
get: () => value,
|
2284
|
+
set(headerValue) {
|
2285
|
+
this[mapped] = headerValue;
|
2286
|
+
}
|
2287
|
+
}
|
2288
|
+
});
|
2289
|
+
|
2286
2290
|
utils.freezeMethods(AxiosHeaders);
|
2287
2291
|
|
2288
2292
|
/**
|
@@ -2615,11 +2619,16 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
2615
2619
|
}
|
2616
2620
|
}
|
2617
2621
|
|
2622
|
+
let contentType;
|
2623
|
+
|
2618
2624
|
if (utils.isFormData(requestData)) {
|
2619
2625
|
if (platform.isStandardBrowserEnv || platform.isStandardBrowserWebWorkerEnv) {
|
2620
2626
|
requestHeaders.setContentType(false); // Let the browser set it
|
2621
|
-
} else {
|
2622
|
-
requestHeaders.setContentType('multipart/form-data
|
2627
|
+
} else if(!requestHeaders.getContentType(/^\s*multipart\/form-data/)){
|
2628
|
+
requestHeaders.setContentType('multipart/form-data'); // mobile/desktop app frameworks
|
2629
|
+
} else if(utils.isString(contentType = requestHeaders.getContentType())){
|
2630
|
+
// fix semicolon duplication issue for ReactNative FormData implementation
|
2631
|
+
requestHeaders.setContentType(contentType.replace(/^\s*(multipart\/form-data);+/, '$1'));
|
2623
2632
|
}
|
2624
2633
|
}
|
2625
2634
|
|
@@ -2812,7 +2821,7 @@ const knownAdapters = {
|
|
2812
2821
|
};
|
2813
2822
|
|
2814
2823
|
utils.forEach(knownAdapters, (fn, value) => {
|
2815
|
-
if(fn) {
|
2824
|
+
if (fn) {
|
2816
2825
|
try {
|
2817
2826
|
Object.defineProperty(fn, 'name', {value});
|
2818
2827
|
} catch (e) {
|
@@ -2822,6 +2831,10 @@ utils.forEach(knownAdapters, (fn, value) => {
|
|
2822
2831
|
}
|
2823
2832
|
});
|
2824
2833
|
|
2834
|
+
const renderReason = (reason) => `- ${reason}`;
|
2835
|
+
|
2836
|
+
const isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;
|
2837
|
+
|
2825
2838
|
const adapters = {
|
2826
2839
|
getAdapter: (adapters) => {
|
2827
2840
|
adapters = utils.isArray(adapters) ? adapters : [adapters];
|
@@ -2830,30 +2843,44 @@ const adapters = {
|
|
2830
2843
|
let nameOrAdapter;
|
2831
2844
|
let adapter;
|
2832
2845
|
|
2846
|
+
const rejectedReasons = {};
|
2847
|
+
|
2833
2848
|
for (let i = 0; i < length; i++) {
|
2834
2849
|
nameOrAdapter = adapters[i];
|
2835
|
-
|
2850
|
+
let id;
|
2851
|
+
|
2852
|
+
adapter = nameOrAdapter;
|
2853
|
+
|
2854
|
+
if (!isResolvedHandle(nameOrAdapter)) {
|
2855
|
+
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
2856
|
+
|
2857
|
+
if (adapter === undefined) {
|
2858
|
+
throw new AxiosError(`Unknown adapter '${id}'`);
|
2859
|
+
}
|
2860
|
+
}
|
2861
|
+
|
2862
|
+
if (adapter) {
|
2836
2863
|
break;
|
2837
2864
|
}
|
2865
|
+
|
2866
|
+
rejectedReasons[id || '#' + i] = adapter;
|
2838
2867
|
}
|
2839
2868
|
|
2840
2869
|
if (!adapter) {
|
2841
|
-
|
2842
|
-
|
2843
|
-
|
2844
|
-
'
|
2870
|
+
|
2871
|
+
const reasons = Object.entries(rejectedReasons)
|
2872
|
+
.map(([id, state]) => `adapter ${id} ` +
|
2873
|
+
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
2845
2874
|
);
|
2846
|
-
}
|
2847
2875
|
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
`Unknown adapter '${nameOrAdapter}'`
|
2852
|
-
);
|
2853
|
-
}
|
2876
|
+
let s = length ?
|
2877
|
+
(reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
|
2878
|
+
'as no adapter specified';
|
2854
2879
|
|
2855
|
-
|
2856
|
-
|
2880
|
+
throw new AxiosError(
|
2881
|
+
`There is no suitable adapter to dispatch the request ` + s,
|
2882
|
+
'ERR_NOT_SUPPORT'
|
2883
|
+
);
|
2857
2884
|
}
|
2858
2885
|
|
2859
2886
|
return adapter;
|
@@ -3035,7 +3062,7 @@ function mergeConfig(config1, config2) {
|
|
3035
3062
|
return config;
|
3036
3063
|
}
|
3037
3064
|
|
3038
|
-
const VERSION = "1.
|
3065
|
+
const VERSION = "1.5.1";
|
3039
3066
|
|
3040
3067
|
const validators$1 = {};
|
3041
3068
|
|
@@ -3188,15 +3215,13 @@ class Axios {
|
|
3188
3215
|
// Set config.method
|
3189
3216
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
3190
3217
|
|
3191
|
-
let contextHeaders;
|
3192
|
-
|
3193
3218
|
// Flatten headers
|
3194
|
-
contextHeaders = headers && utils.merge(
|
3219
|
+
let contextHeaders = headers && utils.merge(
|
3195
3220
|
headers.common,
|
3196
3221
|
headers[config.method]
|
3197
3222
|
);
|
3198
3223
|
|
3199
|
-
|
3224
|
+
headers && utils.forEach(
|
3200
3225
|
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
3201
3226
|
(method) => {
|
3202
3227
|
delete headers[method];
|
@@ -3600,6 +3625,8 @@ axios.AxiosHeaders = AxiosHeaders;
|
|
3600
3625
|
|
3601
3626
|
axios.formToJSON = thing => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
|
3602
3627
|
|
3628
|
+
axios.getAdapter = adapters.getAdapter;
|
3629
|
+
|
3603
3630
|
axios.HttpStatusCode = HttpStatusCode;
|
3604
3631
|
|
3605
3632
|
axios.default = axios;
|
@@ -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-665cd4ff.js';
|
4
|
+
import { g as getTemplateStore } from './TemplateStore-8d2216c0.js';
|
5
5
|
import './index-4439b0d1.js';
|
6
6
|
import './Templates-f90883f7.js';
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
|
2
2
|
import { g as getSummary } from './Envelopes-5e32159f.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-665cd4ff.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-665cd4ff.js';
|
5
5
|
import { V as VerdocsToast } from './Toast-f3b8fd46.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, 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-665cd4ff.js';
|
4
|
+
import { g as getTemplateStore } from './TemplateStore-8d2216c0.js';
|
5
5
|
import { S as SDKError } from './errors-9b5498c8.js';
|
6
6
|
import './index-4439b0d1.js';
|
7
7
|
import './Templates-f90883f7.js';
|
@@ -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-665cd4ff.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-8d2216c0.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
9
|
import './index-4439b0d1.js';
|
10
10
|
import './Templates-f90883f7.js';
|
@@ -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-665cd4ff.js';
|
4
4
|
import { d as convertToE164 } from './utils-c0cd0b91.js';
|
5
5
|
import './_commonjsHelpers-5ec8f9b7.js';
|
6
6
|
import './Envelopes-5e32159f.js';
|
@@ -43,6 +43,7 @@ const VerdocsDropdown = class {
|
|
43
43
|
const bodyWidth = document.body.scrollWidth;
|
44
44
|
const buttonRect = (_a = this.dropdownButton) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
45
45
|
const triggerHeight = ((_b = this.dropdownButton) === null || _b === void 0 ? void 0 : _b.offsetWidth) || 28;
|
46
|
+
console.log('Repositioning dropdown', { bodyWidth, buttonRect, triggerHeight }, menu);
|
46
47
|
menu.style.top = `${((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.top) || 0) + triggerHeight}px`;
|
47
48
|
menu.style.right = `${Math.max(0, bodyWidth - ((buttonRect === null || buttonRect === void 0 ? void 0 : buttonRect.right) || 0))}px`;
|
48
49
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-172625c5.js';
|
2
2
|
import { j as getEnvelopeDocumentPageDisplayUri } from './Envelopes-5e32159f.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-665cd4ff.js';
|
5
5
|
import { t as throttle } from './utils-c0cd0b91.js';
|
6
6
|
import './_commonjsHelpers-5ec8f9b7.js';
|
7
7
|
import './Files-70a192df.js';
|
@@ -1,7 +1,7 @@
|
|
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-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-665cd4ff.js';
|
5
5
|
import { g as getEnvelopeStore } from './EnvelopeStore-7f484014.js';
|
6
6
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
7
7
|
import { S as SDKError } from './errors-9b5498c8.js';
|
@@ -3,7 +3,7 @@ import { c as cancelEnvelope } from './Envelopes-5e32159f.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-
|
6
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-665cd4ff.js';
|
7
7
|
import { g as getEnvelopeStore } from './EnvelopeStore-7f484014.js';
|
8
8
|
import { F as FORMAT_TIMESTAMP } from './Types-de18e225.js';
|
9
9
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-1
|
|
2
2
|
import { l as listEnvelopes, c as cancelEnvelope } from './Envelopes-5e32159f.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-665cd4ff.js';
|
6
6
|
import { i as integerSequence } from './Primitives-8fe93caf.js';
|
7
7
|
import { s as saveEnvelopesAsZip } from './utils-c0cd0b91.js';
|
8
8
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
@@ -1,7 +1,7 @@
|
|
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-665cd4ff.js';
|
5
5
|
import { u as updateField } from './Fields-c82e6df3.js';
|
6
6
|
import { g as getRGBA } from './Colors-1b298092.js';
|
7
7
|
import { g as getFieldSettings } from './utils-c0cd0b91.js';
|
@@ -1,7 +1,7 @@
|
|
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-665cd4ff.js';
|
5
5
|
import { u as updateField } from './Fields-c82e6df3.js';
|
6
6
|
import { g as getRGBA } from './Colors-1b298092.js';
|
7
7
|
import { g as getFieldSettings } from './utils-c0cd0b91.js';
|
@@ -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-665cd4ff.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}";
|
@@ -1,8 +1,8 @@
|
|
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-665cd4ff.js';
|
4
4
|
import { r as renderDocumentField, b as getRoleIndex } from './utils-c0cd0b91.js';
|
5
|
-
import { g as getTemplateStore, a as getRoleNames } from './TemplateStore-
|
5
|
+
import { g as getTemplateStore, a as getRoleNames } from './TemplateStore-8d2216c0.js';
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
7
7
|
import { a as isValidEmail, i as isValidPhone } from './Validators-16a2a43b.js';
|
8
8
|
import { g as getRGBA } from './Colors-1b298092.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-172625c5.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-665cd4ff.js';
|
4
4
|
import { a as getTemplates } from './Templates-f90883f7.js';
|
5
5
|
|
6
6
|
/**
|