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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-BnGihP6t.js';
|
|
2
|
+
import { d as defineCustomElement$4 } from './p-Ce_FwQKY.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './p-95nSEls8.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-8ubyIwnl.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-CwVY532N.js';
|
|
6
|
+
|
|
7
|
+
const lsToolbarCss = ":host{position:absolute;top:1rem;left:50%;transform:translateX(-50%);display:flex;width:100%;align-items:center;justify-content:center;padding:0.375rem;gap:0.5rem;width:fit-content;border-radius:1rem;border:1px solid var(--gray-20, #edeff2);background:var(--white, #fff);z-index:1000;box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:2.25rem}.input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6c6e73)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}";
|
|
8
|
+
|
|
9
|
+
const LsToolbar = /*@__PURE__*/ proxyCustomElement(class LsToolbar extends H {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.__attachShadow();
|
|
14
|
+
this.mutate = createEvent(this, "mutate", 7);
|
|
15
|
+
this.update = createEvent(this, "update", 7);
|
|
16
|
+
}
|
|
17
|
+
get component() { return this; }
|
|
18
|
+
/**
|
|
19
|
+
* The selected items information (as JSON).
|
|
20
|
+
* {LSApiElement[]}
|
|
21
|
+
*/
|
|
22
|
+
dataItem;
|
|
23
|
+
/**
|
|
24
|
+
* The group and experience information.
|
|
25
|
+
* {object}
|
|
26
|
+
*/
|
|
27
|
+
groupInfo;
|
|
28
|
+
/**
|
|
29
|
+
* The base template information (as JSON).
|
|
30
|
+
* {LSApiTemplate}
|
|
31
|
+
*/
|
|
32
|
+
template;
|
|
33
|
+
/**
|
|
34
|
+
* The main editor.
|
|
35
|
+
* {LSDocumentViewer}
|
|
36
|
+
*/
|
|
37
|
+
editor;
|
|
38
|
+
mutate;
|
|
39
|
+
update;
|
|
40
|
+
// @Element() component: HTMLElement;
|
|
41
|
+
// Send one or more mutations up the chain
|
|
42
|
+
// The source of the chain fires the mutation
|
|
43
|
+
alter(diff) {
|
|
44
|
+
const diffs = this.dataItem.map(c => {
|
|
45
|
+
return { action: 'update', data: { ...c, ...diff } };
|
|
46
|
+
});
|
|
47
|
+
this.dataItem = diffs.map(d => d.data);
|
|
48
|
+
this.mutate.emit(diffs);
|
|
49
|
+
this.update.emit(diffs);
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
return (h(Host, { key: 'bafb88d0050349a95e68e5c2424c6ef4cb60dd31' }, (this.dataItem && this.dataItem.length > 1) ? (h("div", { class: 'rowbox' }, h("ls-field-format", { dataItem: this?.dataItem }))) : (h("div", { class: 'rowbox' }, h("ls-field-format", { dataItem: this?.dataItem, style: { visibility: this.dataItem && this.dataItem.length === 1 ? 'visible' : 'hidden' } }), h("ls-participant-select", { id: "ls-participant-select", roles: this.template?.roles, style: { display: this.dataItem && this.dataItem.length === 1 ? 'none' : 'block' } }))), h("ls-tooltip", { key: '4cf0e3dd34be8dfff87525ebe0c87d106d49335d', id: "ls-tooltip-master" }), h("slot", { key: '2eaa4c5de2ed24e5405a4e85821b59e934b77db4' })));
|
|
53
|
+
}
|
|
54
|
+
static get style() { return lsToolbarCss; }
|
|
55
|
+
}, [257, "ls-toolbar", {
|
|
56
|
+
"dataItem": [1040, "data-item"],
|
|
57
|
+
"groupInfo": [16, "group-info"],
|
|
58
|
+
"template": [16],
|
|
59
|
+
"editor": [1040]
|
|
60
|
+
}]);
|
|
61
|
+
function defineCustomElement() {
|
|
62
|
+
if (typeof customElements === "undefined") {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
const components = ["ls-toolbar", "ls-field-format", "ls-icon", "ls-participant-select", "ls-tooltip"];
|
|
66
|
+
components.forEach(tagName => { switch (tagName) {
|
|
67
|
+
case "ls-toolbar":
|
|
68
|
+
if (!customElements.get(tagName)) {
|
|
69
|
+
customElements.define(tagName, LsToolbar);
|
|
70
|
+
}
|
|
71
|
+
break;
|
|
72
|
+
case "ls-field-format":
|
|
73
|
+
if (!customElements.get(tagName)) {
|
|
74
|
+
defineCustomElement$4();
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
case "ls-icon":
|
|
78
|
+
if (!customElements.get(tagName)) {
|
|
79
|
+
defineCustomElement$3();
|
|
80
|
+
}
|
|
81
|
+
break;
|
|
82
|
+
case "ls-participant-select":
|
|
83
|
+
if (!customElements.get(tagName)) {
|
|
84
|
+
defineCustomElement$2();
|
|
85
|
+
}
|
|
86
|
+
break;
|
|
87
|
+
case "ls-tooltip":
|
|
88
|
+
if (!customElements.get(tagName)) {
|
|
89
|
+
defineCustomElement$1();
|
|
90
|
+
}
|
|
91
|
+
break;
|
|
92
|
+
} });
|
|
93
|
+
}
|
|
94
|
+
defineCustomElement();
|
|
95
|
+
|
|
96
|
+
export { LsToolbar as L, defineCustomElement as d };
|
|
97
|
+
//# sourceMappingURL=p-BzEEnXM3.js.map
|
|
98
|
+
|
|
99
|
+
//# sourceMappingURL=p-BzEEnXM3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-BzEEnXM3.js","mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,0rJAA0rJ;;MCQlsJ,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;;;;;;;;;AAGpB;;;AAGG;AAIH,IAAA,QAAQ;AAGR;;;AAGC;AACO,IAAA,SAAS;AAEjB;;;AAGG;AACK,IAAA,QAAQ;AAEhB;;;AAGG;AAGA,IAAA,MAAM;AAOT,IAAA,MAAM;AAON,IAAA,MAAM;;;;AAMN,IAAA,KAAK,CAAC,IAAY,EAAA;QAEhB,MAAM,KAAK,GAAoB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAG;AACnD,YAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,GAAG,CAAC,EAAE,GAAG,IAAI,EAAkB,EAAE;AACtE,SAAC,CAAC;AAEF,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,IAAoB,CAAC;AACtD,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;AACvB,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;;IAGzB,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACD,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,KAC1C,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,QAAQ,EAAA,EAClB,CAAA,CAAA,iBAAA,EAAA,EAAiB,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAI,CAAA,CACzC,KAEN,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,QAAQ,EAAA,EAClB,CAAA,CAAA,iBAAA,EAAA,EAAiB,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,GAAG,SAAS,GAAG,QAAQ,EAAE,EAAI,CAAA,EACxI,CAAA,CAAA,uBAAA,EAAA,EAAuB,EAAE,EAAC,uBAAuB,EAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,GAAG,MAAM,GAAG,OAAO,EAAE,EAAA,CAAI,CACjK,CACP,EACD,CAAY,CAAA,YAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAE,EAAC,mBAAmB,EAAG,CAAA,EACrC,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-toolbar/ls-toolbar.css?tag=ls-toolbar&encapsulation=shadow","src/components/ls-toolbar/ls-toolbar.tsx"],"sourcesContent":[":host {\n position: absolute;\n top: 1rem;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n padding: 0.375rem;\n gap: 0.5rem;\n width: fit-content;\n border-radius: 1rem;\n border: 1px solid var(--gray-20, #edeff2);\n background: var(--white, #fff);\n z-index: 1000;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\n}\n\n\n/* Global Styles */\n\np {\n color: var(--gray-80, #6c6e73);\n font-family: var(--font-family);\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n}\n\na {\n color: var(--primary-60, #4456f6);\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n cursor: pointer;\n}\n\na:hover {\n text-decoration: underline;\n color: var(--primary-70, #2134dc);\n}\n\n.button-link,\n.button-link:hover {\n all: unset;\n}\n\nselect {\n appearance: none;\n height: 2.25rem;\n}\n\n.input-wrapper {\n position: relative;\n width: fit-content;\n}\n\n#selectorIcon {\n position: absolute;\n top: 50%;\n right: 0.675rem;\n transform: translateY(-50%);\n pointer-events: none;\n color: var(--gray-80, #6c6e73);\n}\n\n#selectLeadingIcon {\n position: absolute;\n top: 50%;\n left: 0.675rem;\n transform: translateY(-50%);\n pointer-events: none;\n color: var(--gray-80, #6c6e73);\n}\n\n.has-leading-icon {\n padding-left: 2.5rem;\n}\n\ninput,\nselect,\ntextarea {\n border: 1px solid var(--gray-40, #d8d9dc);\n box-shadow: 0 1px 0.125rem rgba(0, 0, 0, 0.05);\n padding: 0.5rem 0.75rem;\n font-family: var(--font-family);\n font-size: var(--text-sm);\n border-radius: 0.5rem;\n color: var(--gray-100, #45484d);\n font-weight: 400;\n}\n\ninput::placeholder,\nselect::placeholder,\ntextarea::placeholder {\n color: var(--gray-60, #afb0b2);\n}\n\ninput:hover,\nselect:hover,\ntextarea:hover {\n border-color: var(--gray-50, #c8c9cc);\n background-color: var(--white, #fff);\n}\n\ninput:focus,\nselect:focus,\ntextarea:focus {\n outline: none;\n box-shadow: 0 0 0 0.25rem var(--primary-40, #79adfc);\n border-color: var(--primary-60, #4456f6);\n background-color: var(--white, #fff);\n}\n\ninput:active,\nselect:active,\ntextarea:active {\n border-color: var(--primary-50, #5185ff);\n}\n\ninput:disabled,\nselect:disabled,\ntextarea:disabled {\n cursor: not-allowed;\n background-color: var(--gray-10, #f7f8fa);\n}\n\ninput[type='checkbox'] {\n appearance: none;\n position: relative;\n height: 1rem;\n width: 1rem;\n padding: 0.25rem;\n border-radius: var(--radius-sm);\n border: 1px solid #d1d5db;\n background-color: #ffffff;\n cursor: pointer;\n}\n\ninput[type='checkbox']:checked,\ninput[type='checkbox'].indeterminate {\n background-color: var(--primary-60, #4456f6);\n border: none;\n}\n\ninput[type='checkbox']:checked::after {\n content: '';\n position: absolute;\n top: 45%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(-45deg) scale(-1, 1);\n width: 0.5rem;\n height: 0.25rem;\n border-bottom: 0.125rem solid white;\n border-right: 0.125rem solid white;\n}\n\ninput[type='checkbox'].indeterminate::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0.5rem;\n height: 0.125rem;\n background-color: white;\n}\n\ninput[type='checkbox']:checked:hover,\ninput[type='checkbox'].indeterminate:hover {\n background-color: var(--primary-70, #2134dc);\n border: none;\n}\n\ninput[type='checkbox']:hover {\n border: 1px solid #9ca3af;\n}\n\ninput[type='checkbox']:focus,\ninput[type='checkbox']:active {\n outline: none;\n box-shadow: 0 0 0 0.25rem var(--primary-20, #c7ddff);\n background-color: #f0f4f8;\n}\n\ninput[type='checkbox']:disabled {\n background-color: #f3f4f6;\n outline: none;\n cursor: not-allowed;\n}\n\ninput[type='checkbox']:disabled:checked {\n background-color: #e5e7eb;\n border: none;\n outline: none;\n cursor: not-allowed;\n}\n\n.checkbox-container {\n display: flex;\n gap: 0.5rem;\n width: 100%;\n}\n\n.checkbox-label {\n color: var(--gray-100, #45484d);\n font-size: 1rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem;\n}\n\n.form-label {\n color: var(--gray-100, #45484d);\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.5rem;\n}\n\n.form-field {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n width: 100%;\n}\n\n.loading-box {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100vh;\n color: var(--primary-60, #0c7cba);\n}\n\nbutton {\n border: 0;\n appearance: button;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--radius-lg);\n background-color: var(--primary-60, #4456f6);\n color: white;\n text-transform: capitalize;\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\nbutton.tertiaryGrey {\n border: 1px solid var(--gray-40, #d8d9dc);\n background-color: white;\n color: var(--gray-80, #787a80);\n}\n\nbutton.tertiaryGrey:hover {\n border: 1px solid var(--gray-50, #c8c9cc);\n background: var(--gray-10, #f7f8fa);\n}\n\n.button-group {\n display: flex;\n border-radius: 0.5rem;\n border: 1px solid var(--gray-30, #e0e2e5);\n background: var(--white, #ffffff);\n overflow: clip;\n}\n\n.button-group button {\n display: flex;\n background: transparent;\n border-radius: unset;\n padding: 0.25rem 0.75rem;\n min-width: 2.156rem;\n min-height: unset;\n color: var(--gray-80, #6c6e73);\n}\n\n.button-group button:hover {\n background: var(--gray-10, #f7f8fa);\n}\n\n.button-group > :first-child {\n border-radius: 0.5rem 0 0 0.5rem;\n}\n\n.button-group > :last-child {\n border-radius: 0 0.5rem 0.5rem 0;\n}\n\n.button-group > :not(:first-child) {\n border-left: 1px solid var(--gray-30, #e0e2e5);\n}\n\n","import { Component, Host, Prop, h, Event, EventEmitter, Element } from '@stencil/core';\nimport { LSApiElement, LSApiTemplate, LsDocumentViewer, LSMutateEvent } from '../../components';\n\n@Component({\n tag: 'ls-toolbar',\n styleUrl: 'ls-toolbar.css',\n shadow: true,\n})\nexport class LsToolbar {\n @Element() component: HTMLElement;\n\n /**\n * The selected items information (as JSON).\n * {LSApiElement[]}\n */\n @Prop({\n mutable: true,\n })\n dataItem: LSApiElement[];\n\n\n /**\n * The group and experience information.\n * {object}\n */\n @Prop() groupInfo: object;\n\n /**\n * The base template information (as JSON).\n * {LSApiTemplate}\n */\n @Prop() template: LSApiTemplate;\n\n /**\n * The main editor.\n * {LSDocumentViewer}\n */\n @Prop({\n mutable: true,\n }) editor: LsDocumentViewer;\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n mutate: EventEmitter<LSMutateEvent[]>;\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n update: EventEmitter<LSMutateEvent[]>;\n\n // @Element() component: HTMLElement;\n\n // Send one or more mutations up the chain\n // The source of the chain fires the mutation\n alter(diff: object) {\n\n const diffs: LSMutateEvent[] = this.dataItem.map(c => {\n return { action: 'update', data: { ...c, ...diff } as LSApiElement };\n });\n\n this.dataItem = diffs.map(d => d.data as LSApiElement);\n this.mutate.emit(diffs);\n this.update.emit(diffs);\n }\n\n render() {\n return (\n <Host>\n { (this.dataItem && this.dataItem.length > 1) ? (\n <div class={'rowbox'}>\n <ls-field-format dataItem={this?.dataItem} />\n </div>\n ) : (\n <div class={'rowbox'}>\n <ls-field-format dataItem={this?.dataItem} style={{ visibility: this.dataItem && this.dataItem.length === 1 ? 'visible' : 'hidden' }} />\n <ls-participant-select id=\"ls-participant-select\" roles={this.template?.roles} style={{ display: this.dataItem && this.dataItem.length === 1 ? 'none' : 'block' }} />\n </div>\n )}\n <ls-tooltip id=\"ls-tooltip-master\" />\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-BnGihP6t.js';
|
|
2
2
|
import { a as attachAllTooltips } from './p-Cb8nDMs-.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-95nSEls8.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-CwVY532N.js';
|
|
5
5
|
|
|
6
6
|
const lsFeatureColumnCss = ":host{display:flex;flex-direction:column;gap:0.5rem}.activeIcon,.defaultIcon{padding:0.75rem;border-radius:0.75rem;color:var(--gray-80, #787A80)}.defaultIcon:hover{background-color:var(--primary-10, #EFF4FF);color:var(--primary-100, #0C1457);cursor:pointer}.activeIcon{background-color:var(--primary-60, #4456F6);color:var(--white, #fff)}.hidden{display:none}";
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ const LsFeatureColoumn = /*@__PURE__*/ proxyCustomElement(class LsFeatureColoumn
|
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.__attachShadow();
|
|
13
|
-
this.manage = createEvent(this, "manage");
|
|
13
|
+
this.manage = createEvent(this, "manage", 7);
|
|
14
14
|
}
|
|
15
15
|
get component() { return this; }
|
|
16
16
|
/**
|
|
@@ -29,22 +29,22 @@ const LsFeatureColoumn = /*@__PURE__*/ proxyCustomElement(class LsFeatureColoumn
|
|
|
29
29
|
attachAllTooltips(this.component.shadowRoot);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '17fde441c344fb5fe9f147f570bdf656fc1a249d' }, h("div", { key: '1fc695cd618684eb128ad6bd1e1e3445f5209403', class: this.mode !== "editor" ? 'hidden' : this.manager === 'document' ? 'activeIcon' : 'defaultIcon', onClick: () => {
|
|
33
33
|
this.manage.emit('document');
|
|
34
34
|
this.manager = 'document';
|
|
35
|
-
}, "data-tooltip-title": "Template Details", "data-tooltip": "View and edit Template properties", "data-tooltip-placement": "right" }, h("ls-icon", { key: '
|
|
35
|
+
}, "data-tooltip-title": "Template Details", "data-tooltip": "View and edit Template properties", "data-tooltip-placement": "right" }, h("ls-icon", { key: '07b3066d434e909713449062ab152842fdcbf8f3', name: "document", size: "1.5rem" })), h("div", { key: '5406ccbb29eb6da9c9ca1518692d861774eb797f', class: this.manager === 'toolbox' ? 'activeIcon' : 'defaultIcon', onClick: () => {
|
|
36
36
|
this.manage.emit('toolbox');
|
|
37
37
|
this.manager = 'toolbox';
|
|
38
|
-
}, "data-tooltip-title": "Field Types", "data-tooltip": "Select and place Form Field Elements", "data-tooltip-placement": "right" }, h("ls-icon", { key: '
|
|
38
|
+
}, "data-tooltip-title": "Field Types", "data-tooltip": "Select and place Form Field Elements", "data-tooltip-placement": "right" }, h("ls-icon", { key: 'b6a2b7bca1260f42aeab773cd364b63231a05a7f', name: "typing-input", size: "1.5rem" })), h("div", { key: '4f23c06b497942bffd2ad943bf59f135e8575397', class: this.mode !== "editor" ? 'hidden' : this.manager === 'participant' ? 'activeIcon' : 'defaultIcon', onClick: () => {
|
|
39
39
|
this.manage.emit('participant');
|
|
40
40
|
this.manager = 'participant';
|
|
41
|
-
}, "data-tooltip-title": "Participants", "data-tooltip": "Manage Signers, Witnesses and Approvers", "data-tooltip-placement": "right" }, h("ls-icon", { key: '
|
|
41
|
+
}, "data-tooltip-title": "Participants", "data-tooltip": "Manage Signers, Witnesses and Approvers", "data-tooltip-placement": "right" }, h("ls-icon", { key: '07b6f9f1cc11ede4d05c21593296421399cd58be', name: "user-group", size: "1.5rem" })), h("div", { key: '1f916a0c4821825557c0cc2569318445d89bc9ee', class: this.mode !== "compose" ? 'hidden' : this.manager === 'recipient' ? 'activeIcon' : 'defaultIcon', onClick: () => {
|
|
42
42
|
this.manage.emit('recipient');
|
|
43
43
|
this.manager = 'recipient';
|
|
44
|
-
}, "data-tooltip-title": "Recipients", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: '
|
|
44
|
+
}, "data-tooltip-title": "Recipients", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: '52c8442130d4af3837989b83ec309ddaebb7ba8e', name: "user-group", size: "1.5rem" })), h("div", { key: 'c1b0abfae52baecec9515a040010fd7aa405ff51', class: this.mode !== "preview" ? 'hidden' : this.manager === 'validation' ? 'activeIcon' : 'defaultIcon', onClick: () => {
|
|
45
45
|
this.manage.emit('validation');
|
|
46
46
|
this.manager = 'validation';
|
|
47
|
-
}, "data-tooltip-title": "Validation", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: '
|
|
47
|
+
}, "data-tooltip-title": "Validation", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: 'ccc4c347af1232c5c7539fb4f1e414e1492a50dc', name: "adjustments", size: "1.5rem" })), h("slot", { key: '8d6803ab3eb7aaddb47d6728013ad39d90fc4bfa' }), h("ls-tooltip", { key: 'b47081c7ec71610af9d617b88f7fd9282d0c17aa', id: "ls-tooltip-master" })));
|
|
48
48
|
}
|
|
49
49
|
static get style() { return lsFeatureColumnCss; }
|
|
50
50
|
}, [257, "ls-feature-column", {
|
|
@@ -77,6 +77,6 @@ function defineCustomElement() {
|
|
|
77
77
|
defineCustomElement();
|
|
78
78
|
|
|
79
79
|
export { LsFeatureColoumn as L, defineCustomElement as d };
|
|
80
|
-
//# sourceMappingURL=p-
|
|
80
|
+
//# sourceMappingURL=p-C0vy7fEN.js.map
|
|
81
81
|
|
|
82
|
-
//# sourceMappingURL=p-
|
|
82
|
+
//# sourceMappingURL=p-C0vy7fEN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-C0vy7fEN.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,yWAAyW;;MCQvX,gBAAgB,iBAAAA,kBAAA,CAAA,MAAA,gBAAA,SAAAC,CAAA,CAAA;;;;;;;;AAE3B;;;AAGG;IACsB,OAAO,GAAuE,SAAS;AAGhH;;;AAGG;IACK,IAAI,GAAqC,QAAQ;;AAGhD,IAAA,MAAM;IAEf,gBAAgB,GAAA;AACd,QAAA,iBAAiB,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;;IAG9C,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,OAAO,KAAK,UAAU,GAAG,YAAY,GAAG,aAAa,EACrG,OAAO,EAAE,MAAK;AACZ,gBAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;AAC5B,gBAAA,IAAI,CAAC,OAAO,GAAG,UAAU;AAC3B,aAAC,EACkB,oBAAA,EAAA,kBAAkB,EACxB,cAAA,EAAA,mCAAmC,4BACzB,OAAO,EAAA,EAE9B,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,QAAQ,GAAG,CACrC,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS,GAAG,YAAY,GAAG,aAAa,EAChE,OAAO,EAAE,MAAK;AACZ,gBAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;AAC3B,gBAAA,IAAI,CAAC,OAAO,GAAG,SAAS;AAC1B,aAAC,EACkB,oBAAA,EAAA,aAAa,EACnB,cAAA,EAAA,sCAAsC,4BAC5B,OAAO,EAAA,EAE9B,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,cAAc,EAAC,IAAI,EAAC,QAAQ,GAAG,CACzC,EAEN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,OAAO,KAAK,aAAa,GAAG,YAAY,GAAG,aAAa,EACxG,OAAO,EAAE,MAAK;AACZ,gBAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;AAC/B,gBAAA,IAAI,CAAC,OAAO,GAAG,aAAa;AAC9B,aAAC,EACkB,oBAAA,EAAA,cAAc,EACpB,cAAA,EAAA,yCAAyC,4BAC/B,OAAO,EAAA,EAE9B,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,GAAG,CACvC,EAEN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC,OAAO,KAAK,WAAW,GAAG,YAAY,GAAG,aAAa,EACvG,OAAO,EAAE,MAAK;AACZ,gBAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC;AAC7B,gBAAA,IAAI,CAAC,OAAO,GAAG,WAAW;AAC5B,aAAC,EACkB,oBAAA,EAAA,YAAY,EAClB,cAAA,EAAA,+CAA+C,4BACrC,OAAO,EAAA,EAE9B,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,GAAG,CACvC,EAEN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC,OAAO,KAAK,YAAY,GAAG,YAAY,GAAG,aAAa,EACxG,OAAO,EAAE,MAAK;AACZ,gBAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;AAC9B,gBAAA,IAAI,CAAC,OAAO,GAAG,YAAY;AAC7B,aAAC,EACkB,oBAAA,EAAA,YAAY,EAClB,cAAA,EAAA,+CAA+C,4BACrC,OAAO,EAAA,EAE9B,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,aAAa,EAAC,IAAI,EAAC,QAAQ,GAAG,CACxC,EAEN,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EACb,CAAA,CAAA,YAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAY,EAAE,EAAC,mBAAmB,EAAG,CAAA,CAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-feature-column/ls-feature-column.css?tag=ls-feature-column&encapsulation=shadow","src/components/ls-feature-column/ls-feature-column.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n\n}\n\n.activeIcon, .defaultIcon {\n padding: 0.75rem;\n border-radius: 0.75rem;\n color: var(--gray-80, #787A80);\n}\n\n.defaultIcon:hover {\n background-color: var(--primary-10, #EFF4FF);\n color: var(--primary-100, #0C1457);\n cursor: pointer;\n}\n\n.activeIcon {\n background-color: var(--primary-60, #4456F6);\n color: var(--white, #fff);\n}\n\n.hidden {\n display: none;\n}","import { Component, Host, Prop, h, EventEmitter, Event, Element } from '@stencil/core';\nimport { attachAllTooltips } from '../../utils/tooltip';\n\n@Component({\n tag: 'ls-feature-column',\n styleUrl: 'ls-feature-column.css',\n shadow: true,\n})\nexport class LsFeatureColoumn {\n @Element() component: HTMLElement;\n /**\n * Determines / sets which of the far left 'managers' is active.\n * {'document' | 'toolbox' | 'participant' }\n */\n @Prop({ mutable: true }) manager: 'document' | 'toolbox' | 'participant'| 'recipient' | 'validation' = 'toolbox';\n\n\n /**\n * The mode that document viewer is being used in.\n * {'preview' | 'editor' | 'custom'}\n */\n @Prop() mode: 'preview' | 'editor' | 'compose' = 'editor';\n\n // Send an manager change up the DOM\n @Event() manage: EventEmitter<'document' | 'toolbox' | 'participant' | 'recipient' | 'validation'>;\n\n componentDidLoad() {\n attachAllTooltips(this.component.shadowRoot);\n }\n\n render() {\n return (\n <Host>\n <div\n class={this.mode !== \"editor\" ? 'hidden' : this.manager === 'document' ? 'activeIcon' : 'defaultIcon'}\n onClick={() => {\n this.manage.emit('document');\n this.manager = 'document';\n }}\n data-tooltip-title=\"Template Details\"\n data-tooltip=\"View and edit Template properties\"\n data-tooltip-placement=\"right\"\n >\n <ls-icon name=\"document\" size=\"1.5rem\" />\n </div>\n <div\n class={this.manager === 'toolbox' ? 'activeIcon' : 'defaultIcon'}\n onClick={() => {\n this.manage.emit('toolbox');\n this.manager = 'toolbox';\n }}\n data-tooltip-title=\"Field Types\"\n data-tooltip=\"Select and place Form Field Elements\"\n data-tooltip-placement=\"right\"\n >\n <ls-icon name=\"typing-input\" size=\"1.5rem\" />\n </div>\n \n <div\n class={this.mode !== \"editor\" ? 'hidden' : this.manager === 'participant' ? 'activeIcon' : 'defaultIcon'}\n onClick={() => {\n this.manage.emit('participant');\n this.manager = 'participant';\n }}\n data-tooltip-title=\"Participants\"\n data-tooltip=\"Manage Signers, Witnesses and Approvers\"\n data-tooltip-placement=\"right\"\n >\n <ls-icon name=\"user-group\" size=\"1.5rem\" />\n </div>\n\n <div\n class={this.mode !== \"compose\" ? 'hidden' : this.manager === 'recipient' ? 'activeIcon' : 'defaultIcon'}\n onClick={() => {\n this.manage.emit('recipient');\n this.manager = 'recipient';\n }}\n data-tooltip-title=\"Recipients\"\n data-tooltip=\"View the list of Recipients for this document\"\n data-tooltip-placement=\"right\"\n >\n <ls-icon name=\"user-group\" size=\"1.5rem\" />\n </div>\n\n <div\n class={this.mode !== \"preview\" ? 'hidden' : this.manager === 'validation' ? 'activeIcon' : 'defaultIcon'}\n onClick={() => {\n this.manage.emit('validation');\n this.manager = 'validation';\n }}\n data-tooltip-title=\"Validation\"\n data-tooltip=\"View the list of Recipients for this document\"\n data-tooltip-placement=\"right\"\n >\n <ls-icon name=\"adjustments\" size=\"1.5rem\" />\n </div>\n\n <slot></slot>\n <ls-tooltip id=\"ls-tooltip-master\" />\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, c as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-BnGihP6t.js';
|
|
2
2
|
|
|
3
3
|
const lsPropsSectionCss = "*{margin:0;box-sizing:border-box}.ls-field-properties-section{display:flex;position:relative;flex-direction:column;gap:0.5rem}.row{flex-direction:row;align-items:center;justify-content:space-between}.ls-field-properties-section-text{display:flex;flex-direction:column;gap:0.25rem;padding:0.25rem}.ls-field-properties-section-title{color:var(--gray-90, #5e6066);font-size:1rem;font-style:normal;font-weight:500;line-height:1.25rem;}.ls-field-properties-section-description{overflow:hidden;color:var(--gray-80, #6c6e73);text-overflow:ellipsis;font-size:0.75rem;font-style:normal;font-weight:400;line-height:0.75rem;}";
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ const LsPropsSection = /*@__PURE__*/ proxyCustomElement(class LsPropsSection ext
|
|
|
12
12
|
sectionDescription;
|
|
13
13
|
row = false;
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '4b24bc2ccb0ee11c0d9cc1770ec0d1b239b924d5' }, h("div", { key: 'a92e48cf867e686ac84c3f3ce3945d3fc4d73811', class: this.row ? 'ls-field-properties-section row' : 'ls-field-properties-section' }, h("div", { key: '811c27c607c3611cc958a66fef19ae0fb124d6fd', class: 'ls-field-properties-section-text' }, h("p", { key: 'f4ccf988b97952f0d02cae2810dc134555807a5b', class: 'ls-field-properties-section-title' }, this.sectionTitle), this.sectionDescription && h("p", { key: 'a85216a0721e875f765ac82b46961ffe22788eb0', class: 'ls-field-properties-section-description' }, this.sectionDescription)), h("slot", { key: 'e22f8f4565c5190273f079f88f3f9b3c7826c912' }))));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return lsPropsSectionCss; }
|
|
18
18
|
}, [257, "ls-props-section", {
|
|
@@ -36,6 +36,6 @@ function defineCustomElement() {
|
|
|
36
36
|
defineCustomElement();
|
|
37
37
|
|
|
38
38
|
export { LsPropsSection as L, defineCustomElement as d };
|
|
39
|
-
//# sourceMappingURL=p-
|
|
39
|
+
//# sourceMappingURL=p-C3Qs4SL0.js.map
|
|
40
40
|
|
|
41
|
-
//# sourceMappingURL=p-
|
|
41
|
+
//# sourceMappingURL=p-C3Qs4SL0.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-C3Qs4SL0.js","mappings":";;AAAA,MAAM,iBAAiB,GAAG,wmBAAwmB;;MCOrnB,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;;;;;;AACjB,IAAA,YAAY;AACZ,IAAA,kBAAkB;IAClB,GAAG,GAAa,KAAK;IAE7B,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,IAAI,CAAC,GAAG,GAAG,iCAAiC,GAAG,6BAA6B,EAAA,EACtF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,kCAAkC,EAAA,EAC5C,CAAA,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAG,KAAK,EAAE,mCAAmC,IAAG,IAAI,CAAC,YAAY,CAAK,EACrE,IAAI,CAAC,kBAAkB,IAAI,CAAA,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAG,KAAK,EAAE,yCAAyC,EAAA,EAAG,IAAI,CAAC,kBAAkB,CAAK,CAC1G,EACN,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-props-section/ls-props-section.css?tag=ls-props-section&encapsulation=shadow","src/components/ls-props-section/ls-props-section.tsx"],"sourcesContent":["* {\n margin: 0;\n box-sizing: border-box;\n}\n\n.ls-field-properties-section {\n display: flex;\n position: relative;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.row {\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n}\n\n.ls-field-properties-section-text {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n padding: 0.25rem;\n}\n\n.ls-field-properties-section-title {\n color: var(--gray-90, #5e6066);\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.25rem; /* 142.857% */\n}\n\n.ls-field-properties-section-description {\n overflow: hidden;\n color: var(--gray-80, #6c6e73);\n text-overflow: ellipsis;\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 0.75rem; /* 120% */\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'ls-props-section',\n styleUrl: 'ls-props-section.css',\n shadow: true,\n})\nexport class LsPropsSection {\n @Prop() sectionTitle: string;\n @Prop() sectionDescription?: string;\n @Prop() row?: boolean = false;\n\n render() {\n return (\n <Host>\n <div class={this.row ? 'ls-field-properties-section row' : 'ls-field-properties-section'}>\n <div class={'ls-field-properties-section-text'}>\n <p class={'ls-field-properties-section-title'}>{this.sectionTitle}</p>\n {this.sectionDescription && <p class={'ls-field-properties-section-description'}>{this.sectionDescription}</p>}\n </div>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, c as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-BnGihP6t.js';
|
|
2
2
|
|
|
3
3
|
const lsEditorTableCss = ":host{display:block;z-index:100;position:absolute;top:0px;left:0px}table{background-color:azure;border:1px solid black}td{border:1px solid black}";
|
|
4
4
|
|
|
@@ -31,7 +31,7 @@ const LsEditorTable = /*@__PURE__*/ proxyCustomElement(class LsEditorTable exten
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '55c508ab25969ad8649fb15ef7a0e20d3e212bde' }, h("table", { key: '8b9154ecc83d4a09b67a83441c6e73692380c72a', id: "ls-editor-table" }), h("slot", { key: 'f3eea5f381266897fcf5df9d08959076b5ba4385' })));
|
|
35
35
|
}
|
|
36
36
|
static get style() { return lsEditorTableCss; }
|
|
37
37
|
}, [257, "ls-editor-table", {
|
|
@@ -53,6 +53,6 @@ function defineCustomElement() {
|
|
|
53
53
|
defineCustomElement();
|
|
54
54
|
|
|
55
55
|
export { LsEditorTable as L, defineCustomElement as d };
|
|
56
|
-
//# sourceMappingURL=p-
|
|
56
|
+
//# sourceMappingURL=p-CB2IouRT.js.map
|
|
57
57
|
|
|
58
|
-
//# sourceMappingURL=p-
|
|
58
|
+
//# sourceMappingURL=p-CB2IouRT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CB2IouRT.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,mJAAmJ;;MCQ/J,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;;;;;;;AAExB;;;AAGA;AACQ,IAAA,MAAM;IAEd,gBAAgB,GAAA;AACd,QAAA,IAAI,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,iBAAiB,CAAsB;QAChG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,IAAG;YAE5F,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC;YAC5C,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC;YAC/C,UAAU,CAAC,SAAS,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE;AACrC,YAAA,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC;YAE/B,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC;YAClD,aAAa,CAAC,SAAS,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK;AAC3C,YAAA,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC;YAElC,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC;YAClD,aAAa,CAAC,SAAS,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK;AAC3C,YAAA,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC;AAElC,YAAA,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC;AAChC,SAAC,CAAC;;IAGJ,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAO,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAE,EAAC,iBAAiB,EACnB,CAAA,EACR,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-editor-table/ls-editor-table.css?tag=ls-editor-table&encapsulation=shadow","src/components/ls-editor-table/ls-editor-table.tsx"],"sourcesContent":[":host {\n display: block;\n z-index: 100;\n position: absolute;\n top: 0px;\n left: 0px;\n}\n\ntable {\n background-color: azure;\n border: 1px solid black\n}\n\ntd {\n border: 1px solid black\n}\n","import { Component, Host, Prop, h, Element } from '@stencil/core';\nimport { LsDocumentViewer } from '../ls-document-viewer/ls-document-viewer';\n\n@Component({\n tag: 'ls-editor-table',\n styleUrl: 'ls-editor-table.css',\n shadow: true,\n})\nexport class LsEditorTable {\n @Element() component: HTMLElement;\n /**\n* The parent editor control.\n* {LsDocumentViewer}\n*/\n @Prop() editor: LsDocumentViewer;\n\n componentDidLoad() {\n var dataTable = this.component.shadowRoot.getElementById('ls-editor-table') as HTMLCanvasElement;\n Array.from(this.editor.component.shadowRoot.querySelectorAll('ls-editor-field')).forEach(fx => {\n\n const rowNode = document.createElement('tr');\n const idCellNode = document.createElement('td');\n idCellNode.innerText = fx.dataItem.id\n rowNode.appendChild(idCellNode);\n\n const valueCellNode = document.createElement('td');\n valueCellNode.innerText = fx.dataItem.value\n rowNode.appendChild(valueCellNode);\n\n const labelCellNode = document.createElement('td');\n labelCellNode.innerText = fx.dataItem.label\n rowNode.appendChild(labelCellNode);\n\n dataTable.appendChild(rowNode)\n })\n }\n\n render() {\n return (\n <Host>\n <table id=\"ls-editor-table\">\n </table>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-BnGihP6t.js';
|
|
2
2
|
import { d as defaultRolePalette } from './p-CwCWCxsI.js';
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-95nSEls8.js';
|
|
4
4
|
|
|
5
5
|
const findIn = (fields, selector, restyle = false, additive = false) => {
|
|
6
6
|
const selected = new Array();
|
|
@@ -22,9 +22,11 @@ const findIn = (fields, selector, restyle = false, additive = false) => {
|
|
|
22
22
|
function addField(frame, data) {
|
|
23
23
|
const fields = this._template.elementConnection.templateElements;
|
|
24
24
|
this._template = { ...this._template, elementConnection: { ...this._template.elementConnection, templateElements: [...fields, data] } };
|
|
25
|
+
const assignee = this._template.roles.find(r => r.signerIndex === data.signer);
|
|
25
26
|
const node = document.createElement('ls-editor-field');
|
|
26
27
|
node.setAttribute('type', data.formElementType);
|
|
27
28
|
node.setAttribute('id', 'ls-field-' + data.id);
|
|
29
|
+
node.setAttribute('assignee', assignee?.name || `Participant ${data.signer}`);
|
|
28
30
|
// node.setAttribute('selected', 'selected');
|
|
29
31
|
node.style.zIndex = '100';
|
|
30
32
|
node.style.position = 'absolute';
|
|
@@ -422,17 +424,18 @@ function getInputType(validation) {
|
|
|
422
424
|
return inputType === null ? validationTypes[0] : inputType;
|
|
423
425
|
}
|
|
424
426
|
|
|
425
|
-
const lsEditorFieldCss = ":host{display:block;position:absolute;margin:0px;padding:0px 0px 0px 0px;isolation:isolate}.ls-editor-field-editable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;margin:0;padding:0px 0px 0px 0px;min-width:2em;height:100%;width:100%}.ls-editor-field
|
|
427
|
+
const lsEditorFieldCss = ":host{display:block;position:absolute;margin:0px;padding:0px 0px 0px 0px;isolation:isolate}.ls-editor-field-editable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;margin:0;padding:0px 0px 0px 0px;min-width:2em;height:100%;width:100%}.ls-editor-field-editable:focus{outline:none}.ls-editor-field-draggable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;min-width:2px;height:98%;width:98%}.hidden-field{display:none}input{all:unset}.draggable-input{font-family:inherit;font-size:inherit;position:relative;height:95%;width:95%}.editing-input{caret-color:rgb(15 23 42);caret-shape:auto;height:100%;width:100%}.required-icon{color:var(--red-60, #f64a44)}.x-button{all:unset;cursor:pointer;transform:translate(55%, -55%);position:absolute;color:white;background:var(--gray-80, #3a3a3a);border-radius:50%;top:0;right:0}.x-button:hover{background:var(--gray-90, #1c1c1c)}";
|
|
426
428
|
|
|
427
429
|
const LsEditorField = /*@__PURE__*/ proxyCustomElement(class LsEditorField extends H {
|
|
428
430
|
constructor() {
|
|
429
431
|
super();
|
|
430
432
|
this.__registerHost();
|
|
431
433
|
this.__attachShadow();
|
|
432
|
-
this.mutate = createEvent(this, "mutate");
|
|
433
|
-
this.update = createEvent(this, "update");
|
|
434
|
+
this.mutate = createEvent(this, "mutate", 6);
|
|
435
|
+
this.update = createEvent(this, "update", 6);
|
|
434
436
|
}
|
|
435
437
|
get component() { return this; }
|
|
438
|
+
assignee;
|
|
436
439
|
dataItem;
|
|
437
440
|
selected = false;
|
|
438
441
|
readonly;
|
|
@@ -443,9 +446,21 @@ const LsEditorField = /*@__PURE__*/ proxyCustomElement(class LsEditorField exten
|
|
|
443
446
|
heldEdge = null;
|
|
444
447
|
isEdgeDragging = false;
|
|
445
448
|
innerValue;
|
|
449
|
+
zoom;
|
|
446
450
|
sizeObserver;
|
|
447
451
|
mutate;
|
|
448
452
|
update;
|
|
453
|
+
/**
|
|
454
|
+
* Controls whether floating elements are visible. Set by mouse enter/leave events.
|
|
455
|
+
*/
|
|
456
|
+
floatingActive = false;
|
|
457
|
+
// Set floatingActive true on mouse enter, false on mouse leave
|
|
458
|
+
handleMouseEnter = () => {
|
|
459
|
+
this.floatingActive = true;
|
|
460
|
+
};
|
|
461
|
+
handleMouseLeave = () => {
|
|
462
|
+
this.floatingActive = false;
|
|
463
|
+
};
|
|
449
464
|
handleInput(e) {
|
|
450
465
|
if (e.code === 'Enter') {
|
|
451
466
|
this.isEditing = false;
|
|
@@ -498,25 +513,23 @@ const LsEditorField = /*@__PURE__*/ proxyCustomElement(class LsEditorField exten
|
|
|
498
513
|
}
|
|
499
514
|
watchSelectedHandler(_newValue, _oldValue) {
|
|
500
515
|
if (_newValue) {
|
|
501
|
-
this.component.style.background = defaultRolePalette[this.dataItem?.signer % 100].s20;
|
|
502
|
-
this.component.style.opacity = '0.7';
|
|
516
|
+
this.component.style.background = this.hexToRgba(defaultRolePalette[this.dataItem?.signer % 100].s20, 0.5);
|
|
503
517
|
this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';
|
|
504
518
|
}
|
|
505
519
|
else {
|
|
506
|
-
this.component.style.background = '
|
|
507
|
-
this.component.style.opacity = '0.7';
|
|
520
|
+
this.component.style.background = 'rgba(255,255,255,0.5)';
|
|
508
521
|
this.component.style.boxShadow = 'none';
|
|
509
522
|
}
|
|
510
523
|
}
|
|
524
|
+
deleteField = () => {
|
|
525
|
+
this.mutate.emit([{ action: 'delete', data: this.dataItem }]);
|
|
526
|
+
this.update.emit([{ action: 'delete', data: this.dataItem }]);
|
|
527
|
+
};
|
|
511
528
|
componentDidLoad() {
|
|
512
529
|
this.sizeObserver = new ResizeObserver(entries => {
|
|
513
530
|
for (const entry of entries) {
|
|
514
531
|
if (entry.contentRect) {
|
|
515
|
-
// const editbox = this.component.shadowRoot.getElementById('editing-input') as HTMLElement;
|
|
516
532
|
const movebox = this.component.shadowRoot.getElementById('field-info');
|
|
517
|
-
// console.log(editbox)
|
|
518
|
-
// editbox.style.height = entry.contentRect.height + "px"
|
|
519
|
-
// editbox.style.width = entry.contentRect.width + "px"
|
|
520
533
|
movebox.style.height = entry.contentRect.height + 'px';
|
|
521
534
|
movebox.style.width = entry.contentRect.width + 'px';
|
|
522
535
|
}
|
|
@@ -525,13 +538,11 @@ const LsEditorField = /*@__PURE__*/ proxyCustomElement(class LsEditorField exten
|
|
|
525
538
|
this.sizeObserver.observe(this.component);
|
|
526
539
|
// New dropped components automatically need selecting.
|
|
527
540
|
if (this.selected) {
|
|
528
|
-
this.component.style.background = defaultRolePalette[this.dataItem?.signer % 100].s20;
|
|
529
|
-
this.component.style.opacity = '0.7';
|
|
541
|
+
this.component.style.background = this.hexToRgba(defaultRolePalette[this.dataItem?.signer % 100].s20, 0.5);
|
|
530
542
|
this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';
|
|
531
543
|
}
|
|
532
544
|
else {
|
|
533
|
-
this.component.style.background = '
|
|
534
|
-
this.component.style.opacity = '0.7';
|
|
545
|
+
this.component.style.background = this.hexToRgba('ffffff', 0.7);
|
|
535
546
|
this.component.style.boxShadow = 'none';
|
|
536
547
|
}
|
|
537
548
|
}
|
|
@@ -552,23 +563,59 @@ const LsEditorField = /*@__PURE__*/ proxyCustomElement(class LsEditorField exten
|
|
|
552
563
|
this.update.emit(diffs);
|
|
553
564
|
}, delay);
|
|
554
565
|
}
|
|
566
|
+
hexToRgba(hex, alpha) {
|
|
567
|
+
hex = hex.replace('#', '');
|
|
568
|
+
const r = parseInt(hex.substring(0, 2), 16);
|
|
569
|
+
const g = parseInt(hex.substring(2, 4), 16);
|
|
570
|
+
const b = parseInt(hex.substring(4, 6), 16);
|
|
571
|
+
return `rgba(${r},${g},${b},${alpha})`;
|
|
572
|
+
}
|
|
555
573
|
render() {
|
|
556
|
-
|
|
574
|
+
const hostStyle = this.floatingActive
|
|
575
|
+
? { border: `2px ${defaultRolePalette[this.dataItem?.signer % 100].s60} solid`, boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)' }
|
|
576
|
+
: { border: `2px ${defaultRolePalette[this.dataItem?.signer % 100].s60} solid` };
|
|
577
|
+
const zoomValue = parseFloat(this.zoom) || 1;
|
|
578
|
+
console.log('Zoom value in field:', zoomValue);
|
|
579
|
+
return (h(Host, { key: 'a4f5875c197571704825a994065e5c11f5138a1e', id: this.dataItem ? 'ls-field-' + this.dataItem.id : undefined, style: hostStyle, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '8385e522e50335d6c5ab517bbf782f964683ca6b', class: {
|
|
557
580
|
'ls-editor-field': true,
|
|
558
581
|
'is-selected': this.selected,
|
|
559
|
-
} }, !this.dataItem?.optional && h("ls-icon", { key: '
|
|
582
|
+
} }, !this.dataItem?.optional && h("ls-icon", { key: '902e5a17e75945c13b06eab2c003488f2e9a90fe', name: "required", size: `${0.75 * zoomValue}rem`, class: "required-icon", customStyle: { position: 'absolute', verticalAlign: 'top', top: `${0.125 * zoomValue}rem`, right: `${0.125 * zoomValue}rem` } }), h("input", { key: 'f4ee949c3c00671241433f80244a502cabf404bf', id: "editing-input", class: this.isEditing ? 'ls-editor-field-editable' : 'hidden-field', type: getInputType(this.dataItem.validation).inputType, value: this.dataItem?.value, checked: this.dataItem?.value ? true : false, onInput: e => this.alter({ value: e.target.value }) }), h("div", { key: '680784b3c815ae5a3a53d291466dd58d3d9045cf', id: "field-info", class: this.isEditing ? 'hidden-field' : 'ls-editor-field-draggable', style: { color: `${defaultRolePalette[this.dataItem?.signer % 100].s100}` } }, (this.dataItem.value.length && this.dataItem.value) || this.dataItem?.formElementType), (this.floatingActive || this.selected) && this.dataItem?.label && (h("div", { key: '1a597889f65850e1b0437f1cc259e3aa965888c0', style: {
|
|
583
|
+
position: 'absolute',
|
|
584
|
+
background: `${defaultRolePalette[this.dataItem?.signer % 100].s20}`,
|
|
585
|
+
color: `${defaultRolePalette[this.dataItem?.signer % 100].s80}`,
|
|
586
|
+
borderRadius: `${0.25 * zoomValue}rem`,
|
|
587
|
+
padding: `${0.125 * zoomValue}rem ${0.25 * zoomValue}rem`,
|
|
588
|
+
top: `-${1.375 * zoomValue}rem`,
|
|
589
|
+
fontWeight: '500',
|
|
590
|
+
left: `-${2 * zoomValue}px`,
|
|
591
|
+
whiteSpace: 'nowrap',
|
|
592
|
+
width: 'fit-content',
|
|
593
|
+
} }, this.dataItem?.label)), (this.floatingActive || this.selected) && (h("p", { key: '3ffbb7becbcb267715b0f1e9ac3dbf10c1be53ef', style: {
|
|
594
|
+
position: 'absolute',
|
|
595
|
+
color: 'var(--gray-80, #3a3a3a)',
|
|
596
|
+
bottom: `-${1.75 * zoomValue}rem`,
|
|
597
|
+
fontSize: `${0.625 * zoomValue}rem`,
|
|
598
|
+
left: '0',
|
|
599
|
+
whiteSpace: 'nowrap',
|
|
600
|
+
width: 'fit-content',
|
|
601
|
+
} }, "Assigned to: ", this.assignee)), this.floatingActive && (h("button", { key: '9e9d0eb0e0f6addcab70db80f94e49fb0cc768e2', class: 'x-button', style: {
|
|
602
|
+
padding: `${0.125 * zoomValue}rem`,
|
|
603
|
+
}, onClick: () => this.deleteField() }, h("ls-icon", { key: '0df2ef57c7cdf417e98810d673d3e8f42df43d3c', name: "x", size: `${0.625 * zoomValue}rem` }))))));
|
|
560
604
|
}
|
|
561
605
|
static get watchers() { return {
|
|
562
606
|
"selected": ["watchSelectedHandler"]
|
|
563
607
|
}; }
|
|
564
608
|
static get style() { return lsEditorFieldCss; }
|
|
565
609
|
}, [257, "ls-editor-field", {
|
|
610
|
+
"assignee": [1],
|
|
566
611
|
"dataItem": [1040, "data-item"],
|
|
567
612
|
"selected": [4],
|
|
568
613
|
"readonly": [4],
|
|
569
614
|
"type": [1],
|
|
570
615
|
"page": [16],
|
|
571
616
|
"fixedAspect": [2, "fixed-aspect"],
|
|
617
|
+
"zoom": [1],
|
|
618
|
+
"floatingActive": [1540, "floating-active"],
|
|
572
619
|
"isEditing": [32],
|
|
573
620
|
"heldEdge": [32],
|
|
574
621
|
"isEdgeDragging": [32],
|
|
@@ -602,6 +649,6 @@ function defineCustomElement() {
|
|
|
602
649
|
defineCustomElement();
|
|
603
650
|
|
|
604
651
|
export { LsEditorField as L, alter as a, findIn as b, moveField as c, defineCustomElement as d, addField as e, findDimensions as f, getApiType as g, getTemplate as h, validationTypes as i, debounce as j, matchData as m, oob as o, recalculateCoordinates as r, updateTemplate as u, validate as v };
|
|
605
|
-
//# sourceMappingURL=p-
|
|
652
|
+
//# sourceMappingURL=p-CB6w78IO.js.map
|
|
606
653
|
|
|
607
|
-
//# sourceMappingURL=p-
|
|
654
|
+
//# sourceMappingURL=p-CB6w78IO.js.map
|