@verdocs/web-sdk 1.4.0 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Auth-4ec35ac7.js +97 -0
- package/dist/cjs/{Token-b86e5335.js → Token-ac80819a.js} +3 -135
- package/dist/{verdocs-web-sdk/buffer-es6-5cef4368.js → cjs/buffer-es6-bc8199b1.js} +47 -14
- package/dist/cjs/index-589f3be8.js +1356 -0
- package/dist/cjs/loader.cjs.js +3 -19
- package/dist/cjs/{index-9c6e5f50.js → popper-71bf3058.js} +0 -186
- package/dist/cjs/verdocs-auth.cjs.entry.js +10 -206
- package/dist/cjs/verdocs-button_2.cjs.entry.js +104 -0
- package/dist/cjs/{verdocs-view.cjs.entry.js → verdocs-dropdown_12.cjs.entry.js} +3314 -51
- package/dist/cjs/verdocs-initial-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-loader.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-organization-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-search-activity_2.cjs.entry.js +228 -0
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-search.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-sign.cjs.entry.js +4 -1512
- package/dist/cjs/verdocs-signature-dialog.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +4 -90
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-upload-dialog.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-web-sdk.cjs.js +5 -117
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.css +2 -2
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +0 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.css +1 -1
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.css +2 -2
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.css +4 -4
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.css +2 -2
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.css +2 -4
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.css +1 -3
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.css +1 -3
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.css +1 -3
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.css +1 -3
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.css +1 -3
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.css +1 -3
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.css +1 -3
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.css +1 -3
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.css +1 -3
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.css +1 -3
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.css +1 -3
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.css +1 -3
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.css +1 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.css +1 -1
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +7 -9
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.css +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.css +1 -1
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.css +1 -1
- package/dist/components/Auth.js +23 -88
- package/dist/components/Token.js +2 -135
- package/dist/components/buffer-es6.js +39 -14
- package/dist/components/index.js +0 -4
- package/dist/components/{index3.js → popper.js} +0 -186
- package/dist/components/verdocs-auth.js +6 -201
- package/dist/components/verdocs-button2.js +2 -3
- package/dist/components/verdocs-dropdown2.js +2 -2
- package/dist/components/verdocs-field-attachment2.js +2 -2
- package/dist/components/verdocs-field-checkbox2.js +2 -2
- package/dist/components/verdocs-field-date2.js +2 -214
- package/dist/components/verdocs-field-dropdown2.js +2 -2
- package/dist/components/verdocs-field-initial2.js +2 -2
- package/dist/components/verdocs-field-payment2.js +2 -2
- package/dist/components/verdocs-field-radio-button2.js +2 -2
- package/dist/components/verdocs-field-signature2.js +2 -2
- package/dist/components/verdocs-field-textarea2.js +2 -2
- package/dist/components/verdocs-field-textbox2.js +2 -2
- package/dist/components/verdocs-initial-dialog2.js +1 -1
- package/dist/components/verdocs-kba-dialog.js +2 -2
- package/dist/components/verdocs-loader2.js +1 -1
- package/dist/components/verdocs-ok-dialog2.js +2 -2
- package/dist/components/verdocs-organization-card.js +1 -1
- package/dist/components/verdocs-quick-functions.js +2 -2
- package/dist/components/verdocs-search-activity2.js +16 -104
- package/dist/components/verdocs-search-box2.js +2 -2
- package/dist/components/verdocs-search-tabs.js +2 -2
- package/dist/components/verdocs-search.js +2 -2
- package/dist/components/verdocs-sign.js +2 -1509
- package/dist/components/verdocs-signature-dialog2.js +2 -2
- package/dist/components/verdocs-status-indicator.js +3 -88
- package/dist/components/verdocs-template-card.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/components/verdocs-text-input2.js +1 -1
- package/dist/components/verdocs-toggle.js +1 -1
- package/dist/components/verdocs-upload-dialog2.js +2 -2
- package/dist/components/verdocs-view2.js +7 -34
- package/dist/docs.json +3 -3
- package/dist/esm/Auth-15cd42a8.js +92 -0
- package/dist/{verdocs-web-sdk/Token-29eea56d.js → esm/Token-ce37bd9d.js} +2 -135
- package/dist/{cjs/buffer-es6-b2c1c885.js → esm/buffer-es6-136673c8.js} +38 -15
- package/dist/esm/index-859bc689.js +1327 -0
- package/dist/esm/loader.js +3 -19
- package/dist/esm/{index-432c65a6.js → popper-93ecb064.js} +0 -186
- package/dist/esm/verdocs-auth.entry.js +7 -203
- package/dist/esm/verdocs-button_2.entry.js +99 -0
- package/dist/esm/{verdocs-view.entry.js → verdocs-dropdown_12.entry.js} +3287 -35
- package/dist/esm/verdocs-initial-dialog.entry.js +1 -1
- package/dist/esm/verdocs-kba-dialog.entry.js +2 -2
- package/dist/esm/verdocs-loader.entry.js +1 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +2 -2
- package/dist/esm/verdocs-organization-card.entry.js +1 -1
- package/dist/esm/verdocs-quick-functions.entry.js +2 -2
- package/dist/esm/verdocs-search-activity_2.entry.js +223 -0
- package/dist/esm/verdocs-search-tabs.entry.js +2 -2
- package/dist/esm/verdocs-search.entry.js +2 -2
- package/dist/esm/verdocs-sign.entry.js +4 -1512
- package/dist/esm/verdocs-signature-dialog.entry.js +2 -2
- package/dist/esm/verdocs-status-indicator.entry.js +3 -89
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm/verdocs-upload-dialog.entry.js +2 -2
- package/dist/esm/verdocs-web-sdk.js +5 -117
- package/dist/esm-es5/Auth-15cd42a8.js +1 -0
- package/dist/esm-es5/Token-ce37bd9d.js +1 -0
- package/dist/esm-es5/buffer-es6-136673c8.js +7 -0
- package/dist/esm-es5/index-859bc689.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-93ecb064.js +1 -0
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_2.entry.js +1 -0
- package/dist/esm-es5/verdocs-dropdown_12.entry.js +23 -0
- package/dist/esm-es5/verdocs-initial-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-loader.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-activity_2.entry.js +1 -0
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-search.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-signature-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -11
- package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
- package/dist/esm-es5/verdocs-upload-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +4 -2
- package/dist/verdocs-web-sdk/index.esm.js +0 -1
- package/dist/verdocs-web-sdk/p-0353c423.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-0c0b4a10.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-144e0842.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-15b7ed4d.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-1f55d8ac.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-2b57857d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-2bc58746.js +2 -0
- package/dist/verdocs-web-sdk/p-2c161242.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-39633a02.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-432c3151.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4368df79.system.entry.js +23 -0
- package/dist/verdocs-web-sdk/p-4c66f794.js +1 -0
- package/dist/verdocs-web-sdk/{index.system.js → p-50ea2036.system.js} +0 -0
- package/dist/verdocs-web-sdk/p-5dfd73f9.system.js +7 -0
- package/dist/verdocs-web-sdk/p-6393b2b4.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-66b19637.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6802ef91.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-69ef22bd.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6fa6fb3c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-737b2e99.js +1 -0
- package/dist/verdocs-web-sdk/p-829b235c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-8730dc92.system.js +1 -0
- package/dist/verdocs-web-sdk/p-88a300c5.system.js +1 -0
- package/dist/verdocs-web-sdk/p-96c0bf40.system.js +1 -0
- package/dist/verdocs-web-sdk/p-9b34c794.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9d8d8c78.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a1143ddb.entry.js +23 -0
- package/dist/verdocs-web-sdk/p-a7cfe6fc.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b9164c4b.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bf2620cb.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c2f97ef9.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-caed7818.system.js +2 -0
- package/dist/verdocs-web-sdk/p-cc127684.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-cd6a2c40.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-cec13589.system.js +1 -0
- package/dist/verdocs-web-sdk/p-d14a6057.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-d6206c17.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-da667373.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e2e643c5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e6e2894e.js +1 -0
- package/dist/verdocs-web-sdk/p-e719f9ca.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-ea6d6dc7.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-ed5baeb4.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-ef932a87.js +1 -0
- package/dist/verdocs-web-sdk/p-f0d0f959.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f0e6fde0.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f4219236.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f7e26fbd.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f814d5cc.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-fd853e54.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.css +1 -57
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -129
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +2 -1
- package/package.json +4 -4
- package/dist/cjs/Auth-0146ddd8.js +0 -161
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-e9231523.js +0 -6
- package/dist/cjs/dom-7fb93981.js +0 -75
- package/dist/cjs/index-a24f3b6a.js +0 -3096
- package/dist/cjs/index-b5a86b04.js +0 -4
- package/dist/cjs/index-c4be37e1.js +0 -54
- package/dist/cjs/shadow-css-abc19485.js +0 -389
- package/dist/cjs/verdocs-button.cjs.entry.js +0 -49
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +0 -80
- package/dist/cjs/verdocs-field-attachment.cjs.entry.js +0 -59
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +0 -39
- package/dist/cjs/verdocs-field-date.cjs.entry.js +0 -2968
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +0 -59
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +0 -52
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +0 -86
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +0 -48
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +0 -52
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +0 -63
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +0 -63
- package/dist/cjs/verdocs-search-activity.cjs.entry.js +0 -263
- package/dist/cjs/verdocs-search-box.cjs.entry.js +0 -60
- package/dist/cjs/verdocs-text-input.cjs.entry.js +0 -62
- package/dist/components/index2.js +0 -1
- package/dist/components/index4.js +0 -47
- package/dist/custom-elements.json +0 -830
- package/dist/esm/Auth-4b21fced.js +0 -157
- package/dist/esm/Token-29eea56d.js +0 -2458
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/buffer-es6-5cef4368.js +0 -1985
- package/dist/esm/css-shim-60f618b9.js +0 -4
- package/dist/esm/dom-4eeb3fee.js +0 -73
- package/dist/esm/index-97ec070b.js +0 -47
- package/dist/esm/index-ddbd60b5.js +0 -3059
- package/dist/esm/index-ef172650.js +0 -1
- package/dist/esm/shadow-css-02866686.js +0 -387
- package/dist/esm/verdocs-button.entry.js +0 -45
- package/dist/esm/verdocs-dropdown.entry.js +0 -76
- package/dist/esm/verdocs-field-attachment.entry.js +0 -55
- package/dist/esm/verdocs-field-checkbox.entry.js +0 -35
- package/dist/esm/verdocs-field-date.entry.js +0 -2964
- package/dist/esm/verdocs-field-dropdown.entry.js +0 -55
- package/dist/esm/verdocs-field-initial.entry.js +0 -48
- package/dist/esm/verdocs-field-payment.entry.js +0 -82
- package/dist/esm/verdocs-field-radio-button.entry.js +0 -44
- package/dist/esm/verdocs-field-signature.entry.js +0 -48
- package/dist/esm/verdocs-field-textarea.entry.js +0 -59
- package/dist/esm/verdocs-field-textbox.entry.js +0 -59
- package/dist/esm/verdocs-search-activity.entry.js +0 -259
- package/dist/esm/verdocs-search-box.entry.js +0 -56
- package/dist/esm/verdocs-text-input.entry.js +0 -58
- package/dist/esm-es5/Auth-4b21fced.js +0 -1
- package/dist/esm-es5/Token-29eea56d.js +0 -1
- package/dist/esm-es5/app-globals-0f993ce5.js +0 -1
- package/dist/esm-es5/buffer-es6-5cef4368.js +0 -7
- package/dist/esm-es5/css-shim-60f618b9.js +0 -1
- package/dist/esm-es5/dom-4eeb3fee.js +0 -21
- package/dist/esm-es5/index-432c65a6.js +0 -1
- package/dist/esm-es5/index-97ec070b.js +0 -1
- package/dist/esm-es5/index-ddbd60b5.js +0 -2
- package/dist/esm-es5/index-ef172650.js +0 -1
- package/dist/esm-es5/shadow-css-02866686.js +0 -12
- package/dist/esm-es5/verdocs-button.entry.js +0 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-attachment.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-checkbox.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-date.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-dropdown.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-initial.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-radio-button.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-signature.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-textarea.entry.js +0 -1
- package/dist/esm-es5/verdocs-field-textbox.entry.js +0 -1
- package/dist/esm-es5/verdocs-search-activity.entry.js +0 -1
- package/dist/esm-es5/verdocs-search-box.entry.js +0 -1
- package/dist/esm-es5/verdocs-text-input.entry.js +0 -1
- package/dist/esm-es5/verdocs-view.entry.js +0 -23
- package/dist/verdocs-web-sdk/Auth-4b21fced.js +0 -157
- package/dist/verdocs-web-sdk/Auth-82e38539.system.js +0 -1
- package/dist/verdocs-web-sdk/Token-c1cf309e.system.js +0 -1
- package/dist/verdocs-web-sdk/app-globals-0f993ce5.js +0 -3
- package/dist/verdocs-web-sdk/app-globals-497eb362.system.js +0 -1
- package/dist/verdocs-web-sdk/buffer-es6-aa11181b.system.js +0 -7
- package/dist/verdocs-web-sdk/css-shim-60f618b9.js +0 -4
- package/dist/verdocs-web-sdk/css-shim-e41ceccc.system.js +0 -1
- package/dist/verdocs-web-sdk/dom-4eeb3fee.js +0 -73
- package/dist/verdocs-web-sdk/dom-89b5deb7.system.js +0 -21
- package/dist/verdocs-web-sdk/index-027b383e.system.js +0 -1
- package/dist/verdocs-web-sdk/index-06e036a1.system.js +0 -1
- package/dist/verdocs-web-sdk/index-432c65a6.js +0 -1974
- package/dist/verdocs-web-sdk/index-5d49316f.system.js +0 -1
- package/dist/verdocs-web-sdk/index-6465280a.system.js +0 -2
- package/dist/verdocs-web-sdk/index-97ec070b.js +0 -47
- package/dist/verdocs-web-sdk/index-ddbd60b5.js +0 -3059
- package/dist/verdocs-web-sdk/index-ef172650.js +0 -1
- package/dist/verdocs-web-sdk/shadow-css-02866686.js +0 -387
- package/dist/verdocs-web-sdk/shadow-css-6207e159.system.js +0 -13
- package/dist/verdocs-web-sdk/verdocs-auth.entry.js +0 -302
- package/dist/verdocs-web-sdk/verdocs-auth.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-button.entry.js +0 -45
- package/dist/verdocs-web-sdk/verdocs-button.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-dropdown.entry.js +0 -76
- package/dist/verdocs-web-sdk/verdocs-dropdown.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-attachment.entry.js +0 -55
- package/dist/verdocs-web-sdk/verdocs-field-attachment.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-checkbox.entry.js +0 -35
- package/dist/verdocs-web-sdk/verdocs-field-checkbox.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-date.entry.js +0 -2964
- package/dist/verdocs-web-sdk/verdocs-field-date.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-dropdown.entry.js +0 -55
- package/dist/verdocs-web-sdk/verdocs-field-dropdown.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-initial.entry.js +0 -48
- package/dist/verdocs-web-sdk/verdocs-field-initial.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-payment.entry.js +0 -82
- package/dist/verdocs-web-sdk/verdocs-field-payment.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-radio-button.entry.js +0 -44
- package/dist/verdocs-web-sdk/verdocs-field-radio-button.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-signature.entry.js +0 -48
- package/dist/verdocs-web-sdk/verdocs-field-signature.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-textarea.entry.js +0 -59
- package/dist/verdocs-web-sdk/verdocs-field-textarea.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-field-textbox.entry.js +0 -59
- package/dist/verdocs-web-sdk/verdocs-field-textbox.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-initial-dialog.entry.js +0 -239
- package/dist/verdocs-web-sdk/verdocs-initial-dialog.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-kba-dialog.entry.js +0 -77
- package/dist/verdocs-web-sdk/verdocs-kba-dialog.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-loader.entry.js +0 -15
- package/dist/verdocs-web-sdk/verdocs-loader.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-ok-dialog.entry.js +0 -44
- package/dist/verdocs-web-sdk/verdocs-ok-dialog.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-organization-card.entry.js +0 -18
- package/dist/verdocs-web-sdk/verdocs-organization-card.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-quick-functions.entry.js +0 -27
- package/dist/verdocs-web-sdk/verdocs-quick-functions.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-search-activity.entry.js +0 -259
- package/dist/verdocs-web-sdk/verdocs-search-activity.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-search-box.entry.js +0 -56
- package/dist/verdocs-web-sdk/verdocs-search-box.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-search-tabs.entry.js +0 -16
- package/dist/verdocs-web-sdk/verdocs-search-tabs.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-search.entry.js +0 -15
- package/dist/verdocs-web-sdk/verdocs-search.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-sign.entry.js +0 -1995
- package/dist/verdocs-web-sdk/verdocs-sign.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-signature-dialog.entry.js +0 -235
- package/dist/verdocs-web-sdk/verdocs-signature-dialog.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-status-indicator.entry.js +0 -7611
- package/dist/verdocs-web-sdk/verdocs-status-indicator.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-template-card.entry.js +0 -34
- package/dist/verdocs-web-sdk/verdocs-template-card.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-template-tags.entry.js +0 -16
- package/dist/verdocs-web-sdk/verdocs-template-tags.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-text-input.entry.js +0 -58
- package/dist/verdocs-web-sdk/verdocs-text-input.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-toggle.entry.js +0 -32
- package/dist/verdocs-web-sdk/verdocs-toggle.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-upload-dialog.entry.js +0 -119
- package/dist/verdocs-web-sdk/verdocs-upload-dialog.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-view.entry.js +0 -16118
- package/dist/verdocs-web-sdk/verdocs-view.system.entry.js +0 -23
- package/dist/verdocs-web-sdk/verdocs-web-sdk.system.js +0 -1
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { Auth } from '@verdocs/js-sdk/Users';
|
|
2
2
|
import { Transport, VerdocsEndpoint } from '@verdocs/js-sdk/HTTP';
|
|
3
|
-
import { loadSession, setSession } from '@verdocs/js-sdk/Users/Auth';
|
|
3
|
+
import { endSession, loadSession, setSession } from '@verdocs/js-sdk/Users/Auth';
|
|
4
4
|
import { Component, Prop, State, h, Event } from '@stencil/core';
|
|
5
5
|
const BASE_URL = 'https://stage-api.verdocs.com/';
|
|
6
6
|
const SOURCE = 'verdocs-stage';
|
|
7
7
|
/**
|
|
8
8
|
* Display an authentication dialog that allows the user to login or sign up. Callbacks are provided for events that
|
|
9
9
|
* occur during the process (especially successful completion). The success callback will be fired immediately if the
|
|
10
|
-
* user is already authenticated with a valid session, so this component may not always display visibly.
|
|
11
|
-
*
|
|
10
|
+
* user is already authenticated with a valid session, so this component may not always display visibly.
|
|
11
|
+
*
|
|
12
|
+
* To simplify some types of authentication flows, a visibility flag can force this component to never display. This
|
|
13
|
+
* allows you to susbcribe to notifications from the
|
|
12
14
|
*
|
|
13
15
|
* This embed is responsive / mobile-friendly, but the calling application should provide at least a 300px wide
|
|
14
16
|
* container to allow sufficient space for the required forms.
|
|
@@ -61,11 +63,9 @@ export class VerdocsAuth {
|
|
|
61
63
|
componentWillLoad() {
|
|
62
64
|
const staging = new VerdocsEndpoint().setBaseURL(BASE_URL);
|
|
63
65
|
Transport.setActiveEndpoint(staging);
|
|
64
|
-
console.log('Set active endpoint', Transport.getEndpoint());
|
|
65
66
|
}
|
|
66
67
|
componentDidLoad() {
|
|
67
68
|
const session = loadSession(SOURCE);
|
|
68
|
-
console.log('loaded session', session, SOURCE);
|
|
69
69
|
if (session !== null) {
|
|
70
70
|
this.isAuthenticated = true;
|
|
71
71
|
this.activeSession = session;
|
|
@@ -84,16 +84,14 @@ export class VerdocsAuth {
|
|
|
84
84
|
Auth.authenticateUser({ username: this.username, password: this.password })
|
|
85
85
|
.then(r => {
|
|
86
86
|
this.loggingIn = false;
|
|
87
|
-
console.log('Login result', r.accessToken);
|
|
88
87
|
const session = setSession(SOURCE, r.accessToken, true);
|
|
89
88
|
this.activeSession = session;
|
|
90
89
|
this.isAuthenticated = true;
|
|
91
|
-
console.log('set session', session);
|
|
92
90
|
this.authenticated.emit({ authenticated: true, session });
|
|
93
91
|
})
|
|
94
92
|
.catch(e => {
|
|
95
93
|
var _a;
|
|
96
|
-
console.log('Login error', e.response, JSON.stringify(e));
|
|
94
|
+
console.log('[VERDOCS] Login error', e.response, JSON.stringify(e));
|
|
97
95
|
this.loggingIn = false;
|
|
98
96
|
this.activeSession = null;
|
|
99
97
|
this.authenticated.emit({ authenticated: false, session: null });
|
|
@@ -103,7 +101,7 @@ export class VerdocsAuth {
|
|
|
103
101
|
});
|
|
104
102
|
}
|
|
105
103
|
handleLogout() {
|
|
106
|
-
|
|
104
|
+
endSession(SOURCE);
|
|
107
105
|
this.isAuthenticated = false;
|
|
108
106
|
this.authenticated.emit({ authenticated: false, session: null });
|
|
109
107
|
}
|
package/dist/components/Auth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getEndpoint, d as decodeAccessTokenBody } from './Token.js';
|
|
1
|
+
import { a as globalThis_1, g as getEndpoint, d as decodeAccessTokenBody } from './Token.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Authenticate to Verdocs via user/password authentication
|
|
@@ -16,97 +16,12 @@ var authenticateUser = function (params) {
|
|
|
16
16
|
.api.post('/authentication/login', params)
|
|
17
17
|
.then(function (r) { return r.data; });
|
|
18
18
|
};
|
|
19
|
-
/**
|
|
20
|
-
* Authenticate to Verdocs via client ID / Secret authentication. **NOTE: This is only suitable for
|
|
21
|
-
* NodeJS server-side applications. Never expose your Client Secret in a Web or Mobile app!** Also note
|
|
22
|
-
* that access tokens may be cached by server-side apps (and this is recommended) but do expire after 2
|
|
23
|
-
* hours. This expiration may change based on future security needs. Application developers are encouraged
|
|
24
|
-
* to check the `exp` expiration field in the response accessToken and renew tokens after they expire.
|
|
25
|
-
*
|
|
26
|
-
* ```typescript
|
|
27
|
-
* import {Auth} from '@verdocs/js-sdk/Auth';
|
|
28
|
-
* import {Transport} from '@verdocs/js-sdk/HTTP';
|
|
29
|
-
*
|
|
30
|
-
* const {accessToken} = await Auth.authenticateApp({ client_id: 'CLIENTID', client_secret: 'SECRET' });
|
|
31
|
-
* Transport.setAuthToken(accessToken);
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
var authenticateApp = function (params) {
|
|
35
|
-
return getEndpoint()
|
|
36
|
-
.api.post('/authentication/login_client', {}, { headers: params })
|
|
37
|
-
.then(function (r) { return r.data; });
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Validate a token. Only Verdocs tokens will be accepted. Most applications can decode tokens locally,
|
|
41
|
-
* because tokens will be validated when API calls are made anyway. However, high-security applications
|
|
42
|
-
* may use this endpoint to check if a token has been revoked.
|
|
43
|
-
*
|
|
44
|
-
* ```typescript
|
|
45
|
-
* import {Auth} from '@verdocs/js-sdk/Auth';
|
|
46
|
-
*
|
|
47
|
-
* const {valid} = await Auth.validateToken({ token });
|
|
48
|
-
* if (!valid) {
|
|
49
|
-
* window.alert('Session invalid or expired. Please re-authenticate.');
|
|
50
|
-
* }
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
var validateToken = function (params) {
|
|
54
|
-
return getEndpoint()
|
|
55
|
-
.api.post('/token/isValid', params)
|
|
56
|
-
.then(function (r) { return r.data; });
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* If called before the session expires, this will refresh the caller's session and tokens.
|
|
60
|
-
*
|
|
61
|
-
* ```typescript
|
|
62
|
-
* import {Auth} from '@verdocs/js-sdk/Auth';
|
|
63
|
-
* import {Transport} from '@verdocs/js-sdk/HTTP';
|
|
64
|
-
*
|
|
65
|
-
* const {accessToken} = await Auth.refreshTokens();
|
|
66
|
-
* Transport.setAuthToken(accessToken);
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
|
-
var refreshTokens = function () {
|
|
70
|
-
return getEndpoint()
|
|
71
|
-
.api.get('/token')
|
|
72
|
-
.then(function (r) { return r.data; });
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Update the caller's password. To help prevent CSRF attack vectors, the user's old password and email address are required.
|
|
76
|
-
*
|
|
77
|
-
* ```typescript
|
|
78
|
-
* import {Auth} from '@verdocs/js-sdk/Auth';
|
|
79
|
-
*
|
|
80
|
-
* const {status, message} = await Auth.updatePassword({ email, oldPassword, newPassword });
|
|
81
|
-
* if (status !== 'OK') {
|
|
82
|
-
* window.alert(`Password reset error: ${message}`);
|
|
83
|
-
* }
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
var updatePassword = function (params) {
|
|
87
|
-
return getEndpoint()
|
|
88
|
-
.api.put('/user/update_password', params)
|
|
89
|
-
.then(function (r) { return r.data; });
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Update the caller's email address.
|
|
93
|
-
*
|
|
94
|
-
* ```typescript
|
|
95
|
-
* import {Auth} from '@verdocs/js-sdk/Auth';
|
|
96
|
-
*
|
|
97
|
-
* const {profiles} = await Auth.updateEmail({ email: newEmail });
|
|
98
|
-
* ```
|
|
99
|
-
*/
|
|
100
|
-
var updateEmail = function (params) {
|
|
101
|
-
return getEndpoint()
|
|
102
|
-
.api.put('/user/update_email', params)
|
|
103
|
-
.then(function (r) { return r.data; });
|
|
104
|
-
};
|
|
105
19
|
var clearSession = function (source, persist) {
|
|
106
20
|
getEndpoint().setAuthorization(null);
|
|
107
21
|
if (persist) {
|
|
108
22
|
localStorage.removeItem(source);
|
|
109
23
|
}
|
|
24
|
+
notifySessionListeners(source, null);
|
|
110
25
|
return null;
|
|
111
26
|
};
|
|
112
27
|
/**
|
|
@@ -125,6 +40,7 @@ var setSession = function (source, token, persist) {
|
|
|
125
40
|
localStorage.setItem(source, token);
|
|
126
41
|
}
|
|
127
42
|
getEndpoint().setAuthorization(token);
|
|
43
|
+
notifySessionListeners(source, session);
|
|
128
44
|
return session;
|
|
129
45
|
};
|
|
130
46
|
/**
|
|
@@ -144,6 +60,7 @@ var loadSession = function (source) {
|
|
|
144
60
|
return null;
|
|
145
61
|
}
|
|
146
62
|
getEndpoint().setAuthorization(token);
|
|
63
|
+
notifySessionListeners(source, session);
|
|
147
64
|
return session;
|
|
148
65
|
};
|
|
149
66
|
/**
|
|
@@ -153,5 +70,23 @@ var endSession = function (source, persist) {
|
|
|
153
70
|
if (persist === void 0) { persist = false; }
|
|
154
71
|
return clearSession(source, persist);
|
|
155
72
|
};
|
|
73
|
+
var SESSION_LISTENERS_KEY = Symbol.for('verdocs-session-listeners');
|
|
74
|
+
if (!globalThis_1[SESSION_LISTENERS_KEY]) {
|
|
75
|
+
globalThis_1[SESSION_LISTENERS_KEY] = new Map();
|
|
76
|
+
}
|
|
77
|
+
var LISTENER_ID_KEY = Symbol.for('verdocs-session-listener-id');
|
|
78
|
+
if (!globalThis_1[LISTENER_ID_KEY]) {
|
|
79
|
+
globalThis_1[LISTENER_ID_KEY] = 0;
|
|
80
|
+
}
|
|
81
|
+
var notifySessionListeners = function (source, session) {
|
|
82
|
+
globalThis_1[SESSION_LISTENERS_KEY].forEach(function (listener) {
|
|
83
|
+
try {
|
|
84
|
+
listener(source, session);
|
|
85
|
+
}
|
|
86
|
+
catch (e) {
|
|
87
|
+
// NOOP
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
};
|
|
156
91
|
|
|
157
|
-
export { authenticateUser as a, loadSession as l, setSession as s };
|
|
92
|
+
export { authenticateUser as a, endSession as e, loadSession as l, setSession as s };
|
package/dist/components/Token.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { p as process_1 } from './
|
|
2
|
-
import { B as Buffer } from './buffer-es6.js';
|
|
3
|
-
|
|
4
|
-
'use strict';
|
|
1
|
+
import { B as Buffer, p as process_1 } from './buffer-es6.js';
|
|
5
2
|
|
|
6
3
|
var bind = function bind(fn, thisArg) {
|
|
7
4
|
return function wrap() {
|
|
@@ -13,10 +10,6 @@ var bind = function bind(fn, thisArg) {
|
|
|
13
10
|
};
|
|
14
11
|
};
|
|
15
12
|
|
|
16
|
-
'use strict';
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
13
|
// utils is a library of generic helper functions non-specific to axios
|
|
21
14
|
|
|
22
15
|
var toString = Object.prototype.toString;
|
|
@@ -484,10 +477,6 @@ var utils = {
|
|
|
484
477
|
isFileList: isFileList
|
|
485
478
|
};
|
|
486
479
|
|
|
487
|
-
'use strict';
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
480
|
function encode(val) {
|
|
492
481
|
return encodeURIComponent(val).
|
|
493
482
|
replace(/%3A/gi, ':').
|
|
@@ -555,10 +544,6 @@ var buildURL = function buildURL(url, params, paramsSerializer) {
|
|
|
555
544
|
return url;
|
|
556
545
|
};
|
|
557
546
|
|
|
558
|
-
'use strict';
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
547
|
function InterceptorManager() {
|
|
563
548
|
this.handlers = [];
|
|
564
549
|
}
|
|
@@ -610,10 +595,6 @@ InterceptorManager.prototype.forEach = function forEach(fn) {
|
|
|
610
595
|
|
|
611
596
|
var InterceptorManager_1 = InterceptorManager;
|
|
612
597
|
|
|
613
|
-
'use strict';
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
598
|
var normalizeHeaderName = function normalizeHeaderName(headers, normalizedName) {
|
|
618
599
|
utils.forEach(headers, function processHeader(value, name) {
|
|
619
600
|
if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
|
|
@@ -623,10 +604,6 @@ var normalizeHeaderName = function normalizeHeaderName(headers, normalizedName)
|
|
|
623
604
|
});
|
|
624
605
|
};
|
|
625
606
|
|
|
626
|
-
'use strict';
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
607
|
/**
|
|
631
608
|
* Create an Error with the specified message, config, error code, request and response.
|
|
632
609
|
*
|
|
@@ -710,18 +687,12 @@ AxiosError.from = function(error, code, config, request, response, customProps)
|
|
|
710
687
|
|
|
711
688
|
var AxiosError_1 = AxiosError;
|
|
712
689
|
|
|
713
|
-
'use strict';
|
|
714
|
-
|
|
715
690
|
var transitional = {
|
|
716
691
|
silentJSONParsing: true,
|
|
717
692
|
forcedJSONParsing: true,
|
|
718
693
|
clarifyTimeoutError: false
|
|
719
694
|
};
|
|
720
695
|
|
|
721
|
-
'use strict';
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
696
|
/**
|
|
726
697
|
* Convert a data object to FormData
|
|
727
698
|
* @param {Object} obj
|
|
@@ -791,10 +762,6 @@ function toFormData(obj, formData) {
|
|
|
791
762
|
|
|
792
763
|
var toFormData_1 = toFormData;
|
|
793
764
|
|
|
794
|
-
'use strict';
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
765
|
/**
|
|
799
766
|
* Resolve or reject a Promise based on response status.
|
|
800
767
|
*
|
|
@@ -817,10 +784,6 @@ var settle = function settle(resolve, reject, response) {
|
|
|
817
784
|
}
|
|
818
785
|
};
|
|
819
786
|
|
|
820
|
-
'use strict';
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
787
|
var cookies = (
|
|
825
788
|
utils.isStandardBrowserEnv() ?
|
|
826
789
|
|
|
@@ -871,8 +834,6 @@ var cookies = (
|
|
|
871
834
|
})()
|
|
872
835
|
);
|
|
873
836
|
|
|
874
|
-
'use strict';
|
|
875
|
-
|
|
876
837
|
/**
|
|
877
838
|
* Determines whether the specified URL is absolute
|
|
878
839
|
*
|
|
@@ -886,8 +847,6 @@ var isAbsoluteURL = function isAbsoluteURL(url) {
|
|
|
886
847
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
|
887
848
|
};
|
|
888
849
|
|
|
889
|
-
'use strict';
|
|
890
|
-
|
|
891
850
|
/**
|
|
892
851
|
* Creates a new URL by combining the specified URLs
|
|
893
852
|
*
|
|
@@ -901,11 +860,6 @@ var combineURLs = function combineURLs(baseURL, relativeURL) {
|
|
|
901
860
|
: baseURL;
|
|
902
861
|
};
|
|
903
862
|
|
|
904
|
-
'use strict';
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
863
|
/**
|
|
910
864
|
* Creates a new URL by combining the baseURL with the requestedURL,
|
|
911
865
|
* only when the requestedURL is not already an absolute URL.
|
|
@@ -922,10 +876,6 @@ var buildFullPath = function buildFullPath(baseURL, requestedURL) {
|
|
|
922
876
|
return requestedURL;
|
|
923
877
|
};
|
|
924
878
|
|
|
925
|
-
'use strict';
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
879
|
// Headers whose duplicates are ignored by node
|
|
930
880
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
931
881
|
var ignoreDuplicateOf = [
|
|
@@ -976,10 +926,6 @@ var parseHeaders = function parseHeaders(headers) {
|
|
|
976
926
|
return parsed;
|
|
977
927
|
};
|
|
978
928
|
|
|
979
|
-
'use strict';
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
929
|
var isURLSameOrigin = (
|
|
984
930
|
utils.isStandardBrowserEnv() ?
|
|
985
931
|
|
|
@@ -1045,11 +991,6 @@ var isURLSameOrigin = (
|
|
|
1045
991
|
})()
|
|
1046
992
|
);
|
|
1047
993
|
|
|
1048
|
-
'use strict';
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
994
|
/**
|
|
1054
995
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
1055
996
|
*
|
|
@@ -1068,27 +1009,11 @@ utils.inherits(CanceledError, AxiosError_1, {
|
|
|
1068
1009
|
|
|
1069
1010
|
var CanceledError_1 = CanceledError;
|
|
1070
1011
|
|
|
1071
|
-
'use strict';
|
|
1072
|
-
|
|
1073
1012
|
var parseProtocol = function parseProtocol(url) {
|
|
1074
1013
|
var match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
1075
1014
|
return match && match[1] || '';
|
|
1076
1015
|
};
|
|
1077
1016
|
|
|
1078
|
-
'use strict';
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
1017
|
var xhr = function xhrAdapter(config) {
|
|
1093
1018
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
1094
1019
|
var requestData = config.data;
|
|
@@ -1301,14 +1226,6 @@ var xhr = function xhrAdapter(config) {
|
|
|
1301
1226
|
// eslint-disable-next-line strict
|
|
1302
1227
|
var _null = null;
|
|
1303
1228
|
|
|
1304
|
-
'use strict';
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
1229
|
var DEFAULT_CONTENT_TYPE = {
|
|
1313
1230
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
1314
1231
|
};
|
|
@@ -1448,11 +1365,6 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
1448
1365
|
|
|
1449
1366
|
var defaults_1 = defaults;
|
|
1450
1367
|
|
|
1451
|
-
'use strict';
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
1368
|
/**
|
|
1457
1369
|
* Transform the data for a request or a response
|
|
1458
1370
|
*
|
|
@@ -1471,20 +1383,10 @@ var transformData = function transformData(data, headers, fns) {
|
|
|
1471
1383
|
return data;
|
|
1472
1384
|
};
|
|
1473
1385
|
|
|
1474
|
-
'use strict';
|
|
1475
|
-
|
|
1476
1386
|
var isCancel = function isCancel(value) {
|
|
1477
1387
|
return !!(value && value.__CANCEL__);
|
|
1478
1388
|
};
|
|
1479
1389
|
|
|
1480
|
-
'use strict';
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
1390
|
/**
|
|
1489
1391
|
* Throws a `CanceledError` if cancellation has been requested.
|
|
1490
1392
|
*/
|
|
@@ -1565,10 +1467,6 @@ var dispatchRequest = function dispatchRequest(config) {
|
|
|
1565
1467
|
});
|
|
1566
1468
|
};
|
|
1567
1469
|
|
|
1568
|
-
'use strict';
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
1470
|
/**
|
|
1573
1471
|
* Config-specific merge-function which creates a new config-object
|
|
1574
1472
|
* by merging two configuration objects together.
|
|
@@ -1670,8 +1568,6 @@ var data = {
|
|
|
1670
1568
|
"version": "0.27.2"
|
|
1671
1569
|
};
|
|
1672
1570
|
|
|
1673
|
-
'use strict';
|
|
1674
|
-
|
|
1675
1571
|
var VERSION = data.version;
|
|
1676
1572
|
|
|
1677
1573
|
|
|
@@ -1757,16 +1653,6 @@ var validator = {
|
|
|
1757
1653
|
validators: validators$1
|
|
1758
1654
|
};
|
|
1759
1655
|
|
|
1760
|
-
'use strict';
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
1656
|
var validators = validator.validators;
|
|
1771
1657
|
/**
|
|
1772
1658
|
* Create a new instance of Axios
|
|
@@ -1918,10 +1804,6 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
1918
1804
|
|
|
1919
1805
|
var Axios_1 = Axios;
|
|
1920
1806
|
|
|
1921
|
-
'use strict';
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
1807
|
/**
|
|
1926
1808
|
* A `CancelToken` is an object that can be used to request cancellation of an operation.
|
|
1927
1809
|
*
|
|
@@ -2038,8 +1920,6 @@ CancelToken.source = function source() {
|
|
|
2038
1920
|
|
|
2039
1921
|
var CancelToken_1 = CancelToken;
|
|
2040
1922
|
|
|
2041
|
-
'use strict';
|
|
2042
|
-
|
|
2043
1923
|
/**
|
|
2044
1924
|
* Syntactic sugar for invoking a function and expanding an array for arguments.
|
|
2045
1925
|
*
|
|
@@ -2066,10 +1946,6 @@ var spread = function spread(callback) {
|
|
|
2066
1946
|
};
|
|
2067
1947
|
};
|
|
2068
1948
|
|
|
2069
|
-
'use strict';
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
1949
|
/**
|
|
2074
1950
|
* Determines whether the payload is an error thrown by Axios
|
|
2075
1951
|
*
|
|
@@ -2080,14 +1956,6 @@ var isAxiosError = function isAxiosError(payload) {
|
|
|
2080
1956
|
return utils.isObject(payload) && (payload.isAxiosError === true);
|
|
2081
1957
|
};
|
|
2082
1958
|
|
|
2083
|
-
'use strict';
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
1959
|
/**
|
|
2092
1960
|
* Create an instance of Axios
|
|
2093
1961
|
*
|
|
@@ -2288,7 +2156,6 @@ var VerdocsEndpoint = /** @class */ (function () {
|
|
|
2288
2156
|
return VerdocsEndpoint;
|
|
2289
2157
|
}());
|
|
2290
2158
|
|
|
2291
|
-
"use strict";
|
|
2292
2159
|
// This file provides a polyfill for managing globals in both NodeJS and browser environments. This is
|
|
2293
2160
|
// an anti-pattern we'd hoped to avoid, but we have several projects dependending on one common library
|
|
2294
2161
|
// (this js-sdk) and we want that library to provide a common endpoint to all callers (so authentication
|
|
@@ -2455,4 +2322,4 @@ var decodeAccessTokenBody = function (token) {
|
|
|
2455
2322
|
return decoded;
|
|
2456
2323
|
};
|
|
2457
2324
|
|
|
2458
|
-
export { VerdocsEndpoint as V, decodeAccessTokenBody as d, getEndpoint as g, setActiveEndpoint as s };
|
|
2325
|
+
export { VerdocsEndpoint as V, globalThis_1 as a, decodeAccessTokenBody as d, getEndpoint as g, setActiveEndpoint as s };
|
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
8
|
+
return module = {
|
|
9
|
+
path: basedir,
|
|
10
|
+
exports: {},
|
|
11
|
+
require: function (path, base) {
|
|
12
|
+
return commonjsRequire();
|
|
13
|
+
}
|
|
14
|
+
}, fn(module, module.exports), module.exports;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function getAugmentedNamespace(n) {
|
|
18
|
+
if (n.__esModule) return n;
|
|
19
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
20
|
+
Object.keys(n).forEach(function (k) {
|
|
21
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
22
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () {
|
|
25
|
+
return n[k];
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
return a;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function commonjsRequire () {
|
|
33
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// for now just expose the builtin process global from node.js
|
|
37
|
+
var process_1 = commonjsGlobal.process;
|
|
38
|
+
|
|
1
39
|
const global$1 = (typeof global !== "undefined" ? global :
|
|
2
40
|
typeof self !== "undefined" ? self :
|
|
3
41
|
typeof window !== "undefined" ? window : {});
|
|
@@ -240,11 +278,6 @@ Buffer.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined
|
|
|
240
278
|
? global$1.TYPED_ARRAY_SUPPORT
|
|
241
279
|
: true;
|
|
242
280
|
|
|
243
|
-
/*
|
|
244
|
-
* Export kMaxLength after typed array support is determined.
|
|
245
|
-
*/
|
|
246
|
-
var _kMaxLength = kMaxLength();
|
|
247
|
-
|
|
248
281
|
function kMaxLength () {
|
|
249
282
|
return Buffer.TYPED_ARRAY_SUPPORT
|
|
250
283
|
? 0x7fffffff
|
|
@@ -428,7 +461,6 @@ function fromArrayLike (that, array) {
|
|
|
428
461
|
}
|
|
429
462
|
|
|
430
463
|
function fromArrayBuffer (that, array, byteOffset, length) {
|
|
431
|
-
array.byteLength; // this throws if `array` is not a valid ArrayBuffer
|
|
432
464
|
|
|
433
465
|
if (byteOffset < 0 || array.byteLength < byteOffset) {
|
|
434
466
|
throw new RangeError('\'offset\' is out of bounds')
|
|
@@ -496,13 +528,6 @@ function checked (length) {
|
|
|
496
528
|
}
|
|
497
529
|
return length | 0
|
|
498
530
|
}
|
|
499
|
-
|
|
500
|
-
function SlowBuffer (length) {
|
|
501
|
-
if (+length != length) { // eslint-disable-line eqeqeq
|
|
502
|
-
length = 0;
|
|
503
|
-
}
|
|
504
|
-
return Buffer.alloc(+length)
|
|
505
|
-
}
|
|
506
531
|
Buffer.isBuffer = isBuffer;
|
|
507
532
|
function internalIsBuffer (b) {
|
|
508
533
|
return !!(b != null && b._isBuffer)
|
|
@@ -1982,4 +2007,4 @@ function isSlowBuffer (obj) {
|
|
|
1982
2007
|
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0))
|
|
1983
2008
|
}
|
|
1984
2009
|
|
|
1985
|
-
export { Buffer as B };
|
|
2010
|
+
export { Buffer as B, getDefaultExportFromCjs as a, commonjsGlobal as b, createCommonjsModule as c, commonjsRequire as d, getAugmentedNamespace as g, process_1 as p };
|
package/dist/components/index.js
CHANGED
|
@@ -31,7 +31,3 @@ export { VerdocsTextInput, defineCustomElement as defineCustomElementVerdocsText
|
|
|
31
31
|
export { VerdocsToggle, defineCustomElement as defineCustomElementVerdocsToggle } from './verdocs-toggle.js';
|
|
32
32
|
export { VerdocsUploadDialog, defineCustomElement as defineCustomElementVerdocsUploadDialog } from './verdocs-upload-dialog.js';
|
|
33
33
|
export { VerdocsView, defineCustomElement as defineCustomElementVerdocsView } from './verdocs-view.js';
|
|
34
|
-
|
|
35
|
-
const globalScripts = () => {};
|
|
36
|
-
|
|
37
|
-
globalScripts();
|