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
|
@@ -1,46 +1,49 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-CEhCcP_A.js';
|
|
2
|
-
import { a as alter, o as oob, f as findDimensions, r as recalculateCoordinates, b as findIn, u as updateTemplate, d as defineCustomElement$
|
|
2
|
+
import { a as alter, o as oob, f as findDimensions, r as recalculateCoordinates, b as findIn, u as updateTemplate, d as defineCustomElement$I, m as matchData, v as validate, c as moveField, g as getApiType, e as addField, h as getTemplate } from './p-CIoxINZp.js';
|
|
3
3
|
import { a as attachAllTooltips } from './p-Cb8nDMs-.js';
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
30
|
-
import { d as defineCustomElement$
|
|
31
|
-
import { d as defineCustomElement$
|
|
32
|
-
import { d as defineCustomElement$
|
|
33
|
-
import { d as defineCustomElement$
|
|
34
|
-
import { d as defineCustomElement$
|
|
35
|
-
import { d as defineCustomElement$
|
|
36
|
-
import { d as defineCustomElement$
|
|
37
|
-
import { d as defineCustomElement$
|
|
38
|
-
import { d as defineCustomElement$
|
|
39
|
-
import { d as defineCustomElement$
|
|
40
|
-
import { d as defineCustomElement$
|
|
41
|
-
import { d as defineCustomElement$
|
|
42
|
-
import { d as defineCustomElement$
|
|
43
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { d as defineCustomElement$J } from './p-R3_FOlEq.js';
|
|
5
|
+
import { d as defineCustomElement$H } from './p-D-yItxA4.js';
|
|
6
|
+
import { d as defineCustomElement$G } from './p-CuyjSEEv.js';
|
|
7
|
+
import { d as defineCustomElement$F } from './p-BUfnTaTZ.js';
|
|
8
|
+
import { d as defineCustomElement$E } from './p-CUXWZqch.js';
|
|
9
|
+
import { d as defineCustomElement$D } from './p-DCZnqvsu.js';
|
|
10
|
+
import { d as defineCustomElement$C } from './p-BHQ0WY5x.js';
|
|
11
|
+
import { d as defineCustomElement$B } from './p-B3axAGVs.js';
|
|
12
|
+
import { d as defineCustomElement$A } from './p-cwpKMDgH.js';
|
|
13
|
+
import { d as defineCustomElement$z } from './p-BzY8ubZE.js';
|
|
14
|
+
import { d as defineCustomElement$y } from './p-BiG71xua.js';
|
|
15
|
+
import { d as defineCustomElement$x } from './p-DGuG1Bmj.js';
|
|
16
|
+
import { d as defineCustomElement$w } from './p-CNc1l7mG.js';
|
|
17
|
+
import { d as defineCustomElement$v } from './p-CaBVuofO.js';
|
|
18
|
+
import { d as defineCustomElement$u } from './p-DrfpABSq.js';
|
|
19
|
+
import { d as defineCustomElement$t } from './p-DYB1QfP2.js';
|
|
20
|
+
import { d as defineCustomElement$s } from './p-CXoPln5K.js';
|
|
21
|
+
import { d as defineCustomElement$r } from './p-qC7H9a3g.js';
|
|
22
|
+
import { d as defineCustomElement$q } from './p-AZOh1kUH.js';
|
|
23
|
+
import { d as defineCustomElement$p } from './p-jBcf1cHz.js';
|
|
24
|
+
import { d as defineCustomElement$o } from './p-BvGLH5NQ.js';
|
|
25
|
+
import { d as defineCustomElement$n } from './p-BmIVpWDh.js';
|
|
26
|
+
import { d as defineCustomElement$m } from './p-U9xqUgfL.js';
|
|
27
|
+
import { d as defineCustomElement$l } from './p-HB8K0xP0.js';
|
|
28
|
+
import { d as defineCustomElement$k } from './p-Cqxe6wZe.js';
|
|
29
|
+
import { d as defineCustomElement$j } from './p-DZ_KhOns.js';
|
|
30
|
+
import { d as defineCustomElement$i } from './p-CtV1B-_5.js';
|
|
31
|
+
import { d as defineCustomElement$h } from './p-NoKw4xu7.js';
|
|
32
|
+
import { d as defineCustomElement$g } from './p-DPVPaPb1.js';
|
|
33
|
+
import { d as defineCustomElement$f } from './p-raaSYxtA.js';
|
|
34
|
+
import { d as defineCustomElement$e } from './p-CdFJ_FQz.js';
|
|
35
|
+
import { d as defineCustomElement$d } from './p-D-U9fbV-.js';
|
|
36
|
+
import { d as defineCustomElement$c } from './p-DMgdq7Zj.js';
|
|
37
|
+
import { d as defineCustomElement$b } from './p-DKcMRnoh.js';
|
|
38
|
+
import { d as defineCustomElement$a } from './p-CTP4wFFE.js';
|
|
39
|
+
import { d as defineCustomElement$9 } from './p-DVtr8lsT.js';
|
|
40
|
+
import { d as defineCustomElement$8 } from './p-BooZeojy.js';
|
|
41
|
+
import { d as defineCustomElement$7 } from './p-CrVSg3t4.js';
|
|
42
|
+
import { d as defineCustomElement$6 } from './p-DUBoFEsx.js';
|
|
43
|
+
import { d as defineCustomElement$5 } from './p-CrXwf_vC.js';
|
|
44
|
+
import { d as defineCustomElement$4 } from './p-DC0HL60H.js';
|
|
45
|
+
import { d as defineCustomElement$3 } from './p-C8TAonIH.js';
|
|
46
|
+
import { d as defineCustomElement$2 } from './p-G8kF15oY.js';
|
|
44
47
|
|
|
45
48
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
46
49
|
|
|
@@ -19908,6 +19911,11 @@ function keyDown(ev) {
|
|
|
19908
19911
|
this.update.emit(createdItems);
|
|
19909
19912
|
this.mutate.emit(createdItems.map(item => ({ action: 'create', data: item.data })));
|
|
19910
19913
|
}
|
|
19914
|
+
else if (ev.key === 'Escape') {
|
|
19915
|
+
console.log('Clearing selection');
|
|
19916
|
+
this.selected = [];
|
|
19917
|
+
this.selectFields.emit([]);
|
|
19918
|
+
}
|
|
19911
19919
|
}
|
|
19912
19920
|
}
|
|
19913
19921
|
|
|
@@ -20181,7 +20189,7 @@ function mouseDrop(event) {
|
|
|
20181
20189
|
width: data.defaultWidth,
|
|
20182
20190
|
pageDimensions: this.pageDimensions[this.pageNum - 1],
|
|
20183
20191
|
fontName: 'arial',
|
|
20184
|
-
fontSize:
|
|
20192
|
+
fontSize: 8,
|
|
20185
20193
|
align: 'left',
|
|
20186
20194
|
signer: this.signer,
|
|
20187
20195
|
page: this.pageNum,
|
|
@@ -24426,7 +24434,7 @@ const getGroupData = (id) => {
|
|
|
24426
24434
|
`;
|
|
24427
24435
|
};
|
|
24428
24436
|
|
|
24429
|
-
const lsDocumentViewerCss = "*,*::before,*::after{box-sizing:border-box}*{margin:0}@media (prefers-reduced-motion: no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}:host{display:flex;flex-direction:row;width:100vw;height:100vh;margin:0px;padding:0px}.validation-tag-wrapper{position:fixed;top:0.375rem;right:0.375rem;z-index:2000}#my-field-panel{position:relative;height:calc(100% - 4.313rem)}.leftBox{position:relative;border-radius:16px;border:1px solid var(--gray-30, #edeff2);background:var(--white, #fff);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);width:21.25rem;margin:1rem;min-width:21.25rem;max-height:100%;z-index:1000;left:0;top:0}.left-box-inner{position:relative;display:flex;height:100%;padding:0.75rem;gap:0.75rem}.rightBox{width:200px;border:1px gray solid;width:470px;min-width:390px;padding:4px;font-family:inherit}.toolbox{display:flex;flex-direction:column;width:100%;height:100%;border-radius:8px;border:1px solid var(--gray-30, #e0e2e5);background:var(--gray-10, #f7f8fa);padding:0.75rem;gap:1rem;overflow-y:auto}.ls-editor-infobox{padding:2px 8px 2px 8px}#pdf-canvas{top:0px;left:0px;width:100px;height:100px;box-shadow:0 8px 32px 0 rgba(0, 0, 0, 0.12)}#ls-mid-area{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;width:100vw;height:100%}.document-frame-wrapper{display:flex;flex-direction:column;justify-content:start;align-items:start;overflow:visible;max-height:100%;width:100vw;overflow:scroll;padding:5rem 380px 2rem 380px}#ls-document-frame{position:relative;height:98vh;margin-right:auto;margin-left:auto}.prevButton{position:relative;bottom:30px}.nextButton{position:relative;bottom:30px}.fieldBox{z-index:1000}#ls-box-selector{position:absolute;visibility:hidden;background-color:transparent;border:1px rgba(71, 71, 71, 0.716) dashed}#ls-editor-form{display:flex;width:100vw;height:calc(100vh - 2.25rem);position:relative;background:var(--gray-10, #f7f8fa);box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.04) inset, 0 10px 15px 0 rgba(0, 0, 0, 0.04) inset}.hidden{visibility:hidden;display:none;width:0px}.toolbox-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;}.toolbox-section-description{color:var(--gray-80, #5e6066);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem}.fields-box{display:flex;flex-direction:column;gap:0.75rem}.page-header{display:flex;height:2.25rem;gap:0.5rem;padding:0.25rem 0.75rem;justify-content:center;align-items:center}.header-text-1{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.header-text-2{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.properties-header{display:flex;padding:1rem;gap:0.75rem;align-items:center;border-bottom:1px solid var(--gray-20, #edeff2)}.properties-header-title{color:var(--gray-100, #45484d);width:100%;font-size:1.5rem;font-style:normal;font-weight:500;line-height:2rem;}.properties-header-icon{display:flex;padding:0.5rem;border-radius:0.625rem;background:var(--primary-10, #eff4ff);color:var(--primary-60, #4456f6)}.expand-fields-row{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;cursor:pointer;color:var(--gray-80, #6c6e73);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.expand-fields-row p{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem;}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:36px}.input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.field-properties-outer{position:relative;height:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6c6e73)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}";
|
|
24437
|
+
const lsDocumentViewerCss = "*,*::before,*::after{box-sizing:border-box}*{margin:0}@media (prefers-reduced-motion: no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}:host{display:flex;flex-direction:row;width:100vw;height:100vh;margin:0px;padding:0px}.left-slot-wrapper{position:fixed;top:0.375rem;left:0.675rem;z-index:2000}slot{justify-content:center;align-items:center;border-radius:1rem;font-size:0.75rem;font-style:normal;font-weight:500;line-height:1.25rem;width:fit-content;background-color:var(--green-30, #9df5d4);color:var(--green-100, #125241)}.right-slot-wrapper{position:fixed;top:0.375rem;right:0.675rem;z-index:2000}.validation-tag-wrapper{position:fixed;top:0.375rem;right:0.375rem;z-index:2000}#my-field-panel{position:relative;height:calc(100% - 4.313rem)}.leftBox{position:relative;border-radius:16px;border:1px solid var(--gray-30, #edeff2);background:var(--white, #fff);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);width:21.25rem;margin:1rem;min-width:21.25rem;max-height:100%;z-index:1000;left:0;top:0}.left-box-inner{position:relative;display:flex;height:100%;padding:0.75rem;gap:0.75rem}.rightBox{width:200px;border:1px gray solid;width:470px;min-width:390px;padding:4px;font-family:inherit}.toolbox{display:flex;flex-direction:column;width:100%;height:100%;border-radius:8px;border:1px solid var(--gray-30, #e0e2e5);background:var(--gray-10, #f7f8fa);padding:0.75rem;gap:1rem;overflow-y:auto}.compose-toolbox{border-radius:0;border:none;background:white;padding:0.25rem;gap:0.75rem}.ls-editor-infobox{padding:2px 8px 2px 8px}#pdf-canvas{top:0px;left:0px;width:100px;height:100px;box-shadow:0 8px 32px 0 rgba(0, 0, 0, 0.12)}#ls-mid-area{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;width:100vw;height:100%}.document-frame-wrapper{display:flex;flex-direction:column;justify-content:start;align-items:start;overflow:visible;max-height:100%;width:100vw;overflow:scroll;padding:5rem 380px 2rem 380px}#ls-document-frame{position:relative;height:98vh;margin-right:auto;margin-left:auto}.prevButton{position:relative;bottom:30px}.nextButton{position:relative;bottom:30px}.fieldBox{z-index:1000}#ls-box-selector{position:absolute;visibility:hidden;background-color:transparent;border:1px rgba(71, 71, 71, 0.716) dashed}#ls-editor-form{display:flex;width:100vw;height:calc(100vh - 2.25rem);position:relative;background:var(--gray-10, #f7f8fa);box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.04) inset, 0 10px 15px 0 rgba(0, 0, 0, 0.04) inset}.hidden{visibility:hidden;display:none;width:0px}.toolbox-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;}.toolbox-section-description{color:var(--gray-80, #5e6066);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem}.fields-box{display:flex;flex-direction:column;gap:0.75rem}.page-header{display:flex;height:2.25rem;gap:0.5rem;padding:0.25rem 0.75rem;justify-content:center;align-items:center}.header-text-1{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.header-text-2{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.properties-header{display:flex;padding:1rem;gap:0.75rem;align-items:center;border-bottom:1px solid var(--gray-20, #edeff2)}.properties-header-title{color:var(--gray-100, #45484d);width:100%;font-size:1.5rem;font-style:normal;font-weight:500;line-height:2rem;}.properties-header-icon{display:flex;padding:0.5rem;border-radius:0.625rem;background:var(--primary-10, #eff4ff);color:var(--primary-60, #4456f6)}.expand-fields-row{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;cursor:pointer;color:var(--gray-80, #6c6e73);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.expand-fields-row p{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem;}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:36px}.input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.field-properties-outer{position:relative;height:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6c6e73)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}";
|
|
24430
24438
|
|
|
24431
24439
|
pdfExports.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.5.207/pdf.worker.min.js';
|
|
24432
24440
|
const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentViewer extends H {
|
|
@@ -24494,10 +24502,11 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24494
24502
|
*/
|
|
24495
24503
|
templateid;
|
|
24496
24504
|
/**
|
|
24497
|
-
* A JSON string containing the
|
|
24505
|
+
* A JSON string containing the recipient details. Only used in COMPOSE mode.
|
|
24498
24506
|
* {string}
|
|
24499
24507
|
*/
|
|
24500
|
-
|
|
24508
|
+
recipients;
|
|
24509
|
+
_recipients;
|
|
24501
24510
|
zoom = 1.0; // hardcoded to scale the document to full canvas size
|
|
24502
24511
|
pageNum = 1;
|
|
24503
24512
|
pageCount = 1;
|
|
@@ -24523,30 +24532,18 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24523
24532
|
mode = 'editor';
|
|
24524
24533
|
modeHandler(_newMode, _oldMode) {
|
|
24525
24534
|
if (_newMode === 'preview') {
|
|
24526
|
-
this.showtoolbar = false;
|
|
24527
24535
|
this.showstatusbar = false;
|
|
24528
24536
|
this.readonly = true;
|
|
24529
24537
|
}
|
|
24530
24538
|
else if (_newMode === 'editor') {
|
|
24531
|
-
this.showtoolbar = true;
|
|
24532
24539
|
this.showstatusbar = true;
|
|
24533
24540
|
this.readonly = false;
|
|
24534
24541
|
}
|
|
24535
24542
|
else if (_newMode === 'compose') {
|
|
24536
|
-
this.showtoolbar = true;
|
|
24537
24543
|
this.showstatusbar = true;
|
|
24538
24544
|
this.readonly = false;
|
|
24539
24545
|
}
|
|
24540
24546
|
}
|
|
24541
|
-
tableViewHandler(_newMode, _oldMode) {
|
|
24542
|
-
if (_newMode === true) {
|
|
24543
|
-
this.showPageFields(-1);
|
|
24544
|
-
}
|
|
24545
|
-
else if (_newMode === 'editor') {
|
|
24546
|
-
this.showPageFields(this.pageNum);
|
|
24547
|
-
}
|
|
24548
|
-
this.queueRenderPage(this.pageNum);
|
|
24549
|
-
}
|
|
24550
24547
|
/**
|
|
24551
24548
|
* Determines / sets which of the far left 'managers' is active.
|
|
24552
24549
|
* {'document' | 'toolbox' | 'participant' }
|
|
@@ -24561,12 +24558,7 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24561
24558
|
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list.
|
|
24562
24559
|
* {string}
|
|
24563
24560
|
*/
|
|
24564
|
-
|
|
24565
|
-
/**
|
|
24566
|
-
* Whether the top toolbar is displayed.
|
|
24567
|
-
* {boolean}
|
|
24568
|
-
*/
|
|
24569
|
-
showtoolbar = false;
|
|
24561
|
+
filtertoolbox = null;
|
|
24570
24562
|
/**
|
|
24571
24563
|
* Whether the bottom statusbar is displayed.
|
|
24572
24564
|
* {boolean}
|
|
@@ -24577,11 +24569,6 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24577
24569
|
* {boolean}
|
|
24578
24570
|
*/
|
|
24579
24571
|
showpagepreview = false;
|
|
24580
|
-
/**
|
|
24581
|
-
* Whether or not the fields list is expanded.
|
|
24582
|
-
* {boolean}
|
|
24583
|
-
*/
|
|
24584
|
-
expandfields = false;
|
|
24585
24572
|
/**
|
|
24586
24573
|
* Whether the right panel (which can be default field properties or custom panel) is
|
|
24587
24574
|
* displayed.
|
|
@@ -24641,7 +24628,7 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24641
24628
|
id: btoa('rol' + crypto.randomUUID()),
|
|
24642
24629
|
name: 'Signer ' + (this._template.roles.length + 1),
|
|
24643
24630
|
roleType: event.detail.type,
|
|
24644
|
-
signerIndex: event.detail.type === 'WITNESS' ? 100 + parent.signerIndex :
|
|
24631
|
+
signerIndex: event.detail.type === 'WITNESS' ? 100 + parent.signerIndex : this._template.roles.length === 0 ? 1 : newSignerIndex,
|
|
24645
24632
|
ordinal: event.detail.type === 'WITNESS' ? parent.ordinal + 1 : this._template.roles.length + 1,
|
|
24646
24633
|
signerParent: event.detail.parent,
|
|
24647
24634
|
experience: defaultExperience.id,
|
|
@@ -24652,6 +24639,11 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24652
24639
|
this.update.emit(data);
|
|
24653
24640
|
this.mutate.emit(data);
|
|
24654
24641
|
}
|
|
24642
|
+
// Updates are internal event between LS controls not to be confused with mutate
|
|
24643
|
+
updateSigner(event) {
|
|
24644
|
+
if (event.detail)
|
|
24645
|
+
this.signer = event.detail;
|
|
24646
|
+
}
|
|
24655
24647
|
// Send selection changes to bars and panels if in use.
|
|
24656
24648
|
selectFieldsHandler(event) {
|
|
24657
24649
|
const fields = Array.from(this.component.shadowRoot.querySelectorAll('ls-editor-field'));
|
|
@@ -24787,28 +24779,30 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24787
24779
|
*/
|
|
24788
24780
|
renderPage(pageNumber) {
|
|
24789
24781
|
this.isPageRendering = true;
|
|
24790
|
-
this.pdfDocument.
|
|
24791
|
-
|
|
24792
|
-
|
|
24793
|
-
|
|
24794
|
-
|
|
24795
|
-
|
|
24796
|
-
|
|
24797
|
-
|
|
24798
|
-
|
|
24799
|
-
|
|
24800
|
-
|
|
24801
|
-
|
|
24802
|
-
|
|
24803
|
-
|
|
24804
|
-
|
|
24805
|
-
|
|
24806
|
-
|
|
24807
|
-
|
|
24808
|
-
|
|
24809
|
-
|
|
24782
|
+
if (this.pdfDocument !== undefined && this.pdfDocument !== null) {
|
|
24783
|
+
this.pdfDocument.getPage(pageNumber).then((page) => {
|
|
24784
|
+
const viewport = page.getViewport({ scale: this.zoom });
|
|
24785
|
+
this.canvas.height = Math.floor(viewport.height);
|
|
24786
|
+
this.canvas.width = Math.floor(viewport.width);
|
|
24787
|
+
// Render PDF page into canvas context
|
|
24788
|
+
const renderContext = {
|
|
24789
|
+
viewport,
|
|
24790
|
+
canvasContext: this.ctx,
|
|
24791
|
+
};
|
|
24792
|
+
// Render page method
|
|
24793
|
+
const renderTask = page.render(renderContext);
|
|
24794
|
+
// Wait for rendering to finish
|
|
24795
|
+
renderTask.promise.then(() => {
|
|
24796
|
+
this.isPageRendering = false;
|
|
24797
|
+
this.pageRendered.emit(this.pageNum);
|
|
24798
|
+
if (this.pageNumPending !== null) {
|
|
24799
|
+
this.renderPage(this.pageNumPending); // New page rendering is pending
|
|
24800
|
+
this.pageChange.emit(this.pageNumPending); // emit
|
|
24801
|
+
this.pageNumPending = null;
|
|
24802
|
+
}
|
|
24803
|
+
});
|
|
24810
24804
|
});
|
|
24811
|
-
}
|
|
24805
|
+
}
|
|
24812
24806
|
}
|
|
24813
24807
|
queueRenderPage(pageNumber) {
|
|
24814
24808
|
if (this.isPageRendering) {
|
|
@@ -24880,19 +24874,21 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24880
24874
|
this.loadAndRender(this._template?.link);
|
|
24881
24875
|
var dropTarget = this.component.shadowRoot.getElementById('ls-document-frame');
|
|
24882
24876
|
// Used for single field selection
|
|
24883
|
-
|
|
24884
|
-
|
|
24885
|
-
|
|
24886
|
-
|
|
24887
|
-
|
|
24888
|
-
|
|
24889
|
-
|
|
24890
|
-
|
|
24891
|
-
|
|
24892
|
-
|
|
24893
|
-
|
|
24894
|
-
|
|
24895
|
-
|
|
24877
|
+
if (this.mode !== 'preview' || this._template?.locked === true) {
|
|
24878
|
+
dropTarget.addEventListener('click', mouseClick.bind(this));
|
|
24879
|
+
dropTarget.addEventListener('mousedown', mouseDown.bind(this));
|
|
24880
|
+
dropTarget.addEventListener('mousemove', mouseMove.bind(this));
|
|
24881
|
+
dropTarget.addEventListener('mouseup', mouseUp.bind(this));
|
|
24882
|
+
dropTarget.addEventListener('dblclick', mouseDoubleClick.bind(this));
|
|
24883
|
+
document.addEventListener('keydown', keyDown.bind(this));
|
|
24884
|
+
dropTarget.addEventListener('dragenter', event => {
|
|
24885
|
+
event.preventDefault();
|
|
24886
|
+
});
|
|
24887
|
+
dropTarget.addEventListener('dragover', event => {
|
|
24888
|
+
event.preventDefault();
|
|
24889
|
+
});
|
|
24890
|
+
dropTarget.addEventListener('drop', mouseDrop.bind(this));
|
|
24891
|
+
}
|
|
24896
24892
|
this.generateFields();
|
|
24897
24893
|
}
|
|
24898
24894
|
// Generate all the field HTML elements that are required (for every page)
|
|
@@ -24921,7 +24917,10 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24921
24917
|
const resultGroup = (await this.adapter.execute(this.token, getGroupData(this._template.groupId)));
|
|
24922
24918
|
this.groupInfo = resultGroup.group;
|
|
24923
24919
|
this.initViewer();
|
|
24924
|
-
|
|
24920
|
+
if (this.mode === 'compose') {
|
|
24921
|
+
this.manager = 'recipient';
|
|
24922
|
+
}
|
|
24923
|
+
this._recipients = JSON.parse(this.recipients.replace('\u0022', '"'));
|
|
24925
24924
|
//Revalidate
|
|
24926
24925
|
this.validationErrors = validate.bind(this)(this._template);
|
|
24927
24926
|
this.pageCount = this._template.pageCount;
|
|
@@ -24941,10 +24940,10 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24941
24940
|
attachAllTooltips(this.component.shadowRoot);
|
|
24942
24941
|
}
|
|
24943
24942
|
showTool(fieldFormType) {
|
|
24944
|
-
return this.
|
|
24943
|
+
return this.filtertoolbox === null || this.filtertoolbox.split('|').includes(fieldFormType);
|
|
24945
24944
|
}
|
|
24946
24945
|
render() {
|
|
24947
|
-
return (h(Host, { key: '
|
|
24946
|
+
return (h(Host, { key: 'a69b0674f4ee1423f3663e3a3a1b2b52ffb91ee7' }, h(h.Fragment, null, this.isLoading && h("ls-page-loader", { key: 'f1fbaa9fce9eb2848df44e99e0f8988a89a3c7bf' }), h("div", { key: 'c5a2e06e1f831a03278b42081ebccb7ddc4a6d84', class: "page-header" }, h("div", { key: 'b2d3fc361f2e3a1c411c5589499a890ab2deaa03', class: 'left-slot-wrapper' }, h("slot", { key: '8a39da556ccd35acccc65130e9253a283ffe9664', name: "left-button" })), h("div", { key: 'a27be93817874d436616a62656afd5fcdc412fdf', class: 'right-slot-wrapper' }, h("slot", { key: '658663b6d0e5c2a1108a432c68e91b78d32cfddd', name: "right-button" })), this.mode === 'editor' && (h("div", { key: '8078631015dcb3b9c61f9db70b140d5aa6f4b53d' }, h("span", { key: '9c0b54dc0e7c9d23eb18f44a5c9a23e8c5b546e7', class: "header-text-1" }, "Template Creation"), h("span", { key: '353fe9482f0188262fbbfe80dbd90cfa9b78ee01' }, "/"), h("span", { key: 'a4efedbf6e339f4fb70209058f431a0ac97289ed', class: "header-text-2" }, this._template?.title))), this.mode === 'compose' && (h("div", { key: '850613d2cb6564f9e581f4849915c296da6f715b' }, h("span", { key: 'e34a1c9932ec1e04da465eacba734feaae5b6091', class: "header-text-1" }, "Compose"), " ", h("span", { key: 'd527566b2235088e3502da31be961583e38b9802' }, "/"), " ", h("span", { key: 'fb1bef4bb4e054a1d7f8bc1d2cd8894cc944885a', class: "header-text-2" }, this._template?.title)))), this.mode === 'editor' && (h("div", { key: '7262cf8d8849c7b4864ed190ea10e99d86879175', class: 'validation-tag-wrapper' }, h("ls-validation-tag", { key: '76105fe985951ea1e94e48bf58f9de372f1c9c99', validationErrors: this.validationErrors }))), h("form", { key: '0c472e3c3f0850fc7f63f153cba6096d44dae3f8', id: "ls-editor-form" }, this.mode !== 'preview' ? (h("div", { id: "ls-left-box", class: "leftBox", style: this.mode === 'compose' ? { borderRadius: '1.75rem' } : {} }, h("div", { class: !this.selected || this.selected.length === 0 ? 'left-box-inner' : 'hidden' }, this.mode === 'editor' && (h("ls-feature-column", { mode: this.mode, onManage: manager => {
|
|
24948
24947
|
if (manager.detail === 'document') {
|
|
24949
24948
|
var documentManager = this.component.shadowRoot.getElementById('ls-document-options');
|
|
24950
24949
|
documentManager.template = this._template;
|
|
@@ -24953,15 +24952,20 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24953
24952
|
var participantManager = this.component.shadowRoot.getElementById('ls-participant-manager');
|
|
24954
24953
|
participantManager.template = this._template;
|
|
24955
24954
|
}
|
|
24955
|
+
else if (manager.detail === 'validation') {
|
|
24956
|
+
var validationManager = this.component.shadowRoot.getElementById('ls-validation-manager');
|
|
24957
|
+
console.log(validationManager);
|
|
24958
|
+
validationManager.validationErrors = this.validationErrors;
|
|
24959
|
+
}
|
|
24956
24960
|
this.manager = manager.detail;
|
|
24957
|
-
} }), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, h("h2", { class: "toolbox-section-title" }, "
|
|
24961
|
+
} })), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, h("h2", { class: "toolbox-section-title" }, "Fields"), h("p", { class: "toolbox-section-description" }, "Drag and drop, or select and double click, to place fields on the Document.")), h("div", { class: "fields-box" }, this.signer > 0 && this.showTool('signature') && (h("ls-toolbox-field", { 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.signer })), this.signer === 0 && this.showTool('auto sign') && (h("ls-toolbox-field", { 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.signer })), this.showTool('text') && (h("ls-toolbox-field", { 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.signer })), this.signer > 0 && this.showTool('signing date') && (h("ls-toolbox-field", { 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.signer })), this.showTool('date') && (h("ls-toolbox-field", { 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.signer })), this.showTool('email') && (h("ls-toolbox-field", { 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.signer })), this.showTool('initials') && (h("ls-toolbox-field", { 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.signer })), this.showTool('number') && (h("ls-toolbox-field", { 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.signer })), this.showTool('dropdown') && (h("ls-toolbox-field", { 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.signer })), this.showTool('checkbox') && (h("ls-toolbox-field", { 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.signer })), this.signer > 0 && this.showTool('regex') && (h("ls-toolbox-field", { 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.signer })), this.signer > 0 && this.showTool('image') && (h("ls-toolbox-field", { 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.signer })), this.signer > 0 && this.showTool('file') && (h("ls-toolbox-field", { 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.signer })), this.signer > 0 && this.showTool('drawn') && (h("ls-toolbox-field", { 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.signer })))), h("ls-participant-manager", { id: "ls-participant-manager", class: this.manager === 'participant' ? 'toolbox' : 'hidden', editor: this }), h("ls-document-options", { id: "ls-document-options", class: this.manager === 'document' ? 'toolbox' : 'hidden' }), h("ls-validation-manager", { id: "ls-validation-manager", class: this.manager === 'validation' ? 'toolbox' : 'hidden' }), h("ls-recipient-manager", { id: "ls-recipient-manager", class: this.manager === 'recipient' ? 'toolbox compose-toolbox' : 'hidden' }, h("ls-validation-tag", { validationErrors: this.validationErrors, style: { position: 'absolute', top: '18px', right: '16px' }, type: "compose" }), this._recipients &&
|
|
24962
|
+
this._recipients.map(recipient => (h("ls-recipient-card", { recipient: recipient, activeRecipient: this.signer, filtertoolbox: this.filtertoolbox, template: this._template, validationErrors: this.validationErrors }))))), !this.displayTable && (h("div", { class: this.selected.length > 0 ? 'field-properties-outer' : 'hidden' }, h("div", { class: 'properties-header' }, h("div", { class: 'properties-header-icon' }, h("ls-icon", { name: "pre-filled-content" })), h("h1", { class: 'properties-header-title' }, "Field Properties"), h("button", { class: 'tertiaryGrey', onClick: e => {
|
|
24958
24963
|
this.selected = [];
|
|
24959
24964
|
e.preventDefault();
|
|
24960
|
-
}, "data-tooltip": "Close Properties Panel" }, h("ls-icon", { name: "x", size: "20" }))), h("ls-field-properties", { id: "my-field-panel" }), h("slot", null))))) : (h(h.Fragment, null)), h("ls-toolbar", { key: '
|
|
24965
|
+
}, "data-tooltip": "Close Properties Panel" }, h("ls-icon", { name: "x", size: "20" }))), h("ls-field-properties", { id: "my-field-panel" }), h("slot", null))))) : (h(h.Fragment, null)), this.selected.length > 0 && h("ls-toolbar", { key: '2959ad6010449f4f6d01951bedae5200796a9ae0', id: "ls-toolbar", template: this._template, editor: this, groupInfo: this.groupInfo }), h("div", { key: '39924ea9ddea3bbb3383d1a8d4f6b61a4a1eab38', id: "ls-mid-area" }, h("div", { key: '9c2c80da82a9acb733fa296910f140cc1dd37087', class: 'document-frame-wrapper', id: "document-frame-wrapper" }, h("div", { key: 'bdb359eae5be279d88edcaf767a9f8eab20c1693', id: "ls-document-frame" }, h("canvas", { key: '6cfe36af4cdfd989a154a9bac7851c5c2466013c', id: "pdf-canvas", class: this.displayTable || this.isLoading ? 'hidden' : '' }), h("ls-editor-table", { key: 'b0112a99fbfe8f1ee23260d710dc7a4d9bc2aff3', editor: this, class: this.displayTable ? '' : 'hidden' }), h("div", { key: 'a1e2c19b9e0d236afd8ef9b9650d98b525895468', id: "ls-box-selector" }))), h("ls-statusbar", { key: 'cee48ae238cefbe7473c606baa5566738509d564', editor: this, page: this.pageNum, pageCount: this.pageCount })))), h("ls-tooltip", { key: '1f9cd7f54541dc280d66f4564daffe65da8baaac', id: "ls-tooltip-master" })));
|
|
24961
24966
|
}
|
|
24962
24967
|
static get watchers() { return {
|
|
24963
|
-
"mode": ["modeHandler"]
|
|
24964
|
-
"displayTable": ["tableViewHandler"]
|
|
24968
|
+
"mode": ["modeHandler"]
|
|
24965
24969
|
}; }
|
|
24966
24970
|
static get style() { return lsDocumentViewerCss; }
|
|
24967
24971
|
}, [257, "ls-document-viewer", {
|
|
@@ -24970,7 +24974,8 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24970
24974
|
"userpool": [1],
|
|
24971
24975
|
"endpoint": [1],
|
|
24972
24976
|
"templateid": [1],
|
|
24973
|
-
"
|
|
24977
|
+
"recipients": [1],
|
|
24978
|
+
"_recipients": [16],
|
|
24974
24979
|
"zoom": [1026],
|
|
24975
24980
|
"pageNum": [1026, "page-num"],
|
|
24976
24981
|
"pageCount": [1026, "page-count"],
|
|
@@ -24979,11 +24984,9 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24979
24984
|
"mode": [1],
|
|
24980
24985
|
"manager": [1025],
|
|
24981
24986
|
"displayTable": [1028, "display-table"],
|
|
24982
|
-
"
|
|
24983
|
-
"showtoolbar": [4],
|
|
24987
|
+
"filtertoolbox": [1],
|
|
24984
24988
|
"showstatusbar": [4],
|
|
24985
24989
|
"showpagepreview": [4],
|
|
24986
|
-
"expandfields": [4],
|
|
24987
24990
|
"readonly": [4],
|
|
24988
24991
|
"showtableview": [4],
|
|
24989
24992
|
"toolboxFilter": [1, "toolbox-filter"],
|
|
@@ -24997,15 +25000,14 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24997
25000
|
"pagePrev": [64],
|
|
24998
25001
|
"unselect": [64],
|
|
24999
25002
|
"setZoom": [64]
|
|
25000
|
-
}, [[0, "mutate", "mutateHandler"], [0, "fieldTypeSelected", "handleFieldTypeSelected"], [0, "update", "updateHandler"], [0, "addParticipant", "addParticpantHandler"], [0, "selectFields", "selectFieldsHandler"], [0, "roleChange", "roleHandler"]], {
|
|
25001
|
-
"mode": ["modeHandler"]
|
|
25002
|
-
"displayTable": ["tableViewHandler"]
|
|
25003
|
+
}, [[0, "mutate", "mutateHandler"], [0, "fieldTypeSelected", "handleFieldTypeSelected"], [0, "update", "updateHandler"], [0, "addParticipant", "addParticpantHandler"], [0, "changeSigner", "updateSigner"], [0, "selectFields", "selectFieldsHandler"], [0, "roleChange", "roleHandler"]], {
|
|
25004
|
+
"mode": ["modeHandler"]
|
|
25003
25005
|
}]);
|
|
25004
25006
|
function defineCustomElement$1() {
|
|
25005
25007
|
if (typeof customElements === "undefined") {
|
|
25006
25008
|
return;
|
|
25007
25009
|
}
|
|
25008
|
-
const components = ["ls-document-viewer", "ls-document-options", "ls-editor-field", "ls-editor-table", "ls-feature-column", "ls-field-alignment", "ls-field-content", "ls-field-dimensions", "ls-field-distribute", "ls-field-footer", "ls-field-format", "ls-field-placement", "ls-field-properties", "ls-field-properties-advanced", "ls-field-properties-autosign", "ls-field-properties-container", "ls-field-properties-date", "ls-field-properties-email", "ls-field-properties-file", "ls-field-properties-general", "ls-field-properties-image", "ls-field-properties-multiple", "ls-field-properties-number", "ls-field-properties-signature", "ls-field-properties-text", "ls-field-size", "ls-field-type-display", "ls-helper-bar", "ls-icon", "ls-input-wrapper", "ls-keyboard-shortcuts", "ls-page-loader", "ls-participant-card", "ls-participant-manager", "ls-participant-select", "ls-props-section", "ls-statusbar", "ls-toggle", "ls-toolbar", "ls-toolbox-field", "ls-tooltip", "ls-validation-tag"];
|
|
25010
|
+
const components = ["ls-document-viewer", "ls-document-options", "ls-editor-field", "ls-editor-table", "ls-feature-column", "ls-field-alignment", "ls-field-content", "ls-field-dimensions", "ls-field-distribute", "ls-field-footer", "ls-field-format", "ls-field-placement", "ls-field-properties", "ls-field-properties-advanced", "ls-field-properties-autosign", "ls-field-properties-container", "ls-field-properties-date", "ls-field-properties-email", "ls-field-properties-file", "ls-field-properties-general", "ls-field-properties-image", "ls-field-properties-multiple", "ls-field-properties-number", "ls-field-properties-signature", "ls-field-properties-text", "ls-field-size", "ls-field-type-display", "ls-helper-bar", "ls-icon", "ls-input-wrapper", "ls-keyboard-shortcuts", "ls-page-loader", "ls-participant-card", "ls-participant-manager", "ls-participant-select", "ls-props-section", "ls-recipient-card", "ls-recipient-manager", "ls-statusbar", "ls-toggle", "ls-toolbar", "ls-toolbox-field", "ls-tooltip", "ls-validation-manager", "ls-validation-tag"];
|
|
25009
25011
|
components.forEach(tagName => { switch (tagName) {
|
|
25010
25012
|
case "ls-document-viewer":
|
|
25011
25013
|
if (!customElements.get(tagName)) {
|
|
@@ -25014,200 +25016,215 @@ function defineCustomElement$1() {
|
|
|
25014
25016
|
break;
|
|
25015
25017
|
case "ls-document-options":
|
|
25016
25018
|
if (!customElements.get(tagName)) {
|
|
25017
|
-
defineCustomElement$
|
|
25019
|
+
defineCustomElement$J();
|
|
25018
25020
|
}
|
|
25019
25021
|
break;
|
|
25020
25022
|
case "ls-editor-field":
|
|
25021
25023
|
if (!customElements.get(tagName)) {
|
|
25022
|
-
defineCustomElement$
|
|
25024
|
+
defineCustomElement$I();
|
|
25023
25025
|
}
|
|
25024
25026
|
break;
|
|
25025
25027
|
case "ls-editor-table":
|
|
25026
25028
|
if (!customElements.get(tagName)) {
|
|
25027
|
-
defineCustomElement$
|
|
25029
|
+
defineCustomElement$H();
|
|
25028
25030
|
}
|
|
25029
25031
|
break;
|
|
25030
25032
|
case "ls-feature-column":
|
|
25031
25033
|
if (!customElements.get(tagName)) {
|
|
25032
|
-
defineCustomElement$
|
|
25034
|
+
defineCustomElement$G();
|
|
25033
25035
|
}
|
|
25034
25036
|
break;
|
|
25035
25037
|
case "ls-field-alignment":
|
|
25036
25038
|
if (!customElements.get(tagName)) {
|
|
25037
|
-
defineCustomElement$
|
|
25039
|
+
defineCustomElement$F();
|
|
25038
25040
|
}
|
|
25039
25041
|
break;
|
|
25040
25042
|
case "ls-field-content":
|
|
25041
25043
|
if (!customElements.get(tagName)) {
|
|
25042
|
-
defineCustomElement$
|
|
25044
|
+
defineCustomElement$E();
|
|
25043
25045
|
}
|
|
25044
25046
|
break;
|
|
25045
25047
|
case "ls-field-dimensions":
|
|
25046
25048
|
if (!customElements.get(tagName)) {
|
|
25047
|
-
defineCustomElement$
|
|
25049
|
+
defineCustomElement$D();
|
|
25048
25050
|
}
|
|
25049
25051
|
break;
|
|
25050
25052
|
case "ls-field-distribute":
|
|
25051
25053
|
if (!customElements.get(tagName)) {
|
|
25052
|
-
defineCustomElement$
|
|
25054
|
+
defineCustomElement$C();
|
|
25053
25055
|
}
|
|
25054
25056
|
break;
|
|
25055
25057
|
case "ls-field-footer":
|
|
25056
25058
|
if (!customElements.get(tagName)) {
|
|
25057
|
-
defineCustomElement$
|
|
25059
|
+
defineCustomElement$B();
|
|
25058
25060
|
}
|
|
25059
25061
|
break;
|
|
25060
25062
|
case "ls-field-format":
|
|
25061
25063
|
if (!customElements.get(tagName)) {
|
|
25062
|
-
defineCustomElement$
|
|
25064
|
+
defineCustomElement$A();
|
|
25063
25065
|
}
|
|
25064
25066
|
break;
|
|
25065
25067
|
case "ls-field-placement":
|
|
25066
25068
|
if (!customElements.get(tagName)) {
|
|
25067
|
-
defineCustomElement$
|
|
25069
|
+
defineCustomElement$z();
|
|
25068
25070
|
}
|
|
25069
25071
|
break;
|
|
25070
25072
|
case "ls-field-properties":
|
|
25071
25073
|
if (!customElements.get(tagName)) {
|
|
25072
|
-
defineCustomElement$
|
|
25074
|
+
defineCustomElement$y();
|
|
25073
25075
|
}
|
|
25074
25076
|
break;
|
|
25075
25077
|
case "ls-field-properties-advanced":
|
|
25076
25078
|
if (!customElements.get(tagName)) {
|
|
25077
|
-
defineCustomElement$
|
|
25079
|
+
defineCustomElement$x();
|
|
25078
25080
|
}
|
|
25079
25081
|
break;
|
|
25080
25082
|
case "ls-field-properties-autosign":
|
|
25081
25083
|
if (!customElements.get(tagName)) {
|
|
25082
|
-
defineCustomElement$
|
|
25084
|
+
defineCustomElement$w();
|
|
25083
25085
|
}
|
|
25084
25086
|
break;
|
|
25085
25087
|
case "ls-field-properties-container":
|
|
25086
25088
|
if (!customElements.get(tagName)) {
|
|
25087
|
-
defineCustomElement$
|
|
25089
|
+
defineCustomElement$v();
|
|
25088
25090
|
}
|
|
25089
25091
|
break;
|
|
25090
25092
|
case "ls-field-properties-date":
|
|
25091
25093
|
if (!customElements.get(tagName)) {
|
|
25092
|
-
defineCustomElement$
|
|
25094
|
+
defineCustomElement$u();
|
|
25093
25095
|
}
|
|
25094
25096
|
break;
|
|
25095
25097
|
case "ls-field-properties-email":
|
|
25096
25098
|
if (!customElements.get(tagName)) {
|
|
25097
|
-
defineCustomElement$
|
|
25099
|
+
defineCustomElement$t();
|
|
25098
25100
|
}
|
|
25099
25101
|
break;
|
|
25100
25102
|
case "ls-field-properties-file":
|
|
25101
25103
|
if (!customElements.get(tagName)) {
|
|
25102
|
-
defineCustomElement$
|
|
25104
|
+
defineCustomElement$s();
|
|
25103
25105
|
}
|
|
25104
25106
|
break;
|
|
25105
25107
|
case "ls-field-properties-general":
|
|
25106
25108
|
if (!customElements.get(tagName)) {
|
|
25107
|
-
defineCustomElement$
|
|
25109
|
+
defineCustomElement$r();
|
|
25108
25110
|
}
|
|
25109
25111
|
break;
|
|
25110
25112
|
case "ls-field-properties-image":
|
|
25111
25113
|
if (!customElements.get(tagName)) {
|
|
25112
|
-
defineCustomElement$
|
|
25114
|
+
defineCustomElement$q();
|
|
25113
25115
|
}
|
|
25114
25116
|
break;
|
|
25115
25117
|
case "ls-field-properties-multiple":
|
|
25116
25118
|
if (!customElements.get(tagName)) {
|
|
25117
|
-
defineCustomElement$
|
|
25119
|
+
defineCustomElement$p();
|
|
25118
25120
|
}
|
|
25119
25121
|
break;
|
|
25120
25122
|
case "ls-field-properties-number":
|
|
25121
25123
|
if (!customElements.get(tagName)) {
|
|
25122
|
-
defineCustomElement$
|
|
25124
|
+
defineCustomElement$o();
|
|
25123
25125
|
}
|
|
25124
25126
|
break;
|
|
25125
25127
|
case "ls-field-properties-signature":
|
|
25126
25128
|
if (!customElements.get(tagName)) {
|
|
25127
|
-
defineCustomElement$
|
|
25129
|
+
defineCustomElement$n();
|
|
25128
25130
|
}
|
|
25129
25131
|
break;
|
|
25130
25132
|
case "ls-field-properties-text":
|
|
25131
25133
|
if (!customElements.get(tagName)) {
|
|
25132
|
-
defineCustomElement$
|
|
25134
|
+
defineCustomElement$m();
|
|
25133
25135
|
}
|
|
25134
25136
|
break;
|
|
25135
25137
|
case "ls-field-size":
|
|
25136
25138
|
if (!customElements.get(tagName)) {
|
|
25137
|
-
defineCustomElement$
|
|
25139
|
+
defineCustomElement$l();
|
|
25138
25140
|
}
|
|
25139
25141
|
break;
|
|
25140
25142
|
case "ls-field-type-display":
|
|
25141
25143
|
if (!customElements.get(tagName)) {
|
|
25142
|
-
defineCustomElement$
|
|
25144
|
+
defineCustomElement$k();
|
|
25143
25145
|
}
|
|
25144
25146
|
break;
|
|
25145
25147
|
case "ls-helper-bar":
|
|
25146
25148
|
if (!customElements.get(tagName)) {
|
|
25147
|
-
defineCustomElement$
|
|
25149
|
+
defineCustomElement$j();
|
|
25148
25150
|
}
|
|
25149
25151
|
break;
|
|
25150
25152
|
case "ls-icon":
|
|
25151
25153
|
if (!customElements.get(tagName)) {
|
|
25152
|
-
defineCustomElement$
|
|
25154
|
+
defineCustomElement$i();
|
|
25153
25155
|
}
|
|
25154
25156
|
break;
|
|
25155
25157
|
case "ls-input-wrapper":
|
|
25156
25158
|
if (!customElements.get(tagName)) {
|
|
25157
|
-
defineCustomElement$
|
|
25159
|
+
defineCustomElement$h();
|
|
25158
25160
|
}
|
|
25159
25161
|
break;
|
|
25160
25162
|
case "ls-keyboard-shortcuts":
|
|
25161
25163
|
if (!customElements.get(tagName)) {
|
|
25162
|
-
defineCustomElement$
|
|
25164
|
+
defineCustomElement$g();
|
|
25163
25165
|
}
|
|
25164
25166
|
break;
|
|
25165
25167
|
case "ls-page-loader":
|
|
25166
25168
|
if (!customElements.get(tagName)) {
|
|
25167
|
-
defineCustomElement$
|
|
25169
|
+
defineCustomElement$f();
|
|
25168
25170
|
}
|
|
25169
25171
|
break;
|
|
25170
25172
|
case "ls-participant-card":
|
|
25171
25173
|
if (!customElements.get(tagName)) {
|
|
25172
|
-
defineCustomElement$
|
|
25174
|
+
defineCustomElement$e();
|
|
25173
25175
|
}
|
|
25174
25176
|
break;
|
|
25175
25177
|
case "ls-participant-manager":
|
|
25176
25178
|
if (!customElements.get(tagName)) {
|
|
25177
|
-
defineCustomElement$
|
|
25179
|
+
defineCustomElement$d();
|
|
25178
25180
|
}
|
|
25179
25181
|
break;
|
|
25180
25182
|
case "ls-participant-select":
|
|
25181
25183
|
if (!customElements.get(tagName)) {
|
|
25182
|
-
defineCustomElement$
|
|
25184
|
+
defineCustomElement$c();
|
|
25183
25185
|
}
|
|
25184
25186
|
break;
|
|
25185
25187
|
case "ls-props-section":
|
|
25186
25188
|
if (!customElements.get(tagName)) {
|
|
25187
|
-
defineCustomElement$
|
|
25189
|
+
defineCustomElement$b();
|
|
25190
|
+
}
|
|
25191
|
+
break;
|
|
25192
|
+
case "ls-recipient-card":
|
|
25193
|
+
if (!customElements.get(tagName)) {
|
|
25194
|
+
defineCustomElement$a();
|
|
25195
|
+
}
|
|
25196
|
+
break;
|
|
25197
|
+
case "ls-recipient-manager":
|
|
25198
|
+
if (!customElements.get(tagName)) {
|
|
25199
|
+
defineCustomElement$9();
|
|
25188
25200
|
}
|
|
25189
25201
|
break;
|
|
25190
25202
|
case "ls-statusbar":
|
|
25191
25203
|
if (!customElements.get(tagName)) {
|
|
25192
|
-
defineCustomElement$
|
|
25204
|
+
defineCustomElement$8();
|
|
25193
25205
|
}
|
|
25194
25206
|
break;
|
|
25195
25207
|
case "ls-toggle":
|
|
25196
25208
|
if (!customElements.get(tagName)) {
|
|
25197
|
-
defineCustomElement$
|
|
25209
|
+
defineCustomElement$7();
|
|
25198
25210
|
}
|
|
25199
25211
|
break;
|
|
25200
25212
|
case "ls-toolbar":
|
|
25201
25213
|
if (!customElements.get(tagName)) {
|
|
25202
|
-
defineCustomElement$
|
|
25214
|
+
defineCustomElement$6();
|
|
25203
25215
|
}
|
|
25204
25216
|
break;
|
|
25205
25217
|
case "ls-toolbox-field":
|
|
25206
25218
|
if (!customElements.get(tagName)) {
|
|
25207
|
-
defineCustomElement$
|
|
25219
|
+
defineCustomElement$5();
|
|
25208
25220
|
}
|
|
25209
25221
|
break;
|
|
25210
25222
|
case "ls-tooltip":
|
|
25223
|
+
if (!customElements.get(tagName)) {
|
|
25224
|
+
defineCustomElement$4();
|
|
25225
|
+
}
|
|
25226
|
+
break;
|
|
25227
|
+
case "ls-validation-manager":
|
|
25211
25228
|
if (!customElements.get(tagName)) {
|
|
25212
25229
|
defineCustomElement$3();
|
|
25213
25230
|
}
|