legalesign-document-viewer 0.3.8 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ls-compose-manager.cjs.entry.js +2 -2
- package/dist/cjs/{ls-document-options_42.cjs.entry.js → ls-document-options_45.cjs.entry.js} +304 -165
- package/dist/cjs/ls-document-options_45.cjs.entry.js.map +1 -0
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ls-formfield.cjs.entry.js +2 -2
- package/dist/cjs/ls-number-input_5.cjs.entry.js +6 -6
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.js +2 -2
- package/dist/collection/components/ls-document-options/ls-document-options.js +2 -0
- package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/keyHandlers.js +5 -0
- package/dist/collection/components/ls-document-viewer/keyHandlers.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +55 -10
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +93 -115
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/mouseHandlers.js +24 -5
- package/dist/collection/components/ls-document-viewer/mouseHandlers.js.map +1 -1
- package/dist/collection/components/ls-editor-field/ls-editor-field.js +23 -2
- package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -1
- package/dist/collection/components/ls-editor-table/ls-editor-table.js +1 -1
- package/dist/collection/components/ls-feature-column/ls-feature-column.js +14 -8
- package/dist/collection/components/ls-feature-column/ls-feature-column.js.map +1 -1
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.js +2 -2
- package/dist/collection/components/ls-field-content/ls-field-content.js +2 -2
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +1 -1
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +5 -5
- package/dist/collection/components/ls-field-footer/ls-field-footer.js +1 -1
- package/dist/collection/components/ls-field-format/ls-field-format.js +11 -11
- package/dist/collection/components/ls-field-placement/ls-field-placement.js +1 -1
- package/dist/collection/components/ls-field-properties/ls-field-properties.js +1 -1
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +2 -2
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js +1 -1
- package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.js +1 -1
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +1 -1
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js +1 -1
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +1 -1
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +1 -1
- package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +1 -1
- package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js +1 -1
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +3 -3
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +1 -1
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +1 -1
- package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +1 -1
- package/dist/collection/components/ls-field-size/ls-field-size.js +1 -1
- package/dist/collection/components/ls-field-type-display/ls-field-type-display.js +3 -3
- package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +2 -2
- package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +1 -1
- package/dist/collection/components/ls-formfield/ls-formfield.js +2 -2
- package/dist/collection/components/ls-helper-bar/ls-helper-bar.js +2 -2
- package/dist/collection/components/ls-icon/ls-icon.js +22 -1
- package/dist/collection/components/ls-icon/ls-icon.js.map +1 -1
- package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js +1 -1
- package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.js +1 -1
- package/dist/collection/components/ls-page-loader/ls-page-loader.js +2 -2
- package/dist/collection/components/ls-participant-card/ls-participant-card.js +8 -8
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +2 -2
- package/dist/collection/components/ls-participant-select/ls-participant-select.js +9 -9
- package/dist/collection/components/ls-participant-select/ls-participant-select.js.map +1 -1
- package/dist/collection/components/ls-props-section/ls-props-section.js +1 -1
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.css +449 -0
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +203 -0
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.css +29 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +19 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js.map +1 -0
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -3
- package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
- package/dist/collection/components/ls-toolbar/ls-toolbar.js.map +1 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.css +11 -0
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +49 -5
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js.map +1 -1
- package/dist/collection/components/ls-tooltip/ls-tooltip.js +1 -1
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.css +159 -0
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +64 -0
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js.map +1 -0
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.css +90 -1
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +26 -1
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/types/LSApiRecipient.js +2 -0
- package/dist/collection/types/LSApiRecipient.js.map +1 -0
- package/dist/components/ls-compose-manager.js +2 -2
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +197 -161
- package/dist/components/ls-document-viewer.js.map +1 -1
- package/dist/components/ls-editor-field.js +1 -1
- package/dist/components/ls-editor-table.js +1 -1
- package/dist/components/ls-feature-column.js +1 -1
- package/dist/components/ls-field-alignment.js +1 -1
- package/dist/components/ls-field-content.js +1 -1
- package/dist/components/ls-field-dimensions.js +1 -1
- package/dist/components/ls-field-distribute.js +1 -1
- package/dist/components/ls-field-footer.js +1 -1
- package/dist/components/ls-field-format.js +1 -1
- package/dist/components/ls-field-placement.js +1 -1
- package/dist/components/ls-field-properties-advanced.js +1 -1
- package/dist/components/ls-field-properties-autosign.js +1 -1
- package/dist/components/ls-field-properties-container.js +1 -1
- package/dist/components/ls-field-properties-date.js +1 -1
- package/dist/components/ls-field-properties-dropdown.js +14 -14
- package/dist/components/ls-field-properties-email.js +1 -1
- package/dist/components/ls-field-properties-file.js +1 -1
- package/dist/components/ls-field-properties-general.js +1 -1
- package/dist/components/ls-field-properties-image.js +1 -1
- package/dist/components/ls-field-properties-multiple.js +1 -1
- package/dist/components/ls-field-properties-number.js +1 -1
- package/dist/components/ls-field-properties-signature.js +1 -1
- package/dist/components/ls-field-properties-text.js +1 -1
- package/dist/components/ls-field-properties.js +1 -1
- package/dist/components/ls-field-size.js +1 -1
- package/dist/components/ls-field-type-display.js +1 -1
- package/dist/components/ls-formfield.js +8 -8
- package/dist/components/ls-helper-bar.js +1 -1
- package/dist/components/ls-icon.js +1 -1
- package/dist/components/ls-input-wrapper.js +1 -1
- package/dist/components/ls-keyboard-shortcuts.js +1 -1
- package/dist/components/ls-number-input.js +1 -1
- package/dist/components/ls-page-loader.js +1 -1
- package/dist/components/ls-participant-card.js +1 -1
- package/dist/components/ls-participant-manager.js +1 -1
- package/dist/components/ls-participant-select.js +1 -1
- package/dist/components/ls-props-section.js +1 -1
- package/dist/components/ls-radio-input.js +1 -1
- package/dist/components/ls-recipient-card.d.ts +11 -0
- package/dist/components/ls-recipient-card.js +9 -0
- package/dist/components/ls-recipient-card.js.map +1 -0
- package/dist/components/ls-recipient-manager.d.ts +11 -0
- package/dist/components/ls-recipient-manager.js +9 -0
- package/dist/components/ls-recipient-manager.js.map +1 -0
- package/dist/components/ls-select-input.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/ls-text-input.js +1 -1
- package/dist/components/ls-textarea-input.js +1 -1
- package/dist/components/ls-toggle.js +1 -1
- package/dist/components/ls-toolbar.js +1 -1
- package/dist/components/ls-toolbox-field.js +1 -1
- package/dist/components/ls-tooltip.js +1 -1
- package/dist/components/ls-validation-manager.d.ts +11 -0
- package/dist/components/ls-validation-manager.js +9 -0
- package/dist/components/ls-validation-manager.js.map +1 -0
- package/dist/components/ls-validation-tag.js +1 -1
- package/dist/components/{p-qx-naHxz.js → p-9pxwrFws.js} +4 -4
- package/dist/components/{p-qx-naHxz.js.map → p-9pxwrFws.js.map} +1 -1
- package/dist/components/{p-CSmx-jJT.js → p-AZOh1kUH.js} +16 -16
- package/dist/components/{p-CSmx-jJT.js.map → p-AZOh1kUH.js.map} +1 -1
- package/dist/components/{p-CEc76IM2.js → p-B-j9D08q.js} +4 -4
- package/dist/components/{p-CEc76IM2.js.map → p-B-j9D08q.js.map} +1 -1
- package/dist/components/{p-DLxAjAd4.js → p-B2TUFMT0.js} +5 -5
- package/dist/components/{p-DLxAjAd4.js.map → p-B2TUFMT0.js.map} +1 -1
- package/dist/components/{p-CNX4llIr.js → p-B3axAGVs.js} +4 -4
- package/dist/components/{p-CNX4llIr.js.map → p-B3axAGVs.js.map} +1 -1
- package/dist/components/{p-XF3M9gAr.js → p-BHQ0WY5x.js} +10 -10
- package/dist/components/{p-XF3M9gAr.js.map → p-BHQ0WY5x.js.map} +1 -1
- package/dist/components/{p-Djqb_4PL.js → p-BUfnTaTZ.js} +6 -6
- package/dist/components/{p-Djqb_4PL.js.map → p-BUfnTaTZ.js.map} +1 -1
- package/dist/components/{p-CAWxK_LI.js → p-BiG71xua.js} +29 -29
- package/dist/components/{p-CAWxK_LI.js.map → p-BiG71xua.js.map} +1 -1
- package/dist/components/{p-wgy1HDlb.js → p-BmIVpWDh.js} +16 -16
- package/dist/components/{p-wgy1HDlb.js.map → p-BmIVpWDh.js.map} +1 -1
- package/dist/components/{p-5pLj6W__.js → p-BooZeojy.js} +10 -10
- package/dist/components/{p-5pLj6W__.js.map → p-BooZeojy.js.map} +1 -1
- package/dist/components/{p-1dvcNcdF.js → p-BvGLH5NQ.js} +16 -16
- package/dist/components/{p-1dvcNcdF.js.map → p-BvGLH5NQ.js.map} +1 -1
- package/dist/components/{p-yu8Gmj9y.js → p-BzY8ubZE.js} +5 -5
- package/dist/components/{p-yu8Gmj9y.js.map → p-BzY8ubZE.js.map} +1 -1
- package/dist/components/p-C8TAonIH.js +71 -0
- package/dist/components/p-C8TAonIH.js.map +1 -0
- package/dist/components/{p-CAbrMIbN.js → p-CIoxINZp.js} +7 -5
- package/dist/components/p-CIoxINZp.js.map +1 -0
- package/dist/components/{p-DkCVXmg3.js → p-CNc1l7mG.js} +9 -9
- package/dist/components/{p-DkCVXmg3.js.map → p-CNc1l7mG.js.map} +1 -1
- package/dist/components/{p-h0r-SdI7.js → p-CTGwIImt.js} +4 -4
- package/dist/components/{p-h0r-SdI7.js.map → p-CTGwIImt.js.map} +1 -1
- package/dist/components/p-CTP4wFFE.js +105 -0
- package/dist/components/p-CTP4wFFE.js.map +1 -0
- package/dist/components/{p-DrD5JKw9.js → p-CUXWZqch.js} +10 -10
- package/dist/components/{p-DrD5JKw9.js.map → p-CUXWZqch.js.map} +1 -1
- package/dist/components/{p-B7dTg-FF.js → p-CXoPln5K.js} +16 -16
- package/dist/components/{p-B7dTg-FF.js.map → p-CXoPln5K.js.map} +1 -1
- package/dist/components/{p-DfYmuFSx.js → p-CaBVuofO.js} +3 -3
- package/dist/components/{p-DfYmuFSx.js.map → p-CaBVuofO.js.map} +1 -1
- package/dist/components/{p-BNC69LYf.js → p-CdFJ_FQz.js} +13 -13
- package/dist/components/{p-BNC69LYf.js.map → p-CdFJ_FQz.js.map} +1 -1
- package/dist/components/{p-BCoqHTq9.js → p-Cqxe6wZe.js} +6 -6
- package/dist/components/{p-BCoqHTq9.js.map → p-Cqxe6wZe.js.map} +1 -1
- package/dist/components/{p-DZPnGx2N.js → p-CrVSg3t4.js} +4 -4
- package/dist/components/{p-DZPnGx2N.js.map → p-CrVSg3t4.js.map} +1 -1
- package/dist/components/p-CrXwf_vC.js +134 -0
- package/dist/components/p-CrXwf_vC.js.map +1 -0
- package/dist/components/{p-CWfyjOto.js → p-CtV1B-_5.js} +5 -3
- package/dist/components/p-CtV1B-_5.js.map +1 -0
- package/dist/components/{p-IlkS4czy.js → p-CuyjSEEv.js} +14 -8
- package/dist/components/p-CuyjSEEv.js.map +1 -0
- package/dist/components/{p-C4YY0EyH.js → p-D-U9fbV-.js} +8 -8
- package/dist/components/{p-C4YY0EyH.js.map → p-D-U9fbV-.js.map} +1 -1
- package/dist/components/{p-BKPLevlT.js → p-D-yItxA4.js} +3 -3
- package/dist/components/{p-BKPLevlT.js.map → p-D-yItxA4.js.map} +1 -1
- package/dist/components/{p-XkANRt3Q.js → p-DC0HL60H.js} +3 -3
- package/dist/components/{p-XkANRt3Q.js.map → p-DC0HL60H.js.map} +1 -1
- package/dist/components/{p-CWMW0nzH.js → p-DCZnqvsu.js} +5 -5
- package/dist/components/{p-CWMW0nzH.js.map → p-DCZnqvsu.js.map} +1 -1
- package/dist/components/{p-BvIKgXkH.js → p-DGuG1Bmj.js} +6 -6
- package/dist/components/{p-BvIKgXkH.js.map → p-DGuG1Bmj.js.map} +1 -1
- package/dist/components/{p-Dk00ccBn.js → p-DKcMRnoh.js} +3 -3
- package/dist/components/{p-Dk00ccBn.js.map → p-DKcMRnoh.js.map} +1 -1
- package/dist/components/{p-Wuj0cujc.js → p-DMgdq7Zj.js} +12 -12
- package/dist/components/{p-Wuj0cujc.js.map → p-DMgdq7Zj.js.map} +1 -1
- package/dist/components/{p-sqcHMrnp.js → p-DPVPaPb1.js} +3 -3
- package/dist/components/{p-sqcHMrnp.js.map → p-DPVPaPb1.js.map} +1 -1
- package/dist/components/{p-IpGJwBtp.js → p-DUBoFEsx.js} +7 -7
- package/dist/components/p-DUBoFEsx.js.map +1 -0
- package/dist/components/p-DVtr8lsT.js +34 -0
- package/dist/components/p-DVtr8lsT.js.map +1 -0
- package/dist/components/{p-CeKcOUyM.js → p-DYB1QfP2.js} +16 -16
- package/dist/components/{p-CeKcOUyM.js.map → p-DYB1QfP2.js.map} +1 -1
- package/dist/components/{p-CdEPt9fv.js → p-DZ_KhOns.js} +7 -7
- package/dist/components/{p-CdEPt9fv.js.map → p-DZ_KhOns.js.map} +1 -1
- package/dist/components/{p-BphT81GV.js → p-DrfpABSq.js} +16 -16
- package/dist/components/{p-BphT81GV.js.map → p-DrfpABSq.js.map} +1 -1
- package/dist/components/p-G8kF15oY.js +67 -0
- package/dist/components/p-G8kF15oY.js.map +1 -0
- package/dist/components/{p-C7ohAVHE.js → p-HB8K0xP0.js} +5 -5
- package/dist/components/{p-C7ohAVHE.js.map → p-HB8K0xP0.js.map} +1 -1
- package/dist/components/{p-DWIo_K0q.js → p-Ji_SfsNu.js} +4 -4
- package/dist/components/{p-DWIo_K0q.js.map → p-Ji_SfsNu.js.map} +1 -1
- package/dist/components/{p-gE1FA92I.js → p-NoKw4xu7.js} +4 -4
- package/dist/components/{p-gE1FA92I.js.map → p-NoKw4xu7.js.map} +1 -1
- package/dist/components/{p-BnRYK-C4.js → p-R3_FOlEq.js} +7 -5
- package/dist/components/p-R3_FOlEq.js.map +1 -0
- package/dist/components/{p-D-OtQhJz.js → p-U9xqUgfL.js} +16 -16
- package/dist/components/{p-D-OtQhJz.js.map → p-U9xqUgfL.js.map} +1 -1
- package/dist/components/{p-CciiwtyT.js → p-cwpKMDgH.js} +15 -15
- package/dist/components/{p-CciiwtyT.js.map → p-cwpKMDgH.js.map} +1 -1
- package/dist/components/{p-B1U2Ui7F.js → p-jBcf1cHz.js} +16 -16
- package/dist/components/{p-B1U2Ui7F.js.map → p-jBcf1cHz.js.map} +1 -1
- package/dist/components/{p-hHXffFw5.js → p-qC7H9a3g.js} +16 -16
- package/dist/components/{p-hHXffFw5.js.map → p-qC7H9a3g.js.map} +1 -1
- package/dist/components/{p-DKbeIqEX.js → p-raaSYxtA.js} +4 -4
- package/dist/components/{p-DKbeIqEX.js.map → p-raaSYxtA.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-compose-manager.entry.js +2 -2
- package/dist/esm/{ls-document-options_42.entry.js → ls-document-options_45.entry.js} +302 -166
- package/dist/esm/ls-document-options_45.entry.js.map +1 -0
- package/dist/esm/ls-document-viewer.js +1 -1
- package/dist/esm/ls-field-properties-dropdown.entry.js +1 -1
- package/dist/esm/ls-formfield.entry.js +2 -2
- package/dist/esm/ls-number-input_5.entry.js +6 -6
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/{p-76fe67f1.entry.js → p-350754cb.entry.js} +2 -2
- package/dist/ls-document-viewer/p-3a4da534.entry.js +2 -0
- package/dist/ls-document-viewer/p-3c5fa1d7.entry.js +2 -0
- package/dist/ls-document-viewer/p-f99e5789.entry.js +4922 -0
- package/dist/ls-document-viewer/p-f99e5789.entry.js.map +1 -0
- package/dist/ls-document-viewer/{p-14049937.entry.js → p-fbb241f1.entry.js} +2 -2
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +6 -15
- package/dist/types/components/ls-editor-field/ls-editor-field.d.ts +1 -0
- package/dist/types/components/ls-feature-column/ls-feature-column.d.ts +2 -2
- package/dist/types/components/ls-icon/ls-icon.d.ts +1 -0
- package/dist/types/components/ls-recipient-card/ls-recipient-card.d.ts +25 -0
- package/dist/types/components/ls-recipient-manager/ls-recipient-manager.d.ts +3 -0
- package/dist/types/components/ls-toolbox-field/ls-toolbox-field.d.ts +3 -0
- package/dist/types/components/ls-validation-manager/ls-validation-manager.d.ts +9 -0
- package/dist/types/components/ls-validation-tag/ls-validation-tag.d.ts +1 -0
- package/dist/types/components.d.ts +167 -48
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/LSApiRecipient.d.ts +8 -0
- package/package.json +1 -1
- package/dist/cjs/ls-document-options_42.cjs.entry.js.map +0 -1
- package/dist/components/p-BmEXSmLf.js +0 -61
- package/dist/components/p-BmEXSmLf.js.map +0 -1
- package/dist/components/p-BnRYK-C4.js.map +0 -1
- package/dist/components/p-C28pfXKN.js +0 -128
- package/dist/components/p-C28pfXKN.js.map +0 -1
- package/dist/components/p-CAbrMIbN.js.map +0 -1
- package/dist/components/p-CWfyjOto.js.map +0 -1
- package/dist/components/p-IlkS4czy.js.map +0 -1
- package/dist/components/p-IpGJwBtp.js.map +0 -1
- package/dist/esm/ls-document-options_42.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-20ab7965.entry.js +0 -2
- package/dist/ls-document-viewer/p-7f4adac4.entry.js +0 -2
- package/dist/ls-document-viewer/p-fbf49a8c.entry.js +0 -4922
- package/dist/ls-document-viewer/p-fbf49a8c.entry.js.map +0 -1
- /package/dist/ls-document-viewer/{p-76fe67f1.entry.js.map → p-350754cb.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-20ab7965.entry.js.map → p-3a4da534.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-7f4adac4.entry.js.map → p-3c5fa1d7.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-14049937.entry.js.map → p-fbb241f1.entry.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
export class LsFieldPropertiesImage {
|
|
3
3
|
dataItem;
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '3cf25226c1a72f571d65240d277b61ba8bdbf87a' }, h("ls-field-properties-container", { key: 'feceff66e159753ad1058b5f7d7efaa3fcadbd89', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'f31cd33af8ef76d72bab66719f9769591777ed09', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'c7eaacc48d1946cc498be38289378fd96938f540', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'f9b77ba5b6f10eadb56b8d289abc380f954e1669', dataItem: this.dataItem })), h("div", { key: '2a05a1964511e174a17675ed3a06208f294c03e7', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '30151d527bd82c86ddc1d795517e096075cd9753', dataItem: this.dataItem })), h("div", { key: '8f58ad2014834bfc75f6d407dcb04d69eef762f4', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'e902b9ea651852d2879522bcdbbb118cb07b55d8', dataItem: this.dataItem }))), h("ls-field-footer", { key: '055c3357b7a1d35aa49f87e19619a4dff7db4ba3', dataItem: this.dataItem })));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "ls-field-properties-image"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js
CHANGED
|
@@ -51,14 +51,14 @@ export class LsFieldPropertiesMultiple {
|
|
|
51
51
|
return { isSame: allSame, optional: allSame ? firstElementOptional : false };
|
|
52
52
|
};
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '378afbd073b74f428f365f962429dfb55d5efe2f' }, h("ls-field-properties-container", { key: 'af924136a1d09551d6b66683fbde04729dc59f4e', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '3625636d31d4a19c0b8a9483233f2f257aff150a', class: 'field-set', slot: "content" }, h("div", { key: 'b76d549076ae1e7e31fafdfff62959119e98de36', class: 'ls-field-properties-section' }, h("div", { key: '467b0644c4e147f422c724c2ef4101ffa5aa6f50', class: 'ls-field-properties-section-text' }, h("p", { key: 'd05f06a2fe2983abd87cd4c5ab34f12813e9b018', class: 'ls-field-properties-section-title' }, "Field Type"), h("p", { key: '1d4c31b686e354d3d91fd8bc9035ae4bd7d2a6a9', class: 'ls-field-properties-section-description' }, "The Fields you currently have selected")), h("div", { key: '6942963a3366ae9dbb2cb5ad3c28571ae3956a08', class: 'ls-field-type-wrapper', style: {
|
|
55
55
|
border: `1px dashed ${defaultRolePalette[this.allSignersSame().signer % 100].s30}`,
|
|
56
56
|
background: defaultRolePalette[this.allSignersSame().signer % 100].s10,
|
|
57
|
-
} }, h("div", { key: '
|
|
57
|
+
} }, h("div", { key: '42df344f3cdd962e99eaca2026445aade103cadc', class: 'ls-field-type-inner' }, h("div", { key: '2fb4b7237d4e38c0233fb5a082a85571a2601e4e', class: 'ls-field-type-icon', style: {
|
|
58
58
|
border: `1px solid ${defaultRolePalette[this.allSignersSame().signer % 100].s60}`,
|
|
59
59
|
color: defaultRolePalette[this.allSignersSame().signer % 100].s60,
|
|
60
60
|
background: defaultRolePalette[this.allSignersSame().signer % 100].s10,
|
|
61
|
-
} }, h("ls-icon", { key: '
|
|
61
|
+
} }, h("ls-icon", { key: '3eece4d2229348b6dcf3f0a98ddb2925662a3a9b', name: getFieldIcon(this.allElementsSame().elementType), size: "20" })), h("p", { key: '221e48a4f197623615adb1dedc941965c9f644e9', class: 'ls-field-type-name' }, this.dataItem.length, " ", this.allElementsSame().elementType, " ", 'Fields')))), h("div", { key: 'd3ab776c9e80da26f44b515f0169428822eb785b', class: 'ls-field-properties-section row' }, h("div", { key: '04fb8a296d5b42d35f7613f5fac46b4821197a23', class: 'ls-field-properties-section-text' }, h("p", { key: 'f3bfd7594ec5f48f82491de51dc731a32f967f28', class: 'ls-field-properties-section-title' }, "Required Field")), h("ls-toggle", { key: '021989bf0355b332f9b63161215dc32d50e2bbb5', onValueChange: (ev) => this.alter({ optional: !ev.detail }), checked: !this.allFieldsOptional().optional, indeterminate: this.allFieldsOptional().isSame === false })), h("div", { key: '69e8f2a9feff9f04900955dbbb568814467d2bdc', class: 'ls-field-properties-section' }, h("div", { key: '4e0a9cf9f67976c747bf49f66e80d8ff34cd41aa', class: 'ls-field-properties-section-text' }, h("p", { key: '7369978669d067fa92ae0e120129a7ea9f77254c', class: 'ls-field-properties-section-title' }, "Field Label"), h("p", { key: '273566dfca480cccb796763547068b333e5e465a', class: 'ls-field-properties-section-description' }, "Add a label to clarify the information required from the Recipient.")), h("input", { key: 'adc180d0eb423de6e76d0708357995c80187de73', value: this.allLabelsSame().label, onInput: (e) => this.alter({ label: e.target.value }), width: "30", placeholder: "eg. Sign Here" }))), h("div", { key: '79fdc1d37732c66313153cb31c5048479d12854b', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '49533f478b98a27a2399cf2fd5268f1676dcc347', dataItem: this.dataItem }), h("ls-field-size", { key: '460cdce3b7659e3e5d96242c131abf7ed9526d64', dataItem: this.dataItem })), h("div", { key: '9bc7d1ce2a08af933a4b05443382a753adf334ac', class: 'field-set', slot: "placement" }, h("ls-field-alignment", { key: 'c24c7b626038a45b22309b66f892ea0d5b519473', dataItem: this.dataItem }), h("ls-field-placement", { key: '70de6fa563c72ebe7cc9a65c7c1e360756aa6c14', dataItem: this.dataItem }), h("ls-field-distribute", { key: '9c48fe88d210f1373625ce2219b31f4c0ab3791d', dataItem: this.dataItem }))), h("ls-field-footer", { key: '0aa2163ba9571a4a0856bcbbcc1a2f018d0cc464' }), h("slot", { key: '3de2d0c0b1d35d64d6aa53bcc24abe53b0c6ec92' })));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "ls-field-properties-multiple"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
export class LsFieldPropertiesNumber {
|
|
3
3
|
dataItem;
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '34a63ee7755738acb32a72f4812a7594121269f6' }, h("ls-field-properties-container", { key: '8be9c3c05aa7fd098408ce2f0d09e2510f0a41ad', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '6cb13328f385b230a45594ea481b8b1bf3a4b4bd', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '9c7fd44fa9df4a20d4ac2d7db13e12abdbdfa6ff', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '17a9cbeef33c6b674c9968fb3074c2f56b10c2c7', dataItem: this.dataItem })), h("div", { key: 'c0d223bee8f783244655d9fabdf8529a1fbc4aa1', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '02739bc5e8fb0fb7de4f4726b9646c674cf842c3', dataItem: this.dataItem })), h("div", { key: '6d5fab17d8d4e4f19ec3ec6467bfa582bb0b911f', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '99ed8c5b48a840f0911d0a985d5a149c41b9edd3', dataItem: this.dataItem }))), h("ls-field-footer", { key: '0c0e51f8860333eefcf5aa5a3205c19aae279e26', dataItem: this.dataItem })));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "ls-field-properties-number"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
export class LsFieldPropertiesSignature {
|
|
3
3
|
dataItem;
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '22dcf56a74651e1a5e66a8058276fc1b11829c2e' }, h("ls-field-properties-container", { key: 'fcc34020471ed4e65f2cb0ec1705da8ec0743dde', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'a783444a500ad1a673a26cee6ea1a44272d24be8', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '5bf39b0dee3fbb976cdfc3fbfef6393f616bc0c4', dataItem: this.dataItem, showValidationTypes: false }), h("ls-field-properties-advanced", { key: '50982a30ed682a4a0944a793c2cee2b779ded650', dataItem: this.dataItem })), h("div", { key: 'ded47b50f3ea19bf8cd083d2f86f4ebe22d338ba', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: 'e3cdaa645e35797d478e2a80c40a3da8ac01ee21', dataItem: this.dataItem })), h("div", { key: '5186211515683dbe2d498ba7ec13f78b6395837f', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'b13f841f407c5a26eb1bf929e9a80df1ac818c16', dataItem: this.dataItem }))), h("ls-field-footer", { key: '5a4bd4e4131df9762b757dd6b2338a78a9089896', dataItem: this.dataItem })));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "ls-field-properties-signature"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
export class LsFieldPropertiesText {
|
|
3
3
|
dataItem;
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '4f61bffe1259f8672e4480ec7f4cd18ecf1a9a7c' }, h("ls-field-properties-container", { key: '614aad16a2a80dcca2a791d0ce1342667813b37d', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '49dbe5e32d5a02afcb27165a60c759c89a5b2b50', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'cc7a0e20886e6561ca959d0f2e1f4ee49ac2e879', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '58220b511bb05449ccee2f2e5c54a591c79b6ac8', dataItem: this.dataItem })), h("div", { key: '6de32144ed7ee7472f4b6f1778b4a424fcc09462', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '5a77d95dc87ab771d85bfb25b801fdabd4214565', dataItem: this.dataItem })), h("div", { key: '24e06038f5a910dea658c863e007770546802bf8', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'd786ff7dc7c61a3a82f266a692c09e44bb417e8a', dataItem: this.dataItem }))), h("ls-field-footer", { key: '31b5b36d2dbf01cb09700ffc3ffa9c224db61cd1', dataItem: this.dataItem })));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "ls-field-properties-text"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,7 +19,7 @@ export class LsFieldSize {
|
|
|
19
19
|
attachAllTooltips(this.component.shadowRoot);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '4a8c5b6091593c6658d52f332dc0180a9aa7c234' }, h("div", { key: 'c2235c25b8c994e86191ee4c0b60aac827a99304', class: 'ls-field-properties-section' }, h("div", { key: '342929332fd0df3c4316713564a8a33b3a9ba7f5', class: 'ls-field-properties-section-text' }, h("p", { key: '511b3d62008d18fcd867a724bf66c4222b5b31db', class: 'ls-field-properties-section-title' }, "Scale and Resize"), h("p", { key: '246c72ab2973d7de15b9ee60eb684221d2de8c09', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), h("div", { key: '2f9956bd71a5195ca540f8e7c77d705c49b82eaa', class: 'button-group' }, h("button", { key: '5c66c06e562a38a15d1dba9a7a02d91facfcb79b', onClick: () => this.alter({ width: this.dataItem[0].width, height: this.dataItem[0].height }), "aria-label": "Make selected fields the same height and width as the first selected field.", "data-tooltip": "Make selected fields the same height and width as the first selected field" }, h("ls-icon", { key: '577fbb9f0309603f92c64c85dfd4bdebca26b08f', name: "field-scale" })), h("button", { key: '15f47dec9a4d8be2abd9cf49db82eed86efd6274', "aria-label": "Make selected fields the same width as the first selected field", onClick: () => this.alter({ width: this.dataItem[0].width }), "data-tooltip": "Make selected fields the same width as the first selected field" }, h("ls-icon", { key: 'd586958503eda47fbe1c1ffd37737fbafb936857', name: "field-match-width" })), h("button", { key: 'e94c585c27941e00c5801ffce2ea4124e84a5c2f', onClick: () => this.alter({ height: this.dataItem[0].height }), "aria-label": "Make selected fields the same height as the first selected field.", "data-tooltip": "Make selected fields the same height as the first selected field" }, h("ls-icon", { key: '3e1877707b12710e6d38fe7bd40bd653703e5d2e', name: "field-match-height" })))), h("slot", { key: '80290ec35de43ab1bb2f39ba303a6b4b1127a74a' }), h("ls-tooltip", { key: 'd7ae2421a26db540d0d440e9d987934601ab5257', id: "ls-tooltip-master" })));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "ls-field-size"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,14 +7,14 @@ export class LsFieldTypeDisplay {
|
|
|
7
7
|
fieldType = 'signature';
|
|
8
8
|
render() {
|
|
9
9
|
const color = defaultRolePalette[this.assignee % 100];
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'b96d23acd3d237cbdb28c0fd245a972c80b7fd25', class: 'ls-field-type-wrapper', style: {
|
|
11
11
|
border: `1px dashed ${color.s30}`,
|
|
12
12
|
background: color.s10,
|
|
13
|
-
} }, h("div", { key: '
|
|
13
|
+
} }, h("div", { key: 'cdc499d6c1c686ad2691a74c248c6e222d68f6aa', class: 'ls-field-type-inner' }, h("div", { key: '79170b027981ad4a685fbb9d9632c4972e09dd6b', class: 'ls-field-type-icon', style: {
|
|
14
14
|
border: `1px solid ${color.s60}`,
|
|
15
15
|
color: color.s60,
|
|
16
16
|
background: color.s10,
|
|
17
|
-
} }, h("ls-icon", { key: '
|
|
17
|
+
} }, h("ls-icon", { key: 'e5673bce1895cbd07640580560517efd1fa89c4d', name: getFieldIcon(this.fieldType), size: "20" })), h("p", { key: '8bc1644f6a070c41d2f967d9eb8e535df3dd9bf3', class: 'ls-field-type-name' }, getFieldLabel(this.fieldType)))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ls-field-type-display"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class LsNumberInput {
|
|
|
34
34
|
? 'invalid'
|
|
35
35
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
36
36
|
const plusMinusClass = clsx(disabled ? 'button-disabled' : 'button');
|
|
37
|
-
return (h("host", { key: '
|
|
37
|
+
return (h("host", { key: '3223f1b5c6ee85269516ffa345acd30bf507cea6', class: type === 'ls' && 'host' }, type === 'ls' && (h("button", { key: 'bf9c84bd74f40f8e4de7b74ffaae507a0d3278cb', class: plusMinusClass, onClick: () => handleMinus(), disabled: disabled }, h("ls-icon", { key: '2d698e76aa909ee6d44e6aee3dd7edbc93283544', id: 'buttonIcon', name: 'minus-sm' }))), h("div", { key: '344f3a64c0da8b072544b1bef65b1d9961921302', class: 'input-container' }, fieldIcon && (h("ls-icon", { key: '74e2c1aaff565cdfeec39ac2c1410a38e4a7ebb3', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("input", { key: 'b658f716bd7a26eceeeb3afbedef32a5ba344d96', type: 'number', class: inputClass, id: name, name: name, value: value, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onInput: (event) => handleChange(event) }), h("div", { key: '4675bf6bea3de2e6952b107bf208ee60fedd7666', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: 'afacf0c0780d60d7211aeb3c22dbc5c9a070cf5e', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && type !== 'ls' && (h("button", { key: '81db4646d078e20bf49c53420c4af351ad1c6403', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '098621b5511e1aa0e3baf8d655aab0afbfa38dce', id: 'buttonIcon', name: buttonIcon }))))), type === 'ls' && (h("button", { key: 'c967580b4cbc4e7374e928d22a7fe869df5857f9', class: plusMinusClass, onClick: handlePlus, disabled: disabled }, h("ls-icon", { key: 'b212edc85ce547d05d4345a6b8ab2addd0e56ac0', id: 'buttonIcon', name: 'plus-sm' })))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "ls-number-input"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class LsRadioInput {
|
|
|
11
11
|
render() {
|
|
12
12
|
const { label, radioId, icon, name, disabled, checked, customStyle, } = this;
|
|
13
13
|
const radioLabelClass = clsx('radioLabel', disabled && 'disabled', checked && 'checked');
|
|
14
|
-
return (h("label", { key: '
|
|
14
|
+
return (h("label", { key: '92e3bc9b5774de619922d43ef9c24ad7a43568c7', htmlFor: radioId, tabIndex: 0, class: radioLabelClass, style: customStyle }, h("input", { key: '3e89bd9b39c9f37c156f17d42108bc788091ebcf', type: 'radio', class: 'inputClass', id: radioId, name: name, value: label, disabled: disabled, tabIndex: 0, checked: checked }), h("div", { key: 'e3f1f7b06e8b81eee01d2ce4d674a7ff5c9c76a4', class: 'spanContainer' }, h("span", { key: '7170cb3702dbf2dc9bc07a67c4d91ebc9a8e30ea' }, icon && h("ls-icon", { key: '4de2c9271302dc11bdd6b35fd273b3c6a5b33b39', name: icon, size: "16" })), h("span", { key: '9ce53c08c5031725d09e2edb03660eac4aae9f16' }, label))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "ls-radio-input"; }
|
|
17
17
|
static get originalStyleUrls() {
|
|
@@ -27,7 +27,7 @@ export class LsSelectInput {
|
|
|
27
27
|
: displayOnly
|
|
28
28
|
? 'displayOnly'
|
|
29
29
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
30
|
-
return (h("host", { key: '
|
|
30
|
+
return (h("host", { key: 'ad6571818f20395ecda1dbd22a574b999afa73ca', class: 'host' }, fieldIcon && (h("ls-icon", { key: 'a68a46e5237f98a621a546b4d8295a3594b73ffd', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("select", { key: 'd84a610ada56cb39fd0125184a9d5257b9127892', class: inputClass, id: name, name: name, "aria-label": aria, required: required, disabled: disabled }, h("slot", { key: '2a61c4932a822f0f813e20f6ef079569624ea3ad' })), h("div", { key: '7dddfb3625c9f1a0ed02dc5250e3db876299077d', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '405f8a0bfc03565b843001e746059adc77e1558b', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon ? (h("button", { class: 'button', onClick: buttonClick }, h("ls-icon", { id: 'buttonIcon', name: buttonIcon }))) : (h("ls-icon", { id: disabled ? 'select-arrow-disabled' : 'select-arrow', name: 'chevron-down' })))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "ls-select-input"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -35,13 +35,13 @@ export class LsTextInput {
|
|
|
35
35
|
: dirty && !valid
|
|
36
36
|
? 'invalid'
|
|
37
37
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '5d0e39de960da7c05dd64f96360cfcd9133aa95e', class: 'host' }, fieldIcon && (h("ls-icon", { key: '148402cd6087ec414122a54d42ce460fa8fd63e4', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), type === 'password' ? (h("input", { type: showPassword && 'password', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onChange: (e) => {
|
|
39
39
|
this.changeHandler(e);
|
|
40
40
|
} })) : type === 'displayonly' ? (h("input", { class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: true, onChange: (e) => {
|
|
41
41
|
this.changeHandler(e);
|
|
42
42
|
} })) : (h("input", { class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onChange: (e) => {
|
|
43
43
|
this.changeHandler(e);
|
|
44
|
-
} })), h("div", { key: '
|
|
44
|
+
} })), h("div", { key: 'e86d919029eed85799ae53542758356629dab343', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: 'c5a0d12e3c07c6708c936b985464b6ff7aff82d1', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '7f852342bb7e9407c492b589422494dd088fd61f', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '05d9fcdb971a2876a656ab9f68329899074de1ef', id: 'buttonIcon', name: buttonIcon }))), type === 'password' && !buttonIcon && (h("ls-icon-button", { key: '2694d48907b91951095d662e68215958ebe68d63', id: 'password-icon', icon: showPassword ? 'eye' : 'eye-off', onClick: handlePassword })))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "ls-text-input"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js
CHANGED
|
@@ -26,7 +26,7 @@ export class LsTextareaInput {
|
|
|
26
26
|
: displayOnly
|
|
27
27
|
? 'displayOnly'
|
|
28
28
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
29
|
-
return (h("host", { key: '
|
|
29
|
+
return (h("host", { key: '4e65014b5d0e8df0a397042d501a6c26f250324d', class: 'host' }, fieldIcon && (h("ls-icon", { key: '5ba14d902bdcfaa3d6825ece9a848ae1d8531888', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("textarea", { key: 'e490afebd2e14ede73a904f890e8ebdd5f34dc53', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled }), h("div", { key: 'b3139ce875b8e39d41931d9507b9e6007faaf94d', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: 'c0b3e669755f05961a199008385248c9a8e60f8e', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '97011df16622fc8fe7ef0c9c458667ad5844a9a9', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '7046d7ce171217f536f527309ec15e42ffdd87bb', id: 'buttonIcon', name: buttonIcon }))))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "ls-textarea-input"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,10 +38,10 @@ export class LsFormfield {
|
|
|
38
38
|
render() {
|
|
39
39
|
const { name, fieldId, label, as, value, placeholder, descriptionText, errorText, aria, infoTooltipText, disabled, extraLabel, valid, dirty, count, countMax, buttonClick, buttonIcon, fieldIcon, labelIcon, } = this;
|
|
40
40
|
const countClass = value && value.toString().length > countMax ? 'formfield-count-error' : 'formfield-count';
|
|
41
|
-
return (h("host", { key: '
|
|
41
|
+
return (h("host", { key: 'abb10c40dccbc1df9073bb8135933b50c7addf3f', class: "formfield-host" }, label?.length > 1 || extraLabel !== 'none' && (h("div", { key: 'b8f8cec278fc8b3e224dd4d4cb2a7e3381f1fc53', class: "formfield-top-elements" }, h("div", { key: '090b6ce8001334d8ea27ee503bb80abdb4458765', class: "formfield-left-side" }, labelIcon && h("ls-icon", { key: 'ae0d3022a53947e3948deeb160b1922f9532f662', name: labelIcon }), h("label", { key: '63dfbcd3acfd52aa6f977755734071b320ffe717', htmlFor: name, class: "formfield-label" }, label), infoTooltipText && h("ls-icon", { key: '266a2155a80ccc3e51d5474896fc2250964dff1e', name: 'information-circle' })), extraLabel === 'optional' ? (h("ls-label", { text: "Optional", colour: "gray", type: "low" })) : extraLabel === 'required' ? (h("ls-label", { text: "Required", colour: "gray", type: "low" })) : (''))), as === 'text' ? (h("ls-text-input", { id: fieldId, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon, onValueChange: (e) => { this.changeHandler(e.detail); } })) : as === 'select' ? (h("ls-select-input", { id: name, name: name, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon }, h("slot", null))) : as === 'radio' ? (h("ls-radio-input", { radioId: label, label: value?.toString(), icon: fieldIcon, name: name, disabled: disabled })) : as === 'textarea' ? (h("ls-textarea-input", { id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'password' ? (h("ls-text-input", { type: "password", id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'displayonly' ? (h("ls-text-input", { type: "displayonly", id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'number' ? (h("ls-number-input", { type: "ls", id: name, name: name, value: Number(value), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : (h("p", null, "placeholder")), errorText ||
|
|
42
42
|
count ||
|
|
43
43
|
countMax ||
|
|
44
|
-
(descriptionText && (h("div", { key: '
|
|
44
|
+
(descriptionText && (h("div", { key: 'cc8ffdb0f955baab2627011dc3ce756d9f3fb755', class: "formfield-bottom-elements" }, errorText && !valid ? h("p", { class: "formfield-error-text" }, errorText) : descriptionText ? h("p", { class: "formfield-description-text" }, descriptionText) : '', count && (h("div", { key: 'b6d2515988fe6022fbc5dbf353650ad03fa06ed0', class: "formfield-count-container" }, h("p", { key: 'ac29508788d292a28e13a88f2dfd0f97bfc54120', class: countClass }, value?.toString()?.length), countMax > 0 && (h("div", { key: 'c6da1cc6b8e8970326344ccc37fc7055c36603c7', class: countClass }, h("p", { key: '68250a9de3633f0a9d0f64006016663d5e4f9414' }, "/"), h("p", { key: '4c541ba2dff8b2cdbc9b49830ed46e871cc2bd1f' }, countMax))))))))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "ls-formfield"; }
|
|
47
47
|
static get originalStyleUrls() {
|
|
@@ -8,11 +8,11 @@ export class LsHelperBar {
|
|
|
8
8
|
attachAllTooltips(this.component.shadowRoot);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '061822abff6f324af19fc264ca4ef838bb0bbe0a' }, h("div", { key: '76cc6c198cf588c9f25557094449edc9522d22f4', class: 'controls-bar', onMouseEnter: () => (this.expanded = true), onMouseLeave: () => (this.expanded = false) }, h("button", { key: '8b8d38b8625b4b4f072beb2c4eb31379d90d40be', style: !this.expanded ? { display: 'none' } : { display: 'block' }, id: "keyboard-btn", ref: el => {
|
|
12
12
|
if (el) {
|
|
13
13
|
this.shortcutsBtn = el;
|
|
14
14
|
}
|
|
15
|
-
} }, h("ls-keyboard-shortcuts", { key: '
|
|
15
|
+
} }, h("ls-keyboard-shortcuts", { key: '23c97b13dad7092a849dfe3093000e07d2f9ff7b', referenceElement: this.shortcutsBtn }), h("ls-icon", { key: '5a64cbe09d163178f2cfb613b4a9d871bc7661cd', name: "keyboard" })), h("button", { key: '3fd30dd762bf8bf3266d5be0cee8c41a4cedcdb1', style: !this.expanded ? { display: 'none' } : { display: 'block' }, "data-pendo": "launch-new-edit-tour" }, h("ls-icon", { key: '4173bf9e2c74a21e7bc02b09657c2f9fab638dc0', name: "map", "data-tooltip": "Take a Guided Tour", "data-tooltip-placement": "left" })), h("button", { key: 'd2960e5793c7a3a0ccac756ace603714fb650f56', style: !this.expanded ? { display: 'none' } : { display: 'block' }, onClick: () => window.open('https://legalesign.com/articles/', '_blank') }, h("ls-icon", { key: '0fe4f8204e9988d4149b0988f71c8d4cf18ec6cf', name: "book-open", "data-tooltip": "View Documentation \u2197", "data-tooltip-placement": "left" })), h("div", { key: 'd9fc9f72efa34d85d49292a22483dceefe70fcf5', class: "divider", style: !this.expanded ? { display: 'none' } : { display: 'block' } }), h("button", { key: '27469a568bd52b8720fd1f7f09eb1847aea7504f' }, h("ls-icon", { key: '59025902862e563da1cc9f45bdf5b822b00ab4c9', name: "question-mark-circle" }))), h("slot", { key: '4336509f3a61062d59d5f5a87ccfeb1021de2a9a' }), h("ls-tooltip", { key: '0d9025118f530702b32903c96bdd468b7907a211', id: "ls-tooltip-master" })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ls-helper-bar"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,7 @@ import { IconEnum, iconNames } from "../../types/Icon";
|
|
|
4
4
|
export class LsIcon {
|
|
5
5
|
name;
|
|
6
6
|
solid = false;
|
|
7
|
+
color = "#000000";
|
|
7
8
|
size = "20";
|
|
8
9
|
customStyle;
|
|
9
10
|
// Added function to check that the Icon enum type has all the icons from the icons.ts file
|
|
@@ -24,7 +25,7 @@ export class LsIcon {
|
|
|
24
25
|
console.warn('Icons in src/components/ls-icon/icons.ts should be identical to the enum type in src/types/Icon.ts. Please add all icons to the enum type.');
|
|
25
26
|
}
|
|
26
27
|
render() {
|
|
27
|
-
return (h("host", { key: '
|
|
28
|
+
return (h("host", { key: 'cde74309a5d2874ef637402ef4263d7b498c74cc' }, icons
|
|
28
29
|
?.filter((icon) => icon.name === this.name)
|
|
29
30
|
?.map((icon) => (h("div", { key: icon?.name, class: 'iconContainer', style: {
|
|
30
31
|
height: `${this.size}px`,
|
|
@@ -81,6 +82,26 @@ export class LsIcon {
|
|
|
81
82
|
"reflect": false,
|
|
82
83
|
"defaultValue": "false"
|
|
83
84
|
},
|
|
85
|
+
"color": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"attribute": "color",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "string",
|
|
91
|
+
"resolved": "string",
|
|
92
|
+
"references": {}
|
|
93
|
+
},
|
|
94
|
+
"required": false,
|
|
95
|
+
"optional": true,
|
|
96
|
+
"docs": {
|
|
97
|
+
"tags": [],
|
|
98
|
+
"text": ""
|
|
99
|
+
},
|
|
100
|
+
"getter": false,
|
|
101
|
+
"setter": false,
|
|
102
|
+
"reflect": false,
|
|
103
|
+
"defaultValue": "\"#000000\""
|
|
104
|
+
},
|
|
84
105
|
"size": {
|
|
85
106
|
"type": "string",
|
|
86
107
|
"attribute": "size",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls-icon.js","sourceRoot":"","sources":["../../../src/components/ls-icon/ls-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAQ,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,OAAO,MAAM;IACT,IAAI,CAAQ;IACZ,KAAK,GAAa,KAAK,CAAC;IACxB,IAAI,GAAY,IAAI,CAAC;IACrB,WAAW,CAA6B;IAEhD,2FAA2F;IACnF,kBAAkB,CAAC,IAAc,EAAE,IAAc;QACvD,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/D,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAE/D,IAAI,YAAY,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5C,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAE5C,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IACD,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5C,gBAAgB;QACd,MAAM,YAAY,GAAG,IAAI,CAAC,kBAAkB,CAC1C,SAAS,EACT,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,IAAI,CAAC,YAAY;YACf,OAAO,CAAC,IAAI,CACV,4IAA4I,CAC7I,CAAC;IACN,CAAC;IAED,MAAM;QACJ,OAAO,CACL,+DACG,KAAK;YACJ,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;YAC3C,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACd,WACE,GAAG,EAAE,IAAI,EAAE,IAAI,EACf,KAAK,EAAC,eAAe,EACrB,KAAK,EAAE;gBACL,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;gBACxB,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;gBACvB,GAAG,IAAI,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"ls-icon.js","sourceRoot":"","sources":["../../../src/components/ls-icon/ls-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAQ,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,OAAO,MAAM;IACT,IAAI,CAAQ;IACZ,KAAK,GAAa,KAAK,CAAC;IACxB,KAAK,GAAY,SAAS,CAAC;IAC3B,IAAI,GAAY,IAAI,CAAC;IACrB,WAAW,CAA6B;IAEhD,2FAA2F;IACnF,kBAAkB,CAAC,IAAc,EAAE,IAAc;QACvD,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/D,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAE/D,IAAI,YAAY,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5C,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAE5C,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IACD,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5C,gBAAgB;QACd,MAAM,YAAY,GAAG,IAAI,CAAC,kBAAkB,CAC1C,SAAS,EACT,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,IAAI,CAAC,YAAY;YACf,OAAO,CAAC,IAAI,CACV,4IAA4I,CAC7I,CAAC;IACN,CAAC;IAED,MAAM;QACJ,OAAO,CACL,+DACG,KAAK;YACJ,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;YAC3C,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACd,WACE,GAAG,EAAE,IAAI,EAAE,IAAI,EACf,KAAK,EAAC,eAAe,EACrB,KAAK,EAAE;gBACL,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;gBACxB,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;gBACvB,GAAG,IAAI,CAAC,WAAW;aAEpB,IAEA,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACZ,WAAK,SAAS,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAC,GAAG,CACvD,CAAC,CAAC,CAAC,CACF,WAAK,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAC,GAAI,CAC1D,CACG,CACP,CAAC,CACC,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { icons } from './icons';\nimport { Icon, IconEnum, iconNames } from '../../types/Icon';\n\n@Component({\n tag: 'ls-icon',\n shadow: true,\n})\nexport class LsIcon {\n @Prop() name?: Icon;\n @Prop() solid?: boolean = false;\n @Prop() color?: string = \"#000000\";\n @Prop() size?: string = \"20\";\n @Prop() customStyle?: { [key: string]: string };\n\n // Added function to check that the Icon enum type has all the icons from the icons.ts file\n private arraysAreIdentical(arr1: string[], arr2: string[]): boolean {\n const modifiedArr1 = arr1[0] === 'none' ? arr1.slice(1) : arr1;\n const modifiedArr2 = arr2[0] === 'none' ? arr2.slice(1) : arr2;\n\n if (modifiedArr1.length !== modifiedArr2.length) {\n return false;\n }\n const sortedArr1 = [...modifiedArr1].sort();\n const sortedArr2 = [...modifiedArr2].sort();\n\n return sortedArr1.every((value, index) => value === sortedArr2[index]);\n }\n iconNamesFromEnum = Object.values(IconEnum);\n componentDidLoad() {\n const areIdentical = this.arraysAreIdentical(\n iconNames,\n this.iconNamesFromEnum,\n );\n if (!areIdentical)\n console.warn(\n 'Icons in src/components/ls-icon/icons.ts should be identical to the enum type in src/types/Icon.ts. Please add all icons to the enum type.',\n );\n }\n\n render() {\n return (\n <host>\n {icons\n ?.filter((icon) => icon.name === this.name)\n ?.map((icon) => (\n <div\n key={icon?.name}\n class='iconContainer'\n style={{\n height: `${this.size}px`,\n width: `${this.size}px`,\n ...this.customStyle,\n \n }}\n >\n {this.solid ? (\n <div innerHTML={icon.svgSolid} style={{ top: '0px'}}/>\n ) : (\n <div innerHTML={icon.svgOutline} style={{ top: '0px'}} />\n )}\n </div>\n ))}\n </host>\n );\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ export class LsInputWrapper {
|
|
|
3
3
|
leadingIcon;
|
|
4
4
|
select = false;
|
|
5
5
|
render() {
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: '7750671f8dde3da2567df36c98dca70344b63ca4' }, h("ls-icon", { key: '20fe94a9a904f9872cdc106ad8b01432e9021211', id: "selectLeadingIcon", name: this.leadingIcon }), this.select && h("ls-icon", { key: '45e1dddd802766e2e9c6c744c956864d641be133', id: "selectorIcon", name: "selector" }), h("slot", { key: 'cf176ab0464b7f7b01160391327b741733887c12' })));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "ls-input-wrapper"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|