legalesign-document-viewer 0.1.2 → 0.1.3
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_35.cjs.entry.js +109 -51
- package/dist/cjs/ls-document-options_35.cjs.entry.js.map +1 -1
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/collection/components/ls-document-viewer/defaultPalette.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/editorCalculator.js +2 -2
- package/dist/collection/components/ls-document-viewer/editorCalculator.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +11 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +8 -6
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-editor-field/ls-editor-field.js +6 -3
- package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -1
- package/dist/collection/components/ls-field-placement/ls-field-placement.css +27 -9
- package/dist/collection/components/ls-field-placement/ls-field-placement.js +1 -1
- package/dist/collection/components/ls-field-placement/ls-field-placement.js.map +1 -1
- package/dist/collection/components/ls-field-properties/ls-field-properties.css +1 -0
- package/dist/collection/components/ls-field-properties/ls-field-properties.js +1 -1
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js +1 -1
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.css +173 -10
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +36 -1
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js.map +1 -1
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.css +178 -4
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +36 -1
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js.map +1 -1
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.css +178 -3
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +36 -1
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js.map +1 -1
- package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +1 -1
- package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js +1 -1
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +1 -1
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +1 -1
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.css +49 -4
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +12 -1
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js.map +1 -1
- package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +1 -1
- package/dist/collection/components/ls-field-size/ls-field-size.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +1 -1
- package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +1 -1
- package/dist/collection/components/ls-formfield/ls-formfield.js +2 -2
- package/dist/collection/components/ls-icon/ls-icon.js +1 -1
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +2 -2
- package/dist/collection/components/ls-participant-select/ls-participant-select.js +4 -4
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -3
- package/dist/collection/components/ls-toggle/ls-toggle.js +1 -1
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.css +3 -4
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +25 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js.map +1 -1
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +45 -43
- 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-dimensions.js +1 -1
- package/dist/components/ls-field-distribute.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-autosign.js +1 -1
- package/dist/components/ls-field-properties-date.js +1 -1
- 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-formfield.js +1 -1
- package/dist/components/ls-icon.js +1 -1
- package/dist/components/ls-number-input.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-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/{p-B9qKX3S0.js → p-6hZjNCO9.js} +5 -5
- package/dist/components/{p-B9qKX3S0.js.map → p-6hZjNCO9.js.map} +1 -1
- package/dist/components/{p-B1X25Dz_.js → p-B2NrT7P4.js} +5 -5
- package/dist/components/{p-B1X25Dz_.js.map → p-B2NrT7P4.js.map} +1 -1
- package/dist/components/{p-DC7lKZUf.js → p-B3WqeRix.js} +5 -5
- package/dist/components/{p-DC7lKZUf.js.map → p-B3WqeRix.js.map} +1 -1
- package/dist/components/{p-CF583nkL.js → p-BBfc4kkx.js} +7 -7
- package/dist/components/{p-CF583nkL.js.map → p-BBfc4kkx.js.map} +1 -1
- package/dist/components/{p-CEGQ-SIb.js → p-BDgNCPwS.js} +4 -4
- package/dist/components/{p-CEGQ-SIb.js.map → p-BDgNCPwS.js.map} +1 -1
- package/dist/components/{p-BxXqIouU.js → p-BEtorVYP.js} +5 -5
- package/dist/components/{p-BxXqIouU.js.map → p-BEtorVYP.js.map} +1 -1
- package/dist/components/p-BHOXtRwH.js +74 -0
- package/dist/components/p-BHOXtRwH.js.map +1 -0
- package/dist/components/{p-BlTHDG0s.js → p-BIp2Inn2.js} +3 -3
- package/dist/components/{p-BlTHDG0s.js.map → p-BIp2Inn2.js.map} +1 -1
- package/dist/components/{p-8QmwtD0L.js → p-BM12bWfu.js} +9 -6
- package/dist/components/p-BM12bWfu.js.map +1 -0
- package/dist/components/{p-D2smwTu5.js → p-B_eQ2Gz-.js} +7 -7
- package/dist/components/{p-D2smwTu5.js.map → p-B_eQ2Gz-.js.map} +1 -1
- package/dist/components/{p-Ct78kJaE.js → p-Bl6sK4Wf.js} +5 -5
- package/dist/components/{p-Ct78kJaE.js.map → p-Bl6sK4Wf.js.map} +1 -1
- package/dist/components/{p-DtHDNV_x.js → p-BoA6mH9f.js} +3 -3
- package/dist/components/{p-DtHDNV_x.js.map → p-BoA6mH9f.js.map} +1 -1
- package/dist/components/{p-CgRZ91kw.js → p-BuHDdmKo.js} +3 -3
- package/dist/components/{p-CgRZ91kw.js.map → p-BuHDdmKo.js.map} +1 -1
- package/dist/components/p-C-B8sqqJ.js +77 -0
- package/dist/components/p-C-B8sqqJ.js.map +1 -0
- package/dist/components/p-C00GqV9f.js.map +1 -1
- package/dist/components/p-CTKLmmO3.js +72 -0
- package/dist/components/p-CTKLmmO3.js.map +1 -0
- package/dist/components/{p-RoGGAmRf.js → p-CToSoYU7.js} +4 -4
- package/dist/components/{p-RoGGAmRf.js.map → p-CToSoYU7.js.map} +1 -1
- package/dist/components/{p-CnIzN0a9.js → p-Ciz2QmDr.js} +5 -5
- package/dist/components/{p-CnIzN0a9.js.map → p-Ciz2QmDr.js.map} +1 -1
- package/dist/components/{p-D3p38qOI.js → p-D4hGTY-V.js} +4 -4
- package/dist/components/{p-D3p38qOI.js.map → p-D4hGTY-V.js.map} +1 -1
- package/dist/components/{p-py-rQZsT.js → p-D8LhlUeT.js} +3 -3
- package/dist/components/{p-py-rQZsT.js.map → p-D8LhlUeT.js.map} +1 -1
- package/dist/components/{p-D3GPRslH.js → p-DBphBrvt.js} +10 -10
- package/dist/components/{p-D3GPRslH.js.map → p-DBphBrvt.js.map} +1 -1
- package/dist/components/{p-B1Q1LddX.js → p-DFgg8jhU.js} +5 -5
- package/dist/components/{p-B1Q1LddX.js.map → p-DFgg8jhU.js.map} +1 -1
- package/dist/components/{p-BI9SKPKN.js → p-DKmDGdr_.js} +3 -3
- package/dist/components/{p-BI9SKPKN.js.map → p-DKmDGdr_.js.map} +1 -1
- package/dist/components/{p-DTWaVEKo.js → p-DQthTAGK.js} +17 -17
- package/dist/components/p-DQthTAGK.js.map +1 -0
- package/dist/components/{p-pHw5Xziq.js → p-DS45bzgL.js} +3 -3
- package/dist/components/{p-pHw5Xziq.js.map → p-DS45bzgL.js.map} +1 -1
- package/dist/components/p-DT0wHPjN.js +77 -0
- package/dist/components/p-DT0wHPjN.js.map +1 -0
- package/dist/components/{p-GHcj9VUq.js → p-DXP-R4_o.js} +4 -4
- package/dist/components/{p-GHcj9VUq.js.map → p-DXP-R4_o.js.map} +1 -1
- package/dist/components/{p-D7KC-w81.js → p-DlfoNwRm.js} +10 -10
- package/dist/components/{p-D7KC-w81.js.map → p-DlfoNwRm.js.map} +1 -1
- package/dist/components/{p-CpK4mw5O.js → p-Eq1IwvY5.js} +3 -3
- package/dist/components/{p-CpK4mw5O.js.map → p-Eq1IwvY5.js.map} +1 -1
- package/dist/components/{p-D1o9mMCC.js → p-PVKJexBt.js} +9 -9
- package/dist/components/{p-D1o9mMCC.js.map → p-PVKJexBt.js.map} +1 -1
- package/dist/components/p-R3D1POuE.js +77 -0
- package/dist/components/p-R3D1POuE.js.map +1 -0
- package/dist/components/p-X9ibhDjX.js +91 -0
- package/dist/components/p-X9ibhDjX.js.map +1 -0
- package/dist/components/{p-CjicL5jA.js → p-YpxkkST1.js} +3 -3
- package/dist/components/{p-CjicL5jA.js.map → p-YpxkkST1.js.map} +1 -1
- package/dist/components/{p-IGbuOsUA.js → p-aHGDKnIY.js} +4 -4
- package/dist/components/{p-IGbuOsUA.js.map → p-aHGDKnIY.js.map} +1 -1
- package/dist/components/{p-Cs6tf1FE.js → p-cFB-6W0U.js} +3 -3
- package/dist/components/{p-Cs6tf1FE.js.map → p-cFB-6W0U.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-document-options_35.entry.js +109 -51
- package/dist/esm/ls-document-options_35.entry.js.map +1 -1
- package/dist/esm/ls-document-viewer.js +1 -1
- package/dist/ls-document-viewer/{editorUtils-DbS95k5h.js.map → editorUtils-ClLXAGwA.js.map} +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/{p-85c0f6fa.entry.js → p-9946fb79.entry.js} +5 -5
- package/dist/ls-document-viewer/p-9946fb79.entry.js.map +1 -0
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +1 -0
- package/dist/types/components/ls-field-properties-date/ls-field-properties-date.d.ts +2 -0
- package/dist/types/components/ls-field-properties-email/ls-field-properties-email.d.ts +2 -0
- package/dist/types/components/ls-field-properties-file/ls-field-properties-file.d.ts +2 -0
- package/dist/types/components/ls-field-properties-signature/ls-field-properties-signature.d.ts +1 -0
- package/dist/types/components/ls-toolbox-field/ls-toolbox-field.d.ts +4 -0
- package/dist/types/components.d.ts +34 -0
- package/package.json +1 -1
- package/dist/components/p-8QmwtD0L.js.map +0 -1
- package/dist/components/p-BNKSb1yR.js +0 -49
- package/dist/components/p-BNKSb1yR.js.map +0 -1
- package/dist/components/p-C93Q3D_9.js +0 -49
- package/dist/components/p-C93Q3D_9.js.map +0 -1
- package/dist/components/p-CTraMHE_.js +0 -49
- package/dist/components/p-CTraMHE_.js.map +0 -1
- package/dist/components/p-D4wPRNKc.js +0 -86
- package/dist/components/p-D4wPRNKc.js.map +0 -1
- package/dist/components/p-DTWaVEKo.js.map +0 -1
- package/dist/components/p-Dxupmj0q.js +0 -63
- package/dist/components/p-Dxupmj0q.js.map +0 -1
- package/dist/components/p-RFw2Bsri.js +0 -72
- package/dist/components/p-RFw2Bsri.js.map +0 -1
- package/dist/ls-document-viewer/ls-document-viewer.entry.esm.js.map +0 -1
- package/dist/ls-document-viewer/ls-document-viewer.entry.js +0 -24928
- package/dist/ls-document-viewer/ls-document-viewer.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-85c0f6fa.entry.js.map +0 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DjfDnBZ1.js';
|
|
2
2
|
import { d as defaultRolePalette } from './p-C00GqV9f.js';
|
|
3
|
-
import { a as alter, o as oob, m as matchData, g as getApiType } from './p-
|
|
4
|
-
import { d as defineCustomElement$z } from './p-
|
|
5
|
-
import { d as defineCustomElement$y } from './p-
|
|
3
|
+
import { a as alter, o as oob, m as matchData, g as getApiType } from './p-YpxkkST1.js';
|
|
4
|
+
import { d as defineCustomElement$z } from './p-DlfoNwRm.js';
|
|
5
|
+
import { d as defineCustomElement$y } from './p-BM12bWfu.js';
|
|
6
6
|
import { d as defineCustomElement$x } from './p-C9AqDCzm.js';
|
|
7
|
-
import { d as defineCustomElement$w } from './p-
|
|
8
|
-
import { d as defineCustomElement$v } from './p-
|
|
9
|
-
import { d as defineCustomElement$u } from './p-
|
|
10
|
-
import { d as defineCustomElement$t } from './p-
|
|
11
|
-
import { d as defineCustomElement$s } from './p-
|
|
12
|
-
import { d as defineCustomElement$r } from './p-
|
|
13
|
-
import { d as defineCustomElement$q } from './p-
|
|
14
|
-
import { d as defineCustomElement$p } from './p-
|
|
15
|
-
import { d as defineCustomElement$o } from './p-
|
|
16
|
-
import { d as defineCustomElement$n } from './p-
|
|
17
|
-
import { d as defineCustomElement$m } from './p-
|
|
18
|
-
import { d as defineCustomElement$l } from './p-
|
|
19
|
-
import { d as defineCustomElement$k } from './p-
|
|
20
|
-
import { d as defineCustomElement$j } from './p-
|
|
21
|
-
import { d as defineCustomElement$i } from './p-
|
|
22
|
-
import { d as defineCustomElement$h } from './p-
|
|
23
|
-
import { d as defineCustomElement$g } from './p-
|
|
24
|
-
import { d as defineCustomElement$f } from './p-
|
|
25
|
-
import { d as defineCustomElement$e } from './p-
|
|
26
|
-
import { d as defineCustomElement$d } from './p-
|
|
27
|
-
import { d as defineCustomElement$c } from './p-
|
|
28
|
-
import { d as defineCustomElement$b } from './p-
|
|
29
|
-
import { d as defineCustomElement$a } from './p-
|
|
30
|
-
import { d as defineCustomElement$9 } from './p-
|
|
31
|
-
import { d as defineCustomElement$8 } from './p-
|
|
32
|
-
import { d as defineCustomElement$7 } from './p-
|
|
33
|
-
import { d as defineCustomElement$6 } from './p-
|
|
34
|
-
import { d as defineCustomElement$5 } from './p-
|
|
35
|
-
import { d as defineCustomElement$4 } from './p-
|
|
36
|
-
import { d as defineCustomElement$3 } from './p-
|
|
37
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$w } from './p-Eq1IwvY5.js';
|
|
8
|
+
import { d as defineCustomElement$v } from './p-DS45bzgL.js';
|
|
9
|
+
import { d as defineCustomElement$u } from './p-D8LhlUeT.js';
|
|
10
|
+
import { d as defineCustomElement$t } from './p-BuHDdmKo.js';
|
|
11
|
+
import { d as defineCustomElement$s } from './p-BIp2Inn2.js';
|
|
12
|
+
import { d as defineCustomElement$r } from './p-CTKLmmO3.js';
|
|
13
|
+
import { d as defineCustomElement$q } from './p-DQthTAGK.js';
|
|
14
|
+
import { d as defineCustomElement$p } from './p-Ciz2QmDr.js';
|
|
15
|
+
import { d as defineCustomElement$o } from './p-R3D1POuE.js';
|
|
16
|
+
import { d as defineCustomElement$n } from './p-DT0wHPjN.js';
|
|
17
|
+
import { d as defineCustomElement$m } from './p-C-B8sqqJ.js';
|
|
18
|
+
import { d as defineCustomElement$l } from './p-BEtorVYP.js';
|
|
19
|
+
import { d as defineCustomElement$k } from './p-B3WqeRix.js';
|
|
20
|
+
import { d as defineCustomElement$j } from './p-Bl6sK4Wf.js';
|
|
21
|
+
import { d as defineCustomElement$i } from './p-DFgg8jhU.js';
|
|
22
|
+
import { d as defineCustomElement$h } from './p-BHOXtRwH.js';
|
|
23
|
+
import { d as defineCustomElement$g } from './p-B2NrT7P4.js';
|
|
24
|
+
import { d as defineCustomElement$f } from './p-DKmDGdr_.js';
|
|
25
|
+
import { d as defineCustomElement$e } from './p-DBphBrvt.js';
|
|
26
|
+
import { d as defineCustomElement$d } from './p-BoA6mH9f.js';
|
|
27
|
+
import { d as defineCustomElement$c } from './p-D4hGTY-V.js';
|
|
28
|
+
import { d as defineCustomElement$b } from './p-6hZjNCO9.js';
|
|
29
|
+
import { d as defineCustomElement$a } from './p-BBfc4kkx.js';
|
|
30
|
+
import { d as defineCustomElement$9 } from './p-CToSoYU7.js';
|
|
31
|
+
import { d as defineCustomElement$8 } from './p-BDgNCPwS.js';
|
|
32
|
+
import { d as defineCustomElement$7 } from './p-B_eQ2Gz-.js';
|
|
33
|
+
import { d as defineCustomElement$6 } from './p-aHGDKnIY.js';
|
|
34
|
+
import { d as defineCustomElement$5 } from './p-DXP-R4_o.js';
|
|
35
|
+
import { d as defineCustomElement$4 } from './p-cFB-6W0U.js';
|
|
36
|
+
import { d as defineCustomElement$3 } from './p-PVKJexBt.js';
|
|
37
|
+
import { d as defineCustomElement$2 } from './p-X9ibhDjX.js';
|
|
38
38
|
|
|
39
39
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
40
40
|
|
|
@@ -19858,7 +19858,7 @@ function addField(frame, data) {
|
|
|
19858
19858
|
node.style.left = Math.floor(data.left * this.zoom) + 'px';
|
|
19859
19859
|
node.style.height = Math.floor(data.height * this.zoom) + 'px';
|
|
19860
19860
|
node.style.width = Math.floor(data.width * this.zoom) + 'px';
|
|
19861
|
-
node.style.fontSize = Math.floor(data.fontSize) + 'pt';
|
|
19861
|
+
node.style.fontSize = Math.floor(data.fontSize * this.zoom) + 'pt';
|
|
19862
19862
|
node.style.alignContent = data.align;
|
|
19863
19863
|
node.style.fontFamily = data.fontName;
|
|
19864
19864
|
node.dataItem = data;
|
|
@@ -19870,7 +19870,7 @@ function moveField(item, data) {
|
|
|
19870
19870
|
item.style.left = Math.floor(data.left * this.zoom) + 'px';
|
|
19871
19871
|
item.style.height = Math.floor(data.height * this.zoom) + 'px';
|
|
19872
19872
|
item.style.width = Math.floor(data.width * this.zoom) + 'px';
|
|
19873
|
-
item.style.fontSize = Math.floor(data.fontSize) + 'pt';
|
|
19873
|
+
item.style.fontSize = Math.floor(data.fontSize * this.zoom) + 'pt';
|
|
19874
19874
|
item.style.fontFamily = data.fontName;
|
|
19875
19875
|
item.style.textAlign = data.align;
|
|
19876
19876
|
item.dataItem = data;
|
|
@@ -24333,7 +24333,7 @@ class LsDocumentAdapter {
|
|
|
24333
24333
|
}
|
|
24334
24334
|
}
|
|
24335
24335
|
|
|
24336
|
-
const lsDocumentViewerCss = "*,*::before,*::after{box-sizing:border-box}*{margin:0}@media (prefers-reduced-motion: no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}:host{display:flex;flex-direction:row;width:100vw;height:100vh;margin:0px;padding:0px}.leftBox{border-radius:16px;border:1px solid var(--gray-30, #edeff2);background:var(--white, #fff);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);width:21.25rem;margin:1rem;min-width:21.25rem;max-height:100%}.left-box-inner{position:relative;display:flex;height:100%;padding:0.75rem;gap:0.75rem}.rightBox{width:200px;border:1px gray solid;width:470px;min-width:390px;padding:4px;font-family:inherit}.toolbox{display:flex;flex-direction:column;width:100%;height:100%;border-radius:8px;border:1px solid var(--gray-30, #e0e2e5);background:var(--gray-10, #f7f8fa);padding:0.75rem;gap:1rem;overflow-y:auto}.ls-editor-infobox{padding:2px 8px 2px 8px}#pdf-canvas{top:0px;left:0px;width:100px;height:100px}#ls-mid-area{display:flex;flex-direction:column;width:100%}.document-frame-wrapper{position:relative;padding:0 1.25rem;height:100%;display:flex;flex-direction:column;justify-content:start;align-items:center;overflow:auto}.spacer{min-height:5.5rem;width:100%}#ls-document-frame{position:relative;height:98vh;max-width:100%;max-height:100%;margin:0px;padding:2px;scrollbar-width:auto;scrollbar-color:auto}.prevButton{position:relative;bottom:30px}.nextButton{position:relative;bottom:30px}.fieldBox{z-index:1000}#ls-box-selector{position:absolute;visibility:hidden;background-color:transparent;border:1px rgba(71, 71, 71, 0.716) dashed}#ls-editor-form{display:flex;width:100vw;max-height:calc(100vh - 2.25rem);position:relative;background:var(--gray-10, #f7f8fa);box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.04) inset, 0 10px 15px 0 rgba(0, 0, 0, 0.04) inset}.hidden{visibility:hidden;display:none;width:0px}.toolbox-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;}.toolbox-section-description{color:var(--gray-80, #5e6066);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem}.fields-box{display:flex;flex-direction:column;gap:0.75rem}.page-header{display:flex;height:2.25rem;gap:0.5rem;padding:0.25rem 0.75rem;justify-content:center;align-items:center}.header-text-1{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.header-text-2{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.properties-header{display:flex;padding:1rem;gap:0.75rem;align-items:center;border-bottom:1px solid var(--gray-20, #edeff2)}.properties-header-title{color:var(--gray-100, #45484d);width:100%;font-size:1.5rem;font-style:normal;font-weight:500;line-height:2rem;}.properties-header-icon{display:flex;padding:0.5rem;border-radius:0.625rem;background:var(--primary-10, #eff4ff);color:var(--primary-60, #4456f6)}.expand-fields-row{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;cursor:pointer;color:var(--gray-80, #6c6e73);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.expand-fields-row p{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem;}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:36px}.input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6c6e73)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}";
|
|
24336
|
+
const lsDocumentViewerCss = "*,*::before,*::after{box-sizing:border-box}*{margin:0}@media (prefers-reduced-motion: no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}:host{display:flex;flex-direction:row;width:100vw;height:100vh;margin:0px;padding:0px}#my-field-panel{position:relative;height:calc(100% - 4.313rem)}.leftBox{border-radius:16px;border:1px solid var(--gray-30, #edeff2);background:var(--white, #fff);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);width:21.25rem;margin:1rem;min-width:21.25rem;max-height:100%}.left-box-inner{position:relative;display:flex;height:100%;padding:0.75rem;gap:0.75rem}.rightBox{width:200px;border:1px gray solid;width:470px;min-width:390px;padding:4px;font-family:inherit}.toolbox{display:flex;flex-direction:column;width:100%;height:100%;border-radius:8px;border:1px solid var(--gray-30, #e0e2e5);background:var(--gray-10, #f7f8fa);padding:0.75rem;gap:1rem;overflow-y:auto}.ls-editor-infobox{padding:2px 8px 2px 8px}#pdf-canvas{top:0px;left:0px;width:100px;height:100px}#ls-mid-area{display:flex;flex-direction:column;width:100%}.document-frame-wrapper{position:relative;padding:0 1.25rem;height:100%;display:flex;flex-direction:column;justify-content:start;align-items:center;overflow-y:auto}.spacer{min-height:5.5rem;width:100%}#ls-document-frame{position:relative;height:98vh;max-width:100%;max-height:100%;margin:0px;padding:2px;scrollbar-width:auto;scrollbar-color:auto}.prevButton{position:relative;bottom:30px}.nextButton{position:relative;bottom:30px}.fieldBox{z-index:1000}#ls-box-selector{position:absolute;visibility:hidden;background-color:transparent;border:1px rgba(71, 71, 71, 0.716) dashed}#ls-editor-form{display:flex;width:100vw;max-height:calc(100vh - 2.25rem);position:relative;background:var(--gray-10, #f7f8fa);box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.04) inset, 0 10px 15px 0 rgba(0, 0, 0, 0.04) inset}.hidden{visibility:hidden;display:none;width:0px}.toolbox-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;}.toolbox-section-description{color:var(--gray-80, #5e6066);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem}.fields-box{display:flex;flex-direction:column;gap:0.75rem}.page-header{display:flex;height:2.25rem;gap:0.5rem;padding:0.25rem 0.75rem;justify-content:center;align-items:center}.header-text-1{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.header-text-2{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.properties-header{display:flex;padding:1rem;gap:0.75rem;align-items:center;border-bottom:1px solid var(--gray-20, #edeff2)}.properties-header-title{color:var(--gray-100, #45484d);width:100%;font-size:1.5rem;font-style:normal;font-weight:500;line-height:2rem;}.properties-header-icon{display:flex;padding:0.5rem;border-radius:0.625rem;background:var(--primary-10, #eff4ff);color:var(--primary-60, #4456f6)}.expand-fields-row{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;cursor:pointer;color:var(--gray-80, #6c6e73);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.expand-fields-row p{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem;}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:36px}.input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.field-properties-outer{position:relative;height:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6c6e73)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}";
|
|
24337
24337
|
|
|
24338
24338
|
pdfExports.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.5.207/pdf.worker.min.js';
|
|
24339
24339
|
const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentViewer extends H {
|
|
@@ -24501,7 +24501,7 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24501
24501
|
console.log(event);
|
|
24502
24502
|
if (this.token)
|
|
24503
24503
|
event.detail.forEach(me => this.adapter.handleEvent(me, this.token).then(result => {
|
|
24504
|
-
if (me.action ===
|
|
24504
|
+
if (me.action === 'create')
|
|
24505
24505
|
matchData.bind(this)(result);
|
|
24506
24506
|
}));
|
|
24507
24507
|
}
|
|
@@ -24519,9 +24519,8 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24519
24519
|
if (propPanel)
|
|
24520
24520
|
propPanel.dataItem = event.detail;
|
|
24521
24521
|
}
|
|
24522
|
-
// Send selection changes to bars and panels
|
|
24522
|
+
// Send role selection changes to bars and panels
|
|
24523
24523
|
roleHandler(event) {
|
|
24524
|
-
console.log(event.detail);
|
|
24525
24524
|
this.signer = event.detail;
|
|
24526
24525
|
}
|
|
24527
24526
|
//
|
|
@@ -24735,8 +24734,11 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24735
24734
|
if (this.token && !this._template)
|
|
24736
24735
|
this.load();
|
|
24737
24736
|
}
|
|
24737
|
+
signerColor = (index) => {
|
|
24738
|
+
return index > 200 ? defaultRolePalette[index - 200] : index > 100 ? defaultRolePalette[index - 100] : defaultRolePalette[index] || defaultRolePalette[0];
|
|
24739
|
+
};
|
|
24738
24740
|
render() {
|
|
24739
|
-
return (h(Host, { key: '
|
|
24741
|
+
return (h(Host, { key: '5211ee24231dedce593a1b638daa121267cfbf75' }, h(h.Fragment, null, h("div", { key: '5f0b68c90b8935e4d9a0a37f70b1e36d669d2c02', class: "page-header" }, h("p", { key: 'dcd2efb1551dc8e7082e2fa25a11055125527b83', class: "header-text-1" }, "Template Creation"), h("p", { key: '59c33765a7ec5ff160fe5a058acdc18e017a162c' }, "/"), h("p", { key: '108722e31b9560fea2b42f197f98203e03c07b26', class: "header-text-2" }, "Template Name")), h("form", { key: '2681b25088e5f78e5169e4eccc32d8e7b9651887', id: "ls-editor-form" }, this.showtoolbox === true ? (h("div", { class: "leftBox" }, h("div", { class: !this.selected || this.selected.length === 0 ? 'left-box-inner' : 'hidden' }, h("ls-feature-column", { onManage: manager => {
|
|
24740
24742
|
if (manager.detail === 'document') {
|
|
24741
24743
|
var documentManager = this.component.shadowRoot.getElementById('ls-document-options');
|
|
24742
24744
|
documentManager.template = this._template;
|
|
@@ -24746,10 +24748,10 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
24746
24748
|
participantManager.template = this._template;
|
|
24747
24749
|
}
|
|
24748
24750
|
this.manager = manager.detail;
|
|
24749
|
-
} }), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, h("h2", { class: "toolbox-section-title" }, "Participant Fields"), h("p", { class: "toolbox-section-description" }, "Select and Click to place Signature fields where you\u2019d like on the Document.")), h("div", { class: "fields-box" }, h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature" }), h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials" }), h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender" }), h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date" }), h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol" }), h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text" }), h("div", { class: 'expand-fields-row' }, h("ls-icon", { name: this.expandfields ? 'expand' : 'collapse', size: "20", solid: true, onClick: () => (this.expandfields = !this.expandfields) }), h("p", null, "More Field Types")), this.expandfields && (h("div", { class: "fields-box" }, h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag" }), h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check" }), h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "signature" }), h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93, icon: "code" }), h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90, icon: "photograph" }), h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74, icon: "upload" }))))), h("ls-participant-manager", { id: "ls-participant-manager", class: this.manager === 'participant' ? 'toolbox' : 'hidden', editor: this }), h("ls-document-options", { id: "ls-document-options", class: this.manager === 'document' ? 'toolbox' : 'hidden' })), this.showrightpanel && !this.displayTable && (h("div", { class: this.selected && this.selected.length > 0 ? 'field-properties-outer' : 'hidden' }, h("div", { class: 'properties-header' }, h("div", { class: 'properties-header-icon' }, h("ls-icon", { name: "pre-filled-content" })), h("h1", { class: 'properties-header-title' }, "Field Properties"), h("button", { class: 'tertiaryGrey', onClick: e => {
|
|
24751
|
+
} }), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, h("h2", { class: "toolbox-section-title" }, "Participant Fields"), h("p", { class: "toolbox-section-description" }, "Select and Click to place Signature fields where you\u2019d like on the Document.")), h("div", { class: "fields-box" }, h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text", color: this.signerColor(this.signer) }), h("div", { class: 'expand-fields-row' }, h("ls-icon", { name: this.expandfields ? 'expand' : 'collapse', size: "20", solid: true, onClick: () => (this.expandfields = !this.expandfields) }), h("p", null, "More Field Types")), this.expandfields && (h("div", { class: "fields-box" }, h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "signature", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93, icon: "code", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90, icon: "photograph", color: this.signerColor(this.signer) }), h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74, icon: "upload", color: this.signerColor(this.signer) }))))), h("ls-participant-manager", { id: "ls-participant-manager", class: this.manager === 'participant' ? 'toolbox' : 'hidden', editor: this }), h("ls-document-options", { id: "ls-document-options", class: this.manager === 'document' ? 'toolbox' : 'hidden' })), this.showrightpanel && !this.displayTable && (h("div", { class: this.selected && this.selected.length > 0 ? 'field-properties-outer' : 'hidden' }, h("div", { class: 'properties-header' }, h("div", { class: 'properties-header-icon' }, h("ls-icon", { name: "pre-filled-content" })), h("h1", { class: 'properties-header-title' }, "Field Properties"), h("button", { class: 'tertiaryGrey', onClick: e => {
|
|
24750
24752
|
this.selected = [];
|
|
24751
24753
|
e.preventDefault();
|
|
24752
|
-
} }, h("ls-icon", { name: "x", size: "20" }))), h("ls-field-properties", { id: "my-field-panel" }), h("slot", null))))) : (h(h.Fragment, null)), h("div", { key: '
|
|
24754
|
+
} }, h("ls-icon", { name: "x", size: "20" }))), h("ls-field-properties", { id: "my-field-panel" }), h("slot", null))))) : (h(h.Fragment, null)), h("div", { key: '31cd692fde3f164d578b7ddc362cb1e663a51b4d', id: "ls-mid-area" }, h("ls-toolbar", { key: 'f696e4f47618440e27d8233aa2d5ac931374afb5', id: "ls-toolbar", dataItem: this.selected ? this.selected.map(s => s.dataItem) : null, template: this._template }), h("div", { key: '18e06d7f77ad6d31e8fbc98ff2a01c1d3ec47361', class: 'document-frame-wrapper' }, h("div", { key: '67565650c5f50326f944ef09787ee6a72c10d203', class: 'spacer' }), h("div", { key: '7cf6ab23d1553d8dc9910546f8085f7558cbefcd', id: "ls-document-frame" }, h("canvas", { key: 'f8d2d988a2b668224e63982029c55a102b5b7729', id: "pdf-canvas", class: this.displayTable ? 'hidden' : '' }), h("ls-editor-table", { key: 'c33d5c80ef5ae794d85be860524b809d84ea108b', editor: this, class: this.displayTable ? '' : 'hidden' }), h("div", { key: 'd0cef83695bc3e2afceadcea12fb5563788489a9', id: "ls-box-selector" }))), h("ls-statusbar", { key: '5b814c90c929b917b9f8f0bfe1c6476294b4dfb1', editor: this }))))));
|
|
24753
24755
|
}
|
|
24754
24756
|
static get watchers() { return {
|
|
24755
24757
|
"mode": ["modeHandler"],
|