legalesign-document-viewer 0.4.10 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ls-document-options_46.cjs.entry.js +84 -129
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/collection/components/ls-document-options/ls-document-options.js +0 -1
- package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/editorCalculator.js +4 -6
- package/dist/collection/components/ls-document-viewer/editorCalculator.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/editorUtils.js +1 -2
- package/dist/collection/components/ls-document-viewer/editorUtils.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/keyHandlers.js +0 -4
- package/dist/collection/components/ls-document-viewer/keyHandlers.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +5 -40
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/mouseHandlers.js +8 -8
- package/dist/collection/components/ls-document-viewer/mouseHandlers.js.map +1 -1
- package/dist/collection/components/ls-editor-field/ls-editor-field.js +5 -6
- package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -1
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.js +2 -7
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.js.map +1 -1
- package/dist/collection/components/ls-field-content/ls-field-content.js +2 -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 +3 -5
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js.map +1 -1
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +6 -33
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.js.map +1 -1
- package/dist/collection/components/ls-field-footer/ls-field-footer.js +24 -13
- package/dist/collection/components/ls-field-footer/ls-field-footer.js.map +1 -1
- package/dist/collection/components/ls-field-format/ls-field-format.js +11 -34
- package/dist/collection/components/ls-field-format/ls-field-format.js.map +1 -1
- package/dist/collection/components/ls-field-placement/ls-field-placement.js +1 -25
- package/dist/collection/components/ls-field-placement/ls-field-placement.js.map +1 -1
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +2 -26
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js.map +1 -1
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +1 -1
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -1
- package/dist/collection/components/ls-field-size/ls-field-size.js +1 -24
- package/dist/collection/components/ls-field-size/ls-field-size.js.map +1 -1
- package/dist/collection/components/ls-participant-card/ls-participant-card.js +8 -33
- package/dist/collection/components/ls-participant-card/ls-participant-card.js.map +1 -1
- package/dist/collection/components/ls-title-input/ls-title-input.js +1 -24
- package/dist/collection/components/ls-title-input/ls-title-input.js.map +1 -1
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -2
- package/dist/collection/components/ls-toolbar/ls-toolbar.js.map +1 -1
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +33 -46
- package/dist/components/ls-document-viewer.js.map +1 -1
- package/dist/components/ls-editor-field.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-date.js +1 -1
- package/dist/components/ls-field-properties-dropdown.js +6 -6
- 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-participant-card.js +1 -1
- package/dist/components/ls-participant-manager.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/ls-title-input.js +1 -1
- package/dist/components/ls-toolbar.js +1 -1
- package/dist/components/{p-DR6nQwpS.js → p-BxPfWmRj.js} +17 -24
- package/dist/components/p-BxPfWmRj.js.map +1 -0
- package/dist/components/{p-DL5OFC6L.js → p-C6TaBByt.js} +8 -8
- package/dist/components/{p-DL5OFC6L.js.map → p-C6TaBByt.js.map} +1 -1
- package/dist/components/{p-DsHIGb44.js → p-C9CUft6J.js} +4 -8
- package/dist/components/p-C9CUft6J.js.map +1 -0
- package/dist/components/{p--CN66FDL.js → p-CDGosSW8.js} +8 -8
- package/dist/components/{p--CN66FDL.js.map → p-CDGosSW8.js.map} +1 -1
- package/dist/components/{p-BNetnt57.js → p-CDgBo5Zz.js} +8 -8
- package/dist/components/{p-BNetnt57.js.map → p-CDgBo5Zz.js.map} +1 -1
- package/dist/components/{p-C6vXxe-0.js → p-CGQK3l8F.js} +24 -13
- package/dist/components/p-CGQK3l8F.js.map +1 -0
- package/dist/components/{p-n8Mvlim4.js → p-CPZtW_1V.js} +2 -3
- package/dist/components/p-CPZtW_1V.js.map +1 -0
- package/dist/components/{p-BMH2H6ZU.js → p-C_uR3x8J.js} +8 -8
- package/dist/components/{p-BMH2H6ZU.js.map → p-C_uR3x8J.js.map} +1 -1
- package/dist/components/{p-C3WsOnJj.js → p-CgKvhxXq.js} +3 -3
- package/dist/components/{p-C3WsOnJj.js.map → p-CgKvhxXq.js.map} +1 -1
- package/dist/components/{p-BwLBJKzU.js → p-Co-Giqfy.js} +13 -16
- package/dist/components/p-Co-Giqfy.js.map +1 -0
- package/dist/components/{p-B016luU7.js → p-Czz58vGf.js} +8 -8
- package/dist/components/{p-B016luU7.js.map → p-Czz58vGf.js.map} +1 -1
- package/dist/components/{p-WBcBFI9v.js → p-DGiUKXDO.js} +21 -21
- package/dist/components/{p-WBcBFI9v.js.map → p-DGiUKXDO.js.map} +1 -1
- package/dist/components/{p-SBrheH1U.js → p-DMZN9Rei.js} +8 -8
- package/dist/components/{p-SBrheH1U.js.map → p-DMZN9Rei.js.map} +1 -1
- package/dist/components/{p-Dhhv3wHm.js → p-DYQekJvr.js} +5 -7
- package/dist/components/p-DYQekJvr.js.map +1 -0
- package/dist/components/{p-DY-DgM1S.js → p-D_mOmvQA.js} +3 -3
- package/dist/components/{p-DY-DgM1S.js.map → p-D_mOmvQA.js.map} +1 -1
- package/dist/components/{p-C5h5dv41.js → p-DoAxt8ZN.js} +3 -6
- package/dist/components/p-DoAxt8ZN.js.map +1 -0
- package/dist/components/{p-BkY_IdVa.js → p-DpHCeHja.js} +4 -5
- package/dist/components/p-DpHCeHja.js.map +1 -0
- package/dist/components/{p-CYmYmhQR.js → p-DsR1ud4V.js} +12 -16
- package/dist/components/p-DsR1ud4V.js.map +1 -0
- package/dist/components/{p-CNL8fkln.js → p-DskHTNiF.js} +10 -10
- package/dist/components/p-DskHTNiF.js.map +1 -0
- package/dist/components/{p-DJ2drrXa.js → p-HpepQ3-E.js} +8 -8
- package/dist/components/{p-DJ2drrXa.js.map → p-HpepQ3-E.js.map} +1 -1
- package/dist/components/{p-wqey-dda.js → p-JIZHOmMy.js} +3 -6
- package/dist/components/p-JIZHOmMy.js.map +1 -0
- package/dist/components/{p-5KCL3hvK.js → p-KMRQyALr.js} +3 -7
- package/dist/components/p-KMRQyALr.js.map +1 -0
- package/dist/components/{p-BNg8t35-.js → p-YcP4tU0u.js} +4 -9
- package/dist/components/p-YcP4tU0u.js.map +1 -0
- package/dist/components/{p-VTbVKsqR.js → p-aA8RuwY_.js} +5 -6
- package/dist/components/p-aA8RuwY_.js.map +1 -0
- package/dist/components/{p-DVjWdmVm.js → p-iIvOyhST.js} +5 -5
- package/dist/components/{p-DVjWdmVm.js.map → p-iIvOyhST.js.map} +1 -1
- package/dist/components/{p-SRaB2k2a.js → p-w39shV-b.js} +8 -8
- package/dist/components/{p-SRaB2k2a.js.map → p-w39shV-b.js.map} +1 -1
- package/dist/components/{p-GUP3f2W9.js → p-w7mOEBr4.js} +10 -15
- package/dist/components/p-w7mOEBr4.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-document-options_46.entry.js +84 -129
- package/dist/esm/ls-document-viewer.js +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
- package/dist/ls-document-viewer/{p-44b51bdb.entry.js → p-20b9c119.entry.js} +5 -5
- package/dist/ls-document-viewer/p-20b9c119.entry.js.map +1 -0
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +0 -2
- package/dist/types/components/ls-field-distribute/ls-field-distribute.d.ts +0 -1
- package/dist/types/components/ls-field-footer/ls-field-footer.d.ts +4 -1
- package/dist/types/components/ls-field-format/ls-field-format.d.ts +0 -1
- package/dist/types/components/ls-field-placement/ls-field-placement.d.ts +0 -1
- package/dist/types/components/ls-field-properties-advanced/ls-field-properties-advanced.d.ts +0 -1
- package/dist/types/components/ls-field-size/ls-field-size.d.ts +0 -1
- package/dist/types/components/ls-participant-card/ls-participant-card.d.ts +0 -1
- package/dist/types/components/ls-title-input/ls-title-input.d.ts +0 -1
- package/dist/types/components.d.ts +2 -18
- package/package.json +1 -1
- package/dist/components/p-5KCL3hvK.js.map +0 -1
- package/dist/components/p-BNg8t35-.js.map +0 -1
- package/dist/components/p-BkY_IdVa.js.map +0 -1
- package/dist/components/p-BwLBJKzU.js.map +0 -1
- package/dist/components/p-C5h5dv41.js.map +0 -1
- package/dist/components/p-C6vXxe-0.js.map +0 -1
- package/dist/components/p-CNL8fkln.js.map +0 -1
- package/dist/components/p-CYmYmhQR.js.map +0 -1
- package/dist/components/p-DR6nQwpS.js.map +0 -1
- package/dist/components/p-Dhhv3wHm.js.map +0 -1
- package/dist/components/p-DsHIGb44.js.map +0 -1
- package/dist/components/p-GUP3f2W9.js.map +0 -1
- package/dist/components/p-VTbVKsqR.js.map +0 -1
- package/dist/components/p-n8Mvlim4.js.map +0 -1
- package/dist/components/p-wqey-dda.js.map +0 -1
- package/dist/ls-document-viewer/p-44b51bdb.entry.js.map +0 -1
|
@@ -32,10 +32,9 @@ export class LsToolbar {
|
|
|
32
32
|
});
|
|
33
33
|
this.dataItem = diffs.map(d => d.data);
|
|
34
34
|
this.mutate.emit(diffs);
|
|
35
|
-
this.update.emit(diffs);
|
|
36
35
|
}
|
|
37
36
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '55d84a2c19190fb4149d658151ccdb369b32da84' }, (this.dataItem && this.dataItem.length > 1) ? (h("div", { class: 'rowbox' }, h("ls-field-format", { dataItem: this?.dataItem }))) : (h("div", { class: 'rowbox' }, h("ls-field-format", { dataItem: this?.dataItem, style: { visibility: this.dataItem && this.dataItem.length === 1 ? 'visible' : 'hidden' } }), h("ls-participant-select", { id: "ls-participant-select", roles: this.template?.roles, style: { display: this.dataItem && this.dataItem.length === 1 ? 'none' : 'block' } }))), h("ls-tooltip", { key: 'c700f50c2fe2829bc653a5a8c791f642ce966a8f', id: "ls-tooltip-master" }), h("slot", { key: '09a19a62da326c4131cdbddced63de71106da892' })));
|
|
39
38
|
}
|
|
40
39
|
static get is() { return "ls-toolbar"; }
|
|
41
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls-toolbar.js","sourceRoot":"","sources":["../../../src/components/ls-toolbar/ls-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAgB,OAAO,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h, Event, EventEmitter, Element } from '@stencil/core';\nimport { LSApiElement, LSApiTemplate, LsDocumentViewer, LSMutateEvent } from '../../components';\n\n@Component({\n tag: 'ls-toolbar',\n styleUrl: 'ls-toolbar.css',\n shadow: true,\n})\nexport class LsToolbar {\n @Element() component: HTMLElement;\n\n /**\n * The selected items information (as JSON).\n * {LSApiElement[]}\n */\n @Prop({\n mutable: true,\n })\n dataItem: LSApiElement[];\n\n\n /**\n * The group and experience information.\n * {object}\n */\n @Prop() groupInfo: object;\n\n /**\n * The base template information (as JSON).\n * {LSApiTemplate}\n */\n @Prop() template: LSApiTemplate;\n\n /**\n * The main editor.\n * {LSDocumentViewer}\n */\n @Prop({\n mutable: true,\n }) editor: LsDocumentViewer;\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n mutate: EventEmitter<LSMutateEvent[]>;\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n update: EventEmitter<LSMutateEvent[]>;\n\n // @Element() component: HTMLElement;\n\n // Send one or more mutations up the chain\n // The source of the chain fires the mutation\n alter(diff: object) {\n\n const diffs: LSMutateEvent[] = this.dataItem.map(c => {\n return { action: 'update', data: { ...c, ...diff } as LSApiElement };\n });\n\n this.dataItem = diffs.map(d => d.data as LSApiElement);\n this.mutate.emit(diffs);\n }\n\n render() {\n return (\n <Host>\n { (this.dataItem && this.dataItem.length > 1) ? (\n <div class={'rowbox'}>\n <ls-field-format dataItem={this?.dataItem} />\n </div>\n ) : (\n <div class={'rowbox'}>\n <ls-field-format dataItem={this?.dataItem} style={{ visibility: this.dataItem && this.dataItem.length === 1 ? 'visible' : 'hidden' }} />\n <ls-participant-select id=\"ls-participant-select\" roles={this.template?.roles} style={{ display: this.dataItem && this.dataItem.length === 1 ? 'none' : 'block' }} />\n </div>\n )}\n <ls-tooltip id=\"ls-tooltip-master\" />\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LsDocumentOptions$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { L as LsDocumentOptions$1, d as defineCustomElement$1 } from './p-CPZtW_1V.js';
|
|
2
2
|
|
|
3
3
|
const LsDocumentOptions = LsDocumentOptions$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { t as transformTag, p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-BhZ5Udbm.js';
|
|
2
|
-
import { a as alter, o as oob, u as updateTemplate, r as recalculateCoordinates, d as defineCustomElement$J, m as matchData, v as validate, b as moveField, g as getApiType, c as addField, e as getTemplate } from './p-
|
|
3
|
-
import { d as defineCustomElement$D, m as mouseClick, a as mouseDown, b as mouseMove, c as mouseUp, e as mouseDoubleClick, f as mouseDrop } from './p-
|
|
2
|
+
import { a as alter, o as oob, u as updateTemplate, r as recalculateCoordinates, d as defineCustomElement$J, m as matchData, v as validate, b as moveField, g as getApiType, c as addField, e as getTemplate } from './p-DsR1ud4V.js';
|
|
3
|
+
import { d as defineCustomElement$D, m as mouseClick, a as mouseDown, b as mouseMove, c as mouseUp, e as mouseDoubleClick, f as mouseDrop } from './p-BxPfWmRj.js';
|
|
4
4
|
import { a as attachAllTooltips } from './p-Cb8nDMs-.js';
|
|
5
|
-
import { d as defineCustomElement$K } from './p-
|
|
5
|
+
import { d as defineCustomElement$K } from './p-CPZtW_1V.js';
|
|
6
6
|
import { d as defineCustomElement$I } from './p-Dz_jxFKX.js';
|
|
7
7
|
import { d as defineCustomElement$H } from './p-D0cZaxkO.js';
|
|
8
|
-
import { d as defineCustomElement$G } from './p-
|
|
9
|
-
import { d as defineCustomElement$F } from './p-
|
|
10
|
-
import { d as defineCustomElement$E } from './p-
|
|
11
|
-
import { d as defineCustomElement$C } from './p-
|
|
12
|
-
import { d as defineCustomElement$B } from './p-
|
|
13
|
-
import { d as defineCustomElement$A } from './p-
|
|
14
|
-
import { d as defineCustomElement$z } from './p-
|
|
15
|
-
import { d as defineCustomElement$y } from './p-
|
|
16
|
-
import { d as defineCustomElement$x } from './p-
|
|
8
|
+
import { d as defineCustomElement$G } from './p-YcP4tU0u.js';
|
|
9
|
+
import { d as defineCustomElement$F } from './p-aA8RuwY_.js';
|
|
10
|
+
import { d as defineCustomElement$E } from './p-DYQekJvr.js';
|
|
11
|
+
import { d as defineCustomElement$C } from './p-CGQK3l8F.js';
|
|
12
|
+
import { d as defineCustomElement$B } from './p-Co-Giqfy.js';
|
|
13
|
+
import { d as defineCustomElement$A } from './p-KMRQyALr.js';
|
|
14
|
+
import { d as defineCustomElement$z } from './p-DGiUKXDO.js';
|
|
15
|
+
import { d as defineCustomElement$y } from './p-C9CUft6J.js';
|
|
16
|
+
import { d as defineCustomElement$x } from './p-iIvOyhST.js';
|
|
17
17
|
import { d as defineCustomElement$w } from './p-BQZBAjo_.js';
|
|
18
|
-
import { d as defineCustomElement$v } from './p-
|
|
19
|
-
import { d as defineCustomElement$u } from './p-
|
|
20
|
-
import { d as defineCustomElement$t } from './p-
|
|
21
|
-
import { d as defineCustomElement$s } from './p-
|
|
22
|
-
import { d as defineCustomElement$r } from './p-
|
|
23
|
-
import { d as defineCustomElement$q } from './p-
|
|
24
|
-
import { d as defineCustomElement$p } from './p-
|
|
25
|
-
import { d as defineCustomElement$o } from './p-
|
|
26
|
-
import { d as defineCustomElement$n } from './p
|
|
27
|
-
import { d as defineCustomElement$m } from './p-
|
|
18
|
+
import { d as defineCustomElement$v } from './p-C6TaBByt.js';
|
|
19
|
+
import { d as defineCustomElement$u } from './p-Czz58vGf.js';
|
|
20
|
+
import { d as defineCustomElement$t } from './p-DMZN9Rei.js';
|
|
21
|
+
import { d as defineCustomElement$s } from './p-HpepQ3-E.js';
|
|
22
|
+
import { d as defineCustomElement$r } from './p-C_uR3x8J.js';
|
|
23
|
+
import { d as defineCustomElement$q } from './p-DskHTNiF.js';
|
|
24
|
+
import { d as defineCustomElement$p } from './p-CDgBo5Zz.js';
|
|
25
|
+
import { d as defineCustomElement$o } from './p-w39shV-b.js';
|
|
26
|
+
import { d as defineCustomElement$n } from './p-CDGosSW8.js';
|
|
27
|
+
import { d as defineCustomElement$m } from './p-DoAxt8ZN.js';
|
|
28
28
|
import { d as defineCustomElement$l } from './p-Bi1Fu2dm.js';
|
|
29
29
|
import { d as defineCustomElement$k } from './p-DFVuN2lH.js';
|
|
30
30
|
import { d as defineCustomElement$j } from './p-D95fiMAP.js';
|
|
31
31
|
import { d as defineCustomElement$i } from './p-Du60SSaA.js';
|
|
32
32
|
import { d as defineCustomElement$h } from './p-CvKjrahQ.js';
|
|
33
33
|
import { d as defineCustomElement$g } from './p-CazTGpgq.js';
|
|
34
|
-
import { d as defineCustomElement$f } from './p-
|
|
35
|
-
import { d as defineCustomElement$e } from './p-
|
|
34
|
+
import { d as defineCustomElement$f } from './p-w7mOEBr4.js';
|
|
35
|
+
import { d as defineCustomElement$e } from './p-CgKvhxXq.js';
|
|
36
36
|
import { d as defineCustomElement$d } from './p-BcSJFRsU.js';
|
|
37
37
|
import { d as defineCustomElement$c } from './p-CJSY3-Q3.js';
|
|
38
38
|
import { d as defineCustomElement$b } from './p-BucYpLs3.js';
|
|
39
39
|
import { d as defineCustomElement$a } from './p-CEB07hOR.js';
|
|
40
|
-
import { d as defineCustomElement$9 } from './p-
|
|
41
|
-
import { d as defineCustomElement$8 } from './p-
|
|
40
|
+
import { d as defineCustomElement$9 } from './p-D_mOmvQA.js';
|
|
41
|
+
import { d as defineCustomElement$8 } from './p-JIZHOmMy.js';
|
|
42
42
|
import { d as defineCustomElement$7 } from './p-DKaEsQyk.js';
|
|
43
|
-
import { d as defineCustomElement$6 } from './p-
|
|
43
|
+
import { d as defineCustomElement$6 } from './p-DpHCeHja.js';
|
|
44
44
|
import { d as defineCustomElement$5 } from './p-hah4tKwY.js';
|
|
45
45
|
import { d as defineCustomElement$4 } from './p-DoQc-O0l.js';
|
|
46
46
|
import { d as defineCustomElement$3 } from './p-Cie27m-1.js';
|
|
@@ -35110,9 +35110,6 @@ function keyDown(ev) {
|
|
|
35110
35110
|
this.mutate.emit(arr.map(s => {
|
|
35111
35111
|
return { action: 'delete', data: s.dataItem };
|
|
35112
35112
|
}));
|
|
35113
|
-
this.update.emit(arr.map(s => {
|
|
35114
|
-
return { action: 'delete', data: s.dataItem };
|
|
35115
|
-
}));
|
|
35116
35113
|
}
|
|
35117
35114
|
else if (ev.key === 'd' || ev.key === 'D' || ev.key === 'keyD') {
|
|
35118
35115
|
const arr = Array.from(this.selected);
|
|
@@ -35126,7 +35123,6 @@ function keyDown(ev) {
|
|
|
35126
35123
|
return { action: 'create', data: newItem, select: 'clear' };
|
|
35127
35124
|
});
|
|
35128
35125
|
this.mutate.emit(createdItems.map(item => ({ action: 'create', data: item.data })));
|
|
35129
|
-
this.update.emit(createdItems);
|
|
35130
35126
|
}
|
|
35131
35127
|
else if (ev.key === 'Escape') {
|
|
35132
35128
|
console.log('Clearing selection');
|
|
@@ -39386,7 +39382,6 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39386
39382
|
this.pageChange = createEvent(this, "pageChange", 7);
|
|
39387
39383
|
this.selectFields = createEvent(this, "selectFields", 7);
|
|
39388
39384
|
this.mutate = createEvent(this, "mutate", 7);
|
|
39389
|
-
this.update = createEvent(this, "update", 7);
|
|
39390
39385
|
}
|
|
39391
39386
|
get component() { return this; }
|
|
39392
39387
|
isPageRendering;
|
|
@@ -39546,13 +39541,13 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39546
39541
|
selectFields;
|
|
39547
39542
|
// Send an external event to be processed
|
|
39548
39543
|
mutate;
|
|
39549
|
-
// Send an internal event to be processed
|
|
39550
|
-
update;
|
|
39551
39544
|
adapter;
|
|
39552
39545
|
// Action an external data action and use the result (if required)
|
|
39553
39546
|
mutateHandler(event) {
|
|
39554
39547
|
if (this.token && this.adapter)
|
|
39555
|
-
event.detail.forEach(me => this.adapter.handleEvent(me, this.token)
|
|
39548
|
+
event.detail.forEach(me => this.adapter.handleEvent(me, this.token)
|
|
39549
|
+
.then(result => matchData.bind(this)(result))
|
|
39550
|
+
.then(() => this.syncChange(me)));
|
|
39556
39551
|
}
|
|
39557
39552
|
handleFieldTypeSelected(event) {
|
|
39558
39553
|
const fields = this.component.shadowRoot.querySelectorAll('ls-toolbox-field');
|
|
@@ -39562,11 +39557,6 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39562
39557
|
this.fieldTypeSelected = event.detail;
|
|
39563
39558
|
}
|
|
39564
39559
|
// Updates are internal event between LS controls not to be confused with mutate
|
|
39565
|
-
updateHandler(event) {
|
|
39566
|
-
if (event.detail)
|
|
39567
|
-
event.detail.forEach(fx => this.syncChange(fx));
|
|
39568
|
-
}
|
|
39569
|
-
// Updates are internal event between LS controls not to be confused with mutate
|
|
39570
39560
|
addParticpantHandler(event) {
|
|
39571
39561
|
const defaultExperience = this.groupInfo.experienceConnection.experiences.find(x => x.defaultExperience === true);
|
|
39572
39562
|
const parent = this._template.roles.find(r => r.id === event.detail.parent);
|
|
@@ -39586,7 +39576,6 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39586
39576
|
},
|
|
39587
39577
|
},
|
|
39588
39578
|
];
|
|
39589
|
-
this.update.emit(data);
|
|
39590
39579
|
this.mutate.emit(data);
|
|
39591
39580
|
}
|
|
39592
39581
|
// Updates are internal event between LS controls not to be confused with mutate
|
|
@@ -39819,7 +39808,6 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39819
39808
|
this.selected = Array.from(fields).filter(fx => fx.selected);
|
|
39820
39809
|
}
|
|
39821
39810
|
else if (update.action === 'delete') {
|
|
39822
|
-
console.log('Deleting field via syncChange', update.data);
|
|
39823
39811
|
const fi = this.component.shadowRoot.getElementById('ls-field-' + update.data.id);
|
|
39824
39812
|
if (!fi)
|
|
39825
39813
|
return;
|
|
@@ -39925,7 +39913,7 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39925
39913
|
return this.filtertoolbox === null || this.filtertoolbox.split('|').includes(fieldFormType);
|
|
39926
39914
|
}
|
|
39927
39915
|
render() {
|
|
39928
|
-
return (h(Host, { key: '
|
|
39916
|
+
return (h(Host, { key: '592c7144dc4fd461a0d3b8e227db8e4048467c9f' }, h(h.Fragment, null, this.isLoading && h("ls-page-loader", { key: '113947587a6fe8e00d89ed00edde9afc8be74593' }), h("div", { key: '677507d66bd4838f83b23b3709a150f3d84f29bd', class: "page-header" }, h("div", { key: '22a111c262260ccba582b3d67e3821e26600b6d9', class: 'left-slot-wrapper' }, h("slot", { key: '6cbdd90b06fe4932945be175c34d30425315fa0f', name: "left-button" })), h("div", { key: '69fc0abcc276a7df62c64f8110be565fcf64543f', class: 'right-slot-wrapper' }, h("slot", { key: '5fcd702fb09f97d0e3ad7c36c1964a4f76511c56', name: "right-button" })), this.mode === 'editor' && (h("div", { key: '26c37fb4933d625f83b4e2e79c64fc404a2bca83' }, h("span", { key: 'ff58207753e287214f7b54301067812ac7a1864f', class: "header-text-1" }, "Template Creation"), h("span", { key: '91f36b80b04d9dd46ebc04250f28c1e0a9ae340a' }, "/"), h("span", { key: 'f0b3432388b7924e8c7e88d088ec8882e74da179', class: "header-text-2" }, this._template?.title))), this.mode === 'compose' && (h("div", { key: '174d1395ed9283ccfff0e7054d922d1a099d6ac6', style: { display: 'flex', alignItems: 'center', gap: '0.25rem' } }, h("span", { key: 'e45eede718f3acfbf2597e207ac84cda4f3d93f5', class: "header-text-1" }, "Compose"), " ", h("span", { key: '18f911514cf2b4c5058cb49de8b93cfc9d7319a3' }, "/"), " ", h("ls-title-input", { key: '71f7afcfed3fa23b92a81a22211578e5a1ae0837', template: this._template })))), this.mode === 'editor' && (h("div", { key: '44e9e1b2e8e9a8d8d3bfe49075bd9c27272d0bfd', class: 'validation-tag-wrapper' }, h("ls-validation-tag", { key: '15ab405d7eddf10eba6adc64f2ca9460ae05f3bc', validationErrors: this.validationErrors }))), h("form", { key: '38a29a27b4fac98b46fcff7748e1225bc44b2220', id: "ls-editor-form" }, this.mode !== 'preview' ? (h("div", { id: "ls-left-box", class: "leftBox", style: this.mode === 'compose' ? { borderRadius: '1.75rem' } : {} }, h("div", { class: !this.selected || this.selected.length === 0 ? 'left-box-inner' : 'hidden' }, this.mode === 'editor' && (h("ls-feature-column", { mode: this.mode, onManage: manager => {
|
|
39929
39917
|
if (manager.detail === 'document') {
|
|
39930
39918
|
var documentManager = this.component.shadowRoot.getElementById('ls-document-options');
|
|
39931
39919
|
documentManager.template = this._template;
|
|
@@ -39936,7 +39924,6 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39936
39924
|
}
|
|
39937
39925
|
else if (manager.detail === 'validation') {
|
|
39938
39926
|
var validationManager = this.component.shadowRoot.getElementById('ls-validation-manager');
|
|
39939
|
-
console.log(validationManager);
|
|
39940
39927
|
validationManager.validationErrors = this.validationErrors;
|
|
39941
39928
|
}
|
|
39942
39929
|
this.manager = manager.detail;
|
|
@@ -39944,7 +39931,7 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39944
39931
|
this._recipients.map(recipient => (h("ls-recipient-card", { recipient: recipient, activeRecipient: this.signer, filtertoolbox: this.filtertoolbox, template: this._template, validationErrors: this.validationErrors, fieldTypeSelected: this.fieldTypeSelected, "data-signer-index": recipient.signerIndex })))))), !this.displayTable && (h("div", { class: 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 => {
|
|
39945
39932
|
this.selected = [];
|
|
39946
39933
|
e.preventDefault();
|
|
39947
|
-
}, "data-tooltip": "Close Properties Panel" }, h("ls-icon", { name: "x", size: "1.25rem" }))), h("ls-field-properties", { id: "my-field-panel" }), h("slot", null))))) : (h(h.Fragment, null)), this.selected.length > 0 && h("ls-toolbar", { key: '
|
|
39934
|
+
}, "data-tooltip": "Close Properties Panel" }, h("ls-icon", { name: "x", size: "1.25rem" }))), h("ls-field-properties", { id: "my-field-panel" }), h("slot", null))))) : (h(h.Fragment, null)), this.selected.length > 0 && h("ls-toolbar", { key: 'a88185257ac871dc06d0cdfb469ce707f5181e4d', id: "ls-toolbar", template: this._template, editor: this, groupInfo: this.groupInfo }), h("div", { key: '45e36f82ccbc164030b88b77d5e5bee3d492adbd', id: "ls-mid-area" }, h("div", { key: 'ccfb67c4439afa826187684cb5607aa578d7e2c7', class: 'document-frame-wrapper', id: "document-frame-wrapper" }, h("div", { key: '8db690eef40e7681d55a741dd73b5baf04746b65', id: "ls-document-frame" }, h("canvas", { key: 'b3c5a5dd0628bc64ed4778331d55f9e21379b030', id: "pdf-canvas", class: this.displayTable || this.isLoading ? 'hidden' : '' }), h("ls-editor-table", { key: 'ad39cdc485dc2338cd1a0d352d80b86c9c21aa02', editor: this, class: this.displayTable ? '' : 'hidden' }), h("div", { key: '50f7fd13fa475862059e0068282dd679b019f53a', id: "ls-box-selector" }))), h("ls-statusbar", { key: '21e4863029cf8b59ad3f902a5dc9c2658aa1cefe', editor: this, page: this.pageNum, pageCount: this.pageCount })))), h("ls-tooltip", { key: 'd55c2e32d2b66bd63aa0fa20873e753736a7aff2', id: "ls-tooltip-master" })));
|
|
39948
39935
|
}
|
|
39949
39936
|
static get watchers() { return {
|
|
39950
39937
|
"mode": ["modeHandler"],
|
|
@@ -39985,7 +39972,7 @@ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentView
|
|
|
39985
39972
|
"pagePrev": [64],
|
|
39986
39973
|
"unselect": [64],
|
|
39987
39974
|
"setZoom": [64]
|
|
39988
|
-
}, [[0, "mutate", "mutateHandler"], [0, "fieldTypeSelected", "handleFieldTypeSelected"], [0, "
|
|
39975
|
+
}, [[0, "mutate", "mutateHandler"], [0, "fieldTypeSelected", "handleFieldTypeSelected"], [0, "addParticipant", "addParticpantHandler"], [0, "changeSigner", "updateSigner"], [0, "selectFields", "selectFieldsHandler"], [0, "roleChange", "roleHandler"]], {
|
|
39989
39976
|
"mode": ["modeHandler"],
|
|
39990
39977
|
"zoom": ["zoomChanged"]
|
|
39991
39978
|
}]);
|