legalesign-document-viewer 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ls-document-options_44.cjs.entry.js +109 -97
- package/dist/cjs/ls-document-options_44.cjs.entry.js.map +1 -1
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +21 -0
- package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/ls-field-properties-dropdown.entry.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +11 -34
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/validator.js +11 -1
- package/dist/collection/components/ls-document-viewer/validator.js.map +1 -1
- package/dist/collection/components/ls-editor-field/ls-editor-field.js +1 -1
- package/dist/collection/components/ls-field-content/ls-field-content.js +3 -3
- package/dist/collection/components/ls-field-content/ls-field-content.js.map +1 -1
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +2 -2
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +3 -3
- package/dist/collection/components/ls-field-footer/ls-field-footer.js +2 -2
- package/dist/collection/components/ls-field-format/ls-field-format.js +10 -10
- package/dist/collection/components/ls-field-placement/ls-field-placement.js +2 -2
- package/dist/collection/components/ls-field-properties/ls-field-properties.js +3 -1
- package/dist/collection/components/ls-field-properties/ls-field-properties.js.map +1 -1
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +2 -2
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js +2 -2
- package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.js +2 -2
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +2 -2
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.css +3 -0
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js +48 -0
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js.map +1 -0
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +2 -2
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +2 -2
- package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +2 -2
- package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js +2 -2
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +3 -3
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +2 -2
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +2 -2
- package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +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-formfield/inputs/ls-number-input/ls-number-input.js +3 -3
- package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +2 -2
- package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +3 -3
- package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +4 -4
- package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +3 -3
- package/dist/collection/components/ls-formfield/ls-formfield.js +5 -5
- package/dist/collection/components/ls-icon/ls-icon.js +2 -2
- package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js +2 -2
- package/dist/collection/components/ls-participant-card/ls-participant-card.js +8 -8
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +2 -2
- package/dist/collection/components/ls-participant-select/ls-participant-select.js +9 -9
- package/dist/collection/components/ls-props-section/ls-props-section.js +1 -1
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -3
- package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +2 -2
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +11 -8
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
- package/dist/collection/types/LSApiElement.js.map +1 -1
- package/dist/collection/types/ValidationError.js.map +1 -1
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +64 -58
- package/dist/components/ls-document-viewer.js.map +1 -1
- package/dist/components/ls-editor-field.js +1 -1
- package/dist/components/ls-feature-column.js +1 -1
- package/dist/components/ls-field-alignment.js +1 -1
- package/dist/components/ls-field-content.js +1 -1
- package/dist/components/ls-field-dimensions.js +1 -1
- package/dist/components/ls-field-distribute.js +1 -1
- package/dist/components/ls-field-footer.js +1 -1
- package/dist/components/ls-field-format.js +1 -1
- package/dist/components/ls-field-placement.js +1 -1
- package/dist/components/ls-field-properties-advanced.js +1 -1
- package/dist/components/ls-field-properties-autosign.js +1 -1
- package/dist/components/ls-field-properties-container.js +1 -1
- package/dist/components/ls-field-properties-date.js +1 -1
- package/dist/components/ls-field-properties-dropdown.d.ts +11 -0
- package/dist/components/ls-field-properties-dropdown.js +106 -0
- package/dist/components/ls-field-properties-dropdown.js.map +1 -0
- 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 +1 -1
- package/dist/components/ls-icon.js +1 -1
- package/dist/components/ls-input-wrapper.js +1 -1
- package/dist/components/ls-number-input.js +1 -1
- package/dist/components/ls-participant-card.js +1 -1
- package/dist/components/ls-participant-manager.js +1 -1
- package/dist/components/ls-participant-select.js +1 -1
- package/dist/components/ls-props-section.js +1 -1
- package/dist/components/ls-radio-input.js +1 -1
- package/dist/components/ls-select-input.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/ls-text-input.js +1 -1
- package/dist/components/ls-textarea-input.js +1 -1
- package/dist/components/ls-toggle.js +1 -1
- package/dist/components/ls-toolbar.js +1 -1
- package/dist/components/ls-toolbox-field.js +1 -1
- package/dist/components/ls-validation-tag.js +1 -1
- package/dist/components/{p-zo6gz9ul.js → p-4bLYtZ7G.js} +5 -5
- package/dist/components/{p-zo6gz9ul.js.map → p-4bLYtZ7G.js.map} +1 -1
- package/dist/components/{p-DOtHArdy.js → p-7D7_-v1B.js} +6 -6
- package/dist/components/{p-DOtHArdy.js.map → p-7D7_-v1B.js.map} +1 -1
- package/dist/components/{p-BtPUPO2J.js → p-8XEFOn-d.js} +7 -7
- package/dist/components/{p-BtPUPO2J.js.map → p-8XEFOn-d.js.map} +1 -1
- package/dist/components/{p-DjsKyp4p.js → p-BBB5iQVY.js} +5 -5
- package/dist/components/{p-DjsKyp4p.js.map → p-BBB5iQVY.js.map} +1 -1
- package/dist/components/{p-BCIqbmi6.js → p-BFCbuKwf.js} +10 -10
- package/dist/components/{p-BCIqbmi6.js.map → p-BFCbuKwf.js.map} +1 -1
- package/dist/components/{p-DVKY3D6E.js → p-BSvTHvWc.js} +4 -4
- package/dist/components/{p-DVKY3D6E.js.map → p-BSvTHvWc.js.map} +1 -1
- package/dist/components/{p-Ok7VDYLo.js → p-BaQg8rJv.js} +4 -4
- package/dist/components/{p-Ok7VDYLo.js.map → p-BaQg8rJv.js.map} +1 -1
- package/dist/components/{p-Bc8sm5o9.js → p-BomVzaQC.js} +3 -3
- package/dist/components/{p-Bc8sm5o9.js.map → p-BomVzaQC.js.map} +1 -1
- package/dist/components/{p-Dy0d6pkB.js → p-BwqaPHwD.js} +14 -14
- package/dist/components/{p-Dy0d6pkB.js.map → p-BwqaPHwD.js.map} +1 -1
- package/dist/components/{p-Bh24LyvQ.js → p-BxgeM9bF.js} +14 -14
- package/dist/components/{p-Bh24LyvQ.js.map → p-BxgeM9bF.js.map} +1 -1
- package/dist/components/{p-CUN3heY_.js → p-C-7v41N0.js} +14 -14
- package/dist/components/{p-CUN3heY_.js.map → p-C-7v41N0.js.map} +1 -1
- package/dist/components/{p-DuYI3VNA.js → p-C4jWZnBE.js} +12 -12
- package/dist/components/{p-DuYI3VNA.js.map → p-C4jWZnBE.js.map} +1 -1
- package/dist/components/{p-BXdEPmXX.js → p-C9FzM0ku.js} +4 -4
- package/dist/components/{p-BXdEPmXX.js.map → p-C9FzM0ku.js.map} +1 -1
- package/dist/components/{p-nCi6kW1D.js → p-CEXPiqRy.js} +14 -14
- package/dist/components/{p-nCi6kW1D.js.map → p-CEXPiqRy.js.map} +1 -1
- package/dist/components/{p-Chl6JoZr.js → p-CT3TUdFN.js} +4 -4
- package/dist/components/{p-Chl6JoZr.js.map → p-CT3TUdFN.js.map} +1 -1
- package/dist/components/{p-B_4LJg0O.js → p-CVslFJf2.js} +4 -4
- package/dist/components/{p-B_4LJg0O.js.map → p-CVslFJf2.js.map} +1 -1
- package/dist/components/{p-BzTEB0yO.js → p-CYO5mT-l.js} +6 -6
- package/dist/components/{p-BzTEB0yO.js.map → p-CYO5mT-l.js.map} +1 -1
- package/dist/components/{p-t1_dezJi.js → p-Cb28A4Tv.js} +6 -6
- package/dist/components/{p-t1_dezJi.js.map → p-Cb28A4Tv.js.map} +1 -1
- package/dist/components/{p-D1ZKjKa8.js → p-CbUu1dP7.js} +14 -14
- package/dist/components/{p-D1ZKjKa8.js.map → p-CbUu1dP7.js.map} +1 -1
- package/dist/components/{p-Da9tAlUo.js → p-ChypMzKQ.js} +6 -6
- package/dist/components/{p-Da9tAlUo.js.map → p-ChypMzKQ.js.map} +1 -1
- package/dist/components/{p-BWbjj1IC.js → p-CjA4yRMZ.js} +4 -4
- package/dist/components/{p-BWbjj1IC.js.map → p-CjA4yRMZ.js.map} +1 -1
- package/dist/components/{p-sYTFqPbX.js → p-Cn8L7L3C.js} +10 -10
- package/dist/components/{p-sYTFqPbX.js.map → p-Cn8L7L3C.js.map} +1 -1
- package/dist/components/{p-CqjTBTff.js → p-Csycl9Pp.js} +4 -4
- package/dist/components/{p-CqjTBTff.js.map → p-Csycl9Pp.js.map} +1 -1
- package/dist/components/{p-BAP14afp.js → p-CxNmQxyp.js} +4 -4
- package/dist/components/{p-BAP14afp.js.map → p-CxNmQxyp.js.map} +1 -1
- package/dist/components/{p-CvS4qw-S.js → p-D-FTpvoJ.js} +14 -14
- package/dist/components/{p-CvS4qw-S.js.map → p-D-FTpvoJ.js.map} +1 -1
- package/dist/components/{p-FQ91-4fu.js → p-D4X6dPGK.js} +3 -3
- package/dist/components/{p-FQ91-4fu.js.map → p-D4X6dPGK.js.map} +1 -1
- package/dist/components/{p-C_tJ2nor.js → p-D6yt0trA.js} +4 -4
- package/dist/components/{p-C_tJ2nor.js.map → p-D6yt0trA.js.map} +1 -1
- package/dist/components/{p-BSTq3ZF2.js → p-DANu5iYx.js} +9 -9
- package/dist/components/p-DANu5iYx.js.map +1 -0
- package/dist/components/{p-DBVsoolq.js → p-DAbMHiaU.js} +4 -4
- package/dist/components/{p-DBVsoolq.js.map → p-DAbMHiaU.js.map} +1 -1
- package/dist/components/{p-CkrtMDnY.js → p-DTaWUste.js} +3 -3
- package/dist/components/{p-CkrtMDnY.js.map → p-DTaWUste.js.map} +1 -1
- package/dist/components/{p-BF3gTKWW.js → p-DVjK7LqZ.js} +3 -3
- package/dist/components/{p-BF3gTKWW.js.map → p-DVjK7LqZ.js.map} +1 -1
- package/dist/components/{p-Ct0ua7Uf.js → p-DX4v2RbN.js} +13 -13
- package/dist/components/{p-Ct0ua7Uf.js.map → p-DX4v2RbN.js.map} +1 -1
- package/dist/components/{p-CZfZG5Sl.js → p-DZb-aBrs.js} +3 -3
- package/dist/components/{p-CZfZG5Sl.js.map → p-DZb-aBrs.js.map} +1 -1
- package/dist/components/{p-C6idRqcS.js → p-DaJchBqo.js} +14 -14
- package/dist/components/{p-C6idRqcS.js.map → p-DaJchBqo.js.map} +1 -1
- package/dist/components/{p-CKBJ_sj3.js → p-DjL6oQ8M.js} +8 -8
- package/dist/components/{p-CKBJ_sj3.js.map → p-DjL6oQ8M.js.map} +1 -1
- package/dist/components/{p-CCuQT_wR.js → p-DpxKWYo0.js} +12 -12
- package/dist/components/{p-CCuQT_wR.js.map → p-DpxKWYo0.js.map} +1 -1
- package/dist/components/{p-CoPYS-c4.js → p-DrAK-Oyx.js} +4 -4
- package/dist/components/{p-CoPYS-c4.js.map → p-DrAK-Oyx.js.map} +1 -1
- package/dist/components/{p-BtdhgOmh.js → p-cAAh5-e-.js} +14 -14
- package/dist/components/{p-BtdhgOmh.js.map → p-cAAh5-e-.js.map} +1 -1
- package/dist/components/{p-BDsgbkBl.js → p-dKDNSmDa.js} +3 -3
- package/dist/components/{p-BDsgbkBl.js.map → p-dKDNSmDa.js.map} +1 -1
- package/dist/components/{p-DxInjzR9.js → p-lURAmQJs.js} +29 -27
- package/dist/components/p-lURAmQJs.js.map +1 -0
- package/dist/components/{p-BT6SOyU5.js → p-pg5hLDlt.js} +14 -14
- package/dist/components/{p-BT6SOyU5.js.map → p-pg5hLDlt.js.map} +1 -1
- package/dist/components/{p-D8LM7Ont.js → p-w1MJLRnN.js} +14 -11
- package/dist/components/p-w1MJLRnN.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-document-options_44.entry.js +109 -97
- package/dist/esm/ls-document-options_44.entry.js.map +1 -1
- package/dist/esm/ls-document-viewer.js +1 -1
- package/dist/esm/ls-field-properties-dropdown.entry.js +19 -0
- package/dist/esm/ls-field-properties-dropdown.entry.js.map +1 -0
- package/dist/ls-document-viewer/clsx-ChV9xqsO.js.map +1 -0
- package/dist/ls-document-viewer/defaultFieldIcons-Cp3IxvzK.js.map +1 -0
- package/dist/ls-document-viewer/defaultPalette-CwCWCxsI.js.map +1 -0
- package/dist/ls-document-viewer/editorUtils-Dh0dNla7.js.map +1 -0
- package/dist/ls-document-viewer/index-Db-CNFwu.js.map +1 -0
- package/dist/ls-document-viewer/index.esm.js.map +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.esm.js.map +1 -1
- package/dist/ls-document-viewer/ls-field-properties-dropdown.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/{p-436f10b8.entry.js → p-9affe1e9.entry.js} +5 -5
- package/dist/ls-document-viewer/p-9affe1e9.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-f8fee9f4.entry.js +2 -0
- package/dist/ls-document-viewer/p-f8fee9f4.entry.js.map +1 -0
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +0 -6
- package/dist/types/components/ls-field-properties-dropdown/ls-field-properties-dropdown.d.ts +5 -0
- package/dist/types/components.d.ts +15 -10
- package/dist/types/types/LSApiElement.d.ts +1 -1
- package/dist/types/types/ValidationError.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/p-BSTq3ZF2.js.map +0 -1
- package/dist/components/p-D8LM7Ont.js.map +0 -1
- package/dist/components/p-DxInjzR9.js.map +0 -1
- package/dist/ls-document-viewer/p-436f10b8.entry.js.map +0 -1
|
@@ -24708,7 +24708,6 @@ const getGroupData = (id) => {
|
|
|
24708
24708
|
*/
|
|
24709
24709
|
function validate(t) {
|
|
24710
24710
|
var errors = [];
|
|
24711
|
-
console.log(t);
|
|
24712
24711
|
// Check for missing signatures
|
|
24713
24712
|
t.roles.forEach(tr => {
|
|
24714
24713
|
if (t.elementConnection.templateElements.filter(e => e.formElementType === 'signature' && e.signer === tr.signerIndex).length === 0) {
|
|
@@ -24720,6 +24719,17 @@ function validate(t) {
|
|
|
24720
24719
|
});
|
|
24721
24720
|
}
|
|
24722
24721
|
});
|
|
24722
|
+
// Check for missing multi-select options
|
|
24723
|
+
t.elementConnection.templateElements.forEach(element => {
|
|
24724
|
+
if (element.validation === 20 && (!element.options || element.options.length === 0)) {
|
|
24725
|
+
errors.push({
|
|
24726
|
+
id: element.id,
|
|
24727
|
+
title: 'Missing options',
|
|
24728
|
+
description: `Drop down field "${element.label}" is missing options.`,
|
|
24729
|
+
element: element
|
|
24730
|
+
});
|
|
24731
|
+
}
|
|
24732
|
+
});
|
|
24723
24733
|
return errors;
|
|
24724
24734
|
}
|
|
24725
24735
|
|
|
@@ -24804,14 +24814,12 @@ const LsDocumentViewer = class {
|
|
|
24804
24814
|
this.showtoolbar = false;
|
|
24805
24815
|
this.showtoolbox = false;
|
|
24806
24816
|
this.showstatusbar = false;
|
|
24807
|
-
this.showrightpanel = false;
|
|
24808
24817
|
this.readonly = true;
|
|
24809
24818
|
}
|
|
24810
24819
|
else if (_newMode === 'editor') {
|
|
24811
24820
|
this.showtoolbar = true;
|
|
24812
24821
|
this.showtoolbox = true;
|
|
24813
24822
|
this.showstatusbar = true;
|
|
24814
|
-
this.showrightpanel = true;
|
|
24815
24823
|
this.readonly = false;
|
|
24816
24824
|
}
|
|
24817
24825
|
}
|
|
@@ -24854,12 +24862,6 @@ const LsDocumentViewer = class {
|
|
|
24854
24862
|
* {boolean}
|
|
24855
24863
|
*/
|
|
24856
24864
|
showpagepreview = false;
|
|
24857
|
-
/**
|
|
24858
|
-
* Whether the right panel (which can be default field properties or custom panel) is
|
|
24859
|
-
* displayed.
|
|
24860
|
-
* {boolean}
|
|
24861
|
-
*/
|
|
24862
|
-
showrightpanel = false;
|
|
24863
24865
|
/**
|
|
24864
24866
|
* Whether or not the fields list is expanded.
|
|
24865
24867
|
* {boolean}
|
|
@@ -24904,6 +24906,7 @@ const LsDocumentViewer = class {
|
|
|
24904
24906
|
updateHandler(event) {
|
|
24905
24907
|
if (event.detail)
|
|
24906
24908
|
event.detail.forEach(fx => this.syncChange(fx));
|
|
24909
|
+
this.validationErrors = validate.bind(this)(this._template);
|
|
24907
24910
|
}
|
|
24908
24911
|
// Updates are internal event between LS controls not to be confused with mutate
|
|
24909
24912
|
addParticpantHandler(event) {
|
|
@@ -24928,14 +24931,17 @@ const LsDocumentViewer = class {
|
|
|
24928
24931
|
}
|
|
24929
24932
|
// Send selection changes to bars and panels if in use.
|
|
24930
24933
|
selectFieldsHandler(event) {
|
|
24931
|
-
|
|
24934
|
+
// update the template with all the latest values in the
|
|
24935
|
+
this._template = {
|
|
24936
|
+
...this._template,
|
|
24937
|
+
elementConnection: { ...this._template.elementConnection, templateElements: Array.from(this.component.shadowRoot.querySelectorAll('ls-editor-field')).map(ef => ef.dataItem) }
|
|
24938
|
+
};
|
|
24932
24939
|
var toolbar = this.component.shadowRoot.getElementById('ls-toolbar');
|
|
24933
24940
|
if (toolbar)
|
|
24934
24941
|
toolbar.dataItem = event.detail;
|
|
24935
24942
|
var propPanel = this.component.shadowRoot.getElementById('my-field-panel');
|
|
24936
24943
|
if (propPanel)
|
|
24937
24944
|
propPanel.dataItem = event.detail;
|
|
24938
|
-
//Revalidate
|
|
24939
24945
|
this.validationErrors = validate.bind(this)(this._template);
|
|
24940
24946
|
}
|
|
24941
24947
|
// Send role selection changes to bars and panels
|
|
@@ -25093,6 +25099,7 @@ const LsDocumentViewer = class {
|
|
|
25093
25099
|
const fu = this.component.shadowRoot.getElementById('ls-field-' + update.data.id);
|
|
25094
25100
|
fu.dataItem = update.data;
|
|
25095
25101
|
// Refresh the selected array
|
|
25102
|
+
this.selectFields.emit(this.selected.map(sf => sf.dataItem));
|
|
25096
25103
|
this.selected = this.selected.map(s => (s.dataItem.id === update.data.id ? fu : s));
|
|
25097
25104
|
}
|
|
25098
25105
|
// Reselect the fields - this updates the dataItem value passed to child controls
|
|
@@ -25102,7 +25109,7 @@ const LsDocumentViewer = class {
|
|
|
25102
25109
|
else if (update.action === 'delete') {
|
|
25103
25110
|
const fi = this.component.shadowRoot.getElementById('ls-field-' + update.data.id);
|
|
25104
25111
|
this.component.shadowRoot.getElementById('ls-document-frame').removeChild(fi);
|
|
25105
|
-
this.
|
|
25112
|
+
this.selectFields.emit([]);
|
|
25106
25113
|
}
|
|
25107
25114
|
else {
|
|
25108
25115
|
console.warn('Unrecognised action, check Legalesign documentation. `create`, `update` and `delete` allowed.');
|
|
@@ -25168,7 +25175,7 @@ const LsDocumentViewer = class {
|
|
|
25168
25175
|
box.scrollLeft = (box.scrollWidth - box.clientWidth) / 2;
|
|
25169
25176
|
}
|
|
25170
25177
|
render() {
|
|
25171
|
-
return (index.h(index.Host, { key: '
|
|
25178
|
+
return (index.h(index.Host, { key: '5db6f0b0cacffac6a67320e3efec53f7b1d7cd10' }, index.h(index.h.Fragment, null, index.h("div", { key: '83c44b41c8f2dc95be881e1037261797738f2d6b', class: 'validation-tag-wrapper' }, index.h("ls-validation-tag", { key: '390c52811c15e010a04b0583ccc14433146fe0c3', validationErrors: this.validationErrors })), index.h("div", { key: '44c190b39ca8be2896a6d33e57ea8f8e671b4e0d', class: "page-header" }, index.h("p", { key: '2e47ff8c2e967c534e2eded870a00b3beb7d20a3', class: "header-text-1" }, "Template Creation"), index.h("p", { key: '0ae211a05e4a7914558d4e9230e46e3fa831f763' }, "/"), index.h("p", { key: '5e475b4c086963f819ce77ab678833a9f7e3ecc2', class: "header-text-2" }, this._template?.title)), index.h("form", { key: '6031ebd35845d41e97741aed4bdc95b27b57f735', id: "ls-editor-form" }, this.showtoolbox === true ? (index.h("div", { class: "leftBox" }, index.h("div", { class: !this.selected || this.selected.length === 0 ? 'left-box-inner' : 'hidden' }, index.h("ls-feature-column", { onManage: manager => {
|
|
25172
25179
|
if (manager.detail === 'document') {
|
|
25173
25180
|
var documentManager = this.component.shadowRoot.getElementById('ls-document-options');
|
|
25174
25181
|
documentManager.template = this._template;
|
|
@@ -25178,10 +25185,10 @@ const LsDocumentViewer = class {
|
|
|
25178
25185
|
participantManager.template = this._template;
|
|
25179
25186
|
}
|
|
25180
25187
|
this.manager = manager.detail;
|
|
25181
|
-
} }), index.h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, index.h("div", { class: "ls-editor-infobox" }, index.h("h2", { class: "toolbox-section-title" }, "Participant Fields"), index.h("p", { class: "toolbox-section-description" }, "Select and Click to place Signature fields where you\u2019d like on the Document.")), index.h("div", { class: "fields-box" }, this.signer > 0 ? (index.h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature", signer: this.signer })) : (index.h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "auto-sign", signer: this.signer })), index.h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text", signer: this.signer }), index.h("div", { class: 'expand-fields-row', onClick: () => (this.expandfields = !this.expandfields) }, index.h("ls-icon", { name: this.expandfields ? 'expand' : 'collapse', size: "20", solid: true }), index.h("p", null, "More Field Types")), this.expandfields && (index.h("div", { class: "fields-box" }, index.h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93, icon: "code", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90, icon: "photograph", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74, icon: "upload", signer: this.signer }))))), index.h("ls-participant-manager", { id: "ls-participant-manager", class: this.manager === 'participant' ? 'toolbox' : 'hidden', editor: this }), index.h("ls-document-options", { id: "ls-document-options", class: this.manager === 'document' ? 'toolbox' : 'hidden' })),
|
|
25188
|
+
} }), index.h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, index.h("div", { class: "ls-editor-infobox" }, index.h("h2", { class: "toolbox-section-title" }, "Participant Fields"), index.h("p", { class: "toolbox-section-description" }, "Select and Click to place Signature fields where you\u2019d like on the Document.")), index.h("div", { class: "fields-box" }, this.signer > 0 ? (index.h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature", signer: this.signer })) : (index.h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "auto-sign", signer: this.signer })), index.h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text", signer: this.signer }), index.h("div", { class: 'expand-fields-row', onClick: () => (this.expandfields = !this.expandfields) }, index.h("ls-icon", { name: this.expandfields ? 'expand' : 'collapse', size: "20", solid: true }), index.h("p", null, "More Field Types")), this.expandfields && (index.h("div", { class: "fields-box" }, index.h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "dropdown", formElementType: "dropdown", label: "Dropdown", defaultHeight: 27, defaultWidth: 80, validation: 20, icon: "hashtag", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93, icon: "code", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90, icon: "photograph", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74, icon: "upload", signer: this.signer }))))), index.h("ls-participant-manager", { id: "ls-participant-manager", class: this.manager === 'participant' ? 'toolbox' : 'hidden', editor: this }), index.h("ls-document-options", { id: "ls-document-options", class: this.manager === 'document' ? 'toolbox' : 'hidden' })), !this.displayTable && (index.h("div", { class: this.selected && this.selected.length > 0 ? 'field-properties-outer' : 'hidden' }, index.h("div", { class: 'properties-header' }, index.h("div", { class: 'properties-header-icon' }, index.h("ls-icon", { name: "pre-filled-content" })), index.h("h1", { class: 'properties-header-title' }, "Field Properties"), index.h("button", { class: 'tertiaryGrey', onClick: e => {
|
|
25182
25189
|
this.selected = [];
|
|
25183
25190
|
e.preventDefault();
|
|
25184
|
-
} }, index.h("ls-icon", { name: "x", size: "20" }))), index.h("ls-field-properties", { id: "my-field-panel" }), index.h("slot", null))))) : (index.h(index.h.Fragment, null)), index.h("ls-toolbar", { key: '
|
|
25191
|
+
} }, index.h("ls-icon", { name: "x", size: "20" }))), index.h("ls-field-properties", { id: "my-field-panel" }), index.h("slot", null))))) : (index.h(index.h.Fragment, null)), index.h("ls-toolbar", { key: '17bdcdfc68bfac89be78cafa3e129d9e7707577d', id: "ls-toolbar", dataItem: this.selected ? this.selected.map(s => s.dataItem) : null, template: this._template, editor: this, groupInfo: this.groupInfo }), index.h("div", { key: '835375af974d129276149cd0436c2d6172c0d98c', id: "ls-mid-area" }, index.h("div", { key: '2603de371e8ebba4b7635e1f3fff70ce4fbbad02', class: 'document-frame-wrapper', id: "document-frame-wrapper" }, index.h("div", { key: '766c7969c30dafe8d501cfec3c87c8fef7600bcf', id: "ls-document-frame" }, index.h("canvas", { key: '4b00fb5f60e545e1a1798a3e8f6e8dda21d6839a', id: "pdf-canvas", class: this.displayTable ? 'hidden' : '' }), index.h("ls-editor-table", { key: '91b5b0ff16e1fc2b3c27fe4d6a0194da0c3dd3ee', editor: this, class: this.displayTable ? '' : 'hidden' }), index.h("div", { key: '59240ef29b8466f732b0d928b4c8a6cf4deb25b4', id: "ls-box-selector" }))), index.h("ls-statusbar", { key: '520c82bb33eb66105891aece1b09f0eb80d0f2b4', editor: this }))))));
|
|
25185
25192
|
}
|
|
25186
25193
|
static get watchers() { return {
|
|
25187
25194
|
"mode": ["modeHandler"],
|
|
@@ -25754,9 +25761,9 @@ const LsFieldContent = class {
|
|
|
25754
25761
|
}, delay);
|
|
25755
25762
|
}
|
|
25756
25763
|
render() {
|
|
25757
|
-
return (index.h(index.Host, { key: 'dda7f87a0d7df59c8cb6a0d5092bafc498c55e04' }, index.h("ls-props-section", { key: '3e319995eef4e6d7f0e9137a534752aaedad125f', sectionTitle: "Field Type", sectionDescription: "The Field you currently have selected" }, index.h("ls-field-type-display", { key: 'fa1cc52746b28743221f8bc1034f81b2da691458', fieldType: this.dataItem?.elementType, assignee: this.dataItem?.signer })), index.h("ls-props-section", { key: '1772bdf3c25d7cbf80276604ec33b0517e5affb2', sectionTitle: "Required Field", row: true }, index.h("ls-toggle", { key: '3d2efbcc2e364780ac78df83bab1b2bf8744462a', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: (ev) => this.alter({ optional: !ev.detail }) })), index.h("ls-props-section", { key: 'dfe582da625828e21281af36afd6e24ea8c86c76', sectionTitle: "Field Label", sectionDescription: "Add a label to clarify the information required from the Recipient." }, index.h("input", { key: 'e920ef8623ef1c6130183c5ab2d459b4c43a4d79', value: this.dataItem?.label, placeholder: "eg. Sign Here", onInput: (e) => this.alter({ label: e.target.value }) })), this.showValidationTypes && (index.h("ls-props-section", { key: '
|
|
25764
|
+
return (index.h(index.Host, { key: 'dda7f87a0d7df59c8cb6a0d5092bafc498c55e04' }, index.h("ls-props-section", { key: '3e319995eef4e6d7f0e9137a534752aaedad125f', sectionTitle: "Field Type", sectionDescription: "The Field you currently have selected" }, index.h("ls-field-type-display", { key: 'fa1cc52746b28743221f8bc1034f81b2da691458', fieldType: this.dataItem?.elementType, assignee: this.dataItem?.signer })), index.h("ls-props-section", { key: '1772bdf3c25d7cbf80276604ec33b0517e5affb2', sectionTitle: "Required Field", row: true }, index.h("ls-toggle", { key: '3d2efbcc2e364780ac78df83bab1b2bf8744462a', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: (ev) => this.alter({ optional: !ev.detail }) })), index.h("ls-props-section", { key: 'dfe582da625828e21281af36afd6e24ea8c86c76', sectionTitle: "Field Label", sectionDescription: "Add a label to clarify the information required from the Recipient." }, index.h("input", { key: 'e920ef8623ef1c6130183c5ab2d459b4c43a4d79', value: this.dataItem?.label, placeholder: "eg. Sign Here", onInput: (e) => this.alter({ label: e.target.value }) })), this.dataItem.validation === 20 && (index.h("ls-props-section", { key: '418bcef3f3a9de23eff0d06d59f1af21a081f2fa', sectionTitle: "Options", sectionDescription: "Define the options available in the dropdown. One option per line." }, index.h("textarea", { key: '1184adfa1196aae25af72dae5470128083144391', value: this.dataItem?.options, placeholder: "Option 1\nOption 2\nOption 3", onInput: (e) => this.alter({ options: e.target.value }) }))), this.showValidationTypes && (index.h("ls-props-section", { key: '42a89dad4eae8eebe6440f05b36d9727e39ca7d6', sectionTitle: "Content Format", sectionDescription: "Select the specific format you want the Recipient to enter." }, index.h("ls-input-wrapper", { key: '36700486819a5178632afd3746f84b4e1e190789', select: true }, index.h("select", { key: '9d55d6d34fbc485afecc16aff4e0dd2b839f4cee', onChange: (ev) => this.alter({ validation: parseInt(ev.target.value) }) }, validationTypes
|
|
25758
25765
|
.filter(type => type.formType === this.dataItem?.elementType)
|
|
25759
|
-
.map(type => (index.h("option", { selected: this.dataItem?.validation === type.id, value: type.id }, type.description))))))), index.h("slot", { key: '
|
|
25766
|
+
.map(type => (index.h("option", { selected: this.dataItem?.validation === type.id, value: type.id }, type.description))))))), index.h("slot", { key: '1cb573328edd690168d072bf7ad602344e9b9280' })));
|
|
25760
25767
|
}
|
|
25761
25768
|
};
|
|
25762
25769
|
LsFieldContent.style = lsFieldContentCss;
|
|
@@ -25798,7 +25805,7 @@ const LsFieldDimensions = class {
|
|
|
25798
25805
|
}
|
|
25799
25806
|
}
|
|
25800
25807
|
render() {
|
|
25801
|
-
return (index.h(index.Host, { key: '
|
|
25808
|
+
return (index.h(index.Host, { key: 'f1c88cfe9c61ff4ddaa248042e13551a1ba8f19e' }, this.isMultiple(this.dataItem) && (index.h("div", { key: '16da3de2730a3ce5c266a56b8155a3b49c9c37ee', class: 'ls-field-properties-section' }, index.h("div", { key: '511afc567befa23d01896adc8a02eb92a87e4f39', class: 'ls-field-properties-section-text' }, index.h("p", { key: '443e5ae80ab9fb455994a31c4ad963d385d71d7b', class: 'ls-field-properties-section-title' }, "Height and Width"), index.h("p", { key: '907f05d597390a9abd794f5472b36a112601235c', class: 'ls-field-properties-section-description' }, "Define the height and width of one or multiple fields")), index.h("div", { key: 'c5670e175b4cefc51f979b81225f8c69accf0e7c', class: 'input-row' }, index.h("div", { key: 'fbd8d98f6ce8dff64a6529b0ccd5dfa3f51ee636', class: 'input-wrapper' }, index.h("ls-icon", { key: 'c3e7bc1afa7519b3126ca797478feab277572a0a', id: "selectLeadingIcon", name: "field-match-width" }), index.h("input", { key: '3d3ac9896d5ef906116d4615e10c29181ab92ac3', class: 'has-leading-icon', aria: "field-width", id: "field-width", onChange: e => this.alter({ width: e.target.value }) })), index.h("div", { key: '9878403ac2ff5dc8f2af2aa0c1e6fd41bcf02e87', class: 'input-wrapper' }, index.h("ls-icon", { key: '4bc9c6042047a5c16e4e854b117b7fb050641cc7', id: "selectLeadingIcon", name: "field-match-height" }), index.h("input", { key: '12f7e336415ca1db90f394bba9b58f18eaac1017', class: 'has-leading-icon', aria: "field-height", id: "field-height", onChange: e => this.alter({ height: e.target.value }) }))))), this.isSingle(this.dataItem) && (index.h("div", { key: '8900ccd66bf481fd10ad49a8956649ae6ecacd65', class: 'field-set' }, index.h("div", { key: 'b78d6363ee16b5ce853d4329684c591756a848be', class: 'ls-field-properties-section' }, index.h("div", { key: '775452534fd5da31c475a956680b470b55ef11a6', class: 'ls-field-properties-section-text' }, index.h("p", { key: '4872be8ed9db40953d5cc04e46415673fd3f4bb9', class: 'ls-field-properties-section-title' }, "Height and Width"), index.h("p", { key: '600bb95e2746548726217edfd41d5b4163e02b61', class: 'ls-field-properties-section-description' }, "Define the height and width of one or multiple fields")), index.h("div", { key: 'f67e91c6628df4eecd53ad1b128fe3198bbaf8d5', class: 'input-row' }, index.h("div", { key: '95195f2820632c63c1ea31de2ff4a6760f6c2b3e', class: 'input-wrapper' }, index.h("ls-icon", { key: '74e881a3d2ce02395216b634d7e5df394173cf81', id: "selectLeadingIcon", name: "field-match-width" }), index.h("input", { key: '364167cbc548dd96b76dcb342de7c9e7ab300f34', type: "number", class: 'has-leading-icon', aria: "field-width", id: "field-width", value: this.dataItem?.width, onChange: e => this.alter({ width: e.target.value }) })), index.h("div", { key: '2b264b2640e7b0b91120270cade3ca93d23b30d7', class: 'input-wrapper' }, index.h("ls-icon", { key: '28117961d0cc1bcfb2b4525d92fbfad17a5ae154', id: "selectLeadingIcon", name: "field-match-height" }), index.h("input", { key: 'bbdd2716d748016f37efaa24c3f3935ca2dea6a5', type: "number", class: 'has-leading-icon', aria: "field-height", id: "field-height", value: this.dataItem?.height, onChange: e => this.alter({ height: e.target.value }) })))), index.h("div", { key: '7f17c5f25f1cd5a51ca5f35cf343b6c659e58951', class: 'ls-field-properties-section' }, index.h("div", { key: 'e1c3ac008dea2b9330c364bf543ae94074d52e8a', class: 'ls-field-properties-section-text' }, index.h("p", { key: 'dca6f70ea27b42e23cd18179e483b250d640982b', class: 'ls-field-properties-section-title' }, "Scale and Resize"), index.h("p", { key: 'f64e05f960722f161b8e7d35774d6fa3e2d485b6', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), index.h("div", { key: '02867f1a603bfda72d466fe9012151d23cb80f2f', class: 'button-group' }, index.h("button", { key: '68e11a5cd45f44255c018b02457ee6a01fb2a477', disabled: true }, index.h("ls-icon", { key: '125c0bb8860bb69b1698ff02bfabeccb816aff8f', name: "field-scale" })), index.h("button", { key: '97792431d09645c4b21af9aee87b232df6ae43c7', disabled: true }, index.h("ls-icon", { key: '91cf707ebfa43eddc54147ea83c3b598344df02c', name: "field-match-width" })), index.h("button", { key: '6de341f0c96cc1a1eb8958ad63728223aea14928', disabled: true }, index.h("ls-icon", { key: '997e382c46034101981d1a37bced9ca46f5d598d', name: "field-match-height" }))))))));
|
|
25802
25809
|
}
|
|
25803
25810
|
};
|
|
25804
25811
|
LsFieldDimensions.style = lsFieldDimensionsCss;
|
|
@@ -25894,11 +25901,11 @@ const LsFieldDistribute = class {
|
|
|
25894
25901
|
this.update.emit(diffs);
|
|
25895
25902
|
}
|
|
25896
25903
|
render() {
|
|
25897
|
-
return (index.h(index.Host, { key: '
|
|
25904
|
+
return (index.h(index.Host, { key: 'e6fa23679e6180e22e1c84610af7746d2ef0f021' }, index.h("div", { key: 'a53280f6ed74d6bbf80218b90026deedfe1cfb06', class: 'ls-field-properties-section' }, index.h("div", { key: '1fbf6a2e1afc3b1303f831f650f3e435042ab042', class: 'ls-field-properties-section-text' }, index.h("p", { key: '713489d8eb96af760fe306321f9b2b3cec8ab672', class: 'ls-field-properties-section-title' }, "Distribution"), index.h("p", { key: '853ec7401a590864de3f44ff74ee4d90381733c9', class: 'ls-field-properties-section-description' }, "Multi-select fields and evenly space them out")), index.h("div", { key: 'badb062f9637961a7afa44657db39f3ad8a6088f', class: 'button-group' }, index.h("button", { key: '8012ea3a46b77be1ad74078ad04150cf23978554', onClick: () => {
|
|
25898
25905
|
this.distributeVertical();
|
|
25899
|
-
}, "aria-label": "Distribute selected fields vertically.", "data-tooltip-id": "le-tooltip", "data-tooltip-content": "Distribute selected fields vertically.", "data-tooltip-place": "top" }, index.h("ls-icon", { key: '
|
|
25906
|
+
}, "aria-label": "Distribute selected fields vertically.", "data-tooltip-id": "le-tooltip", "data-tooltip-content": "Distribute selected fields vertically.", "data-tooltip-place": "top" }, index.h("ls-icon", { key: '519ed59a373c7a8312cad6762e914ffbe6d0a731', name: "field-distribute-vertically" })), index.h("button", { key: 'd084dd0be3c07a1c79393492e39c7ffc75e91839', onClick: () => {
|
|
25900
25907
|
this.distributeHorizontal();
|
|
25901
|
-
}, "aria-label": "Distribute selected fields horizontally.", "data-tooltip-id": "le-tooltip", "data-tooltip-content": "Distribute selected fields horizontally.", "data-tooltip-place": "top" }, index.h("ls-icon", { key: '
|
|
25908
|
+
}, "aria-label": "Distribute selected fields horizontally.", "data-tooltip-id": "le-tooltip", "data-tooltip-content": "Distribute selected fields horizontally.", "data-tooltip-place": "top" }, index.h("ls-icon", { key: 'b6e1134acd4def5653235b0c1e54d16752280dff', name: "field-distribute-horizontally" })))), index.h("div", { key: '25f18905ba0a2ac89d253e338e8aabf8976d919f', class: 'ls-field-properties-section' }, index.h("div", { key: 'c30ec94bcc6e2750ac7a2e22b02b147897e03ace', class: 'ls-field-properties-section-text' }, index.h("p", { key: 'c1a25764ca2ef02d144a8b2f2d423141750284aa', class: 'ls-field-properties-section-title' }, "Gap"), index.h("p", { key: 'e016d0325f6b1519a9e55b8b1c957766f6f31345', class: 'ls-field-properties-section-description' }, "Define the exact gap between multi-select fields.")), index.h("div", { key: '6c9f27c155cb9b900f4f8502099b36b892bc27e3', class: 'input-row' }, index.h("div", { key: '475b34a1d4f0501bbc04d3e98970b73cb1ed3993', class: 'input-wrapper' }, index.h("ls-icon", { key: '0d7dd0488f6ba079946a5031263b63ec7f13b228', id: "selectLeadingIcon", name: "field-distribute-vertically" }), index.h("input", { key: '89f6342f1d89da3f684e12aefdede1f1dec5d6ad', type: "number", class: 'has-leading-icon', id: "ls-fix-vertical-space", value: '', size: 4, min: 0, max: 9999 })), index.h("div", { key: 'd63e1ff2c1af4471199153fa50fd2873e5e9d4ad', class: 'input-wrapper' }, index.h("ls-icon", { key: 'ec82061140fdce46e1c6d51aebd9ba59f8d06694', id: "selectLeadingIcon", name: "field-distribute-horizontally" }), index.h("input", { key: '1c377a1b75b1a26ddf035b67a4a122a4de09defb', type: "number", class: 'has-leading-icon', id: "ls-fix-horizontal-space", value: '', size: 4, min: 0, max: 9999 })))), index.h("slot", { key: '8844524faa80ee1ec6bf72e58187de1b5fb3ff15' })));
|
|
25902
25909
|
}
|
|
25903
25910
|
};
|
|
25904
25911
|
LsFieldDistribute.style = lsFieldDistributeCss;
|
|
@@ -25927,7 +25934,7 @@ const LsFieldFooter = class {
|
|
|
25927
25934
|
this.mutate.emit([{ action: 'create', data: { ...this.dataItem, id: btoa('ele' + crypto.randomUUID()) } }]);
|
|
25928
25935
|
};
|
|
25929
25936
|
render() {
|
|
25930
|
-
return (index.h(index.Host, { key: '
|
|
25937
|
+
return (index.h(index.Host, { key: '7cc58c180e1e341656bfd6101cbf333a7ed32b67' }, index.h("div", { key: '90639bb2214e8e40a5f4bc4c561fc008df22f2c4', class: 'button-footer' }, index.h("button", { key: 'b30a4478ef0fa56e4b317b548184102967dfe12d', class: 'secondary', onClick: () => this.duplicateField() }, index.h("ls-icon", { key: '50cee61d4f7025dc0069fcbab3b2d24197102779', name: "field-duplicate", size: "20" }), "Duplicate"), index.h("button", { key: '70128bb3f06ca40e9589836e4d729d1a77039f03', class: 'destructive', onClick: () => this.deleteField() }, index.h("ls-icon", { key: '283456d29066dc702d82f229d963ca0b889ad873', name: "trash", size: "20" }), "Delete")), index.h("slot", { key: '48cd609fa11d92827e397e45b60d56d925999ffc' })));
|
|
25931
25938
|
}
|
|
25932
25939
|
};
|
|
25933
25940
|
LsFieldFooter.style = lsFieldFooterCss;
|
|
@@ -25956,25 +25963,25 @@ const LsFieldFormat = class {
|
|
|
25956
25963
|
this.update.emit(diffs);
|
|
25957
25964
|
}
|
|
25958
25965
|
render() {
|
|
25959
|
-
return (index.h(index.Host, { key: '
|
|
25966
|
+
return (index.h(index.Host, { key: '23b209dc190b9690d9e3847756d8f60ebc44f944' }, this.dataItem && this.dataItem.length > 1 && (index.h("div", { key: '8a26eed82c32cea6948fad1edd3b861042eb9f0f', class: 'ls-field-format-bar' }, index.h("div", { key: 'c65882c61be956305a78293397e33a1140bb35e9', class: " input-wrapper" }, index.h("ls-icon", { key: 'e06ca06e4f4947e0623eacbe8da91de1e85a5afa', id: "selectLeadingIcon", name: "typeface" }), index.h("select", { key: '93f4469572660ba0b3fffddea87734bc25bd13bb', onChange: input => {
|
|
25960
25967
|
this.alter({ fontName: input.target.value });
|
|
25961
|
-
}, class: 'has-leading-icon' }, index.h("option", { key: '
|
|
25968
|
+
}, class: 'has-leading-icon' }, index.h("option", { key: '35fdc672ab36db9cee13a9483974e5d12dcdb7ee', value: "arial" }, "Arial"), index.h("option", { key: 'ed3604f310d4c39582a18b73153da8b81823e553', value: "liberation sans" }, "Liberation Sans"), index.h("option", { key: 'd563dc86d6e484f6621516144abe80bd9e7c22db', value: "courier" }, "Courier"), index.h("option", { key: '65d2014e93b06736b811aa5ce94bb36f748158a3', value: "helvetica" }, "Helvetica"), index.h("option", { key: '26e3c6feb86c5fc32b08db3d4c1d2aaaa9312c19', value: "verdana" }, "Verdana")), index.h("ls-icon", { key: '35d747f65c336c3119b0651aa5ad74a4bd03e7d3', id: "selectorIcon", name: "selector" })), index.h("div", { key: '33e0a5ba086809556efe98816b5eee80df8d2446', class: "input-wrapper" }, index.h("ls-icon", { key: '55db08ca9ed646f19b0e4ec81c57733f1b67aa07', id: "selectLeadingIcon", name: "typesize" }), index.h("input", { key: '440604312f0fdf2ce74881febd38bafd0f8bcc41', width: "30", size: 4, class: 'has-leading-icon' })), index.h("div", { key: '88bcd5fe368ef3cd4a8e9e273186db12a1c5f580', class: 'button-group' }, index.h("button", { key: 'dcbfedec5baa963893c1b3a756fda7dab1ac8096', onClick: () => {
|
|
25962
25969
|
this.alter({ align: 'left' });
|
|
25963
|
-
} }, index.h("ls-icon", { key: '
|
|
25970
|
+
} }, index.h("ls-icon", { key: '5215471766ea8305d1de1075870471cd396dfb82', name: "menu-alt-2" })), index.h("button", { key: '994cc7ec78b566286739dc4a6416fc100d0c9ac8', onClick: () => {
|
|
25964
25971
|
this.alter({ align: 'center' });
|
|
25965
|
-
} }, index.h("ls-icon", { key: '
|
|
25972
|
+
} }, index.h("ls-icon", { key: 'ff73e43bb41460b902dc5778adf7fe448e136be1', name: "menu-alt-5" })), index.h("button", { key: '0841ca37df78b67b80760f5266a9f78db7e913e1', onClick: () => {
|
|
25966
25973
|
this.alter({ align: 'right' });
|
|
25967
|
-
} }, index.h("ls-icon", { key: '
|
|
25974
|
+
} }, index.h("ls-icon", { key: '1df93bc703d8c3c2d47b420e829844d3af8bb1f0', name: "menu-alt-3" }))))), this.dataItem && this.dataItem.length === 1 && (index.h("div", { key: '8c06bfe699d610eba6be4ebd353468ae9ac0e7c0', class: 'ls-field-format-bar' }, index.h("div", { key: 'b544bcbdb038c1d0721e7ddefb03a0d07c89df07', class: "input-wrapper" }, index.h("ls-icon", { key: '0a1f1f68e6d9869f0ec327f07ee1869948c1c873', id: "selectorIcon", name: "selector" }), index.h("ls-icon", { key: '683d9a1ce1a34c48e2b5028cb5d6105a67dc4b02', id: "selectLeadingIcon", name: "typeface" }), index.h("select", { key: '18ce893824dcf0f54ac24578a3d681009d15dd21', onChange: input => {
|
|
25968
25975
|
this.alter({ fontName: input.target.value });
|
|
25969
|
-
}, class: 'has-leading-icon' }, index.h("option", { key: '
|
|
25976
|
+
}, class: 'has-leading-icon' }, index.h("option", { key: 'bf9509d7bfe87efa9a1493e139979a5374e6626c', value: "arial" }, "Arial"), index.h("option", { key: 'd02f3033f6ac1ab79545179d575f99df315f440a', value: "liberation sans" }, "Liberation Sans"), index.h("option", { key: 'b889f947e5b504a7a89a110dd29d07fe16917b79', value: "courier" }, "Courier"), index.h("option", { key: '4b6c22fc5369cf5c1d1001bfb56914bfe08934a9', value: "helvetica" }, "Helvetica"), index.h("option", { key: '6d511f49d42bd7d51af2d604cd153f332d8721af', value: "verdana" }, "Verdana"))), index.h("div", { key: 'cd7f43b3d874c7fb28f73d461550dd7ef2b2309f', class: "input-wrapper" }, index.h("ls-icon", { key: '103781d89d2a7af7ac7822f47b80a4481e321c7e', id: "selectLeadingIcon", name: "typesize" }), index.h("input", { key: '5f38cacf99d6cf51be53a63feb76e5af7234928c', width: "30", size: 4, value: this.dataItem[0].fontSize, onChange: input => {
|
|
25970
25977
|
this.alter({ fontSize: input.target.value });
|
|
25971
|
-
}, class: 'has-leading-icon' })), index.h("div", { key: '
|
|
25978
|
+
}, class: 'has-leading-icon' })), index.h("div", { key: 'b0036810935d8e09a2c5798e622c395889c1ab98', class: 'button-group' }, index.h("button", { key: 'a7b07205713e3d124d1a5e1fce80ede822a03684', onClick: () => {
|
|
25972
25979
|
this.alter({ align: 'left' });
|
|
25973
|
-
} }, index.h("ls-icon", { key: '
|
|
25980
|
+
} }, index.h("ls-icon", { key: 'b3f0c318f180d0fcfd380033d99c9264290e4fdb', name: "menu-alt-2" })), index.h("button", { key: '5e10ebc2b7d2553e92d76ba7e14c2f56d90d1ee9', onClick: () => {
|
|
25974
25981
|
this.alter({ align: 'center' });
|
|
25975
|
-
} }, index.h("ls-icon", { key: '
|
|
25982
|
+
} }, index.h("ls-icon", { key: '441125d448bf5ff5c4e99de1067d466f810b1a97', name: "menu-alt-5" })), index.h("button", { key: '41afcb33195c926c55d6bddaaae15e7513eab577', onClick: () => {
|
|
25976
25983
|
this.alter({ align: 'right' });
|
|
25977
|
-
} }, index.h("ls-icon", { key: '
|
|
25984
|
+
} }, index.h("ls-icon", { key: '9058e3e51da9df563218eb4eb5ba2c79b3e90b35', name: "menu-alt-3" })))))));
|
|
25978
25985
|
}
|
|
25979
25986
|
};
|
|
25980
25987
|
LsFieldFormat.style = lsFieldFormatCss;
|
|
@@ -26036,7 +26043,7 @@ const LsFieldPlacement = class {
|
|
|
26036
26043
|
return this.dataItem[0].pageDimensions[this.dataItem[0].page].height - this.dataItem[0].height;
|
|
26037
26044
|
}
|
|
26038
26045
|
render() {
|
|
26039
|
-
return (index.h(index.Host, { key: '
|
|
26046
|
+
return (index.h(index.Host, { key: '0bffe8709acfb3dabd233d030ae4f2413d73f247' }, this.isMultiple(this.dataItem) && (index.h("div", { key: '9984e198a4a62e0589cb9f130a9f431286b1acfe', class: 'ls-field-properties-section' }, index.h("div", { key: 'ec08ef135ab475d41a7857146c6412553b4735e0', class: 'ls-field-properties-section-text' }, index.h("p", { key: '360e9f5b3a1767b8d4ac0924e7aeba8092a464dd', class: 'ls-field-properties-section-title' }, "Location"), index.h("p", { key: '4bb509420fbdbee0708c30bb94096c91572e4f4a', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), index.h("div", { key: '652362152f63d9a9e8bbdf2ef33b8fcdb5198df2', class: 'input-row' }, index.h("div", { key: '325489edebf7f017aea61079fd09c5b5b653d640', class: 'input-wrapper' }, index.h("ls-icon", { key: '4f83ccf5933082b8ae4bdc39d00e7dd0d30525ce', id: "selectLeadingIcon", name: "x-letter" }), index.h("input", { key: '079b69aad8498700836ddaa4a26fb909b2453904', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", onChange: e => this.alter({ left: e.target.value }) })), index.h("div", { key: '4a3329e85a683855bdb6b0a4367233838ccc93ea', class: 'input-wrapper' }, index.h("ls-icon", { key: '0d49f8bf3a3ccf7958ed1f7a2549df4b79ff4429', id: "selectLeadingIcon", name: "y" }), index.h("input", { key: '8ec0e69ad54dba0d6b7c60066ae298cfc94bba04', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", onChange: e => this.alter({ top: e.target.value }) }))))), this.isSingle(this.dataItem) && (index.h("div", { key: 'afc4d91a22935d01c04e08c5ce7cfdc557fbeee7', class: 'field-set' }, index.h("div", { key: '2c5e01c8bae0a7926efea16014e5f2536d31fb49', class: 'ls-field-properties-section' }, index.h("div", { key: '37b20caf9ee263dc8deec7980493a3f93f64c0f0', class: 'ls-field-properties-section-text' }, index.h("p", { key: '344d79f82c5a585f6dbf23f332ca62e019161c48', class: 'ls-field-properties-section-title' }, "Alignment"), index.h("p", { key: '448c8c44d3c355e83da291b609d693f4688f940f', class: 'ls-field-properties-section-description' }, "Align your Fields relative to the page or multi-select and align then to each other.")), index.h("div", { key: '36af1e22cb86e09692733c38b7dcc338e61168d5', class: 'multi-button-group-row' }, index.h("div", { key: 'ecc77a571be873d0d85fbbef14eb6997758b08c0', class: 'button-group' }, index.h("button", { key: '7de3125c2f26fd5e5995d0c6dcd49fcf0b911ef0', onClick: () => { this.alter({ left: 0 }); } }, index.h("ls-icon", { key: '4fcf1d2cc9d6ab5257948b1cceb1e16f89680e6d', name: "field-alignment-left" })), index.h("button", { key: 'ea1c19cd23f0b70e672c8cc752a4d3e5843fda55', onClick: () => { this.alter({ left: this.center() }); } }, index.h("ls-icon", { key: '24314d2cdd8afc0ce477e2035d86de790b0b7b17', name: "field-alignment-centre" })), index.h("button", { key: 'a1a8f69b2ff9a86a77497029ce208adb00133b64', onClick: () => { this.alter({ left: this.right() }); } }, index.h("ls-icon", { key: 'daba40d32e3554a77120c873184e2efcb3afbb74', name: "field-alignment-right" }))), index.h("div", { key: '4cafbc8bba38fed14cf4a11adc3c63d05fb7466e', class: 'button-group' }, index.h("button", { key: '687aba13128fbddd6051f390b26cb45538952ef1', onClick: () => this.alter({ top: 0 }) }, index.h("ls-icon", { key: '590b71f5ef6fce89b8b1c714468277061eab56f4', name: "field-alignment-top" })), index.h("button", { key: '6febd5b88838d878c9dd839936ef7d38f7575c92', onClick: () => { this.alter({ top: this.middle() }); } }, index.h("ls-icon", { key: '95238e0a7ebdfc4c9fa16e414fe6e5a0a56d826a', name: "field-alignment-middle" })), index.h("button", { key: '45d41ef15ffc1e6cf1c9ddb984757129b8ddfd00', onClick: () => { this.alter({ top: this.bottom() }); } }, index.h("ls-icon", { key: 'c8e9bd1d3b821d2d1614ae894829884e2ceb2c23', name: "field-alignment-bottom" }))))), index.h("div", { key: '7e9f3adbeec866937d7877680bfa6509f968af2b', class: 'ls-field-properties-section' }, index.h("div", { key: '8c458a88261cb17ca646559cb4e1fe37f92d8d65', class: 'ls-field-properties-section-text' }, index.h("p", { key: '0a6a357a1b94280c20b30e8a9d098a8674225e9e', class: 'ls-field-properties-section-title' }, "Location"), index.h("p", { key: '257206e42e2d83a2af9fd0aab45d028b8597829a', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), index.h("div", { key: 'a7bf0714059faf0cdcb343c04251ce3d6efd90a7', class: 'input-row' }, index.h("div", { key: '6583f23aa7410ab622603cc2a58e33ab10c2e2a2', class: 'input-wrapper' }, index.h("ls-icon", { key: '37afadf26ba260b0a0c279de378a49d56f5fcbfd', id: "selectLeadingIcon", name: "x-letter" }), index.h("input", { key: '56f8349e42aa149f8a2ad9cf9abb7639a294eac4', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", value: this.dataItem?.left, onChange: e => this.alter({ left: e.target.value }) })), index.h("div", { key: '696b15023819921958323df5235507bf18ab1703', class: 'input-wrapper' }, index.h("ls-icon", { key: '4a46de0e15f6f68e5492dfe5fb47d70adaf3a3e6', id: "selectLeadingIcon", name: "y" }), index.h("input", { key: 'bdb4218ea887ef0e8140d994f4df68a5f695fcec', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", value: this.dataItem?.top, onChange: e => this.alter({ top: e.target.value }), width: "30" })))), index.h("div", { key: 'dbb6d2814042e026964a4e0985921cdcdf5525c3', class: 'ls-field-properties-section' }, index.h("div", { key: '15b5a13626ce73fc394f1d471c8322a802b047cc', class: 'ls-field-properties-section-text' }, index.h("p", { key: 'eeaddf102de04788520aee131ec47f40a0996bf9', class: 'ls-field-properties-section-title' }, "Distribution"), index.h("p", { key: 'f5fcf74fbd8333be67ce82ae1f1c564e77ad6eab', class: 'ls-field-properties-section-description' }, "Multi-select fields and evenly space them out")), index.h("div", { key: 'fbd064ef2ee9ab70c52686059a71f17a6bff1fda', class: 'button-group' }, index.h("button", { key: '131bc85714362b1b8f82ca6ccf4cda7d5cfecb6d', disabled: true }, index.h("ls-icon", { key: '7992670d2c484046964ec9e7e6c4bd154610867e', name: "field-distribute-vertically" })), index.h("button", { key: '267c8a6626559ffcfc98d1d95845aa358f68db00', disabled: true }, index.h("ls-icon", { key: 'e3eaefcf0a4745ac72d7b435852860f15a96da0f', name: "field-distribute-horizontally" })))), index.h("div", { key: 'b537e1598ec916a922dca7107778ba3a5e2af8b0', class: 'ls-field-properties-section' }, index.h("div", { key: '89e5227f3f3ccf809f79d28db39d2bcc62f1af97', class: 'ls-field-properties-section-text' }, index.h("p", { key: 'ce5c7ba048742ef3d604b2befd80561592ccb94c', class: 'ls-field-properties-section-title' }, "Gap"), index.h("p", { key: '1b6f7192762df43da648af48c4a123d4f175b40f', class: 'ls-field-properties-section-description' }, "Define the exact gap between multi-select fields.")), index.h("div", { key: 'c71a7ccfe2ece176ec04f90323c9b8047c40830b', class: 'input-row' }, index.h("div", { key: 'a7ac204eb48aa787f739f348dd26720dee40c648', class: 'input-wrapper' }, index.h("ls-icon", { key: 'c4b34ed47a1e45e6a8c580992de6842b06ec5520', id: "selectLeadingIconDisabled", name: "field-distribute-vertically" }), index.h("input", { key: '12aae540eae17fe3915c7eb79457ca56211cdde3', type: "number", value: "0", class: 'has-leading-icon', aria: "vertical-gap", id: "vertical-gap", disabled: true })), index.h("div", { key: 'e972881a518b48f7cc76fbdabb7f26030fc67678', class: 'input-wrapper' }, index.h("ls-icon", { key: '09c4a28d7afe7dbba12567af3113055f9aafe471', id: "selectLeadingIconDisabled", name: "field-distribute-horizontally" }), index.h("input", { key: '1c986d63c853caace3cda02ec12a12c28f28aa67', type: "number", value: "0", class: 'has-leading-icon', aria: "horizontal-gap", id: "horizontal-gap", disabled: true }))))))));
|
|
26040
26047
|
}
|
|
26041
26048
|
};
|
|
26042
26049
|
LsFieldPlacement.style = lsFieldPlacementCss;
|
|
@@ -26069,6 +26076,8 @@ const LsFieldProperties = class {
|
|
|
26069
26076
|
return index.h("ls-field-properties-image", { dataItem: this.dataItem[0] });
|
|
26070
26077
|
case 'file':
|
|
26071
26078
|
return index.h("ls-field-properties-file", { dataItem: this.dataItem[0] });
|
|
26079
|
+
case 'dropdown':
|
|
26080
|
+
return index.h("ls-field-properties-file", { dataItem: this.dataItem[0] });
|
|
26072
26081
|
default:
|
|
26073
26082
|
return index.h("ls-field-properties-general", { dataItem: this.dataItem[0] });
|
|
26074
26083
|
}
|
|
@@ -26077,7 +26086,7 @@ const LsFieldProperties = class {
|
|
|
26077
26086
|
return index.h("ls-field-properties-multiple", { dataItem: this.dataItem });
|
|
26078
26087
|
}
|
|
26079
26088
|
render() {
|
|
26080
|
-
return (index.h(index.Host, { key: '
|
|
26089
|
+
return (index.h(index.Host, { key: 'ef6f3363ef3f3bff466f3fa52e255ac6694f9ff2' }, this.dataItem && this.renderFields(), index.h("slot", { key: 'eeec9e129e6dc68afdafedfba4fe618cb22493c1' })));
|
|
26081
26090
|
}
|
|
26082
26091
|
};
|
|
26083
26092
|
LsFieldProperties.style = lsFieldPropertiesCss;
|
|
@@ -26127,7 +26136,7 @@ const LsFieldPropertiesAdvanced = class {
|
|
|
26127
26136
|
return '';
|
|
26128
26137
|
}
|
|
26129
26138
|
render() {
|
|
26130
|
-
return (index.h(index.Host, { key: '
|
|
26139
|
+
return (index.h(index.Host, { key: '0b6b856e45b7c4706b065ef84b8363b69cb21f1b' }, index.h("div", { key: 'd1b3c1fe456b8c91474d6630daa2781b6146fff4', class: 'expand-fields-row', onClick: () => (this.expanded = !this.expanded) }, index.h("ls-icon", { key: '51dce7f9e54d739d85affed9a8cee59a3515e483', name: this.expanded ? 'expand' : 'collapse', size: "20", solid: true }), index.h("p", { key: '130ca1ea0b66e84610d0186488c0d8152c6c20eb' }, "Advanced Properties")), this.expanded && (index.h("div", { key: '810c84b2ff44b7cfc6f657fd2072f166827ffc64', class: 'field-set' }, index.h("ls-props-section", { key: '13323318921adeaef2f95b20d524946bb0b1e991', sectionTitle: "Field Order", sectionDescription: "Determines what order fields will be filled in by the user" }, index.h("input", { key: '587646a40656d8d5daa9b20dbbc6dcc9e95b1abd', value: this.getValue('fieldOrder'), type: "text", placeholder: "eg. 1", onChange: e => this.alter({ fieldOrder: e.target.value }) })), index.h("ls-props-section", { key: '38e193322a2d1ca6cee74c7d1dffb59d35c44ff6', sectionTitle: "Ref. Name" }, index.h("input", { key: '79255fb8e8e4d8f7d0faa6ab56d8a7e436a86dc2', value: this.getValue('link'), placeholder: "eg. checkbox group", onChange: e => this.alter({ link: e.target.value }) })), index.h("ls-props-section", { key: '11a3ee7328be5aa570839fe0dcbac161150c0f6b', sectionTitle: "Link Type", sectionDescription: "Determines in what way this field is linked to other fields" }, index.h("select", { key: '0b4cede9fc81270b5e6760e082224af22a35a824', onChange: e => this.alter({ linkType: e.target.value }), name: "Link Field", "aria-label": "Link Field" }, index.h("option", { key: '8917aa33df84224867efc06906536c113797f55b', value: "0", selected: this.getValue('linkType') === '0' }, "None"), index.h("option", { key: '79d9baad245ae5dd60b72934184911978486b40d', value: "1", selected: this.getValue('linkType') === '1' }, "One of a group (e.g. select one checkbox)"), index.h("option", { key: '5dfeff9cc3187b3c7772e375b45d52494c058634', value: "2", selected: this.getValue('linkType') === '2' }, "Add to a total"), index.h("option", { key: '4589ed12018fd26f0537ffec2987986d5bd8dc49', value: "3", selected: this.getValue('linkType') === '3' }, "Make this conditional upon..."))), index.h("ls-props-section", { key: '2846580264af2a80c19d051226996c0068edd4eb', sectionTitle: "Link Value", sectionDescription: "Fields with the same Link Value will be linked together" }, index.h("input", { key: 'fcde60427cd92cb342bfae1f73927ab30ed268f1', value: this.getValue('logicAction'), width: "30", placeholder: "eg. checkbox group", onChange: e => this.alter({ logicAction: e.target.value }) }))))));
|
|
26131
26140
|
}
|
|
26132
26141
|
};
|
|
26133
26142
|
LsFieldPropertiesAdvanced.style = lsFieldPropertiesAdvancedCss;
|
|
@@ -26140,7 +26149,7 @@ const LsFieldPropertiesAutosign = class {
|
|
|
26140
26149
|
}
|
|
26141
26150
|
dataItem;
|
|
26142
26151
|
render() {
|
|
26143
|
-
return (index.h(index.Host, { key: '
|
|
26152
|
+
return (index.h(index.Host, { key: 'cfb744a606aa633553b68ed5766054db539ff650' }, index.h("div", { key: 'caea9b14d4409d382e63ce14fcd12e9db0718d14', class: "ls-field-properties-section" }, "Self Sign Field"), index.h("div", { key: '7f1590c3176af71e0db2fe42d818a449c0ec5323' }, "Label: ", index.h("input", { key: 'b1fd4c75157205fae4bee3c6da43311d24971476', value: this.dataItem?.label, width: "30" })), index.h("ls-field-dimensions", { key: 'de84ae39aabda4f7d2813600f922a9ec07e09661', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: 'f4ac9dd3177e28595aaa483e74ce5a7a41e41450', dataItem: this.dataItem }), index.h("ls-field-footer", { key: '0d81c4ad693698b62443b6f3402504a47df6245c', dataItem: this.dataItem }), index.h("slot", { key: '20f208656350831401da6bcf55bf03dbdd4b608a' })));
|
|
26144
26153
|
}
|
|
26145
26154
|
};
|
|
26146
26155
|
LsFieldPropertiesAutosign.style = lsFieldPropertiesAutosignCss;
|
|
@@ -26160,7 +26169,7 @@ const LsFieldPropertiesContainer = class {
|
|
|
26160
26169
|
}
|
|
26161
26170
|
}
|
|
26162
26171
|
render() {
|
|
26163
|
-
return (index.h(index.Host, { key: '
|
|
26172
|
+
return (index.h(index.Host, { key: 'a59956ef5b0a6fb25d33ed5020a230a35150b819' }, this.tabs.length > 1 && (index.h("div", { key: '631748b3efa1db8573816b28c5ddf17b40c5add2', class: 'tabs-container', style: { gridTemplateColumns: `repeat(${this.tabs.length}, 1fr)` } }, this.tabs.map(tab => (index.h("button", { class: tab === this.selectedTab ? 'ls-tab active' : 'ls-tab', onClick: () => (this.selectedTab = tab) }, tab))))), index.h("div", { key: 'eb125ea24c12da57f922af6ff0842be2a31ffd47', class: 'scrolling-container' }, index.h("slot", { key: 'fc9c028d25444c2b87af2ee45e149d8417d77ac5', name: this.selectedTab }))));
|
|
26164
26173
|
}
|
|
26165
26174
|
};
|
|
26166
26175
|
LsFieldPropertiesContainer.style = lsFieldPropertiesContainerCss;
|
|
@@ -26173,7 +26182,7 @@ const LsFieldPropertiesDate = class {
|
|
|
26173
26182
|
}
|
|
26174
26183
|
dataItem;
|
|
26175
26184
|
render() {
|
|
26176
|
-
return (index.h(index.Host, { key: '
|
|
26185
|
+
return (index.h(index.Host, { key: 'd993f0a5d52e546b908922b71385954f30041880' }, index.h("ls-field-properties-container", { key: 'e3f83d5670000e56d85fbc1c24323a670488309e', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: '74fe8004070a01813c5525e187371cf3b3058d5b', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: 'a7053c22927b785560077667892d679e009baeaf', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: '4d044a78eb379cb82888600fe076e41e6c52b9ed', dataItem: this.dataItem })), index.h("div", { key: '10cafe3632efa67461f73d8323a7cdf719f1b24d', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: '5a145b8fbc1f1502093810f276ff77d00a162496', dataItem: this.dataItem })), index.h("div", { key: '83192def8c0065901e3e63980bd2baafa3827cd0', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '88eb2919a22626c727073195dd0d2e2d748ec794', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: 'ba6456060d6f4641068fdc9657ab8325edbcd594', dataItem: this.dataItem })));
|
|
26177
26186
|
}
|
|
26178
26187
|
};
|
|
26179
26188
|
LsFieldPropertiesDate.style = lsFieldPropertiesDateCss;
|
|
@@ -26186,7 +26195,7 @@ const LsFieldPropertiesEmail = class {
|
|
|
26186
26195
|
}
|
|
26187
26196
|
dataItem;
|
|
26188
26197
|
render() {
|
|
26189
|
-
return (index.h(index.Host, { key: '
|
|
26198
|
+
return (index.h(index.Host, { key: 'fb1463a220717fbfb0b19a24ebaf9c6edce896c0' }, index.h("ls-field-properties-container", { key: '304c8fe83b45b57b9062a05712acb45ad79ed126', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: '53ae5097c2a538a1386585a493c5e4064303fa18', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: 'd38ee301036d12b7444a215999d7340b370ebf77', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: '06d4533c0e6778587b0d82a6bd427a22ec982c72', dataItem: this.dataItem })), index.h("div", { key: 'b692df0cb47cfe8ca327172b412a538c1b2ae4f4', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: 'a46cbfe8a1b74bc50169fa1fe2fae60f715ddf5b', dataItem: this.dataItem })), index.h("div", { key: '0eccdada74a8e5a5727e35327f184e8c9d9045b0', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '6a88df346388a18a312abaa3d8b6585847cc8a2d', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: '166f519bd6ae526dcdb7d2effcd8c26cbb05346a', dataItem: this.dataItem })));
|
|
26190
26199
|
}
|
|
26191
26200
|
};
|
|
26192
26201
|
LsFieldPropertiesEmail.style = lsFieldPropertiesEmailCss;
|
|
@@ -26199,7 +26208,7 @@ const LsFieldPropertiesFile = class {
|
|
|
26199
26208
|
}
|
|
26200
26209
|
dataItem;
|
|
26201
26210
|
render() {
|
|
26202
|
-
return (index.h(index.Host, { key: '
|
|
26211
|
+
return (index.h(index.Host, { key: '90fd5ea99052824760584879d8e60b7bc84764de' }, index.h("ls-field-properties-container", { key: '159ee80bcd5b8e91f8eefe3c0b1ff33919334f71', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: 'b3ef176e080d75af07dcc7f44cc35f1ed73eda70', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: '4bbee3a9777f969686abd502078305fb0e0b56ee', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: '714f794313b71d695696de09e318e126c9514da1', dataItem: this.dataItem })), index.h("div", { key: 'cf101dd7a0031dbc9a9b516e07c5d7a6022f6c13', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: '2dbbf4b56c50a04d82a1a7d22d1e46bebb19a330', dataItem: this.dataItem })), index.h("div", { key: '82c3d56d1b2c0a819eacf31b9340272d0c9d14dd', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '25f01125319fe86f89cae5e0b81d6296792805ef', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: '4d6105813fe254fa39f179bca4a62a2b2de9019b', dataItem: this.dataItem })));
|
|
26203
26212
|
}
|
|
26204
26213
|
};
|
|
26205
26214
|
LsFieldPropertiesFile.style = lsFieldPropertiesFileCss;
|
|
@@ -26212,7 +26221,7 @@ const LsFieldPropertiesGeneral = class {
|
|
|
26212
26221
|
}
|
|
26213
26222
|
dataItem;
|
|
26214
26223
|
render() {
|
|
26215
|
-
return (index.h(index.Host, { key: '
|
|
26224
|
+
return (index.h(index.Host, { key: 'b23aa39efade65c582a9aa4ce3b1964549536176' }, index.h("ls-field-properties-container", { key: '5643ad2f76ef53951b3b3c153722ea700ef6bf96', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: '41836563fdab56fa7c429b471aff325d4d8602b7', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: '94e44706a389d711ec43d11dba6db3bc1ba70734', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: '07b13869824345712c880cf9a93daea92c9c8d58', dataItem: this.dataItem })), index.h("div", { key: '6171af5bd7d346717f3b2b26b5431e255947e4c5', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: '4a9070a532667a12b9d7a232cbfbb5282cf663fd', dataItem: this.dataItem })), index.h("div", { key: '74727ebb7b2c8a5f5f77ee9f23f0e82732afe781', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '12de13ee69fff67e4f880375a34d2bf975fb5eee', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: '097fe669909da8c5f4d9d1c8b699acee4d507de5', dataItem: this.dataItem })));
|
|
26216
26225
|
}
|
|
26217
26226
|
};
|
|
26218
26227
|
LsFieldPropertiesGeneral.style = lsFieldPropertiesGeneralCss;
|
|
@@ -26225,7 +26234,7 @@ const LsFieldPropertiesImage = class {
|
|
|
26225
26234
|
}
|
|
26226
26235
|
dataItem;
|
|
26227
26236
|
render() {
|
|
26228
|
-
return (index.h(index.Host, { key: '
|
|
26237
|
+
return (index.h(index.Host, { key: 'a5eed1fc06694f187959578b1007a4e1d30d2103' }, index.h("ls-field-properties-container", { key: 'dc464df7db2cd6894abb035e27316a4c11ae47a0', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: 'f57e5c7439bbc7a3f9f67acbdba1dade556d9ec5', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: '79b1e2f5a40b9cef6a83b90b37c34d8ad02af5a8', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: 'cb6870dc72d3f1baf1222609279b42be5359c1be', dataItem: this.dataItem })), index.h("div", { key: 'ea7e69c07487905565082c85f59dffa396f5b0ea', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: '758edfb93aa3d937a9d9e6316de4d9f892ece481', dataItem: this.dataItem })), index.h("div", { key: 'ab557c9750c89aed7b5bfbbd64b3012e68602ac0', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '86c5804fbc1a6ecd8fda573ab008dcdb89786ac5', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: '25ebe078515a2e87ca89b72552f42b8e9d3de5af', dataItem: this.dataItem })));
|
|
26229
26238
|
}
|
|
26230
26239
|
};
|
|
26231
26240
|
LsFieldPropertiesImage.style = lsFieldPropertiesImageCss;
|
|
@@ -26279,14 +26288,14 @@ const LsFieldPropertiesMultiple = class {
|
|
|
26279
26288
|
return { isSame: allSame, elementType: allSame ? firstElementType : 'mixed' };
|
|
26280
26289
|
};
|
|
26281
26290
|
render() {
|
|
26282
|
-
return (index.h(index.Host, { key: '
|
|
26291
|
+
return (index.h(index.Host, { key: 'db3fa1a68dba2d4f82909b127dad3b6cd2324956' }, index.h("ls-field-properties-container", { key: '1d359d0cf6a30e945cc3840aa0e1942c4256335e', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: 'bc9aaedd653315f033b14e8c770b4aaf2222e49c', class: 'field-set', slot: "content" }, index.h("div", { key: 'df7221d88ea9ccf3b16b1a929d15bc7c99c0b8c7', class: 'ls-field-properties-section' }, index.h("div", { key: '508941e1f5458a2c08382489e426e0d03627bfa8', class: 'ls-field-properties-section-text' }, index.h("p", { key: 'a82d81dff3cdb2c53b60baea88ba233327b0b1b7', class: 'ls-field-properties-section-title' }, "Field Type"), index.h("p", { key: '6a564a43bdeaaff77c9ce2cd8ed67751da19f8e8', class: 'ls-field-properties-section-description' }, "The Fields you currently have selected")), index.h("div", { key: '372b48f253950209b1b46da82f931b4d802e4034', class: 'ls-field-type-wrapper', style: {
|
|
26283
26292
|
border: `1px dashed ${defaultRolePalette[this.allSignersSame().signer % 100].s30}`,
|
|
26284
26293
|
background: defaultRolePalette[this.allSignersSame().signer % 100].s10,
|
|
26285
|
-
} }, index.h("div", { key: '
|
|
26294
|
+
} }, index.h("div", { key: 'c0930f87d97720730931cca5fa78f1e611bd01b8', class: 'ls-field-type-inner' }, index.h("div", { key: '4f52574596bcc163f05c19d48b45c395211fc72e', class: 'ls-field-type-icon', style: {
|
|
26286
26295
|
border: `1px solid ${defaultRolePalette[this.allSignersSame().signer % 100].s60}`,
|
|
26287
26296
|
color: defaultRolePalette[this.allSignersSame().signer % 100].s60,
|
|
26288
26297
|
background: defaultRolePalette[this.allSignersSame().signer % 100].s10,
|
|
26289
|
-
} }, index.h("ls-icon", { key: '
|
|
26298
|
+
} }, index.h("ls-icon", { key: 'a9c7595582bda8bb0869d13720b6a83cecf283f6', name: getFieldIcon(this.allElementsSame().elementType), size: "20" })), index.h("p", { key: 'c259fd6576d03ce072a7ed516225e5fba12ddb95', class: 'ls-field-type-name' }, this.dataItem.length, " ", this.allElementsSame().elementType, " ", 'Fields')))), index.h("div", { key: '93871a17b015b36341d05f27337efdd2ca3ceccc', class: 'ls-field-properties-section row' }, index.h("div", { key: '1f98f10304deb26cb2742e3c5b7743d0d297c9a6', class: 'ls-field-properties-section-text' }, index.h("p", { key: '04071efc572c4db6b9609690a428465b5f48ceee', class: 'ls-field-properties-section-title' }, "Required Field")), index.h("ls-toggle", { key: 'ccc36e3005928f54d580d0c76db792e0db552d07' })), index.h("div", { key: '99df8d93eb6b930ed2cbd207b5baaff0105af46e', class: 'ls-field-properties-section' }, index.h("div", { key: '7cb461662a379db755adee6346cf05dab5b0c5d9', class: 'ls-field-properties-section-text' }, index.h("p", { key: '0f98657034850a78bc7d765df767454c8db33936', class: 'ls-field-properties-section-title' }, "Field Label"), index.h("p", { key: '219f2d59258dc9bfe82fcf19541757ba02900237', class: 'ls-field-properties-section-description' }, "Add a label to clarify the information required from the Recipient.")), index.h("input", { key: 'be8bb2e3f8df73458937ff8c016f7b399c0542c5', value: this.allLabelsSame().label, width: "30", placeholder: "eg. Sign Here" }))), index.h("div", { key: 'cf17bb932c83f062d0344873f63691a5c9ebcc77', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: 'c34fe15182b6c6f29644c46d998b83af12b34b6b', dataItem: this.dataItem }), index.h("ls-field-size", { key: '52d9bd27373515ea647c1baad21438ab8599f0a8', dataItem: this.dataItem })), index.h("div", { key: '69fb2d3741e338cb925cc7f2d8f6d2fc2ad0bd45', class: 'field-set', slot: "placement" }, index.h("ls-field-alignment", { key: 'c89d477d9b8e9f23c719b949b99031f78722a449', dataItem: this.dataItem }), index.h("ls-field-placement", { key: 'd06a68a38a5828dac44c7ecdcaa92c2d2fc2e1ca', dataItem: this.dataItem }), index.h("ls-field-distribute", { key: '5dc5cce487648010cdc61fe75dbb94bc5f8d844e', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: 'bfa014a119a1dfa5900ad059447c103e5ecbf2e6' }), index.h("slot", { key: '940b0e01d8a8e908ca7eec6f00bdca318cb4f2d8' })));
|
|
26290
26299
|
}
|
|
26291
26300
|
};
|
|
26292
26301
|
LsFieldPropertiesMultiple.style = lsFieldPropertiesMultipleCss;
|
|
@@ -26299,7 +26308,7 @@ const LsFieldPropertiesNumber = class {
|
|
|
26299
26308
|
}
|
|
26300
26309
|
dataItem;
|
|
26301
26310
|
render() {
|
|
26302
|
-
return (index.h(index.Host, { key: '
|
|
26311
|
+
return (index.h(index.Host, { key: '70417edfe13b059615fb7c9b9d3567dfcc0b5456' }, index.h("ls-field-properties-container", { key: '24cd7ba8879c636483730179de64bea08d6518a7', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: 'ac4bd0f25f7ca65e7a5a55c7909103e8db1eda23', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: 'ae012182364ca464e1d9cca91955f4081ee153b5', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: '2ccc8839add637be02805b7e73347f9243902882', dataItem: this.dataItem })), index.h("div", { key: 'caf2cb1a3e568931ea0209bec01edc03f89cabe4', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: 'cfe405748d17bcfb372854174126a048287ba802', dataItem: this.dataItem })), index.h("div", { key: '37b3d2b66b12b84e5bd308dd94b6e7e28e9c8da9', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '78aafb16d95cc67f328a7402c64c4871cc7a2d35', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: 'b4f40f2edce91fc5ef5ccef031900b7796ec9bec', dataItem: this.dataItem })));
|
|
26303
26312
|
}
|
|
26304
26313
|
};
|
|
26305
26314
|
LsFieldPropertiesNumber.style = lsFieldPropertiesNumberCss;
|
|
@@ -26312,7 +26321,7 @@ const LsFieldPropertiesSignature = class {
|
|
|
26312
26321
|
}
|
|
26313
26322
|
dataItem;
|
|
26314
26323
|
render() {
|
|
26315
|
-
return (index.h(index.Host, { key: '
|
|
26324
|
+
return (index.h(index.Host, { key: 'bb09025d4ea6af3b66655872523e96d86f13d484' }, index.h("ls-field-properties-container", { key: '502f3ec1e0d2581e111b494b4e2e9c05c9082216', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: '82ef24f4dcc4d0dc4c0b685109d4d40a762c1257', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: '271b16a5723b7ca9e26ecf52e322c5a51e7be356', dataItem: this.dataItem, showValidationTypes: false }), index.h("ls-field-properties-advanced", { key: 'e40f744d605557c5afe0f78b818d57606508cccb', dataItem: this.dataItem })), index.h("div", { key: 'f81d13b3938e7a42e14e99c29efbeba9548ed15e', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: '0abfaa460159362f0a9da4bff75d78c38259ed46', dataItem: this.dataItem })), index.h("div", { key: '66817e28369192a334826916bfa872d907a62669', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '3d4d9f4ddc8f8a693a2676c166e19140c8cd5128', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: 'ba096994fbaf9b487fb46e43094c27cc5a46c1a6', dataItem: this.dataItem })));
|
|
26316
26325
|
}
|
|
26317
26326
|
};
|
|
26318
26327
|
LsFieldPropertiesSignature.style = lsFieldPropertiesSignatureCss;
|
|
@@ -26325,7 +26334,7 @@ const LsFieldPropertiesText = class {
|
|
|
26325
26334
|
}
|
|
26326
26335
|
dataItem;
|
|
26327
26336
|
render() {
|
|
26328
|
-
return (index.h(index.Host, { key: '
|
|
26337
|
+
return (index.h(index.Host, { key: '18a4535a7f23c9a7397cc3b3ae1f272bc6455867' }, index.h("ls-field-properties-container", { key: '78bfa9fac7eeac81d932de4f64cd95b56d6cc401', tabs: ['content', 'placement', 'dimensions'] }, index.h("div", { key: '02ea188526669a2b7831dcf840baf0918f4213a2', class: 'field-set', slot: "content" }, index.h("ls-field-content", { key: 'd2696260cefafe6c6bbba099c87570faf06c927c', dataItem: this.dataItem }), index.h("ls-field-properties-advanced", { key: 'f928c063b5fb38d014ffab0310a34b8ae5a0ee41', dataItem: this.dataItem })), index.h("div", { key: '60c62191fe0a42b4e6d90990b7dd1af1ae14e598', class: 'field-set', slot: "dimensions" }, index.h("ls-field-dimensions", { key: '42df6e0a4f90297a0044a56e53da4ce8ad55af0f', dataItem: this.dataItem })), index.h("div", { key: 'f69db70afc4aa852692b569d22cd96857c0aca51', class: 'field-set', slot: "placement" }, index.h("ls-field-placement", { key: '3280ae9e9566d9aa121d05032e3cf7bc757ebe35', dataItem: this.dataItem }))), index.h("ls-field-footer", { key: 'd1b1c550e7ada8e057f0950b7e4a5bf14efb3e20', dataItem: this.dataItem })));
|
|
26329
26338
|
}
|
|
26330
26339
|
};
|
|
26331
26340
|
LsFieldPropertiesText.style = lsFieldPropertiesTextCss;
|
|
@@ -26352,7 +26361,7 @@ const LsFieldSize = class {
|
|
|
26352
26361
|
this.update.emit(diffs);
|
|
26353
26362
|
}
|
|
26354
26363
|
render() {
|
|
26355
|
-
return (index.h(index.Host, { key: '
|
|
26364
|
+
return (index.h(index.Host, { key: '962b28dd19449b2201f944168769b96a14b9d3bf' }, index.h("div", { key: '209474f5cc8a713a4643a05a2e1d1574d4e7a5cf', class: 'ls-field-properties-section' }, index.h("div", { key: 'fb3a50f05aeb6e32c4368699df77ac4ba722a430', class: 'ls-field-properties-section-text' }, index.h("p", { key: '1e07af49d2497d5c5ca6b1c0793a35547f872c6a', class: 'ls-field-properties-section-title' }, "Scale and Resize"), index.h("p", { key: 'a342e0fcea7d4c6e85e77926e958faf6b05598d6', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), index.h("div", { key: 'cad5ad563e4fc9d3755e8d33d949de2356fdd5cb', class: 'button-group' }, index.h("button", { key: '9c7e189b73b2eebbfdd4057e864c76f80962747f', 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-id": "le-tooltip", "data-tooltip-content": "Make selected fields the same height and width as the first selected field.", "data-tooltip-place": "top" }, index.h("ls-icon", { key: 'c3ea1d5f72147eaa0a7e08eea7cc345353c9002e', name: "field-scale" })), index.h("button", { key: '08184b633de916bdf1ad90f6fb3fa303e617bf96', "aria-label": "Make selected fields the same width as the first selected field.", onClick: () => this.alter({ width: this.dataItem[0].width }), "data-tooltip-id": "le-tooltip", "data-tooltip-content": "Make selected fields the same width as the first selected field.", "data-tooltip-place": "top" }, index.h("ls-icon", { key: '29b31f5aa9bd1d46ab23e21e8a41e07b2cc0dcf6', name: "field-match-width" })), index.h("button", { key: '3eb243db77a48e39ed3cb7197f320612794c4ea6', onClick: () => this.alter({ height: this.dataItem[0].height }), "aria-label": "Make selected fields the same height as the first selected field.", "data-tooltip-id": "le-tooltip", "data-tooltip-content": "Make selected fields the same height as the first selected field.", "data-tooltip-place": "top" }, index.h("ls-icon", { key: '4d1fd201eca57e0cfe10498cf41a8bbce1957270', name: "field-match-height" })))), index.h("slot", { key: 'f5e8e0f7c5cf0b00db08b55bd1d353efabe5511a' })));
|
|
26356
26365
|
}
|
|
26357
26366
|
};
|
|
26358
26367
|
LsFieldSize.style = lsFieldSizeCss;
|
|
@@ -26387,14 +26396,14 @@ const LsFieldTypeDisplay = class {
|
|
|
26387
26396
|
fieldType = 'signature';
|
|
26388
26397
|
render() {
|
|
26389
26398
|
const color = defaultRolePalette[this.assignee % 100];
|
|
26390
|
-
return (index.h(index.Host, { key: '
|
|
26399
|
+
return (index.h(index.Host, { key: 'c522f5dd24e8cc788fce078c745cf50dc8e897a1', class: 'ls-field-type-wrapper', style: {
|
|
26391
26400
|
border: `1px dashed ${color.s30}`,
|
|
26392
26401
|
background: color.s10,
|
|
26393
|
-
} }, index.h("div", { key: '
|
|
26402
|
+
} }, index.h("div", { key: 'd775a1ef4bbc8b4fe4abfc0419c8abd91b0f318b', class: 'ls-field-type-inner' }, index.h("div", { key: 'e4fdf23f7703efaba1ce81f70f684196079d6b14', class: 'ls-field-type-icon', style: {
|
|
26394
26403
|
border: `1px solid ${color.s60}`,
|
|
26395
26404
|
color: color.s60,
|
|
26396
26405
|
background: color.s10,
|
|
26397
|
-
} }, index.h("ls-icon", { key: '
|
|
26406
|
+
} }, index.h("ls-icon", { key: 'f699a58904b5824d1553f13ecfab57987a07ca35', name: getFieldIcon(this.fieldType), size: "20" })), index.h("p", { key: '3b99f80b4aec87c22619b59db4b7e3a84b694629', class: 'ls-field-type-name' }, getFieldLabel(this.fieldType)))));
|
|
26398
26407
|
}
|
|
26399
26408
|
};
|
|
26400
26409
|
LsFieldTypeDisplay.style = lsFieldTypeDisplayCss;
|
|
@@ -26444,10 +26453,10 @@ const LsFormfield = class {
|
|
|
26444
26453
|
render() {
|
|
26445
26454
|
const { name, fieldId, label, as, value, placeholder, descriptionText, errorText, aria, infoTooltipText, disabled, extraLabel, valid, dirty, count, countMax, buttonClick, buttonIcon, fieldIcon, labelIcon, } = this;
|
|
26446
26455
|
const countClass = value && value.toString().length > countMax ? 'formfield-count-error' : 'formfield-count';
|
|
26447
|
-
return (index.h("host", { key: '
|
|
26456
|
+
return (index.h("host", { key: 'b270dcd40ad2988cce479f03ddd4929f4416cbed', class: "formfield-host" }, label?.length > 1 || extraLabel !== 'none' && (index.h("div", { key: '64662df8269076c09a8c90797eed12745d5d0fdb', class: "formfield-top-elements" }, index.h("div", { key: '91188a0ce3a1eb486a6776427f041a40163710f8', class: "formfield-left-side" }, labelIcon && index.h("ls-icon", { key: '7b1a56ec85b177b807098c6710d61f9c502182e1', name: labelIcon }), index.h("label", { key: '1109913e864d685ad9a3a511c417e2df79affe18', htmlFor: name, class: "formfield-label" }, label), infoTooltipText && index.h("ls-icon", { key: 'e250b2f6c63944898a40743f84257f65382f604e', name: 'information-circle' })), extraLabel === 'optional' ? (index.h("ls-label", { text: "Optional", colour: "gray", type: "low" })) : extraLabel === 'required' ? (index.h("ls-label", { text: "Required", colour: "gray", type: "low" })) : (''))), as === 'text' ? (index.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' ? (index.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 }, index.h("slot", null))) : as === 'radio' ? (index.h("ls-radio-input", { radioId: label, label: value?.toString(), icon: fieldIcon, name: name, disabled: disabled })) : as === 'textarea' ? (index.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' ? (index.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' ? (index.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' ? (index.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 })) : (index.h("p", null, "placeholder")), errorText ||
|
|
26448
26457
|
count ||
|
|
26449
26458
|
countMax ||
|
|
26450
|
-
(descriptionText && (index.h("div", { key: '
|
|
26459
|
+
(descriptionText && (index.h("div", { key: '2153930ddc1ca521d00631ddad7059f8dc6378ba', class: "formfield-bottom-elements" }, errorText && !valid ? index.h("p", { class: "formfield-error-text" }, errorText) : descriptionText ? index.h("p", { class: "formfield-description-text" }, descriptionText) : '', count && (index.h("div", { key: 'cff80a7cd1528ae8ab06577c5ec856dbf7b8a39e', class: "formfield-count-container" }, index.h("p", { key: '67278bc4ab4e7954a444ed626d8379707b7e3508', class: countClass }, value?.toString()?.length), countMax > 0 && (index.h("div", { key: 'ae37ab542f81a9f970439197455b9dde736addc1', class: countClass }, index.h("p", { key: 'b94104282ba35f1b11bc4b051fada1f5f19fd8b6' }, "/"), index.h("p", { key: '621413b5d4e6be5b1d8a6a22d4ae574e7abdeddf' }, countMax))))))))));
|
|
26451
26460
|
}
|
|
26452
26461
|
static get watchers() { return {
|
|
26453
26462
|
"value": ["valueWatcher"]
|
|
@@ -33479,7 +33488,7 @@ const LsIcon = class {
|
|
|
33479
33488
|
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.');
|
|
33480
33489
|
}
|
|
33481
33490
|
render() {
|
|
33482
|
-
return (index.h("host", { key: '
|
|
33491
|
+
return (index.h("host", { key: 'e4841f50e0143e588e981f1a115a483bc7226037' }, icons
|
|
33483
33492
|
?.filter((icon) => icon.name === this.name)
|
|
33484
33493
|
?.map((icon) => (index.h("div", { key: icon?.name, class: 'iconContainer', style: {
|
|
33485
33494
|
height: `${this.size}px`,
|
|
@@ -33498,7 +33507,7 @@ const LsInputWrapper = class {
|
|
|
33498
33507
|
leadingIcon;
|
|
33499
33508
|
select = false;
|
|
33500
33509
|
render() {
|
|
33501
|
-
return (index.h(index.Host, { key: '
|
|
33510
|
+
return (index.h(index.Host, { key: '5f490c4020eca0b115e40e592d8df40d4ad3e448' }, index.h("ls-icon", { key: 'e265e85bc244222631d0fa046a261c373bc178c0', id: "selectLeadingIcon", name: this.leadingIcon }), this.select && index.h("ls-icon", { key: '2a73959885e9bb022a4227a560e087b32e969627', id: "selectorIcon", name: "selector" }), index.h("slot", { key: 'd66ea2604ef04373415b44c1a2c908e5ba6c8541' })));
|
|
33502
33511
|
}
|
|
33503
33512
|
};
|
|
33504
33513
|
LsInputWrapper.style = lsInputWrapperCss;
|
|
@@ -33544,7 +33553,7 @@ const LsNumberInput = class {
|
|
|
33544
33553
|
? 'invalid'
|
|
33545
33554
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
33546
33555
|
const plusMinusClass = clsx(disabled ? 'button-disabled' : 'button');
|
|
33547
|
-
return (index.h("host", { key: '
|
|
33556
|
+
return (index.h("host", { key: '3b54058cfd196746820f37373b8d92bf601e2c8d', class: type === 'ls' && 'host' }, type === 'ls' && (index.h("button", { key: 'e345e9069e93b89761c3fc5e84c922a9d1ea59ec', class: plusMinusClass, onClick: () => handleMinus(), disabled: disabled }, index.h("ls-icon", { key: 'eb06ed0aafe3084bec5a2a0c1090f082a8025c10', id: 'buttonIcon', name: 'minus-sm' }))), index.h("div", { key: 'd7b75956a0aa5e7113731ca25cee4608b2c59a87', class: 'input-container' }, fieldIcon && (index.h("ls-icon", { key: '450d161f7057d3a0738d5d9b74508404b44808d5', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), index.h("input", { key: '00ee931c90956f137061f3d5ee08aa2ceca5794c', type: 'number', class: inputClass, id: name, name: name, value: value, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onInput: (event) => handleChange(event) }), index.h("div", { key: 'a997392c26463b5f060fdf815555db5fe2bcdf67', class: 'right-items' }, dirty && !disabled && (index.h("ls-icon", { key: '104743bc83db752b73023cf6fecd7ebd57b0f0f4', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && type !== 'ls' && (index.h("button", { key: '2bcaaeafb1ae543d10e08958ab550d59961c43c8', class: 'button', onClick: buttonClick }, index.h("ls-icon", { key: '43890558357aee8f85abc16b18560ab191af13f5', id: 'buttonIcon', name: buttonIcon }))))), type === 'ls' && (index.h("button", { key: '1e118fe7dae848a09847d118f810f7f3999ee525', class: plusMinusClass, onClick: handlePlus, disabled: disabled }, index.h("ls-icon", { key: '24641d3185a584a13c997b2ae092dc27e24a99c1', id: 'buttonIcon', name: 'plus-sm' })))));
|
|
33548
33557
|
}
|
|
33549
33558
|
};
|
|
33550
33559
|
LsNumberInput.style = lsNumberInputCss;
|
|
@@ -33599,36 +33608,36 @@ const LsParticipantCard = class {
|
|
|
33599
33608
|
}
|
|
33600
33609
|
render() {
|
|
33601
33610
|
const participantFields = this.template.elementConnection.templateElements.filter(f => f.signer === this.signer.signerIndex) || [];
|
|
33602
|
-
return (index.h(index.Host, { key: '
|
|
33611
|
+
return (index.h(index.Host, { key: '768db475f548dd2185910c9419d040e796e75529' }, index.h("div", { key: '3e04b8b4fef38537f2d8d4ac16fc244509f4eb61', class: "participant-card", style: {
|
|
33603
33612
|
background: defaultRolePalette[this.signer?.signerIndex % 100].s10,
|
|
33604
33613
|
border: `1px solid ${defaultRolePalette[this.signer?.signerIndex % 100].s60}`,
|
|
33605
33614
|
marginTop: this.signer.signerIndex > 100 && '-0.813rem',
|
|
33606
33615
|
}, onMouseEnter: e => e.currentTarget.querySelector('.button-set')?.classList.remove('hidden'), onMouseLeave: e => e.currentTarget.querySelector('.button-set')?.classList.add('hidden'), onDblClick: () => {
|
|
33607
33616
|
this.editable = true;
|
|
33608
|
-
} }, index.h("div", { key: '
|
|
33617
|
+
} }, index.h("div", { key: '40ca2ae09badaaf460fd5ae191e67d894f2aae31', class: 'participant-card-inner' }, index.h("div", { key: '0e61b8ab5675a15b8c65e263e853870a8e341bf4', class: 'participant-card-top-items' }, index.h("div", { key: '8440defd6f52c33d590d97635e2a87f90b956eb8', class: 'role-label', style: {
|
|
33609
33618
|
background: defaultRolePalette[this.signer?.signerIndex % 100].s20,
|
|
33610
33619
|
color: defaultRolePalette[this.signer?.signerIndex % 100].s90,
|
|
33611
|
-
} }, index.h("ls-icon", { key: '
|
|
33620
|
+
} }, index.h("ls-icon", { key: 'c59cf0a86936367a1b1341c4f1e20b5da73368ed', name: this.signer?.roleType === 'APPROVER' ? 'check-circle' : this.signer?.roleType === 'SIGNER' ? 'signature' : 'eye' }), 'Participant ' + (this.signer?.signerIndex || '')), index.h("div", { key: '3009a6badc772219f8beab629ab7d47edfd195b2', class: 'button-set hidden' }, this.index > 0 && (index.h("div", { key: '018c7bf1a5dcf6ab8950134c92dcfb3854f5e81a', class: "innerButton", onClick: () => {
|
|
33612
33621
|
this.swapHandler(this.signer, this.template.roles[this.index - 1]);
|
|
33613
33622
|
}, style: {
|
|
33614
33623
|
'--default-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s40,
|
|
33615
33624
|
'--hover-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s60,
|
|
33616
|
-
} }, index.h("ls-icon", { key: '
|
|
33625
|
+
} }, index.h("ls-icon", { key: '31f07ba8c882572d7dc4cc1d2d643b6b9fc9567b', name: "arrow-up", size: "18" }))), this.signer.signerIndex !== this.template.roles.length && (index.h("div", { key: 'b495266ac65174095bfc5f5c99d8d11dc224680c', class: "innerButton", onClick: () => {
|
|
33617
33626
|
this.swapHandler(this.signer, this.template.roles[this.index + 1]);
|
|
33618
33627
|
}, style: {
|
|
33619
33628
|
'--default-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s40,
|
|
33620
33629
|
'--hover-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s60,
|
|
33621
|
-
} }, index.h("ls-icon", { key: '
|
|
33630
|
+
} }, index.h("ls-icon", { key: 'd915728e5c6fae1aa3e21b87772f50ae1add74a4', name: "arrow-down", size: "18" }))), index.h("div", { key: 'fb5c8efe0610c9bc1a92fce854383ddee064b414', class: "innerButton", onClick: () => {
|
|
33622
33631
|
this.editable = !this.editable;
|
|
33623
33632
|
}, style: {
|
|
33624
33633
|
'--default-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s40,
|
|
33625
33634
|
'--hover-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s60,
|
|
33626
|
-
} }, index.h("ls-icon", { key: '
|
|
33635
|
+
} }, index.h("ls-icon", { key: '306be44578bb974d9791e6e70bdd239d9a583b07', name: this.editable ? 'check' : 'pencil-alt', size: "18" })), index.h("div", { key: '2ebdf89cbb754ee7d1c960742e26b92ffbb17e03', class: "innerButton", onClick: () => {
|
|
33627
33636
|
this.deleteHandler(this.signer);
|
|
33628
33637
|
}, style: {
|
|
33629
33638
|
'--default-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s40,
|
|
33630
33639
|
'--hover-button-colour': defaultRolePalette[this.signer?.signerIndex % 100].s60,
|
|
33631
|
-
} }, index.h("ls-icon", { key: '
|
|
33640
|
+
} }, index.h("ls-icon", { key: '2604e84af51366f5f6ae7230671f19174c07e558', name: "trash", size: "18" })))), this.editable ? (index.h("div", { class: 'participant-card-inner' }, index.h("ls-input-wrapper", { select: true, leadingIcon: this.signer?.roleType === 'APPROVER' ? 'check-circle' : 'signature' }, index.h("select", { name: "roleType", id: "role-type", class: 'has-leading-icon', onChange: e => this.alter({ roleType: e.target.value }) }, index.h("option", { value: "APPROVER", selected: this.signer?.roleType === 'APPROVER' }, "Approver"), index.h("option", { value: "SIGNER", selected: this.signer?.roleType === 'SIGNER' }, "Signer"))), index.h("input", { type: "text", id: "participant-description", name: "participantDescription", placeholder: "Description, eg. Tenant 1, Agent", defaultValue: this.signer.name, onInput: e => this.alter({ name: e.target.value }), onKeyUp: e => {
|
|
33632
33641
|
if (e.key === 'Enter' || e.keyCode === 13)
|
|
33633
33642
|
this.editable = false;
|
|
33634
33643
|
} }))) : (index.h("div", { class: 'participant-card-text' }, index.h("p", { class: "participant-text-description", style: {
|
|
@@ -33639,7 +33648,7 @@ const LsParticipantCard = class {
|
|
|
33639
33648
|
} }, this.signer.roleType.toLowerCase()), this.signer?.roleType !== 'APPROVER' && (index.h("div", { class: 'role-label fields', style: {
|
|
33640
33649
|
background: participantFields.length === 0 ? defaultRolePalette[this.signer?.signerIndex % 100].s60 : defaultRolePalette[this.signer?.signerIndex % 100].s20,
|
|
33641
33650
|
color: participantFields.length === 0 ? 'white' : defaultRolePalette[this.signer?.signerIndex % 100].s90,
|
|
33642
|
-
} }, participantFields.length === 0 && index.h("ls-icon", { name: "exclamation-circle", size: "16", style: { marginRight: '0.125rem' } }), participantFields.length === 0 ? 'Signature Required' : `${participantFields.length} ${participantFields.length === 1 ? 'Field' : 'Fields'}`)))))), index.h("slot", { key: '
|
|
33651
|
+
} }, participantFields.length === 0 && index.h("ls-icon", { name: "exclamation-circle", size: "16", style: { marginRight: '0.125rem' } }), participantFields.length === 0 ? 'Signature Required' : `${participantFields.length} ${participantFields.length === 1 ? 'Field' : 'Fields'}`)))))), index.h("slot", { key: '58390837483cc083a241aedb2394d4506d556335' })));
|
|
33643
33652
|
}
|
|
33644
33653
|
static get watchers() { return {
|
|
33645
33654
|
"editable": ["modeHandler"]
|
|
@@ -33688,12 +33697,12 @@ const LsParticipantManager = class {
|
|
|
33688
33697
|
});
|
|
33689
33698
|
}
|
|
33690
33699
|
render() {
|
|
33691
|
-
return (index.h(index.Host, { key: '
|
|
33700
|
+
return (index.h(index.Host, { key: 'db542b3de20e782c4e9bb7eac957e1c7c2b22db8' }, index.h("div", { key: 'd493833cc1c033b1634d5994b36c2f3f877c47bb', class: "ls-editor-infobox" }, index.h("h2", { key: '2fe04b065ed7b8de4d4d62ce2a86382057246aa4', class: "toolbox-section-title" }, "Participants"), index.h("p", { key: '9947ce44db8189af987cff6e6832106cba0434be', class: "toolbox-section-description" }, "Select and Click to place Signature fields where you\u2019d like on the Document.")), index.h("div", { key: 'e83b00fe9b6e4801860c8fbe015f8b7fca4e3ba4', class: "participant-list" }, this.template &&
|
|
33692
33701
|
this.template?.roles.map((r, index$1) => {
|
|
33693
33702
|
return index.h("ls-participant-card", { signer: r, index: index$1, template: this.template, onOpened: (event) => {
|
|
33694
33703
|
this.handleOpened.bind(this)(event);
|
|
33695
33704
|
} });
|
|
33696
|
-
})), index.h("div", { key: '
|
|
33705
|
+
})), index.h("div", { key: '0e816153574f427c6204e719e4fd15b957c60313', class: 'add-participant-button' }, index.h("button", { key: '9811f3e2346752fe8c406491ceda3bf2bb9c84bd', onClick: () => this.addParticipant.emit({ type: 'SIGNER' }) }, index.h("ls-icon", { key: 'dad9c22b4247268ed8bbde6e7c470c50fd499a38', name: "user-add", size: "20", color: "var(--gray-100, #45484D);" }), index.h("p", { key: '18ec62c8b5f6b562f5e3cedcf98a2a9d398190c7' }, "Add Participant"))), index.h("slot", { key: 'eaaabf448e84231e22400e9130775be89ab6cec7' })));
|
|
33697
33706
|
}
|
|
33698
33707
|
};
|
|
33699
33708
|
LsParticipantManager.style = lsParticipantManagerCss;
|
|
@@ -33737,27 +33746,27 @@ const LsParticipantSelect = class {
|
|
|
33737
33746
|
this.addParticipant.emit({ type: 'SIGNER' });
|
|
33738
33747
|
}
|
|
33739
33748
|
render() {
|
|
33740
|
-
return (index.h(index.Host, { key: '
|
|
33749
|
+
return (index.h(index.Host, { key: 'd7e1a9ac807f6dc5b4144a8ad3e8d66abeb35bd0' }, index.h("div", { key: '47363349480ff656f8dfca4789c8676529693c53', class: "dropdown" }, index.h("div", { key: 'fba86589efce5c2bf1338d3425474c0b981b60c4', class: "dropdown-header", onClick: this.toggleDropdown }, index.h("svg", { key: '086311323f33a1bedfad3d3727934c4c91cdb966', width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '3cca120e120194c2f3fcf6db599589a14cc1bc3a', d: "M4 0.5H6.5C8.433 0.5 10 2.067 10 4V6.5C10 8.433 8.433 10 6.5 10H4C2.067 10 0.5 8.433 0.5 6.5V4C0.5 2.067 2.067 0.5 4 0.5Z", fill: "#78A3FA", stroke: "#F7F8FA" }), index.h("path", { key: '44fc7082de32342327fda0b722d68836b868a626', d: "M13.5 0.5H16C17.933 0.5 19.5 2.067 19.5 4V6.5C19.5 8.433 17.933 10 16 10H13.5C11.567 10 10 8.433 10 6.5V4C10 2.067 11.567 0.5 13.5 0.5Z", fill: "#46DBAA", stroke: "#F7F8FA" }), index.h("path", { key: '26d62e850926a6658ed1d22e7da2da2f5f10b77f', d: "M4 10H6.5C8.433 10 10 11.567 10 13.5V16C10 17.933 8.433 19.5 6.5 19.5H4C2.067 19.5 0.5 17.933 0.5 16V13.5C0.5 11.567 2.067 10 4 10Z", fill: "#FAD232", stroke: "#F7F8FA" }), index.h("path", { key: '07e7450ac7faf1e3ae8b90e8d6090cfb625e8d70', d: "M14.75 12.125V14.75M14.75 14.75V17.375M14.75 14.75H17.375M14.75 14.75L12.125 14.75", stroke: "#939599", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })), index.h("p", { key: '976ab0d692503daa8ff7ac9d95b83c7d4fba790f', class: 'placing-fields-text' }, "Placing Fields for"), index.h("div", { key: 'ba5776f833330caba78e4c828ff6ef35591a004d', class: 'selected-role-label', style: {
|
|
33741
33750
|
background: defaultRolePalette[this.selectedRole?.signerIndex % 100].s20,
|
|
33742
33751
|
color: defaultRolePalette[this.selectedRole?.signerIndex % 100].s80,
|
|
33743
|
-
} }, index.h("ls-icon", { key: '
|
|
33752
|
+
} }, index.h("ls-icon", { key: '49adb8e1055797953677f12c0cfaabb8191e2ebe', size: "18", name: this.selectedRole?.roleType === 'SENDER'
|
|
33744
33753
|
? 'user'
|
|
33745
33754
|
: this.selectedRole?.roleType === 'APPROVER'
|
|
33746
33755
|
? 'check-circle'
|
|
33747
33756
|
: this.selectedRole?.roleType === 'WITNESS'
|
|
33748
33757
|
? 'eye'
|
|
33749
33758
|
: 'signature' }), this.selectedRole.name ||
|
|
33750
|
-
(this.selectedRole.signerIndex > 100 ? `Participant ${this.selectedRole.signerIndex - 100} Witness` : `Participant ${this.selectedRole.signerIndex}`)), index.h("button", { key: '
|
|
33759
|
+
(this.selectedRole.signerIndex > 100 ? `Participant ${this.selectedRole.signerIndex - 100} Witness` : `Participant ${this.selectedRole.signerIndex}`)), index.h("button", { key: '99fe87cd5c660e935c534346389b761664ab56ac', class: 'tertiaryGrey expand-button', "aria-haspopup": "listbox", "aria-expanded": this.isOpen }, index.h("ls-icon", { key: '568fd6db105e15fd5a56843a33d4b0153047b2be', name: "chevron-down" }))), this.isOpen && (index.h("div", { key: 'c86526eb6abf39d9fbd2c8ef67110afa70dfc9cd', class: "dropdown-list" }, index.h("div", { key: '59c1046e912643a27c2f1a85b9f9ab9711583198', class: this.selectedRole?.signerIndex === 0 ? 'dropdown-item selected' : 'dropdown-item', style: {
|
|
33751
33760
|
'--background-selected': defaultRolePalette[0].s10,
|
|
33752
33761
|
'--check-icon-selected': defaultRolePalette[0].s50,
|
|
33753
|
-
}, onClick: () => this.selectRole({ signerIndex: 0, name: 'Sender', roleType: 'SENDER' }), onMouseEnter: e => e.currentTarget.querySelector('.check-icon')?.setAttribute('name', 'check-circle'), onMouseLeave: e => e.currentTarget.querySelector('.check-icon')?.setAttribute('name', this.selectedRole?.signerIndex !== 0 ? 'base-circle' : 'check-circle') }, index.h("div", { key: '
|
|
33762
|
+
}, onClick: () => this.selectRole({ signerIndex: 0, name: 'Sender', roleType: 'SENDER' }), onMouseEnter: e => e.currentTarget.querySelector('.check-icon')?.setAttribute('name', 'check-circle'), onMouseLeave: e => e.currentTarget.querySelector('.check-icon')?.setAttribute('name', this.selectedRole?.signerIndex !== 0 ? 'base-circle' : 'check-circle') }, index.h("div", { key: 'ead01a1838a0eae309c73c890df49b0af10d4ffe', class: 'role-icon', style: {
|
|
33754
33763
|
background: defaultRolePalette[0].s50,
|
|
33755
33764
|
color: defaultRolePalette[0].s80,
|
|
33756
|
-
} }, index.h("ls-icon", { key: '
|
|
33765
|
+
} }, index.h("ls-icon", { key: 'f4a40cce279a8925883ccf8c51522ca5c5c2d5de', name: "user" })), index.h("div", { key: '492c72b6065b3c1726a69a8f54cab19e2ab54b6b', class: 'role-text' }, index.h("p", { key: 'e79745f26fad89503f8739a73493f99e7ee00857', class: 'role-name', style: {
|
|
33757
33766
|
'--role-name-selected': defaultRolePalette[0].s80,
|
|
33758
|
-
} }, 'Sender'), index.h("p", { key: '
|
|
33767
|
+
} }, 'Sender'), index.h("p", { key: '9528211744fbc4f3eed911835fdb1036130fb1eb', class: 'role-type', style: {
|
|
33759
33768
|
'--role-type-selected': defaultRolePalette[0].s80,
|
|
33760
|
-
} }, "You")), index.h("ls-icon", { key: '
|
|
33769
|
+
} }, "You")), index.h("ls-icon", { key: '9c56456a3d894f209198bb7fd4dccd8eb28481f8', class: 'check-icon', name: this.selectedRole?.signerIndex === 0 ? 'check-circle' : 'base-circle', solid: this.selectedRole?.signerIndex === 0 })), this.roles.map(r => (index.h("div", { class: r.signerIndex === this.selectedRole?.signerIndex ? 'dropdown-item selected' : 'dropdown-item', style: {
|
|
33761
33770
|
'--background-selected': defaultRolePalette[r?.signerIndex % 100].s10,
|
|
33762
33771
|
'--check-icon-selected': defaultRolePalette[r?.signerIndex % 100].s50,
|
|
33763
33772
|
}, onClick: () => this.selectRole(r), onMouseEnter: e => e.currentTarget.querySelector('.check-icon')?.setAttribute('name', 'check-circle'), onMouseLeave: e => e.currentTarget
|
|
@@ -33769,10 +33778,10 @@ const LsParticipantSelect = class {
|
|
|
33769
33778
|
'--role-name-selected': defaultRolePalette[r?.signerIndex % 100].s100,
|
|
33770
33779
|
} }, r.name || (r.signerIndex > 100 ? `Participant ${r.signerIndex - 100} Witness` : `Participant ${r.signerIndex}`)), index.h("p", { class: 'role-type', style: {
|
|
33771
33780
|
'--role-type-selected': defaultRolePalette[r?.signerIndex % 100].s80,
|
|
33772
|
-
} }, r.roleType === 'WITNESS' ? 'Witness' : r.roleType === 'APPROVER' ? 'Approver' : 'Signer')), index.h("ls-icon", { class: 'check-icon', name: r.signerIndex === this.selectedRole?.signerIndex ? 'check-circle' : 'base-circle', solid: r.signerIndex === this.selectedRole?.signerIndex })))), index.h("button", { key: '
|
|
33781
|
+
} }, r.roleType === 'WITNESS' ? 'Witness' : r.roleType === 'APPROVER' ? 'Approver' : 'Signer')), index.h("ls-icon", { class: 'check-icon', name: r.signerIndex === this.selectedRole?.signerIndex ? 'check-circle' : 'base-circle', solid: r.signerIndex === this.selectedRole?.signerIndex })))), index.h("button", { key: 'b121dc76fbb72993b494bb046f564f0689208984', onClick: () => this.createHandler(), class: 'add-participant-row', style: {
|
|
33773
33782
|
'--background-selected': defaultRolePalette[1].s10,
|
|
33774
33783
|
'--check-icon-selected': defaultRolePalette[1].s50,
|
|
33775
|
-
} }, index.h("div", { key: '
|
|
33784
|
+
} }, index.h("div", { key: '12f6b52a719b3ba1f8485275579f807ba7a46965', class: 'add-participant-icon' }, index.h("ls-icon", { key: '4812fd6b6e4df9e52e2c012f7515abbe52780e15', name: "user-add" })), index.h("div", { key: '111fc70177c84d6eb987b0a6a6a4f8c83915e398', class: 'role-text' }, index.h("p", { key: 'a0f852ec3e0f8548c1104fb5481dd8b361960e86', class: 'role-name' }, "Add Participant"), index.h("p", { key: 'd12e8b87c28a0af1f0de20d8329c07c0547a134a', class: 'role-type' }, "Add a new Signer")), index.h("ls-icon", { key: 'b1251311dbf746ce4f0358b4e0408d373dec1a24', class: 'plus-icon', name: "plus" }))))), index.h("slot", { key: 'ecf266c452257580bd8dc441bdc6efa0a7c57117' })));
|
|
33776
33785
|
}
|
|
33777
33786
|
};
|
|
33778
33787
|
LsParticipantSelect.style = lsParticipantSelectCss;
|
|
@@ -33787,7 +33796,7 @@ const LsPropsSection = class {
|
|
|
33787
33796
|
sectionDescription;
|
|
33788
33797
|
row = false;
|
|
33789
33798
|
render() {
|
|
33790
|
-
return (index.h(index.Host, { key: '
|
|
33799
|
+
return (index.h(index.Host, { key: '63de6a931a143fd03befa3148e6ad410a3095d5e' }, index.h("div", { key: '063a2d14e8e4ff14fa558b64dd1e4d72c5837e4b', class: this.row ? 'ls-field-properties-section row' : 'ls-field-properties-section' }, index.h("div", { key: '5e39b25cc760e0776e19f88d7d34ebbc13bc3c1c', class: 'ls-field-properties-section-text' }, index.h("p", { key: '3de0465a534e23babe24662a0fa275530c58a4fb', class: 'ls-field-properties-section-title' }, this.sectionTitle), this.sectionDescription && index.h("p", { key: '453661f8c9c064e302b31c2b8a2d6218830de2e8', class: 'ls-field-properties-section-description' }, this.sectionDescription)), index.h("slot", { key: 'f98bdd4005ad484ba7b9a8ac3c10180c2573a906' }))));
|
|
33791
33800
|
}
|
|
33792
33801
|
};
|
|
33793
33802
|
LsPropsSection.style = lsPropsSectionCss;
|
|
@@ -33808,7 +33817,7 @@ const LsRadioInput = class {
|
|
|
33808
33817
|
render() {
|
|
33809
33818
|
const { label, radioId, icon, name, disabled, checked, customStyle, } = this;
|
|
33810
33819
|
const radioLabelClass = clsx('radioLabel', disabled && 'disabled', checked && 'checked');
|
|
33811
|
-
return (index.h("label", { key: '
|
|
33820
|
+
return (index.h("label", { key: 'f842c73069577e50a3fa643494b686f6413196dd', htmlFor: radioId, tabIndex: 0, class: radioLabelClass, style: customStyle }, index.h("input", { key: '9ab75a30b8685cb3153a4b4c7b9cac95743fd469', type: 'radio', class: 'inputClass', id: radioId, name: name, value: label, disabled: disabled, tabIndex: 0, checked: checked }), index.h("div", { key: '1e6980fc937541928d0034e38c0425ad6e7f3a00', class: 'spanContainer' }, index.h("span", { key: '8e7a45279b47ee505e7208d3f6841946d95bf7c9' }, icon && index.h("ls-icon", { key: 'd6c0d0a2aa0d0dc3bf65c3d179aa71bd3e2cab13', name: icon, size: "16" })), index.h("span", { key: '8eb49e400a3bebc41cabfa95fa5c63a2b76a4330' }, label))));
|
|
33812
33821
|
}
|
|
33813
33822
|
};
|
|
33814
33823
|
LsRadioInput.style = lsRadioInputCss;
|
|
@@ -33845,7 +33854,7 @@ const LsSelectInput = class {
|
|
|
33845
33854
|
: displayOnly
|
|
33846
33855
|
? 'displayOnly'
|
|
33847
33856
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
33848
|
-
return (index.h("host", { key: '
|
|
33857
|
+
return (index.h("host", { key: 'e4ee06f9cfe6012508881ef1b5bbeb9e62400046', class: 'host' }, fieldIcon && (index.h("ls-icon", { key: '074c0f1d4b6675800cb383379b712085055075d4', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), index.h("select", { key: '65f1f13cfcd216eefd221754e1462d51a1667af3', class: inputClass, id: name, name: name, "aria-label": aria, required: required, disabled: disabled }, index.h("slot", { key: '0d9db0ca5a8924e015e721d26891eec381abf711' })), index.h("div", { key: 'fcbb0cd93cbf869eb4f3621e6197c7ae98b061f0', class: 'right-items' }, dirty && !disabled && (index.h("ls-icon", { key: 'd2e26374cdf9724a6abebafc82a8281966282f1f', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon ? (index.h("button", { class: 'button', onClick: buttonClick }, index.h("ls-icon", { id: 'buttonIcon', name: buttonIcon }))) : (index.h("ls-icon", { id: disabled ? 'select-arrow-disabled' : 'select-arrow', name: 'chevron-down' })))));
|
|
33849
33858
|
}
|
|
33850
33859
|
};
|
|
33851
33860
|
LsSelectInput.style = lsSelectInputCss;
|
|
@@ -33889,11 +33898,11 @@ const LsStatusbar = class {
|
|
|
33889
33898
|
this.zoom = this.editor.zoom;
|
|
33890
33899
|
}
|
|
33891
33900
|
render() {
|
|
33892
|
-
return (index.h(index.Host, { key: '
|
|
33901
|
+
return (index.h(index.Host, { key: '3be2a0dcb5f07ec4530963c4921287db1722d34f' }, index.h("div", { key: 'e6b1cc2ba3d89717418bfa731ba5465d721330c7', class: "status-bar-section" }, index.h("button", { key: '1da63862b88fe5c89e1717811f1754d058fc440e', onClick: () => this.setZoom(this.editor.zoom * 0.8) }, index.h("ls-icon", { key: '8718ed60f74f4bad4a5c96adf94ae159c2fd6db1', name: "zoom-out" })), index.h("div", { key: '583b01ac6a1701ea445218633309dc75257aecad' }, index.h("input", { key: '0305e05cc942cf38cfc4c8d648f24895bbbd75ee', type: "range", min: "1", max: "300", value: this.zoom * 100, class: "slider", id: "zoomRange", onInput: () => this.handleZoomInput() })), index.h("button", { key: '988054a084583d5ecfc5b927763361fb6dbc524a', onClick: () => this.setZoom(this.editor.zoom / 0.8) }, index.h("ls-icon", { key: '45392d8bdcacc1897c953ccd9cbf55fbdd39c413', name: "zoom-in" }))), index.h("div", { key: '291121b5da20ef25303298047f357f770b6856d9', class: "status-bar-section" }, index.h("button", { key: '2c005f38ad45b77a5d1f286ed7020568aa253f7c', onClick: () => this.fitWidth() }, index.h("ls-icon", { key: '865e4c95b4c434b80ede6353261fd1f689a4997b', name: "fit-width" })), index.h("button", { key: '34fd96dfad199d7ec24e1747e53b02351493198f', onClick: () => this.fitHeight() }, index.h("ls-icon", { key: '437675aa53165d94afc871f3b9b6535c1d1eca66', name: "fit-height" }))), index.h("div", { key: '446652590467df37a108decd8976b2fc9fab55a0', class: "status-bar-section" }, index.h("button", { key: 'e3d9f38997cc4acafc2f23c6265dea5c72401ce4', onClick: () => {
|
|
33893
33902
|
this.editor.pagePrev();
|
|
33894
|
-
} }, index.h("ls-icon", { key: '
|
|
33903
|
+
} }, index.h("ls-icon", { key: '46836c2b2844e054afcf5cf507fb244c1455ad1f', name: "chevron-left" })), index.h("p", { key: '2b8011c6be1d9a70e5342ab4aa4d8862dd72bad8' }, this.editor?.pageNum, " / ", this.editor?._template?.pageCount), index.h("button", { key: '4dbf24b5e492136c90000d8c89ae0b392d1136fe', onClick: () => {
|
|
33895
33904
|
this.editor.pageNext();
|
|
33896
|
-
} }, index.h("ls-icon", { key: '
|
|
33905
|
+
} }, index.h("ls-icon", { key: '3cfc0baeeb1cf6325d2a2de4f794e9a88f98df15', name: "chevron-right" }))), index.h("slot", { key: 'e6e28000cb9b81b4bacec56c95962b367f3b3049' })));
|
|
33897
33906
|
}
|
|
33898
33907
|
};
|
|
33899
33908
|
LsStatusbar.style = lsStatusbarCss;
|
|
@@ -33939,13 +33948,13 @@ const LsTextInput = class {
|
|
|
33939
33948
|
: dirty && !valid
|
|
33940
33949
|
? 'invalid'
|
|
33941
33950
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
33942
|
-
return (index.h(index.Host, { key: '
|
|
33951
|
+
return (index.h(index.Host, { key: '7ce2244115383d8d213b01f3d16f33578f6dc8bb', class: 'host' }, fieldIcon && (index.h("ls-icon", { key: 'a9e7141c0b35642d54134757060d6bb0209cced4', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), type === 'password' ? (index.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) => {
|
|
33943
33952
|
this.changeHandler(e);
|
|
33944
33953
|
} })) : type === 'displayonly' ? (index.h("input", { class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: true, onChange: (e) => {
|
|
33945
33954
|
this.changeHandler(e);
|
|
33946
33955
|
} })) : (index.h("input", { class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onChange: (e) => {
|
|
33947
33956
|
this.changeHandler(e);
|
|
33948
|
-
} })), index.h("div", { key: '
|
|
33957
|
+
} })), index.h("div", { key: '183a47c3e4cf6254be4f3371bea800311d3ba255', class: 'right-items' }, dirty && !disabled && (index.h("ls-icon", { key: '51525d56ebb0207dc4f40d936dfc781302bb1cc2', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (index.h("button", { key: '8911069152bb11758c782078b49d8e512aba524e', class: 'button', onClick: buttonClick }, index.h("ls-icon", { key: '22a019c1d4a57c8733bb4ac1b5cd726aad32543d', id: 'buttonIcon', name: buttonIcon }))), type === 'password' && !buttonIcon && (index.h("ls-icon-button", { key: 'd1015a82b3cec1d8eecfb7fb9ed6850a9d6bb2f6', id: 'password-icon', icon: showPassword ? 'eye' : 'eye-off', onClick: handlePassword })))));
|
|
33949
33958
|
}
|
|
33950
33959
|
};
|
|
33951
33960
|
LsTextInput.style = lsTextInputCss;
|
|
@@ -33981,7 +33990,7 @@ const LsTextareaInput = class {
|
|
|
33981
33990
|
: displayOnly
|
|
33982
33991
|
? 'displayOnly'
|
|
33983
33992
|
: 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
|
|
33984
|
-
return (index.h("host", { key: '
|
|
33993
|
+
return (index.h("host", { key: 'a47ced7dc6146a6fd69e92b668ae85ab0f111881', class: 'host' }, fieldIcon && (index.h("ls-icon", { key: '763a1f8e831e31398eef396395cae9e25888100f', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), index.h("textarea", { key: '3fc4892b48122161f061724ae08addbdc5fedc7d', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled }), index.h("div", { key: '396a40c7688e8aef2e6319fb3a112cee7d6dd7aa', class: 'right-items' }, dirty && !disabled && (index.h("ls-icon", { key: 'e8ab22f4bdb4420f9401ff8927867a07c5b3a26c', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (index.h("button", { key: '37a308b5162b4082e34d86b8a070eb13ec17887a', class: 'button', onClick: buttonClick }, index.h("ls-icon", { key: '02f723aa88e3bd2494bfbd5ac3420eeb90393fa6', id: 'buttonIcon', name: buttonIcon }))))));
|
|
33985
33994
|
}
|
|
33986
33995
|
};
|
|
33987
33996
|
LsTextareaInput.style = lsTextareaInputCss;
|
|
@@ -33999,9 +34008,9 @@ const LsToggle = class {
|
|
|
33999
34008
|
this.valueChange.emit(value);
|
|
34000
34009
|
}
|
|
34001
34010
|
render() {
|
|
34002
|
-
return (index.h(index.Host, { key: '
|
|
34011
|
+
return (index.h(index.Host, { key: '8e2b42e0c10adf0e14b56fe2f6ed8f94d6441d09' }, index.h("label", { key: '96372c7e550570bacfff4115fe9cf6927722c985', class: "switch" }, index.h("input", { key: 'e9b6f17104035a7bcf25d2e60641847f711619ba', type: "checkbox", checked: this.checked, onChange: (e) => {
|
|
34003
34012
|
this.changeHandler(e.target.checked);
|
|
34004
|
-
} }), index.h("span", { key: '
|
|
34013
|
+
} }), index.h("span", { key: '8fd5cd6aadce53fcbb3250db520a2678870da632', class: "slider round" })), index.h("slot", { key: '39608b536c127892c425f4d2c634ea52237e21de' })));
|
|
34005
34014
|
}
|
|
34006
34015
|
};
|
|
34007
34016
|
LsToggle.style = lsToggleCss;
|
|
@@ -34050,7 +34059,7 @@ const LsToolbar = class {
|
|
|
34050
34059
|
this.update.emit(diffs);
|
|
34051
34060
|
}
|
|
34052
34061
|
render() {
|
|
34053
|
-
return (index.h(index.Host, { key: '
|
|
34062
|
+
return (index.h(index.Host, { key: 'd2586e6c8588c051ed075fde8bb9d5a279877986' }, this.dataItem && this.dataItem.length > 1 ? (index.h("div", { class: 'rowbox' }, index.h("ls-field-format", { dataItem: this?.dataItem }))) : (index.h("div", { class: 'rowbox' }, index.h("ls-field-format", { dataItem: this?.dataItem, style: { visibility: this.dataItem && this.dataItem.length === 1 ? 'visible' : 'hidden' } }), index.h("ls-participant-select", { id: "ls-participant-select", roles: this.template?.roles, dataItem: this?.dataItem, style: { visibility: this.dataItem && this.dataItem.length === 1 ? 'hidden' : 'visible' } }))), index.h("slot", { key: 'c6bd677b349de454be70ce1938b1231e21739b88' })));
|
|
34054
34063
|
}
|
|
34055
34064
|
};
|
|
34056
34065
|
LsToolbar.style = lsToolbarCss;
|
|
@@ -34104,7 +34113,7 @@ const LsToolboxField = class {
|
|
|
34104
34113
|
}
|
|
34105
34114
|
}
|
|
34106
34115
|
render() {
|
|
34107
|
-
return (index.h(index.Host, { key: '
|
|
34116
|
+
return (index.h(index.Host, { key: 'b8e9ac652b417109c0efe1f2629885bbc48b7f5b', draggable: "true" }, index.h("div", { key: 'de04c17c4eb93e027f7ec3d368a0d0c785365978', class: "toolbox-field-icon", style: { '--signer-color-light': defaultRolePalette[this.signer % 100].s10, '--signer-color': defaultRolePalette[this.signer % 100].s60 } }, index.h("ls-icon", { key: '37a6a947d1e50e3bf659406f8fbd14d4e52a3625', name: this.icon, size: "20" })), index.h("p", { key: '0ad0c41c97fbb3398839502b29cecf50091560be', class: "toolbox-field-label" }, this.label), index.h("ls-icon", { key: '87173c300c80ae2bbf7bd8e3b0ff67f48712e402', name: "drag-vertical", size: "16", color: "#787a80" })));
|
|
34108
34117
|
}
|
|
34109
34118
|
};
|
|
34110
34119
|
LsToolboxField.style = lsToolboxFieldCss;
|
|
@@ -34119,14 +34128,17 @@ const LsValidationTag = class {
|
|
|
34119
34128
|
validationErrors = [];
|
|
34120
34129
|
isExpanded = false;
|
|
34121
34130
|
render() {
|
|
34122
|
-
return (index.h(index.Host, { key: '
|
|
34123
|
-
|
|
34124
|
-
|
|
34125
|
-
|
|
34126
|
-
|
|
34127
|
-
|
|
34128
|
-
|
|
34129
|
-
|
|
34131
|
+
return (index.h(index.Host, { key: '0cc1542e1fc6360b9f697048edccc4b5cf9d04db' }, index.h("div", { key: '801ddb23b2c5a1ae1b20f0057f6ef5c0d6f5f98d', class: `valid-label ${this.validationErrors.length === 0 ? 'valid' : 'invalid'}`, onClick: this.status !== 'Valid' && (() => (this.isExpanded = !this.isExpanded)) }, this.validationErrors.length === 0 ? 'Ready to Send' : `Requires Fields`, this.validationErrors.length > 0 && index.h("div", { key: '654bc4a92c3f443869deebfa0442ce291fddcb2f', class: 'field-counter' }, this.validationErrors.length), this.validationErrors.length > 0 && index.h("ls-icon", { key: '39f5bd1553370e7afbfef3f8ada98ce020bd154b', name: this.isExpanded ? 'chevron-up' : 'chevron-down', style: { cursor: 'pointer', scale: '0.60', margin: '0 -0.25rem' } })), this.isExpanded && (index.h("div", { key: '132baa5cb7d975470bcff691088263d0844c6f76', class: 'field-dropdown' }, index.h("div", { key: '77274cfcac7520a68703ec2ebd71bfc7220374d9', class: 'dropdown-header' }, index.h("h2", { key: '5e8c99e97ed5f4e5ca30c87b739f5481a15c54d6' }, "Signature Fields Required"), index.h("p", { key: 'fd48c075cba33d06570c41c7f0d62a1bd662cce8' }, this.validationErrors.length, " ", this.validationErrors.length === 1 ? 'Recipient needs a Signature Field' : 'Recipients need Signature Fields', " placed for them")), this.validationErrors.map((field, idx) => {
|
|
34132
|
+
const pallette = defaultRolePalette[field?.role?.signerIndex || field?.element?.signer || 0];
|
|
34133
|
+
return index.h("div", { key: idx, class: 'required-field', style: {
|
|
34134
|
+
'--field-background': pallette.s10,
|
|
34135
|
+
'--field-border-color': pallette.s10,
|
|
34136
|
+
'--field-background-hover': pallette.s20,
|
|
34137
|
+
'--field-text-color': pallette.s70,
|
|
34138
|
+
'--field-text-color-hover': pallette.s80,
|
|
34139
|
+
'--field-border-color-hover': pallette.s60,
|
|
34140
|
+
} }, index.h("div", { class: 'required-field-items-left' }, index.h("div", { class: 'dot', style: { background: pallette.s60 } }), field?.role && index.h(index.h.Fragment, null, index.h("p", { style: { color: pallette.s80 } }, field.role?.name || `Signer ${field?.role?.signerIndex + 1}`), index.h("div", { class: 'role-label', style: { background: pallette.s30, color: pallette.s70 } }, field.role?.roleType || `Signer ${field.role?.signerIndex + 1}`)), field?.element && index.h(index.h.Fragment, null, index.h("p", { style: { color: pallette.s80 } }, field.role?.name || `${field.element.formElementType} ${field?.element?.label + 1}`), index.h("div", { class: 'role-label', style: { background: pallette.s30, color: pallette.s70 } }, field.description))), index.h("ls-icon", { name: "chevron-right" }));
|
|
34141
|
+
})))));
|
|
34130
34142
|
}
|
|
34131
34143
|
};
|
|
34132
34144
|
LsValidationTag.style = lsValidationTagCss;
|