@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,5 +1,3 @@
|
|
|
1
|
-
import './index4.js';
|
|
2
|
-
|
|
3
1
|
var top = 'top';
|
|
4
2
|
var bottom = 'bottom';
|
|
5
3
|
var right = 'right';
|
|
@@ -431,16 +429,7 @@ function effect$1(_ref2) {
|
|
|
431
429
|
}
|
|
432
430
|
}
|
|
433
431
|
|
|
434
|
-
if ("development" !== "production") {
|
|
435
|
-
if (!isHTMLElement(arrowElement)) {
|
|
436
|
-
console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
432
|
if (!contains(state.elements.popper, arrowElement)) {
|
|
441
|
-
if ("development" !== "production") {
|
|
442
|
-
console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
|
|
443
|
-
}
|
|
444
433
|
|
|
445
434
|
return;
|
|
446
435
|
}
|
|
@@ -585,16 +574,6 @@ function computeStyles(_ref5) {
|
|
|
585
574
|
_options$roundOffsets = options.roundOffsets,
|
|
586
575
|
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
587
576
|
|
|
588
|
-
if ("development" !== "production") {
|
|
589
|
-
var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';
|
|
590
|
-
|
|
591
|
-
if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
|
|
592
|
-
return transitionProperty.indexOf(property) >= 0;
|
|
593
|
-
})) {
|
|
594
|
-
console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: "transform", "top", "right", "bottom", "left".', '\n\n', 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\n\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
|
|
598
577
|
var commonStyles = {
|
|
599
578
|
placement: getBasePlacement(state.placement),
|
|
600
579
|
variation: getVariation(state.placement),
|
|
@@ -960,8 +939,6 @@ function computeOffsets(_ref) {
|
|
|
960
939
|
case end:
|
|
961
940
|
offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
|
|
962
941
|
break;
|
|
963
|
-
|
|
964
|
-
default:
|
|
965
942
|
}
|
|
966
943
|
}
|
|
967
944
|
|
|
@@ -1045,10 +1022,6 @@ function computeAutoPlacement(state, options) {
|
|
|
1045
1022
|
|
|
1046
1023
|
if (allowedPlacements.length === 0) {
|
|
1047
1024
|
allowedPlacements = placements$1;
|
|
1048
|
-
|
|
1049
|
-
if ("development" !== "production") {
|
|
1050
|
-
console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' '));
|
|
1051
|
-
}
|
|
1052
1025
|
} // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
|
|
1053
1026
|
|
|
1054
1027
|
|
|
@@ -1600,108 +1573,6 @@ function debounce(fn) {
|
|
|
1600
1573
|
};
|
|
1601
1574
|
}
|
|
1602
1575
|
|
|
1603
|
-
function format(str) {
|
|
1604
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
1605
|
-
args[_key - 1] = arguments[_key];
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
return [].concat(args).reduce(function (p, c) {
|
|
1609
|
-
return p.replace(/%s/, c);
|
|
1610
|
-
}, str);
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s';
|
|
1614
|
-
var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available';
|
|
1615
|
-
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
1616
|
-
function validateModifiers(modifiers) {
|
|
1617
|
-
modifiers.forEach(function (modifier) {
|
|
1618
|
-
[].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
|
|
1619
|
-
.filter(function (value, index, self) {
|
|
1620
|
-
return self.indexOf(value) === index;
|
|
1621
|
-
}).forEach(function (key) {
|
|
1622
|
-
switch (key) {
|
|
1623
|
-
case 'name':
|
|
1624
|
-
if (typeof modifier.name !== 'string') {
|
|
1625
|
-
console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', "\"" + String(modifier.name) + "\""));
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
break;
|
|
1629
|
-
|
|
1630
|
-
case 'enabled':
|
|
1631
|
-
if (typeof modifier.enabled !== 'boolean') {
|
|
1632
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
break;
|
|
1636
|
-
|
|
1637
|
-
case 'phase':
|
|
1638
|
-
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
1639
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
break;
|
|
1643
|
-
|
|
1644
|
-
case 'fn':
|
|
1645
|
-
if (typeof modifier.fn !== 'function') {
|
|
1646
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
break;
|
|
1650
|
-
|
|
1651
|
-
case 'effect':
|
|
1652
|
-
if (modifier.effect != null && typeof modifier.effect !== 'function') {
|
|
1653
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
break;
|
|
1657
|
-
|
|
1658
|
-
case 'requires':
|
|
1659
|
-
if (modifier.requires != null && !Array.isArray(modifier.requires)) {
|
|
1660
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
break;
|
|
1664
|
-
|
|
1665
|
-
case 'requiresIfExists':
|
|
1666
|
-
if (!Array.isArray(modifier.requiresIfExists)) {
|
|
1667
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', "\"" + String(modifier.requiresIfExists) + "\""));
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
break;
|
|
1671
|
-
|
|
1672
|
-
case 'options':
|
|
1673
|
-
case 'data':
|
|
1674
|
-
break;
|
|
1675
|
-
|
|
1676
|
-
default:
|
|
1677
|
-
console.error("PopperJS: an invalid property has been provided to the \"" + modifier.name + "\" modifier, valid properties are " + VALID_PROPERTIES.map(function (s) {
|
|
1678
|
-
return "\"" + s + "\"";
|
|
1679
|
-
}).join(', ') + "; but \"" + key + "\" was provided.");
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
modifier.requires && modifier.requires.forEach(function (requirement) {
|
|
1683
|
-
if (modifiers.find(function (mod) {
|
|
1684
|
-
return mod.name === requirement;
|
|
1685
|
-
}) == null) {
|
|
1686
|
-
console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));
|
|
1687
|
-
}
|
|
1688
|
-
});
|
|
1689
|
-
});
|
|
1690
|
-
});
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
function uniqueBy(arr, fn) {
|
|
1694
|
-
var identifiers = new Set();
|
|
1695
|
-
return arr.filter(function (item) {
|
|
1696
|
-
var identifier = fn(item);
|
|
1697
|
-
|
|
1698
|
-
if (!identifiers.has(identifier)) {
|
|
1699
|
-
identifiers.add(identifier);
|
|
1700
|
-
return true;
|
|
1701
|
-
}
|
|
1702
|
-
});
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
1576
|
function mergeByName(modifiers) {
|
|
1706
1577
|
var merged = modifiers.reduce(function (merged, current) {
|
|
1707
1578
|
var existing = merged[current.name];
|
|
@@ -1717,8 +1588,6 @@ function mergeByName(modifiers) {
|
|
|
1717
1588
|
});
|
|
1718
1589
|
}
|
|
1719
1590
|
|
|
1720
|
-
var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';
|
|
1721
|
-
var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';
|
|
1722
1591
|
var DEFAULT_OPTIONS = {
|
|
1723
1592
|
placement: 'bottom',
|
|
1724
1593
|
modifiers: [],
|
|
@@ -1781,40 +1650,6 @@ function popperGenerator(generatorOptions) {
|
|
|
1781
1650
|
state.orderedModifiers = orderedModifiers.filter(function (m) {
|
|
1782
1651
|
return m.enabled;
|
|
1783
1652
|
}); // Validate the provided modifiers so that the consumer will get warned
|
|
1784
|
-
// if one of the modifiers is invalid for any reason
|
|
1785
|
-
|
|
1786
|
-
if ("development" !== "production") {
|
|
1787
|
-
var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {
|
|
1788
|
-
var name = _ref.name;
|
|
1789
|
-
return name;
|
|
1790
|
-
});
|
|
1791
|
-
validateModifiers(modifiers);
|
|
1792
|
-
|
|
1793
|
-
if (getBasePlacement(state.options.placement) === auto) {
|
|
1794
|
-
var flipModifier = state.orderedModifiers.find(function (_ref2) {
|
|
1795
|
-
var name = _ref2.name;
|
|
1796
|
-
return name === 'flip';
|
|
1797
|
-
});
|
|
1798
|
-
|
|
1799
|
-
if (!flipModifier) {
|
|
1800
|
-
console.error(['Popper: "auto" placements require the "flip" modifier be', 'present and enabled to work.'].join(' '));
|
|
1801
|
-
}
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
var _getComputedStyle = getComputedStyle(popper),
|
|
1805
|
-
marginTop = _getComputedStyle.marginTop,
|
|
1806
|
-
marginRight = _getComputedStyle.marginRight,
|
|
1807
|
-
marginBottom = _getComputedStyle.marginBottom,
|
|
1808
|
-
marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can
|
|
1809
|
-
// cause bugs with positioning, so we'll warn the consumer
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {
|
|
1813
|
-
return parseFloat(margin);
|
|
1814
|
-
})) {
|
|
1815
|
-
console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
1653
|
|
|
1819
1654
|
runModifierEffects();
|
|
1820
1655
|
return instance.update();
|
|
@@ -1835,9 +1670,6 @@ function popperGenerator(generatorOptions) {
|
|
|
1835
1670
|
// anymore
|
|
1836
1671
|
|
|
1837
1672
|
if (!areValidElements(reference, popper)) {
|
|
1838
|
-
if ("development" !== "production") {
|
|
1839
|
-
console.error(INVALID_ELEMENT_ERROR);
|
|
1840
|
-
}
|
|
1841
1673
|
|
|
1842
1674
|
return;
|
|
1843
1675
|
} // Store the reference and popper rects to be read by modifiers
|
|
@@ -1861,17 +1693,8 @@ function popperGenerator(generatorOptions) {
|
|
|
1861
1693
|
state.orderedModifiers.forEach(function (modifier) {
|
|
1862
1694
|
return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
|
|
1863
1695
|
});
|
|
1864
|
-
var __debug_loops__ = 0;
|
|
1865
1696
|
|
|
1866
1697
|
for (var index = 0; index < state.orderedModifiers.length; index++) {
|
|
1867
|
-
if ("development" !== "production") {
|
|
1868
|
-
__debug_loops__ += 1;
|
|
1869
|
-
|
|
1870
|
-
if (__debug_loops__ > 100) {
|
|
1871
|
-
console.error(INFINITE_LOOP_ERROR);
|
|
1872
|
-
break;
|
|
1873
|
-
}
|
|
1874
|
-
}
|
|
1875
1698
|
|
|
1876
1699
|
if (state.reset === true) {
|
|
1877
1700
|
state.reset = false;
|
|
@@ -1910,9 +1733,6 @@ function popperGenerator(generatorOptions) {
|
|
|
1910
1733
|
};
|
|
1911
1734
|
|
|
1912
1735
|
if (!areValidElements(reference, popper)) {
|
|
1913
|
-
if ("development" !== "production") {
|
|
1914
|
-
console.error(INVALID_ELEMENT_ERROR);
|
|
1915
|
-
}
|
|
1916
1736
|
|
|
1917
1737
|
return instance;
|
|
1918
1738
|
}
|
|
@@ -1959,12 +1779,6 @@ function popperGenerator(generatorOptions) {
|
|
|
1959
1779
|
return instance;
|
|
1960
1780
|
};
|
|
1961
1781
|
}
|
|
1962
|
-
var createPopper$2 = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules
|
|
1963
|
-
|
|
1964
|
-
var defaultModifiers$1 = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1];
|
|
1965
|
-
var createPopper$1 = /*#__PURE__*/popperGenerator({
|
|
1966
|
-
defaultModifiers: defaultModifiers$1
|
|
1967
|
-
}); // eslint-disable-next-line import/no-unused-modules
|
|
1968
1782
|
|
|
1969
1783
|
var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
|
|
1970
1784
|
var createPopper = /*#__PURE__*/popperGenerator({
|
|
@@ -1,202 +1,11 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { l as loadSession, a as authenticateUser, s as setSession } from './Auth.js';
|
|
3
|
-
import {
|
|
4
|
-
import './index2.js';
|
|
2
|
+
import { l as loadSession, a as authenticateUser, s as setSession, e as endSession } from './Auth.js';
|
|
3
|
+
import { V as VerdocsEndpoint, s as setActiveEndpoint } from './Token.js';
|
|
5
4
|
import { d as defineCustomElement$4 } from './verdocs-button2.js';
|
|
6
5
|
import { d as defineCustomElement$3 } from './verdocs-ok-dialog2.js';
|
|
7
6
|
import { d as defineCustomElement$2 } from './verdocs-text-input2.js';
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
21
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
22
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
23
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
24
|
-
function step(op) {
|
|
25
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
26
|
-
while (_) try {
|
|
27
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
28
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
29
|
-
switch (op[0]) {
|
|
30
|
-
case 0: case 1: t = op; break;
|
|
31
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
32
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
33
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
34
|
-
default:
|
|
35
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
36
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
37
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
38
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
39
|
-
if (t[2]) _.ops.pop();
|
|
40
|
-
_.trys.pop(); continue;
|
|
41
|
-
}
|
|
42
|
-
op = body.call(thisArg, _);
|
|
43
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
44
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
var getNotifications = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
48
|
-
return __generator(this, function (_a) {
|
|
49
|
-
return [2 /*return*/, getEndpoint()
|
|
50
|
-
.api.get('/notifications')
|
|
51
|
-
.then(function (r) { return r.data; })];
|
|
52
|
-
});
|
|
53
|
-
}); };
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Get the user's available profiles. The current profile will be marked with `current: true`.
|
|
57
|
-
*
|
|
58
|
-
* ```typescript
|
|
59
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
60
|
-
*
|
|
61
|
-
* const profiles = await Profiles.getProfiles()
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
var getProfiles = function () {
|
|
65
|
-
return getEndpoint()
|
|
66
|
-
.api.get('/profiles')
|
|
67
|
-
.then(function (r) { return r.data; });
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* Get a list of system roles.
|
|
71
|
-
*
|
|
72
|
-
* ```typescript
|
|
73
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
74
|
-
*
|
|
75
|
-
* const roles = await Profiles.getRoles();
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
var getRoles = function () {
|
|
79
|
-
return getEndpoint()
|
|
80
|
-
.api.get('/roles')
|
|
81
|
-
.then(function (r) { return r.data; });
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* Get a list of system roles.
|
|
85
|
-
*
|
|
86
|
-
* ```typescript
|
|
87
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
88
|
-
*
|
|
89
|
-
* const permissions = await Profiles.getPermissions();
|
|
90
|
-
* ```
|
|
91
|
-
*/
|
|
92
|
-
var getPermissions = function () {
|
|
93
|
-
return getEndpoint()
|
|
94
|
-
.api.get('/permissions')
|
|
95
|
-
.then(function (r) { return r.data; });
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* Create a profile. If the caller does not have a "current" profile set, the new profile will be made current.
|
|
99
|
-
*
|
|
100
|
-
* ```typescript
|
|
101
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
102
|
-
*
|
|
103
|
-
* const newProfile = await Profiles.createProfile({ first_name: 'FIRST', last_name: 'LAST', email: 'EMAIL' });
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
var createProfile = function (params) {
|
|
107
|
-
return getEndpoint()
|
|
108
|
-
.api.post('/profiles', params)
|
|
109
|
-
.then(function (r) { return r.data; });
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Get a profile. The caller must have admin access to the given profile.
|
|
113
|
-
* TODO: Add a "public" profile endpoint for public pages
|
|
114
|
-
*
|
|
115
|
-
* ```typescript
|
|
116
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
117
|
-
*
|
|
118
|
-
* const profile = await Profiles.getProfile('PROFILEID');
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
var getProfile = function (profileId) {
|
|
122
|
-
return getEndpoint()
|
|
123
|
-
.api.get("/profiles/".concat(profileId))
|
|
124
|
-
.then(function (r) { return r.data; });
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Get a profile's permissions. The caller must have admin access to the given profile.
|
|
128
|
-
*
|
|
129
|
-
* ```typescript
|
|
130
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
131
|
-
*
|
|
132
|
-
* const permissions = await Profiles.getProfilePermissions('PROFILEID');
|
|
133
|
-
* ```
|
|
134
|
-
*/
|
|
135
|
-
var getProfilePermissions = function (profileId) {
|
|
136
|
-
return getEndpoint()
|
|
137
|
-
.api.get("/profiles/".concat(profileId, "/permissions"))
|
|
138
|
-
.then(function (r) { return r.data; });
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Get a profile's groups.
|
|
142
|
-
*
|
|
143
|
-
* ```typescript
|
|
144
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
145
|
-
*
|
|
146
|
-
* const groups = await Profiles.getProfileGroups('PROFILEID');
|
|
147
|
-
* ```
|
|
148
|
-
*/
|
|
149
|
-
var getProfileGroups = function (profileId) {
|
|
150
|
-
return getEndpoint()
|
|
151
|
-
.api.get("/profiles/".concat(profileId, "/groups"))
|
|
152
|
-
.then(function (r) { return r.data; });
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Switch the caller's "current" profile. The current profile is used for permissions checking and profile_id field settings
|
|
156
|
-
* for most operations in Verdocs. It is important to select the appropropriate profile before calling other API functions.
|
|
157
|
-
*
|
|
158
|
-
* ```typescript
|
|
159
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
160
|
-
*
|
|
161
|
-
* const newProfile = await Profiles.switchProfile('PROFILEID');
|
|
162
|
-
* ```
|
|
163
|
-
*/
|
|
164
|
-
var switchProfile = function (profileId) {
|
|
165
|
-
return getEndpoint()
|
|
166
|
-
.api.post("/profiles/".concat(profileId, "/switch"))
|
|
167
|
-
.then(function (r) { return r.data; });
|
|
168
|
-
};
|
|
169
|
-
/**
|
|
170
|
-
* Update a profile. For future expansion, the profile ID to update is required, but currently this must also be the
|
|
171
|
-
* "current" profile for the caller.
|
|
172
|
-
*
|
|
173
|
-
* ```typescript
|
|
174
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
175
|
-
*
|
|
176
|
-
* const newProfile = await Profiles.updateProfile('PROFILEID');
|
|
177
|
-
* ```
|
|
178
|
-
*/
|
|
179
|
-
var updateProfile = function (profileId, params) {
|
|
180
|
-
return getEndpoint()
|
|
181
|
-
.api.put("/profiles/".concat(profileId), params)
|
|
182
|
-
.then(function (r) { return r.data; });
|
|
183
|
-
};
|
|
184
|
-
/**
|
|
185
|
-
* Delete a profile. If the requested profile is the caller's curent profile, the next available profile will be selected.
|
|
186
|
-
*
|
|
187
|
-
* ```typescript
|
|
188
|
-
* import {Profiles} from '@verdocs/js-sdk/Users';
|
|
189
|
-
*
|
|
190
|
-
* await Profiles.deleteProfile('PROFILEID');
|
|
191
|
-
* ```
|
|
192
|
-
*/
|
|
193
|
-
var deleteProfile = function (profileId) {
|
|
194
|
-
return getEndpoint()
|
|
195
|
-
.api.delete("/profiles/".concat(profileId))
|
|
196
|
-
.then(function (r) { return r.data; });
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
const verdocsAuthCss = "verdocs-auth{font-family:\"Barlow\", sans-serif;background-color:#4c56cb;padding:40px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-auth .login-form,verdocs-auth .signup-form{background:#f5f5fa;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:8px;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;padding:20px;width:300px;max-width:100%}verdocs-auth .logo{margin:20px 0 30px;width:128px;max-width:100%}verdocs-auth h3{text-align:center;font-weight:400;font-size:16px;line-height:1.75;margin:0}verdocs-auth h4{text-align:center;font-weight:400;font-size:14px;line-height:1.43;margin:0}verdocs-auth .status-result{display:none}verdocs-auth .status-result.debug{white-space:pre-wrap;font-size:14px;background:#fff;padding:10px;display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-auth form{width:100%}verdocs-auth verdocs-text-input{margin-bottom:10px}";
|
|
8
|
+
const verdocsAuthCss = "verdocs-auth{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;background-color:#4c56cb;padding:40px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-auth .login-form,verdocs-auth .signup-form{background:#f5f5fa;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:8px;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;padding:20px;width:300px;max-width:100%}verdocs-auth .logo{margin:20px 0 30px;width:128px;max-width:100%}verdocs-auth h3{text-align:center;font-weight:400;font-size:16px;line-height:1.75;margin:0}verdocs-auth h4{text-align:center;font-weight:400;font-size:14px;line-height:1.43;margin:0}verdocs-auth .status-result{display:none}verdocs-auth .status-result.debug{white-space:pre-wrap;font-size:14px;background:#fff;padding:10px;display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-auth form{width:100%}verdocs-auth verdocs-text-input{margin-bottom:10px}";
|
|
200
9
|
|
|
201
10
|
const BASE_URL = 'https://stage-api.verdocs.com/';
|
|
202
11
|
const SOURCE = 'verdocs-stage';
|
|
@@ -234,11 +43,9 @@ const VerdocsAuth$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
234
43
|
componentWillLoad() {
|
|
235
44
|
const staging = new VerdocsEndpoint().setBaseURL(BASE_URL);
|
|
236
45
|
setActiveEndpoint(staging);
|
|
237
|
-
console.log('Set active endpoint', getEndpoint());
|
|
238
46
|
}
|
|
239
47
|
componentDidLoad() {
|
|
240
48
|
const session = loadSession(SOURCE);
|
|
241
|
-
console.log('loaded session', session, SOURCE);
|
|
242
49
|
if (session !== null) {
|
|
243
50
|
this.isAuthenticated = true;
|
|
244
51
|
this.activeSession = session;
|
|
@@ -257,16 +64,14 @@ const VerdocsAuth$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
257
64
|
authenticateUser({ username: this.username, password: this.password })
|
|
258
65
|
.then(r => {
|
|
259
66
|
this.loggingIn = false;
|
|
260
|
-
console.log('Login result', r.accessToken);
|
|
261
67
|
const session = setSession(SOURCE, r.accessToken, true);
|
|
262
68
|
this.activeSession = session;
|
|
263
69
|
this.isAuthenticated = true;
|
|
264
|
-
console.log('set session', session);
|
|
265
70
|
this.authenticated.emit({ authenticated: true, session });
|
|
266
71
|
})
|
|
267
72
|
.catch(e => {
|
|
268
73
|
var _a;
|
|
269
|
-
console.log('Login error', e.response, JSON.stringify(e));
|
|
74
|
+
console.log('[VERDOCS] Login error', e.response, JSON.stringify(e));
|
|
270
75
|
this.loggingIn = false;
|
|
271
76
|
this.activeSession = null;
|
|
272
77
|
this.authenticated.emit({ authenticated: false, session: null });
|
|
@@ -276,7 +81,7 @@ const VerdocsAuth$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
276
81
|
});
|
|
277
82
|
}
|
|
278
83
|
handleLogout() {
|
|
279
|
-
|
|
84
|
+
endSession(SOURCE);
|
|
280
85
|
this.isAuthenticated = false;
|
|
281
86
|
this.authenticated.emit({ authenticated: false, session: null });
|
|
282
87
|
}
|
|
@@ -339,7 +144,7 @@ function defineCustomElement$1() {
|
|
|
339
144
|
break;
|
|
340
145
|
} });
|
|
341
146
|
}
|
|
342
|
-
defineCustomElement$1(
|
|
147
|
+
defineCustomElement$1();
|
|
343
148
|
|
|
344
149
|
const VerdocsAuth = VerdocsAuth$1;
|
|
345
150
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const verdocsButtonCss = "verdocs-button button{font-family:\"
|
|
3
|
+
const verdocsButtonCss = "verdocs-button button{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;text-transform:uppercase;-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:700;cursor:pointer;margin:0}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .label{padding:0 12px}verdocs-button button:disabled{cursor:none}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999;cursor:none}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;cursor:none;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}";
|
|
4
4
|
|
|
5
5
|
const VerdocsButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -37,7 +37,6 @@ const VerdocsButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
37
37
|
this.press.emit();
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
console.log('Rendering button', this.startIcon);
|
|
41
40
|
return (h("button", { disabled: this.disabled, type: this.type, onClick: e => this.handleClick(e), class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { class: "label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
|
42
41
|
}
|
|
43
42
|
static get style() { return verdocsButtonCss; }
|
|
@@ -63,6 +62,6 @@ function defineCustomElement() {
|
|
|
63
62
|
break;
|
|
64
63
|
} });
|
|
65
64
|
}
|
|
66
|
-
defineCustomElement(
|
|
65
|
+
defineCustomElement();
|
|
67
66
|
|
|
68
67
|
export { VerdocsButton as V, defineCustomElement as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as createPopper } from './
|
|
2
|
+
import { c as createPopper } from './popper.js';
|
|
3
3
|
|
|
4
4
|
const SortDown = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>
|
|
5
5
|
`;
|
|
@@ -89,6 +89,6 @@ function defineCustomElement() {
|
|
|
89
89
|
break;
|
|
90
90
|
} });
|
|
91
91
|
}
|
|
92
|
-
defineCustomElement(
|
|
92
|
+
defineCustomElement();
|
|
93
93
|
|
|
94
94
|
export { VerdocsDropdown as V, defineCustomElement as d };
|
|
@@ -7,7 +7,7 @@ const Paperclip = `<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill=
|
|
|
7
7
|
</svg>
|
|
8
8
|
`;
|
|
9
9
|
|
|
10
|
-
const verdocsFieldAttachmentCss = "verdocs-field-attachment{font-family
|
|
10
|
+
const verdocsFieldAttachmentCss = "verdocs-field-attachment{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;width:24px;height:24px;display:block;font-size:11px;background-color:transparent;-webkit-transform-origin:bottom left;transform-origin:bottom left}verdocs-field-attachment span{width:20px;cursor:pointer}verdocs-field-attachment.required span{border:1px solid #cc0000}verdocs-field-attachment.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}";
|
|
11
11
|
|
|
12
12
|
const VerdocsFieldAttachment = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
13
13
|
constructor() {
|
|
@@ -83,6 +83,6 @@ function defineCustomElement() {
|
|
|
83
83
|
break;
|
|
84
84
|
} });
|
|
85
85
|
}
|
|
86
|
-
defineCustomElement(
|
|
86
|
+
defineCustomElement();
|
|
87
87
|
|
|
88
88
|
export { VerdocsFieldAttachment as V, defineCustomElement as d };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const verdocsFieldCheckboxCss = "@charset \"UTF-8\";verdocs-field-checkbox{font-family
|
|
3
|
+
const verdocsFieldCheckboxCss = "@charset \"UTF-8\";verdocs-field-checkbox{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;font-size:11px;background-color:transparent;-webkit-transform-origin:bottom left;transform-origin:bottom left}verdocs-field-checkbox label>input[type=checkbox]{display:none}verdocs-field-checkbox label>input[type=checkbox]+*::before{content:\"\";display:block;vertical-align:bottom;width:14px;height:14px;border-radius:2px;border:1px solid rgba(0, 0, 0, 0.2);-ms-flex-negative:0;flex-shrink:0}verdocs-field-checkbox label>input[type=checkbox]:checked+*{color:var(--verdocs-primary-color)}verdocs-field-checkbox label>input[type=checkbox]:checked+*::before{content:\"✓\";color:white;text-align:center;background:var(--verdocs-primary-color);border-color:var(--verdocs-primary-color)}verdocs-field-checkbox.required label>input[type=checkbox]+*::before{border:1px solid var(--verdocs-required-color)}verdocs-field-checkbox.hide{display:none}verdocs-field-checkbox.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}";
|
|
4
4
|
|
|
5
5
|
const VerdocsFieldCheckbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -50,6 +50,6 @@ function defineCustomElement() {
|
|
|
50
50
|
break;
|
|
51
51
|
} });
|
|
52
52
|
}
|
|
53
|
-
defineCustomElement(
|
|
53
|
+
defineCustomElement();
|
|
54
54
|
|
|
55
55
|
export { VerdocsFieldCheckbox as V, defineCustomElement as d };
|