legalesign-document-viewer 0.4.5 → 0.4.7
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/{index-BpMnxZQ4.js → index-C4ibYtjE.js} +5 -5
- package/dist/cjs/{index-BpMnxZQ4.js.map → index-C4ibYtjE.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/ls-compose-manager.cjs.entry.js +3 -3
- package/dist/cjs/{ls-document-options_45.cjs.entry.js → ls-document-options_46.cjs.entry.js} +346 -205
- package/dist/cjs/ls-document-options_46.cjs.entry.js.map +1 -0
- package/dist/cjs/ls-document-viewer.cjs.js +2 -2
- package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ls-formfield.cjs.entry.js +4 -4
- package/dist/cjs/ls-number-input.ls-radio-input.ls-select-input.ls-text-input.ls-textarea-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ls-number-input_5.cjs.entry.js +12 -12
- package/dist/cjs/ls-number-input_5.cjs.entry.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.js +2 -2
- package/dist/collection/components/ls-document-options/ls-document-options.css +2 -2
- package/dist/collection/components/ls-document-options/ls-document-options.js +1 -1
- package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/editorCalculator.js +2 -0
- package/dist/collection/components/ls-document-viewer/editorCalculator.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +50 -15
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +32 -6
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-editor-field/ls-editor-field.css +16 -7
- package/dist/collection/components/ls-editor-field/ls-editor-field.js +116 -16
- 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 +6 -6
- package/dist/collection/components/ls-feature-column/ls-feature-column.js.map +1 -1
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.css +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.css +1 -1
- package/dist/collection/components/ls-field-content/ls-field-content.js +2 -2
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.css +1 -1
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +1 -1
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.css +2 -2
- 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-footer/ls-field-footer.js.map +1 -1
- package/dist/collection/components/ls-field-format/ls-field-format.css +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.css +1 -1
- package/dist/collection/components/ls-field-placement/ls-field-placement.js +1 -1
- package/dist/collection/components/ls-field-properties/ls-field-properties.css +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.css +1 -1
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +2 -2
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js.map +1 -1
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.css +1 -1
- 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.css +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.css +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.css +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.css +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.css +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.css +1 -1
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +3 -3
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -1
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.css +1 -1
- 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.css +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.css +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.css +2 -2
- 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-display/ls-field-type-display.js.map +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.css +7 -7
- 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.css +9 -9
- 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.css +9 -9
- 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.css +9 -9
- 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 +5 -5
- 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.css +1 -1
- package/dist/collection/components/ls-participant-card/ls-participant-card.js +8 -8
- package/dist/collection/components/ls-participant-card/ls-participant-card.js.map +1 -1
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.css +2 -2
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +2 -2
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js.map +1 -1
- package/dist/collection/components/ls-participant-select/ls-participant-select.css +1 -1
- 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 +16 -1
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +29 -5
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -1
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.css +1 -1
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +1 -1
- package/dist/collection/components/ls-statusbar/ls-statusbar.css +11 -11
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -3
- package/dist/collection/components/ls-title-input/ls-title-input.css +320 -0
- package/dist/collection/components/ls-title-input/ls-title-input.js +130 -0
- package/dist/collection/components/ls-title-input/ls-title-input.js.map +1 -0
- package/dist/collection/components/ls-toggle/ls-toggle.css +2 -2
- package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
- package/dist/collection/components/ls-toolbar/ls-toolbar.css +1 -1
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.css +1 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +3 -3
- 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 +2 -2
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +2 -2
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.css +16 -16
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +25 -3
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
- package/dist/collection/types/ValidationError.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/ls-compose-manager.js +3 -3
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +128 -97
- package/dist/components/ls-document-viewer.js.map +1 -1
- package/dist/components/ls-editor-field.js +1 -1
- package/dist/components/ls-editor-table.js +1 -1
- package/dist/components/ls-feature-column.js +1 -1
- package/dist/components/ls-field-alignment.js +1 -1
- package/dist/components/ls-field-content.js +1 -1
- package/dist/components/ls-field-dimensions.js +1 -1
- package/dist/components/ls-field-distribute.js +1 -1
- package/dist/components/ls-field-footer.js +1 -1
- package/dist/components/ls-field-format.js +1 -1
- package/dist/components/ls-field-placement.js +1 -1
- package/dist/components/ls-field-properties-advanced.js +1 -1
- package/dist/components/ls-field-properties-autosign.js +1 -1
- package/dist/components/ls-field-properties-container.js +1 -1
- package/dist/components/ls-field-properties-date.js +1 -1
- package/dist/components/ls-field-properties-dropdown.js +15 -15
- package/dist/components/ls-field-properties-email.js +1 -1
- package/dist/components/ls-field-properties-file.js +1 -1
- package/dist/components/ls-field-properties-general.js +1 -1
- package/dist/components/ls-field-properties-image.js +1 -1
- package/dist/components/ls-field-properties-multiple.js +1 -1
- package/dist/components/ls-field-properties-number.js +1 -1
- package/dist/components/ls-field-properties-signature.js +1 -1
- package/dist/components/ls-field-properties-text.js +1 -1
- package/dist/components/ls-field-properties.js +1 -1
- package/dist/components/ls-field-size.js +1 -1
- package/dist/components/ls-field-type-display.js +1 -1
- package/dist/components/ls-formfield.js +10 -10
- 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.js +1 -1
- package/dist/components/ls-recipient-manager.js +1 -1
- package/dist/components/ls-select-input.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/ls-text-input.js +1 -1
- package/dist/components/ls-textarea-input.js +1 -1
- package/dist/components/ls-title-input.d.ts +11 -0
- package/dist/components/ls-title-input.js +9 -0
- package/dist/components/ls-title-input.js.map +1 -0
- 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.js +1 -1
- package/dist/components/ls-validation-tag.js +1 -1
- package/dist/components/{p-COypjAnE.js → p-2R-Lmtr0.js} +10 -10
- package/dist/components/p-2R-Lmtr0.js.map +1 -0
- package/dist/components/p-4zazHXkZ.js +108 -0
- package/dist/components/p-4zazHXkZ.js.map +1 -0
- package/dist/components/{p-DZ_KhOns.js → p-6l08SdGl.js} +8 -8
- package/dist/components/{p-DZ_KhOns.js.map → p-6l08SdGl.js.map} +1 -1
- package/dist/components/{p-DMgdq7Zj.js → p-8ubyIwnl.js} +16 -16
- package/dist/components/p-8ubyIwnl.js.map +1 -0
- package/dist/components/{p-CtV1B-_5.js → p-95nSEls8.js} +7 -7
- package/dist/components/p-95nSEls8.js.map +1 -0
- package/dist/components/p-B28ZaK_Y.js +112 -0
- package/dist/components/p-B28ZaK_Y.js.map +1 -0
- package/dist/components/{p-DKx68i7a.js → p-B8NAATla.js} +25 -25
- package/dist/components/p-B8NAATla.js.map +1 -0
- package/dist/components/{p-BiOHci04.js → p-BArB45ep.js} +25 -25
- package/dist/components/p-BArB45ep.js.map +1 -0
- package/dist/components/p-BHTy08Q0.js +83 -0
- package/dist/components/p-BHTy08Q0.js.map +1 -0
- package/dist/components/{p-CaBVuofO.js → p-BSoZFh0I.js} +4 -4
- package/dist/components/{p-CaBVuofO.js.map → p-BSoZFh0I.js.map} +1 -1
- package/dist/components/{p-DmszHmWG.js → p-BXjDp97T.js} +31 -31
- package/dist/components/p-BXjDp97T.js.map +1 -0
- package/dist/components/p-BdTy5xDV.js +115 -0
- package/dist/components/p-BdTy5xDV.js.map +1 -0
- package/dist/components/{p-CEhCcP_A.js → p-BnGihP6t.js} +5 -5
- package/dist/components/p-BnGihP6t.js.map +1 -0
- package/dist/components/p-BzEEnXM3.js +99 -0
- package/dist/components/p-BzEEnXM3.js.map +1 -0
- package/dist/components/{p-CuyjSEEv.js → p-C0vy7fEN.js} +12 -12
- package/dist/components/{p-CuyjSEEv.js.map → p-C0vy7fEN.js.map} +1 -1
- package/dist/components/{p-DKcMRnoh.js → p-C3Qs4SL0.js} +4 -4
- package/dist/components/{p-DKcMRnoh.js.map → p-C3Qs4SL0.js.map} +1 -1
- package/dist/components/{p-D-yItxA4.js → p-CB2IouRT.js} +4 -4
- package/dist/components/{p-D-yItxA4.js.map → p-CB2IouRT.js.map} +1 -1
- package/dist/components/{p-C8ZQeYj-.js → p-CB6w78IO.js} +68 -21
- package/dist/components/p-CB6w78IO.js.map +1 -0
- package/dist/components/p-CEARE5Dy.js +72 -0
- package/dist/components/p-CEARE5Dy.js.map +1 -0
- package/dist/components/{p-CrVSg3t4.js → p-CMrBTV-g.js} +7 -7
- package/dist/components/{p-CrVSg3t4.js.map → p-CMrBTV-g.js.map} +1 -1
- package/dist/components/p-COuOscFT.js +68 -0
- package/dist/components/p-COuOscFT.js.map +1 -0
- package/dist/components/{p-BIqQK9GI.js → p-CRf3zadK.js} +9 -9
- package/dist/components/p-CRf3zadK.js.map +1 -0
- package/dist/components/{p-B3axAGVs.js → p-CYeSt5Fo.js} +8 -8
- package/dist/components/p-CYeSt5Fo.js.map +1 -0
- package/dist/components/p-Ca9OGLvH.js +115 -0
- package/dist/components/p-Ca9OGLvH.js.map +1 -0
- package/dist/components/{p-Ji_SfsNu.js → p-CcmgTlbG.js} +6 -6
- package/dist/components/{p-Ji_SfsNu.js.map → p-CcmgTlbG.js.map} +1 -1
- package/dist/components/p-Ce_FwQKY.js +125 -0
- package/dist/components/p-Ce_FwQKY.js.map +1 -0
- package/dist/components/p-CnLhdSVD.js +115 -0
- package/dist/components/p-CnLhdSVD.js.map +1 -0
- package/dist/components/p-CpKruuk0.js +150 -0
- package/dist/components/p-CpKruuk0.js.map +1 -0
- package/dist/components/p-CqvHgqQi.js +201 -0
- package/dist/components/p-CqvHgqQi.js.map +1 -0
- package/dist/components/{p-DC0HL60H.js → p-CwVY532N.js} +4 -4
- package/dist/components/{p-DC0HL60H.js.map → p-CwVY532N.js.map} +1 -1
- package/dist/components/p-D0oqtZ7v.js +161 -0
- package/dist/components/p-D0oqtZ7v.js.map +1 -0
- package/dist/components/p-D5Lt75HV.js +103 -0
- package/dist/components/p-D5Lt75HV.js.map +1 -0
- package/dist/components/{p-DPVPaPb1.js → p-DMtkP3At.js} +4 -4
- package/dist/components/{p-DPVPaPb1.js.map → p-DMtkP3At.js.map} +1 -1
- package/dist/components/p-DNojPpNK.js +34 -0
- package/dist/components/p-DNojPpNK.js.map +1 -0
- package/dist/components/{p-B2TUFMT0.js → p-DVcM3j89.js} +8 -8
- package/dist/components/p-DVcM3j89.js.map +1 -0
- package/dist/components/p-DXAEPHmo.js +115 -0
- package/dist/components/p-DXAEPHmo.js.map +1 -0
- package/dist/components/{p-9pxwrFws.js → p-DYw5-WDF.js} +5 -5
- package/dist/components/{p-9pxwrFws.js.map → p-DYw5-WDF.js.map} +1 -1
- package/dist/components/p-DhQKM6mo.js +115 -0
- package/dist/components/p-DhQKM6mo.js.map +1 -0
- package/dist/components/p-DjunXuAM.js +115 -0
- package/dist/components/p-DjunXuAM.js.map +1 -0
- package/dist/components/{p-Cqxe6wZe.js → p-DpEeDtkU.js} +7 -7
- package/dist/components/{p-Cqxe6wZe.js.map → p-DpEeDtkU.js.map} +1 -1
- package/dist/components/{p-CdFJ_FQz.js → p-Dp_6qCVD.js} +19 -19
- package/dist/components/p-Dp_6qCVD.js.map +1 -0
- package/dist/components/p-Dt8uznTD.js +118 -0
- package/dist/components/p-Dt8uznTD.js.map +1 -0
- package/dist/components/{p-R3_FOlEq.js → p-DtfgidTY.js} +10 -10
- package/dist/components/p-DtfgidTY.js.map +1 -0
- package/dist/components/{p-raaSYxtA.js → p-DuLbniAl.js} +5 -5
- package/dist/components/{p-raaSYxtA.js.map → p-DuLbniAl.js.map} +1 -1
- package/dist/components/{p-NoKw4xu7.js → p-Myru1I0U.js} +5 -5
- package/dist/components/{p-NoKw4xu7.js.map → p-Myru1I0U.js.map} +1 -1
- package/dist/components/{p-BUfnTaTZ.js → p-SymuFFwR.js} +10 -10
- package/dist/components/p-SymuFFwR.js.map +1 -0
- package/dist/components/p-bm-gsw1C.js +77 -0
- package/dist/components/p-bm-gsw1C.js.map +1 -0
- package/dist/components/p-hgs41zT_.js +103 -0
- package/dist/components/p-hgs41zT_.js.map +1 -0
- package/dist/components/{p-B-j9D08q.js → p-lCZRXn_O.js} +6 -6
- package/dist/components/{p-B-j9D08q.js.map → p-lCZRXn_O.js.map} +1 -1
- package/dist/components/p-mtgdqmoW.js +73 -0
- package/dist/components/p-mtgdqmoW.js.map +1 -0
- package/dist/components/{p-CTGwIImt.js → p-zhtYmA1Q.js} +6 -6
- package/dist/components/{p-CTGwIImt.js.map → p-zhtYmA1Q.js.map} +1 -1
- package/dist/esm/{index-BzcAlD18.js → index-o0lmYfXA.js} +5 -5
- package/dist/esm/{index-BzcAlD18.js.map → index-o0lmYfXA.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/ls-compose-manager.entry.js +3 -3
- package/dist/esm/{ls-document-options_45.entry.js → ls-document-options_46.entry.js} +346 -206
- package/dist/esm/ls-document-options_46.entry.js.map +1 -0
- package/dist/esm/ls-document-viewer.js +3 -3
- package/dist/esm/ls-field-properties-dropdown.entry.js +2 -2
- package/dist/esm/ls-formfield.entry.js +4 -4
- package/dist/esm/ls-number-input.ls-radio-input.ls-select-input.ls-text-input.ls-textarea-input.entry.js.map +1 -1
- package/dist/esm/ls-number-input_5.entry.js +12 -12
- package/dist/esm/ls-number-input_5.entry.js.map +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/ls-number-input.ls-radio-input.ls-select-input.ls-text-input.ls-textarea-input.entry.esm.js.map +1 -1
- package/dist/ls-document-viewer/p-0f4af1a9.entry.js +2 -0
- package/dist/ls-document-viewer/p-3ed8b266.entry.js +2 -0
- package/dist/ls-document-viewer/p-3ed8b266.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-b1237a47.entry.js +2 -0
- package/dist/ls-document-viewer/p-d10c6f29.entry.js +4922 -0
- package/dist/ls-document-viewer/p-d10c6f29.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-f8d4e7a2.entry.js +2 -0
- package/dist/ls-document-viewer/{p-fbb241f1.entry.js.map → p-f8d4e7a2.entry.js.map} +1 -1
- package/dist/ls-document-viewer/p-o0lmYfXA.js +3 -0
- package/dist/ls-document-viewer/{p-BzcAlD18.js.map → p-o0lmYfXA.js.map} +1 -1
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +1 -0
- package/dist/types/components/ls-editor-field/ls-editor-field.d.ts +10 -0
- package/dist/types/components/ls-recipient-card/ls-recipient-card.d.ts +3 -0
- package/dist/types/components/ls-title-input/ls-title-input.d.ts +14 -0
- package/dist/types/components/ls-validation-tag/ls-validation-tag.d.ts +2 -0
- package/dist/types/components.d.ts +65 -2
- package/dist/types/types/ValidationError.d.ts +1 -2
- package/package.json +2 -2
- package/readme.md +9 -0
- package/dist/cjs/ls-document-options_45.cjs.entry.js.map +0 -1
- package/dist/components/p-B2TUFMT0.js.map +0 -1
- package/dist/components/p-B2etz1Ic.js +0 -115
- package/dist/components/p-B2etz1Ic.js.map +0 -1
- package/dist/components/p-B2ofj7BM.js +0 -127
- package/dist/components/p-B2ofj7BM.js.map +0 -1
- package/dist/components/p-B3axAGVs.js.map +0 -1
- package/dist/components/p-B7S9E2ci.js +0 -115
- package/dist/components/p-B7S9E2ci.js.map +0 -1
- package/dist/components/p-BIqQK9GI.js.map +0 -1
- package/dist/components/p-BNX_U6jC.js +0 -112
- package/dist/components/p-BNX_U6jC.js.map +0 -1
- package/dist/components/p-BUfnTaTZ.js.map +0 -1
- package/dist/components/p-BiOHci04.js.map +0 -1
- package/dist/components/p-BzY8ubZE.js +0 -103
- package/dist/components/p-BzY8ubZE.js.map +0 -1
- package/dist/components/p-BzxhEsKd.js +0 -115
- package/dist/components/p-BzxhEsKd.js.map +0 -1
- package/dist/components/p-C8ZQeYj-.js.map +0 -1
- package/dist/components/p-CCt1S0nA.js +0 -115
- package/dist/components/p-CCt1S0nA.js.map +0 -1
- package/dist/components/p-CEhCcP_A.js.map +0 -1
- package/dist/components/p-CNc1l7mG.js +0 -73
- package/dist/components/p-CNc1l7mG.js.map +0 -1
- package/dist/components/p-COypjAnE.js.map +0 -1
- package/dist/components/p-CdFJ_FQz.js.map +0 -1
- package/dist/components/p-CtV1B-_5.js.map +0 -1
- package/dist/components/p-D-U9fbV-.js +0 -118
- package/dist/components/p-D-U9fbV-.js.map +0 -1
- package/dist/components/p-DCZnqvsu.js +0 -83
- package/dist/components/p-DCZnqvsu.js.map +0 -1
- package/dist/components/p-DDNZkGBj.js +0 -115
- package/dist/components/p-DDNZkGBj.js.map +0 -1
- package/dist/components/p-DGuG1Bmj.js +0 -108
- package/dist/components/p-DGuG1Bmj.js.map +0 -1
- package/dist/components/p-DKx68i7a.js.map +0 -1
- package/dist/components/p-DMgdq7Zj.js.map +0 -1
- package/dist/components/p-DPtMBZYM.js +0 -103
- package/dist/components/p-DPtMBZYM.js.map +0 -1
- package/dist/components/p-DUBoFEsx.js +0 -99
- package/dist/components/p-DUBoFEsx.js.map +0 -1
- package/dist/components/p-DVtr8lsT.js +0 -34
- package/dist/components/p-DVtr8lsT.js.map +0 -1
- package/dist/components/p-DmszHmWG.js.map +0 -1
- package/dist/components/p-DyU3O3tg.js +0 -161
- package/dist/components/p-DyU3O3tg.js.map +0 -1
- package/dist/components/p-FjzffTyc.js +0 -201
- package/dist/components/p-FjzffTyc.js.map +0 -1
- package/dist/components/p-G8kF15oY.js +0 -67
- package/dist/components/p-G8kF15oY.js.map +0 -1
- package/dist/components/p-HB8K0xP0.js +0 -68
- package/dist/components/p-HB8K0xP0.js.map +0 -1
- package/dist/components/p-QEWyXsBw.js +0 -115
- package/dist/components/p-QEWyXsBw.js.map +0 -1
- package/dist/components/p-R3_FOlEq.js.map +0 -1
- package/dist/components/p-cwpKMDgH.js +0 -125
- package/dist/components/p-cwpKMDgH.js.map +0 -1
- package/dist/esm/ls-document-options_45.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-06c34a72.entry.js +0 -4922
- package/dist/ls-document-viewer/p-06c34a72.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-350754cb.entry.js +0 -2
- package/dist/ls-document-viewer/p-350754cb.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-3a4da534.entry.js +0 -2
- package/dist/ls-document-viewer/p-3c5fa1d7.entry.js +0 -2
- package/dist/ls-document-viewer/p-BzcAlD18.js +0 -3
- package/dist/ls-document-viewer/p-fbb241f1.entry.js +0 -2
- /package/dist/ls-document-viewer/{p-3c5fa1d7.entry.js.map → p-0f4af1a9.entry.js.map} +0 -0
- /package/dist/ls-document-viewer/{p-3a4da534.entry.js.map → p-b1237a47.entry.js.map} +0 -0
|
@@ -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: 'd98dcc06c9bd451991818629afbc2fff1d6c8fff' }, h("ls-field-properties-container", { key: 'a9f6c081272cf74cd4be29c78769422161dba816', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '5c625ed9ae36342832779428938c2de7a7aa7163', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'd11bd76deb30a0aa93766167fe81adf8428ad4c3', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'f6c373b50a2742321af5e464ccaad5154a0a8cb4', dataItem: this.dataItem })), h("div", { key: '61f7e8aec05f9ee370eeda26eb169ae96c23bdc6', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '1a261f3e557bd7d69cff9980a864fb1e90ac07ba', dataItem: this.dataItem })), h("div", { key: '535ba971134ab505302a23932df23136a387bce5', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '7e84324458a5410b9d4af72a982c87e46d075cbc', dataItem: this.dataItem }))), h("ls-field-footer", { key: 'e8b395dc2d6f049b8715870b602f3510a8e99b7f', 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: '1cabd4d6ece5981e2e50933fa93d19b113cd6bca' }, h("div", { key: 'faabdbcb881e7724694750df2de7151d7a8990ac', class: 'ls-field-properties-section' }, h("div", { key: '14cd8bae67637aadb831dee0c2373e280dd26199', class: 'ls-field-properties-section-text' }, h("p", { key: '3a2f88d275b7b7932d7816d692ef768ac24d3774', class: 'ls-field-properties-section-title' }, "Scale and Resize"), h("p", { key: 'e88a8518e89b06f7b446b387fd063ccf15f23f86', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), h("div", { key: 'e7bb74bd8e58ee30d14736a52925ea8a144dc54f', class: 'button-group' }, h("button", { key: 'ff0c8337a67047633e50e9f3133a9611dc005e2e', 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: 'c4618753082d4e2212a273fece998e8bd51f6688', name: "field-scale" })), h("button", { key: 'd88b13b511c417036b7cbac398bc8f1627cb6d26', "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: 'ee4cbf6e84d12685d3ef7516557d6ffe5214524c', name: "field-match-width" })), h("button", { key: 'a16e991225c105f124afc5c65960a8b8e595867e', 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: 'cbc94846ea2c09a47800e0f7e073be43c8ed2230', name: "field-match-height" })))), h("slot", { key: 'cc0e771946fe9cbd33d19a0c0fee3e025fc4870d' }), h("ls-tooltip", { key: '9f8b2d85bc49f41b85a34b30763088f804e5e5df', 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: 'e40b140dc43b54a9b5902db8ee47f713da12e723', 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: '3c16f1b3c1e5370986c266173f0792cae15e3345', class: 'ls-field-type-inner' }, h("div", { key: '268ac5892e08c2b253a722ebab1faeaffaa63db0', 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: '9ec309d89e6405f0aff5ac94868166b932983331', name: getFieldIcon(this.fieldType), size: "1.25rem" })), h("p", { key: '0f64e64d628e4b9bd7ee2426237ef1dcfc5f4940', 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"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls-field-type-display.js","sourceRoot":"","sources":["../../../src/components/ls-field-type-display/ls-field-type-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAOvE,MAAM,OAAO,kBAAkB;IACrB,QAAQ,CAAS;IACjB,SAAS,GAAW,WAAW,CAAC;IAExC,MAAM;QACJ,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;QACtD,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,uBAAuB,EAC9B,KAAK,EAAE;gBACL,MAAM,EAAE,cAAc,KAAK,CAAC,GAAG,EAAE;gBACjC,UAAU,EAAE,KAAK,CAAC,GAAG;aACtB;YAED,4DAAK,KAAK,EAAE,qBAAqB;gBAC/B,4DACE,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE;wBACL,MAAM,EAAE,aAAa,KAAK,CAAC,GAAG,EAAE;wBAChC,KAAK,EAAE,KAAK,CAAC,GAAG;wBAChB,UAAU,EAAE,KAAK,CAAC,GAAG;qBACtB;oBAED,gEAAS,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAC,
|
|
1
|
+
{"version":3,"file":"ls-field-type-display.js","sourceRoot":"","sources":["../../../src/components/ls-field-type-display/ls-field-type-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAOvE,MAAM,OAAO,kBAAkB;IACrB,QAAQ,CAAS;IACjB,SAAS,GAAW,WAAW,CAAC;IAExC,MAAM;QACJ,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;QACtD,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,uBAAuB,EAC9B,KAAK,EAAE;gBACL,MAAM,EAAE,cAAc,KAAK,CAAC,GAAG,EAAE;gBACjC,UAAU,EAAE,KAAK,CAAC,GAAG;aACtB;YAED,4DAAK,KAAK,EAAE,qBAAqB;gBAC/B,4DACE,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE;wBACL,MAAM,EAAE,aAAa,KAAK,CAAC,GAAG,EAAE;wBAChC,KAAK,EAAE,KAAK,CAAC,GAAG;wBAChB,UAAU,EAAE,KAAK,CAAC,GAAG;qBACtB;oBAED,gEAAS,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAC,SAAS,GAAG,CAC1D;gBACN,0DAAG,KAAK,EAAE,oBAAoB,IAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAK,CAC/D,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { defaultRolePalette } from '../ls-document-viewer/defaultPalette';\nimport { getFieldLabel } from '../ls-document-viewer/defaultFieldLabels';\nimport { getFieldIcon } from '../ls-document-viewer/defaultFieldIcons';\n\n@Component({\n tag: 'ls-field-type-display',\n styleUrl: 'ls-field-type-display.css',\n shadow: true,\n})\nexport class LsFieldTypeDisplay {\n @Prop() assignee: number;\n @Prop() fieldType: string = 'signature';\n\n render() {\n const color = defaultRolePalette[this.assignee % 100];\n return (\n <Host\n class={'ls-field-type-wrapper'}\n style={{\n border: `1px dashed ${color.s30}`,\n background: color.s10,\n }}\n >\n <div class={'ls-field-type-inner'}>\n <div\n class={'ls-field-type-icon'}\n style={{\n border: `1px solid ${color.s60}`,\n color: color.s60,\n background: color.s10,\n }}\n >\n <ls-icon name={getFieldIcon(this.fieldType)} size=\"1.25rem\" />\n </div>\n <p class={'ls-field-type-name'}>{getFieldLabel(this.fieldType)}</p>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -178,7 +178,7 @@ input:focus:not(:disabled) {
|
|
|
178
178
|
.right-items {
|
|
179
179
|
position: absolute;
|
|
180
180
|
padding: 0.25rem;
|
|
181
|
-
height:
|
|
181
|
+
height: 2.25rem;
|
|
182
182
|
right: 0;
|
|
183
183
|
top: 50%;
|
|
184
184
|
transform: translateY(-50%);
|
|
@@ -198,8 +198,8 @@ input:focus:not(:disabled) {
|
|
|
198
198
|
|
|
199
199
|
.button {
|
|
200
200
|
display: flex;
|
|
201
|
-
height:
|
|
202
|
-
width:
|
|
201
|
+
height: 1.75rem;
|
|
202
|
+
width: 1.75rem;
|
|
203
203
|
padding: 0.25rem;
|
|
204
204
|
justify-content: center;
|
|
205
205
|
align-items: center;
|
|
@@ -215,8 +215,8 @@ input:focus:not(:disabled) {
|
|
|
215
215
|
|
|
216
216
|
.button-disabled {
|
|
217
217
|
display: flex;
|
|
218
|
-
height:
|
|
219
|
-
width:
|
|
218
|
+
height: 1.75rem;
|
|
219
|
+
width: 1.75rem;
|
|
220
220
|
padding: 0.25rem;
|
|
221
221
|
justify-content: center;
|
|
222
222
|
align-items: center;
|
|
@@ -255,8 +255,8 @@ input:focus:not(:disabled) {
|
|
|
255
255
|
|
|
256
256
|
.button:focus {
|
|
257
257
|
display: flex;
|
|
258
|
-
height:
|
|
259
|
-
width:
|
|
258
|
+
height: 1.75rem;
|
|
259
|
+
width: 1.75rem;
|
|
260
260
|
padding: 0.25rem;
|
|
261
261
|
justify-content: center;
|
|
262
262
|
align-items: center;
|
|
@@ -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: '16b2658c62a3ea3de4f55ef91fd669677506e1fe', class: type === 'ls' && 'host' }, type === 'ls' && (h("button", { key: 'c1ac4489e1eae6a84a56bff53d22dc7a33d7d4a4', class: plusMinusClass, onClick: () => handleMinus(), disabled: disabled }, h("ls-icon", { key: '8db14a1fd8fad4907c73dd2a41a1e584ddd02914', id: 'buttonIcon', name: 'minus-sm' }))), h("div", { key: 'f612a83f625cb10b7e11249b281be587c92e783c', class: 'input-container' }, fieldIcon && (h("ls-icon", { key: 'e737ac19586a0a5bca2f1caaf18b1f68b25c9c03', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("input", { key: '2f8681769df8a8affc62f0744e198896eb893ffb', 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: '3f175e8ed586f731c62d81b286cc3fa198ae8e4b', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '451f88055782062684466fe084477eb675eaec62', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && type !== 'ls' && (h("button", { key: '0699154beaa0964a71b0e378c76853f8bd1832fc', class: 'button', onClick: buttonClick }, h("ls-icon", { key: 'edad9c88e963bba30a8f6e3ccd7dc5c9646828bb', id: 'buttonIcon', name: buttonIcon }))))), type === 'ls' && (h("button", { key: '2b263884f201f422652393f95e486e51a6e369fb', class: plusMinusClass, onClick: handlePlus, disabled: disabled }, h("ls-icon", { key: '57dcfe868a3865e0b9b5a9930596a8c758513723', 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: 'affba3f5b1b1c934f56a2cb7568dfee10639e842', htmlFor: radioId, tabIndex: 0, class: radioLabelClass, style: customStyle }, h("input", { key: '4287b9cd8a951be8c65ce0fb83580ed32fbee77a', type: 'radio', class: 'inputClass', id: radioId, name: name, value: label, disabled: disabled, tabIndex: 0, checked: checked }), h("div", { key: '7d80ac9ae37ad054e726fd75f52d3568c0f13a25', class: 'spanContainer' }, h("span", { key: '5d2fb9b0d694e03f38da46459b5bcbd97a4982cf' }, icon && h("ls-icon", { key: 'c618f79ac8f61cec3cde549a554190e085599091', name: icon, size: "16" })), h("span", { key: 'a4ab42377ba01f88819b12beacdace5ea6d393b7' }, label))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "ls-radio-input"; }
|
|
17
17
|
static get originalStyleUrls() {
|
|
@@ -137,7 +137,7 @@ select {
|
|
|
137
137
|
.right-items {
|
|
138
138
|
position: absolute;
|
|
139
139
|
padding: 0.25rem;
|
|
140
|
-
height:
|
|
140
|
+
height: 2.25rem;
|
|
141
141
|
right: 0;
|
|
142
142
|
top: 0;
|
|
143
143
|
display: flex;
|
|
@@ -156,8 +156,8 @@ select {
|
|
|
156
156
|
|
|
157
157
|
.button {
|
|
158
158
|
display: flex;
|
|
159
|
-
height:
|
|
160
|
-
width:
|
|
159
|
+
height: 1.75rem;
|
|
160
|
+
width: 1.75rem;
|
|
161
161
|
padding: 0.25rem;
|
|
162
162
|
justify-content: center;
|
|
163
163
|
align-items: center;
|
|
@@ -173,8 +173,8 @@ select {
|
|
|
173
173
|
|
|
174
174
|
.button:hover {
|
|
175
175
|
display: flex;
|
|
176
|
-
height:
|
|
177
|
-
width:
|
|
176
|
+
height: 1.75rem;
|
|
177
|
+
width: 1.75rem;
|
|
178
178
|
padding: 0.25rem;
|
|
179
179
|
justify-content: center;
|
|
180
180
|
align-items: center;
|
|
@@ -190,8 +190,8 @@ select {
|
|
|
190
190
|
|
|
191
191
|
.button:active {
|
|
192
192
|
display: flex;
|
|
193
|
-
height:
|
|
194
|
-
width:
|
|
193
|
+
height: 1.75rem;
|
|
194
|
+
width: 1.75rem;
|
|
195
195
|
padding: 0.25rem;
|
|
196
196
|
justify-content: center;
|
|
197
197
|
align-items: center;
|
|
@@ -207,8 +207,8 @@ select {
|
|
|
207
207
|
|
|
208
208
|
.button:focus {
|
|
209
209
|
display: flex;
|
|
210
|
-
height:
|
|
211
|
-
width:
|
|
210
|
+
height: 1.75rem;
|
|
211
|
+
width: 1.75rem;
|
|
212
212
|
padding: 0.25rem;
|
|
213
213
|
justify-content: center;
|
|
214
214
|
align-items: center;
|
|
@@ -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: '9980f5312e7bdd61255e5684404c85351dd32b63', class: 'host' }, fieldIcon && (h("ls-icon", { key: 'ee10c135a53f825b16f134af7d5d24762ea0794a', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("select", { key: '95875345316282ded2d72eabe24ebcfe9e112947', class: inputClass, id: name, name: name, "aria-label": aria, required: required, disabled: disabled }, h("slot", { key: '352aae0b0c6ad7dae862021cf81584b89fe761e5' })), h("div", { key: '5ce9ec6d3edb7645be270874087c5b066996e8a6', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '07ad8dc616954c148b044fd68e4518d583e14300', 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() {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
.right-items {
|
|
128
128
|
position: absolute;
|
|
129
129
|
padding: 0.25rem;
|
|
130
|
-
height:
|
|
130
|
+
height: 2.25rem;
|
|
131
131
|
right: 0;
|
|
132
132
|
top: 0;
|
|
133
133
|
display: flex;
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
|
|
147
147
|
.button {
|
|
148
148
|
display: flex;
|
|
149
|
-
height:
|
|
150
|
-
width:
|
|
149
|
+
height: 1.75rem;
|
|
150
|
+
width: 1.75rem;
|
|
151
151
|
padding: 0.25rem;
|
|
152
152
|
justify-content: center;
|
|
153
153
|
align-items: center;
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
|
|
164
164
|
.button:hover {
|
|
165
165
|
display: flex;
|
|
166
|
-
height:
|
|
167
|
-
width:
|
|
166
|
+
height: 1.75rem;
|
|
167
|
+
width: 1.75rem;
|
|
168
168
|
padding: 0.25rem;
|
|
169
169
|
justify-content: center;
|
|
170
170
|
align-items: center;
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
|
|
181
181
|
.button:active {
|
|
182
182
|
display: flex;
|
|
183
|
-
height:
|
|
184
|
-
width:
|
|
183
|
+
height: 1.75rem;
|
|
184
|
+
width: 1.75rem;
|
|
185
185
|
padding: 0.25rem;
|
|
186
186
|
justify-content: center;
|
|
187
187
|
align-items: center;
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
|
|
198
198
|
.button:focus {
|
|
199
199
|
display: flex;
|
|
200
|
-
height:
|
|
201
|
-
width:
|
|
200
|
+
height: 1.75rem;
|
|
201
|
+
width: 1.75rem;
|
|
202
202
|
padding: 0.25rem;
|
|
203
203
|
justify-content: center;
|
|
204
204
|
align-items: center;
|
|
@@ -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: '065f2582758ce9cfeea52508bd051c49ac8f7a22', class: 'host' }, fieldIcon && (h("ls-icon", { key: 'b5e77210c848cff4c8c572fc2ad2b137e67670c1', 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: 'aa71635dc5ce7a3727559271dd57cead5d5f2c7b', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '07561e3d44c33a945083f69cf1c1449257153ed5', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '7fa27ddfe3e004c6c2232210bf0ab39664f7cc75', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '2a07f650fdd786d01a7d88548ba07074da25fbc9', id: 'buttonIcon', name: buttonIcon }))), type === 'password' && !buttonIcon && (h("ls-icon-button", { key: '1b3fd40bf47799698ea65239eedc0123e01e6cda', 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.css
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
.right-items {
|
|
119
119
|
position: absolute;
|
|
120
120
|
padding: 0.25rem;
|
|
121
|
-
height:
|
|
121
|
+
height: 2.25rem;
|
|
122
122
|
right: 0;
|
|
123
123
|
top: 0;
|
|
124
124
|
display: flex;
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
|
|
138
138
|
.button {
|
|
139
139
|
display: flex;
|
|
140
|
-
height:
|
|
141
|
-
width:
|
|
140
|
+
height: 1.75rem;
|
|
141
|
+
width: 1.75rem;
|
|
142
142
|
padding: 0.25rem;
|
|
143
143
|
justify-content: center;
|
|
144
144
|
align-items: center;
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
|
|
155
155
|
.button:hover {
|
|
156
156
|
display: flex;
|
|
157
|
-
height:
|
|
158
|
-
width:
|
|
157
|
+
height: 1.75rem;
|
|
158
|
+
width: 1.75rem;
|
|
159
159
|
padding: 0.25rem;
|
|
160
160
|
justify-content: center;
|
|
161
161
|
align-items: center;
|
|
@@ -171,8 +171,8 @@
|
|
|
171
171
|
|
|
172
172
|
.button:active {
|
|
173
173
|
display: flex;
|
|
174
|
-
height:
|
|
175
|
-
width:
|
|
174
|
+
height: 1.75rem;
|
|
175
|
+
width: 1.75rem;
|
|
176
176
|
padding: 0.25rem;
|
|
177
177
|
justify-content: center;
|
|
178
178
|
align-items: center;
|
|
@@ -190,8 +190,8 @@
|
|
|
190
190
|
|
|
191
191
|
.button:focus {
|
|
192
192
|
display: flex;
|
|
193
|
-
height:
|
|
194
|
-
width:
|
|
193
|
+
height: 1.75rem;
|
|
194
|
+
width: 1.75rem;
|
|
195
195
|
padding: 0.25rem;
|
|
196
196
|
justify-content: center;
|
|
197
197
|
align-items: center;
|
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: '9ae8b4df7f03ce8007522c161f373be320f802aa', class: 'host' }, fieldIcon && (h("ls-icon", { key: '6ee5150550cf1fcbe0ddf70e1100a424c4cbf799', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("textarea", { key: '4db4ca2f5402d0081750eb05c24d384e6604915b', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled }), h("div", { key: 'bd8f98837ef04e4f47ea4cb6f14e7cf75d40e026', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '4b9fcca0baa77a2fc70ecfcda72e09fc60560005', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '2bbf87b77cf0df42e620b8ee8990a15efdf29699', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '53e406ede857fa2fbe2550ac448b5ebf81427a02', 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: '7d9ce8f93eef332dc934dbb8b18c686a24b7bb7b', class: "formfield-host" }, label?.length > 1 || extraLabel !== 'none' && (h("div", { key: '83f6dc53d7ed4a97574788f5226f58c7dcdf7f76', class: "formfield-top-elements" }, h("div", { key: '61761e85e2d573f7361d990474dfc8fa168db633', class: "formfield-left-side" }, labelIcon && h("ls-icon", { key: 'f2c2d195abf5ecd11db30844f7a9a45f37a585b1', name: labelIcon }), h("label", { key: 'eb97be872ffcb60d4d161283af72882303471e76', htmlFor: name, class: "formfield-label" }, label), infoTooltipText && h("ls-icon", { key: '09065bb12b3df7e2daf4fd761b328f7b86fdb44e', 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: '0729bf9725dd53684bf0475718955fbe6847ebcf', 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: 'df740e5bc22bd24bbc496a00c02023a95fdf6b9a', class: "formfield-count-container" }, h("p", { key: '0bcd5b23f4ab2483cda330829feea022f2bb33fd', class: countClass }, value?.toString()?.length), countMax > 0 && (h("div", { key: '36280cff83fc6522a36778577f04bd9644e1f800', class: countClass }, h("p", { key: 'a1516c03a84710c101b92710cc9ea77ca8a5d45b' }, "/"), h("p", { key: '55b029ed794ce322b7e75a49776d74d21e6f57cf' }, 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: '0ea5ddfbf8e09f857ce4bea741fab2f9661785c7' }, h("div", { key: 'a0d17c33fa0f6513ab6b22d3715bf31625e77fba', class: 'controls-bar', onMouseEnter: () => (this.expanded = true), onMouseLeave: () => (this.expanded = false) }, h("button", { key: 'd4d1405c68b9e96babb93e2044d7bf7b736444b3', 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: 'dce4fffb30a3ed7115ee0816434552996794ad3a', referenceElement: this.shortcutsBtn }), h("ls-icon", { key: '04e31a96e6593b2fc73854619bbc80ef20fc4d26', name: "keyboard" })), h("button", { key: 'e0ff256398468065fb76fe273c1a4089af598dbf', style: !this.expanded ? { display: 'none' } : { display: 'block' }, "data-pendo": "launch-new-edit-tour" }, h("ls-icon", { key: '5ce37cfa92b2525a8d344fed6b8835930db1aeb0', name: "map", "data-tooltip": "Take a Guided Tour", "data-tooltip-placement": "left" })), h("button", { key: 'ab1cc9441815b58fc92d1688bf540a6ad9ea9349', style: !this.expanded ? { display: 'none' } : { display: 'block' }, onClick: () => window.open('https://legalesign.com/articles/', '_blank') }, h("ls-icon", { key: 'fdb1d13e35ff66d03c77bd15858910c4773b5105', name: "book-open", "data-tooltip": "View Documentation \u2197", "data-tooltip-placement": "left" })), h("div", { key: 'cfc76e9434590eb0c06055d89b219479e4b0fa8b', class: "divider", style: !this.expanded ? { display: 'none' } : { display: 'block' } }), h("button", { key: '430c37f8e0f4206a76f006c3f72c60c5e2b8a2dc' }, h("ls-icon", { key: 'c3e6c2bac0ec08c2cec5c0c5237cdb7b2ec740ef', name: "question-mark-circle" }))), h("slot", { key: '38c98e7e91042d1cddb4217e8f61c44d32f65a7a' }), h("ls-tooltip", { key: '8ddaf7d60cd84a206efb4c71240db45772bc8d70', id: "ls-tooltip-master" })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ls-helper-bar"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class LsIcon {
|
|
|
5
5
|
name;
|
|
6
6
|
solid = false;
|
|
7
7
|
color = "#000000";
|
|
8
|
-
size = "
|
|
8
|
+
size = "1.25rem";
|
|
9
9
|
customStyle;
|
|
10
10
|
// Added function to check that the Icon enum type has all the icons from the icons.ts file
|
|
11
11
|
arraysAreIdentical(arr1, arr2) {
|
|
@@ -25,11 +25,11 @@ export class LsIcon {
|
|
|
25
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.');
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("host", { key: '
|
|
28
|
+
return (h("host", { key: 'bd029331162812961f4b1413bcedd4688cece878' }, icons
|
|
29
29
|
?.filter((icon) => icon.name === this.name)
|
|
30
30
|
?.map((icon) => (h("div", { key: icon?.name, class: 'iconContainer', style: {
|
|
31
|
-
height: `${this.size}
|
|
32
|
-
width: `${this.size}
|
|
31
|
+
height: `${this.size}`,
|
|
32
|
+
width: `${this.size}`,
|
|
33
33
|
...this.customStyle,
|
|
34
34
|
} }, this.solid ? (h("div", { innerHTML: icon.svgSolid, style: { top: '0px' } })) : (h("div", { innerHTML: icon.svgOutline, style: { top: '0px' } })))))));
|
|
35
35
|
}
|
|
@@ -120,7 +120,7 @@ export class LsIcon {
|
|
|
120
120
|
"getter": false,
|
|
121
121
|
"setter": false,
|
|
122
122
|
"reflect": false,
|
|
123
|
-
"defaultValue": "\"
|
|
123
|
+
"defaultValue": "\"1.25rem\""
|
|
124
124
|
},
|
|
125
125
|
"customStyle": {
|
|
126
126
|
"type": "unknown",
|
|
@@ -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,KAAK,GAAY,SAAS,CAAC;IAC3B,IAAI,GAAY,
|
|
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,SAAS,CAAC;IAC1B,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,EAAE;gBACtB,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE;gBACrB,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 = \"1.25rem\";\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}`,\n width: `${this.size}`,\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: '80c79e120bd0d44c11cac3e8096715e59d21a793' }, h("ls-icon", { key: 'a8af28777cb9cea7294075df1714473b8310d98d', id: "selectLeadingIcon", name: this.leadingIcon }), this.select && h("ls-icon", { key: '0e68b967bcb36ea63a3bbd147c4af70916443c68', id: "selectorIcon", name: "selector" }), h("slot", { key: 'c547d8642431a3fc34e36c967bf9789e7b10921d' })));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "ls-input-wrapper"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|