@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 +0,0 @@
|
|
|
1
|
-
import './Token-29eea56d.js';
|
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Stencil Client Platform v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @license
|
|
6
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
7
|
-
*
|
|
8
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
9
|
-
* found in the LICENSE file at https://angular.io/license
|
|
10
|
-
*
|
|
11
|
-
* This file is a port of shadowCSS from webcomponents.js to TypeScript.
|
|
12
|
-
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
13
|
-
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
14
|
-
*/
|
|
15
|
-
const safeSelector = (selector) => {
|
|
16
|
-
const placeholders = [];
|
|
17
|
-
let index = 0;
|
|
18
|
-
// Replaces attribute selectors with placeholders.
|
|
19
|
-
// The WS in [attr="va lue"] would otherwise be interpreted as a selector separator.
|
|
20
|
-
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
21
|
-
const replaceBy = `__ph-${index}__`;
|
|
22
|
-
placeholders.push(keep);
|
|
23
|
-
index++;
|
|
24
|
-
return replaceBy;
|
|
25
|
-
});
|
|
26
|
-
// Replaces the expression in `:nth-child(2n + 1)` with a placeholder.
|
|
27
|
-
// WS and "+" would otherwise be interpreted as selector separators.
|
|
28
|
-
const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
29
|
-
const replaceBy = `__ph-${index}__`;
|
|
30
|
-
placeholders.push(exp);
|
|
31
|
-
index++;
|
|
32
|
-
return pseudo + replaceBy;
|
|
33
|
-
});
|
|
34
|
-
const ss = {
|
|
35
|
-
content,
|
|
36
|
-
placeholders,
|
|
37
|
-
};
|
|
38
|
-
return ss;
|
|
39
|
-
};
|
|
40
|
-
const restoreSafeSelector = (placeholders, content) => {
|
|
41
|
-
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
42
|
-
};
|
|
43
|
-
const _polyfillHost = '-shadowcsshost';
|
|
44
|
-
const _polyfillSlotted = '-shadowcssslotted';
|
|
45
|
-
// note: :host-context pre-processed to -shadowcsshostcontext.
|
|
46
|
-
const _polyfillHostContext = '-shadowcsscontext';
|
|
47
|
-
const _parenSuffix = ')(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)';
|
|
48
|
-
const _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');
|
|
49
|
-
const _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');
|
|
50
|
-
const _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');
|
|
51
|
-
const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
|
|
52
|
-
const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
53
|
-
const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
54
|
-
const _selectorReSuffix = '([>\\s~+[.,{:][\\s\\S]*)?$';
|
|
55
|
-
const _polyfillHostRe = /-shadowcsshost/gim;
|
|
56
|
-
const _colonHostRe = /:host/gim;
|
|
57
|
-
const _colonSlottedRe = /::slotted/gim;
|
|
58
|
-
const _colonHostContextRe = /:host-context/gim;
|
|
59
|
-
const _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
60
|
-
const stripComments = (input) => {
|
|
61
|
-
return input.replace(_commentRe, '');
|
|
62
|
-
};
|
|
63
|
-
const _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
64
|
-
const extractCommentsWithHash = (input) => {
|
|
65
|
-
return input.match(_commentWithHashRe) || [];
|
|
66
|
-
};
|
|
67
|
-
const _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
68
|
-
const _curlyRe = /([{}])/g;
|
|
69
|
-
const _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
|
|
70
|
-
const OPEN_CURLY = '{';
|
|
71
|
-
const CLOSE_CURLY = '}';
|
|
72
|
-
const BLOCK_PLACEHOLDER = '%BLOCK%';
|
|
73
|
-
const processRules = (input, ruleCallback) => {
|
|
74
|
-
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
75
|
-
let nextBlockIndex = 0;
|
|
76
|
-
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
77
|
-
const selector = m[2];
|
|
78
|
-
let content = '';
|
|
79
|
-
let suffix = m[4];
|
|
80
|
-
let contentPrefix = '';
|
|
81
|
-
if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {
|
|
82
|
-
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
83
|
-
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
84
|
-
contentPrefix = '{';
|
|
85
|
-
}
|
|
86
|
-
const cssRule = {
|
|
87
|
-
selector,
|
|
88
|
-
content,
|
|
89
|
-
};
|
|
90
|
-
const rule = ruleCallback(cssRule);
|
|
91
|
-
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
const escapeBlocks = (input) => {
|
|
95
|
-
const inputParts = input.split(_curlyRe);
|
|
96
|
-
const resultParts = [];
|
|
97
|
-
const escapedBlocks = [];
|
|
98
|
-
let bracketCount = 0;
|
|
99
|
-
let currentBlockParts = [];
|
|
100
|
-
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
101
|
-
const part = inputParts[partIndex];
|
|
102
|
-
if (part === CLOSE_CURLY) {
|
|
103
|
-
bracketCount--;
|
|
104
|
-
}
|
|
105
|
-
if (bracketCount > 0) {
|
|
106
|
-
currentBlockParts.push(part);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
if (currentBlockParts.length > 0) {
|
|
110
|
-
escapedBlocks.push(currentBlockParts.join(''));
|
|
111
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
112
|
-
currentBlockParts = [];
|
|
113
|
-
}
|
|
114
|
-
resultParts.push(part);
|
|
115
|
-
}
|
|
116
|
-
if (part === OPEN_CURLY) {
|
|
117
|
-
bracketCount++;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
if (currentBlockParts.length > 0) {
|
|
121
|
-
escapedBlocks.push(currentBlockParts.join(''));
|
|
122
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
123
|
-
}
|
|
124
|
-
const strEscapedBlocks = {
|
|
125
|
-
escapedString: resultParts.join(''),
|
|
126
|
-
blocks: escapedBlocks,
|
|
127
|
-
};
|
|
128
|
-
return strEscapedBlocks;
|
|
129
|
-
};
|
|
130
|
-
const insertPolyfillHostInCssText = (selector) => {
|
|
131
|
-
selector = selector
|
|
132
|
-
.replace(_colonHostContextRe, _polyfillHostContext)
|
|
133
|
-
.replace(_colonHostRe, _polyfillHost)
|
|
134
|
-
.replace(_colonSlottedRe, _polyfillSlotted);
|
|
135
|
-
return selector;
|
|
136
|
-
};
|
|
137
|
-
const convertColonRule = (cssText, regExp, partReplacer) => {
|
|
138
|
-
// m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule
|
|
139
|
-
return cssText.replace(regExp, (...m) => {
|
|
140
|
-
if (m[2]) {
|
|
141
|
-
const parts = m[2].split(',');
|
|
142
|
-
const r = [];
|
|
143
|
-
for (let i = 0; i < parts.length; i++) {
|
|
144
|
-
const p = parts[i].trim();
|
|
145
|
-
if (!p)
|
|
146
|
-
break;
|
|
147
|
-
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
148
|
-
}
|
|
149
|
-
return r.join(',');
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return _polyfillHostNoCombinator + m[3];
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
};
|
|
156
|
-
const colonHostPartReplacer = (host, part, suffix) => {
|
|
157
|
-
return host + part.replace(_polyfillHost, '') + suffix;
|
|
158
|
-
};
|
|
159
|
-
const convertColonHost = (cssText) => {
|
|
160
|
-
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
161
|
-
};
|
|
162
|
-
const colonHostContextPartReplacer = (host, part, suffix) => {
|
|
163
|
-
if (part.indexOf(_polyfillHost) > -1) {
|
|
164
|
-
return colonHostPartReplacer(host, part, suffix);
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
return host + part + suffix + ', ' + part + ' ' + host + suffix;
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
const convertColonSlotted = (cssText, slotScopeId) => {
|
|
171
|
-
const slotClass = '.' + slotScopeId + ' > ';
|
|
172
|
-
const selectors = [];
|
|
173
|
-
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
174
|
-
if (m[2]) {
|
|
175
|
-
const compound = m[2].trim();
|
|
176
|
-
const suffix = m[3];
|
|
177
|
-
const slottedSelector = slotClass + compound + suffix;
|
|
178
|
-
let prefixSelector = '';
|
|
179
|
-
for (let i = m[4] - 1; i >= 0; i--) {
|
|
180
|
-
const char = m[5][i];
|
|
181
|
-
if (char === '}' || char === ',') {
|
|
182
|
-
break;
|
|
183
|
-
}
|
|
184
|
-
prefixSelector = char + prefixSelector;
|
|
185
|
-
}
|
|
186
|
-
const orgSelector = prefixSelector + slottedSelector;
|
|
187
|
-
const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;
|
|
188
|
-
if (orgSelector.trim() !== addedSelector.trim()) {
|
|
189
|
-
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
190
|
-
selectors.push({
|
|
191
|
-
orgSelector,
|
|
192
|
-
updatedSelector,
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
return slottedSelector;
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
return _polyfillHostNoCombinator + m[3];
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
return {
|
|
202
|
-
selectors,
|
|
203
|
-
cssText,
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
const convertColonHostContext = (cssText) => {
|
|
207
|
-
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
208
|
-
};
|
|
209
|
-
const convertShadowDOMSelectors = (cssText) => {
|
|
210
|
-
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);
|
|
211
|
-
};
|
|
212
|
-
const makeScopeMatcher = (scopeSelector) => {
|
|
213
|
-
const lre = /\[/g;
|
|
214
|
-
const rre = /\]/g;
|
|
215
|
-
scopeSelector = scopeSelector.replace(lre, '\\[').replace(rre, '\\]');
|
|
216
|
-
return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');
|
|
217
|
-
};
|
|
218
|
-
const selectorNeedsScoping = (selector, scopeSelector) => {
|
|
219
|
-
const re = makeScopeMatcher(scopeSelector);
|
|
220
|
-
return !re.test(selector);
|
|
221
|
-
};
|
|
222
|
-
const injectScopingSelector = (selector, scopingSelector) => {
|
|
223
|
-
return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {
|
|
224
|
-
return before + scopingSelector + colon + after;
|
|
225
|
-
});
|
|
226
|
-
};
|
|
227
|
-
const applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
228
|
-
// In Android browser, the lastIndex is not reset when the regex is used in String.replace()
|
|
229
|
-
_polyfillHostRe.lastIndex = 0;
|
|
230
|
-
if (_polyfillHostRe.test(selector)) {
|
|
231
|
-
const replaceBy = `.${hostSelector}`;
|
|
232
|
-
return selector
|
|
233
|
-
.replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))
|
|
234
|
-
.replace(_polyfillHostRe, replaceBy + ' ');
|
|
235
|
-
}
|
|
236
|
-
return scopeSelector + ' ' + selector;
|
|
237
|
-
};
|
|
238
|
-
const applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
239
|
-
const isRe = /\[is=([^\]]*)\]/g;
|
|
240
|
-
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
241
|
-
const className = '.' + scopeSelector;
|
|
242
|
-
const _scopeSelectorPart = (p) => {
|
|
243
|
-
let scopedP = p.trim();
|
|
244
|
-
if (!scopedP) {
|
|
245
|
-
return '';
|
|
246
|
-
}
|
|
247
|
-
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
248
|
-
scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
// remove :host since it should be unnecessary
|
|
252
|
-
const t = p.replace(_polyfillHostRe, '');
|
|
253
|
-
if (t.length > 0) {
|
|
254
|
-
scopedP = injectScopingSelector(t, className);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
return scopedP;
|
|
258
|
-
};
|
|
259
|
-
const safeContent = safeSelector(selector);
|
|
260
|
-
selector = safeContent.content;
|
|
261
|
-
let scopedSelector = '';
|
|
262
|
-
let startIndex = 0;
|
|
263
|
-
let res;
|
|
264
|
-
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
265
|
-
// If a selector appears before :host it should not be shimmed as it
|
|
266
|
-
// matches on ancestor elements and not on elements in the host's shadow
|
|
267
|
-
// `:host-context(div)` is transformed to
|
|
268
|
-
// `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`
|
|
269
|
-
// the `div` is not part of the component in the 2nd selectors and should not be scoped.
|
|
270
|
-
// Historically `component-tag:host` was matching the component so we also want to preserve
|
|
271
|
-
// this behavior to avoid breaking legacy apps (it should not match).
|
|
272
|
-
// The behavior should be:
|
|
273
|
-
// - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)
|
|
274
|
-
// - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a
|
|
275
|
-
// `:host-context(tag)`)
|
|
276
|
-
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
277
|
-
// Only scope parts after the first `-shadowcsshost-no-combinator` when it is present
|
|
278
|
-
let shouldScope = !hasHost;
|
|
279
|
-
while ((res = sep.exec(selector)) !== null) {
|
|
280
|
-
const separator = res[1];
|
|
281
|
-
const part = selector.slice(startIndex, res.index).trim();
|
|
282
|
-
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
283
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
|
|
284
|
-
scopedSelector += `${scopedPart} ${separator} `;
|
|
285
|
-
startIndex = sep.lastIndex;
|
|
286
|
-
}
|
|
287
|
-
const part = selector.substring(startIndex);
|
|
288
|
-
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
289
|
-
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
290
|
-
// replace the placeholders with their original values
|
|
291
|
-
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
292
|
-
};
|
|
293
|
-
const scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
294
|
-
return selector
|
|
295
|
-
.split(',')
|
|
296
|
-
.map((shallowPart) => {
|
|
297
|
-
if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {
|
|
298
|
-
return shallowPart.trim();
|
|
299
|
-
}
|
|
300
|
-
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
301
|
-
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
return shallowPart.trim();
|
|
305
|
-
}
|
|
306
|
-
})
|
|
307
|
-
.join(', ');
|
|
308
|
-
};
|
|
309
|
-
const scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
310
|
-
return processRules(cssText, (rule) => {
|
|
311
|
-
let selector = rule.selector;
|
|
312
|
-
let content = rule.content;
|
|
313
|
-
if (rule.selector[0] !== '@') {
|
|
314
|
-
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
315
|
-
}
|
|
316
|
-
else if (rule.selector.startsWith('@media') ||
|
|
317
|
-
rule.selector.startsWith('@supports') ||
|
|
318
|
-
rule.selector.startsWith('@page') ||
|
|
319
|
-
rule.selector.startsWith('@document')) {
|
|
320
|
-
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
321
|
-
}
|
|
322
|
-
const cssRule = {
|
|
323
|
-
selector: selector.replace(/\s{2,}/g, ' ').trim(),
|
|
324
|
-
content,
|
|
325
|
-
};
|
|
326
|
-
return cssRule;
|
|
327
|
-
});
|
|
328
|
-
};
|
|
329
|
-
const scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
330
|
-
cssText = insertPolyfillHostInCssText(cssText);
|
|
331
|
-
cssText = convertColonHost(cssText);
|
|
332
|
-
cssText = convertColonHostContext(cssText);
|
|
333
|
-
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
334
|
-
cssText = slotted.cssText;
|
|
335
|
-
cssText = convertShadowDOMSelectors(cssText);
|
|
336
|
-
if (scopeId) {
|
|
337
|
-
cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);
|
|
338
|
-
}
|
|
339
|
-
cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
340
|
-
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, ' $1 ');
|
|
341
|
-
return {
|
|
342
|
-
cssText: cssText.trim(),
|
|
343
|
-
slottedSelectors: slotted.selectors,
|
|
344
|
-
};
|
|
345
|
-
};
|
|
346
|
-
const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
347
|
-
const hostScopeId = scopeId + '-h';
|
|
348
|
-
const slotScopeId = scopeId + '-s';
|
|
349
|
-
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
350
|
-
cssText = stripComments(cssText);
|
|
351
|
-
const orgSelectors = [];
|
|
352
|
-
if (commentOriginalSelector) {
|
|
353
|
-
const processCommentedSelector = (rule) => {
|
|
354
|
-
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
355
|
-
const comment = `/*!@${rule.selector}*/`;
|
|
356
|
-
orgSelectors.push({ placeholder, comment });
|
|
357
|
-
rule.selector = placeholder + rule.selector;
|
|
358
|
-
return rule;
|
|
359
|
-
};
|
|
360
|
-
cssText = processRules(cssText, (rule) => {
|
|
361
|
-
if (rule.selector[0] !== '@') {
|
|
362
|
-
return processCommentedSelector(rule);
|
|
363
|
-
}
|
|
364
|
-
else if (rule.selector.startsWith('@media') ||
|
|
365
|
-
rule.selector.startsWith('@supports') ||
|
|
366
|
-
rule.selector.startsWith('@page') ||
|
|
367
|
-
rule.selector.startsWith('@document')) {
|
|
368
|
-
rule.content = processRules(rule.content, processCommentedSelector);
|
|
369
|
-
return rule;
|
|
370
|
-
}
|
|
371
|
-
return rule;
|
|
372
|
-
});
|
|
373
|
-
}
|
|
374
|
-
const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);
|
|
375
|
-
cssText = [scoped.cssText, ...commentsWithHash].join('\n');
|
|
376
|
-
if (commentOriginalSelector) {
|
|
377
|
-
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
378
|
-
cssText = cssText.replace(placeholder, comment);
|
|
379
|
-
});
|
|
380
|
-
}
|
|
381
|
-
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
382
|
-
cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);
|
|
383
|
-
});
|
|
384
|
-
return cssText;
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
export { scopeCss };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-ddbd60b5.js';
|
|
2
|
-
|
|
3
|
-
const verdocsButtonCss = "verdocs-button button{font-family:\"Barlow\", 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:#fff;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
|
-
|
|
5
|
-
const VerdocsButton = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.press = createEvent(this, "press", 7);
|
|
9
|
-
/**
|
|
10
|
-
* If desired, a prefix icon for the button
|
|
11
|
-
*/
|
|
12
|
-
this.startIcon = null;
|
|
13
|
-
/**
|
|
14
|
-
* If desired, a suffix icon for the button
|
|
15
|
-
*/
|
|
16
|
-
this.endIcon = null;
|
|
17
|
-
/**
|
|
18
|
-
* The size (height) of the button.
|
|
19
|
-
*/
|
|
20
|
-
this.size = 'normal';
|
|
21
|
-
/**
|
|
22
|
-
* The type of the button.
|
|
23
|
-
*/
|
|
24
|
-
this.type = 'button';
|
|
25
|
-
/**
|
|
26
|
-
* The display variant of the button.
|
|
27
|
-
*/
|
|
28
|
-
this.variant = 'standard';
|
|
29
|
-
/**
|
|
30
|
-
* Whether the button should be disabled.
|
|
31
|
-
*/
|
|
32
|
-
this.disabled = false;
|
|
33
|
-
}
|
|
34
|
-
handleClick(e) {
|
|
35
|
-
e.preventDefault();
|
|
36
|
-
this.press.emit();
|
|
37
|
-
}
|
|
38
|
-
render() {
|
|
39
|
-
console.log('Rendering button', this.startIcon);
|
|
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));
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
VerdocsButton.style = verdocsButtonCss;
|
|
44
|
-
|
|
45
|
-
export { VerdocsButton as verdocs_button };
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, f as Host } from './index-ddbd60b5.js';
|
|
2
|
-
import { c as createPopper } from './index-432c65a6.js';
|
|
3
|
-
import './index-97ec070b.js';
|
|
4
|
-
|
|
5
|
-
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>
|
|
6
|
-
`;
|
|
7
|
-
|
|
8
|
-
const verdocsDropdownCss = "verdocs-dropdown{font-family:\"Barlow\", sans-serif;display:block}verdocs-dropdown .arrow{width:32px;height:26px;background:#fff;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #cccccc;-ms-flex-pack:center;justify-content:center}verdocs-dropdown .arrow svg{fill:#55bc81;-webkit-transition:0.3s;transition:0.3s}verdocs-dropdown .items{width:200px;display:none;z-index:10000;border-radius:5px;background:#33354c;border:1px solid #654dcb}verdocs-dropdown .items[data-show]{display:block}verdocs-dropdown .option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;padding:10px 20px}verdocs-dropdown .option:hover{cursor:pointer;background:#55bc81}verdocs-dropdown .option[disabled]{color:#aaaaaa}verdocs-dropdown .option[disabled]:hover{color:#aaaaaa;cursor:inherit;background:transparent}verdocs-dropdown.open .items{display:block}verdocs-dropdown.open .arrow{background:#4c56cb;border:1px solid #707ae5}verdocs-dropdown.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}";
|
|
9
|
-
|
|
10
|
-
const VerdocsDropdown = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.optionSelected = createEvent(this, "optionSelected", 7);
|
|
14
|
-
/**
|
|
15
|
-
* The menu options to display.
|
|
16
|
-
*/
|
|
17
|
-
this.options = [];
|
|
18
|
-
}
|
|
19
|
-
componentWillLoad() {
|
|
20
|
-
this.isOpen = !!this.open;
|
|
21
|
-
}
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
this.popper = createPopper(this.dropdownButton, this.dropdownMenu, { placement: 'bottom-start', modifiers: [{ name: 'offset', options: { offset: [0, 6] } }] });
|
|
24
|
-
}
|
|
25
|
-
handleSelectOption(option) {
|
|
26
|
-
this.isOpen = false;
|
|
27
|
-
this.optionSelected.emit(option);
|
|
28
|
-
this.hide();
|
|
29
|
-
}
|
|
30
|
-
// See https://popper.js.org/docs/v2/tutorial/
|
|
31
|
-
// What we're doing here is clearing event listeners when they aren't needed, to increase performance in lists
|
|
32
|
-
showDropdown() {
|
|
33
|
-
var _a, _b;
|
|
34
|
-
this.isOpen = true;
|
|
35
|
-
this.dropdownMenu.setAttribute('data-show', '');
|
|
36
|
-
this.dropdownMenu.removeAttribute('aria-hidden');
|
|
37
|
-
(_a = this.popper) === null || _a === void 0 ? void 0 : _a.setOptions(options => ({
|
|
38
|
-
...options,
|
|
39
|
-
modifiers: [...options.modifiers, { name: 'eventListeners', enabled: true }],
|
|
40
|
-
}));
|
|
41
|
-
(_b = this.popper) === null || _b === void 0 ? void 0 : _b.update();
|
|
42
|
-
}
|
|
43
|
-
handleHideDropdown(e) {
|
|
44
|
-
var _a, _b;
|
|
45
|
-
if (((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.localName) === 'button' && ((_b = e === null || e === void 0 ? void 0 : e.target) === null || _b === void 0 ? void 0 : _b.className) === 'arrow') {
|
|
46
|
-
// This event is fired when a menu element is clicked because the button "loses focus" then too
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
this.hide();
|
|
50
|
-
}
|
|
51
|
-
toggleDropdown() {
|
|
52
|
-
if (this.isOpen) {
|
|
53
|
-
this.hide();
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
this.showDropdown();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
hide() {
|
|
60
|
-
var _a;
|
|
61
|
-
this.isOpen = false;
|
|
62
|
-
this.dropdownMenu.removeAttribute('data-show');
|
|
63
|
-
this.dropdownMenu.setAttribute('aria-hidden', 'true');
|
|
64
|
-
(_a = this.popper) === null || _a === void 0 ? void 0 : _a.setOptions(options => ({
|
|
65
|
-
...options,
|
|
66
|
-
modifiers: [...options.modifiers, { name: 'eventListeners', enabled: false }],
|
|
67
|
-
}));
|
|
68
|
-
}
|
|
69
|
-
render() {
|
|
70
|
-
var _a;
|
|
71
|
-
return (h(Host, { class: { storybook: !!(window === null || window === void 0 ? void 0 : window['STORYBOOK_ENV']), open: !!this.isOpen } }, h("button", { class: "arrow", innerHTML: SortDown, "aria-label": "Open Menu", onClick: () => this.toggleDropdown(), onBlur: e => this.handleHideDropdown(e), ref: el => (this.dropdownButton = el) }), h("div", { class: "items", "aria-hidden": !this.open, ref: el => (this.dropdownMenu = el) }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("button", { onClick: () => this.handleSelectOption(option), class: "option", disabled: option.disabled }, option.label))))));
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
VerdocsDropdown.style = verdocsDropdownCss;
|
|
75
|
-
|
|
76
|
-
export { VerdocsDropdown as verdocs_dropdown };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, f as Host } from './index-ddbd60b5.js';
|
|
2
|
-
|
|
3
|
-
const Paperclip = `<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
4
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13" />
|
|
5
|
-
</svg>
|
|
6
|
-
`;
|
|
7
|
-
|
|
8
|
-
const verdocsFieldAttachmentCss = "verdocs-field-attachment{font-family:sans-serif;font-family:var(--verdocs-font);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 var(--verdocs-required-color)}verdocs-field-attachment.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}";
|
|
9
|
-
|
|
10
|
-
const VerdocsFieldAttachment = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.fieldChange = createEvent(this, "fieldChange", 7);
|
|
14
|
-
/**
|
|
15
|
-
* Sets the tabIndex of the input element.
|
|
16
|
-
*/
|
|
17
|
-
this.order = 1;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the value of the input element.
|
|
20
|
-
*/
|
|
21
|
-
this.value = '';
|
|
22
|
-
/**
|
|
23
|
-
* If true, the field will be marked required.
|
|
24
|
-
*/
|
|
25
|
-
this.required = false;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the disabled attribute of the input element.
|
|
28
|
-
*/
|
|
29
|
-
this.disabled = false;
|
|
30
|
-
}
|
|
31
|
-
async focusField() {
|
|
32
|
-
this.handleShow();
|
|
33
|
-
}
|
|
34
|
-
handleShow() {
|
|
35
|
-
this.dialog = document.createElement('verdocs-upload-dialog');
|
|
36
|
-
this.dialog.open = true;
|
|
37
|
-
this.dialog.addEventListener('cancel', () => {
|
|
38
|
-
var _a;
|
|
39
|
-
console.log('cancel');
|
|
40
|
-
(_a = this.dialog) === null || _a === void 0 ? void 0 : _a.remove();
|
|
41
|
-
});
|
|
42
|
-
document.addEventListener('done', e => {
|
|
43
|
-
var _a;
|
|
44
|
-
console.log('done', e);
|
|
45
|
-
(_a = this.dialog) === null || _a === void 0 ? void 0 : _a.remove();
|
|
46
|
-
});
|
|
47
|
-
document.body.append(this.dialog);
|
|
48
|
-
}
|
|
49
|
-
render() {
|
|
50
|
-
return (h(Host, { class: { required: this.required } }, h("span", { innerHTML: Paperclip, onClick: () => this.handleShow() })));
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
VerdocsFieldAttachment.style = verdocsFieldAttachmentCss;
|
|
54
|
-
|
|
55
|
-
export { VerdocsFieldAttachment as verdocs_field_attachment };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, f as Host } from './index-ddbd60b5.js';
|
|
2
|
-
|
|
3
|
-
const verdocsFieldCheckboxCss = "@charset \"UTF-8\";verdocs-field-checkbox{font-family:sans-serif;font-family:var(--verdocs-font);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
|
-
|
|
5
|
-
const VerdocsFieldCheckbox = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.fieldChange = createEvent(this, "fieldChange", 7);
|
|
9
|
-
/**
|
|
10
|
-
* Sets the tabIndex of the input element.
|
|
11
|
-
*/
|
|
12
|
-
this.order = 1;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the value of the input element.
|
|
15
|
-
*/
|
|
16
|
-
this.value = false;
|
|
17
|
-
/**
|
|
18
|
-
* If true, the field will be marked required.
|
|
19
|
-
*/
|
|
20
|
-
this.required = false;
|
|
21
|
-
/**
|
|
22
|
-
* Sets the disabled attribute of the input element.
|
|
23
|
-
*/
|
|
24
|
-
this.disabled = false;
|
|
25
|
-
}
|
|
26
|
-
handleChange(e) {
|
|
27
|
-
this.fieldChange.emit(e.target.checked);
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
return (h(Host, { class: { required: this.required } }, h("label", null, h("input", { type: "checkbox", tabIndex: this.order, checked: this.value, disabled: this.disabled, required: this.required, onChange: e => this.handleChange(e) }), h("span", null))));
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
VerdocsFieldCheckbox.style = verdocsFieldCheckboxCss;
|
|
34
|
-
|
|
35
|
-
export { VerdocsFieldCheckbox as verdocs_field_checkbox };
|