legalesign-document-viewer 0.3.7 → 0.3.8
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 +28 -0
- package/dist/cjs/ls-compose-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/ls-compose-manager.entry.cjs.js.map +1 -0
- package/dist/cjs/ls-document-options_42.cjs.entry.js +102 -97
- package/dist/cjs/ls-document-options_42.cjs.entry.js.map +1 -1
- 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 +1 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.css +3 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.js +55 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +16 -16
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.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.css +4 -0
- package/dist/collection/components/ls-feature-column/ls-feature-column.js +29 -5
- 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 +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-props-section/ls-props-section.js +1 -1
- 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-toolbox-field/ls-toolbox-field.js +3 -3
- package/dist/collection/components/ls-tooltip/ls-tooltip.js +1 -1
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +22 -1
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/ls-compose-manager.d.ts +11 -0
- package/dist/components/ls-compose-manager.js +47 -0
- package/dist/components/ls-compose-manager.js.map +1 -0
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +52 -52
- 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 +15 -15
- 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 +9 -9
- 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-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-tag.js +1 -1
- package/dist/components/{p-CAkGTlBm.js → p-1dvcNcdF.js} +17 -17
- package/dist/components/{p-CAkGTlBm.js.map → p-1dvcNcdF.js.map} +1 -1
- package/dist/components/{p-DCgwsmkK.js → p-5pLj6W__.js} +11 -11
- package/dist/components/{p-DCgwsmkK.js.map → p-5pLj6W__.js.map} +1 -1
- package/dist/components/{p-_TQhquWF.js → p-B1U2Ui7F.js} +17 -17
- package/dist/components/{p-_TQhquWF.js.map → p-B1U2Ui7F.js.map} +1 -1
- package/dist/components/{p-CBWx8ct9.js → p-B7dTg-FF.js} +17 -17
- package/dist/components/{p-CBWx8ct9.js.map → p-B7dTg-FF.js.map} +1 -1
- package/dist/components/{p-D8-qPGsJ.js → p-BCoqHTq9.js} +7 -7
- package/dist/components/{p-D8-qPGsJ.js.map → p-BCoqHTq9.js.map} +1 -1
- package/dist/components/{p-DPHDQvBy.js → p-BKPLevlT.js} +4 -4
- package/dist/components/{p-DPHDQvBy.js.map → p-BKPLevlT.js.map} +1 -1
- package/dist/components/{p-C0DxZPf7.js → p-BNC69LYf.js} +14 -14
- package/dist/components/{p-C0DxZPf7.js.map → p-BNC69LYf.js.map} +1 -1
- package/dist/components/{p-Dns9yEdO.js → p-BmEXSmLf.js} +8 -6
- package/dist/components/p-BmEXSmLf.js.map +1 -0
- package/dist/components/{p-DxIsh8n6.js → p-BnRYK-C4.js} +6 -6
- package/dist/components/{p-DxIsh8n6.js.map → p-BnRYK-C4.js.map} +1 -1
- package/dist/components/{p-CoSuNdfC.js → p-BphT81GV.js} +17 -17
- package/dist/components/{p-CoSuNdfC.js.map → p-BphT81GV.js.map} +1 -1
- package/dist/components/{p-Pb_M5CHe.js → p-BvIKgXkH.js} +7 -7
- package/dist/components/{p-Pb_M5CHe.js.map → p-BvIKgXkH.js.map} +1 -1
- package/dist/components/{p-CEfaqMjm.js → p-C28pfXKN.js} +8 -8
- package/dist/components/{p-CEfaqMjm.js.map → p-C28pfXKN.js.map} +1 -1
- package/dist/components/{p-BKpv-kC8.js → p-C4YY0EyH.js} +9 -9
- package/dist/components/{p-BKpv-kC8.js.map → p-C4YY0EyH.js.map} +1 -1
- package/dist/components/{p-CIaA9Qz9.js → p-C7ohAVHE.js} +6 -6
- package/dist/components/{p-CIaA9Qz9.js.map → p-C7ohAVHE.js.map} +1 -1
- package/dist/components/{p-C26k_ME7.js → p-CAWxK_LI.js} +30 -30
- package/dist/components/{p-C26k_ME7.js.map → p-CAWxK_LI.js.map} +1 -1
- package/dist/components/{p-DigkV_H3.js → p-CAbrMIbN.js} +4 -4
- package/dist/components/{p-DigkV_H3.js.map → p-CAbrMIbN.js.map} +1 -1
- package/dist/components/{p-D0Dhti1c.js → p-CEc76IM2.js} +5 -5
- package/dist/components/{p-D0Dhti1c.js.map → p-CEc76IM2.js.map} +1 -1
- package/dist/components/{p-BvHSBTD8.js → p-CEhCcP_A.js} +3 -3
- package/dist/components/{p-BvHSBTD8.js.map → p-CEhCcP_A.js.map} +1 -1
- package/dist/components/{p-Jxy3zvjl.js → p-CNX4llIr.js} +5 -5
- package/dist/components/{p-Jxy3zvjl.js.map → p-CNX4llIr.js.map} +1 -1
- package/dist/components/{p-Dn74AhFZ.js → p-CSmx-jJT.js} +17 -17
- package/dist/components/{p-Dn74AhFZ.js.map → p-CSmx-jJT.js.map} +1 -1
- package/dist/components/{p-Ccn3ZZcu.js → p-CWMW0nzH.js} +6 -6
- package/dist/components/{p-Ccn3ZZcu.js.map → p-CWMW0nzH.js.map} +1 -1
- package/dist/components/{p-DdA-gazu.js → p-CWfyjOto.js} +4 -4
- package/dist/components/{p-DdA-gazu.js.map → p-CWfyjOto.js.map} +1 -1
- package/dist/components/{p-B-CwRcyM.js → p-CciiwtyT.js} +16 -16
- package/dist/components/{p-B-CwRcyM.js.map → p-CciiwtyT.js.map} +1 -1
- package/dist/components/{p-Cvpba_Hj.js → p-CdEPt9fv.js} +8 -8
- package/dist/components/{p-Cvpba_Hj.js.map → p-CdEPt9fv.js.map} +1 -1
- package/dist/components/{p-DP1YK_3k.js → p-CeKcOUyM.js} +17 -17
- package/dist/components/{p-DP1YK_3k.js.map → p-CeKcOUyM.js.map} +1 -1
- package/dist/components/{p-HL1D4YSy.js → p-D-OtQhJz.js} +17 -17
- package/dist/components/{p-HL1D4YSy.js.map → p-D-OtQhJz.js.map} +1 -1
- package/dist/components/{p-DmRC_Wu_.js → p-DKbeIqEX.js} +5 -5
- package/dist/components/{p-DmRC_Wu_.js.map → p-DKbeIqEX.js.map} +1 -1
- package/dist/components/{p-ehKlmMJ5.js → p-DLxAjAd4.js} +6 -6
- package/dist/components/{p-ehKlmMJ5.js.map → p-DLxAjAd4.js.map} +1 -1
- package/dist/components/{p-CPWE3RPb.js → p-DWIo_K0q.js} +5 -5
- package/dist/components/{p-CPWE3RPb.js.map → p-DWIo_K0q.js.map} +1 -1
- package/dist/components/{p-DYigxUng.js → p-DZPnGx2N.js} +5 -5
- package/dist/components/{p-DYigxUng.js.map → p-DZPnGx2N.js.map} +1 -1
- package/dist/components/{p-ByytASxI.js → p-DfYmuFSx.js} +4 -4
- package/dist/components/{p-ByytASxI.js.map → p-DfYmuFSx.js.map} +1 -1
- package/dist/components/{p-C3Yf2XxL.js → p-Djqb_4PL.js} +7 -7
- package/dist/components/{p-C3Yf2XxL.js.map → p-Djqb_4PL.js.map} +1 -1
- package/dist/components/{p-DmpTMpIK.js → p-Dk00ccBn.js} +4 -4
- package/dist/components/{p-DmpTMpIK.js.map → p-Dk00ccBn.js.map} +1 -1
- package/dist/components/{p-sXbu_0hu.js → p-DkCVXmg3.js} +10 -10
- package/dist/components/{p-sXbu_0hu.js.map → p-DkCVXmg3.js.map} +1 -1
- package/dist/components/{p-BxdoHLJe.js → p-DrD5JKw9.js} +11 -11
- package/dist/components/{p-BxdoHLJe.js.map → p-DrD5JKw9.js.map} +1 -1
- package/dist/components/{p-DRlasxvX.js → p-IlkS4czy.js} +17 -12
- package/dist/components/p-IlkS4czy.js.map +1 -0
- package/dist/components/{p-BMoeVwvV.js → p-IpGJwBtp.js} +8 -8
- package/dist/components/{p-BMoeVwvV.js.map → p-IpGJwBtp.js.map} +1 -1
- package/dist/components/{p-D1G_SpA3.js → p-Wuj0cujc.js} +13 -13
- package/dist/components/{p-D1G_SpA3.js.map → p-Wuj0cujc.js.map} +1 -1
- package/dist/components/{p-DFgVwcWo.js → p-XF3M9gAr.js} +11 -11
- package/dist/components/{p-DFgVwcWo.js.map → p-XF3M9gAr.js.map} +1 -1
- package/dist/components/{p-CZoubBus.js → p-XkANRt3Q.js} +4 -4
- package/dist/components/{p-CZoubBus.js.map → p-XkANRt3Q.js.map} +1 -1
- package/dist/components/{p-ChsJHskx.js → p-gE1FA92I.js} +5 -5
- package/dist/components/{p-ChsJHskx.js.map → p-gE1FA92I.js.map} +1 -1
- package/dist/components/{p-BhKW6QAV.js → p-h0r-SdI7.js} +5 -5
- package/dist/components/{p-BhKW6QAV.js.map → p-h0r-SdI7.js.map} +1 -1
- package/dist/components/{p-_fAfVUvN.js → p-hHXffFw5.js} +17 -17
- package/dist/components/{p-_fAfVUvN.js.map → p-hHXffFw5.js.map} +1 -1
- package/dist/components/{p-D81uQuBt.js → p-qx-naHxz.js} +5 -5
- package/dist/components/{p-D81uQuBt.js.map → p-qx-naHxz.js.map} +1 -1
- package/dist/components/{p-DXhpjcQC.js → p-sqcHMrnp.js} +4 -4
- package/dist/components/{p-DXhpjcQC.js.map → p-sqcHMrnp.js.map} +1 -1
- package/dist/components/{p-WkfNRHiN.js → p-wgy1HDlb.js} +17 -17
- package/dist/components/{p-WkfNRHiN.js.map → p-wgy1HDlb.js.map} +1 -1
- package/dist/components/{p-CesULiVv.js → p-yu8Gmj9y.js} +6 -6
- package/dist/components/{p-CesULiVv.js.map → p-yu8Gmj9y.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-compose-manager.entry.js +26 -0
- package/dist/esm/ls-compose-manager.entry.js.map +1 -0
- package/dist/esm/ls-document-options_42.entry.js +102 -97
- package/dist/esm/ls-document-options_42.entry.js.map +1 -1
- 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/index.esm.js.map +1 -1
- package/dist/ls-document-viewer/ls-compose-manager.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.esm.js.map +1 -1
- package/dist/ls-document-viewer/{p-d2eaa2ec.entry.js → p-14049937.entry.js} +2 -2
- package/dist/ls-document-viewer/p-20ab7965.entry.js +2 -0
- package/dist/ls-document-viewer/p-20ab7965.entry.js.map +1 -0
- package/dist/ls-document-viewer/{p-cfb2d2ff.entry.js → p-76fe67f1.entry.js} +2 -2
- package/dist/ls-document-viewer/p-7f4adac4.entry.js +2 -0
- package/dist/ls-document-viewer/{p-69931cd9.entry.js → p-fbf49a8c.entry.js} +3 -3
- package/dist/ls-document-viewer/p-fbf49a8c.entry.js.map +1 -0
- package/dist/types/components/ls-compose-manager/ls-compose-manager.d.ts +9 -0
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +4 -3
- package/dist/types/components/ls-feature-column/ls-feature-column.d.ts +5 -0
- package/dist/types/components/ls-validation-tag/ls-validation-tag.d.ts +1 -0
- package/dist/types/components.d.ts +49 -10
- package/package.json +1 -1
- package/dist/components/p-DRlasxvX.js.map +0 -1
- package/dist/components/p-Dns9yEdO.js.map +0 -1
- package/dist/ls-document-viewer/clsx-ChV9xqsO.js.map +0 -1
- package/dist/ls-document-viewer/defaultFieldIcons-Cp3IxvzK.js.map +0 -1
- package/dist/ls-document-viewer/defaultPalette-CwCWCxsI.js.map +0 -1
- package/dist/ls-document-viewer/editorUtils-yhuXQze-.js.map +0 -1
- package/dist/ls-document-viewer/floating-ui.dom-DtWVTgos.js.map +0 -1
- package/dist/ls-document-viewer/index-Dlkip55O.js.map +0 -1
- package/dist/ls-document-viewer/p-3ff5b214.entry.js +0 -2
- package/dist/ls-document-viewer/p-69931cd9.entry.js.map +0 -1
- package/dist/ls-document-viewer/tooltip-Cb8nDMs-.js.map +0 -1
- /package/dist/ls-document-viewer/{p-d2eaa2ec.entry.js.map → p-14049937.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-cfb2d2ff.entry.js.map → p-76fe67f1.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-3ff5b214.entry.js.map → p-7f4adac4.entry.js.map} +0 -0
|
@@ -7,9 +7,9 @@ export class LsToggle {
|
|
|
7
7
|
this.valueChange.emit(value);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'ed5c0cf6938343a75778033d857ed75d1dd71a16' }, h("label", { key: 'c61d2548ff81739a02d32e4f6ca726d0d7a2ba8d', class: "switch" }, h("input", { key: 'c1bb11a118c0eb16f3aa7ff9857e9326031066b5', type: "checkbox", checked: this.checked, onChange: (e) => {
|
|
11
11
|
this.changeHandler(e.target.checked);
|
|
12
|
-
} }), h("span", { key: '
|
|
12
|
+
} }), h("span", { key: '42ca0de480283f08abcbf5107b4f4c96fa778224', class: `${this.indeterminate ? 'indeterminate' : 'slider'} round` })), h("slot", { key: '42962f9a09a41198c49673de78a4f80213b1347a' })));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "ls-toggle"; }
|
|
15
15
|
static get originalStyleUrls() {
|
|
@@ -35,7 +35,7 @@ export class LsToolbar {
|
|
|
35
35
|
this.update.emit(diffs);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'ee27c52d8ca9657be6664c031d4858595d4a8b95' }, this.dataItem && this.dataItem.length > 1 ? (h("div", { class: 'rowbox' }, h("ls-field-format", { dataItem: this?.dataItem }))) : (h("div", { class: 'rowbox' }, h("ls-field-format", { dataItem: this?.dataItem, style: { visibility: this.dataItem && this.dataItem.length === 1 ? 'visible' : 'hidden' } }), h("ls-participant-select", { id: "ls-participant-select", roles: this.template?.roles, style: { display: this.dataItem && this.dataItem.length === 1 ? 'none' : 'block' } }))), h("ls-tooltip", { key: '5d56e476a7d63e337af9e080ab9b886c603ccf54', id: "ls-tooltip-master" }), h("slot", { key: 'f35bcec2285a41a9dfa2682d29cc93f4677f268d' })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "ls-toolbar"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,7 +55,7 @@ export class LsToolboxField {
|
|
|
55
55
|
attachAllTooltips(this.component.shadowRoot);
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '7094166bd32eb9d04527a926e3b020bdafc82bc3', draggable: "true" }, h("div", { key: '7fea94dc210626234d86bc7cecc7156d07a50048', class: 'ls-toolbox-field', style: this.isSelected && {
|
|
59
59
|
background: defaultRolePalette[this.signer % 100].s10,
|
|
60
60
|
border: `1px solid ${defaultRolePalette[this.signer % 100].s60}`,
|
|
61
61
|
color: defaultRolePalette[this.signer % 100].s80,
|
|
@@ -69,9 +69,9 @@ export class LsToolboxField {
|
|
|
69
69
|
defaultHeight: this.defaultHeight,
|
|
70
70
|
defaultWidth: this.defaultWidth,
|
|
71
71
|
});
|
|
72
|
-
} }, h("div", { key: '
|
|
72
|
+
} }, h("div", { key: '2f2ba6df62be6b201fba1ac90b35145647e7346f', class: "toolbox-field-icon", style: { '--signer-color-light': defaultRolePalette[this.signer % 100].s10, '--signer-color': defaultRolePalette[this.signer % 100].s60 }, "data-tooltip": this.tooltip, "data-tooltip-placement": "right" }, h("ls-icon", { key: '8ed6e2c6e3c0c3a62a2bba5ff6efcf6c5f783344', name: this.icon, size: "20" })), h("p", { key: '01dabb5cebe192350465635336c2ae84968e72d4', class: "toolbox-field-label", style: this.isSelected && {
|
|
73
73
|
color: defaultRolePalette[this.signer % 100].s80,
|
|
74
|
-
} }, this.label), h("ls-icon", { key: '
|
|
74
|
+
} }, this.label), h("ls-icon", { key: '8db0b1b8c88e22753cf11d2ada41ab150984f554', name: "drag-vertical", size: "16", color: "#787a80" })), h("ls-tooltip", { key: '97b49cb2cf9bbfaf61d34b2d2d4c7d9854d40bef', id: "ls-tooltip-master", tooltipText: 'Something' })));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "ls-toolbox-field"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class LsTooltip {
|
|
|
51
51
|
innerTooltip.classList.add('hidden');
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '127d6459d0353cfadb29fffd9b68eab3962d59c0', id: "ls-tooltip-inner", class: "tooltip hidden", role: "tooltip" }, h("div", { key: '347d0beb31c2a238ab18cc514bd64663a0f08787', id: "arrow" }), this.tooltipTitle && h("p", { key: 'dc214278f66826c46d6144939263ce4fdb7f7436', class: "tooltip-title" }, this.tooltipTitle), this.tooltipText, h("slot", { key: '6a47cab909c4d11182a8d6362826572a3798181e' })));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "ls-tooltip"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,8 +4,9 @@ export class LsValidationTag {
|
|
|
4
4
|
status = 'Invalid';
|
|
5
5
|
validationErrors = [];
|
|
6
6
|
isExpanded = false;
|
|
7
|
+
showDropDown = true;
|
|
7
8
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '80c4337e973b7363bd965079b9218952ecf53383' }, h("div", { key: '11442ce3be3c956bdf11fd8b318c42eac0b4f8e7', class: `valid-label ${this.validationErrors.length === 0 ? 'valid' : 'invalid'}`, onClick: this.validationErrors.length && (() => (this.isExpanded = !this.isExpanded)) }, this.validationErrors.length === 0 ? 'Ready to Send' : `Requires Fields`, this.validationErrors.length > 0 && h("div", { key: '5ae8222218f9ff791f39cefc4f588288326452fc', class: 'field-counter' }, this.validationErrors.length), this.validationErrors.length > 0 && this.showDropDown && (h("ls-icon", { key: 'cb17df8b327c6705d623193d8cc5efef40752a41', name: this.isExpanded ? 'chevron-up' : 'chevron-down', style: { cursor: 'pointer', scale: '0.60', margin: '0 -0.25rem' } }))), this.isExpanded && this.validationErrors.length !== 0 && this.showDropDown && (h("div", { key: 'fc8da1953be35ddbaa67258ac0991f49b89e6e49', class: 'field-dropdown' }, h("div", { key: '90f9bbf3490e236f737de60256e98e3dbc36254f', class: 'dropdown-header' }, h("h2", { key: 'b3f1c0f9a47e2c609b5d5f1aefb3ab080718bacd' }, "Fields Required"), h("p", { key: 'e5684640e3b80bd19fa91fc65848cf4baefd2da2' }, this.validationErrors.length, " ", this.validationErrors.length === 1 ? 'Recipient needs a Signature Field' : 'Recipients need Signature Fields', " placed for them")), this.validationErrors.map((field, idx) => {
|
|
9
10
|
const signerIndex = field?.role?.signerIndex ? field?.role?.signerIndex % 100 : null;
|
|
10
11
|
const pallette = defaultRolePalette[signerIndex || field?.element?.signer || 0];
|
|
11
12
|
return (h("div", { key: idx, class: 'required-field', style: {
|
|
@@ -96,6 +97,26 @@ export class LsValidationTag {
|
|
|
96
97
|
"setter": false,
|
|
97
98
|
"reflect": false,
|
|
98
99
|
"defaultValue": "false"
|
|
100
|
+
},
|
|
101
|
+
"showDropDown": {
|
|
102
|
+
"type": "boolean",
|
|
103
|
+
"attribute": "show-drop-down",
|
|
104
|
+
"mutable": false,
|
|
105
|
+
"complexType": {
|
|
106
|
+
"original": "boolean",
|
|
107
|
+
"resolved": "boolean",
|
|
108
|
+
"references": {}
|
|
109
|
+
},
|
|
110
|
+
"required": false,
|
|
111
|
+
"optional": false,
|
|
112
|
+
"docs": {
|
|
113
|
+
"tags": [],
|
|
114
|
+
"text": ""
|
|
115
|
+
},
|
|
116
|
+
"getter": false,
|
|
117
|
+
"setter": false,
|
|
118
|
+
"reflect": false,
|
|
119
|
+
"defaultValue": "true"
|
|
99
120
|
}
|
|
100
121
|
};
|
|
101
122
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls-validation-tag.js","sourceRoot":"","sources":["../../../src/components/ls-validation-tag/ls-validation-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAQ1E,MAAM,OAAO,eAAe;IACD,MAAM,GAAW,SAAS,CAAC;IAC3B,gBAAgB,GAAsB,EAAE,CAAC;IACzC,UAAU,GAAY,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ls-validation-tag.js","sourceRoot":"","sources":["../../../src/components/ls-validation-tag/ls-validation-tag.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { defaultRolePalette } from '../ls-document-viewer/defaultPalette';\nimport { ValidationError } from '../../types/ValidationError';\n\n@Component({\n tag: 'ls-validation-tag',\n styleUrl: 'ls-validation-tag.css',\n shadow: true,\n})\nexport class LsValidationTag {\n @Prop({ mutable: true }) status: string = 'Invalid';\n @Prop({ mutable: true }) validationErrors: ValidationError[] = [];\n @Prop({ mutable: true }) isExpanded: boolean = false;\n @Prop() showDropDown: boolean = true;\n\n render() {\n return (\n <Host>\n <div\n class={`valid-label ${this.validationErrors.length === 0 ? 'valid' : 'invalid'}`}\n onClick={this.validationErrors.length && (() => (this.isExpanded = !this.isExpanded))}\n >\n {this.validationErrors.length === 0 ? 'Ready to Send' : `Requires Fields`}\n {this.validationErrors.length > 0 && <div class={'field-counter'}>{this.validationErrors.length}</div>}\n {this.validationErrors.length > 0 && this.showDropDown && (\n <ls-icon name={this.isExpanded ? 'chevron-up' : 'chevron-down'} style={{ cursor: 'pointer', scale: '0.60', margin: '0 -0.25rem' }} />\n )}\n </div>\n {this.isExpanded && this.validationErrors.length !== 0 && this.showDropDown && (\n <div class={'field-dropdown'}>\n <div class={'dropdown-header'}>\n <h2>Fields Required</h2>\n <p>\n {this.validationErrors.length} {this.validationErrors.length === 1 ? 'Recipient needs a Signature Field' : 'Recipients need Signature Fields'} placed for them\n </p>\n </div>\n {this.validationErrors.map((field, idx) => {\n const signerIndex = field?.role?.signerIndex ? field?.role?.signerIndex % 100 : null;\n const pallette = defaultRolePalette[signerIndex || field?.element?.signer || 0];\n\n return (\n <div\n key={idx}\n class={'required-field'}\n style={{\n '--field-background': pallette.s10,\n '--field-border-color': pallette.s10,\n '--field-background-hover': pallette.s20,\n '--field-text-color': pallette.s70,\n '--field-text-color-hover': pallette.s80,\n '--field-border-color-hover': pallette.s60,\n }}\n >\n <div class={'required-field-items-left'}>\n <div class={'dot'} style={{ background: pallette.s60 }} />\n {field?.role && (\n <div class={'required-field-items-left'}>\n <p style={{ color: pallette.s80 }}>{field.role?.name || `Signer ${field?.role?.signerIndex + 1}`}</p>\n <div class={'role-label'} style={{ background: pallette.s30, color: pallette.s70 }}>\n {field.role?.roleType.toLowerCase() || `Signer ${field.role?.signerIndex + 1}`}\n </div>\n </div>\n )}\n {field?.element && (\n <>\n <p style={{ color: pallette.s80 }}>{field.role?.name || `${field.element.formElementType} ${field?.element?.label + 1}`}</p>\n <div class={'role-label'} style={{ background: pallette.s30, color: pallette.s70 }}>\n {field.description}\n </div>\n </>\n )}\n </div>\n </div>\n );\n })}\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
1
|
+
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-CEhCcP_A.js';
|
|
2
2
|
|
|
3
3
|
function format(first, middle, last) {
|
|
4
4
|
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface LsComposeManager extends Components.LsComposeManager, HTMLElement {}
|
|
4
|
+
export const LsComposeManager: {
|
|
5
|
+
prototype: LsComposeManager;
|
|
6
|
+
new (): LsComposeManager;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-CEhCcP_A.js';
|
|
2
|
+
|
|
3
|
+
const lsComposeManagerCss = ":host{display:block}";
|
|
4
|
+
|
|
5
|
+
const LsComposeManager$1 = /*@__PURE__*/ proxyCustomElement(class LsComposeManager extends H {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The base template information (as JSON).
|
|
13
|
+
* {LSApiTemplate}
|
|
14
|
+
*/
|
|
15
|
+
template;
|
|
16
|
+
render() {
|
|
17
|
+
return (h(Host, { key: '1dba0753733a9e01b75a9ede154ded5452da804b' }, h("div", { key: '74dc44ced7220ad9b0b5cc33faa0dc529f023068', class: "ls-editor-infobox" }, h("h2", { key: '9333d5ae196bbf0245f7ad45f54756e70e1bc7a6', class: "toolbox-section-title" }, "Recipient Fields"), h("p", { key: '4e1bb1fc4a733718fb1a1777a9d47dfc4bfd2bef', class: "toolbox-section-description" }, "Select and Click to place Signature fields where on the Document.")), h("div", { key: '30a4c2560eb66751f30da898598d4a867b423e21', class: "participant-list" }, this.template &&
|
|
18
|
+
this.template?.roles.map(() => {
|
|
19
|
+
return (h("div", null));
|
|
20
|
+
})), h("slot", { key: '51d70c91fb2eb7ebd2a0605797dacbcd03f0baa8' })));
|
|
21
|
+
}
|
|
22
|
+
static get style() { return lsComposeManagerCss; }
|
|
23
|
+
}, [257, "ls-compose-manager", {
|
|
24
|
+
"template": [16]
|
|
25
|
+
}]);
|
|
26
|
+
function defineCustomElement$1() {
|
|
27
|
+
if (typeof customElements === "undefined") {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const components = ["ls-compose-manager"];
|
|
31
|
+
components.forEach(tagName => { switch (tagName) {
|
|
32
|
+
case "ls-compose-manager":
|
|
33
|
+
if (!customElements.get(tagName)) {
|
|
34
|
+
customElements.define(tagName, LsComposeManager$1);
|
|
35
|
+
}
|
|
36
|
+
break;
|
|
37
|
+
} });
|
|
38
|
+
}
|
|
39
|
+
defineCustomElement$1();
|
|
40
|
+
|
|
41
|
+
const LsComposeManager = LsComposeManager$1;
|
|
42
|
+
const defineCustomElement = defineCustomElement$1;
|
|
43
|
+
|
|
44
|
+
export { LsComposeManager, defineCustomElement };
|
|
45
|
+
//# sourceMappingURL=ls-compose-manager.js.map
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=ls-compose-manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ls-compose-manager.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,sBAAsB;;MCSrCA,kBAAgB,iBAAAC,kBAAA,CAAA,MAAA,gBAAA,SAAAC,CAAA,CAAA;;;;;;AAE3B;;;AAGG;AACK,IAAA,QAAQ;IAEhB,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAA,EAC9B,CAAI,CAAA,IAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAsB,EAAA,kBAAA,CAAA,EACvD,CAAA,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAG,KAAK,EAAC,6BAA6B,EAAA,EAAA,mEAAA,CAAsE,CACxG,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,kBAAkB,EAC1B,EAAA,IAAI,CAAC,QAAQ;YACZ,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,MAAK;gBAC5B,QACE,CAAS,CAAA,KAAA,EAAA,IAAA,CAAA;AAEb,aAAC,CAAC,CACA,EACN,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["LsComposeManager","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-compose-manager/ls-compose-manager.css?tag=ls-compose-manager&encapsulation=shadow","src/components/ls-compose-manager/ls-compose-manager.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\nimport { LSApiTemplate } from '../../types/LSApiTemplate';\n\n\n@Component({\n tag: 'ls-compose-manager',\n styleUrl: 'ls-compose-manager.css',\n shadow: true,\n})\nexport class LsComposeManager {\n\n /**\n * The base template information (as JSON).\n * {LSApiTemplate}\n */\n @Prop() template: LSApiTemplate;\n\n render() {\n return (\n <Host>\n <div class=\"ls-editor-infobox\">\n <h2 class=\"toolbox-section-title\">Recipient Fields</h2>\n <p class=\"toolbox-section-description\">Select and Click to place Signature fields where on the Document.</p>\n </div>\n <div class=\"participant-list\">\n {this.template &&\n this.template?.roles.map(() => {\n return (\n <div />\n );\n })}\n </div>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LsDocumentOptions$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { L as LsDocumentOptions$1, d as defineCustomElement$1 } from './p-BnRYK-C4.js';
|
|
2
2
|
|
|
3
3
|
const LsDocumentOptions = LsDocumentOptions$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { a as alter, o as oob, f as findDimensions, r as recalculateCoordinates, b as findIn, u as updateTemplate, d as defineCustomElement$F, m as matchData, v as validate, c as moveField, g as getApiType, e as addField, h as getTemplate } from './p-
|
|
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$F, m as matchData, v as validate, c as moveField, g as getApiType, e as addField, h as getTemplate } from './p-CAbrMIbN.js';
|
|
3
3
|
import { a as attachAllTooltips } from './p-Cb8nDMs-.js';
|
|
4
|
-
import { d as defineCustomElement$G } from './p-
|
|
5
|
-
import { d as defineCustomElement$E } from './p-
|
|
6
|
-
import { d as defineCustomElement$D } from './p-
|
|
7
|
-
import { d as defineCustomElement$C } from './p-
|
|
8
|
-
import { d as defineCustomElement$B } from './p-
|
|
9
|
-
import { d as defineCustomElement$A } from './p-
|
|
10
|
-
import { d as defineCustomElement$z } from './p-
|
|
11
|
-
import { d as defineCustomElement$y } from './p-
|
|
12
|
-
import { d as defineCustomElement$x } from './p-
|
|
13
|
-
import { d as defineCustomElement$w } from './p-
|
|
14
|
-
import { d as defineCustomElement$v } from './p-
|
|
15
|
-
import { d as defineCustomElement$u } from './p-
|
|
16
|
-
import { d as defineCustomElement$t } from './p-
|
|
17
|
-
import { d as defineCustomElement$s } from './p-
|
|
18
|
-
import { d as defineCustomElement$r } from './p-
|
|
19
|
-
import { d as defineCustomElement$q } from './p-
|
|
20
|
-
import { d as defineCustomElement$p } from './p-
|
|
21
|
-
import { d as defineCustomElement$o } from './p-
|
|
22
|
-
import { d as defineCustomElement$n } from './p-
|
|
23
|
-
import { d as defineCustomElement$m } from './p-
|
|
24
|
-
import { d as defineCustomElement$l } from './p-
|
|
25
|
-
import { d as defineCustomElement$k } from './p-
|
|
26
|
-
import { d as defineCustomElement$j } from './p-
|
|
27
|
-
import { d as defineCustomElement$i } from './p-
|
|
28
|
-
import { d as defineCustomElement$h } from './p-
|
|
29
|
-
import { d as defineCustomElement$g } from './p-
|
|
30
|
-
import { d as defineCustomElement$f } from './p-
|
|
31
|
-
import { d as defineCustomElement$e } from './p-
|
|
32
|
-
import { d as defineCustomElement$d } from './p-
|
|
33
|
-
import { d as defineCustomElement$c } from './p-
|
|
34
|
-
import { d as defineCustomElement$b } from './p-
|
|
35
|
-
import { d as defineCustomElement$a } from './p-
|
|
36
|
-
import { d as defineCustomElement$9 } from './p-
|
|
37
|
-
import { d as defineCustomElement$8 } from './p-
|
|
38
|
-
import { d as defineCustomElement$7 } from './p-
|
|
39
|
-
import { d as defineCustomElement$6 } from './p-
|
|
40
|
-
import { d as defineCustomElement$5 } from './p-
|
|
41
|
-
import { d as defineCustomElement$4 } from './p-
|
|
42
|
-
import { d as defineCustomElement$3 } from './p-
|
|
43
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
+
import { d as defineCustomElement$G } from './p-BnRYK-C4.js';
|
|
5
|
+
import { d as defineCustomElement$E } from './p-BKPLevlT.js';
|
|
6
|
+
import { d as defineCustomElement$D } from './p-IlkS4czy.js';
|
|
7
|
+
import { d as defineCustomElement$C } from './p-Djqb_4PL.js';
|
|
8
|
+
import { d as defineCustomElement$B } from './p-DrD5JKw9.js';
|
|
9
|
+
import { d as defineCustomElement$A } from './p-CWMW0nzH.js';
|
|
10
|
+
import { d as defineCustomElement$z } from './p-XF3M9gAr.js';
|
|
11
|
+
import { d as defineCustomElement$y } from './p-CNX4llIr.js';
|
|
12
|
+
import { d as defineCustomElement$x } from './p-CciiwtyT.js';
|
|
13
|
+
import { d as defineCustomElement$w } from './p-yu8Gmj9y.js';
|
|
14
|
+
import { d as defineCustomElement$v } from './p-CAWxK_LI.js';
|
|
15
|
+
import { d as defineCustomElement$u } from './p-BvIKgXkH.js';
|
|
16
|
+
import { d as defineCustomElement$t } from './p-DkCVXmg3.js';
|
|
17
|
+
import { d as defineCustomElement$s } from './p-DfYmuFSx.js';
|
|
18
|
+
import { d as defineCustomElement$r } from './p-BphT81GV.js';
|
|
19
|
+
import { d as defineCustomElement$q } from './p-CeKcOUyM.js';
|
|
20
|
+
import { d as defineCustomElement$p } from './p-B7dTg-FF.js';
|
|
21
|
+
import { d as defineCustomElement$o } from './p-hHXffFw5.js';
|
|
22
|
+
import { d as defineCustomElement$n } from './p-CSmx-jJT.js';
|
|
23
|
+
import { d as defineCustomElement$m } from './p-B1U2Ui7F.js';
|
|
24
|
+
import { d as defineCustomElement$l } from './p-1dvcNcdF.js';
|
|
25
|
+
import { d as defineCustomElement$k } from './p-wgy1HDlb.js';
|
|
26
|
+
import { d as defineCustomElement$j } from './p-D-OtQhJz.js';
|
|
27
|
+
import { d as defineCustomElement$i } from './p-C7ohAVHE.js';
|
|
28
|
+
import { d as defineCustomElement$h } from './p-BCoqHTq9.js';
|
|
29
|
+
import { d as defineCustomElement$g } from './p-CdEPt9fv.js';
|
|
30
|
+
import { d as defineCustomElement$f } from './p-CWfyjOto.js';
|
|
31
|
+
import { d as defineCustomElement$e } from './p-gE1FA92I.js';
|
|
32
|
+
import { d as defineCustomElement$d } from './p-sqcHMrnp.js';
|
|
33
|
+
import { d as defineCustomElement$c } from './p-DKbeIqEX.js';
|
|
34
|
+
import { d as defineCustomElement$b } from './p-BNC69LYf.js';
|
|
35
|
+
import { d as defineCustomElement$a } from './p-C4YY0EyH.js';
|
|
36
|
+
import { d as defineCustomElement$9 } from './p-Wuj0cujc.js';
|
|
37
|
+
import { d as defineCustomElement$8 } from './p-Dk00ccBn.js';
|
|
38
|
+
import { d as defineCustomElement$7 } from './p-5pLj6W__.js';
|
|
39
|
+
import { d as defineCustomElement$6 } from './p-DZPnGx2N.js';
|
|
40
|
+
import { d as defineCustomElement$5 } from './p-IpGJwBtp.js';
|
|
41
|
+
import { d as defineCustomElement$4 } from './p-C28pfXKN.js';
|
|
42
|
+
import { d as defineCustomElement$3 } from './p-XkANRt3Q.js';
|
|
43
|
+
import { d as defineCustomElement$2 } from './p-BmEXSmLf.js';
|
|
44
44
|
|
|
45
45
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
46
46
|
|
|
@@ -24505,19 +24505,16 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24505
24505
|
modeHandler(_newMode, _oldMode) {
|
|
24506
24506
|
if (_newMode === 'preview') {
|
|
24507
24507
|
this.showtoolbar = false;
|
|
24508
|
-
this.showtoolbox = false;
|
|
24509
24508
|
this.showstatusbar = false;
|
|
24510
24509
|
this.readonly = true;
|
|
24511
24510
|
}
|
|
24512
24511
|
else if (_newMode === 'editor') {
|
|
24513
24512
|
this.showtoolbar = true;
|
|
24514
|
-
this.showtoolbox = true;
|
|
24515
24513
|
this.showstatusbar = true;
|
|
24516
24514
|
this.readonly = false;
|
|
24517
24515
|
}
|
|
24518
24516
|
else if (_newMode === 'compose') {
|
|
24519
24517
|
this.showtoolbar = true;
|
|
24520
|
-
this.showtoolbox = true;
|
|
24521
24518
|
this.showstatusbar = true;
|
|
24522
24519
|
this.readonly = false;
|
|
24523
24520
|
}
|
|
@@ -24542,10 +24539,10 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24542
24539
|
*/
|
|
24543
24540
|
displayTable = false;
|
|
24544
24541
|
/**
|
|
24545
|
-
*
|
|
24546
|
-
* {
|
|
24542
|
+
* Allows the selection of fields in the toolbox to be limited to a | (pipe) delimited list.
|
|
24543
|
+
* {string}
|
|
24547
24544
|
*/
|
|
24548
|
-
|
|
24545
|
+
filterToolbox = null;
|
|
24549
24546
|
/**
|
|
24550
24547
|
* Whether the top toolbar is displayed.
|
|
24551
24548
|
* {boolean}
|
|
@@ -24924,8 +24921,11 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24924
24921
|
componentDidLoad() {
|
|
24925
24922
|
attachAllTooltips(this.component.shadowRoot);
|
|
24926
24923
|
}
|
|
24924
|
+
showTool(fieldFormType) {
|
|
24925
|
+
return this.filterToolbox === null || this.filterToolbox.split('|').includes(fieldFormType);
|
|
24926
|
+
}
|
|
24927
24927
|
render() {
|
|
24928
|
-
return (h(Host, { key: '
|
|
24928
|
+
return (h(Host, { key: 'd8ce0d70a58af99fdd2c409e4054b58b64e3cb03' }, h(h.Fragment, null, this.isLoading && h("ls-page-loader", { key: 'ab5e54ba96698f1013ecb180d238514722a64576' }), h("div", { key: '13ca00d49a5e90ccd87fd3848596b00da38f4de5', class: 'validation-tag-wrapper' }, h("ls-validation-tag", { key: '95f916a6ab5408b5464d041665d070cb03dd2a38', validationErrors: this.validationErrors, showDropDown: this.mode === "editor" })), h("div", { key: '3c4ab91e87f408ed58431b1f61d65598d82b302b', class: "page-header" }, h("p", { key: '9c83746dc708c3ce530530f853f89f7d048dc61c', class: "header-text-1" }, "Template Creation"), h("p", { key: 'bb7db7928e0116665762c8c9f4fa5dfc8490b86f' }, "/"), h("p", { key: 'b6e6c67e9f7078d792ec1fd52b0bb92035e5c30e', class: "header-text-2" }, this._template?.title)), h("form", { key: '5b4a2e3331860f327b4d027a6c4598ad5acf7a06', id: "ls-editor-form" }, this.mode !== "preview" ? (h("div", { id: "ls-left-box", class: "leftBox" }, h("div", { class: !this.selected || this.selected.length === 0 ? 'left-box-inner' : 'hidden' }, h("ls-feature-column", { mode: this.mode, onManage: manager => {
|
|
24929
24929
|
if (manager.detail === 'document') {
|
|
24930
24930
|
var documentManager = this.component.shadowRoot.getElementById('ls-document-options');
|
|
24931
24931
|
documentManager.template = this._template;
|
|
@@ -24935,10 +24935,10 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24935
24935
|
participantManager.template = this._template;
|
|
24936
24936
|
}
|
|
24937
24937
|
this.manager = manager.detail;
|
|
24938
|
-
} }), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, h("h2", { class: "toolbox-section-title" }, "Participant Fields"), h("p", { class: "toolbox-section-description" }, "Select and Click to place Signature fields where you\u2019d like on the Document.")), h("div", { class: "fields-box" }, 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,
|
|
24938
|
+
} }), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, h("h2", { class: "toolbox-section-title" }, "Participant Fields"), h("p", { class: "toolbox-section-description" }, "Select and Click to place Signature fields where you\u2019d like 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' })), !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 => {
|
|
24939
24939
|
this.selected = [];
|
|
24940
24940
|
e.preventDefault();
|
|
24941
|
-
}, "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: '
|
|
24941
|
+
}, "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: 'a6d8ef8362453c0b506bf15ef6e81ed28390a035', id: "ls-toolbar", template: this._template, editor: this, groupInfo: this.groupInfo }), h("div", { key: '2f087618c9a6459debbf38690f9ce2d936b6e7d3', id: "ls-mid-area" }, h("div", { key: 'a7883f796dcaa17d811ea02b3bf94dedd8460b98', class: 'document-frame-wrapper', id: "document-frame-wrapper" }, h("div", { key: '44dd3294c9f2fbd37e7237f4fa6cf2177d5fa997', id: "ls-document-frame" }, h("canvas", { key: 'e0c972f5f70a103c6fa7e2a7ae478b75b717d67e', id: "pdf-canvas", class: this.displayTable || this.isLoading ? 'hidden' : '' }), h("ls-editor-table", { key: 'f22926e764e4f0c13dff4e95777bf27adf5ced77', editor: this, class: this.displayTable ? '' : 'hidden' }), h("div", { key: '45a5db8db4fb77eef714516d292a40c884e46910', id: "ls-box-selector" }))), h("ls-statusbar", { key: '7a1ad3aa1c76b5287b43b91798cb3f89289267bd', editor: this, page: this.pageNum, pageCount: this.pageCount })))), h("ls-tooltip", { key: 'c4f1614420969b565b2962c385ff042df8e43e0d', id: "ls-tooltip-master" })));
|
|
24942
24942
|
}
|
|
24943
24943
|
static get watchers() { return {
|
|
24944
24944
|
"mode": ["modeHandler"],
|
|
@@ -24960,7 +24960,7 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24960
24960
|
"mode": [1],
|
|
24961
24961
|
"manager": [1025],
|
|
24962
24962
|
"displayTable": [1028, "display-table"],
|
|
24963
|
-
"
|
|
24963
|
+
"filterToolbox": [1, "filter-toolbox"],
|
|
24964
24964
|
"showtoolbar": [4],
|
|
24965
24965
|
"showstatusbar": [4],
|
|
24966
24966
|
"showpagepreview": [4],
|