legalesign-document-viewer 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ls-document-options_42.cjs.entry.js +7 -7
- package/dist/cjs/ls-document-options_42.cjs.entry.js.map +1 -1
- package/dist/collection/components/ls-document-options/ls-document-options.js +3 -3
- package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/adapter/templateActions.js +2 -2
- package/dist/collection/components/ls-document-viewer/adapter/templateActions.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +3 -3
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-participant-card/ls-participant-card.js +1 -1
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +1 -1
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
- package/dist/collection/types/LSApiTemplate.js.map +1 -1
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +18 -18
- package/dist/components/ls-document-viewer.js.map +1 -1
- package/dist/components/ls-editor-field.js +1 -1
- package/dist/components/ls-field-content.js +1 -1
- package/dist/components/ls-field-distribute.js +1 -1
- package/dist/components/ls-field-properties-date.js +1 -1
- package/dist/components/ls-field-properties-dropdown.js +2 -2
- 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-statusbar.js +1 -1
- package/dist/components/{p-D_bOpI93.js → p-BxdoHLJe.js} +3 -3
- package/dist/components/{p-D_bOpI93.js.map → p-BxdoHLJe.js.map} +1 -1
- package/dist/components/{p-DSWW2hzE.js → p-C26k_ME7.js} +14 -14
- package/dist/components/{p-DSWW2hzE.js.map → p-C26k_ME7.js.map} +1 -1
- package/dist/components/{p-Ymh-2OnV.js → p-CAkGTlBm.js} +4 -4
- package/dist/components/{p-Ymh-2OnV.js.map → p-CAkGTlBm.js.map} +1 -1
- package/dist/components/{p-DO4zTNa2.js → p-CBWx8ct9.js} +4 -4
- package/dist/components/{p-DO4zTNa2.js.map → p-CBWx8ct9.js.map} +1 -1
- package/dist/components/{p-Z79iUN1m.js → p-CoSuNdfC.js} +4 -4
- package/dist/components/{p-Z79iUN1m.js.map → p-CoSuNdfC.js.map} +1 -1
- package/dist/components/{p-0l2bXbFG.js → p-DCgwsmkK.js} +3 -3
- package/dist/components/{p-0l2bXbFG.js.map → p-DCgwsmkK.js.map} +1 -1
- package/dist/components/{p-BfYQbwHx.js → p-DFgVwcWo.js} +3 -3
- package/dist/components/{p-BfYQbwHx.js.map → p-DFgVwcWo.js.map} +1 -1
- package/dist/components/{p-BnXLoyl5.js → p-DP1YK_3k.js} +4 -4
- package/dist/components/{p-BnXLoyl5.js.map → p-DP1YK_3k.js.map} +1 -1
- package/dist/components/{p-DZm_unSc.js → p-DigkV_H3.js} +4 -4
- package/dist/components/p-DigkV_H3.js.map +1 -0
- package/dist/components/{p-yqhOKUzi.js → p-Dn74AhFZ.js} +4 -4
- package/dist/components/{p-yqhOKUzi.js.map → p-Dn74AhFZ.js.map} +1 -1
- package/dist/components/{p-GVTVbJVE.js → p-DxIsh8n6.js} +4 -4
- package/dist/components/p-DxIsh8n6.js.map +1 -0
- package/dist/components/{p-CHTd656b.js → p-HL1D4YSy.js} +4 -4
- package/dist/components/{p-CHTd656b.js.map → p-HL1D4YSy.js.map} +1 -1
- package/dist/components/{p-B6WHuozd.js → p-WkfNRHiN.js} +4 -4
- package/dist/components/{p-B6WHuozd.js.map → p-WkfNRHiN.js.map} +1 -1
- package/dist/components/{p-D7BMvkxF.js → p-_TQhquWF.js} +4 -4
- package/dist/components/{p-D7BMvkxF.js.map → p-_TQhquWF.js.map} +1 -1
- package/dist/components/{p-hM61nVV6.js → p-_fAfVUvN.js} +4 -4
- package/dist/components/{p-hM61nVV6.js.map → p-_fAfVUvN.js.map} +1 -1
- package/dist/esm/ls-document-options_42.entry.js +7 -7
- package/dist/esm/ls-document-options_42.entry.js.map +1 -1
- 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-yhuXQze-.js.map +1 -0
- package/dist/ls-document-viewer/floating-ui.dom-DtWVTgos.js.map +1 -0
- package/dist/ls-document-viewer/index-Dlkip55O.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/{p-3d9bde07.entry.js → p-69931cd9.entry.js} +4 -4
- package/dist/ls-document-viewer/p-69931cd9.entry.js.map +1 -0
- package/dist/ls-document-viewer/tooltip-Cb8nDMs-.js.map +1 -0
- package/dist/types/types/LSApiTemplate.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-DZm_unSc.js.map +0 -1
- package/dist/components/p-GVTVbJVE.js.map +0 -1
- package/dist/ls-document-viewer/p-3d9bde07.entry.js.map +0 -1
|
@@ -94,9 +94,9 @@ const LsDocumentOptions = class {
|
|
|
94
94
|
this.alter({ autoArchive: e.detail });
|
|
95
95
|
} })), index.h("div", { class: 'template-detail-section' }, index.h("div", null, index.h("p", { class: "template-detail-section-title" }, "Lock Template"), index.h("p", { class: 'template-detail-section-info' }, "Lock Template to avoid changes being made")), index.h("ls-toggle", { checked: this.template?.locked, onValueChange: e => {
|
|
96
96
|
this.alter({ locked: e.detail });
|
|
97
|
-
} })), index.h("div", { class: 'template-detail-section column' }, index.h("p", { class: "template-detail-section-title" }, "Document Retention (Days)"), index.h("p", null, index.h("input", { value: this.template?.
|
|
97
|
+
} })), index.h("div", { class: 'template-detail-section column' }, index.h("p", { class: "template-detail-section-title" }, "Document Retention (Days)"), index.h("p", null, index.h("input", { value: this.template?.documentRetentionDays, style: { width: '100%' }, type: 'number', onInput: e => {
|
|
98
98
|
e.preventDefault();
|
|
99
|
-
this.alter({
|
|
99
|
+
this.alter({ documentRetentionDays: e.target.value });
|
|
100
100
|
} }))), index.h("div", { class: 'template-detail-section column' }, index.h("p", { class: "template-detail-section-title" }, "Pages"), index.h("p", null, this.template?.pageCount)), index.h("div", { class: 'template-detail-section column' }, index.h("p", { class: "template-detail-section-title" }, "Date Created"), " ", index.h("p", null, formatDate(this.template?.created))), index.h("div", { class: 'template-detail-section column' }, index.h("p", { class: "template-detail-section-title" }, "Created By"), " ", index.h("p", null, this.template?.createdBy))), index.h("slot", null), index.h("ls-tooltip", { id: "ls-tooltip-master" })));
|
|
101
101
|
}
|
|
102
102
|
static get watchers() { return {
|
|
@@ -19998,7 +19998,7 @@ const updateTemplate = template => {
|
|
|
19998
19998
|
templateId: "${template.id}",
|
|
19999
19999
|
title: "${template.title}",
|
|
20000
20000
|
locked: ${template.locked},
|
|
20001
|
-
|
|
20001
|
+
documentRetentionDays: ${template.documentRetentionDays},
|
|
20002
20002
|
autoArchive: ${template.autoArchive},
|
|
20003
20003
|
fixSignatureScale: ${template.fixSignatureScale ? template.fixSignatureScale : false}
|
|
20004
20004
|
})
|
|
@@ -20026,7 +20026,7 @@ const getTemplate = (id) => {
|
|
|
20026
20026
|
lastSent
|
|
20027
20027
|
fixSignatureScale
|
|
20028
20028
|
groupId
|
|
20029
|
-
|
|
20029
|
+
documentRetentionDays
|
|
20030
20030
|
roles{
|
|
20031
20031
|
id
|
|
20032
20032
|
name
|
|
@@ -25392,7 +25392,7 @@ const LsDocumentViewer = class {
|
|
|
25392
25392
|
attachAllTooltips(this.component.shadowRoot);
|
|
25393
25393
|
}
|
|
25394
25394
|
render() {
|
|
25395
|
-
return (index.h(index.Host, { key: '
|
|
25395
|
+
return (index.h(index.Host, { key: '39b2a1bd5d0d4db7c87040861ce1931f2b7483dc' }, index.h(index.h.Fragment, null, this.isLoading && index.h("ls-page-loader", { key: 'b7a6849536df3c66fa9e93d8fccbe80712aac1e5' }), index.h("div", { key: 'd494495a6ca72e9e4f404845b2d5a821f8a204ec', class: 'validation-tag-wrapper' }, index.h("ls-validation-tag", { key: 'b6c3c64e6692dc5dd4a876419fbd5ae8f4ccda37', validationErrors: this.validationErrors })), index.h("div", { key: 'f098651e16f3140342942729b3b6ca03b8caba2a', class: "page-header" }, index.h("p", { key: '392fe33aa0231d216191b2be88205a072392d4c3', class: "header-text-1" }, "Template Creation"), index.h("p", { key: '58925f464288b8f106caf2f272b3596a101267b0' }, "/"), index.h("p", { key: '62e8869f014241be74443f4559a7069d0ab04ac5', class: "header-text-2" }, this._template?.title)), index.h("form", { key: '0958428ddd28950578106aac940404640817bb17', id: "ls-editor-form" }, this.showtoolbox === true ? (index.h("div", { id: "ls-left-box", class: "leftBox" }, index.h("div", { class: !this.selected || this.selected.length === 0 ? 'left-box-inner' : 'hidden' }, index.h("ls-feature-column", { onManage: manager => {
|
|
25396
25396
|
if (manager.detail === 'document') {
|
|
25397
25397
|
var documentManager = this.component.shadowRoot.getElementById('ls-document-options');
|
|
25398
25398
|
documentManager.template = this._template;
|
|
@@ -25402,10 +25402,10 @@ const LsDocumentViewer = class {
|
|
|
25402
25402
|
participantManager.template = this._template;
|
|
25403
25403
|
}
|
|
25404
25404
|
this.manager = manager.detail;
|
|
25405
|
-
} }), 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" }, index.h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature", tooltip: "Use this field to collect Signatures from Participants", signer: this.signer, style: this.signer > 0 ? { display: 'block' } : { display: 'none' } }), index.h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "auto-sign", tooltip: "Auto-Sign lets Senders add a Signature to the Document that will be automatically applied upon Sending", signer: this.signer, style: this.signer === 0 ? { display: 'block' } : { display: 'none' } }), index.h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text", tooltip: "A field for collecting any plain text values such as: names, addresses or descriptions", signer: this.signer }), this.signer > 0 && (index.h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date", tooltip: "Automatically inserts the date upon completion by the assigned Participant", signer: this.signer })), index.h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender", tooltip: "A field for collecting dates with built-in date formatting options", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol", tooltip: "A Field to only accept entries formatted as an email address (e.g., example@example.com)", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials", tooltip: "Use this field anywhere Participants are required to Initial your document", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag", tooltip: "A Field to only accept entries in numerical format. Additional validations include character limit (1 to 12 digits), and currency format (2 decimal places)", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "dropdown", formElementType: "dropdown", label: "Dropdown", defaultHeight: 27, defaultWidth: 80, validation: 20, icon: "dropdown", tooltip: "Use this field to create custom dropdown menus in your document, or place one of our handy presets for countries or prefixes", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check", tooltip: "Places a checkbox on your document. Handy for T&Cs or \u2714/\u2717 sections", signer: this.signer }), this.signer > 0 && (index.h(
|
|
25405
|
+
} }), 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" }, index.h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature", tooltip: "Use this field to collect Signatures from Participants", signer: this.signer, style: this.signer > 0 ? { display: 'block' } : { display: 'none' } }), index.h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "auto-sign", tooltip: "Auto-Sign lets Senders add a Signature to the Document that will be automatically applied upon Sending", signer: this.signer, style: this.signer === 0 ? { display: 'block' } : { display: 'none' } }), index.h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text", tooltip: "A field for collecting any plain text values such as: names, addresses or descriptions", signer: this.signer }), this.signer > 0 && (index.h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date", tooltip: "Automatically inserts the date upon completion by the assigned Participant", signer: this.signer })), index.h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender", tooltip: "A field for collecting dates with built-in date formatting options", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol", tooltip: "A Field to only accept entries formatted as an email address (e.g., example@example.com)", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials", tooltip: "Use this field anywhere Participants are required to Initial your document", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag", tooltip: "A Field to only accept entries in numerical format. Additional validations include character limit (1 to 12 digits), and currency format (2 decimal places)", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "dropdown", formElementType: "dropdown", label: "Dropdown", defaultHeight: 27, defaultWidth: 80, validation: 20, icon: "dropdown", tooltip: "Use this field to create custom dropdown menus in your document, or place one of our handy presets for countries or prefixes", signer: this.signer }), index.h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check", tooltip: "Places a checkbox on your document. Handy for T&Cs or \u2714/\u2717 sections", signer: this.signer }), this.signer > 0 && (index.h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93, icon: "code", tooltip: "Need a specific validation? Use this field to enter a custom RegEx and have Participants enter exactly what you need", signer: this.signer })), this.signer > 0 && (index.h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90, icon: "photograph", tooltip: "Use when you need Participants to upload their own images during the signing process", signer: this.signer })), this.signer > 0 && (index.h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74, icon: "upload", tooltip: "Use when you need Participants to upload their own documents during the signing process", signer: this.signer })), this.signer > 0 && (index.h("ls-toolbox-field", { elementType: "drawn", formElementType: "drawn", label: "Drawn", defaultHeight: 120, defaultWidth: 120, validation: 90, icon: "pencil", tooltip: "Allow users to draw on the document using their mouse or touchscreen", 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.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 => {
|
|
25406
25406
|
this.selected = [];
|
|
25407
25407
|
e.preventDefault();
|
|
25408
|
-
}, "data-tooltip": "Close Properties Panel" }, 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: '
|
|
25408
|
+
}, "data-tooltip": "Close Properties Panel" }, 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: '7d13b89481e924a7f6523986528dcf27895add92', id: "ls-toolbar", template: this._template, editor: this, groupInfo: this.groupInfo }), index.h("div", { key: 'fe45c06a7d1e08b3ccb3b74a6935e70fedaeb34f', id: "ls-mid-area" }, index.h("div", { key: '5fbc5d27772a3843605c40ffbdd0c170931593c6', class: 'document-frame-wrapper', id: "document-frame-wrapper" }, index.h("div", { key: 'ccefa397f24b39c7a8aaf591fc946ebe4a29e917', id: "ls-document-frame" }, index.h("canvas", { key: '22143fcbb6f25c2380b96239f02596e08ce698a7', id: "pdf-canvas", class: this.displayTable || this.isLoading ? 'hidden' : '' }), index.h("ls-editor-table", { key: '44583076450e41e25f93444c3be95686ebf7cfd6', editor: this, class: this.displayTable ? '' : 'hidden' }), index.h("div", { key: '53033fd56beea01dc1666b05ba957f1a43f2f419', id: "ls-box-selector" }))), index.h("ls-statusbar", { key: '0458d3dc9740703c93f34ac095e1cee566bc561f', editor: this, page: this.pageNum, pageCount: this.pageCount })))), index.h("ls-tooltip", { key: '61ac52fbee6e14d82fa705fb5f565488e86feae8', id: "ls-tooltip-master" })));
|
|
25409
25409
|
}
|
|
25410
25410
|
static get watchers() { return {
|
|
25411
25411
|
"mode": ["modeHandler"],
|