legalesign-document-viewer 0.3.9 → 0.4.1
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/loader.cjs.js +1 -1
- package/dist/cjs/ls-compose-manager.cjs.entry.js +2 -2
- package/dist/cjs/{ls-document-options_42.cjs.entry.js → ls-document-options_45.cjs.entry.js} +273 -159
- package/dist/cjs/ls-document-options_45.cjs.entry.js.map +1 -0
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ls-formfield.cjs.entry.js +2 -2
- package/dist/cjs/ls-number-input_5.cjs.entry.js +6 -6
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.js +2 -2
- package/dist/collection/components/ls-document-viewer/keyHandlers.js +5 -0
- package/dist/collection/components/ls-document-viewer/keyHandlers.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +55 -10
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +93 -115
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/mouseHandlers.js +1 -1
- package/dist/collection/components/ls-document-viewer/mouseHandlers.js.map +1 -1
- package/dist/collection/components/ls-editor-table/ls-editor-table.js +1 -1
- package/dist/collection/components/ls-feature-column/ls-feature-column.js +14 -8
- package/dist/collection/components/ls-feature-column/ls-feature-column.js.map +1 -1
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.js +2 -2
- package/dist/collection/components/ls-field-content/ls-field-content.js +2 -2
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +1 -1
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +5 -5
- package/dist/collection/components/ls-field-footer/ls-field-footer.js +1 -1
- package/dist/collection/components/ls-field-format/ls-field-format.js +11 -11
- package/dist/collection/components/ls-field-placement/ls-field-placement.js +1 -1
- package/dist/collection/components/ls-field-properties/ls-field-properties.js +1 -1
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +2 -2
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js +1 -1
- package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.js +1 -1
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +1 -1
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js +1 -1
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +1 -1
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +1 -1
- package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +1 -1
- package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js +1 -1
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +3 -3
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +1 -1
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +1 -1
- package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +1 -1
- package/dist/collection/components/ls-field-size/ls-field-size.js +1 -1
- package/dist/collection/components/ls-field-type-display/ls-field-type-display.js +3 -3
- package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +2 -2
- package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +1 -1
- package/dist/collection/components/ls-formfield/ls-formfield.js +2 -2
- package/dist/collection/components/ls-helper-bar/ls-helper-bar.js +2 -2
- package/dist/collection/components/ls-icon/ls-icon.js +22 -1
- package/dist/collection/components/ls-icon/ls-icon.js.map +1 -1
- package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js +1 -1
- package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.js +1 -1
- package/dist/collection/components/ls-page-loader/ls-page-loader.js +2 -2
- package/dist/collection/components/ls-participant-card/ls-participant-card.js +8 -8
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +2 -2
- package/dist/collection/components/ls-participant-select/ls-participant-select.js +9 -9
- package/dist/collection/components/ls-participant-select/ls-participant-select.js.map +1 -1
- package/dist/collection/components/ls-props-section/ls-props-section.js +1 -1
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.css +449 -0
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +203 -0
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.css +29 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +19 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js.map +1 -0
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -3
- package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
- package/dist/collection/components/ls-toolbar/ls-toolbar.js.map +1 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.css +11 -0
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +25 -4
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js.map +1 -1
- package/dist/collection/components/ls-tooltip/ls-tooltip.js +1 -1
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.css +159 -0
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +64 -0
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js.map +1 -0
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.css +90 -1
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +26 -1
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/types/LSApiRecipient.js +2 -0
- package/dist/collection/types/LSApiRecipient.js.map +1 -0
- package/dist/components/ls-compose-manager.js +2 -2
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +174 -157
- package/dist/components/ls-document-viewer.js.map +1 -1
- package/dist/components/ls-editor-field.js +1 -1
- package/dist/components/ls-editor-table.js +1 -1
- package/dist/components/ls-feature-column.js +1 -1
- package/dist/components/ls-field-alignment.js +1 -1
- package/dist/components/ls-field-content.js +1 -1
- package/dist/components/ls-field-dimensions.js +1 -1
- package/dist/components/ls-field-distribute.js +1 -1
- package/dist/components/ls-field-footer.js +1 -1
- package/dist/components/ls-field-format.js +1 -1
- package/dist/components/ls-field-placement.js +1 -1
- package/dist/components/ls-field-properties-advanced.js +1 -1
- package/dist/components/ls-field-properties-autosign.js +1 -1
- package/dist/components/ls-field-properties-container.js +1 -1
- package/dist/components/ls-field-properties-date.js +1 -1
- package/dist/components/ls-field-properties-dropdown.js +14 -14
- package/dist/components/ls-field-properties-email.js +1 -1
- package/dist/components/ls-field-properties-file.js +1 -1
- package/dist/components/ls-field-properties-general.js +1 -1
- package/dist/components/ls-field-properties-image.js +1 -1
- package/dist/components/ls-field-properties-multiple.js +1 -1
- package/dist/components/ls-field-properties-number.js +1 -1
- package/dist/components/ls-field-properties-signature.js +1 -1
- package/dist/components/ls-field-properties-text.js +1 -1
- package/dist/components/ls-field-properties.js +1 -1
- package/dist/components/ls-field-size.js +1 -1
- package/dist/components/ls-field-type-display.js +1 -1
- package/dist/components/ls-formfield.js +8 -8
- package/dist/components/ls-helper-bar.js +1 -1
- package/dist/components/ls-icon.js +1 -1
- package/dist/components/ls-input-wrapper.js +1 -1
- package/dist/components/ls-keyboard-shortcuts.js +1 -1
- package/dist/components/ls-number-input.js +1 -1
- package/dist/components/ls-page-loader.js +1 -1
- package/dist/components/ls-participant-card.js +1 -1
- package/dist/components/ls-participant-manager.js +1 -1
- package/dist/components/ls-participant-select.js +1 -1
- package/dist/components/ls-props-section.js +1 -1
- package/dist/components/ls-radio-input.js +1 -1
- package/dist/components/ls-recipient-card.d.ts +11 -0
- package/dist/components/ls-recipient-card.js +9 -0
- package/dist/components/ls-recipient-card.js.map +1 -0
- package/dist/components/ls-recipient-manager.d.ts +11 -0
- package/dist/components/ls-recipient-manager.js +9 -0
- package/dist/components/ls-recipient-manager.js.map +1 -0
- package/dist/components/ls-select-input.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/ls-text-input.js +1 -1
- package/dist/components/ls-textarea-input.js +1 -1
- package/dist/components/ls-toggle.js +1 -1
- package/dist/components/ls-toolbar.js +1 -1
- package/dist/components/ls-toolbox-field.js +1 -1
- package/dist/components/ls-tooltip.js +1 -1
- package/dist/components/ls-validation-manager.d.ts +11 -0
- package/dist/components/ls-validation-manager.js +9 -0
- package/dist/components/ls-validation-manager.js.map +1 -0
- package/dist/components/ls-validation-tag.js +1 -1
- package/dist/components/{p-qx-naHxz.js → p-9pxwrFws.js} +4 -4
- package/dist/components/{p-qx-naHxz.js.map → p-9pxwrFws.js.map} +1 -1
- package/dist/components/{p-BsPqJYcs.js → p-AZOh1kUH.js} +16 -16
- package/dist/components/{p-BsPqJYcs.js.map → p-AZOh1kUH.js.map} +1 -1
- package/dist/components/{p-CEc76IM2.js → p-B-j9D08q.js} +4 -4
- package/dist/components/{p-CEc76IM2.js.map → p-B-j9D08q.js.map} +1 -1
- package/dist/components/{p-DLxAjAd4.js → p-B2TUFMT0.js} +5 -5
- package/dist/components/{p-DLxAjAd4.js.map → p-B2TUFMT0.js.map} +1 -1
- package/dist/components/{p-CNX4llIr.js → p-B3axAGVs.js} +4 -4
- package/dist/components/{p-CNX4llIr.js.map → p-B3axAGVs.js.map} +1 -1
- package/dist/components/{p-sPfD2vzy.js → p-BHQ0WY5x.js} +10 -10
- package/dist/components/{p-sPfD2vzy.js.map → p-BHQ0WY5x.js.map} +1 -1
- package/dist/components/{p-Djqb_4PL.js → p-BUfnTaTZ.js} +6 -6
- package/dist/components/{p-Djqb_4PL.js.map → p-BUfnTaTZ.js.map} +1 -1
- package/dist/components/{p-DzKH0pD-.js → p-BiG71xua.js} +29 -29
- package/dist/components/{p-DzKH0pD-.js.map → p-BiG71xua.js.map} +1 -1
- package/dist/components/{p-4H4163T0.js → p-BmIVpWDh.js} +16 -16
- package/dist/components/{p-4H4163T0.js.map → p-BmIVpWDh.js.map} +1 -1
- package/dist/components/{p-Bv1FixGj.js → p-BooZeojy.js} +10 -10
- package/dist/components/{p-Bv1FixGj.js.map → p-BooZeojy.js.map} +1 -1
- package/dist/components/{p-BeVxOHJR.js → p-BvGLH5NQ.js} +16 -16
- package/dist/components/{p-BeVxOHJR.js.map → p-BvGLH5NQ.js.map} +1 -1
- package/dist/components/{p-yu8Gmj9y.js → p-BzY8ubZE.js} +5 -5
- package/dist/components/{p-yu8Gmj9y.js.map → p-BzY8ubZE.js.map} +1 -1
- package/dist/components/p-C8TAonIH.js +71 -0
- package/dist/components/p-C8TAonIH.js.map +1 -0
- package/dist/components/{p-BXwz1IB9.js → p-CIoxINZp.js} +3 -3
- package/dist/components/{p-BXwz1IB9.js.map → p-CIoxINZp.js.map} +1 -1
- package/dist/components/{p-DkCVXmg3.js → p-CNc1l7mG.js} +9 -9
- package/dist/components/{p-DkCVXmg3.js.map → p-CNc1l7mG.js.map} +1 -1
- package/dist/components/{p-h0r-SdI7.js → p-CTGwIImt.js} +4 -4
- package/dist/components/{p-h0r-SdI7.js.map → p-CTGwIImt.js.map} +1 -1
- package/dist/components/p-CTP4wFFE.js +105 -0
- package/dist/components/p-CTP4wFFE.js.map +1 -0
- package/dist/components/{p-C_ajTjBp.js → p-CUXWZqch.js} +10 -10
- package/dist/components/{p-C_ajTjBp.js.map → p-CUXWZqch.js.map} +1 -1
- package/dist/components/{p-CfRbrh3V.js → p-CXoPln5K.js} +16 -16
- package/dist/components/{p-CfRbrh3V.js.map → p-CXoPln5K.js.map} +1 -1
- package/dist/components/{p-DfYmuFSx.js → p-CaBVuofO.js} +3 -3
- package/dist/components/{p-DfYmuFSx.js.map → p-CaBVuofO.js.map} +1 -1
- package/dist/components/{p-BNC69LYf.js → p-CdFJ_FQz.js} +13 -13
- package/dist/components/{p-BNC69LYf.js.map → p-CdFJ_FQz.js.map} +1 -1
- package/dist/components/{p-BCoqHTq9.js → p-Cqxe6wZe.js} +6 -6
- package/dist/components/{p-BCoqHTq9.js.map → p-Cqxe6wZe.js.map} +1 -1
- package/dist/components/{p-DZPnGx2N.js → p-CrVSg3t4.js} +4 -4
- package/dist/components/{p-DZPnGx2N.js.map → p-CrVSg3t4.js.map} +1 -1
- package/dist/components/p-CrXwf_vC.js +134 -0
- package/dist/components/p-CrXwf_vC.js.map +1 -0
- package/dist/components/{p-CWfyjOto.js → p-CtV1B-_5.js} +5 -3
- package/dist/components/p-CtV1B-_5.js.map +1 -0
- package/dist/components/{p-IlkS4czy.js → p-CuyjSEEv.js} +14 -8
- package/dist/components/p-CuyjSEEv.js.map +1 -0
- package/dist/components/{p-C4YY0EyH.js → p-D-U9fbV-.js} +8 -8
- package/dist/components/{p-C4YY0EyH.js.map → p-D-U9fbV-.js.map} +1 -1
- package/dist/components/{p-BKPLevlT.js → p-D-yItxA4.js} +3 -3
- package/dist/components/{p-BKPLevlT.js.map → p-D-yItxA4.js.map} +1 -1
- package/dist/components/{p-XkANRt3Q.js → p-DC0HL60H.js} +3 -3
- package/dist/components/{p-XkANRt3Q.js.map → p-DC0HL60H.js.map} +1 -1
- package/dist/components/{p-CWMW0nzH.js → p-DCZnqvsu.js} +5 -5
- package/dist/components/{p-CWMW0nzH.js.map → p-DCZnqvsu.js.map} +1 -1
- package/dist/components/{p-BvIKgXkH.js → p-DGuG1Bmj.js} +6 -6
- package/dist/components/{p-BvIKgXkH.js.map → p-DGuG1Bmj.js.map} +1 -1
- package/dist/components/{p-Dk00ccBn.js → p-DKcMRnoh.js} +3 -3
- package/dist/components/{p-Dk00ccBn.js.map → p-DKcMRnoh.js.map} +1 -1
- package/dist/components/{p-Wuj0cujc.js → p-DMgdq7Zj.js} +12 -12
- package/dist/components/{p-Wuj0cujc.js.map → p-DMgdq7Zj.js.map} +1 -1
- package/dist/components/{p-sqcHMrnp.js → p-DPVPaPb1.js} +3 -3
- package/dist/components/{p-sqcHMrnp.js.map → p-DPVPaPb1.js.map} +1 -1
- package/dist/components/{p-IpGJwBtp.js → p-DUBoFEsx.js} +7 -7
- package/dist/components/p-DUBoFEsx.js.map +1 -0
- package/dist/components/p-DVtr8lsT.js +34 -0
- package/dist/components/p-DVtr8lsT.js.map +1 -0
- package/dist/components/{p-Ci_0K9c7.js → p-DYB1QfP2.js} +16 -16
- package/dist/components/{p-Ci_0K9c7.js.map → p-DYB1QfP2.js.map} +1 -1
- package/dist/components/{p-CdEPt9fv.js → p-DZ_KhOns.js} +7 -7
- package/dist/components/{p-CdEPt9fv.js.map → p-DZ_KhOns.js.map} +1 -1
- package/dist/components/{p-CVPhyCct.js → p-DrfpABSq.js} +16 -16
- package/dist/components/{p-CVPhyCct.js.map → p-DrfpABSq.js.map} +1 -1
- package/dist/components/p-G8kF15oY.js +67 -0
- package/dist/components/p-G8kF15oY.js.map +1 -0
- package/dist/components/{p-C7ohAVHE.js → p-HB8K0xP0.js} +5 -5
- package/dist/components/{p-C7ohAVHE.js.map → p-HB8K0xP0.js.map} +1 -1
- package/dist/components/{p-DWIo_K0q.js → p-Ji_SfsNu.js} +4 -4
- package/dist/components/{p-DWIo_K0q.js.map → p-Ji_SfsNu.js.map} +1 -1
- package/dist/components/{p-gE1FA92I.js → p-NoKw4xu7.js} +4 -4
- package/dist/components/{p-gE1FA92I.js.map → p-NoKw4xu7.js.map} +1 -1
- package/dist/components/{p-Dq55j0vn.js → p-R3_FOlEq.js} +5 -5
- package/dist/components/{p-Dq55j0vn.js.map → p-R3_FOlEq.js.map} +1 -1
- package/dist/components/{p-B52ZaCFy.js → p-U9xqUgfL.js} +16 -16
- package/dist/components/{p-B52ZaCFy.js.map → p-U9xqUgfL.js.map} +1 -1
- package/dist/components/{p-CciiwtyT.js → p-cwpKMDgH.js} +15 -15
- package/dist/components/{p-CciiwtyT.js.map → p-cwpKMDgH.js.map} +1 -1
- package/dist/components/{p-BwSi2pdQ.js → p-jBcf1cHz.js} +16 -16
- package/dist/components/{p-BwSi2pdQ.js.map → p-jBcf1cHz.js.map} +1 -1
- package/dist/components/{p-DTIdDV9R.js → p-qC7H9a3g.js} +16 -16
- package/dist/components/{p-DTIdDV9R.js.map → p-qC7H9a3g.js.map} +1 -1
- package/dist/components/{p-DKbeIqEX.js → p-raaSYxtA.js} +4 -4
- package/dist/components/{p-DKbeIqEX.js.map → p-raaSYxtA.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-compose-manager.entry.js +2 -2
- package/dist/esm/{ls-document-options_42.entry.js → ls-document-options_45.entry.js} +271 -160
- package/dist/esm/ls-document-options_45.entry.js.map +1 -0
- package/dist/esm/ls-document-viewer.js +1 -1
- package/dist/esm/ls-field-properties-dropdown.entry.js +1 -1
- package/dist/esm/ls-formfield.entry.js +2 -2
- package/dist/esm/ls-number-input_5.entry.js +6 -6
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/{p-76fe67f1.entry.js → p-350754cb.entry.js} +2 -2
- package/dist/ls-document-viewer/p-3a4da534.entry.js +2 -0
- package/dist/ls-document-viewer/p-3c5fa1d7.entry.js +2 -0
- package/dist/ls-document-viewer/{p-e3e44b3b.entry.js → p-ad86fa96.entry.js} +5 -5
- package/dist/ls-document-viewer/p-ad86fa96.entry.js.map +1 -0
- package/dist/ls-document-viewer/{p-14049937.entry.js → p-fbb241f1.entry.js} +2 -2
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +6 -15
- package/dist/types/components/ls-feature-column/ls-feature-column.d.ts +2 -2
- package/dist/types/components/ls-icon/ls-icon.d.ts +1 -0
- package/dist/types/components/ls-recipient-card/ls-recipient-card.d.ts +25 -0
- package/dist/types/components/ls-recipient-manager/ls-recipient-manager.d.ts +3 -0
- package/dist/types/components/ls-toolbox-field/ls-toolbox-field.d.ts +1 -0
- package/dist/types/components/ls-validation-manager/ls-validation-manager.d.ts +9 -0
- package/dist/types/components/ls-validation-tag/ls-validation-tag.d.ts +1 -0
- package/dist/types/components.d.ts +151 -50
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/LSApiRecipient.d.ts +8 -0
- package/package.json +1 -1
- package/dist/cjs/ls-document-options_42.cjs.entry.js.map +0 -1
- package/dist/components/p-BmEXSmLf.js +0 -61
- package/dist/components/p-BmEXSmLf.js.map +0 -1
- package/dist/components/p-CWfyjOto.js.map +0 -1
- package/dist/components/p-IlkS4czy.js.map +0 -1
- package/dist/components/p-IpGJwBtp.js.map +0 -1
- package/dist/components/p-ss92nJ6D.js +0 -132
- package/dist/components/p-ss92nJ6D.js.map +0 -1
- package/dist/esm/ls-document-options_42.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-20ab7965.entry.js +0 -2
- package/dist/ls-document-viewer/p-7f4adac4.entry.js +0 -2
- package/dist/ls-document-viewer/p-e3e44b3b.entry.js.map +0 -1
- /package/dist/ls-document-viewer/{p-76fe67f1.entry.js.map → p-350754cb.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-20ab7965.entry.js.map → p-3a4da534.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-7f4adac4.entry.js.map → p-3c5fa1d7.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-14049937.entry.js.map → p-fbb241f1.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as n,h as t}from"./p-BzcAlD18.js";const l="* {\n box-sizing: border-box;\n margin: 0;\n}\n\n.formfield-host {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n width: 100%;\n}\n\n.formfield-top-elements {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0 0.125rem;\n}\n\n.formfield-left-side {\n display: flex;\n align-items: center;\n width: 100%;\n gap: 0.5rem;\n\n ls-icon {\n color: var(--gray-80, #787A80);\n }\n\n .formfield-label {\n color: var(--gray-100, #45484D);\n /* text-base/leading-6/font-medium */\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.5rem; /* 150% */\n }\n}\n\n.formfield-bottom-elements {\n position: relative;\n min-height: 1rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n height: fit-content;\n padding: 0 0.125rem;\n}\n\n.formfield-description-text {\n color: var(--Grey-80, #6C6E73);\n width: 100%;\n /* text-xs/leading-4/font-light */\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem; /* 133.333% */\n}\n\n.formfield-error-text {\n color: var(--red-70, #DC2721);\n width: 100%;\n /* text-xs/leading-4/font-light */\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem; /* 133.333% */\n}\n\n.formfield-count-container {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n gap: 0.125rem;\n align-items: center;\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem; /* 133.333% */\n text-align: right;\n}\n\n.formfield-count {\n display: flex;\n align-items: center;\n color: var(--Grey-70, #6C6E73);\n gap: 0.125rem;\n}\n\n.formfield-count-error {\n display: flex;\n align-items: center;\n gap: 0.125rem;\n color: var(--red-70, #DC2721);\n}\n\n\n";const i=class{constructor(t){e(this,t);this.valueChange=n(this,"valueChange")}name;fieldId;label;as="text";value;placeholder;descriptionText;errorText;aria;inputRef;infoTooltipText;hoverTooltipText;disabled;extraLabel="none";required;valid;dirty;count;countMax;buttonClick;buttonIcon;labelIcon;fieldIcon;valueChange;changeHandler(e){this.valueChange.emit(e)}_value;valueWatcher(e){this._value=e;console.log(e)}componentWillLoad(){this.valueWatcher(this?.value?.toString())}render(){const{name:e,fieldId:n,label:l,as:i,value:a,placeholder:o,descriptionText:r,errorText:d,aria:c,infoTooltipText:
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as n,h as t}from"./p-BzcAlD18.js";const l="* {\n box-sizing: border-box;\n margin: 0;\n}\n\n.formfield-host {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n width: 100%;\n}\n\n.formfield-top-elements {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0 0.125rem;\n}\n\n.formfield-left-side {\n display: flex;\n align-items: center;\n width: 100%;\n gap: 0.5rem;\n\n ls-icon {\n color: var(--gray-80, #787A80);\n }\n\n .formfield-label {\n color: var(--gray-100, #45484D);\n /* text-base/leading-6/font-medium */\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.5rem; /* 150% */\n }\n}\n\n.formfield-bottom-elements {\n position: relative;\n min-height: 1rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n height: fit-content;\n padding: 0 0.125rem;\n}\n\n.formfield-description-text {\n color: var(--Grey-80, #6C6E73);\n width: 100%;\n /* text-xs/leading-4/font-light */\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem; /* 133.333% */\n}\n\n.formfield-error-text {\n color: var(--red-70, #DC2721);\n width: 100%;\n /* text-xs/leading-4/font-light */\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem; /* 133.333% */\n}\n\n.formfield-count-container {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n gap: 0.125rem;\n align-items: center;\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem; /* 133.333% */\n text-align: right;\n}\n\n.formfield-count {\n display: flex;\n align-items: center;\n color: var(--Grey-70, #6C6E73);\n gap: 0.125rem;\n}\n\n.formfield-count-error {\n display: flex;\n align-items: center;\n gap: 0.125rem;\n color: var(--red-70, #DC2721);\n}\n\n\n";const i=class{constructor(t){e(this,t);this.valueChange=n(this,"valueChange")}name;fieldId;label;as="text";value;placeholder;descriptionText;errorText;aria;inputRef;infoTooltipText;hoverTooltipText;disabled;extraLabel="none";required;valid;dirty;count;countMax;buttonClick;buttonIcon;labelIcon;fieldIcon;valueChange;changeHandler(e){this.valueChange.emit(e)}_value;valueWatcher(e){this._value=e;console.log(e)}componentWillLoad(){this.valueWatcher(this?.value?.toString())}render(){const{name:e,fieldId:n,label:l,as:i,value:a,placeholder:o,descriptionText:r,errorText:d,aria:c,infoTooltipText:f,disabled:s,extraLabel:b,valid:u,dirty:m,count:p,countMax:h,buttonClick:x,buttonIcon:y,fieldIcon:g,labelIcon:v}=this;const I=a&&a.toString().length>h?"formfield-count-error":"formfield-count";return t("host",{key:"abb10c40dccbc1df9073bb8135933b50c7addf3f",class:"formfield-host"},l?.length>1||b!=="none"&&t("div",{key:"b8f8cec278fc8b3e224dd4d4cb2a7e3381f1fc53",class:"formfield-top-elements"},t("div",{key:"090b6ce8001334d8ea27ee503bb80abdb4458765",class:"formfield-left-side"},v&&t("ls-icon",{key:"ae0d3022a53947e3948deeb160b1922f9532f662",name:v}),t("label",{key:"63dfbcd3acfd52aa6f977755734071b320ffe717",htmlFor:e,class:"formfield-label"},l),f&&t("ls-icon",{key:"266a2155a80ccc3e51d5474896fc2250964dff1e",name:"information-circle"})),b==="optional"?t("ls-label",{text:"Optional",colour:"gray",type:"low"}):b==="required"?t("ls-label",{text:"Required",colour:"gray",type:"low"}):""),i==="text"?t("ls-text-input",{id:n,name:e,value:a?.toString(),countMax:h,placeholder:o,"aria-label":c,required:b==="required",disabled:s,valid:u,dirty:m,buttonIcon:y,buttonClick:x,fieldIcon:g,onValueChange:e=>{this.changeHandler(e.detail)}}):i==="select"?t("ls-select-input",{id:e,name:e,"aria-label":c,required:b==="required",disabled:s,valid:u,dirty:m,buttonIcon:y,buttonClick:x,fieldIcon:g},t("slot",null)):i==="radio"?t("ls-radio-input",{radioId:l,label:a?.toString(),icon:g,name:e,disabled:s}):i==="textarea"?t("ls-textarea-input",{id:e,name:e,value:a?.toString(),countMax:h,placeholder:o,"aria-label":c,required:b==="required",disabled:s,valid:u,dirty:m,buttonIcon:y,buttonClick:x,fieldIcon:g}):i==="password"?t("ls-text-input",{type:"password",id:e,name:e,value:a?.toString(),countMax:h,placeholder:o,"aria-label":c,required:b==="required",disabled:s,valid:u,dirty:m,buttonIcon:y,buttonClick:x,fieldIcon:g}):i==="displayonly"?t("ls-text-input",{type:"displayonly",id:e,name:e,value:a?.toString(),countMax:h,placeholder:o,"aria-label":c,required:b==="required",disabled:s,valid:u,dirty:m,buttonIcon:y,buttonClick:x,fieldIcon:g}):i==="number"?t("ls-number-input",{type:"ls",id:e,name:e,value:Number(a),countMax:h,placeholder:o,"aria-label":c,required:b==="required",disabled:s,valid:u,dirty:m,buttonIcon:y,buttonClick:x,fieldIcon:g}):t("p",null,"placeholder"),d||p||h||r&&t("div",{key:"cc8ffdb0f955baab2627011dc3ce756d9f3fb755",class:"formfield-bottom-elements"},d&&!u?t("p",{class:"formfield-error-text"},d):r?t("p",{class:"formfield-description-text"},r):"",p&&t("div",{key:"b6d2515988fe6022fbc5dbf353650ad03fa06ed0",class:"formfield-count-container"},t("p",{key:"ac29508788d292a28e13a88f2dfd0f97bfc54120",class:I},a?.toString()?.length),h>0&&t("div",{key:"c6da1cc6b8e8970326344ccc37fc7055c36603c7",class:I},t("p",{key:"68250a9de3633f0a9d0f64006016663d5e4f9414"},"/"),t("p",{key:"4c541ba2dff8b2cdbc9b49830ed46e871cc2bd1f"},h)))))}static get watchers(){return{value:["valueWatcher"]}}};i.style=l;export{i as ls_formfield};
|
|
2
|
+
//# sourceMappingURL=p-fbb241f1.entry.js.map
|
|
@@ -59,10 +59,11 @@ export declare class LsDocumentViewer {
|
|
|
59
59
|
*/
|
|
60
60
|
templateid: string;
|
|
61
61
|
/**
|
|
62
|
-
* A JSON string containing the
|
|
62
|
+
* A JSON string containing the recipient details. Only used in COMPOSE mode.
|
|
63
63
|
* {string}
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
recipients: string;
|
|
66
|
+
_recipients: any[];
|
|
66
67
|
zoom: number;
|
|
67
68
|
pageNum: number;
|
|
68
69
|
pageCount: number;
|
|
@@ -80,12 +81,11 @@ export declare class LsDocumentViewer {
|
|
|
80
81
|
*/
|
|
81
82
|
mode: 'preview' | 'editor' | 'compose';
|
|
82
83
|
modeHandler(_newMode: any, _oldMode: any): void;
|
|
83
|
-
tableViewHandler(_newMode: any, _oldMode: any): void;
|
|
84
84
|
/**
|
|
85
85
|
* Determines / sets which of the far left 'managers' is active.
|
|
86
86
|
* {'document' | 'toolbox' | 'participant' }
|
|
87
87
|
*/
|
|
88
|
-
manager: 'document' | 'toolbox' | 'participant';
|
|
88
|
+
manager: 'document' | 'toolbox' | 'participant' | 'recipient' | 'validation';
|
|
89
89
|
/**
|
|
90
90
|
* Shows the table view of fields rather than the preview.
|
|
91
91
|
* {boolean}
|
|
@@ -95,12 +95,7 @@ export declare class LsDocumentViewer {
|
|
|
95
95
|
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list.
|
|
96
96
|
* {string}
|
|
97
97
|
*/
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Whether the top toolbar is displayed.
|
|
101
|
-
* {boolean}
|
|
102
|
-
*/
|
|
103
|
-
showtoolbar?: boolean;
|
|
98
|
+
filtertoolbox?: string;
|
|
104
99
|
/**
|
|
105
100
|
* Whether the bottom statusbar is displayed.
|
|
106
101
|
* {boolean}
|
|
@@ -111,11 +106,6 @@ export declare class LsDocumentViewer {
|
|
|
111
106
|
* {boolean}
|
|
112
107
|
*/
|
|
113
108
|
showpagepreview?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Whether or not the fields list is expanded.
|
|
116
|
-
* {boolean}
|
|
117
|
-
*/
|
|
118
|
-
expandfields?: boolean;
|
|
119
109
|
/**
|
|
120
110
|
* Whether the right panel (which can be default field properties or custom panel) is
|
|
121
111
|
* displayed.
|
|
@@ -145,6 +135,7 @@ export declare class LsDocumentViewer {
|
|
|
145
135
|
type: LSApiRoleType;
|
|
146
136
|
parent?: string | null;
|
|
147
137
|
}>): void;
|
|
138
|
+
updateSigner(event: CustomEvent<number>): void;
|
|
148
139
|
selectFieldsHandler(event: CustomEvent<LSApiElement[]>): void;
|
|
149
140
|
roleHandler(event: CustomEvent<number>): void;
|
|
150
141
|
/**
|
|
@@ -5,13 +5,13 @@ export declare class LsFeatureColoumn {
|
|
|
5
5
|
* Determines / sets which of the far left 'managers' is active.
|
|
6
6
|
* {'document' | 'toolbox' | 'participant' }
|
|
7
7
|
*/
|
|
8
|
-
manager: 'document' | 'toolbox' | 'participant';
|
|
8
|
+
manager: 'document' | 'toolbox' | 'participant' | 'recipient' | 'validation';
|
|
9
9
|
/**
|
|
10
10
|
* The mode that document viewer is being used in.
|
|
11
11
|
* {'preview' | 'editor' | 'custom'}
|
|
12
12
|
*/
|
|
13
13
|
mode: 'preview' | 'editor' | 'compose';
|
|
14
|
-
manage: EventEmitter<'document' | 'toolbox' | 'participant'>;
|
|
14
|
+
manage: EventEmitter<'document' | 'toolbox' | 'participant' | 'recipient' | 'validation'>;
|
|
15
15
|
componentDidLoad(): void;
|
|
16
16
|
render(): any;
|
|
17
17
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { LSApiRecipient } from '../../types/LSApiRecipient';
|
|
3
|
+
import { LSApiTemplate } from '../../components';
|
|
4
|
+
import { ValidationError } from '../../types/ValidationError';
|
|
5
|
+
export declare class LsRecipientCard {
|
|
6
|
+
/**
|
|
7
|
+
* The initial template data, including the link for background PDF. See README and
|
|
8
|
+
* example for correct GraphQL query and data structure.
|
|
9
|
+
* {LSApiTemplate}
|
|
10
|
+
*/
|
|
11
|
+
recipient: LSApiRecipient;
|
|
12
|
+
activeRecipient: number;
|
|
13
|
+
template: LSApiTemplate;
|
|
14
|
+
isHovered: boolean;
|
|
15
|
+
private setIsHovered;
|
|
16
|
+
validationErrors: ValidationError[];
|
|
17
|
+
/**
|
|
18
|
+
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list.
|
|
19
|
+
* {string}
|
|
20
|
+
*/
|
|
21
|
+
filtertoolbox?: string;
|
|
22
|
+
changeSigner: EventEmitter<number>;
|
|
23
|
+
showTool(fieldFormType: string): boolean;
|
|
24
|
+
render(): any;
|
|
25
|
+
}
|
|
@@ -12,6 +12,7 @@ import { Icon as Icon1, LSApiElement as LSApiElement1, LSApiTemplate as LSApiTem
|
|
|
12
12
|
import { LsDocumentViewer } from "./components/ls-document-viewer/ls-document-viewer";
|
|
13
13
|
import { Icon } from "./types/Icon";
|
|
14
14
|
import { LSApiRole, LSApiRoleType } from "./types/LSApiRole";
|
|
15
|
+
import { LSApiRecipient } from "./types/LSApiRecipient";
|
|
15
16
|
import { ValidationError } from "./types/ValidationError";
|
|
16
17
|
export { LSApiTemplate } from "./types/LSApiTemplate";
|
|
17
18
|
export { LSMutateEvent } from "./types/LSMutateEvent";
|
|
@@ -20,6 +21,7 @@ export { Icon as Icon1, LSApiElement as LSApiElement1, LSApiTemplate as LSApiTem
|
|
|
20
21
|
export { LsDocumentViewer } from "./components/ls-document-viewer/ls-document-viewer";
|
|
21
22
|
export { Icon } from "./types/Icon";
|
|
22
23
|
export { LSApiRole, LSApiRoleType } from "./types/LSApiRole";
|
|
24
|
+
export { LSApiRecipient } from "./types/LSApiRecipient";
|
|
23
25
|
export { ValidationError } from "./types/ValidationError";
|
|
24
26
|
export namespace Components {
|
|
25
27
|
interface LsComposeManager {
|
|
@@ -40,6 +42,7 @@ export namespace Components {
|
|
|
40
42
|
* Alex Weinle
|
|
41
43
|
*/
|
|
42
44
|
interface LsDocumentViewer {
|
|
45
|
+
"_recipients": any[];
|
|
43
46
|
/**
|
|
44
47
|
* Shows the table view of fields rather than the preview. {boolean}
|
|
45
48
|
* @default false
|
|
@@ -49,22 +52,17 @@ export namespace Components {
|
|
|
49
52
|
* This will override the default production graphql endpoint. Almost exclusively used for internal development. {string}
|
|
50
53
|
*/
|
|
51
54
|
"endpoint": string;
|
|
52
|
-
/**
|
|
53
|
-
* Whether or not the fields list is expanded. {boolean}
|
|
54
|
-
* @default false
|
|
55
|
-
*/
|
|
56
|
-
"expandfields"?: boolean;
|
|
57
55
|
/**
|
|
58
56
|
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list. {string}
|
|
59
57
|
* @default null
|
|
60
58
|
*/
|
|
61
|
-
"
|
|
59
|
+
"filtertoolbox"?: string;
|
|
62
60
|
"groupInfo": any;
|
|
63
61
|
/**
|
|
64
62
|
* Determines / sets which of the far left 'managers' is active. {'document' | 'toolbox' | 'participant' }
|
|
65
63
|
* @default 'toolbox'
|
|
66
64
|
*/
|
|
67
|
-
"manager": 'document' | 'toolbox' | 'participant';
|
|
65
|
+
"manager": 'document' | 'toolbox' | 'participant' | 'recipient' | 'validation';
|
|
68
66
|
/**
|
|
69
67
|
* An ease of use property that will arrange document-viewer appropraitely. {'preview' | 'editor' | 'custom'}
|
|
70
68
|
* @default 'editor'
|
|
@@ -91,6 +89,10 @@ export namespace Components {
|
|
|
91
89
|
* @default false
|
|
92
90
|
*/
|
|
93
91
|
"readonly"?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* A JSON string containing the recipient details. Only used in COMPOSE mode. {string}
|
|
94
|
+
*/
|
|
95
|
+
"recipients": string;
|
|
94
96
|
/**
|
|
95
97
|
* Page and field resize on zoom change
|
|
96
98
|
*/
|
|
@@ -110,19 +112,10 @@ export namespace Components {
|
|
|
110
112
|
* @default false
|
|
111
113
|
*/
|
|
112
114
|
"showtableview"?: boolean;
|
|
113
|
-
/**
|
|
114
|
-
* Whether the top toolbar is displayed. {boolean}
|
|
115
|
-
* @default false
|
|
116
|
-
*/
|
|
117
|
-
"showtoolbar"?: boolean;
|
|
118
115
|
/**
|
|
119
116
|
* @default 0
|
|
120
117
|
*/
|
|
121
118
|
"signer": number;
|
|
122
|
-
/**
|
|
123
|
-
* A JSON string containing the signer details. Only used in COMPOSE mode. {string}
|
|
124
|
-
*/
|
|
125
|
-
"signers": string;
|
|
126
119
|
/**
|
|
127
120
|
* The initial template data, including the link for background PDF. See README and example for correct GraphQL query and data structure. {LSApiTemplate}
|
|
128
121
|
*/
|
|
@@ -178,7 +171,7 @@ export namespace Components {
|
|
|
178
171
|
* Determines / sets which of the far left 'managers' is active. {'document' | 'toolbox' | 'participant' }
|
|
179
172
|
* @default 'toolbox'
|
|
180
173
|
*/
|
|
181
|
-
"manager": 'document' | 'toolbox' | 'participant';
|
|
174
|
+
"manager": 'document' | 'toolbox' | 'participant'| 'recipient' | 'validation';
|
|
182
175
|
/**
|
|
183
176
|
* The mode that document viewer is being used in. {'preview' | 'editor' | 'custom'}
|
|
184
177
|
* @default 'editor'
|
|
@@ -312,6 +305,10 @@ export namespace Components {
|
|
|
312
305
|
"expanded": boolean;
|
|
313
306
|
}
|
|
314
307
|
interface LsIcon {
|
|
308
|
+
/**
|
|
309
|
+
* @default "#000000"
|
|
310
|
+
*/
|
|
311
|
+
"color"?: string;
|
|
315
312
|
"customStyle"?: { [key: string]: string };
|
|
316
313
|
"name"?: Icon;
|
|
317
314
|
/**
|
|
@@ -413,6 +410,25 @@ export namespace Components {
|
|
|
413
410
|
"name"?: string;
|
|
414
411
|
"radioId": string;
|
|
415
412
|
}
|
|
413
|
+
interface LsRecipientCard {
|
|
414
|
+
"activeRecipient": number;
|
|
415
|
+
/**
|
|
416
|
+
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list. {string}
|
|
417
|
+
* @default null
|
|
418
|
+
*/
|
|
419
|
+
"filtertoolbox"?: string;
|
|
420
|
+
/**
|
|
421
|
+
* The initial template data, including the link for background PDF. See README and example for correct GraphQL query and data structure. {LSApiTemplate}
|
|
422
|
+
*/
|
|
423
|
+
"recipient": LSApiRecipient;
|
|
424
|
+
"template": LSApiTemplate1;
|
|
425
|
+
/**
|
|
426
|
+
* @default []
|
|
427
|
+
*/
|
|
428
|
+
"validationErrors": ValidationError[];
|
|
429
|
+
}
|
|
430
|
+
interface LsRecipientManager {
|
|
431
|
+
}
|
|
416
432
|
interface LsSelectInput {
|
|
417
433
|
"aria"?: string;
|
|
418
434
|
"buttonClick"?: any;
|
|
@@ -526,6 +542,10 @@ export namespace Components {
|
|
|
526
542
|
* The text to display for this field type.
|
|
527
543
|
*/
|
|
528
544
|
"label": string;
|
|
545
|
+
/**
|
|
546
|
+
* @default false
|
|
547
|
+
*/
|
|
548
|
+
"redDot": boolean;
|
|
529
549
|
/**
|
|
530
550
|
* The signer color of the element
|
|
531
551
|
* @default 0
|
|
@@ -554,6 +574,12 @@ export namespace Components {
|
|
|
554
574
|
"tooltipText": string;
|
|
555
575
|
"tooltipTitle": string;
|
|
556
576
|
}
|
|
577
|
+
interface LsValidationManager {
|
|
578
|
+
/**
|
|
579
|
+
* The template information (as JSON). {LSApiTemplate}
|
|
580
|
+
*/
|
|
581
|
+
"validationErrors": ValidationError[];
|
|
582
|
+
}
|
|
557
583
|
interface LsValidationTag {
|
|
558
584
|
/**
|
|
559
585
|
* @default false
|
|
@@ -567,6 +593,10 @@ export namespace Components {
|
|
|
567
593
|
* @default 'Invalid'
|
|
568
594
|
*/
|
|
569
595
|
"status": string;
|
|
596
|
+
/**
|
|
597
|
+
* @default 'default'
|
|
598
|
+
*/
|
|
599
|
+
"type": 'compose' | 'default';
|
|
570
600
|
/**
|
|
571
601
|
* @default []
|
|
572
602
|
*/
|
|
@@ -645,6 +675,10 @@ export interface LsParticipantSelectCustomEvent<T> extends CustomEvent<T> {
|
|
|
645
675
|
detail: T;
|
|
646
676
|
target: HTMLLsParticipantSelectElement;
|
|
647
677
|
}
|
|
678
|
+
export interface LsRecipientCardCustomEvent<T> extends CustomEvent<T> {
|
|
679
|
+
detail: T;
|
|
680
|
+
target: HTMLLsRecipientCardElement;
|
|
681
|
+
}
|
|
648
682
|
export interface LsTextInputCustomEvent<T> extends CustomEvent<T> {
|
|
649
683
|
detail: T;
|
|
650
684
|
target: HTMLLsTextInputElement;
|
|
@@ -737,7 +771,7 @@ declare global {
|
|
|
737
771
|
new (): HTMLLsEditorTableElement;
|
|
738
772
|
};
|
|
739
773
|
interface HTMLLsFeatureColumnElementEventMap {
|
|
740
|
-
"manage": 'document' | 'toolbox' | 'participant';
|
|
774
|
+
"manage": 'document' | 'toolbox' | 'participant' | 'recipient' | 'validation';
|
|
741
775
|
}
|
|
742
776
|
interface HTMLLsFeatureColumnElement extends Components.LsFeatureColumn, HTMLStencilElement {
|
|
743
777
|
addEventListener<K extends keyof HTMLLsFeatureColumnElementEventMap>(type: K, listener: (this: HTMLLsFeatureColumnElement, ev: LsFeatureColumnCustomEvent<HTMLLsFeatureColumnElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1134,6 +1168,29 @@ declare global {
|
|
|
1134
1168
|
prototype: HTMLLsRadioInputElement;
|
|
1135
1169
|
new (): HTMLLsRadioInputElement;
|
|
1136
1170
|
};
|
|
1171
|
+
interface HTMLLsRecipientCardElementEventMap {
|
|
1172
|
+
"changeSigner": number;
|
|
1173
|
+
}
|
|
1174
|
+
interface HTMLLsRecipientCardElement extends Components.LsRecipientCard, HTMLStencilElement {
|
|
1175
|
+
addEventListener<K extends keyof HTMLLsRecipientCardElementEventMap>(type: K, listener: (this: HTMLLsRecipientCardElement, ev: LsRecipientCardCustomEvent<HTMLLsRecipientCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1176
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1177
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1178
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1179
|
+
removeEventListener<K extends keyof HTMLLsRecipientCardElementEventMap>(type: K, listener: (this: HTMLLsRecipientCardElement, ev: LsRecipientCardCustomEvent<HTMLLsRecipientCardElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1180
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1181
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1182
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1183
|
+
}
|
|
1184
|
+
var HTMLLsRecipientCardElement: {
|
|
1185
|
+
prototype: HTMLLsRecipientCardElement;
|
|
1186
|
+
new (): HTMLLsRecipientCardElement;
|
|
1187
|
+
};
|
|
1188
|
+
interface HTMLLsRecipientManagerElement extends Components.LsRecipientManager, HTMLStencilElement {
|
|
1189
|
+
}
|
|
1190
|
+
var HTMLLsRecipientManagerElement: {
|
|
1191
|
+
prototype: HTMLLsRecipientManagerElement;
|
|
1192
|
+
new (): HTMLLsRecipientManagerElement;
|
|
1193
|
+
};
|
|
1137
1194
|
interface HTMLLsSelectInputElement extends Components.LsSelectInput, HTMLStencilElement {
|
|
1138
1195
|
}
|
|
1139
1196
|
var HTMLLsSelectInputElement: {
|
|
@@ -1206,13 +1263,13 @@ declare global {
|
|
|
1206
1263
|
};
|
|
1207
1264
|
interface HTMLLsToolboxFieldElementEventMap {
|
|
1208
1265
|
"fieldTypeSelected": {
|
|
1209
|
-
label: string
|
|
1210
|
-
elementType: string
|
|
1211
|
-
defaultHeight: number
|
|
1212
|
-
defaultWidth: number
|
|
1213
|
-
formElementType: string
|
|
1214
|
-
validation: number
|
|
1215
|
-
fixedAspect: number | null
|
|
1266
|
+
label: string;
|
|
1267
|
+
elementType: string;
|
|
1268
|
+
defaultHeight: number;
|
|
1269
|
+
defaultWidth: number;
|
|
1270
|
+
formElementType: string;
|
|
1271
|
+
validation: number;
|
|
1272
|
+
fixedAspect: number | null;
|
|
1216
1273
|
};
|
|
1217
1274
|
}
|
|
1218
1275
|
interface HTMLLsToolboxFieldElement extends Components.LsToolboxField, HTMLStencilElement {
|
|
@@ -1235,6 +1292,12 @@ declare global {
|
|
|
1235
1292
|
prototype: HTMLLsTooltipElement;
|
|
1236
1293
|
new (): HTMLLsTooltipElement;
|
|
1237
1294
|
};
|
|
1295
|
+
interface HTMLLsValidationManagerElement extends Components.LsValidationManager, HTMLStencilElement {
|
|
1296
|
+
}
|
|
1297
|
+
var HTMLLsValidationManagerElement: {
|
|
1298
|
+
prototype: HTMLLsValidationManagerElement;
|
|
1299
|
+
new (): HTMLLsValidationManagerElement;
|
|
1300
|
+
};
|
|
1238
1301
|
interface HTMLLsValidationTagElement extends Components.LsValidationTag, HTMLStencilElement {
|
|
1239
1302
|
}
|
|
1240
1303
|
var HTMLLsValidationTagElement: {
|
|
@@ -1283,6 +1346,8 @@ declare global {
|
|
|
1283
1346
|
"ls-participant-select": HTMLLsParticipantSelectElement;
|
|
1284
1347
|
"ls-props-section": HTMLLsPropsSectionElement;
|
|
1285
1348
|
"ls-radio-input": HTMLLsRadioInputElement;
|
|
1349
|
+
"ls-recipient-card": HTMLLsRecipientCardElement;
|
|
1350
|
+
"ls-recipient-manager": HTMLLsRecipientManagerElement;
|
|
1286
1351
|
"ls-select-input": HTMLLsSelectInputElement;
|
|
1287
1352
|
"ls-statusbar": HTMLLsStatusbarElement;
|
|
1288
1353
|
"ls-text-input": HTMLLsTextInputElement;
|
|
@@ -1291,6 +1356,7 @@ declare global {
|
|
|
1291
1356
|
"ls-toolbar": HTMLLsToolbarElement;
|
|
1292
1357
|
"ls-toolbox-field": HTMLLsToolboxFieldElement;
|
|
1293
1358
|
"ls-tooltip": HTMLLsTooltipElement;
|
|
1359
|
+
"ls-validation-manager": HTMLLsValidationManagerElement;
|
|
1294
1360
|
"ls-validation-tag": HTMLLsValidationTagElement;
|
|
1295
1361
|
}
|
|
1296
1362
|
}
|
|
@@ -1315,6 +1381,7 @@ declare namespace LocalJSX {
|
|
|
1315
1381
|
* Alex Weinle
|
|
1316
1382
|
*/
|
|
1317
1383
|
interface LsDocumentViewer {
|
|
1384
|
+
"_recipients"?: any[];
|
|
1318
1385
|
/**
|
|
1319
1386
|
* Shows the table view of fields rather than the preview. {boolean}
|
|
1320
1387
|
* @default false
|
|
@@ -1324,22 +1391,17 @@ declare namespace LocalJSX {
|
|
|
1324
1391
|
* This will override the default production graphql endpoint. Almost exclusively used for internal development. {string}
|
|
1325
1392
|
*/
|
|
1326
1393
|
"endpoint"?: string;
|
|
1327
|
-
/**
|
|
1328
|
-
* Whether or not the fields list is expanded. {boolean}
|
|
1329
|
-
* @default false
|
|
1330
|
-
*/
|
|
1331
|
-
"expandfields"?: boolean;
|
|
1332
1394
|
/**
|
|
1333
1395
|
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list. {string}
|
|
1334
1396
|
* @default null
|
|
1335
1397
|
*/
|
|
1336
|
-
"
|
|
1398
|
+
"filtertoolbox"?: string;
|
|
1337
1399
|
"groupInfo"?: any;
|
|
1338
1400
|
/**
|
|
1339
1401
|
* Determines / sets which of the far left 'managers' is active. {'document' | 'toolbox' | 'participant' }
|
|
1340
1402
|
* @default 'toolbox'
|
|
1341
1403
|
*/
|
|
1342
|
-
"manager"?: 'document' | 'toolbox' | 'participant';
|
|
1404
|
+
"manager"?: 'document' | 'toolbox' | 'participant' | 'recipient' | 'validation';
|
|
1343
1405
|
/**
|
|
1344
1406
|
* An ease of use property that will arrange document-viewer appropraitely. {'preview' | 'editor' | 'custom'}
|
|
1345
1407
|
* @default 'editor'
|
|
@@ -1363,6 +1425,10 @@ declare namespace LocalJSX {
|
|
|
1363
1425
|
* @default false
|
|
1364
1426
|
*/
|
|
1365
1427
|
"readonly"?: boolean;
|
|
1428
|
+
/**
|
|
1429
|
+
* A JSON string containing the recipient details. Only used in COMPOSE mode. {string}
|
|
1430
|
+
*/
|
|
1431
|
+
"recipients"?: string;
|
|
1366
1432
|
/**
|
|
1367
1433
|
* Whether the page previewvertical ribbon will be shown {boolean}
|
|
1368
1434
|
* @default false
|
|
@@ -1378,19 +1444,10 @@ declare namespace LocalJSX {
|
|
|
1378
1444
|
* @default false
|
|
1379
1445
|
*/
|
|
1380
1446
|
"showtableview"?: boolean;
|
|
1381
|
-
/**
|
|
1382
|
-
* Whether the top toolbar is displayed. {boolean}
|
|
1383
|
-
* @default false
|
|
1384
|
-
*/
|
|
1385
|
-
"showtoolbar"?: boolean;
|
|
1386
1447
|
/**
|
|
1387
1448
|
* @default 0
|
|
1388
1449
|
*/
|
|
1389
1450
|
"signer"?: number;
|
|
1390
|
-
/**
|
|
1391
|
-
* A JSON string containing the signer details. Only used in COMPOSE mode. {string}
|
|
1392
|
-
*/
|
|
1393
|
-
"signers"?: string;
|
|
1394
1451
|
/**
|
|
1395
1452
|
* The initial template data, including the link for background PDF. See README and example for correct GraphQL query and data structure. {LSApiTemplate}
|
|
1396
1453
|
*/
|
|
@@ -1444,13 +1501,13 @@ declare namespace LocalJSX {
|
|
|
1444
1501
|
* Determines / sets which of the far left 'managers' is active. {'document' | 'toolbox' | 'participant' }
|
|
1445
1502
|
* @default 'toolbox'
|
|
1446
1503
|
*/
|
|
1447
|
-
"manager"?: 'document' | 'toolbox' | 'participant';
|
|
1504
|
+
"manager"?: 'document' | 'toolbox' | 'participant'| 'recipient' | 'validation';
|
|
1448
1505
|
/**
|
|
1449
1506
|
* The mode that document viewer is being used in. {'preview' | 'editor' | 'custom'}
|
|
1450
1507
|
* @default 'editor'
|
|
1451
1508
|
*/
|
|
1452
1509
|
"mode"?: 'preview' | 'editor' | 'compose';
|
|
1453
|
-
"onManage"?: (event: LsFeatureColumnCustomEvent<'document' | 'toolbox' | 'participant'>) => void;
|
|
1510
|
+
"onManage"?: (event: LsFeatureColumnCustomEvent<'document' | 'toolbox' | 'participant' | 'recipient' | 'validation'>) => void;
|
|
1454
1511
|
}
|
|
1455
1512
|
interface LsFieldAlignment {
|
|
1456
1513
|
"dataItem"?: LSApiElement1[];
|
|
@@ -1601,6 +1658,10 @@ declare namespace LocalJSX {
|
|
|
1601
1658
|
"expanded"?: boolean;
|
|
1602
1659
|
}
|
|
1603
1660
|
interface LsIcon {
|
|
1661
|
+
/**
|
|
1662
|
+
* @default "#000000"
|
|
1663
|
+
*/
|
|
1664
|
+
"color"?: string;
|
|
1604
1665
|
"customStyle"?: { [key: string]: string };
|
|
1605
1666
|
"name"?: Icon;
|
|
1606
1667
|
/**
|
|
@@ -1711,6 +1772,26 @@ declare namespace LocalJSX {
|
|
|
1711
1772
|
"name"?: string;
|
|
1712
1773
|
"radioId"?: string;
|
|
1713
1774
|
}
|
|
1775
|
+
interface LsRecipientCard {
|
|
1776
|
+
"activeRecipient"?: number;
|
|
1777
|
+
/**
|
|
1778
|
+
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list. {string}
|
|
1779
|
+
* @default null
|
|
1780
|
+
*/
|
|
1781
|
+
"filtertoolbox"?: string;
|
|
1782
|
+
"onChangeSigner"?: (event: LsRecipientCardCustomEvent<number>) => void;
|
|
1783
|
+
/**
|
|
1784
|
+
* The initial template data, including the link for background PDF. See README and example for correct GraphQL query and data structure. {LSApiTemplate}
|
|
1785
|
+
*/
|
|
1786
|
+
"recipient"?: LSApiRecipient;
|
|
1787
|
+
"template"?: LSApiTemplate1;
|
|
1788
|
+
/**
|
|
1789
|
+
* @default []
|
|
1790
|
+
*/
|
|
1791
|
+
"validationErrors"?: ValidationError[];
|
|
1792
|
+
}
|
|
1793
|
+
interface LsRecipientManager {
|
|
1794
|
+
}
|
|
1714
1795
|
interface LsSelectInput {
|
|
1715
1796
|
"aria"?: string;
|
|
1716
1797
|
"buttonClick"?: any;
|
|
@@ -1829,14 +1910,18 @@ declare namespace LocalJSX {
|
|
|
1829
1910
|
*/
|
|
1830
1911
|
"label"?: string;
|
|
1831
1912
|
"onFieldTypeSelected"?: (event: LsToolboxFieldCustomEvent<{
|
|
1832
|
-
label: string
|
|
1833
|
-
elementType: string
|
|
1834
|
-
defaultHeight: number
|
|
1835
|
-
defaultWidth: number
|
|
1836
|
-
formElementType: string
|
|
1837
|
-
validation: number
|
|
1838
|
-
fixedAspect: number | null
|
|
1913
|
+
label: string;
|
|
1914
|
+
elementType: string;
|
|
1915
|
+
defaultHeight: number;
|
|
1916
|
+
defaultWidth: number;
|
|
1917
|
+
formElementType: string;
|
|
1918
|
+
validation: number;
|
|
1919
|
+
fixedAspect: number | null;
|
|
1839
1920
|
}>) => void;
|
|
1921
|
+
/**
|
|
1922
|
+
* @default false
|
|
1923
|
+
*/
|
|
1924
|
+
"redDot"?: boolean;
|
|
1840
1925
|
/**
|
|
1841
1926
|
* The signer color of the element
|
|
1842
1927
|
* @default 0
|
|
@@ -1864,6 +1949,12 @@ declare namespace LocalJSX {
|
|
|
1864
1949
|
"tooltipText"?: string;
|
|
1865
1950
|
"tooltipTitle"?: string;
|
|
1866
1951
|
}
|
|
1952
|
+
interface LsValidationManager {
|
|
1953
|
+
/**
|
|
1954
|
+
* The template information (as JSON). {LSApiTemplate}
|
|
1955
|
+
*/
|
|
1956
|
+
"validationErrors"?: ValidationError[];
|
|
1957
|
+
}
|
|
1867
1958
|
interface LsValidationTag {
|
|
1868
1959
|
/**
|
|
1869
1960
|
* @default false
|
|
@@ -1877,6 +1968,10 @@ declare namespace LocalJSX {
|
|
|
1877
1968
|
* @default 'Invalid'
|
|
1878
1969
|
*/
|
|
1879
1970
|
"status"?: string;
|
|
1971
|
+
/**
|
|
1972
|
+
* @default 'default'
|
|
1973
|
+
*/
|
|
1974
|
+
"type"?: 'compose' | 'default';
|
|
1880
1975
|
/**
|
|
1881
1976
|
* @default []
|
|
1882
1977
|
*/
|
|
@@ -1924,6 +2019,8 @@ declare namespace LocalJSX {
|
|
|
1924
2019
|
"ls-participant-select": LsParticipantSelect;
|
|
1925
2020
|
"ls-props-section": LsPropsSection;
|
|
1926
2021
|
"ls-radio-input": LsRadioInput;
|
|
2022
|
+
"ls-recipient-card": LsRecipientCard;
|
|
2023
|
+
"ls-recipient-manager": LsRecipientManager;
|
|
1927
2024
|
"ls-select-input": LsSelectInput;
|
|
1928
2025
|
"ls-statusbar": LsStatusbar;
|
|
1929
2026
|
"ls-text-input": LsTextInput;
|
|
@@ -1932,6 +2029,7 @@ declare namespace LocalJSX {
|
|
|
1932
2029
|
"ls-toolbar": LsToolbar;
|
|
1933
2030
|
"ls-toolbox-field": LsToolboxField;
|
|
1934
2031
|
"ls-tooltip": LsTooltip;
|
|
2032
|
+
"ls-validation-manager": LsValidationManager;
|
|
1935
2033
|
"ls-validation-tag": LsValidationTag;
|
|
1936
2034
|
}
|
|
1937
2035
|
}
|
|
@@ -1985,6 +2083,8 @@ declare module "@stencil/core" {
|
|
|
1985
2083
|
"ls-participant-select": LocalJSX.LsParticipantSelect & JSXBase.HTMLAttributes<HTMLLsParticipantSelectElement>;
|
|
1986
2084
|
"ls-props-section": LocalJSX.LsPropsSection & JSXBase.HTMLAttributes<HTMLLsPropsSectionElement>;
|
|
1987
2085
|
"ls-radio-input": LocalJSX.LsRadioInput & JSXBase.HTMLAttributes<HTMLLsRadioInputElement>;
|
|
2086
|
+
"ls-recipient-card": LocalJSX.LsRecipientCard & JSXBase.HTMLAttributes<HTMLLsRecipientCardElement>;
|
|
2087
|
+
"ls-recipient-manager": LocalJSX.LsRecipientManager & JSXBase.HTMLAttributes<HTMLLsRecipientManagerElement>;
|
|
1988
2088
|
"ls-select-input": LocalJSX.LsSelectInput & JSXBase.HTMLAttributes<HTMLLsSelectInputElement>;
|
|
1989
2089
|
"ls-statusbar": LocalJSX.LsStatusbar & JSXBase.HTMLAttributes<HTMLLsStatusbarElement>;
|
|
1990
2090
|
"ls-text-input": LocalJSX.LsTextInput & JSXBase.HTMLAttributes<HTMLLsTextInputElement>;
|
|
@@ -1993,6 +2093,7 @@ declare module "@stencil/core" {
|
|
|
1993
2093
|
"ls-toolbar": LocalJSX.LsToolbar & JSXBase.HTMLAttributes<HTMLLsToolbarElement>;
|
|
1994
2094
|
"ls-toolbox-field": LocalJSX.LsToolboxField & JSXBase.HTMLAttributes<HTMLLsToolboxFieldElement>;
|
|
1995
2095
|
"ls-tooltip": LocalJSX.LsTooltip & JSXBase.HTMLAttributes<HTMLLsTooltipElement>;
|
|
2096
|
+
"ls-validation-manager": LocalJSX.LsValidationManager & JSXBase.HTMLAttributes<HTMLLsValidationManagerElement>;
|
|
1996
2097
|
"ls-validation-tag": LocalJSX.LsValidationTag & JSXBase.HTMLAttributes<HTMLLsValidationTagElement>;
|
|
1997
2098
|
}
|
|
1998
2099
|
}
|
package/dist/types/index.d.ts
CHANGED