legalesign-document-viewer 1.0.16 → 1.0.18
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/{defaultFieldLabels-BKohZ5DW.js → defaultFieldLabels-XaiMppgy.js} +3 -3
- package/dist/{esm/defaultFieldLabels-DAGFP74Z.js.map → cjs/defaultFieldLabels-XaiMppgy.js.map} +1 -1
- package/dist/cjs/{editorUtils-CA5HbWrj.js → editorUtils-BIwWn2co.js} +26 -3
- package/dist/cjs/editorUtils-BIwWn2co.js.map +1 -0
- package/dist/cjs/{i18n-DZs4FndR.js → i18n-CWf7Wbwu.js} +9 -4
- package/dist/cjs/{i18n-DZs4FndR.js.map → i18n-CWf7Wbwu.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ls-add-new-button_21.cjs.entry.js +37 -37
- package/dist/cjs/ls-assignee-select_21.cjs.entry.js +112 -29
- package/dist/cjs/ls-compose-loader_7.cjs.entry.js +10 -10
- package/dist/cjs/ls-compose-manager.cjs.entry.js +1 -1
- package/dist/cjs/ls-document-viewer.cjs.entry.js +3 -3
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/cjs/ls-field-alignment_3.cjs.entry.js +9 -9
- package/dist/cjs/ls-field-format_2.cjs.entry.js +22 -22
- package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ls-field-type-display.cjs.entry.js +4 -4
- package/dist/cjs/ls-helper-bar_2.cjs.entry.js +3 -3
- package/dist/cjs/ls-title-input.cjs.entry.js +1 -1
- package/dist/cjs/ls-toolbox-field.cjs.entry.js +3 -3
- package/dist/cjs/{mouseHandlers-BdaPuPMr.js → mouseHandlers-gxITeofa.js} +4 -4
- package/dist/cjs/{mouseHandlers-BdaPuPMr.js.map → mouseHandlers-gxITeofa.js.map} +1 -1
- package/dist/collection/components/ls-document-viewer/defaultFieldLabels.js +1 -1
- package/dist/collection/components/ls-document-viewer/defaultFieldLabels.js.map +1 -1
- package/dist/collection/components/ls-field-content/ls-field-content.js +97 -12
- package/dist/collection/components/ls-field-content/ls-field-content.js.map +1 -1
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +3 -3
- 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-checkbox/ls-field-properties-checkbox.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-multiple/ls-field-properties-multiple.js +4 -4
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +1 -1
- package/dist/collection/components/ls-field-properties-regex/ls-field-properties-regex.js +2 -4
- package/dist/collection/components/ls-field-properties-regex/ls-field-properties-regex.js.map +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-field-type-select/ls-field-type-select.js +4 -4
- package/dist/collection/components/ls-helper-bar/ls-helper-bar.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-participant-manager/ls-participant-manager.js +3 -3
- package/dist/collection/components/ls-participant-select/ls-participant-select.js +10 -10
- package/dist/collection/components/ls-props-section/ls-props-section.js +1 -1
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +5 -5
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +1 -1
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +8 -8
- package/dist/collection/components/ls-title-input/ls-title-input.js +1 -1
- package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +3 -3
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +2 -2
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +2 -2
- package/dist/collection/utils/fieldValueValidator.js +23 -0
- package/dist/collection/utils/fieldValueValidator.js.map +1 -1
- package/dist/components/ls-assignee-select.js +1 -1
- package/dist/components/ls-compose-manager.js +1 -1
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +45 -45
- package/dist/components/ls-editor-field.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-checkbox.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 +13 -13
- 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-multiple.js +1 -1
- package/dist/components/ls-field-properties-number.js +1 -1
- package/dist/components/ls-field-properties-regex.js +2 -2
- 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 +4 -4
- package/dist/components/ls-field-type-select.js +1 -1
- package/dist/components/ls-helper-bar.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-left-bar.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-recipient-card.js +1 -1
- package/dist/components/ls-recipient-manager.js +1 -1
- package/dist/components/ls-select-menu.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/ls-title-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-validation-manager.js +1 -1
- package/dist/components/ls-validation-tag.js +1 -1
- package/dist/components/{p-CRSCcq_u.js → p-1iPzOxOE.js} +15 -15
- package/dist/components/{p-CRSCcq_u.js.map → p-1iPzOxOE.js.map} +1 -1
- package/dist/components/{p-DNZ70kWZ.js → p-B6REG0di.js} +5 -5
- package/dist/components/{p-DNZ70kWZ.js.map → p-B6REG0di.js.map} +1 -1
- package/dist/components/{p-BLZyVIno.js → p-BG91W9pt.js} +7 -7
- package/dist/components/{p-BLZyVIno.js.map → p-BG91W9pt.js.map} +1 -1
- package/dist/components/{p-CZjNHYfy.js → p-BOmuatf_.js} +3 -3
- package/dist/components/{p-CZjNHYfy.js.map → p-BOmuatf_.js.map} +1 -1
- package/dist/components/{p-CEDkOIai.js → p-BR7mip2Q.js} +15 -15
- package/dist/components/{p-CEDkOIai.js.map → p-BR7mip2Q.js.map} +1 -1
- package/dist/components/{p-DX_iaF-l.js → p-BVWeLTQg.js} +3 -3
- package/dist/components/{p-DX_iaF-l.js.map → p-BVWeLTQg.js.map} +1 -1
- package/dist/{esm/i18n-DU-efe4l.js → components/p-BVc-A9YY.js} +9 -4
- package/dist/components/{p-DU-efe4l.js.map → p-BVc-A9YY.js.map} +1 -1
- package/dist/components/{p-D8hvySYA.js → p-BWUG0vXm.js} +22 -22
- package/dist/components/{p-D8hvySYA.js.map → p-BWUG0vXm.js.map} +1 -1
- package/dist/components/{p-DtIt9SZR.js → p-Bb8RghrS.js} +4 -4
- package/dist/components/{p-DtIt9SZR.js.map → p-Bb8RghrS.js.map} +1 -1
- package/dist/components/{p-Lchcxmyh.js → p-BcMfkLrE.js} +8 -8
- package/dist/components/{p-Lchcxmyh.js.map → p-BcMfkLrE.js.map} +1 -1
- package/dist/components/{p-DsIip0mA.js → p-Bczmx7Fv.js} +106 -21
- package/dist/components/p-Bczmx7Fv.js.map +1 -0
- package/dist/components/{p-DADtrGXt.js → p-Bt9vyGIN.js} +18 -20
- package/dist/components/p-Bt9vyGIN.js.map +1 -0
- package/dist/components/{p-BUGOiaPK.js → p-BvbwUC1-.js} +6 -6
- package/dist/components/{p-BUGOiaPK.js.map → p-BvbwUC1-.js.map} +1 -1
- package/dist/components/{p-5h0sjj50.js → p-BycxgTiW.js} +29 -29
- package/dist/components/{p-5h0sjj50.js.map → p-BycxgTiW.js.map} +1 -1
- package/dist/components/{p-fj_5702A.js → p-C2kr199d.js} +15 -15
- package/dist/components/{p-fj_5702A.js.map → p-C2kr199d.js.map} +1 -1
- package/dist/components/{p-CPUhExFR.js → p-C4DjgV7f.js} +13 -13
- package/dist/components/{p-CPUhExFR.js.map → p-C4DjgV7f.js.map} +1 -1
- package/dist/components/{p-DwHAGiqD.js → p-CHoc09nt.js} +8 -8
- package/dist/components/{p-DwHAGiqD.js.map → p-CHoc09nt.js.map} +1 -1
- package/dist/components/{p-BFd0LX6c.js → p-CKzivy94.js} +39 -39
- package/dist/components/{p-BFd0LX6c.js.map → p-CKzivy94.js.map} +1 -1
- package/dist/components/{p-B3bEMPab.js → p-CSqKdeI0.js} +14 -14
- package/dist/components/{p-B3bEMPab.js.map → p-CSqKdeI0.js.map} +1 -1
- package/dist/components/{p-PPtZV34v.js → p-CW17HLId.js} +9 -9
- package/dist/components/{p-PPtZV34v.js.map → p-CW17HLId.js.map} +1 -1
- package/dist/components/{p-BwF-XEDF.js → p-CYVgyNHE.js} +15 -15
- package/dist/components/{p-BwF-XEDF.js.map → p-CYVgyNHE.js.map} +1 -1
- package/dist/components/{p-BDYqYoIy.js → p-C_TyI6A4.js} +3 -3
- package/dist/components/{p-BDYqYoIy.js.map → p-C_TyI6A4.js.map} +1 -1
- package/dist/components/{p-BpDKp7BL.js → p-Cga6QtlK.js} +9 -9
- package/dist/components/{p-BpDKp7BL.js.map → p-Cga6QtlK.js.map} +1 -1
- package/dist/components/{p-CHD6sWpW.js → p-ChatQkxm.js} +7 -7
- package/dist/components/{p-CHD6sWpW.js.map → p-ChatQkxm.js.map} +1 -1
- package/dist/components/{p-rDA6ITbv.js → p-CmF43eYQ.js} +15 -15
- package/dist/components/{p-rDA6ITbv.js.map → p-CmF43eYQ.js.map} +1 -1
- package/dist/components/{p-B5lJU9KU.js → p-CmKBzFCk.js} +4 -4
- package/dist/components/{p-B5lJU9KU.js.map → p-CmKBzFCk.js.map} +1 -1
- package/dist/components/{p-l5DR81kr.js → p-D2uYOiRx.js} +4 -4
- package/dist/components/{p-l5DR81kr.js.map → p-D2uYOiRx.js.map} +1 -1
- package/dist/components/{p-CXCcBcGu.js → p-D79P8JWO.js} +14 -14
- package/dist/components/{p-CXCcBcGu.js.map → p-D79P8JWO.js.map} +1 -1
- package/dist/components/{p-Crcg2pNy.js → p-D7JsZF1p.js} +15 -15
- package/dist/components/{p-Crcg2pNy.js.map → p-D7JsZF1p.js.map} +1 -1
- package/dist/components/{p-D3gjwFLc.js → p-DJJl1Ne0.js} +15 -15
- package/dist/components/{p-D3gjwFLc.js.map → p-DJJl1Ne0.js.map} +1 -1
- package/dist/components/{p-p5JEvsTq.js → p-DON_L-2z.js} +26 -4
- package/dist/components/p-DON_L-2z.js.map +1 -0
- package/dist/components/{p-CxBIa83N.js → p-DR4d6XBp.js} +3 -3
- package/dist/components/{p-CxBIa83N.js.map → p-DR4d6XBp.js.map} +1 -1
- package/dist/components/{p-EL05A6XH.js → p-DSMyZPzU.js} +5 -5
- package/dist/components/{p-EL05A6XH.js.map → p-DSMyZPzU.js.map} +1 -1
- package/dist/components/{p-T_Emh7AC.js → p-DrRu7-XU.js} +4 -4
- package/dist/components/{p-T_Emh7AC.js.map → p-DrRu7-XU.js.map} +1 -1
- package/dist/components/{p-C4h8Uik2.js → p-ODjTAjLW.js} +5 -5
- package/dist/components/{p-C4h8Uik2.js.map → p-ODjTAjLW.js.map} +1 -1
- package/dist/components/{p-DkDYh4WL.js → p-PAjHF3Ea.js} +4 -4
- package/dist/components/{p-DkDYh4WL.js.map → p-PAjHF3Ea.js.map} +1 -1
- package/dist/components/{p-qQidKYRw.js → p-SfphKlmO.js} +14 -14
- package/dist/components/{p-qQidKYRw.js.map → p-SfphKlmO.js.map} +1 -1
- package/dist/components/{p-DYVjHU88.js → p-T_CuLuOV.js} +3 -3
- package/dist/components/{p-DYVjHU88.js.map → p-T_CuLuOV.js.map} +1 -1
- package/dist/components/{p-BHt-_hqQ.js → p-ZcwAa7KC.js} +4 -4
- package/dist/components/{p-BHt-_hqQ.js.map → p-ZcwAa7KC.js.map} +1 -1
- package/dist/components/{p-ovBHb1rg.js → p-ZjMMOm8E.js} +4 -4
- package/dist/components/{p-ovBHb1rg.js.map → p-ZjMMOm8E.js.map} +1 -1
- package/dist/components/{p-DsqOfGfP.js → p-_52u02lV.js} +4 -4
- package/dist/components/{p-DsqOfGfP.js.map → p-_52u02lV.js.map} +1 -1
- package/dist/components/{p-D8XvOxx7.js → p-derWgTQn.js} +5 -5
- package/dist/components/{p-D8XvOxx7.js.map → p-derWgTQn.js.map} +1 -1
- package/dist/components/{p-CKcOLluN.js → p-di19mnrT.js} +3 -3
- package/dist/components/{p-CKcOLluN.js.map → p-di19mnrT.js.map} +1 -1
- package/dist/components/{p-DZJKaPhB.js → p-fgb4kEe-.js} +3 -3
- package/dist/components/{p-DZJKaPhB.js.map → p-fgb4kEe-.js.map} +1 -1
- package/dist/components/{p-Ds2yihe8.js → p-iRftFK5X.js} +6 -6
- package/dist/components/{p-Ds2yihe8.js.map → p-iRftFK5X.js.map} +1 -1
- package/dist/components/{p-Ab2eo4Ko.js → p-uPXdOtD3.js} +4 -4
- package/dist/components/{p-Ab2eo4Ko.js.map → p-uPXdOtD3.js.map} +1 -1
- package/dist/esm/{defaultFieldLabels-DAGFP74Z.js → defaultFieldLabels-flGFKG-K.js} +3 -3
- package/dist/{cjs/defaultFieldLabels-BKohZ5DW.js.map → esm/defaultFieldLabels-flGFKG-K.js.map} +1 -1
- package/dist/esm/{editorUtils-B1BCA_3i.js → editorUtils-Clhy2WDk.js} +26 -4
- package/dist/esm/editorUtils-Clhy2WDk.js.map +1 -0
- package/dist/{components/p-DU-efe4l.js → esm/i18n-BVc-A9YY.js} +9 -4
- package/dist/esm/{i18n-DU-efe4l.js.map → i18n-BVc-A9YY.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-add-new-button_21.entry.js +36 -36
- package/dist/esm/ls-assignee-select_21.entry.js +112 -29
- package/dist/esm/ls-compose-loader_7.entry.js +10 -10
- package/dist/esm/ls-compose-manager.entry.js +1 -1
- package/dist/esm/ls-document-viewer.entry.js +3 -3
- package/dist/esm/ls-document-viewer.js +1 -1
- package/dist/esm/ls-field-alignment_3.entry.js +9 -9
- package/dist/esm/ls-field-format_2.entry.js +22 -22
- package/dist/esm/ls-field-properties-dropdown.entry.js +1 -1
- package/dist/esm/ls-field-type-display.entry.js +4 -4
- package/dist/esm/ls-helper-bar_2.entry.js +3 -3
- package/dist/esm/ls-title-input.entry.js +1 -1
- package/dist/esm/ls-toolbox-field.entry.js +3 -3
- package/dist/esm/{mouseHandlers-DLIW6HsO.js → mouseHandlers-DNi-dzuO.js} +4 -4
- package/dist/esm/{mouseHandlers-DLIW6HsO.js.map → mouseHandlers-DNi-dzuO.js.map} +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/{p-2b4b7393.entry.js → p-122526ae.entry.js} +2 -2
- package/dist/ls-document-viewer/p-4c4f021f.entry.js +2 -0
- package/dist/ls-document-viewer/{p-e8688cca.entry.js → p-525e6669.entry.js} +2 -2
- package/dist/ls-document-viewer/p-815c52f4.entry.js +2 -0
- package/dist/ls-document-viewer/p-815c52f4.entry.js.map +1 -0
- package/dist/ls-document-viewer/{p-e6bccb0f.entry.js → p-9ed7b467.entry.js} +2 -2
- package/dist/ls-document-viewer/p-BVc-A9YY.js +2 -0
- package/dist/ls-document-viewer/{p-DU-efe4l.js.map → p-BVc-A9YY.js.map} +1 -1
- package/dist/ls-document-viewer/p-CrdhX_6k.js +2 -0
- package/dist/ls-document-viewer/p-CrdhX_6k.js.map +1 -0
- package/dist/ls-document-viewer/{p-14e74521.entry.js → p-b2e2e44a.entry.js} +2 -2
- package/dist/ls-document-viewer/{p-f5959479.entry.js → p-b970b543.entry.js} +2 -2
- package/dist/ls-document-viewer/{p-ab242e41.entry.js → p-bf21ed00.entry.js} +2 -2
- package/dist/ls-document-viewer/p-d78a6d79.entry.js +2 -0
- package/dist/ls-document-viewer/{p-23393ad4.entry.js.map → p-d78a6d79.entry.js.map} +1 -1
- package/dist/ls-document-viewer/{p-31fd0b5d.entry.js → p-dd9ede68.entry.js} +2 -2
- package/dist/ls-document-viewer/{p-bae1fb76.entry.js → p-eef14c83.entry.js} +2 -2
- package/dist/ls-document-viewer/p-f8af06d2.entry.js +2 -0
- package/dist/ls-document-viewer/p-f8af06d2.entry.js.map +1 -0
- package/dist/ls-document-viewer/{p-DAGFP74Z.js → p-flGFKG-K.js} +2 -2
- package/dist/ls-document-viewer/{p-DAGFP74Z.js.map → p-flGFKG-K.js.map} +1 -1
- package/dist/ls-document-viewer/{p-W-duPvwW.js → p-vjD8yFUf.js} +2 -2
- package/dist/ls-document-viewer/{p-W-duPvwW.js.map → p-vjD8yFUf.js.map} +1 -1
- package/dist/types/components/ls-field-content/ls-field-content.d.ts +6 -0
- package/dist/types/components/ls-field-properties-regex/ls-field-properties-regex.d.ts +1 -1
- package/dist/types/utils/fieldValueValidator.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/editorUtils-CA5HbWrj.js.map +0 -1
- package/dist/components/p-DADtrGXt.js.map +0 -1
- package/dist/components/p-DsIip0mA.js.map +0 -1
- package/dist/components/p-p5JEvsTq.js.map +0 -1
- package/dist/esm/editorUtils-B1BCA_3i.js.map +0 -1
- package/dist/ls-document-viewer/p-102816d6.entry.js +0 -2
- package/dist/ls-document-viewer/p-102816d6.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-23393ad4.entry.js +0 -2
- package/dist/ls-document-viewer/p-5dbd72f7.entry.js +0 -2
- package/dist/ls-document-viewer/p-5e4595f1.entry.js +0 -2
- package/dist/ls-document-viewer/p-5e4595f1.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-ClnfOEJp.js +0 -2
- package/dist/ls-document-viewer/p-ClnfOEJp.js.map +0 -1
- package/dist/ls-document-viewer/p-DU-efe4l.js +0 -2
- /package/dist/ls-document-viewer/{p-2b4b7393.entry.js.map → p-122526ae.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-5dbd72f7.entry.js.map → p-4c4f021f.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-e8688cca.entry.js.map → p-525e6669.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-e6bccb0f.entry.js.map → p-9ed7b467.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-14e74521.entry.js.map → p-b2e2e44a.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-f5959479.entry.js.map → p-b970b543.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-ab242e41.entry.js.map → p-bf21ed00.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-31fd0b5d.entry.js.map → p-dd9ede68.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-bae1fb76.entry.js.map → p-eef14c83.entry.js.map} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d as e}from"./p-BVc-A9YY.js";import{u as t}from"./p-CmJjDhcp.js";const i=(e,t,i=false,d=false)=>{const a=new Array;const{top:n,left:u,bottom:l,right:p}=t.getBoundingClientRect();e.forEach((e=>{if(e.getBoundingClientRect().bottom<=l&&e.getBoundingClientRect().top>=n&&e.getBoundingClientRect().left>=u&&e.getBoundingClientRect().right<=p){if(i)e.selected=true;a.push(e)}else{if(i&&!d)e.selected=false}}));return a};function d(e,t){const i=this._template.elementConnection.templateElements;this._template={...this._template,elementConnection:{...this._template.elementConnection,templateElements:[...i,t]}};const d=this.mode==="compose"?this._recipients?.find((e=>e.signerIndex===t.signer)):this._template.roles.find((e=>e.signerIndex===t.signer));const a=document.createElement("ls-editor-field");a.setAttribute("type",t.formElementType);a.setAttribute("id","ls-field-"+t.id);a.setAttribute("assignee",this.mode==="compose"&&d?.previousRecipientDecides?"To Be Decided":this.mode==="compose"?`${d?.firstName} ${d?.lastName}`:d?.name||(t.signer===0?"Sender":`Participant ${t.signer}`));a.setAttribute("zoom",String(this.zoom));a.setAttribute("readonly",String(this.mode==="preview"||this._template?.locked));a.style.zIndex="100";a.style.position="absolute";a.style.top=Math.floor(t.top*this.zoom)+"px";a.style.left=Math.floor(t.left*this.zoom)+"px";a.style.height=Math.floor(t.height*this.zoom)+"px";a.style.width=Math.floor(t.width*this.zoom)+"px";a.style.fontSize=Math.round(t.fontSize*this.zoom)+"px";a.style.alignContent=t.align;a.style.fontFamily=t.fontName;a.dataItem=t;e.appendChild(a);return a}function a(e,t){e.style.top=Math.floor(t.top*this.zoom)+"px";e.style.left=Math.floor(t.left*this.zoom)+"px";e.style.height=Math.floor(t.height*this.zoom)+"px";e.style.width=Math.floor(t.width*this.zoom)+"px";e.style.fontSize=Math.round(t.fontSize*this.zoom)+"px";e.style.fontFamily=t.fontName;e.style.textAlign=t.align;e.dataItem=u(t)}const n=(e,t,i,d,a)=>{const n=e.getBoundingClientRect();const{height:u,width:l}=t.getBoundingClientRect();const p=Math.round((t.getBoundingClientRect().top-n.top)/a);const f=Math.round((t.getBoundingClientRect().left-n.left)/a);const r=f>0?f/d:0;const y=p>0?p/i:0;const s=(f+l/a)/d;const o=(p+u/a)/i;return{top:p,left:f,height:Math.round(u/a),width:Math.round(l/a),ax:r,ay:y,bx:s,by:o}};const u=e=>{const t=e.left/e.pageDimensions.width;const i=e.top/e.pageDimensions.height;const d=(e.left+e.width)/e.pageDimensions.width;const a=(e.top+e.height)/e.pageDimensions.height;return{...e,ax:t,ay:i,bx:d,by:a}};const l=e=>`\n mutation LDVupdateTemplate {\n updateTemplate(input: {\n templateId: "${e.id}", \n title: "${e.title}",\n locked: ${e.locked},\n documentRetentionDays: ${e.documentRetentionDays},\n autoArchive: ${e.autoArchive},\n fixSignatureScale: ${e.fixSignatureScale?e.fixSignatureScale:false}\n })\n }\n `;const p=e=>`\n query LDVGetTemplate {\n template(id: "${e}") {\n id\n title\n fileName\n pageDimensions\n pageCount\n modified\n link\n valid\n locked\n autoArchive\n archived\n tags\n created\n createdBy\n lastSent\n fixSignatureScale\n groupId\n documentRetentionDays\n roles{\n id\n name\n roleType\n signerIndex\n ordinal\n signerParent\n experience\n }\n elementConnection {\n templateElements {\n align\n ax\n ay\n bx\n by\n elementType\n formElementType\n fieldOrder\n fontName\n fontSize\n helpText\n hideBorder\n id\n label\n labelExtra\n logicAction\n logicGroup\n mapTo\n options\n optional\n page\n role\n signer\n excludeFromPdf\n validation\n value\n }\n totalCount\n }\n userSignatureConnection {\n userSignatureElements {\n id\n userId\n ax\n ay\n bx\n by\n page\n link\n }\n }\n }\n }\n `;const f=(e,t,i,d)=>{if(!i||i==="")return null;if(e==="text"){return r(t,i)}if(e==="number"){return y(t,i)}if(e==="email"){return s(i)}if(e==="dropdown"&&t===20){return o(i,d)}if(e==="regular expression"){return m(i,d)}return null};const r=(t,i)=>{if(t>=65&&t<=72){const d=t-64;if(i.length!==d){return e.t("fieldvalidation.exactcharacters",{count:d})}return null}if(t===77){const t=i.replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));if(i!==t){return e.t("fieldvalidation.titlecase")}return null}if(t===78){if(i!==i.toUpperCase()){return e.t("fieldvalidation.uppercase")}return null}if(t===79){if(i!==i.toLowerCase()){return e.t("fieldvalidation.lowercase")}return null}return null};const y=(t,i)=>{if(t===50){if(!/^\d+$/.test(i))return e.t("fieldvalidation.wholenumber");return null}if(t===51){if(!/^\d+(\.\d+)?$/.test(i))return e.t("fieldvalidation.number");return null}if(t===52){if(!/^\d+\.\d{2}$/.test(i))return e.t("fieldvalidation.currency");return null}if(t>=53&&t<=64){const d=t-52;const a=new RegExp(`^\\d{${d}}$`);if(!a.test(i)){return e.t("fieldvalidation.exactdigits",{count:d})}return null}return null};const s=t=>{const i=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;if(!i.test(t)){return e.t("fieldvalidation.email")}return null};const o=(t,i)=>{if(!i||i.trim()==="")return null;const d=i.split("\n").map((e=>e.trim())).filter((e=>e.length>0));if(d.length===0)return null;if(!d.includes(t)){return e.t("fieldvalidation.dropdownoption")}return null};const m=(t,i)=>{const d=(i||"").split("\n")[0];if(!d)return null;try{return new RegExp(d).test(t)?null:e.t("fieldvalidation.invalidregexvalue")}catch{return null}};const h=t=>{try{return null}catch{return e.t("fieldvalidation.invalidregex")}};function c(t){var i=[];if(this._recipients){this._recipients.forEach((d=>{if(t.elementConnection.templateElements.filter((e=>e.formElementType==="signature"&&e.signer===d.signerIndex)).length===0){if(d?.roleType!=="APPROVER"){i.push({id:d.id,signerIndex:d.signerIndex,title:e.t("validation.missingsignature"),description:e.t("validation.recipientmissingsignature",{name:d.name}),role:d,type:"signature"})}}}))}else{t.roles.forEach((d=>{if(t.elementConnection.templateElements.filter((e=>e.formElementType==="signature"&&e.signer===d.signerIndex)).length===0){if(d?.roleType!=="APPROVER"){i.push({id:d.id,signerIndex:d.signerIndex,title:e.t("validation.missingsignature"),description:e.t("validation.recipientmissingsignature",{name:d.name}),role:d,type:"signature"})}}}))}t.elementConnection.templateElements.forEach((d=>{if(d.validation===20&&(!d.options||d.options.length===0)){const a=this._recipients||t.roles;const n=a?.find((e=>e.signerIndex===d.signer));i.push({id:d.id,signerIndex:d.signer,title:d.label||e.t("toolbox.dropdown"),description:n?.firstName?`${n.firstName} ${n.lastName}`:n?.name||e.t("participants.participant",{index:(d.signer||0)+1}),element:d,role:n,type:"options"})}}));t.elementConnection.templateElements.forEach((e=>{if(e.value){const d=f(e.formElementType,e.validation,e.value,e.options);if(d){const a=this._recipients||t.roles;const n=a?.find((t=>t.signerIndex===e.signer));i.push({id:e.id,signerIndex:e.signer,title:e.label||e.formElementType,description:d,element:e,role:n,type:"value"})}}}));return i}function g(e){if(e.left+e.width>e.pageDimensions.width||e.top<0||e.left<0||e.top+e.height>e.pageDimensions.height)return true;else return false}function T(e){const i=e.result;const a=atob(e.obj.id).substring(0,3);const n=i[Object.keys(i)[0]];if(e.event.action==="create"){if(a==="ele"){d.bind(this)(this.component.shadowRoot.getElementById("ls-document-frame"),{...e.obj,id:n});t(e.obj.id,n);this.update.emit({event:{...e.event,result:e.result},template:this._template});this.validationErrors=c.bind(this)(this._template)}}if(a==="rol"){return x.bind(this)().then((()=>{this.update.emit({event:{...e.event,result:e.result},template:this._template})}))}if(a==="tpl"){this._template={...this._template,...e.obj};this.validationErrors=c.bind(this)(this._template);this.update.emit({event:{...e.event,result:e.result},template:this._template})}}async function x(){const e=this.component.shadowRoot.querySelector("ls-left-bar");const t=e?.shadowRoot?.getElementById("ls-participant-manager");const i=await this.adapter.execute(this.token,p(this.templateid));console.log(i);this.parseTemplate(JSON.stringify(i.template));if(t)t.template=this._template;this.generateFields();this.showPageFields(this.pageNum);this.validationErrors=c.bind(this)(this._template)}function D(e){if(!e?.id)return"invalid";const t=atob(e.id);if(t.length<3)return"invalid";const i=atob(e.id).substring(0,3);switch(i){case"ele":return"element";case"rol":return"role";case"tpl":return"template";case"doc":return"document";default:return"unknown"}}const W=[{id:0,description:"general purpose",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:30,description:"yyyy/mm/dd (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:31,description:"yy/mm/dd (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:32,description:"dd/mm/yyyy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"text"},{id:33,description:"dd/mm/yy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:34,description:"mm/dd/yyyy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:35,description:"mm/dd/yy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:36,description:"yyyy.mm.dd (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:37,description:"yy.mm.dd (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:38,description:"dd.mm.yyyy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:39,description:"dd.mm.yy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:40,description:"mm.dd.yyyy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:41,description:"mm.dd.yy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:42,description:"yyyy-mm-dd (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:43,description:"yy-mm-dd (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:44,description:"dd-mm-yyyy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:45,description:"dd-mm-yy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:46,description:"mm-dd-yyyy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:47,description:"mm-dd-yy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:48,description:"d mmmm yyyy (auto sign day)",formType:"signing date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:73,description:"Secret Code",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:77,description:"Title caps (force text to title caps)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:78,description:"Uppercase (force text to uppercase)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:79,description:"Lowercase (force text to lowercase)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:65,description:"1 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:66,description:"2 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:67,description:"3 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:68,description:"4 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:69,description:"5 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:70,description:"6 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:71,description:"7 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:72,description:"8 character (any text)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:1e3,description:"First name field (special use)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"text"},{id:1001,description:"Last name field (special use)",formType:"text",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"text"},{id:1,description:"Email",formType:"email",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"text"},{id:1002,description:"Email field (special use)",formType:"email",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:50,description:"Whole number",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"number"},{id:51,description:"Number",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:52,description:"Currency",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:53,description:"1 number",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:54,description:"2 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:55,description:"3 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:56,description:"4 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:57,description:"5 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:58,description:"6 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:59,description:"7 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:60,description:"8 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:61,description:"9 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:62,description:"10 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:63,description:"11 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:64,description:"12 numbers",formType:"number",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"number"},{id:2,description:"yyyy/mm/dd",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"date"},{id:3,description:"yy/mm/dd",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:4,description:"dd/mm/yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"date"},{id:5,description:"dd/mm/yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:6,description:"mm/dd/yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:7,description:"mm/dd/yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:80,description:"mm/yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:81,description:"mm/yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:8,description:"yyyy.mm.dd",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:9,description:"yy.mm.dd",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:10,description:"dd.mm.yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:11,description:"dd.mm.yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:12,description:"mm.dd.yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:13,description:"mm.dd.yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:82,description:"mm.yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:83,description:"mm.yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:14,description:"yyyy-mm-dd",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:15,description:"yy-mm-dd",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:16,description:"dd-mm-yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:17,description:"dd-mm-yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:18,description:"mm-dd-yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:19,description:"mm-dd-yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:84,description:"mm-yy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:85,description:"mm-yyyy",formType:"date",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"date"},{id:20,description:"Dropdown List",formType:"dropdown",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"text"},{id:91,description:"Countries",formType:"dropdown",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:92,description:"Name prefix titles",formType:"dropdown",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:24,description:"✔/✗",formType:"checkbox",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"checkbox"},{id:25,description:"✔/empty",formType:"checkbox",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"checkbox"},{id:26,description:"✗/empty",formType:"checkbox",defaultHeight:16,defaultWidth:16,typeDefault:false,inputType:"checkbox"},{id:74,description:"File: attach to confirmatory email to sender",formType:"file",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"file"},{id:75,description:"File: append to PDF, PDF files only",formType:"file",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"file"},{id:76,description:"File: zip with PDF (for internal view, signed PDF for signer)",formType:"file",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"file"},{id:90,description:"Drawn field.",formType:"drawn field",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:2e3,description:"Initials",formType:"initials",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"text"},{id:93,description:"Regular Expression field",formType:"regular expression",defaultHeight:16,defaultWidth:200,typeDefault:false,inputType:"text"},{id:3e3,description:"Auto Sign",formType:"auto sign",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"text"},{id:4e3,description:"Text Area",formType:"textarea",defaultHeight:16,defaultWidth:200,typeDefault:true,inputType:"textarea"}];function H(e){if(e===null)return W[0];const t=W.find((t=>t.id===e));return t===null?W[0]:t}export{i as a,T as b,D as c,d,p as e,n as f,H as g,f as h,W as i,h as j,a as m,g as o,u as r,x as s,l as u,c as v};
|
|
2
|
+
//# sourceMappingURL=p-CrdhX_6k.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-CrdhX_6k.js","sources":["src/components/ls-document-viewer/editorCalculator.ts","src/components/ls-document-viewer/adapter/templateActions.ts","src/utils/fieldValueValidator.ts","src/components/ls-document-viewer/validator.ts","src/components/ls-document-viewer/editorUtils.ts"],"sourcesContent":["import { LSApiElement } from '../../types/LSApiElement';\n\nexport const findIn = (fields: NodeListOf<HTMLLsEditorFieldElement>, selector: HTMLElement, restyle: boolean = false, additive: boolean = false): HTMLLsEditorFieldElement[] => {\n const selected: HTMLLsEditorFieldElement[] = new Array();\n const { top, left, bottom, right } = selector.getBoundingClientRect();\n\n fields.forEach(f => {\n if (f.getBoundingClientRect().bottom <= bottom && f.getBoundingClientRect().top >= top && f.getBoundingClientRect().left >= left && f.getBoundingClientRect().right <= right) {\n if (restyle) f.selected = true;\n selected.push(f);\n } else {\n if (restyle && !additive) f.selected = false;\n }\n });\n return selected;\n};\n\n// Used to append new fields (dropped or loaded from template data)\nexport function addField(frame: HTMLElement, data): HTMLLsEditorFieldElement {\n const fields = this._template.elementConnection.templateElements;\n this._template = { ...this._template, elementConnection: { ...this._template.elementConnection, templateElements: [...fields, data] } };\n const assignee = this.mode === 'compose' ? this._recipients?.find(r => r.signerIndex === data.signer) : this._template.roles.find(r => r.signerIndex === data.signer);\n const node = document.createElement('ls-editor-field');\n node.setAttribute('type', data.formElementType);\n node.setAttribute('id', 'ls-field-' + data.id);\n node.setAttribute(\n 'assignee',\n this.mode === 'compose' && assignee?.previousRecipientDecides\n ? 'To Be Decided'\n : this.mode === 'compose'\n ? `${assignee?.firstName} ${assignee?.lastName}`\n : assignee?.name || (data.signer === 0 ? 'Sender' : `Participant ${data.signer}`),\n );\n node.setAttribute('zoom', String(this.zoom));\n node.setAttribute('readonly', String(this.mode === 'preview' || this._template?.locked));\n // node.setAttribute('selected', 'selected');\n node.style.zIndex = '100';\n node.style.position = 'absolute';\n\n node.style.top = Math.floor(data.top * this.zoom) + 'px';\n node.style.left = Math.floor(data.left * this.zoom) + 'px';\n node.style.height = Math.floor(data.height * this.zoom) + 'px';\n node.style.width = Math.floor(data.width * this.zoom) + 'px';\n node.style.fontSize = Math.round(data.fontSize * this.zoom) + 'px';\n node.style.alignContent = data.align;\n node.style.fontFamily = data.fontName;\n node.dataItem = data;\n\n frame.appendChild(node);\n\n return node as any as HTMLLsEditorFieldElement;\n}\n\nexport function moveField(item: HTMLLsEditorFieldElement, data) {\n item.style.top = Math.floor(data.top * this.zoom) + 'px';\n item.style.left = Math.floor(data.left * this.zoom) + 'px';\n item.style.height = Math.floor(data.height * this.zoom) + 'px';\n item.style.width = Math.floor(data.width * this.zoom) + 'px';\n item.style.fontSize = Math.round(data.fontSize * this.zoom) + 'px';\n item.style.fontFamily = data.fontName;\n item.style.textAlign = data.align;\n item.dataItem = recalculateCoordinates(data);\n}\n\n// calculates html compatible coords at current zoom level\nexport const transformCoordinates = (\n sourceField: LSApiElement,\n inputFieldWidth: number,\n inputFieldHeight: number,\n viewerWidth: number,\n viewerHeight: number,\n left: number,\n top: number,\n fontName: string,\n fontSize: number,\n zoom: number,\n): LSApiElement => {\n // Returns X, Y coordinates\n const ax = left > 0 ? left / viewerWidth : 0;\n const ay = top > 0 ? top / viewerHeight : 0;\n const bx = (left + inputFieldWidth) / viewerWidth;\n const by = (top + inputFieldHeight) / viewerHeight;\n\n // Return with calculated styles that try to place it as it would appear on legacy signing page\n return {\n ...sourceField,\n ax,\n ay,\n bx,\n by,\n cstyle: {\n margin: 0,\n verticalAlign: 'top',\n boxSizing: 'content-box',\n fontSize: viewerWidth < 640 ? `${(fontSize / 24) * zoom}rem` : `${fontSize * zoom}px`,\n fontFamily: fontName || 'arial',\n width: `${(inputFieldWidth * bx - inputFieldWidth * ax) * zoom}px`, // app1 input has padding-x 3px\n height: `${inputFieldHeight * (by - ay) * zoom}px`, // app1 input has padding-y 2px\n // minHeight: `${inputFieldHeight * (BY - AY) * zoom - 2}px`,\n lineHeight: 'inherit',\n },\n divStyle: {\n position: 'absolute',\n top: `${inputFieldHeight * ay * zoom}px`,\n left: `${inputFieldWidth * ax * zoom}px`,\n width: `${(inputFieldWidth * bx - inputFieldWidth * ax) * zoom}px`,\n height: `${inputFieldHeight * (by - ay) * zoom}px`,\n zIndex: 1000,\n fontSize: viewerWidth < 640 ? `${(fontSize / 24) * zoom}rem` : `${fontSize * zoom}px`,\n },\n objectHeight: `${inputFieldHeight * (by - ay) * zoom}px`,\n };\n};\n\n// from a field element get all dimension data including LEGACY dimensions\nexport const findDimensions = (\n frameContainer: HTMLDivElement,\n sourceField: HTMLLsEditorFieldElement,\n pageHeight: number,\n pageWidth: number,\n zoom: number,\n): { top: number; left: number; height: number; width: number; ax: number; ay: number; bx: number; by: number } => {\n // Position of widget frame\n const frmDims = frameContainer.getBoundingClientRect();\n // dimensions relative to viewport\n const { height, width } = sourceField.getBoundingClientRect();\n const top = Math.round((sourceField.getBoundingClientRect().top - frmDims.top) / zoom);\n const left = Math.round((sourceField.getBoundingClientRect().left - frmDims.left) / zoom);\n\n // Returns X, Y coordinates\n const ax = left > 0 ? left / pageWidth : 0;\n const ay = top > 0 ? top / pageHeight : 0;\n const bx = (left + width / zoom) / pageWidth;\n const by = (top + height / zoom) / pageHeight;\n\n // Return with calculated styles that try to place it as it would appear on legacy signing page\n return {\n top,\n left,\n height: Math.round(height / zoom),\n width: Math.round(width / zoom),\n ax,\n ay,\n bx,\n by,\n };\n};\n\n// from a field element get all dimension data including LEGACY dimensions\nexport const recalculateCoordinates = (d: LSApiElement): LSApiElement => {\n // Returns X, Y coordinates\n const ax = d.left / d.pageDimensions.width;\n const ay = d.top / d.pageDimensions.height;\n const bx = (d.left + d.width) / d.pageDimensions.width;\n const by = (d.top + d.height) / d.pageDimensions.height;\n\n // Return with calculated styles that try to place it as it would appear on legacy signing page\n return {\n ...d,\n ax,\n ay,\n bx,\n by,\n };\n};\n\n// from a field determinse if out of bounds\nexport const oob = (d: LSApiElement): boolean => {\n return d.left < 0 || d.top < 0 || d.left + d.width > d.pageDimensions.width || d.top + d.height > d.pageDimensions.height;\n};\n","// Add a role\nconst updateTemplate = template => {\n return `\n mutation LDVupdateTemplate {\n updateTemplate(input: {\n templateId: \"${template.id}\", \n title: \"${template.title}\",\n locked: ${template.locked},\n documentRetentionDays: ${template.documentRetentionDays},\n autoArchive: ${template.autoArchive},\n fixSignatureScale: ${template.fixSignatureScale ? template.fixSignatureScale : false}\n })\n }\n `;\n};\n\nconst getTemplate = (id: string) => {\n return `\n query LDVGetTemplate {\n template(id: \"${id}\") {\n id\n title\n fileName\n pageDimensions\n pageCount\n modified\n link\n valid\n locked\n autoArchive\n archived\n tags\n created\n createdBy\n lastSent\n fixSignatureScale\n groupId\n documentRetentionDays\n roles{\n id\n name\n roleType\n signerIndex\n ordinal\n signerParent\n experience\n }\n elementConnection {\n templateElements {\n align\n ax\n ay\n bx\n by\n elementType\n formElementType\n fieldOrder\n fontName\n fontSize\n helpText\n hideBorder\n id\n label\n labelExtra\n logicAction\n logicGroup\n mapTo\n options\n optional\n page\n role\n signer\n excludeFromPdf\n validation\n value\n }\n totalCount\n }\n userSignatureConnection {\n userSignatureElements {\n id\n userId\n ax\n ay\n bx\n by\n page\n link\n }\n }\n }\n }\n `;\n};\n\nexport { updateTemplate, getTemplate };\n","/**\n * Validates a field value based on its formElementType and validation ID.\n * Returns null if valid, or a translation key string if invalid.\n * Empty values always return null (required/optional is handled separately).\n */\nimport { dvI18n } from '../i18n/i18n';\n\nexport const validateFieldValue = (\n formElementType: string,\n validation: number,\n value: string,\n options?: string,\n): string | null => {\n if (!value || value === '') return null;\n\n if (formElementType === 'text') {\n return validateText(validation, value);\n }\n\n if (formElementType === 'number') {\n return validateNumber(validation, value);\n }\n\n if (formElementType === 'email') {\n return validateEmail(value);\n }\n\n if (formElementType === 'dropdown' && validation === 20) {\n return validateDropdownValue(value, options);\n }\n\n if (formElementType === 'regular expression') {\n return validateRegexValue(value, options);\n }\n\n return null;\n};\n\nconst validateText = (validation: number, value: string): string | null => {\n // Character length validations (65–72 → 1–8 characters)\n if (validation >= 65 && validation <= 72) {\n const requiredLength = validation - 64;\n if (value.length !== requiredLength) {\n return dvI18n.t('fieldvalidation.exactcharacters', { count: requiredLength });\n }\n return null;\n }\n\n // Title case (77)\n if (validation === 77) {\n const titleCased = value.replace(/\\w\\S*/g, txt => txt.charAt(0).toUpperCase() + txt.slice(1).toLowerCase());\n if (value !== titleCased) {\n return dvI18n.t('fieldvalidation.titlecase');\n }\n return null;\n }\n\n // Uppercase (78)\n if (validation === 78) {\n if (value !== value.toUpperCase()) {\n return dvI18n.t('fieldvalidation.uppercase');\n }\n return null;\n }\n\n // Lowercase (79)\n if (validation === 79) {\n if (value !== value.toLowerCase()) {\n return dvI18n.t('fieldvalidation.lowercase');\n }\n return null;\n }\n\n return null;\n};\n\nconst validateNumber = (validation: number, value: string): string | null => {\n // Whole number (50)\n if (validation === 50) {\n if (!/^\\d+$/.test(value)) return dvI18n.t('fieldvalidation.wholenumber');\n return null;\n }\n\n // Number with optional decimal (51)\n if (validation === 51) {\n if (!/^\\d+(\\.\\d+)?$/.test(value)) return dvI18n.t('fieldvalidation.number');\n return null;\n }\n\n // Currency (52)\n if (validation === 52) {\n if (!/^\\d+\\.\\d{2}$/.test(value)) return dvI18n.t('fieldvalidation.currency');\n return null;\n }\n\n // Exact digit count (53–64 → 1–12 digits)\n if (validation >= 53 && validation <= 64) {\n const requiredDigits = validation - 52;\n const pattern = new RegExp(`^\\\\d{${requiredDigits}}$`);\n if (!pattern.test(value)) {\n return dvI18n.t('fieldvalidation.exactdigits', { count: requiredDigits });\n }\n return null;\n }\n\n return null;\n};\n\nconst validateEmail = (value: string): string | null => {\n const emailPattern = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n if (!emailPattern.test(value)) {\n return dvI18n.t('fieldvalidation.email');\n }\n return null;\n};\n\nconst validateDropdownValue = (value: string, options?: string): string | null => {\n if (!options || options.trim() === '') return null;\n const optionList = options.split('\\n').map(o => o.trim()).filter(o => o.length > 0);\n if (optionList.length === 0) return null;\n if (!optionList.includes(value)) {\n return dvI18n.t('fieldvalidation.dropdownoption');\n }\n return null;\n};\n\nconst validateRegexValue = (value: string, options?: string): string | null => {\n const pattern = (options || '').split('\\n')[0];\n if (!pattern) return null;\n try {\n return new RegExp(pattern).test(value) ? null : dvI18n.t('fieldvalidation.invalidregexvalue');\n } catch {\n return null;\n }\n};\n\nexport const validateRegexPattern = (value: string): string | null => {\n try {\n new RegExp(value);\n return null;\n } catch {\n return dvI18n.t('fieldvalidation.invalidregex');\n }\n};\n\n","/**\n * This module contains all the rules required to mark a template\n * as valid.\n *\n */\n\nimport { LSApiTemplate } from '../../types/LSApiTemplate';\nimport { ValidationError } from '../../types/ValidationError';\nimport { validateFieldValue } from '../../utils/fieldValueValidator';\nimport { dvI18n } from '../../i18n/i18n';\n\nexport function validate(t: LSApiTemplate): ValidationError[] {\n var errors = [];\n\n if (this._recipients) {\n this._recipients.forEach(tr => {\n if (t.elementConnection.templateElements.filter(e => e.formElementType === 'signature' && e.signer === tr.signerIndex).length === 0) {\n if (tr?.roleType !== 'APPROVER') {\n errors.push({\n id: tr.id,\n signerIndex: tr.signerIndex,\n title: dvI18n.t('validation.missingsignature'),\n description: dvI18n.t('validation.recipientmissingsignature', { name: tr.name }),\n role: tr,\n type: 'signature',\n });\n }\n }\n });\n } else {\n // Check for missing signatures\n t.roles.forEach(tr => {\n if (t.elementConnection.templateElements.filter(e => e.formElementType === 'signature' && e.signer === tr.signerIndex).length === 0) {\n if (tr?.roleType !== 'APPROVER') {\n errors.push({\n id: tr.id,\n signerIndex: tr.signerIndex,\n title: dvI18n.t('validation.missingsignature'),\n description: dvI18n.t('validation.recipientmissingsignature', { name: tr.name }),\n role: tr,\n type: 'signature',\n });\n }\n }\n });\n }\n\n // Check for missing multi-select options\n t.elementConnection.templateElements.forEach(element => {\n if (element.validation === 20 && (!element.options || element.options.length === 0)) {\n const roles = this._recipients || t.roles;\n const role = roles?.find(r => r.signerIndex === element.signer);\n errors.push({\n id: element.id,\n signerIndex: element.signer,\n title: element.label || dvI18n.t('toolbox.dropdown'),\n description: role?.firstName ? `${role.firstName} ${role.lastName}` : role?.name || dvI18n.t('participants.participant', { index: (element.signer || 0) + 1 }),\n element: element,\n role: role,\n type: 'options',\n });\n }\n });\n\n // Check for invalid pre-filled values\n t.elementConnection.templateElements.forEach(element => {\n if (element.value) {\n const error = validateFieldValue(element.formElementType, element.validation, element.value, element.options);\n if (error) {\n const roles = this._recipients || t.roles;\n const role = roles?.find(r => r.signerIndex === element.signer);\n errors.push({\n id: element.id,\n signerIndex: element.signer,\n title: element.label || element.formElementType,\n description: error,\n element: element,\n role: role,\n type: 'value',\n });\n }\n }\n });\n\n return errors;\n}\n","/**\n * These utils are used to make document-viewer more readable\n * but they must be called using the bind() function so that\n * all code is executed within the correct 'this' scope.\n *\n * Avoid using arrow functions here as they reassign \"thiss\"\n */\n\nimport { LSApiElement } from '../../types/LSApiElement';\nimport { LSMutateEvent } from '../../types/LSMutateEvent';\nimport { ValidationType } from '../../types/ValidationType';\nimport { getTemplate } from './adapter/templateActions';\nimport { addField } from './editorCalculator';\nimport { validate } from './validator';\nimport { updateCreatedId } from './history';\n\n/**\n * Determines if an element will be plotted out of bounds, i.e. off\n * the page.\n */\nexport function oob(obj: LSApiElement): boolean {\n if (obj.left + obj.width > obj.pageDimensions.width || obj.top < 0 || obj.left < 0 || obj.top + obj.height > obj.pageDimensions.height) return true;\n else return false;\n}\n\nexport function alter(diffFn) {\n const diffs: LSMutateEvent[] = this.selected.map(c => {\n return { action: 'update', data: diffFn(c.dataItem) as LSApiElement };\n });\n this.mutate.emit(diffs);\n}\n\nexport function resetDataItems() {\n const fields = this.component.shadowRoot.querySelectorAll('ls-editor-field') as HTMLLsEditorFieldElement[];\n this.selected = Array.from(fields).filter(fx => fx.selected);\n this.selectFields.emit(this.selected.map(fx => fx.dataItem));\n}\n\nexport function debounce(func, timeout = 300) {\n let timer;\n return (...args) => {\n clearTimeout(timer);\n timer = setTimeout(() => {\n func.apply(this, args);\n }, timeout);\n };\n}\n\n// After a mutation ensure that the new data is stored in fields and template\nexport function matchData(data: { result: any; obj: any; event: LSMutateEvent }) {\n const newObj = data.result;\n const prefix = atob(data.obj.id).substring(0, 3);\n // because mutations return the ID back with the mutation name we just assume its the first (and only) JSON prop\n const id = newObj[Object.keys(newObj)[0]];\n\n if (data.event.action === 'create') {\n if (prefix === 'ele') {\n addField.bind(this)(this.component.shadowRoot.getElementById('ls-document-frame'), { ...data.obj, id });\n updateCreatedId(data.obj.id, id);\n\n this.update.emit({ event: { ...data.event, result: data.result }, template: this._template });\n this.validationErrors = validate.bind(this)(this._template);\n }\n }\n\n if (prefix === 'rol') { \n return syncRoles.bind(this)().then(() => {\n this.update.emit({ event: { ...data.event, result: data.result }, template: this._template });\n });\n \n }\n\n if (prefix === 'tpl') {\n this._template = { ...this._template, ...data.obj };\n this.validationErrors = validate.bind(this)(this._template);\n this.update.emit({ event: { ...data.event, result: data.result }, template: this._template });\n }\n}\n\nexport async function syncRoles() {\n const leftBar = this.component.shadowRoot.querySelector('ls-left-bar') as HTMLLsLeftBarElement;\n const participantManager = leftBar?.shadowRoot?.getElementById('ls-participant-manager') as HTMLLsParticipantManagerElement;\n const tresult = (await this.adapter.execute(this.token, getTemplate(this.templateid))) as any;\n console.log(tresult);\n this.parseTemplate(JSON.stringify(tresult.template));\n if (participantManager) participantManager.template = this._template;\n this.generateFields();\n this.showPageFields(this.pageNum);\n this.validationErrors = validate.bind(this)(this._template);\n}\n\n// Utility function which extracts the type from any API id\nexport function getApiType(obj: any) {\n if (!obj?.id) return 'invalid';\n\n const apiId = atob(obj.id);\n if (apiId.length < 3) return 'invalid';\n\n const prefix = atob(obj.id).substring(0, 3);\n\n switch (prefix) {\n case 'ele':\n return 'element';\n case 'rol':\n return 'role';\n case 'tpl':\n return 'template';\n case 'doc':\n return 'document';\n default:\n return 'unknown';\n }\n}\n\nexport const validationTypes: any = [\n { id: 0, description: 'general purpose', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 30, description: 'yyyy/mm/dd (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 31, description: 'yy/mm/dd (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 32, description: 'dd/mm/yyyy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'text' },\n { id: 33, description: 'dd/mm/yy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 34, description: 'mm/dd/yyyy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 35, description: 'mm/dd/yy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 36, description: 'yyyy.mm.dd (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 37, description: 'yy.mm.dd (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 38, description: 'dd.mm.yyyy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 39, description: 'dd.mm.yy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 40, description: 'mm.dd.yyyy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 41, description: 'mm.dd.yy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 42, description: 'yyyy-mm-dd (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 43, description: 'yy-mm-dd (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 44, description: 'dd-mm-yyyy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 45, description: 'dd-mm-yy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 46, description: 'mm-dd-yyyy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 47, description: 'mm-dd-yy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 48, description: 'd mmmm yyyy (auto sign day)', formType: 'signing date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 73, description: 'Secret Code', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 77, description: 'Title caps (force text to title caps)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 78, description: 'Uppercase (force text to uppercase)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 79, description: 'Lowercase (force text to lowercase)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 65, description: '1 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 66, description: '2 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 67, description: '3 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 68, description: '4 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 69, description: '5 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 70, description: '6 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 71, description: '7 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 72, description: '8 character (any text)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 1000, description: 'First name field (special use)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'text' },\n { id: 1001, description: 'Last name field (special use)', formType: 'text', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'text' },\n { id: 1, description: 'Email', formType: 'email', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'text' },\n { id: 1002, description: 'Email field (special use)', formType: 'email', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 50, description: 'Whole number', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'number' },\n { id: 51, description: 'Number', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 52, description: 'Currency', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 53, description: '1 number', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 54, description: '2 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 55, description: '3 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 56, description: '4 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 57, description: '5 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 58, description: '6 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 59, description: '7 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 60, description: '8 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 61, description: '9 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 62, description: '10 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 63, description: '11 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 64, description: '12 numbers', formType: 'number', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'number' },\n { id: 2, description: 'yyyy/mm/dd', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'date' },\n { id: 3, description: 'yy/mm/dd', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 4, description: 'dd/mm/yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'date' },\n { id: 5, description: 'dd/mm/yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 6, description: 'mm/dd/yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 7, description: 'mm/dd/yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 80, description: 'mm/yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 81, description: 'mm/yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 8, description: 'yyyy.mm.dd', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 9, description: 'yy.mm.dd', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 10, description: 'dd.mm.yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 11, description: 'dd.mm.yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 12, description: 'mm.dd.yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 13, description: 'mm.dd.yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 82, description: 'mm.yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 83, description: 'mm.yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 14, description: 'yyyy-mm-dd', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 15, description: 'yy-mm-dd', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 16, description: 'dd-mm-yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 17, description: 'dd-mm-yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 18, description: 'mm-dd-yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 19, description: 'mm-dd-yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 84, description: 'mm-yy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 85, description: 'mm-yyyy', formType: 'date', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'date' },\n { id: 20, description: 'Dropdown List', formType: 'dropdown', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'text' },\n { id: 91, description: 'Countries', formType: 'dropdown', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 92, description: 'Name prefix titles', formType: 'dropdown', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 24, description: '✔/✗', formType: 'checkbox', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'checkbox' },\n { id: 25, description: '✔/empty', formType: 'checkbox', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'checkbox' },\n { id: 26, description: '✗/empty', formType: 'checkbox', defaultHeight: 16, defaultWidth: 16, typeDefault: false, inputType: 'checkbox' },\n { id: 74, description: 'File: attach to confirmatory email to sender', formType: 'file', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'file' },\n { id: 75, description: 'File: append to PDF, PDF files only', formType: 'file', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'file' },\n {\n id: 76,\n description: 'File: zip with PDF (for internal view, signed PDF for signer)',\n formType: 'file',\n defaultHeight: 16,\n defaultWidth: 200,\n typeDefault: false,\n inputType: 'file',\n },\n { id: 90, description: 'Drawn field.', formType: 'drawn field', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 2000, description: 'Initials', formType: 'initials', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'text' },\n { id: 93, description: 'Regular Expression field', formType: 'regular expression', defaultHeight: 16, defaultWidth: 200, typeDefault: false, inputType: 'text' },\n { id: 3000, description: 'Auto Sign', formType: 'auto sign', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'text' },\n { id: 4000, description: 'Text Area', formType: 'textarea', defaultHeight: 16, defaultWidth: 200, typeDefault: true, inputType: 'textarea' },\n];\n\n// See validation table in database for latest values - these have to be hard coded for our HTML control - ASW\nexport function getInputType(validation: number): ValidationType {\n if (validation === null) return validationTypes[0];\n\n const inputType: ValidationType = validationTypes.find(v => v.id === validation);\n\n return inputType === null ? validationTypes[0] : inputType;\n}\n"],"names":[],"mappings":";;;AAEa,MAAA,MAAM,GAAG,CAAC,MAA4C,EAAE,QAAqB,EAAE,UAAmB,KAAK,EAAE,QAAoB,GAAA,KAAK,KAAgC;AAC7K,IAAA,MAAM,QAAQ,GAA+B,IAAI,KAAK,EAAE;AACxD,IAAA,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,qBAAqB,EAAE;AAErE,IAAA,MAAM,CAAC,OAAO,CAAC,CAAC,IAAG;AACjB,QAAA,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC,MAAM,IAAI,MAAM,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC,KAAK,IAAI,KAAK,EAAE;AAC5K,YAAA,IAAI,OAAO;AAAE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A,OAAO,eAAe,CAAC,CAAC,CAAC;AAElD,IAAA,MAAM,SAAS,GAAmB,eAAe,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,UAAU,CAAC;AAEhF,IAAA,OAAO,SAAS,KAAK,IAAI,GAAG,eAAe,CAAC,CAAC,CAAC,GAAG,SAAS;AAC5D;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as r,a as o,h as t,H as a}from"./p-CItPoq74.js";import{d as i}from"./p-CwCWCxsI.js";const l=()=>`.ls-dv-toolbox-field{display:flex;padding:0.5rem;align-items:center;justify-content:center;gap:0.875rem;border-radius:1rem;border:1px solid var(--gray-20, #edeff2);background:white;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1);cursor:grab}:host(.ls-dv-dragging) .ls-dv-toolbox-field,:host(.ls-dv-dragging) .ls-dv-toolbox-field *{cursor:grabbing !important}.ls-dv-toolbox-field:active{cursor:grabbing}.ls-dv-toolbox-field:hover{background:var(--gray-10, #f7f8fa);box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);border:1px solid var(--gray-30, #e0e2e5)}.ls-dv-warning-box{display:flex;padding:0.38rem;align-items:center;justify-content:center;border-radius:0.625rem;border:1px solid var(--red-40, #ffa19e);background:var(--red-10, #fff0f0);color:var(--red-60, #f64a44)}.ls-dv-toolbox-field-icon{display:flex;padding:0.5rem;align-items:center;border-radius:0.625rem;border:1px solid var(--signer-color);background:var(--signer-color-light);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1);color:var(--signer-color)}.ls-dv-toolbox-field-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;width:100%;margin:0}p{color:var(--gray-80, #6f7176);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)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-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, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-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.625rem;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, #ffffff)}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, #ffffff)}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].ls-dv-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].ls-dv-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].ls-dv-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}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}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.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-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, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const d=class{constructor(o){e(this,o);this.fieldTypeSelected=r(this,"fieldTypeSelected",7);this.toolboxDragStart=r(this,"toolboxDragStart",7)}get component(){return o(this)}formElementType;elementType;validation=0;fixedAspect=null;redDot=false;label;icon;tooltip;defaultHeight;defaultWidth;signer=0;isSelected=false;fieldTypeSelected;toolboxDragStart;handleMouseDown(e){if(e.button!==0)return;e.preventDefault();this.fieldTypeSelected.emit({label:this.label,formElementType:this.formElementType,elementType:this.elementType,validation:this.validation,defaultHeight:this.defaultHeight,defaultWidth:this.defaultWidth,fixedAspect:this.fixedAspect});this.toolboxDragStart.emit({label:this.label,formElementType:this.formElementType,elementType:this.elementType,validation:this.validation,defaultHeight:this.defaultHeight,defaultWidth:this.defaultWidth,fixedAspect:this.fixedAspect})}handleKeyDown(e){if(e.key==="ArrowDown"){console.log("down arrow pressed")}}componentDidLoad(){}render(){return t(a,{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as r,a as o,h as t,H as a}from"./p-CItPoq74.js";import{d as i}from"./p-CwCWCxsI.js";const l=()=>`.ls-dv-toolbox-field{display:flex;padding:0.5rem;align-items:center;justify-content:center;gap:0.875rem;border-radius:1rem;border:1px solid var(--gray-20, #edeff2);background:white;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1);cursor:grab}:host(.ls-dv-dragging) .ls-dv-toolbox-field,:host(.ls-dv-dragging) .ls-dv-toolbox-field *{cursor:grabbing !important}.ls-dv-toolbox-field:active{cursor:grabbing}.ls-dv-toolbox-field:hover{background:var(--gray-10, #f7f8fa);box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);border:1px solid var(--gray-30, #e0e2e5)}.ls-dv-warning-box{display:flex;padding:0.38rem;align-items:center;justify-content:center;border-radius:0.625rem;border:1px solid var(--red-40, #ffa19e);background:var(--red-10, #fff0f0);color:var(--red-60, #f64a44)}.ls-dv-toolbox-field-icon{display:flex;padding:0.5rem;align-items:center;border-radius:0.625rem;border:1px solid var(--signer-color);background:var(--signer-color-light);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1);color:var(--signer-color)}.ls-dv-toolbox-field-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;width:100%;margin:0}p{color:var(--gray-80, #6f7176);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)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-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, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-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.625rem;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, #ffffff)}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, #ffffff)}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].ls-dv-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].ls-dv-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].ls-dv-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}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}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.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-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, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const d=class{constructor(o){e(this,o);this.fieldTypeSelected=r(this,"fieldTypeSelected",7);this.toolboxDragStart=r(this,"toolboxDragStart",7)}get component(){return o(this)}formElementType;elementType;validation=0;fixedAspect=null;redDot=false;label;icon;tooltip;defaultHeight;defaultWidth;signer=0;isSelected=false;fieldTypeSelected;toolboxDragStart;handleMouseDown(e){if(e.button!==0)return;e.preventDefault();this.fieldTypeSelected.emit({label:this.label,formElementType:this.formElementType,elementType:this.elementType,validation:this.validation,defaultHeight:this.defaultHeight,defaultWidth:this.defaultWidth,fixedAspect:this.fixedAspect});this.toolboxDragStart.emit({label:this.label,formElementType:this.formElementType,elementType:this.elementType,validation:this.validation,defaultHeight:this.defaultHeight,defaultWidth:this.defaultWidth,fixedAspect:this.fixedAspect})}handleKeyDown(e){if(e.key==="ArrowDown"){console.log("down arrow pressed")}}componentDidLoad(){}render(){return t(a,{key:"88e4459b0d7422aebdadf717bff3bb2c4d4c84fb"},t("div",{key:"bd39081428ad4f1fbcaf8c236438d3932b2f8a19",class:"ls-dv-toolbox-field",style:this.isSelected&&{background:i[this.signer%100].s10,border:`1px solid ${i[this.signer%100].s60}`,color:i[this.signer%100].s80,boxShadow:`0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);`}},t("div",{key:"a6a195edbff02f5b8b6e8d6ea98f7eaf3f66ed4e",class:"ls-dv-toolbox-field-icon",style:{"--signer-color-light":i[this.signer%100].s10,"--signer-color":i[this.signer%100].s60},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":this.tooltip,"data-tooltip-place":"right"},t("ls-icon",{key:"32e2c8b3f030cffbdd7791706249a029b85f2ecc",name:this.icon,size:20})),t("p",{key:"ecc41c26905cd348598dfefb5fd39ce43b82ba54",class:"ls-dv-toolbox-field-label",style:this.isSelected&&{color:i[this.signer%100].s80}},this.label),this.redDot&&t("div",{key:"359b8dc63e056dda41beb5ab0ee35d8fce52c79c",class:"ls-dv-warning-box","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":`${this.label} Field Required`,"data-tooltip-place":"left"},t("ls-icon",{key:"cbb309f9bec00e18c1fb246f3047d86b0c384604",name:"exclamation-circle-icon",size:18,solid:true})),t("ls-icon",{key:"cdc515935d4946a39c97ecbf1a3060a3a988e6ba",name:"drag-vertical-icon",size:16,customStyle:{color:this.isSelected?i[this.signer%100].s60:"#787a80"}})),t("ls-tooltip",{key:"a247ab1d77f383a3a45d543a2b312560a8e7eb90",tooltipId:"ls-dv-tooltip"}))}};d.style=l();export{d as ls_toolbox_field};
|
|
2
|
+
//# sourceMappingURL=p-b2e2e44a.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,a as t,h as o,H as a}from"./p-CItPoq74.js";import{d as s}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,a as t,h as o,H as a}from"./p-CItPoq74.js";import{d as s}from"./p-BVc-A9YY.js";const d=()=>`.ls-dv-controls-bar{position:relative;z-index:1;display:flex;flex-direction:column;background-color:white;border:1px solid var(--gray-30, #e0e2e5);box-shadow:0px 4px 16px rgba(0, 0, 0, 0.1);border-radius:var(--rounded-full, 9999px);gap:0.75rem;padding:0.5rem}button{all:unset;border:0;color:var(--gray-80, #6f7176)}button:hover{color:var(--gray-100, #45484d);border-radius:0.625rem}button:disabled{color:var(--gray-40, #d8d9dc);cursor:not-allowed}.ls-dv-divider{height:1px;background-color:var(--gray-30, #e0e2e5);width:100%;margin:-0.25rem 0}`;const l=class{constructor(t){e(this,t)}get component(){return t(this)}expanded=false;showShortcuts=false;isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);componentDidLoad(){}render(){return o(a,{key:"3413b2b82aa4749cd5ec6f8f1c3acc6fed2906b2"},o("div",{key:"bdd3dd45b744422cffe8491ef0f2a882b7f23368",class:"ls-dv-controls-bar",onMouseEnter:()=>this.expanded=true,onMouseLeave:()=>this.expanded=false},o("button",{key:"69549af2763602db8711201b433895d97a74a61b",style:!this.expanded?{display:"none"}:{display:"block",position:"relative"},id:"keyboard-btn",onMouseEnter:()=>this.showShortcuts=true,onMouseLeave:()=>this.showShortcuts=false},o("ls-keyboard-shortcuts",{key:"e4627e153e39da9ace30992c8e602687aec9571b",style:!this.showShortcuts?{display:"none"}:{display:"block"}}),o("ls-icon",{key:"06ef31f275d395ce413286ca9a227099a3d216dc",name:"keyboard-icon"})),o("button",{key:"d879262dcd3582b84f0c9ff0f5ed07aaf61fa0c6",style:!this.expanded?{display:"none"}:{display:"block"},onClick:()=>window.open("https://docs.legalesign.com/web-app/how-to/useedit","_blank"),"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<span style="white-space:nowrap">${s.t("helperbar.viewdocumentation")}</span>`,"data-tooltip-place":this.isSafari?"top":"left"},o("ls-icon",{key:"65dbe3fc11dcd495fd27bb9ca152bc10e090fadd",name:"book-open-icon"})),o("button",{key:"890020a66d7d179f71cfd89a49e36ca623ea16e7",style:!this.expanded?{display:"none"}:{display:"block"},onClick:()=>window.open("https://support.legalesign.io/tickets","_blank"),"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<span style="white-space:nowrap">${s.t("helperbar.contactsupport")}</span>`,"data-tooltip-place":this.isSafari?"top":"left"},o("ls-icon",{key:"ed34d0993a38c00255c810ca67764e6b0bf89362",name:"support-icon"})),o("div",{key:"a4d9b6ed17bef93fd07e86611169387431b797ad",class:"ls-dv-divider",style:!this.expanded?{display:"none"}:{display:"block"}}),o("button",{key:"d8c2b5544f456fe9c9d4c7fa0aac447031c2ed2b"},o("ls-icon",{key:"a50bc9cdc0dcdbcfaad6a4a8d2b0830504430032",name:"question-mark-circle-icon"}))),o("slot",{key:"8b362c5416d33f5824d6afd1949b50e74a2ddec2"}),o("ls-tooltip",{key:"c83217c507424f46a3fdd8021e6fc26b61adb7b6",tooltipId:"ls-dv-tooltip"}))}};l.style=d();const r=()=>`:host{position:absolute;pointer-events:none}*{box-sizing:border-box;margin:0;padding:0}.ls-dv-keyboard-shortcuts-tooltip{position:absolute;bottom:0;right:0;border-radius:0.625rem;background:var(--gray-100, #45484d);color:var(--white, #ffffff);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;padding:1rem;width:fit-content;white-space:nowrap;z-index:1000;box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 -1px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03)}.ls-dv-tooltip-title{font-size:0.875rem;font-weight:600;line-height:1rem;margin-bottom:0.5rem}.ls-dv-shortcuts-table{border-spacing:0}.ls-dv-shortcuts-table tr td{padding:0.2rem 0}.ls-dv-shortcut-keys{font-weight:500;padding-right:1rem;font-family:monospace;font-size:0.7rem;color:var(--gray-30, #e0e2e5)}.ls-dv-shortcut-label{color:var(--white, #ffffff)}#arrow{display:none}`;const i=class{constructor(t){e(this,t)}isMac=navigator.platform?.toLowerCase().includes("mac")||navigator.userAgent?.toLowerCase().includes("mac");get mod(){return this.isMac?"⌘":"Ctrl"}render(){const e=[{keys:`${this.mod} + C`,label:s.t("shortcuts.copy")},{keys:`${this.mod} + V`,label:s.t("shortcuts.paste")},{keys:`${this.mod} + X`,label:s.t("shortcuts.cut")},{keys:`${this.mod} + A`,label:s.t("shortcuts.selectall")},{keys:`${this.mod} + Z`,label:s.t("shortcuts.undo")},{keys:this.isMac?"⌘ + ⇧ + Z":"Ctrl + Y",label:s.t("shortcuts.redo")},{keys:"D",label:s.t("shortcuts.duplicate")},{keys:"⌫",label:s.t("shortcuts.delete")},{keys:"↑ ↓ ← →",label:s.t("shortcuts.move")},{keys:`${this.mod} + Scroll`,label:s.t("shortcuts.zoom")},{keys:"Esc",label:s.t("shortcuts.deselect")}];return o("div",{key:"6b2cd6f3cedf4ad89b7553e972bf07bb8de90993",class:"ls-dv-keyboard-shortcuts-tooltip"},o("div",{key:"f1fc6038040c2e381cea9a275434af1767d23b86",id:"arrow"}),o("p",{key:"4d3f72b2f538967324dddf67b6b68801a1d29a25",class:"ls-dv-tooltip-title"},s.t("shortcuts.title")),o("table",{key:"b860b2419d61604f9eaad9d9cdaaa108d2cd1c2d",class:"ls-dv-shortcuts-table"},e.map((e=>o("tr",null,o("td",{class:"ls-dv-shortcut-keys"},e.keys),o("td",{class:"ls-dv-shortcut-label"},e.label))))))}};i.style=r();export{l as ls_helper_bar,i as ls_keyboard_shortcuts};
|
|
2
|
+
//# sourceMappingURL=p-b970b543.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as t,a,h as o,H as r}from"./p-CItPoq74.js";import{d as i}from"./p-DU-efe4l.js";import{d}from"./p-CwCWCxsI.js";const l=()=>`:host{display:flex;flex-direction:row}.ls-dv-field-format-bar{display:flex;flex-direction:row;gap:0.5rem}p{color:var(--gray-80, #6f7176);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)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;min-width:fit-content}.ls-dv-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, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}.ls-dv-has-trailing-icon{padding-right:2rem}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.625rem;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, #ffffff)}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, #ffffff)}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=number]{width:max-content;max-width:3rem}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].ls-dv-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].ls-dv-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].ls-dv-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}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}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.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-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, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group button.ls-dv-active{background:var(--primary-10, #eff4ff);color:var(--primary-60, #4456f6);cursor:default;pointer-events:none}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const n=class{constructor(a){e(this,a);this.mutate=t(this,"mutate",7)}dataItem;mutate;get component(){return a(this)}fontSizes=[6,8,10,12,14,16,18,20,24,28,32,36,64,72,124];selectFieldsHandler(){if(this.dataItem.length>0){var e=this.component.shadowRoot.getElementById("ls-toolbar-font-select");if(e)e.value=this.allElementsSame()?.fontName;var t=this.component.shadowRoot.getElementById("ls-toolbar-font-size");if(t)t.value=this.allElementsSame()?.fontSize?.toString()}}alter(e){console.log(e);const t=this.dataItem.map((t=>({action:"update",data:{...t,...e}})));this.dataItem=t.map((e=>e.data));this.mutate.emit(t)}componentDidLoad(){}allElementsSame=()=>{if(!this.dataItem||this.dataItem.length===0)return;const e=this.dataItem[0].fontName;const t=this.dataItem.every((t=>t.fontName===e));const a=this.dataItem[0].fontSize;const o=this.dataItem.every((e=>e.fontSize===a));const r=this.dataItem[0].align||"left";const i=this.dataItem.every((e=>(e.align||"left")===r));return{isSame:t&&o,fontName:t?e:"mixed",fontSize:o?a:"mixed",align:i?r:"mixed"}};render(){return o(r,{key:"67f8db275fa6516f07620f0df259906e9d8ae470"},this.dataItem&&this.dataItem.length>1&&o("div",{key:"3ce7162ceaf8a026e4a7241ef40dfead41a5b1c1",class:"ls-dv-field-format-bar"},o("div",{key:"f30f132d45c15ba7f68ef2c8783dfa28c15141cf",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontfamily")},o("ls-icon",{key:"08c73e77c38361bc2d37ef15c3e06cf813618961",id:"selectLeadingIcon",name:"typeface-icon"}),o("select",{key:"018191b86e12770767a551688aeeecbdbe51a4e2",id:"ls-toolbar-font-select",onChange:e=>{this.alter({fontName:e.target.value})},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},o("option",{key:"93b0f9b75f41876d63a1d622ca94b9b5e9dfa908",disabled:true,selected:this.allElementsSame()?.fontName==="mixed",value:"mixed"},i.t("fieldproperties.mixed")),o("option",{key:"e9faa9dfaf3ff75a3ce510e64419ac093acccd25",value:"arial"},"Arial"),o("option",{key:"7b280f5f8efc88446af24e97b711516ac4008be1",value:"liberation"},"Liberation Sans"),o("option",{key:"18c03b38a08bfee4e046a38761c3483aec71a77b",value:"courier"},"Courier"),o("option",{key:"e7072bfff3ada9f0024313e3f43d0245c6079b28",value:"helvetica"},"Helvetica"),o("option",{key:"439c95cc62ea7c161959a374298c9d47a8204546",value:"verdana"},"Verdana")),o("ls-icon",{key:"95baaab584a60fc85d280c15f3bd9c78b0622e58",id:"selectorIcon",name:"selector-icon"})),o("div",{key:"9bbda6ae453b07da37cdaeebb964ade7803254bf",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontsize")},o("ls-icon",{key:"46c03f524378b946e6f32ce82e525f08fa92ab1a",id:"selectLeadingIcon",name:"text-size-icon"}),o("select",{key:"3dd39f77e2aaab4caad2de89bc6a5f703e2e312a",id:"ls-toolbar-font-size",onChange:e=>{this.alter({fontSize:parseInt(e.target.value)});e.target.blur()},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},o("option",{key:"f89b1abc0a8bd45e109cd5ba6d4d121e7e639d63",disabled:true,selected:this.allElementsSame()?.fontSize==="mixed",value:"mixed"},i.t("fieldproperties.mixed")),this.fontSizes.map((e=>o("option",{value:e,selected:this.allElementsSame()?.fontSize===e},e)))),o("ls-icon",{key:"a37b3ecdff064a154bce9b4c0bf249c2009a1c0e",id:"selectorIcon",name:"selector-icon"})),o("div",{key:"28f5d1dde6f30624f2ebc0175bfeea629732cdcb",class:"ls-dv-button-group"},o("button",{key:"64ef281302a4218328cd8887c52bbc850629425c",class:{"ls-dv-active":this.allElementsSame()?.align==="left"},onClick:()=>{this.alter({align:"left"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextleft")},o("ls-icon",{key:"985ea95bf99b920e8671847c9bf50533c294498c",name:"menu-alt-2-icon"})),o("button",{key:"835b802969be4c4d68db935d1e7c96a6754b2d15",class:{"ls-dv-active":this.allElementsSame()?.align==="center"},onClick:()=>{this.alter({align:"center"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextcenter")},o("ls-icon",{key:"7a549d92ec713eead0a40144a0a0e9073d51fbaf",name:"menu-alt-5-icon"})),o("button",{key:"161d87c93f040f2a0dcf7736346d24be594d58f9",class:{"ls-dv-active":this.allElementsSame()?.align==="right"},onClick:()=>{this.alter({align:"right"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextright")},o("ls-icon",{key:"e0f846262279b2c0dc2424aa9c8f101cfcfee1b9",name:"menu-alt-3-icon"})))),this.dataItem&&this.dataItem.length===1&&o("div",{key:"9d3b885f45d74ccfe58c5fd6c6b6899d16d21c1d",class:"ls-dv-field-format-bar"},o("div",{key:"8786b8c864cab4f984a5b93d53f698c66e94a3bc",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontfamily")},o("ls-icon",{key:"585579e38e58636f437d6411825f80f994a1a21b",id:"selectorIcon",name:"selector-icon"}),o("ls-icon",{key:"507c013a74531a6b52c4624b828e5e70d53270ad",id:"selectLeadingIcon",name:"typeface-icon"}),o("select",{key:"3878862175dbd05a7f65f40c918e3282e824558d",id:"ls-toolbar-font-select",onChange:e=>{this.alter({fontName:e.target.value})},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},o("option",{key:"6b57efb90ef6a3b2ba2d13d5f714b6a1523e41d1",value:"arial"},"Arial"),o("option",{key:"95e762ed828bc06aec4967109326989bc860172c",value:"liberation"},"Liberation Sans"),o("option",{key:"42c6cd2a625aa96276ef080133c59069d692458c",value:"courier"},"Courier"),o("option",{key:"a70cf28e4ae339be15695fb1ac318504addb1668",value:"helvetica"},"Helvetica"),o("option",{key:"a74abcdacc483826d83ea75279ab54b2182906ce",value:"verdana"},"Verdana"))),o("div",{key:"6d86948ef41adaa0669fc8f509a0f10f69d8acf7",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontsize")},o("ls-icon",{key:"2e207b573f445015d4abebec892f66ca80301299",id:"selectLeadingIcon",name:"text-size-icon"}),o("select",{key:"10de2be7b36eaf872f06641411ba73fb64f7e377",id:"ls-toolbar-font-size",onChange:e=>{this.alter({fontSize:parseInt(e.target.value)});e.target.blur()},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},this.fontSizes.map((e=>o("option",{value:e,selected:this.dataItem[0].fontSize===e},e)))),o("ls-icon",{key:"071e07610b965de760746c14cc28f629f697ea04",id:"selectorIcon",name:"selector-icon"})),o("div",{key:"4451f71ae8da401631636b6fda37aa6e3d921e8d",class:"ls-dv-button-group"},o("button",{key:"b890d5ec32ec0986a5728823e92cfd186f69ca3f",class:{"ls-dv-active":this.dataItem[0].align==="left"||!this.dataItem[0].align},onClick:()=>{this.alter({align:"left"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextleft")},o("ls-icon",{key:"d88930fd3e0f1ec3493c520a749f7f3ab517d700",name:"menu-alt-2-icon"})),o("button",{key:"69607fbf8ddfb0e01d5c8a9c730d2175ebed8095",class:{"ls-dv-active":this.dataItem[0].align==="center"},onClick:()=>{this.alter({align:"center"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextcenter")},o("ls-icon",{key:"a238a5647c131c1a640e9fb54bcbfc3e58da392a",name:"menu-alt-5-icon"})),o("button",{key:"edcfbf372e19a5a3f6d2aacf94f79645d38c0216",class:{"ls-dv-active":this.dataItem[0].align==="right"},onClick:()=>{this.alter({align:"right"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextright")},o("ls-icon",{key:"4fc79e1f1befbce488049d47d420a70c09447832",name:"menu-alt-3-icon"})))),o("ls-tooltip",{key:"649cfe25ea3da1e2605b28c13ca304f9f2865aa0",tooltipId:"ls-dv-tooltip"}))}static get watchers(){return{dataItem:["selectFieldsHandler"]}}};n.style=l();const c=()=>`:host{display:inline-block}*{margin:0}.ls-dv-dropdown{display:flex;align-items:center;position:relative}.ls-dv-dropdown-header{border-radius:0.75rem;border:1px solid var(--gray-20, #edeff2);background:var(--gray-10, #f7f8fa);display:flex;padding:0.125rem 0.125rem 0.125rem 0.5rem;align-items:center;gap:0.5rem}.ls-dv-placing-fields-text{color:var(--gray-90, #5e6066);text-align:center;font-size:0.875rem;font-style:normal;font-weight:500;margin:0}.ls-dv-selected-role-label{display:flex;padding:0.125rem 0.375rem;align-items:center;gap:0.25rem;border-radius:0.25rem;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;max-width:10rem}.ls-dv-selected-role-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-dropdown-list{position:absolute;top:3rem;left:50%;transform:translateX(-50%);display:flex;width:18.5625rem;padding:0.25rem;flex-direction:column;gap:0.25rem;border-radius:1rem;border:1px solid var(--gray-30, #e0e2e5);background:white;box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);max-height:40vh}.ls-dv-dropdown-list-items{display:flex;flex-direction:column;gap:0.25rem;overflow-y:auto;min-height:0}.ls-dv-dropdown-item{display:flex;padding:0.5rem 0.875rem 0.5rem 0.5rem;align-items:center;gap:0.75rem;align-self:stretch;border-radius:0.75rem}.ls-dv-dropdown-item.ls-dv-selected,.ls-dv-dropdown-item.ls-dv-selected:hover{background:var(--background-selected, #e0e2e5)}.ls-dv-dropdown-item:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-skeleton-item{pointer-events:none;color:var(--primary-50, #5185ff)}.ls-dv-skeleton-circle{width:2.25rem !important;height:2.25rem !important;flex-shrink:0;border-radius:0.625rem;background:var(--gray-20, #edeff2);animation:pulse 1.2s ease-in-out infinite}.ls-dv-skeleton-line{border-radius:0.25rem;background:var(--gray-20, #edeff2);animation:pulse 1.2s ease-in-out infinite}.ls-dv-skeleton-line-name{width:6rem;height:0.75rem;margin-bottom:0.25rem}.ls-dv-skeleton-line-type{width:3rem;height:0.625rem}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}.ls-dv-add-participant-row{all:unset;flex-shrink:0;display:flex;padding:0.5rem 0.875rem 0.5rem 0.5rem;align-items:center;gap:0.75rem;align-self:stretch;border-radius:0.75rem;border:1px dashed var(--gray-30, #e0e2e5);cursor:pointer}.ls-dv-add-participant-row:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-add-participant-row:disabled{cursor:not-allowed;background:var(--gray-10, #f7f8fa);opacity:0.5}.ls-dv-plus-icon{color:var(--gray-40, #d8d9dc)}.ls-dv-role-icon{display:flex;padding:0.5rem;border-radius:0.625rem}.ls-dv-add-participant-icon{display:flex;padding:0.5rem;border-radius:0.625rem;color:white;background:var(--primary-60, #4456f6)}.ls-dv-role-text{display:flex;flex-direction:column;width:100%;min-width:0}.ls-dv-dropdown-item .ls-dv-check-icon{color:var(--gray-40, #d8d9dc)}.ls-dv-dropdown-item.ls-dv-selected .ls-dv-check-icon{color:var(--check-icon-selected)}.ls-dv-role-name{color:var(--gray-100, #45484d);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-role-type{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;}.ls-dv-dropdown-item.ls-dv-selected .ls-dv-role-name{color:var(--role-name-selected)}.ls-dv-dropdown-item.ls-dv-selected .ls-dv-role-type{color:var(--role-type-selected)}p{color:var(--gray-80, #6f7176);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)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-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, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-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.625rem;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, #ffffff)}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, #ffffff)}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].ls-dv-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].ls-dv-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].ls-dv-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}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}.ls-dv-expand-button{border:0;cursor:pointer;display:inline-flex;align-items:center;border-radius:0.625rem;justify-content:center;text-transform:capitalize;min-height:2rem;min-width:2rem;max-height:2rem;max-width:2rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-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, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const s=class{constructor(a){e(this,a);this.roleChange=t(this,"roleChange",7);this.addParticipant=t(this,"addParticipant",7)}get el(){return a(this)}selected;signer;selectedRole={signerIndex:1,name:"",roleType:"SIGNER",default:true};handleSignerChange(e){this.syncSelectedRole(e)}scrollToBottom=false;isAddingParticipant=false;handleRoleLoad(){this.syncSelectedRole(this.signer);if(this.scrollToBottom){this.scrollToBottom=false;this.isAddingParticipant=false;requestAnimationFrame((()=>{const e=this.el.shadowRoot?.querySelector(".ls-dv-dropdown-list-items");if(e)e.scrollTo({top:e.scrollHeight,behavior:"smooth"})}))}}componentWillLoad(){this.syncSelectedRole(this.signer)}syncSelectedRole(e){if(e===0){this.selectedRole={signerIndex:0,name:"Sender",roleType:"SENDER",default:false}}else if(this.roles?.length>0){const t=this.roles.find((t=>t.signerIndex===e));if(t){this.selectedRole={...t,default:false}}}}roles=[];isOpen=false;handleWindowClick(e){if(this.isOpen&&!this.el.shadowRoot.contains(e.composedPath()[0])){this.isOpen=false}}toggleDropdown=()=>{this.isOpen=!this.isOpen};roleChange;addParticipant;selectRole(e){this.selectedRole={...e,default:false};this.isOpen=false;this.roleChange.emit(e.signerIndex)}createHandler(){this.scrollToBottom=true;this.isAddingParticipant=true;this.addParticipant.emit({type:"SIGNER"});requestAnimationFrame((()=>{const e=this.el.shadowRoot?.querySelector(".ls-dv-dropdown-list-items");if(e)e.scrollTo({top:e.scrollHeight,behavior:"smooth"})}))}render(){return o(r,{key:"cb965a3d223ec8c3c0c50db07ea82677377c09b4"},o("div",{key:"b4aea02ef643017d914204a1245179fcaef74360",class:"ls-dv-dropdown"},o("div",{key:"64a4352fcd76bc792034315ad45b42ebe45ed68f",class:"ls-dv-dropdown-header",onClick:this.toggleDropdown},o("svg",{key:"6fc6445b5157855a06e5fb00d35e0a7106327479",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"f7d1c6815f1cba5560295757d4b5d0014fdab261",d:"M4 0.5H6.5C8.433 0.5 10 2.067 10 4V6.5C10 8.433 8.433 10 6.5 10H4C2.067 10 0.5 8.433 0.5 6.5V4C0.5 2.067 2.067 0.5 4 0.5Z",fill:"#78A3FA",stroke:"#F7F8FA"}),o("path",{key:"881ef777aa1fbcff5726f1ebc3f762d26bd52c86",d:"M13.5 0.5H16C17.933 0.5 19.5 2.067 19.5 4V6.5C19.5 8.433 17.933 10 16 10H13.5C11.567 10 10 8.433 10 6.5V4C10 2.067 11.567 0.5 13.5 0.5Z",fill:"#46DBAA",stroke:"#F7F8FA"}),o("path",{key:"b54927715fc769d5e0fe32db8ae187960be25a63",d:"M4 10H6.5C8.433 10 10 11.567 10 13.5V16C10 17.933 8.433 19.5 6.5 19.5H4C2.067 19.5 0.5 17.933 0.5 16V13.5C0.5 11.567 2.067 10 4 10Z",fill:"#FAD232",stroke:"#F7F8FA"}),o("path",{key:"8b2799a1a43526a00a1662c031ed80a2d2fcfbb2",d:"M14.75 12.125V14.75M14.75 14.75V17.375M14.75 14.75H17.375M14.75 14.75L12.125 14.75",stroke:"#939599","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})),o("p",{key:"de563b8c68ad0b684a249ee6f669d2bca67e43c6",class:"ls-dv-placing-fields-text"},i.t("toolbar.placingfieldsfor")),o("div",{key:"697d34047e205f57f3f6821ee3f5a3dae906474a",class:"ls-dv-selected-role-label",style:{background:d[this.selectedRole?.signerIndex%100].s20,color:d[this.selectedRole?.signerIndex%100].s80}},o("ls-icon",{key:"2e2eed36bb31ca68e83c8f44d5513a583abd473a",size:18,name:this.selectedRole?.roleType==="SENDER"?"user-icon":this.selectedRole?.roleType==="APPROVER"?"check-circle-icon":this.selectedRole?.roleType==="WITNESS"?"eye-icon":"signature-icon"}),o("span",{key:"ae6366d6f51f67d79087e49634333e8ad74a9fa5",class:"ls-dv-selected-role-text"},this.selectedRole.name||(this.selectedRole.roleType==="WITNESS"?i.t("participants.witness"):i.t("participants.participant",{index:this.selectedRole.signerIndex})))),o("button",{key:"6c2207f4697998564360e4738088aa12b8058525",class:"ls-dv-tertiary-grey ls-dv-expand-button","aria-haspopup":"listbox","aria-expanded":this.isOpen},o("ls-icon",{key:"62dab110baa79b3a530a7e50187df9a85cfb0339",name:"chevron-down-icon"}))),this.isOpen&&o("div",{key:"715790073b067a0b11dacb444d2741675a980fde",class:"ls-dv-dropdown-list"},o("div",{key:"401e4cadcb79b77e266fa786e42e0749f4b0b67d",class:"ls-dv-dropdown-list-items"},o("div",{key:"7a3936ff645e3c0d53010aea88aaf32cc1b72969",class:this.selectedRole?.signerIndex===0?"ls-dv-dropdown-item ls-dv-selected":"ls-dv-dropdown-item",style:{"--background-selected":d[0].s10,"--check-icon-selected":d[0].s50},onClick:()=>this.selectRole({signerIndex:0,name:i.t("toolbar.sender"),roleType:"SENDER"}),onMouseEnter:e=>e.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name","check-circle-icon"),onMouseLeave:e=>e.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name",this.selectedRole?.signerIndex!==0?"base-circle-icon":"check-circle-icon")},o("div",{key:"0357a0c6ea9686f3707fb518f785e7f6a0ecef54",class:"ls-dv-role-icon",style:{background:d[0].s50,color:d[0].s80}},o("ls-icon",{key:"f0db1582dbe945942f76797914251c3f0d85edd7",name:"user-icon"})),o("div",{key:"241a37eb871f3797c1f25d91ad0eabfd4462bfc1",class:"ls-dv-role-text"},o("p",{key:"52a96e199b98e479575948d85b5e1ad59178f80d",class:"ls-dv-role-name",style:{"--role-name-selected":d[0].s80}},i.t("toolbar.sender")),o("p",{key:"55406bf3290ccfee5b010760b7fe74b6573bc480",class:"ls-dv-role-type",style:{"--role-type-selected":d[0].s80}},i.t("toolbar.you"))),o("ls-icon",{key:"c8eaf0012066f192a68c103fbef742ffdcaf3a20",class:"ls-dv-check-icon",name:this.selectedRole?.signerIndex===0?"check-circle-icon":"base-circle-icon",solid:this.selectedRole?.signerIndex===0})),this.roles.map((e=>o("div",{class:e.signerIndex===this.selectedRole?.signerIndex?"ls-dv-dropdown-item ls-dv-selected":"ls-dv-dropdown-item",style:{"--background-selected":d[e?.signerIndex%100].s10,"--check-icon-selected":d[e?.signerIndex%100].s50},onClick:()=>this.selectRole(e),onMouseEnter:e=>e.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name","check-circle-icon"),onMouseLeave:t=>t.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name",e.signerIndex!==this.selectedRole?.signerIndex?"base-circle-icon":"check-circle-icon")},o("div",{class:"ls-dv-role-icon",style:{background:e.signerIndex>100?d[e?.signerIndex%100].s30:d[e?.signerIndex%100].s40,color:d[e?.signerIndex%100].s90}},o("ls-icon",{name:e.roleType==="WITNESS"?"eye-icon":e.roleType==="APPROVER"?"check-circle-icon":"signature-icon"})),o("div",{class:"ls-dv-role-text"},o("p",{class:"ls-dv-role-name",style:{"--role-name-selected":d[e?.signerIndex%100].s100},"data-tooltip-id":"ls-dv-select-tooltip","data-tooltip-html":`<span style="white-space:normal;word-break:break-word">${e.name||(e.signerIndex>100?i.t("participants.participantwitness",{index:e.signerIndex-100}):i.t("participants.participant",{index:e.signerIndex}))}</span>`,onMouseEnter:e=>{const t=e.currentTarget;if(t.scrollWidth<=t.clientWidth){t.removeAttribute("data-tooltip-html")}}},e.name||(e.signerIndex>100?i.t("participants.participantwitness",{index:e.signerIndex-100}):i.t("participants.participant",{index:e.signerIndex}))),o("p",{class:"ls-dv-role-type",style:{"--role-type-selected":d[e?.signerIndex%100].s80}},e.roleType==="WITNESS"?i.t("participants.witness"):e.roleType==="APPROVER"?i.t("participants.approver"):i.t("participants.signer"))),o("ls-icon",{class:"ls-dv-check-icon",name:e.signerIndex===this.selectedRole?.signerIndex?"check-circle-icon":"base-circle-icon",solid:e.signerIndex===this.selectedRole?.signerIndex})))),this.isAddingParticipant&&o("div",{key:"64a468b40fbcc76774b1bcd43887c3b15e6f6dbc",class:"ls-dv-dropdown-item ls-dv-skeleton-item"},o("div",{key:"2ebc9dfdfd223a48d4b430b6744faa0ac267b714",class:"ls-dv-skeleton-circle"}),o("div",{key:"dae492e4ae388222caf26e08e93e267456ee4db4",class:"ls-dv-role-text"},o("div",{key:"f27650a2ce93d992ab5b656f00141357cdb35156",class:"ls-dv-skeleton-line ls-dv-skeleton-line-name"}),o("div",{key:"272777b0bffba3ea7b19ca9a7050147bc65e7007",class:"ls-dv-skeleton-line ls-dv-skeleton-line-type"})),o("ls-loading",{key:"24c2735b6d2e8df3370008ac42aa31c87376650c"}))),o("button",{key:"2e73a6eb91fe2ce1895c174869ec07bd685db1ef",onClick:()=>this.createHandler(),class:"ls-dv-add-participant-row",style:{"--background-selected":d[1].s10,"--check-icon-selected":d[1].s50},disabled:this.isAddingParticipant},o("div",{key:"057d255050531c290ca0c48cb31cabe0a15b6491",class:"ls-dv-add-participant-icon"},o("ls-icon",{key:"7d400f269094c40d538093fe8539c70a5a74f80d",name:"user-add-icon"})),o("div",{key:"a74f7529e5c820b76485369dd50802356816c476",class:"ls-dv-role-text"},o("p",{key:"958e6ba19695c9650e9210557b3bfbb7a6f436ec",class:"ls-dv-role-name"},i.t("participants.addparticipant")),o("p",{key:"b9c4e14749bc8ea505df837327b2e978f48ce1fb",class:"ls-dv-role-type"},i.t("toolbar.addnewsigner"))),o("ls-icon",{key:"f286a2f6a2b12ae643ef3c544902033f959f7abd",class:"ls-dv-plus-icon",name:"plus-icon"})))),o("ls-tooltip",{key:"3afe96bdb96970d9801a6e1565d845428f4c411d",tooltipId:"ls-dv-select-tooltip"}),o("slot",{key:"ef2b526b53db23a37d494a97bc1cf59455eb0af0"}))}static get watchers(){return{signer:["handleSignerChange"],roles:["handleRoleLoad"]}}};s.style=c();export{n as ls_field_format,s as ls_participant_select};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as t,a,h as o,H as r}from"./p-CItPoq74.js";import{d as i}from"./p-BVc-A9YY.js";import{d}from"./p-CwCWCxsI.js";const l=()=>`:host{display:flex;flex-direction:row}.ls-dv-field-format-bar{display:flex;flex-direction:row;gap:0.5rem}p{color:var(--gray-80, #6f7176);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)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;min-width:fit-content}.ls-dv-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, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}.ls-dv-has-trailing-icon{padding-right:2rem}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.625rem;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, #ffffff)}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, #ffffff)}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=number]{width:max-content;max-width:3rem}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].ls-dv-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].ls-dv-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].ls-dv-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}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}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.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-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, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group button.ls-dv-active{background:var(--primary-10, #eff4ff);color:var(--primary-60, #4456f6);cursor:default;pointer-events:none}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const n=class{constructor(a){e(this,a);this.mutate=t(this,"mutate",7)}dataItem;mutate;get component(){return a(this)}fontSizes=[6,8,10,12,14,16,18,20,24,28,32,36,64,72,124];selectFieldsHandler(){if(this.dataItem.length>0){var e=this.component.shadowRoot.getElementById("ls-toolbar-font-select");if(e)e.value=this.allElementsSame()?.fontName;var t=this.component.shadowRoot.getElementById("ls-toolbar-font-size");if(t)t.value=this.allElementsSame()?.fontSize?.toString()}}alter(e){console.log(e);const t=this.dataItem.map((t=>({action:"update",data:{...t,...e}})));this.dataItem=t.map((e=>e.data));this.mutate.emit(t)}componentDidLoad(){}allElementsSame=()=>{if(!this.dataItem||this.dataItem.length===0)return;const e=this.dataItem[0].fontName;const t=this.dataItem.every((t=>t.fontName===e));const a=this.dataItem[0].fontSize;const o=this.dataItem.every((e=>e.fontSize===a));const r=this.dataItem[0].align||"left";const i=this.dataItem.every((e=>(e.align||"left")===r));return{isSame:t&&o,fontName:t?e:"mixed",fontSize:o?a:"mixed",align:i?r:"mixed"}};render(){return o(r,{key:"856f1ad201a2a85daebde356521daf10e9585ff9"},this.dataItem&&this.dataItem.length>1&&o("div",{key:"599a4b6ed19726bfdbed3df591ae0a3550de8707",class:"ls-dv-field-format-bar"},o("div",{key:"c58ef0bbb0b3b3d8da4a5a7e97d916a58f431300",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontfamily")},o("ls-icon",{key:"bbdf3f00d27cddcf3593f6331a13c4882f9d6061",id:"selectLeadingIcon",name:"typeface-icon"}),o("select",{key:"f2fec4422a4f3c215fa0ddc1503be76f62a17132",id:"ls-toolbar-font-select",onChange:e=>{this.alter({fontName:e.target.value})},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},o("option",{key:"6735a9aea4121764c4c5d66a1386d2cf2cb1db7f",disabled:true,selected:this.allElementsSame()?.fontName==="mixed",value:"mixed"},i.t("fieldproperties.mixed")),o("option",{key:"955d587310b91a865183122cce2da789d746dcf9",value:"arial"},"Arial"),o("option",{key:"deec8e75869b98c9e19701b553b90295d8542f4d",value:"liberation"},"Liberation Sans"),o("option",{key:"1aec572bbffb05083a80a53759cfee5d99591b16",value:"courier"},"Courier"),o("option",{key:"8dd070f41702459645c0d89b45f86baa307ddd4e",value:"helvetica"},"Helvetica"),o("option",{key:"2a706bd07572043243dddf10d726a24c44e679ae",value:"verdana"},"Verdana")),o("ls-icon",{key:"2f26188d1d8317907cf2c5a131b6f15680409ab4",id:"selectorIcon",name:"selector-icon"})),o("div",{key:"77ce0214388614d28c1937f44652cd58ca93b3d8",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontsize")},o("ls-icon",{key:"8ef002d393b463bfafc30a329c15e06d3eed8c95",id:"selectLeadingIcon",name:"text-size-icon"}),o("select",{key:"4c79e9f972bc40037cf81cefd8f82234549827f7",id:"ls-toolbar-font-size",onChange:e=>{this.alter({fontSize:parseInt(e.target.value)});e.target.blur()},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},o("option",{key:"62f42ea0c49c0b97c1cf66a5c3866ef675049cc4",disabled:true,selected:this.allElementsSame()?.fontSize==="mixed",value:"mixed"},i.t("fieldproperties.mixed")),this.fontSizes.map((e=>o("option",{value:e,selected:this.allElementsSame()?.fontSize===e},e)))),o("ls-icon",{key:"42b123a08874c9dc0aa977c53a354eb23e61b8f0",id:"selectorIcon",name:"selector-icon"})),o("div",{key:"fab108ebb963d8bdf4b92e1da225ffee29a6e228",class:"ls-dv-button-group"},o("button",{key:"8623dcad7f0cea07083e8996768788408aaea543",class:{"ls-dv-active":this.allElementsSame()?.align==="left"},onClick:()=>{this.alter({align:"left"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextleft")},o("ls-icon",{key:"8603d0c653a440ca0f26a0d6afa743fa33fbb321",name:"menu-alt-2-icon"})),o("button",{key:"55fb96817d1cfe2d6f96f0c871476927202d706c",class:{"ls-dv-active":this.allElementsSame()?.align==="center"},onClick:()=>{this.alter({align:"center"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextcenter")},o("ls-icon",{key:"5fac0f7b37e014651b7223c82fe17857e693f04e",name:"menu-alt-5-icon"})),o("button",{key:"d61bcf6e5965c6fd55bfa6bd0955921e441bf11e",class:{"ls-dv-active":this.allElementsSame()?.align==="right"},onClick:()=>{this.alter({align:"right"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextright")},o("ls-icon",{key:"69c2b2b23e103cce7bc81f4c82ece07f93ca728b",name:"menu-alt-3-icon"})))),this.dataItem&&this.dataItem.length===1&&o("div",{key:"0d6821b5c91979c42f78e69ea4867927c87fa5c7",class:"ls-dv-field-format-bar"},o("div",{key:"396aadb551c6808f46de0f875230e5c2a5371321",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontfamily")},o("ls-icon",{key:"f6feb143cccd5742f024cbec170a194af33bd51f",id:"selectorIcon",name:"selector-icon"}),o("ls-icon",{key:"5fbaed3079fbe4b6a0a65e3a0d72f5d1c24b806f",id:"selectLeadingIcon",name:"typeface-icon"}),o("select",{key:"c641e930261c4c976df3ba94abafc0af90b2d491",id:"ls-toolbar-font-select",onChange:e=>{this.alter({fontName:e.target.value})},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},o("option",{key:"79acbbdee15a433b6ca279c1c955f6382471de38",value:"arial"},"Arial"),o("option",{key:"c298fc264d1ded06d0ac7cd876744ab077795055",value:"liberation"},"Liberation Sans"),o("option",{key:"9bf04c00d68e83307731925693421866259489e0",value:"courier"},"Courier"),o("option",{key:"45d975b5956b9a12f5ded6e674e2c7f6c9cf11a6",value:"helvetica"},"Helvetica"),o("option",{key:"b0f4c7ae31d01b2c7913ad2bc714fa2021329d4e",value:"verdana"},"Verdana"))),o("div",{key:"9fd2d5177a9ee18ef05a582d8676ad15758f9353",class:"ls-dv-input-wrapper","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.fontsize")},o("ls-icon",{key:"3573f66b101376e5e4e59fd1e3f50afcd94cb8fa",id:"selectLeadingIcon",name:"text-size-icon"}),o("select",{key:"5500ef336ec8540f1cdf58a116a7f6f680f42dc6",id:"ls-toolbar-font-size",onChange:e=>{this.alter({fontSize:parseInt(e.target.value)});e.target.blur()},class:"ls-dv-has-leading-icon ls-dv-has-trailing-icon"},this.fontSizes.map((e=>o("option",{value:e,selected:this.dataItem[0].fontSize===e},e)))),o("ls-icon",{key:"b2c92ec1dd6d2bf902e8ae3ee547dc8b0feed5d6",id:"selectorIcon",name:"selector-icon"})),o("div",{key:"d9263720ddef392bee41239a6adf66893b397f3a",class:"ls-dv-button-group"},o("button",{key:"d24dec57f31562ed62eb91474beeda33c054727a",class:{"ls-dv-active":this.dataItem[0].align==="left"||!this.dataItem[0].align},onClick:()=>{this.alter({align:"left"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextleft")},o("ls-icon",{key:"47c4738088186eed5516f845aeafcacd7de49331",name:"menu-alt-2-icon"})),o("button",{key:"5027b04158ffd865a938540c810300bd2e52836b",class:{"ls-dv-active":this.dataItem[0].align==="center"},onClick:()=>{this.alter({align:"center"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextcenter")},o("ls-icon",{key:"58bebe09e3be11aa836bbd045937e9ad90e59904",name:"menu-alt-5-icon"})),o("button",{key:"dcd9ec666c2c2d3ac8f60527cac90c0b93d2df36",class:{"ls-dv-active":this.dataItem[0].align==="right"},onClick:()=>{this.alter({align:"right"})},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":i.t("format.aligntextright")},o("ls-icon",{key:"1a7f266895163786d6231d3ad65cd700fc9cfde9",name:"menu-alt-3-icon"})))),o("ls-tooltip",{key:"3669330f580145ce50c074efe54ab9e31dd43f1e",tooltipId:"ls-dv-tooltip"}))}static get watchers(){return{dataItem:["selectFieldsHandler"]}}};n.style=l();const c=()=>`:host{display:inline-block}*{margin:0}.ls-dv-dropdown{display:flex;align-items:center;position:relative}.ls-dv-dropdown-header{border-radius:0.75rem;border:1px solid var(--gray-20, #edeff2);background:var(--gray-10, #f7f8fa);display:flex;padding:0.125rem 0.125rem 0.125rem 0.5rem;align-items:center;gap:0.5rem}.ls-dv-placing-fields-text{color:var(--gray-90, #5e6066);text-align:center;font-size:0.875rem;font-style:normal;font-weight:500;margin:0}.ls-dv-selected-role-label{display:flex;padding:0.125rem 0.375rem;align-items:center;gap:0.25rem;border-radius:0.25rem;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;max-width:10rem}.ls-dv-selected-role-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-dropdown-list{position:absolute;top:3rem;left:50%;transform:translateX(-50%);display:flex;width:18.5625rem;padding:0.25rem;flex-direction:column;gap:0.25rem;border-radius:1rem;border:1px solid var(--gray-30, #e0e2e5);background:white;box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);max-height:40vh}.ls-dv-dropdown-list-items{display:flex;flex-direction:column;gap:0.25rem;overflow-y:auto;min-height:0}.ls-dv-dropdown-item{display:flex;padding:0.5rem 0.875rem 0.5rem 0.5rem;align-items:center;gap:0.75rem;align-self:stretch;border-radius:0.75rem}.ls-dv-dropdown-item.ls-dv-selected,.ls-dv-dropdown-item.ls-dv-selected:hover{background:var(--background-selected, #e0e2e5)}.ls-dv-dropdown-item:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-skeleton-item{pointer-events:none;color:var(--primary-50, #5185ff)}.ls-dv-skeleton-circle{width:2.25rem !important;height:2.25rem !important;flex-shrink:0;border-radius:0.625rem;background:var(--gray-20, #edeff2);animation:pulse 1.2s ease-in-out infinite}.ls-dv-skeleton-line{border-radius:0.25rem;background:var(--gray-20, #edeff2);animation:pulse 1.2s ease-in-out infinite}.ls-dv-skeleton-line-name{width:6rem;height:0.75rem;margin-bottom:0.25rem}.ls-dv-skeleton-line-type{width:3rem;height:0.625rem}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}.ls-dv-add-participant-row{all:unset;flex-shrink:0;display:flex;padding:0.5rem 0.875rem 0.5rem 0.5rem;align-items:center;gap:0.75rem;align-self:stretch;border-radius:0.75rem;border:1px dashed var(--gray-30, #e0e2e5);cursor:pointer}.ls-dv-add-participant-row:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-add-participant-row:disabled{cursor:not-allowed;background:var(--gray-10, #f7f8fa);opacity:0.5}.ls-dv-plus-icon{color:var(--gray-40, #d8d9dc)}.ls-dv-role-icon{display:flex;padding:0.5rem;border-radius:0.625rem}.ls-dv-add-participant-icon{display:flex;padding:0.5rem;border-radius:0.625rem;color:white;background:var(--primary-60, #4456f6)}.ls-dv-role-text{display:flex;flex-direction:column;width:100%;min-width:0}.ls-dv-dropdown-item .ls-dv-check-icon{color:var(--gray-40, #d8d9dc)}.ls-dv-dropdown-item.ls-dv-selected .ls-dv-check-icon{color:var(--check-icon-selected)}.ls-dv-role-name{color:var(--gray-100, #45484d);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-role-type{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;}.ls-dv-dropdown-item.ls-dv-selected .ls-dv-role-name{color:var(--role-name-selected)}.ls-dv-dropdown-item.ls-dv-selected .ls-dv-role-type{color:var(--role-type-selected)}p{color:var(--gray-80, #6f7176);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)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-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, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-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.625rem;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, #ffffff)}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, #ffffff)}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].ls-dv-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].ls-dv-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].ls-dv-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}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}.ls-dv-expand-button{border:0;cursor:pointer;display:inline-flex;align-items:center;border-radius:0.625rem;justify-content:center;text-transform:capitalize;min-height:2rem;min-width:2rem;max-height:2rem;max-width:2rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-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, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const s=class{constructor(a){e(this,a);this.roleChange=t(this,"roleChange",7);this.addParticipant=t(this,"addParticipant",7)}get el(){return a(this)}selected;signer;selectedRole={signerIndex:1,name:"",roleType:"SIGNER",default:true};handleSignerChange(e){this.syncSelectedRole(e)}scrollToBottom=false;isAddingParticipant=false;handleRoleLoad(){this.syncSelectedRole(this.signer);if(this.scrollToBottom){this.scrollToBottom=false;this.isAddingParticipant=false;requestAnimationFrame((()=>{const e=this.el.shadowRoot?.querySelector(".ls-dv-dropdown-list-items");if(e)e.scrollTo({top:e.scrollHeight,behavior:"smooth"})}))}}componentWillLoad(){this.syncSelectedRole(this.signer)}syncSelectedRole(e){if(e===0){this.selectedRole={signerIndex:0,name:"Sender",roleType:"SENDER",default:false}}else if(this.roles?.length>0){const t=this.roles.find((t=>t.signerIndex===e));if(t){this.selectedRole={...t,default:false}}}}roles=[];isOpen=false;handleWindowClick(e){if(this.isOpen&&!this.el.shadowRoot.contains(e.composedPath()[0])){this.isOpen=false}}toggleDropdown=()=>{this.isOpen=!this.isOpen};roleChange;addParticipant;selectRole(e){this.selectedRole={...e,default:false};this.isOpen=false;this.roleChange.emit(e.signerIndex)}createHandler(){this.scrollToBottom=true;this.isAddingParticipant=true;this.addParticipant.emit({type:"SIGNER"});requestAnimationFrame((()=>{const e=this.el.shadowRoot?.querySelector(".ls-dv-dropdown-list-items");if(e)e.scrollTo({top:e.scrollHeight,behavior:"smooth"})}))}render(){return o(r,{key:"f3d54fd3eff5babe8e69de6c26bb12412a0ccb2d"},o("div",{key:"41b4085021127c69b0556bdbcd73ea431900032e",class:"ls-dv-dropdown"},o("div",{key:"5e3e4d632528d5ca0acbdbe077f6ce026263209a",class:"ls-dv-dropdown-header",onClick:this.toggleDropdown},o("svg",{key:"8d6979da0ff79634b0f4ee95de069041de759873",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"b833d044f32ec85348f80b59404999bcb509dfcb",d:"M4 0.5H6.5C8.433 0.5 10 2.067 10 4V6.5C10 8.433 8.433 10 6.5 10H4C2.067 10 0.5 8.433 0.5 6.5V4C0.5 2.067 2.067 0.5 4 0.5Z",fill:"#78A3FA",stroke:"#F7F8FA"}),o("path",{key:"36e21be4b5ca987ea131bfb2e52de9e13eec5595",d:"M13.5 0.5H16C17.933 0.5 19.5 2.067 19.5 4V6.5C19.5 8.433 17.933 10 16 10H13.5C11.567 10 10 8.433 10 6.5V4C10 2.067 11.567 0.5 13.5 0.5Z",fill:"#46DBAA",stroke:"#F7F8FA"}),o("path",{key:"92621edebb6db54624759e7681684e1eb5769b08",d:"M4 10H6.5C8.433 10 10 11.567 10 13.5V16C10 17.933 8.433 19.5 6.5 19.5H4C2.067 19.5 0.5 17.933 0.5 16V13.5C0.5 11.567 2.067 10 4 10Z",fill:"#FAD232",stroke:"#F7F8FA"}),o("path",{key:"a21af7531dbbb951295b38609695628c89910b91",d:"M14.75 12.125V14.75M14.75 14.75V17.375M14.75 14.75H17.375M14.75 14.75L12.125 14.75",stroke:"#939599","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})),o("p",{key:"d4346aaa2e68cd2c3ac5dfc9ba53e5fefed57f7f",class:"ls-dv-placing-fields-text"},i.t("toolbar.placingfieldsfor")),o("div",{key:"48db178fbfb7282ea9f34d3fd5ae05b481808477",class:"ls-dv-selected-role-label",style:{background:d[this.selectedRole?.signerIndex%100].s20,color:d[this.selectedRole?.signerIndex%100].s80}},o("ls-icon",{key:"811ea0eee0203ca69c054f7dcf360063e88fae1f",size:18,name:this.selectedRole?.roleType==="SENDER"?"user-icon":this.selectedRole?.roleType==="APPROVER"?"check-circle-icon":this.selectedRole?.roleType==="WITNESS"?"eye-icon":"signature-icon"}),o("span",{key:"22bcfce06e96ba933ea201fcadcbd5eb26a67ab2",class:"ls-dv-selected-role-text"},this.selectedRole.name||(this.selectedRole.roleType==="WITNESS"?i.t("participants.witness"):i.t("participants.participant",{index:this.selectedRole.signerIndex})))),o("button",{key:"45106b6fd1e62ce0cce9c6b02ca2f85fe301085e",class:"ls-dv-tertiary-grey ls-dv-expand-button","aria-haspopup":"listbox","aria-expanded":this.isOpen},o("ls-icon",{key:"13e26d0b427483336dba89642e9b6690a890b43f",name:"chevron-down-icon"}))),this.isOpen&&o("div",{key:"58c436d1fff70602974a5743e9079888d5ae884d",class:"ls-dv-dropdown-list"},o("div",{key:"a55ed73d2a5a1a8285cbe9106b898ac30b456907",class:"ls-dv-dropdown-list-items"},o("div",{key:"d2d9a7845a6d9ff50a0df7b6d2ae3cd1c058ad59",class:this.selectedRole?.signerIndex===0?"ls-dv-dropdown-item ls-dv-selected":"ls-dv-dropdown-item",style:{"--background-selected":d[0].s10,"--check-icon-selected":d[0].s50},onClick:()=>this.selectRole({signerIndex:0,name:i.t("toolbar.sender"),roleType:"SENDER"}),onMouseEnter:e=>e.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name","check-circle-icon"),onMouseLeave:e=>e.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name",this.selectedRole?.signerIndex!==0?"base-circle-icon":"check-circle-icon")},o("div",{key:"f4323adc30752dd276332416863ee3b2dbefc742",class:"ls-dv-role-icon",style:{background:d[0].s50,color:d[0].s80}},o("ls-icon",{key:"3f1befda1b8e05bbb8e46a58b32e093609220887",name:"user-icon"})),o("div",{key:"49352e4ea4a0c879ebad3cf416324a46a3a48f59",class:"ls-dv-role-text"},o("p",{key:"3f68473ef1d3eeba0ae00185742143a1a4ba6015",class:"ls-dv-role-name",style:{"--role-name-selected":d[0].s80}},i.t("toolbar.sender")),o("p",{key:"0f5414b90cc983a91b40de6b725a56f5ba7add24",class:"ls-dv-role-type",style:{"--role-type-selected":d[0].s80}},i.t("toolbar.you"))),o("ls-icon",{key:"df12565ce546ab4f3626c94e6a354d92a7d84886",class:"ls-dv-check-icon",name:this.selectedRole?.signerIndex===0?"check-circle-icon":"base-circle-icon",solid:this.selectedRole?.signerIndex===0})),this.roles.map((e=>o("div",{class:e.signerIndex===this.selectedRole?.signerIndex?"ls-dv-dropdown-item ls-dv-selected":"ls-dv-dropdown-item",style:{"--background-selected":d[e?.signerIndex%100].s10,"--check-icon-selected":d[e?.signerIndex%100].s50},onClick:()=>this.selectRole(e),onMouseEnter:e=>e.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name","check-circle-icon"),onMouseLeave:t=>t.currentTarget.querySelector(".ls-dv-check-icon")?.setAttribute("name",e.signerIndex!==this.selectedRole?.signerIndex?"base-circle-icon":"check-circle-icon")},o("div",{class:"ls-dv-role-icon",style:{background:e.signerIndex>100?d[e?.signerIndex%100].s30:d[e?.signerIndex%100].s40,color:d[e?.signerIndex%100].s90}},o("ls-icon",{name:e.roleType==="WITNESS"?"eye-icon":e.roleType==="APPROVER"?"check-circle-icon":"signature-icon"})),o("div",{class:"ls-dv-role-text"},o("p",{class:"ls-dv-role-name",style:{"--role-name-selected":d[e?.signerIndex%100].s100},"data-tooltip-id":"ls-dv-select-tooltip","data-tooltip-html":`<span style="white-space:normal;word-break:break-word">${e.name||(e.signerIndex>100?i.t("participants.participantwitness",{index:e.signerIndex-100}):i.t("participants.participant",{index:e.signerIndex}))}</span>`,onMouseEnter:e=>{const t=e.currentTarget;if(t.scrollWidth<=t.clientWidth){t.removeAttribute("data-tooltip-html")}}},e.name||(e.signerIndex>100?i.t("participants.participantwitness",{index:e.signerIndex-100}):i.t("participants.participant",{index:e.signerIndex}))),o("p",{class:"ls-dv-role-type",style:{"--role-type-selected":d[e?.signerIndex%100].s80}},e.roleType==="WITNESS"?i.t("participants.witness"):e.roleType==="APPROVER"?i.t("participants.approver"):i.t("participants.signer"))),o("ls-icon",{class:"ls-dv-check-icon",name:e.signerIndex===this.selectedRole?.signerIndex?"check-circle-icon":"base-circle-icon",solid:e.signerIndex===this.selectedRole?.signerIndex})))),this.isAddingParticipant&&o("div",{key:"0aed045f909fa78a3e8cbc829498f81675f81805",class:"ls-dv-dropdown-item ls-dv-skeleton-item"},o("div",{key:"fe5df7de3f93ccf378920d63282edfb8ce9d0536",class:"ls-dv-skeleton-circle"}),o("div",{key:"d689644af57052f84d37854a0ea4efb752fe9cf8",class:"ls-dv-role-text"},o("div",{key:"eba396032356143a70478afca57c7f80e706f17d",class:"ls-dv-skeleton-line ls-dv-skeleton-line-name"}),o("div",{key:"134a4174c0355e07de430a403d0387ea4ed62305",class:"ls-dv-skeleton-line ls-dv-skeleton-line-type"})),o("ls-loading",{key:"228e81de28b702bfa1d35a2686b5e7ac62bf5713"}))),o("button",{key:"139cb37b06c2b5bd8093651433baa244d4a7deb1",onClick:()=>this.createHandler(),class:"ls-dv-add-participant-row",style:{"--background-selected":d[1].s10,"--check-icon-selected":d[1].s50},disabled:this.isAddingParticipant},o("div",{key:"f9f7b215d357eab676212d387a3c2bf86c7f1c9c",class:"ls-dv-add-participant-icon"},o("ls-icon",{key:"8b35f0d24a4489cb3b5f12cc192982ac3a013aa0",name:"user-add-icon"})),o("div",{key:"f5e9a1ea258728c563b8a0ff01379cfbcad65df6",class:"ls-dv-role-text"},o("p",{key:"194ffa6fa36d89748e59cce9fc80338a10731de1",class:"ls-dv-role-name"},i.t("participants.addparticipant")),o("p",{key:"b484ac0674418db807ea20136914b55e215519f1",class:"ls-dv-role-type"},i.t("toolbar.addnewsigner"))),o("ls-icon",{key:"9ce59717df9f4a695d07a64c5868a00a6c0dda21",class:"ls-dv-plus-icon",name:"plus-icon"})))),o("ls-tooltip",{key:"f3c07535639f2c8e622558980ae5414ea448ba1d",tooltipId:"ls-dv-select-tooltip"}),o("slot",{key:"f7d2e8cee859da922915f29603f014c1a5a7f49f"}))}static get watchers(){return{signer:["handleSignerChange"],roles:["handleRoleLoad"]}}};s.style=c();export{n as ls_field_format,s as ls_participant_select};
|
|
2
|
+
//# sourceMappingURL=p-bf21ed00.entry.js.map
|