legalesign-document-viewer 0.3.9 → 0.4.0
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-f99e5789.entry.js} +5 -5
- package/dist/ls-document-viewer/p-f99e5789.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
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
margin: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.participant-card {
|
|
11
|
+
display: flex;
|
|
12
|
+
padding: 0.75rem;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
gap: 0.5rem;
|
|
16
|
+
align-self: stretch;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dot {
|
|
20
|
+
width: 0.5rem;
|
|
21
|
+
height: 0.5rem;
|
|
22
|
+
background: var(--red-50, #ff706b);
|
|
23
|
+
border-radius: 50%;
|
|
24
|
+
margin-right: 0.25rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.top-card {
|
|
28
|
+
border-radius: 1rem 1rem 0 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.full-card {
|
|
32
|
+
border-radius: 1.5rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.bottom-card {
|
|
36
|
+
border-radius: 0 0 1rem 1rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.participant-card-inner {
|
|
40
|
+
width: 100%;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
gap: 0.5rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.hidden {
|
|
47
|
+
visibility: hidden;
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.form-button-set {
|
|
52
|
+
display: flex;
|
|
53
|
+
gap: 0.5rem;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.role-label {
|
|
57
|
+
display: flex;
|
|
58
|
+
padding: 0.125rem 0.5rem;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
align-items: center;
|
|
61
|
+
gap: 0.25rem;
|
|
62
|
+
border-radius: 0.5rem;
|
|
63
|
+
font-size: 0.875rem;
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
line-height: 1.25rem; /* 142.857% */
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.fields-box {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: 0.5rem;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.role-label.fields {
|
|
77
|
+
border-radius: 1rem;
|
|
78
|
+
margin-top: 0.5rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.innerButton {
|
|
82
|
+
margin: 0px;
|
|
83
|
+
padding: 0px;
|
|
84
|
+
max-height: 1.25rem !important;
|
|
85
|
+
max-width: 1.25rem !important;
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
border: none;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
color: var(--default-button-colour);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.innerButton:hover {
|
|
93
|
+
color: var(--hover-button-colour);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.participant-card-top-items {
|
|
97
|
+
display: flex;
|
|
98
|
+
width: 100%;
|
|
99
|
+
justify-content: space-between;
|
|
100
|
+
align-items: center;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.button-set {
|
|
104
|
+
display: flex;
|
|
105
|
+
gap: 0.125rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.participant-text-description {
|
|
109
|
+
font-size: 0.875rem;
|
|
110
|
+
font-style: normal;
|
|
111
|
+
font-weight: 500;
|
|
112
|
+
line-height: 1.25rem; /* 142.857% */
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.participant-text-type {
|
|
116
|
+
font-style: normal;
|
|
117
|
+
font-weight: 400;
|
|
118
|
+
line-height: 1.25rem; /* 142.857% */
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.titleButton {
|
|
122
|
+
width: 100%;
|
|
123
|
+
text-align: left;
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
border: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Global Styles */
|
|
129
|
+
|
|
130
|
+
.full-width {
|
|
131
|
+
width: 100%;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.participant-card-text {
|
|
135
|
+
padding: 0 0.125rem 0.125rem 0.125rem;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
p {
|
|
139
|
+
color: var(--gray-80, #6c6e73);
|
|
140
|
+
font-family: var(--font-family);
|
|
141
|
+
font-size: var(--text-sm);
|
|
142
|
+
font-style: normal;
|
|
143
|
+
font-weight: 400;
|
|
144
|
+
line-height: var(--text-sm-line-height);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
a {
|
|
148
|
+
color: var(--primary-60, #4456f6);
|
|
149
|
+
font-size: var(--text-sm);
|
|
150
|
+
font-style: normal;
|
|
151
|
+
font-weight: 400;
|
|
152
|
+
line-height: var(--text-sm-line-height);
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
a:hover {
|
|
157
|
+
text-decoration: underline;
|
|
158
|
+
color: var(--primary-70, #2134dc);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.button-link,
|
|
162
|
+
.button-link:hover {
|
|
163
|
+
all: unset;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
select {
|
|
167
|
+
appearance: none;
|
|
168
|
+
height: 36px;
|
|
169
|
+
width: 100%;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.input-wrapper {
|
|
173
|
+
position: relative;
|
|
174
|
+
width: fit-content;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
#selectorIcon {
|
|
178
|
+
position: absolute;
|
|
179
|
+
top: 50%;
|
|
180
|
+
right: 0.675rem;
|
|
181
|
+
transform: translateY(-50%);
|
|
182
|
+
pointer-events: none;
|
|
183
|
+
color: var(--gray-80, #6c6e73);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
#selectLeadingIcon {
|
|
187
|
+
position: absolute;
|
|
188
|
+
top: 50%;
|
|
189
|
+
left: 0.675rem;
|
|
190
|
+
transform: translateY(-50%);
|
|
191
|
+
pointer-events: none;
|
|
192
|
+
color: var(--gray-80, #6c6e73);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.has-leading-icon {
|
|
196
|
+
padding-left: 2.5rem;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
input,
|
|
200
|
+
select,
|
|
201
|
+
textarea {
|
|
202
|
+
border: 1px solid var(--gray-40, #d8d9dc);
|
|
203
|
+
box-shadow: 0 1px 0.125rem rgba(0, 0, 0, 0.05);
|
|
204
|
+
padding: 0.5rem 0.75rem;
|
|
205
|
+
font-family: var(--font-family);
|
|
206
|
+
font-size: var(--text-sm);
|
|
207
|
+
border-radius: 0.5rem;
|
|
208
|
+
color: var(--gray-100, #45484d);
|
|
209
|
+
font-weight: 400;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
input::placeholder,
|
|
213
|
+
select::placeholder,
|
|
214
|
+
textarea::placeholder {
|
|
215
|
+
color: var(--gray-60, #afb0b2);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
input:hover:not(:disabled),
|
|
219
|
+
select:hover:not(:disabled),
|
|
220
|
+
textarea:hover:not(:disabled) {
|
|
221
|
+
border-color: var(--gray-50, #c8c9cc);
|
|
222
|
+
background-color: var(--white, #fff);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
input:focus,
|
|
226
|
+
select:focus,
|
|
227
|
+
textarea:focus {
|
|
228
|
+
outline: none;
|
|
229
|
+
box-shadow: 0 0 0 0.25rem var(--primary-40, #79adfc);
|
|
230
|
+
border-color: var(--primary-60, #4456f6);
|
|
231
|
+
background-color: var(--white, #fff);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
input:active,
|
|
235
|
+
select:active,
|
|
236
|
+
textarea:active {
|
|
237
|
+
border-color: var(--primary-50, #5185ff);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
input:disabled,
|
|
241
|
+
select:disabled,
|
|
242
|
+
textarea:disabled {
|
|
243
|
+
cursor: not-allowed;
|
|
244
|
+
background-color: var(--gray-10, #f7f8fa);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
input[type='checkbox'] {
|
|
248
|
+
appearance: none;
|
|
249
|
+
position: relative;
|
|
250
|
+
height: 1rem;
|
|
251
|
+
width: 1rem;
|
|
252
|
+
padding: 0.25rem;
|
|
253
|
+
border-radius: var(--radius-sm);
|
|
254
|
+
border: 1px solid #d1d5db;
|
|
255
|
+
background-color: #ffffff;
|
|
256
|
+
cursor: pointer;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
input[type='checkbox']:checked,
|
|
260
|
+
input[type='checkbox'].indeterminate {
|
|
261
|
+
background-color: var(--primary-60, #4456f6);
|
|
262
|
+
border: none;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
input[type='checkbox']:checked::after {
|
|
266
|
+
content: '';
|
|
267
|
+
position: absolute;
|
|
268
|
+
top: 45%;
|
|
269
|
+
left: 50%;
|
|
270
|
+
transform: translate(-50%, -50%) rotate(-45deg) scale(-1, 1);
|
|
271
|
+
width: 0.5rem;
|
|
272
|
+
height: 0.25rem;
|
|
273
|
+
border-bottom: 0.125rem solid white;
|
|
274
|
+
border-right: 0.125rem solid white;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
input[type='checkbox'].indeterminate::after {
|
|
278
|
+
content: '';
|
|
279
|
+
position: absolute;
|
|
280
|
+
top: 50%;
|
|
281
|
+
left: 50%;
|
|
282
|
+
transform: translate(-50%, -50%);
|
|
283
|
+
width: 0.5rem;
|
|
284
|
+
height: 0.125rem;
|
|
285
|
+
background-color: white;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
input[type='checkbox']:checked:hover,
|
|
289
|
+
input[type='checkbox'].indeterminate:hover {
|
|
290
|
+
background-color: var(--primary-70, #2134dc);
|
|
291
|
+
border: none;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
input[type='checkbox']:hover {
|
|
295
|
+
border: 1px solid #9ca3af;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
input[type='checkbox']:focus,
|
|
299
|
+
input[type='checkbox']:active {
|
|
300
|
+
outline: none;
|
|
301
|
+
box-shadow: 0 0 0 0.25rem var(--primary-20, #c7ddff);
|
|
302
|
+
background-color: #f0f4f8;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
input[type='checkbox']:disabled {
|
|
306
|
+
background-color: #f3f4f6;
|
|
307
|
+
outline: none;
|
|
308
|
+
cursor: not-allowed;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
input[type='checkbox']:disabled:checked {
|
|
312
|
+
background-color: #e5e7eb;
|
|
313
|
+
border: none;
|
|
314
|
+
outline: none;
|
|
315
|
+
cursor: not-allowed;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.checkbox-container {
|
|
319
|
+
display: flex;
|
|
320
|
+
gap: 0.5rem;
|
|
321
|
+
width: 100%;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.checkbox-label {
|
|
325
|
+
color: var(--gray-100, #45484d);
|
|
326
|
+
font-size: 1rem;
|
|
327
|
+
font-style: normal;
|
|
328
|
+
font-weight: 400;
|
|
329
|
+
line-height: 1rem;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.form-label {
|
|
333
|
+
color: var(--gray-100, #45484d);
|
|
334
|
+
font-size: 1rem;
|
|
335
|
+
font-style: normal;
|
|
336
|
+
font-weight: 500;
|
|
337
|
+
line-height: 1.5rem;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.form-field {
|
|
341
|
+
display: flex;
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
gap: 0.25rem;
|
|
344
|
+
width: 100%;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.loading-box {
|
|
348
|
+
display: flex;
|
|
349
|
+
justify-content: center;
|
|
350
|
+
align-items: center;
|
|
351
|
+
width: 100%;
|
|
352
|
+
height: 100vh;
|
|
353
|
+
color: var(--primary-60, #0c7cba);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
button {
|
|
357
|
+
border: 0;
|
|
358
|
+
appearance: button;
|
|
359
|
+
cursor: pointer;
|
|
360
|
+
display: inline-flex;
|
|
361
|
+
align-items: center;
|
|
362
|
+
justify-content: center;
|
|
363
|
+
border-radius: var(--radius-lg);
|
|
364
|
+
background-color: var(--primary-60, #4456f6);
|
|
365
|
+
color: white;
|
|
366
|
+
text-transform: capitalize;
|
|
367
|
+
min-height: 2.25rem;
|
|
368
|
+
min-width: 2.25rem;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
button.tertiaryGrey {
|
|
372
|
+
border: 1px solid var(--gray-40, #d8d9dc);
|
|
373
|
+
background-color: white;
|
|
374
|
+
color: var(--gray-80, #787a80);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
button.tertiaryGrey:hover {
|
|
378
|
+
border: 1px solid var(--gray-50, #c8c9cc);
|
|
379
|
+
background: var(--gray-10, #f7f8fa);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
button.tertiary {
|
|
383
|
+
border: 1px solid var(--primary-60, #4456f6);
|
|
384
|
+
background: transparent;
|
|
385
|
+
color: var(--primary-70, #2134dc);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
button.tertiary:hover {
|
|
389
|
+
border: 1px solid var(--primary-70, #2134dc);
|
|
390
|
+
border: 1px solid var(--primary-80, #0c34b8);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
button.destructive {
|
|
394
|
+
border: 1px solid var(--red-60, #f04438);
|
|
395
|
+
background: transparent;
|
|
396
|
+
color: var(--red-60);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
button.destructive:hover {
|
|
400
|
+
border: 1px solid var(--red-70, #d92d20);
|
|
401
|
+
background: var(--red-10, #fff1f0);
|
|
402
|
+
background-color: var(--red-10, #fff1f0);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
button.secondary {
|
|
406
|
+
border: 1px solid var(--gray-50, #c8c9cc);
|
|
407
|
+
background: var(--white, #fff);
|
|
408
|
+
color: var(--gray-90, #5e6066);
|
|
409
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
button.secondary:hover {
|
|
413
|
+
border: 1px solid var(--gray-50, #c8c9cc);
|
|
414
|
+
background: var(--gray-10, #f7f8fa);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.button-group {
|
|
418
|
+
display: flex;
|
|
419
|
+
border-radius: 0.5rem;
|
|
420
|
+
border: 1px solid var(--gray-30, #e0e2e5);
|
|
421
|
+
background: var(--white, #ffffff);
|
|
422
|
+
overflow: clip;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.button-group button {
|
|
426
|
+
display: flex;
|
|
427
|
+
background: transparent;
|
|
428
|
+
border-radius: unset;
|
|
429
|
+
padding: 0.25rem 0.75rem;
|
|
430
|
+
min-width: 2.156rem;
|
|
431
|
+
min-height: unset;
|
|
432
|
+
color: var(--gray-80, #6c6e73);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.button-group button:hover {
|
|
436
|
+
background: var(--gray-10, #f7f8fa);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.button-group > :first-child {
|
|
440
|
+
border-radius: 0.5rem 0 0 0.5rem;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.button-group > :last-child {
|
|
444
|
+
border-radius: 0 0.5rem 0.5rem 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.button-group > :not(:first-child) {
|
|
448
|
+
border-left: 1px solid var(--gray-30, #e0e2e5);
|
|
449
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { defaultRolePalette } from "../ls-document-viewer/defaultPalette";
|
|
3
|
+
export class LsRecipientCard {
|
|
4
|
+
/**
|
|
5
|
+
* The initial template data, including the link for background PDF. See README and
|
|
6
|
+
* example for correct GraphQL query and data structure.
|
|
7
|
+
* {LSApiTemplate}
|
|
8
|
+
*/
|
|
9
|
+
recipient;
|
|
10
|
+
activeRecipient;
|
|
11
|
+
template;
|
|
12
|
+
isHovered = false;
|
|
13
|
+
setIsHovered(value) {
|
|
14
|
+
this.isHovered = value;
|
|
15
|
+
}
|
|
16
|
+
validationErrors = [];
|
|
17
|
+
/**
|
|
18
|
+
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list.
|
|
19
|
+
* {string}
|
|
20
|
+
*/
|
|
21
|
+
filtertoolbox = null;
|
|
22
|
+
// Send an internal event to be processed
|
|
23
|
+
changeSigner;
|
|
24
|
+
showTool(fieldFormType) {
|
|
25
|
+
return this.filtertoolbox === null || this.filtertoolbox.split('|').includes(fieldFormType);
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const recipientFields = this.template.elementConnection.templateElements.filter(f => f.signer === this.recipient.signerIndex) || [];
|
|
29
|
+
const recipientSignatures = recipientFields.filter(f => f.elementType === 'signature' || f.elementType === 'auto sign');
|
|
30
|
+
return (h(Host, { key: 'a61996a542ccf7e67c50d27a206311b836ffd331' }, h("div", { key: 'c7e1b9cdc6e23240953386ce15277f21d07d7042', class: 'participant-card top-card full-card', style: {
|
|
31
|
+
background: defaultRolePalette[this.recipient?.signerIndex % 100].s10,
|
|
32
|
+
border: `1px solid ${defaultRolePalette[this.recipient?.signerIndex % 100].s60}`,
|
|
33
|
+
outline: `${this.recipient.signerIndex === this.activeRecipient ? '4px solid ' + defaultRolePalette[this.recipient?.signerIndex % 100].s40 : 'none'}`,
|
|
34
|
+
marginTop: this.recipient.roleType === 'WITNESS' ? '-0.813rem' : '0',
|
|
35
|
+
cursor: 'pointer',
|
|
36
|
+
}, onClick: () => {
|
|
37
|
+
this.changeSigner.emit(this.recipient.signerIndex);
|
|
38
|
+
}, onMouseEnter: () => {
|
|
39
|
+
this.setIsHovered(true);
|
|
40
|
+
}, onMouseLeave: () => {
|
|
41
|
+
this.setIsHovered(false);
|
|
42
|
+
} }, h("div", { key: '340f57166fc89348676fb4f04c9bf11c28f354f3', class: 'participant-card-inner' }, h("div", { key: '093fc0179aa7ccbaf59b3fb1e317eab48a1b1e39', class: 'participant-card-top-items' }, h("div", { key: '5dcb9006a31945c30a8819f47bc2a1e5d09115f1', class: 'role-label', style: {
|
|
43
|
+
background: defaultRolePalette[this.recipient?.signerIndex % 100].s20,
|
|
44
|
+
color: defaultRolePalette[this.recipient?.signerIndex % 100].s90,
|
|
45
|
+
} }, h("ls-icon", { key: '57fece7def421db9ad2c75d249bb78307b80fd9f', name: this.recipient?.roleType === 'APPROVER' ? 'check-circle' : this.recipient?.roleType === 'WITNESS' ? 'eye' : 'signature' }), String(this.recipient?.signerIndex).padStart(2, '0')), h("ls-icon", { key: '4420600e91f6ae98fd3ec380e3e8df5de65cf320', name: "cursor-click", size: "16", customStyle: { color: defaultRolePalette[this.recipient?.signerIndex % 100].s70 }, solid: true, style: { display: this.isHovered && this.recipient.signerIndex !== this.activeRecipient ? 'block' : 'none' } }), h("div", { key: '7810f97612a5a67e3a5d83c2e5795714e24141db', class: "dot", style: { display: (!this.isHovered || this.recipient.signerIndex === this.activeRecipient) && recipientSignatures.length === 0 ? 'block' : 'none' } })), h("div", { key: 'b95ed306f8c102bacae11a31f3d695ba1e2880b8', class: 'participant-card-text' }, h("p", { key: 'b14508d659d06b32958b4cfadf6482d170b88752', class: "participant-text-description", style: {
|
|
46
|
+
color: defaultRolePalette[this.recipient?.signerIndex % 100].s100,
|
|
47
|
+
} }, this.recipient?.firstname + ' ' + this.recipient?.lastname), h("p", { key: '3514b5b0159ad4f2dcb4eac61316168557841ee8', class: "participant-text-type", style: {
|
|
48
|
+
color: defaultRolePalette[this.recipient?.signerIndex % 100].s80,
|
|
49
|
+
} }, this.recipient.email)), this.recipient.signerIndex === this.activeRecipient && (h("div", { key: 'e359cfa64086998b6b8f28608b4f27c5196a1cb3', class: "fields-box" }, this.recipient.signerIndex > 0 && this.showTool('signature') && (h("ls-toolbox-field", { key: '60a8368bca61edf6d0d4c902ecc11271ab8190c7', elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature", tooltip: "Use this field to collect Signatures from Participants", signer: this.recipient.signerIndex, redDot: recipientSignatures.length === 0 })), this.recipient.signerIndex === 0 && this.showTool('auto sign') && (h("ls-toolbox-field", { key: '5aa6302e0f08af58730278ca3e50f82c4b6e2e6d', elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "auto-sign", tooltip: "Auto-Sign lets Senders add a Signature to the Document that will be automatically applied upon Sending", signer: this.recipient.signerIndex })), this.showTool('text') && (h("ls-toolbox-field", { key: 'e8145ff9b67fe928b328c6d6d0c05f8035096d1c', elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text", tooltip: "A field for collecting any plain text values such as: names, addresses or descriptions", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('signing date') && (h("ls-toolbox-field", { key: '2b3abf2743037a6a29df2f3e21e217d76c7b3eba', elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date", tooltip: "Automatically inserts the date upon completion by the assigned Participant", signer: this.recipient.signerIndex })), this.showTool('date') && (h("ls-toolbox-field", { key: 'e2991a8eb23d6355ba439cd365261525fd098e15', elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender", tooltip: "A field for collecting dates with built-in date formatting options", signer: this.recipient.signerIndex })), this.showTool('email') && (h("ls-toolbox-field", { key: '645d024c0e2b8ce8b88447f1829f9c60512f96a2', elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol", tooltip: "A Field to only accept entries formatted as an email address (e.g., example@example.com)", signer: this.recipient.signerIndex })), this.showTool('initials') && (h("ls-toolbox-field", { key: 'a50f70b67e2e3d4655334624824dce66d60b72e3', elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials", tooltip: "Use this field anywhere Participants are required to Initial your document", signer: this.recipient.signerIndex })), this.showTool('number') && (h("ls-toolbox-field", { key: 'd07a3754d0e3a5f0f9b91c3184d1223a3835eedd', elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag", tooltip: "A Field to only accept entries in numerical format. Additional validations include character limit (1 to 12 digits), and currency format (2 decimal places)", signer: this.recipient.signerIndex })), this.showTool('dropdown') && (h("ls-toolbox-field", { key: '04a765bf3c5ae0777fd5a7ca3005253a95f47a2d', elementType: "dropdown", formElementType: "dropdown", label: "Dropdown", defaultHeight: 27, defaultWidth: 80, validation: 20, icon: "dropdown", tooltip: "Use this field to create custom dropdown menus in your document, or place one of our handy presets for countries or prefixes", signer: this.recipient.signerIndex })), this.showTool('checkbox') && (h("ls-toolbox-field", { key: '26129ce59e002c24af33dc30595872a446fb85f0', elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check", tooltip: "Places a checkbox on your document. Handy for T&Cs or \u2714/\u2717 sections", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('regex') && (h("ls-toolbox-field", { key: '2c79066642214c45d2ac2905efdceb95fd90dded', elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93, icon: "code", tooltip: "Need a specific validation? Use this field to enter a custom RegEx and have Participants enter exactly what you need", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('image') && (h("ls-toolbox-field", { key: '365192282126b7a5d076e92c5432b08ab97b76b5', elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90, icon: "photograph", tooltip: "Use when you need Participants to upload their own images during the signing process", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('file') && (h("ls-toolbox-field", { key: '9e727a702c3afdc705114f01c81cc30b70499603', elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74, icon: "upload", tooltip: "Use when you need Participants to upload their own documents during the signing process", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('drawn') && (h("ls-toolbox-field", { key: '249819b054e52899b9b5dbdf582a766be313a874', elementType: "drawn", formElementType: "drawn", label: "Drawn", defaultHeight: 120, defaultWidth: 120, validation: 90, icon: "pencil", tooltip: "Allow users to draw on the document using their mouse or touchscreen", signer: this.recipient.signerIndex })))))), h("slot", { key: '48d6c0e3df1cbb2623bdd9e39a42681c0ae6f64b' }), h("ls-tooltip", { key: 'd56c2c5f27650cafa149e2dad4cc4f99cdd604d9', id: "ls-tooltip-master" })));
|
|
50
|
+
}
|
|
51
|
+
static get is() { return "ls-recipient-card"; }
|
|
52
|
+
static get encapsulation() { return "shadow"; }
|
|
53
|
+
static get originalStyleUrls() {
|
|
54
|
+
return {
|
|
55
|
+
"$": ["ls-recipient-card.css"]
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
static get styleUrls() {
|
|
59
|
+
return {
|
|
60
|
+
"$": ["ls-recipient-card.css"]
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
static get properties() {
|
|
64
|
+
return {
|
|
65
|
+
"recipient": {
|
|
66
|
+
"type": "unknown",
|
|
67
|
+
"attribute": "recipient",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "LSApiRecipient",
|
|
71
|
+
"resolved": "{ name: string; email: string; firstname: string; lastname: string; signerIndex?: number; roleType?: \"SIGNER\" | \"APPROVER\" | \"WITNESS\" | \"FORM_FILLER\"; }",
|
|
72
|
+
"references": {
|
|
73
|
+
"LSApiRecipient": {
|
|
74
|
+
"location": "import",
|
|
75
|
+
"path": "../../types/LSApiRecipient",
|
|
76
|
+
"id": "src/types/LSApiRecipient.ts::LSApiRecipient"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "The initial template data, including the link for background PDF. See README and\nexample for correct GraphQL query and data structure.\n{LSApiTemplate}"
|
|
85
|
+
},
|
|
86
|
+
"getter": false,
|
|
87
|
+
"setter": false
|
|
88
|
+
},
|
|
89
|
+
"activeRecipient": {
|
|
90
|
+
"type": "number",
|
|
91
|
+
"attribute": "active-recipient",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "number",
|
|
95
|
+
"resolved": "number",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": ""
|
|
103
|
+
},
|
|
104
|
+
"getter": false,
|
|
105
|
+
"setter": false,
|
|
106
|
+
"reflect": false
|
|
107
|
+
},
|
|
108
|
+
"template": {
|
|
109
|
+
"type": "unknown",
|
|
110
|
+
"attribute": "template",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "LSApiTemplate",
|
|
114
|
+
"resolved": "{ id: string; title: string; pageCount: number; fileName: string; link: string; autoArchive: boolean; valid: boolean; locked: boolean; tags: string[]; groupId: string; roles: LSApiRole[]; canOpenSign: boolean; directLinks: []; elementConnection: { templateElements: LSApiElement[]; totalCount: number; }; elements: LSApiElement[]; createdBy: string; created: Date; modified: Date; lastSent: Date; pageDimensionArray: [number, number][]; pageDimensions: string; fixSignatureScale?: boolean; documentRetentionDays: number; }",
|
|
115
|
+
"references": {
|
|
116
|
+
"LSApiTemplate": {
|
|
117
|
+
"location": "import",
|
|
118
|
+
"path": "../../components",
|
|
119
|
+
"id": "src/components.d.ts::LSApiTemplate"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": false,
|
|
124
|
+
"optional": false,
|
|
125
|
+
"docs": {
|
|
126
|
+
"tags": [],
|
|
127
|
+
"text": ""
|
|
128
|
+
},
|
|
129
|
+
"getter": false,
|
|
130
|
+
"setter": false
|
|
131
|
+
},
|
|
132
|
+
"validationErrors": {
|
|
133
|
+
"type": "unknown",
|
|
134
|
+
"attribute": "validation-errors",
|
|
135
|
+
"mutable": false,
|
|
136
|
+
"complexType": {
|
|
137
|
+
"original": "ValidationError[]",
|
|
138
|
+
"resolved": "ValidationError[]",
|
|
139
|
+
"references": {
|
|
140
|
+
"ValidationError": {
|
|
141
|
+
"location": "import",
|
|
142
|
+
"path": "../../types/ValidationError",
|
|
143
|
+
"id": "src/types/ValidationError.ts::ValidationError"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": false,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": ""
|
|
152
|
+
},
|
|
153
|
+
"getter": false,
|
|
154
|
+
"setter": false,
|
|
155
|
+
"defaultValue": "[]"
|
|
156
|
+
},
|
|
157
|
+
"filtertoolbox": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"attribute": "filtertoolbox",
|
|
160
|
+
"mutable": false,
|
|
161
|
+
"complexType": {
|
|
162
|
+
"original": "string",
|
|
163
|
+
"resolved": "string",
|
|
164
|
+
"references": {}
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"optional": true,
|
|
168
|
+
"docs": {
|
|
169
|
+
"tags": [],
|
|
170
|
+
"text": "Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list.\n{string}"
|
|
171
|
+
},
|
|
172
|
+
"getter": false,
|
|
173
|
+
"setter": false,
|
|
174
|
+
"reflect": false,
|
|
175
|
+
"defaultValue": "null"
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
static get states() {
|
|
180
|
+
return {
|
|
181
|
+
"isHovered": {}
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
static get events() {
|
|
185
|
+
return [{
|
|
186
|
+
"method": "changeSigner",
|
|
187
|
+
"name": "changeSigner",
|
|
188
|
+
"bubbles": true,
|
|
189
|
+
"cancelable": true,
|
|
190
|
+
"composed": true,
|
|
191
|
+
"docs": {
|
|
192
|
+
"tags": [],
|
|
193
|
+
"text": ""
|
|
194
|
+
},
|
|
195
|
+
"complexType": {
|
|
196
|
+
"original": "number",
|
|
197
|
+
"resolved": "number",
|
|
198
|
+
"references": {}
|
|
199
|
+
}
|
|
200
|
+
}];
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
//# sourceMappingURL=ls-recipient-card.js.map
|