legalesign-document-viewer 0.6.5 → 0.6.6
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_45.cjs.entry.js +16 -29
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/cjs/ls-title-input.cjs.entry.js +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +2 -2
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -8
- package/dist/collection/components/ls-statusbar/ls-statusbar.js.map +1 -1
- package/dist/collection/components/ls-title-input/ls-title-input.js +1 -1
- package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +3 -3
- package/dist/collection/components/ls-tooltip/ls-tooltip.js +1 -1
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +2 -2
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +2 -2
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +34 -34
- package/dist/components/ls-document-viewer.js.map +1 -1
- package/dist/components/ls-editor-field.js +1 -1
- package/dist/components/ls-feature-column.js +1 -1
- package/dist/components/ls-field-alignment.js +1 -1
- package/dist/components/ls-field-content.js +1 -1
- package/dist/components/ls-field-dimensions.js +1 -1
- package/dist/components/ls-field-distribute.js +1 -1
- package/dist/components/ls-field-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-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-helper-bar.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-recipient-card.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/ls-title-input.js +1 -1
- package/dist/components/ls-toggle.js +1 -1
- package/dist/components/ls-toolbar.js +1 -1
- package/dist/components/ls-toolbox-field.js +1 -1
- package/dist/components/ls-tooltip.js +1 -1
- package/dist/components/ls-validation-manager.js +1 -1
- package/dist/components/ls-validation-tag.js +1 -1
- package/dist/components/{p-C0jnLrrj.js → p-B09-g3N3.js} +21 -21
- package/dist/components/{p-C0jnLrrj.js.map → p-B09-g3N3.js.map} +1 -1
- package/dist/components/{p-CidVEtba.js → p-B4_-Y3Tc.js} +3 -3
- package/dist/components/{p-CidVEtba.js.map → p-B4_-Y3Tc.js.map} +1 -1
- package/dist/components/{p-CHZeQy3Z.js → p-B5EwUjVc.js} +4 -4
- package/dist/components/{p-CHZeQy3Z.js.map → p-B5EwUjVc.js.map} +1 -1
- package/dist/components/{p-nmGTYrW-.js → p-Bd5hHfVU.js} +4 -4
- package/dist/components/{p-nmGTYrW-.js.map → p-Bd5hHfVU.js.map} +1 -1
- package/dist/components/{p-CQbfOsEw.js → p-Bw19bxna.js} +8 -18
- package/dist/components/p-Bw19bxna.js.map +1 -0
- package/dist/components/{p-Bs5jafH9.js → p-ByDQQEah.js} +8 -8
- package/dist/components/{p-Bs5jafH9.js.map → p-ByDQQEah.js.map} +1 -1
- package/dist/components/{p-BFkdb2U_.js → p-C1tRVzU2.js} +8 -8
- package/dist/components/{p-BFkdb2U_.js.map → p-C1tRVzU2.js.map} +1 -1
- package/dist/components/{p-SKySuEfc.js → p-C9Q1HN8D.js} +8 -8
- package/dist/components/{p-SKySuEfc.js.map → p-C9Q1HN8D.js.map} +1 -1
- package/dist/components/{p-DzeltV9H.js → p-CI3IFKqK.js} +6 -6
- package/dist/components/{p-DzeltV9H.js.map → p-CI3IFKqK.js.map} +1 -1
- package/dist/components/{p-CKGxyjXl.js → p-CJEEXCe5.js} +8 -8
- package/dist/components/{p-CKGxyjXl.js.map → p-CJEEXCe5.js.map} +1 -1
- package/dist/components/{p-BWxN_Vjk.js → p-CKToCaMr.js} +8 -8
- package/dist/components/{p-BWxN_Vjk.js.map → p-CKToCaMr.js.map} +1 -1
- package/dist/components/{p-n1WnrNQm.js → p-CN4S8Tr6.js} +3 -3
- package/dist/components/{p-n1WnrNQm.js.map → p-CN4S8Tr6.js.map} +1 -1
- package/dist/components/{p-QIG8yroe.js → p-CQgNJHWL.js} +4 -4
- package/dist/components/{p-QIG8yroe.js.map → p-CQgNJHWL.js.map} +1 -1
- package/dist/components/{p-CkqxItxD.js → p-CYMm2d62.js} +3 -3
- package/dist/components/{p-CkqxItxD.js.map → p-CYMm2d62.js.map} +1 -1
- package/dist/components/{p-CPvKTPe5.js → p-Ch9RTQWk.js} +3 -3
- package/dist/components/{p-CPvKTPe5.js.map → p-Ch9RTQWk.js.map} +1 -1
- package/dist/components/{p-DZJAZNpf.js → p-Cx-QcGQg.js} +4 -4
- package/dist/components/{p-DZJAZNpf.js.map → p-Cx-QcGQg.js.map} +1 -1
- package/dist/components/{p-CJkBPERb.js → p-D9j4pLd9.js} +3 -3
- package/dist/components/{p-CJkBPERb.js.map → p-D9j4pLd9.js.map} +1 -1
- package/dist/components/{p-pkGFr1Z2.js → p-DAbxwVGl.js} +4 -4
- package/dist/components/{p-pkGFr1Z2.js.map → p-DAbxwVGl.js.map} +1 -1
- package/dist/components/{p-CUKHkPYp.js → p-DBZFz4Ni.js} +3 -3
- package/dist/components/{p-CUKHkPYp.js.map → p-DBZFz4Ni.js.map} +1 -1
- package/dist/components/{p-DYgxVYY_.js → p-DOVKgxCG.js} +8 -8
- package/dist/components/{p-DYgxVYY_.js.map → p-DOVKgxCG.js.map} +1 -1
- package/dist/components/{p-CH80YX8k.js → p-DdAAJAZW.js} +4 -4
- package/dist/components/{p-CH80YX8k.js.map → p-DdAAJAZW.js.map} +1 -1
- package/dist/components/{p-DLH6tfrF.js → p-DirhmWEt.js} +3 -3
- package/dist/components/{p-DLH6tfrF.js.map → p-DirhmWEt.js.map} +1 -1
- package/dist/components/{p-CkhPBlI9.js → p-DjoGeTiz.js} +8 -8
- package/dist/components/{p-CkhPBlI9.js.map → p-DjoGeTiz.js.map} +1 -1
- package/dist/components/{p-BgkYJeKL.js → p-DlvtuKVG.js} +8 -8
- package/dist/components/{p-BgkYJeKL.js.map → p-DlvtuKVG.js.map} +1 -1
- package/dist/components/{p-C5Vb76Fm.js → p-Japz4chS.js} +10 -10
- package/dist/components/{p-C5Vb76Fm.js.map → p-Japz4chS.js.map} +1 -1
- package/dist/components/{p-D2OTJcln.js → p-Q8FkbaRF.js} +3 -12
- package/dist/components/p-Q8FkbaRF.js.map +1 -0
- package/dist/components/{p-Czl42iXj.js → p-T6MZpv4Y.js} +6 -6
- package/dist/components/{p-Czl42iXj.js.map → p-T6MZpv4Y.js.map} +1 -1
- package/dist/components/{p-CHOBv8qd.js → p-UffBQXtF.js} +3 -3
- package/dist/components/{p-CHOBv8qd.js.map → p-UffBQXtF.js.map} +1 -1
- package/dist/components/{p-D7jf6qmY.js → p-enO8g-4z.js} +4 -4
- package/dist/components/{p-D7jf6qmY.js.map → p-enO8g-4z.js.map} +1 -1
- package/dist/components/{p-Drbp3Wll.js → p-faUZy676.js} +3 -3
- package/dist/components/{p-Drbp3Wll.js.map → p-faUZy676.js.map} +1 -1
- package/dist/components/{p-BQL_JBkw.js → p-mm_laW9q.js} +4 -4
- package/dist/components/{p-BQL_JBkw.js.map → p-mm_laW9q.js.map} +1 -1
- package/dist/components/{p-DeijuJkt.js → p-pumCOAgo.js} +5 -5
- package/dist/components/{p-DeijuJkt.js.map → p-pumCOAgo.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-document-options_45.entry.js +16 -29
- package/dist/esm/ls-document-viewer.js +1 -1
- package/dist/esm/ls-title-input.entry.js +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/defaultFieldLabels-CUaKk41L.js.map +1 -0
- package/dist/ls-document-viewer/defaultPalette-CwCWCxsI.js.map +1 -0
- package/dist/ls-document-viewer/editorUtils-YTJRYf3y.js.map +1 -0
- package/dist/ls-document-viewer/index-DANCsk1i.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/mouseHandlers-Df2gspvS.js.map +1 -0
- package/dist/ls-document-viewer/{p-28c1a528.entry.js → p-a4dd9383.entry.js} +594 -594
- package/dist/ls-document-viewer/p-a4dd9383.entry.js.map +1 -0
- package/dist/ls-document-viewer/{p-9d295f9a.entry.js → p-bd532735.entry.js} +2 -2
- package/dist/ls-document-viewer/tooltip-Cb8nDMs-.js.map +1 -0
- package/dist/types/components/ls-statusbar/ls-statusbar.d.ts +0 -1
- package/package.json +1 -1
- package/readme.md +25 -5
- package/dist/components/p-CQbfOsEw.js.map +0 -1
- package/dist/components/p-D2OTJcln.js.map +0 -1
- package/dist/ls-document-viewer/p-28c1a528.entry.js.map +0 -1
- /package/dist/ls-document-viewer/{p-9d295f9a.entry.js.map → p-bd532735.entry.js.map} +0 -0
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ var index = require('./index-Czv4Oowx.js');
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await index.globalScripts();
|
|
8
|
-
return index.bootstrapLazy([["ls-field-properties-dropdown.cjs",[[769,"ls-field-properties-dropdown",{"dataItem":[16]}]]],["ls-formfield.cjs",[[772,"ls-formfield",{"name":[1],"fieldId":[1,"field-id"],"label":[1],"as":[1],"value":[1032],"placeholder":[1],"descriptionText":[1,"description-text"],"errorText":[1,"error-text"],"aria":[1],"inputRef":[1,"input-ref"],"infoTooltipText":[1,"info-tooltip-text"],"hoverTooltipText":[1,"hover-tooltip-text"],"disabled":[4],"extraLabel":[1,"extra-label"],"required":[4],"valid":[4],"dirty":[4],"count":[4],"countMax":[2,"count-max"],"buttonClick":[16],"buttonIcon":[1,"button-icon"],"labelIcon":[1,"label-icon"],"fieldIcon":[1,"field-icon"],"_value":[32]},null,{"value":["valueWatcher"]}]]],["ls-title-input.cjs",[[769,"ls-title-input",{"template":[1040],"editTitle":[32]}]]],["ls-compose-manager.cjs",[[769,"ls-compose-manager",{"template":[16]}]]],["ls-document-options_45.cjs",[[769,"ls-document-viewer",{"template":[1],"token":[1],"userpool":[1],"endpoint":[1],"templateid":[1],"recipients":[1],"_recipients":[16],"zoom":[1026],"pageNum":[1026,"page-num"],"pageCount":[1026,"page-count"],"signer":[1026],"groupInfo":[1032,"group-info"],"mode":[1],"manager":[1025],"displayTable":[1028,"display-table"],"filtertoolbox":[1],"showstatusbar":[4],"showpagepreview":[4],"readonly":[4],"showtableview":[4],"toolboxFilter":[1,"toolbox-filter"],"_template":[32],"validationErrors":[32],"status":[32],"fontSize":[32],"fontFamily":[32],"selected":[32],"isLoading":[32],"fieldTypeSelected":[32],"pageNext":[64],"pagePrev":[64],"unselect":[64],"setZoom":[64]},[[0,"mutate","mutateHandler"],[0,"fieldTypeSelected","handleFieldTypeSelected"],[0,"addParticipant","addParticpantHandler"],[0,"changeSigner","updateSigner"],[0,"selectFields","selectFieldsHandler"],[0,"roleChange","roleHandler"]],{"mode":["modeHandler"],"zoom":["zoomChanged"]}],[769,"ls-field-properties",{"dataItem":[16]}],[769,"ls-
|
|
8
|
+
return index.bootstrapLazy([["ls-field-properties-dropdown.cjs",[[769,"ls-field-properties-dropdown",{"dataItem":[16]}]]],["ls-formfield.cjs",[[772,"ls-formfield",{"name":[1],"fieldId":[1,"field-id"],"label":[1],"as":[1],"value":[1032],"placeholder":[1],"descriptionText":[1,"description-text"],"errorText":[1,"error-text"],"aria":[1],"inputRef":[1,"input-ref"],"infoTooltipText":[1,"info-tooltip-text"],"hoverTooltipText":[1,"hover-tooltip-text"],"disabled":[4],"extraLabel":[1,"extra-label"],"required":[4],"valid":[4],"dirty":[4],"count":[4],"countMax":[2,"count-max"],"buttonClick":[16],"buttonIcon":[1,"button-icon"],"labelIcon":[1,"label-icon"],"fieldIcon":[1,"field-icon"],"_value":[32]},null,{"value":["valueWatcher"]}]]],["ls-title-input.cjs",[[769,"ls-title-input",{"template":[1040],"editTitle":[32]}]]],["ls-compose-manager.cjs",[[769,"ls-compose-manager",{"template":[16]}]]],["ls-document-options_45.cjs",[[769,"ls-document-viewer",{"template":[1],"token":[1],"userpool":[1],"endpoint":[1],"templateid":[1],"recipients":[1],"_recipients":[16],"zoom":[1026],"pageNum":[1026,"page-num"],"pageCount":[1026,"page-count"],"signer":[1026],"groupInfo":[1032,"group-info"],"mode":[1],"manager":[1025],"displayTable":[1028,"display-table"],"filtertoolbox":[1],"showstatusbar":[4],"showpagepreview":[4],"readonly":[4],"showtableview":[4],"toolboxFilter":[1,"toolbox-filter"],"_template":[32],"validationErrors":[32],"status":[32],"fontSize":[32],"fontFamily":[32],"selected":[32],"isLoading":[32],"fieldTypeSelected":[32],"pageNext":[64],"pagePrev":[64],"unselect":[64],"setZoom":[64]},[[0,"mutate","mutateHandler"],[0,"fieldTypeSelected","handleFieldTypeSelected"],[0,"addParticipant","addParticpantHandler"],[0,"changeSigner","updateSigner"],[0,"selectFields","selectFieldsHandler"],[0,"roleChange","roleHandler"]],{"mode":["modeHandler"],"zoom":["zoomChanged"]}],[769,"ls-field-properties",{"dataItem":[16]}],[769,"ls-participant-manager",{"editor":[16],"template":[16]}],[769,"ls-statusbar",{"zoom":[1026],"page":[1026],"pageCount":[1026,"page-count"],"editor":[16]}],[769,"ls-toolbar",{"dataItem":[1040],"groupInfo":[16],"template":[16],"editor":[1040],"mode":[1]}],[769,"ls-document-options",{"template":[1040],"editTitle":[32]},null,{"template":["selectedHandler"]}],[769,"ls-recipient-card",{"recipient":[16],"activeRecipient":[2,"active-recipient"],"fieldTypeSelected":[16],"template":[16],"validationErrors":[16],"filtertoolbox":[1],"isHovered":[32]},[[0,"fieldTypeSelected","handleFieldTypeSelected"]],{"activeRecipient":["handleExpandCollapse"]}],[769,"ls-validation-manager",{"validationErrors":[16]}],[769,"ls-feature-column",{"manager":[1025],"mode":[1]}],[769,"ls-validation-tag",{"status":[1025],"validationErrors":[1040],"isExpanded":[1028,"is-expanded"],"type":[1],"showDropDown":[4,"show-drop-down"]}],[769,"ls-editor-table",{"editor":[16]}],[257,"ls-page-loader"],[257,"ls-recipient-manager"],[769,"ls-field-properties-date",{"dataItem":[16]}],[769,"ls-field-properties-email",{"dataItem":[16]}],[769,"ls-field-properties-file",{"dataItem":[16]}],[769,"ls-field-properties-general",{"dataItem":[16]}],[769,"ls-field-properties-image",{"dataItem":[16]}],[769,"ls-field-properties-number",{"dataItem":[16]}],[769,"ls-field-properties-signature",{"dataItem":[16]}],[769,"ls-field-properties-text",{"dataItem":[16]}],[769,"ls-field-properties-multiple",{"dataItem":[1040]}],[769,"ls-field-properties-autosign",{"dataItem":[16]}],[769,"ls-helper-bar",{"expanded":[1028],"showShortcuts":[1028,"show-shortcuts"]}],[769,"ls-participant-card",{"signer":[16],"index":[2],"editable":[1028],"template":[16],"swapUpBtn":[32],"swapDownBtn":[32],"editBtn":[32],"deleteParticipantBtn":[32]},null,{"editable":["modeHandler"]}],[769,"ls-field-format",{"dataItem":[1040]},null,{"dataItem":["selectFieldsHandler"]}],[769,"ls-participant-select",{"selected":[1025],"roles":[16],"selectedRole":[32],"isOpen":[32]},null,{"roles":["handleRoleLoad"]}],[769,"ls-field-distribute",{"dataItem":[1040]}],[769,"ls-field-alignment",{"dataItem":[1040]}],[769,"ls-field-size",{"dataItem":[1040]}],[769,"ls-toolbox-field",{"formElementType":[1,"form-element-type"],"elementType":[1,"element-type"],"validation":[2],"fixedAspect":[2,"fixed-aspect"],"redDot":[4,"red-dot"],"label":[1],"icon":[1],"tooltip":[1],"defaultHeight":[2,"default-height"],"defaultWidth":[2,"default-width"],"signer":[2],"isSelected":[1028,"is-selected"]},[[1,"dragstart","handleDragStart"],[0,"keydown","handleKeyDown"]]],[257,"ls-keyboard-shortcuts"],[769,"ls-field-content",{"dataItem":[1040],"showValidationTypes":[4,"show-validation-types"]}],[769,"ls-field-placement",{"dataItem":[1040]}],[769,"ls-field-properties-advanced",{"dataItem":[1040],"expanded":[1028]}],[769,"ls-field-type-display",{"assignee":[2],"fieldType":[1,"field-type"]}],[769,"ls-field-properties-container",{"dataItem":[16],"tabs":[16],"selectedTab":[1537,"selected-tab"]}],[769,"ls-field-dimensions",{"dataItem":[1040]}],[769,"ls-field-footer",{"dataItem":[1040]}],[769,"ls-input-wrapper",{"leadingIcon":[1,"leading-icon"],"select":[4]}],[769,"ls-props-section",{"sectionTitle":[1,"section-title"],"sectionDescription":[1,"section-description"],"row":[4]}],[772,"ls-toggle",{"checked":[1028],"indeterminate":[4]}],[769,"ls-editor-field",{"assignee":[1],"dataItem":[1040],"selected":[4],"readonly":[4],"type":[1],"page":[16],"fixedAspect":[2,"fixed-aspect"],"zoom":[1],"floatingActive":[1540,"floating-active"],"isEditing":[32],"heldEdge":[32],"isEdgeDragging":[32],"innerValue":[32]},[[0,"keydown","handleInput"],[3,"mousemove","handleMouseMove"],[2,"dblclick","handleDoubleClick"],[0,"dragstart","handleDragStart"]],{"selected":["watchSelectedHandler"]}],[769,"ls-tooltip",{"referenceElement":[1040],"placement":[1025],"tooltipText":[1025,"tooltip-text"],"tooltipTitle":[1025,"tooltip-title"],"tooltipLocked":[4,"tooltip-locked"],"hide":[64]},null,{"referenceElement":["updateReferenceHandler"]}],[769,"ls-icon",{"name":[1],"solid":[4],"color":[1],"size":[1],"customStyle":[16]}]]],["ls-number-input_5.cjs",[[769,"ls-number-input",{"type":[1],"name":[1],"value":[1026],"placeholder":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"required":[4],"valid":[4],"dirty":[4],"countMax":[2,"count-max"],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"]}],[768,"ls-radio-input",{"radioId":[1,"radio-id"],"label":[1],"icon":[1],"name":[1],"checked":[4],"disabled":[4],"customStyle":[16]}],[772,"ls-select-input",{"name":[1],"value":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"displayOnly":[4,"display-only"],"required":[4],"valid":[4],"dirty":[4],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"]}],[769,"ls-text-input",{"type":[1],"name":[1],"value":[1025],"placeholder":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"required":[4],"valid":[4],"dirty":[4],"countMax":[2,"count-max"],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"],"showPassword":[32]}],[769,"ls-textarea-input",{"name":[1],"value":[1],"placeholder":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"displayOnly":[4,"display-only"],"required":[4],"valid":[4],"dirty":[4],"countMax":[2,"count-max"],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.setNonce = index.setNonce;
|
|
@@ -35373,15 +35373,6 @@ function alter(diffFn) {
|
|
|
35373
35373
|
});
|
|
35374
35374
|
this.mutate.emit(diffs);
|
|
35375
35375
|
}
|
|
35376
|
-
function debounce$1(func, timeout = 300) {
|
|
35377
|
-
let timer;
|
|
35378
|
-
return (...args) => {
|
|
35379
|
-
clearTimeout(timer);
|
|
35380
|
-
timer = setTimeout(() => {
|
|
35381
|
-
func.apply(this, args);
|
|
35382
|
-
}, timeout);
|
|
35383
|
-
};
|
|
35384
|
-
}
|
|
35385
35376
|
// After a mutation ensure that the new data is stored in fields and template
|
|
35386
35377
|
function matchData(data) {
|
|
35387
35378
|
const newObj = data.result;
|
|
@@ -40798,10 +40789,10 @@ const LsDocumentViewer = class {
|
|
|
40798
40789
|
}
|
|
40799
40790
|
this.manager = manager.detail;
|
|
40800
40791
|
} })), 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" }, "Fields"), index.h("p", { class: "toolbox-section-description" }, "Drag and drop, or select and double click, to place fields on the Document.")), index.h("div", { class: "fields-box" }, this.signer > 0 && this.showTool('signature') && (index.h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 25, defaultWidth: 97, validation: 0, icon: "signature", tooltip: "Use this field to collect Signatures from Participants", signer: this.signer })), this.signer === 0 && this.showTool('auto sign') && (index.h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 25, defaultWidth: 97, 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 })), this.showTool('text') && (index.h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 16, defaultWidth: 150, 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 && this.showTool('signing date') && (index.h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 16, defaultWidth: 100, validation: 30, icon: "auto-date", tooltip: "Automatically inserts the date upon completion by the assigned Participant", signer: this.signer })), this.showTool('date') && (index.h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 16, defaultWidth: 100, validation: 2, icon: "calender", tooltip: "A field for collecting dates with built-in date formatting options", signer: this.signer })), this.showTool('email') && (index.h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 16, defaultWidth: 150, 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 })), this.showTool('initials') && (index.h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 25, defaultWidth: 70, validation: 2000, icon: "initials", tooltip: "Use this field anywhere Participants are required to Initial your document", signer: this.signer })), this.showTool('number') && (index.h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 16, defaultWidth: 150, 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 })), this.showTool('dropdown') && (index.h("ls-toolbox-field", { elementType: "dropdown", formElementType: "dropdown", label: "Dropdown", defaultHeight: 16, defaultWidth: 100, 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 })), this.showTool('checkbox') && (index.h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 16, defaultWidth: 16, 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 && this.showTool('regex') && (index.h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 16, defaultWidth: 150, 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 && this.showTool('image') && (index.h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 16, defaultWidth: 100, 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 && this.showTool('file') && (index.h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 16, defaultWidth: 100, 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 && this.showTool('drawn') && (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' }), index.h("ls-validation-manager", { id: "ls-validation-manager", class: this.manager === 'validation' ? 'toolbox' : 'hidden' }), index.h("ls-recipient-manager", { id: "ls-recipient-manager", class: this.manager === 'recipient' ? 'compose-toolbox' : 'hidden' }, index.h("div", { class: 'scroll-gradient-top' }), index.h("div", { class: 'scroll-gradient-bottom' }), index.h("ls-validation-tag", { validationErrors: this.validationErrors, style: { position: 'absolute', top: '1.125rem', right: '1rem' }, type: "compose" }), index.h("div", { class: 'recipients-box' }, this._recipients &&
|
|
40801
|
-
this._recipients.map(recipient => (index.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 && (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 => {
|
|
40792
|
+
this._recipients.map(recipient => (index.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 }))), index.h("slot", { name: 'recipient-panel' })))), !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 => {
|
|
40802
40793
|
this.selected = [];
|
|
40803
40794
|
e.preventDefault();
|
|
40804
|
-
}, "data-tooltip": "Close Properties Panel" }, index.h("ls-icon", { name: "x", size: "1.25rem" }))), index.h("ls-field-properties", { id: "my-field-panel" }), index.h("slot", null))))) : (index.h(index.h.Fragment, null)), index.h("ls-toolbar", { key: '
|
|
40795
|
+
}, "data-tooltip": "Close Properties Panel" }, index.h("ls-icon", { name: "x", size: "1.25rem" }))), index.h("ls-field-properties", { id: "my-field-panel" }), index.h("slot", null))))) : (index.h(index.h.Fragment, null)), index.h("ls-toolbar", { key: '184e1155063c47577721d9bc5f3188c4e3a1d36f', id: "ls-toolbar", template: this._template, editor: this, groupInfo: this.groupInfo, mode: this.mode }), index.h("div", { key: '137092cc588a0d9fb132379103f728e7c2428534', id: "ls-mid-area" }, index.h("div", { key: '40413c7936f05d99cc40a9ee076c6c7e1fc5e7a6', class: 'document-frame-wrapper', id: "document-frame-wrapper" }, index.h("div", { key: '6198971eb33ffd56aadd50c880a88bb8ae28d51e', id: "ls-document-frame" }, index.h("canvas", { key: 'e0eb056d241beb0ccb5720c2b0501b96af5ccd2d', id: "pdf-canvas", class: this.displayTable || this.isLoading ? 'hidden' : '' }), index.h("ls-editor-table", { key: '2d38b6ca0fbc87c706131513eb8d878a6bc093cc', editor: this, class: this.displayTable ? '' : 'hidden' }), index.h("div", { key: '1e7bb54edb54952c51710cb31eb8475da39145d0', id: "ls-box-selector" }))), index.h("ls-statusbar", { key: 'dad16b80082a19f6cdd335e63f289199d5b6b0ae', editor: this, page: this.pageNum, pageCount: this.pageCount })))), index.h("ls-tooltip", { key: '4761a6f9ebad9a90729f35bbb15f22c3806ec8e1', id: "ls-tooltip-master" })));
|
|
40805
40796
|
}
|
|
40806
40797
|
static get watchers() { return {
|
|
40807
40798
|
"mode": ["modeHandler"],
|
|
@@ -49910,10 +49901,6 @@ const LsStatusbar = class {
|
|
|
49910
49901
|
this.editor.setZoom(value);
|
|
49911
49902
|
this.zoom = value;
|
|
49912
49903
|
}
|
|
49913
|
-
handleZoomInput() {
|
|
49914
|
-
const zoomInput = this.component.shadowRoot.getElementById('zoomRange');
|
|
49915
|
-
debounce$1(this.setZoom(parseInt(zoomInput.value) / 100), 700);
|
|
49916
|
-
}
|
|
49917
49904
|
fitWidth() {
|
|
49918
49905
|
const leftBox = this.editor.component.shadowRoot.getElementById('ls-left-box');
|
|
49919
49906
|
const midBox = this.editor.component.shadowRoot.getElementById('document-frame-wrapper');
|
|
@@ -49932,11 +49919,11 @@ const LsStatusbar = class {
|
|
|
49932
49919
|
this.zoom = this.editor.zoom;
|
|
49933
49920
|
}
|
|
49934
49921
|
render() {
|
|
49935
|
-
return (index.h(index.Host, { key: '
|
|
49922
|
+
return (index.h(index.Host, { key: '69daa9251f31cf28501fd47c5536a3a0e76d48cf' }, index.h("div", { key: 'f1204ff3c369c48389df4ed8c5cb45457bb087a4', class: 'controls-bar' }, index.h("div", { key: '268b93d93af4689dbd477e292db3dbb45c88e40c', class: 'status-bar-section' }, index.h("button", { key: '50ed0b096d871252132eb8315d7b667ff2c1dbed', onClick: () => this.setZoom(this.editor.zoom * 0.8), id: "zoom-out-btn", "data-tooltip": "Zoom Out" }, index.h("ls-icon", { key: '278a53a799c94c202b1167ea4ee4ac2d93f69907', name: "zoom-out" })), index.h("button", { key: '5e54b379f8b62bcec29ae9b2a93a3f2c18e4d2cf', onClick: () => this.setZoom(this.editor.zoom / 0.8), id: "zoom-in-btn", "data-tooltip": "Zoom In" }, index.h("ls-icon", { key: 'e1442756c0f2a116ef5c73bfdc8c1a6d4175f2f7', name: "zoom-in" }))), index.h("div", { key: '2b8f781d778751430c6c0a092480951da8e19bb6', class: 'status-bar-section' }, index.h("button", { key: 'a4c2ecf2fe768c08da4b62a79650c68497cb1284', onClick: () => this.fitWidth(), id: "fit-width-btn", "data-tooltip": "Fit Width" }, index.h("ls-icon", { key: '1aabfc52e2ee40e1987013df6c289b1e061c44fc', name: "fit-width" })), index.h("button", { key: 'd0c118e1bccd4ecf46ee1d69443e88f8f28aa840', onClick: () => this.fitHeight(), id: "fit-height-btn", "data-tooltip": "Fit Height" }, index.h("ls-icon", { key: '64c11d4a5ec0baa1d00b37ce0fef036b0be4135d', name: "fit-height" }))), index.h("div", { key: '88aacd1a5d7f93cc32ffdf06ffc80466dedf81f7', class: 'status-bar-section', style: this.pageCount === 1 && { display: 'none' } }, index.h("button", { key: 'b50e21a2c4e81bfd74c8e28e0434e9e87efd5ecf', onClick: () => {
|
|
49936
49923
|
this.editor.pagePrev();
|
|
49937
|
-
}, disabled: this.page === 1, id: "prev-page-btn", "data-tooltip": this.page === 1 ? 'No Previous Page' : 'Previous Page' }, index.h("ls-icon", { key: '
|
|
49924
|
+
}, disabled: this.page === 1, id: "prev-page-btn", "data-tooltip": this.page === 1 ? 'No Previous Page' : 'Previous Page' }, index.h("ls-icon", { key: '186439c2ec1aaf4c28115b127aefa5fba822e0bc', name: "chevron-left" })), index.h("p", { key: '6fd3361abd38ee35deb8a17c79c760a2ffa756c4' }, this.page, " / ", this.pageCount), index.h("button", { key: 'f2b8a8b7f01d054f8c8134f1dadfb14d1f7c3029', onClick: () => {
|
|
49938
49925
|
this.editor.pageNext();
|
|
49939
|
-
}, disabled: this.page === this.pageCount, id: "next-page-btn", "data-tooltip": this.page === this.pageCount ? 'No Next Page' : 'Next Page' }, index.h("ls-icon", { key: '
|
|
49926
|
+
}, disabled: this.page === this.pageCount, id: "next-page-btn", "data-tooltip": this.page === this.pageCount ? 'No Next Page' : 'Next Page' }, index.h("ls-icon", { key: 'fb8afc77276ed238b9e1eb54b89c9b34ee488371', name: "chevron-right" })))), index.h("ls-helper-bar", { key: '91f843e993768fcccdfad5a7dfc0ea3657a11bb5' }), index.h("ls-tooltip", { key: '1234000b8e14762eee8ec59474c700b454f8794d', id: "ls-tooltip-master" }), index.h("slot", { key: '81c53b7c086941ca205bb8991e275a7e270c09d9' })));
|
|
49940
49927
|
}
|
|
49941
49928
|
};
|
|
49942
49929
|
LsStatusbar.style = lsStatusbarCss();
|
|
@@ -49955,9 +49942,9 @@ const LsToggle = class {
|
|
|
49955
49942
|
this.valueChange.emit(value);
|
|
49956
49943
|
}
|
|
49957
49944
|
render() {
|
|
49958
|
-
return (index.h(index.Host, { key: '
|
|
49945
|
+
return (index.h(index.Host, { key: '5957a9ed29969b58d963574ba999b2b180a1d7ff' }, index.h("label", { key: '7e143845da6d747f0cf98436e67717439a139ede', class: "switch" }, index.h("input", { key: 'e1702d38aa544b818289eb9f800915c45fdff9d2', type: "checkbox", checked: this.checked, onChange: (e) => {
|
|
49959
49946
|
this.changeHandler(e.target.checked);
|
|
49960
|
-
} }), index.h("span", { key: '
|
|
49947
|
+
} }), index.h("span", { key: '0844f70abf4c3b6e4c7f882bd0198ccf336cece8', class: `${this.indeterminate ? 'indeterminate' : 'slider'} round` })), index.h("slot", { key: 'f35aefebfabfbc4abf066093fb7372093fb170e5' })));
|
|
49961
49948
|
}
|
|
49962
49949
|
};
|
|
49963
49950
|
LsToggle.style = lsToggleCss();
|
|
@@ -50012,7 +49999,7 @@ const LsToolbar = class {
|
|
|
50012
49999
|
});
|
|
50013
50000
|
}
|
|
50014
50001
|
render() {
|
|
50015
|
-
return (index.h("div", { key: '
|
|
50002
|
+
return (index.h("div", { key: '9241015256606515c1bafe6de514f51d3dcae839', class: this.mode !== 'compose' || (this.mode === 'compose' && this.dataItem && this.dataItem.length > 0) ? 'ls-toolbar' : '' }, this.dataItem && this.dataItem.length > 1 ? (index.h("div", { class: 'rowbox' }, index.h("ls-field-format", { dataItem: this?.dataItem }))) : (index.h("div", { class: 'rowbox' }, index.h("ls-field-format", { dataItem: this?.dataItem }), index.h("ls-participant-select", { id: "ls-participant-select", roles: this.template?.roles, style: { display: (this.dataItem && this.dataItem.length === 1) || this.mode === 'compose' ? 'none' : 'block' } }))), index.h("ls-tooltip", { key: '1a7a857a5c8398e5400ec55657186fbe92be75eb', id: "ls-tooltip-master" }), index.h("slot", { key: 'd05c68ac93f23e145105d39ffe4de5336011b831' })));
|
|
50016
50003
|
}
|
|
50017
50004
|
};
|
|
50018
50005
|
LsToolbar.style = lsToolbarCss();
|
|
@@ -50091,7 +50078,7 @@ const LsToolboxField = class {
|
|
|
50091
50078
|
attachAllTooltips(this.component.shadowRoot);
|
|
50092
50079
|
}
|
|
50093
50080
|
render() {
|
|
50094
|
-
return (index.h(index.Host, { key: '
|
|
50081
|
+
return (index.h(index.Host, { key: '56a23ad17846f199f7fcaf850fc2152685b0095b', draggable: "true" }, index.h("div", { key: '5b003deaf994d5182aa2a219d5eb4249601d556f', class: 'ls-toolbox-field', style: this.isSelected && {
|
|
50095
50082
|
background: defaultRolePalette[this.signer % 100].s10,
|
|
50096
50083
|
border: `1px solid ${defaultRolePalette[this.signer % 100].s60}`,
|
|
50097
50084
|
color: defaultRolePalette[this.signer % 100].s80,
|
|
@@ -50106,9 +50093,9 @@ const LsToolboxField = class {
|
|
|
50106
50093
|
defaultWidth: this.defaultWidth,
|
|
50107
50094
|
fixedAspect: this.fixedAspect,
|
|
50108
50095
|
});
|
|
50109
|
-
} }, index.h("div", { key: '
|
|
50096
|
+
} }, index.h("div", { key: 'aaf113fbda8b557b7db5ee6b962bf0257a454adb', class: "toolbox-field-icon", style: { '--signer-color-light': defaultRolePalette[this.signer % 100].s10, '--signer-color': defaultRolePalette[this.signer % 100].s60 }, "data-tooltip": this.tooltip, "data-tooltip-placement": "right" }, index.h("ls-icon", { key: '3534a75ac1a2ee26035a8349baf25a7d506ce344', name: this.icon, size: "1.25rem" })), index.h("p", { key: '860aad974239cd7bfeecb6f3f1883a5881be326f', class: "toolbox-field-label", style: this.isSelected && {
|
|
50110
50097
|
color: defaultRolePalette[this.signer % 100].s80,
|
|
50111
|
-
} }, this.label), this.redDot && (index.h("div", { key: '
|
|
50098
|
+
} }, this.label), this.redDot && (index.h("div", { key: 'b82b69424a07a70d553c6d6d0d4fef55751f40e7', class: 'warning-box', "data-tooltip": `${this.label} Field Required`, "data-tooltip-placement": "left" }, index.h("ls-icon", { key: 'a5e92570e44b0bc50ab1c6067a050b61b4ad09e6', name: "exclamation-circle", size: "1.125rem", solid: true }))), index.h("ls-icon", { key: '4d805b60a614d57e007a4897c13afa793c7181cf', name: "drag-vertical", size: "1rem", color: "#787a80" })), index.h("ls-tooltip", { key: '5a36f55422ee30658361ad41387c06d38754adb7', id: "ls-tooltip-master", tooltipText: "Something" })));
|
|
50112
50099
|
}
|
|
50113
50100
|
};
|
|
50114
50101
|
LsToolboxField.style = lsToolboxFieldCss();
|
|
@@ -51604,7 +51591,7 @@ const LsTooltip = class {
|
|
|
51604
51591
|
innerTooltip.classList.add('hidden');
|
|
51605
51592
|
}
|
|
51606
51593
|
render() {
|
|
51607
|
-
return (index.h("div", { key: '
|
|
51594
|
+
return (index.h("div", { key: '451c66547f31f246ed8407cdb736024deae00c10', id: "ls-tooltip-inner", class: "tooltip hidden", role: "tooltip" }, index.h("div", { key: '6fab60fd203005d3188d387d56b7dfb625bd8d38', id: "arrow" }), this.tooltipTitle && index.h("p", { key: '0f4fac167648a5cacb497eeae366ecd099403d2b', class: "tooltip-title" }, this.tooltipTitle), this.tooltipText, index.h("slot", { key: '133faef9c849edc3616c55219b3147d5fe1db06b' })));
|
|
51608
51595
|
}
|
|
51609
51596
|
static get watchers() { return {
|
|
51610
51597
|
"referenceElement": ["updateReferenceHandler"]
|
|
@@ -51624,7 +51611,7 @@ const LsValidationManager = class {
|
|
|
51624
51611
|
*/
|
|
51625
51612
|
validationErrors;
|
|
51626
51613
|
render() {
|
|
51627
|
-
return (index.h(index.Host, { key: '
|
|
51614
|
+
return (index.h(index.Host, { key: 'c893467217d533ecd36fad2cae23ef25a6f2fcfb' }, index.h("div", { key: '84e7f326878aa6f352b3d8e7e6f34d4eee311e7e' }, index.h("div", { key: '9ed0335e4e945dd18cf28100b60f023f49be80e5' }, index.h("div", { key: '90052ee13a6c44ac5ca44576a676bc98b7974435', class: 'validation-section-title' }, "Action Required"), index.h("p", { key: 'cfb7ba17cafac491b4e2b3f107237f4d7fd4e6fe', class: "toolbox-section-description" }, "This document needs fields added or corrected before it can be sent.")), this.validationErrors && this.validationErrors.map((field, idx) => {
|
|
51628
51615
|
const signerIndex = field?.role?.signerIndex ? field?.role?.signerIndex % 100 : null;
|
|
51629
51616
|
const pallette = defaultRolePalette[signerIndex || field?.element?.signer || 0];
|
|
51630
51617
|
return (index.h("div", { key: idx, class: 'required-field', style: {
|
|
@@ -51635,7 +51622,7 @@ const LsValidationManager = class {
|
|
|
51635
51622
|
'--field-text-color-hover': pallette.s80,
|
|
51636
51623
|
'--field-border-color-hover': pallette.s60,
|
|
51637
51624
|
} }, index.h("div", { class: 'required-field-items-left' }, index.h("div", { class: 'dot', style: { background: pallette.s60 } }), field?.role && (index.h("div", { class: 'required-field-items-left' }, index.h("p", { style: { color: pallette.s80 } }, field.role?.name || `Signer ${field?.role?.signerIndex + 1}`), index.h("div", { class: 'role-label', style: { background: pallette.s30, color: pallette.s70 } }, field.role?.roleType.toLowerCase() || `Signer ${field.role?.signerIndex + 1}`))), field?.element && (index.h(index.h.Fragment, null, 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: field.element.signer }), index.h("p", { style: { color: pallette.s80 } }, field.role?.name || `${field.element.formElementType} ${field?.element?.label + 1}`), index.h("div", { class: 'role-label', style: { background: pallette.s30, color: pallette.s70 } }, field.description))))));
|
|
51638
|
-
})), index.h("slot", { key: '
|
|
51625
|
+
})), index.h("slot", { key: 'ccabb8a86948a763ed8548e8b2f0ca3452bfb7c5' })));
|
|
51639
51626
|
}
|
|
51640
51627
|
};
|
|
51641
51628
|
LsValidationManager.style = lsValidationManagerCss();
|
|
@@ -51654,7 +51641,7 @@ const LsValidationTag = class {
|
|
|
51654
51641
|
showDropDown = true;
|
|
51655
51642
|
changeSigner;
|
|
51656
51643
|
render() {
|
|
51657
|
-
return (index.h(index.Host, { key: '
|
|
51644
|
+
return (index.h(index.Host, { key: '5050b95e6c62a18fa8951c529f77203f9eb5f857' }, index.h("div", { key: '239803724ff8829fdb2c9e76848563784cdb1264', class: `valid-label ${this.validationErrors.length === 0 ? 'valid' : 'invalid'} ${this.type === 'compose' ? 'compose' : 'default'}`, onClick: this.validationErrors.length && (() => (this.isExpanded = !this.isExpanded)) }, this.validationErrors.length > 0 && index.h("div", { key: '37b5e8669c1365bf5b0020a68198e12db1cd1ad3', class: `field-counter ${this.type === 'compose' ? 'compose' : 'default'}` }, this.validationErrors.length), this.type === 'compose' ? (this.validationErrors.length === 0 ? 'Ready' : `Required`) : this.validationErrors.length === 0 ? 'Ready to Send' : `Requires Fields`, this.validationErrors.length > 0 && this.showDropDown && this.type !== 'compose' && (index.h("ls-icon", { key: '27ce993c72d9fa3ed0cfa014a757754a70b05072', name: this.isExpanded ? 'chevron-up' : 'chevron-down', style: { cursor: 'pointer', scale: '0.60', margin: '0 -0.25rem' } })), this.validationErrors.length > 0 && this.type === 'compose' && index.h("ls-icon", { key: '2f356ae45b12484f5c4458cc94790af9cb22c67b', name: "cursor-click", solid: true, size: "1rem", customStyle: { color: 'var(--red-70, #DC2721);' } })), this.isExpanded && this.validationErrors.length !== 0 && this.showDropDown && this.type !== 'compose' && (index.h("div", { key: 'efb935ccae53b79c14566ef8d66840e99cb23256', class: 'field-dropdown' }, index.h("div", { key: '5ea34920a8940d11c53390ea36da564b80e614a2', class: 'dropdown-header' }, index.h("h2", { key: '692632e9709db5ee1833d21df35329ac4292f6e8' }, "Fields Required"), index.h("p", { key: '158312fefed0a3c2730ea2c7f117914ab5bcca87' }, this.validationErrors.length, " ", this.validationErrors.length === 1 ? 'Recipient needs a Signature Field' : 'Recipients need Signature Fields', " placed for them")), this.validationErrors.map((field, idx) => {
|
|
51658
51645
|
const signerIndex = field?.role?.signerIndex ? field?.role?.signerIndex % 100 : null;
|
|
51659
51646
|
const pallette = defaultRolePalette[signerIndex || field?.element?.signer || 0];
|
|
51660
51647
|
return (index.h("div", { key: idx, class: 'required-field', style: {
|
|
@@ -51665,7 +51652,7 @@ const LsValidationTag = class {
|
|
|
51665
51652
|
'--field-text-color-hover': pallette.s80,
|
|
51666
51653
|
'--field-border-color-hover': pallette.s60,
|
|
51667
51654
|
} }, index.h("div", { class: 'required-field-items-left' }, index.h("div", { class: 'dot', style: { background: pallette.s60 } }), field?.role && (index.h("div", { class: 'required-field-items-left' }, index.h("p", { style: { color: pallette.s80 } }, field.role?.name || `Signer ${field?.role?.signerIndex + 1}`), index.h("div", { class: 'role-label', style: { background: pallette.s30, color: pallette.s70 } }, field.role?.roleType.toLowerCase() || `Signer ${field.role?.signerIndex + 1}`))), field?.element && (index.h(index.h.Fragment, null, index.h("p", { style: { color: pallette.s80 } }, field.role?.name || `${field.element.formElementType} ${field?.element?.label + 1}`), index.h("div", { class: 'role-label', style: { background: pallette.s30, color: pallette.s70 } }, field.description))))));
|
|
51668
|
-
}))), this.isExpanded && this.validationErrors.length !== 0 && this.showDropDown && this.type === 'compose' && (index.h("div", { key: '
|
|
51655
|
+
}))), this.isExpanded && this.validationErrors.length !== 0 && this.showDropDown && this.type === 'compose' && (index.h("div", { key: '90cc28e36bd170be8fe22a237a08401cb88f2bfe', class: 'field-dropdown compose' }, index.h("div", { key: '7c04ab55281bbc7b83c8215c558d8bc7b1cda18b', class: "validation-tag-header" }, index.h("p", { key: 'b99b3780ff88660b35cabb8aa1f240116f357fe7', class: "validation-tag-title" }, "Recipients Missing Signature")), this.validationErrors.map((field, idx) => {
|
|
51669
51656
|
const signerIndex = field?.role?.signerIndex ? field?.role?.signerIndex % 100 : null;
|
|
51670
51657
|
const pallette = defaultRolePalette[signerIndex || field?.element?.signer || 0];
|
|
51671
51658
|
return (index.h("div", { class: "validation-tag-row", key: idx, onClick: () => {
|
|
@@ -18,7 +18,7 @@ var patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(async (options) => {
|
|
20
20
|
await index.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["ls-field-properties-dropdown.cjs",[[769,"ls-field-properties-dropdown",{"dataItem":[16]}]]],["ls-formfield.cjs",[[772,"ls-formfield",{"name":[1],"fieldId":[1,"field-id"],"label":[1],"as":[1],"value":[1032],"placeholder":[1],"descriptionText":[1,"description-text"],"errorText":[1,"error-text"],"aria":[1],"inputRef":[1,"input-ref"],"infoTooltipText":[1,"info-tooltip-text"],"hoverTooltipText":[1,"hover-tooltip-text"],"disabled":[4],"extraLabel":[1,"extra-label"],"required":[4],"valid":[4],"dirty":[4],"count":[4],"countMax":[2,"count-max"],"buttonClick":[16],"buttonIcon":[1,"button-icon"],"labelIcon":[1,"label-icon"],"fieldIcon":[1,"field-icon"],"_value":[32]},null,{"value":["valueWatcher"]}]]],["ls-title-input.cjs",[[769,"ls-title-input",{"template":[1040],"editTitle":[32]}]]],["ls-compose-manager.cjs",[[769,"ls-compose-manager",{"template":[16]}]]],["ls-document-options_45.cjs",[[769,"ls-document-viewer",{"template":[1],"token":[1],"userpool":[1],"endpoint":[1],"templateid":[1],"recipients":[1],"_recipients":[16],"zoom":[1026],"pageNum":[1026,"page-num"],"pageCount":[1026,"page-count"],"signer":[1026],"groupInfo":[1032,"group-info"],"mode":[1],"manager":[1025],"displayTable":[1028,"display-table"],"filtertoolbox":[1],"showstatusbar":[4],"showpagepreview":[4],"readonly":[4],"showtableview":[4],"toolboxFilter":[1,"toolbox-filter"],"_template":[32],"validationErrors":[32],"status":[32],"fontSize":[32],"fontFamily":[32],"selected":[32],"isLoading":[32],"fieldTypeSelected":[32],"pageNext":[64],"pagePrev":[64],"unselect":[64],"setZoom":[64]},[[0,"mutate","mutateHandler"],[0,"fieldTypeSelected","handleFieldTypeSelected"],[0,"addParticipant","addParticpantHandler"],[0,"changeSigner","updateSigner"],[0,"selectFields","selectFieldsHandler"],[0,"roleChange","roleHandler"]],{"mode":["modeHandler"],"zoom":["zoomChanged"]}],[769,"ls-field-properties",{"dataItem":[16]}],[769,"ls-
|
|
21
|
+
return index.bootstrapLazy([["ls-field-properties-dropdown.cjs",[[769,"ls-field-properties-dropdown",{"dataItem":[16]}]]],["ls-formfield.cjs",[[772,"ls-formfield",{"name":[1],"fieldId":[1,"field-id"],"label":[1],"as":[1],"value":[1032],"placeholder":[1],"descriptionText":[1,"description-text"],"errorText":[1,"error-text"],"aria":[1],"inputRef":[1,"input-ref"],"infoTooltipText":[1,"info-tooltip-text"],"hoverTooltipText":[1,"hover-tooltip-text"],"disabled":[4],"extraLabel":[1,"extra-label"],"required":[4],"valid":[4],"dirty":[4],"count":[4],"countMax":[2,"count-max"],"buttonClick":[16],"buttonIcon":[1,"button-icon"],"labelIcon":[1,"label-icon"],"fieldIcon":[1,"field-icon"],"_value":[32]},null,{"value":["valueWatcher"]}]]],["ls-title-input.cjs",[[769,"ls-title-input",{"template":[1040],"editTitle":[32]}]]],["ls-compose-manager.cjs",[[769,"ls-compose-manager",{"template":[16]}]]],["ls-document-options_45.cjs",[[769,"ls-document-viewer",{"template":[1],"token":[1],"userpool":[1],"endpoint":[1],"templateid":[1],"recipients":[1],"_recipients":[16],"zoom":[1026],"pageNum":[1026,"page-num"],"pageCount":[1026,"page-count"],"signer":[1026],"groupInfo":[1032,"group-info"],"mode":[1],"manager":[1025],"displayTable":[1028,"display-table"],"filtertoolbox":[1],"showstatusbar":[4],"showpagepreview":[4],"readonly":[4],"showtableview":[4],"toolboxFilter":[1,"toolbox-filter"],"_template":[32],"validationErrors":[32],"status":[32],"fontSize":[32],"fontFamily":[32],"selected":[32],"isLoading":[32],"fieldTypeSelected":[32],"pageNext":[64],"pagePrev":[64],"unselect":[64],"setZoom":[64]},[[0,"mutate","mutateHandler"],[0,"fieldTypeSelected","handleFieldTypeSelected"],[0,"addParticipant","addParticpantHandler"],[0,"changeSigner","updateSigner"],[0,"selectFields","selectFieldsHandler"],[0,"roleChange","roleHandler"]],{"mode":["modeHandler"],"zoom":["zoomChanged"]}],[769,"ls-field-properties",{"dataItem":[16]}],[769,"ls-participant-manager",{"editor":[16],"template":[16]}],[769,"ls-statusbar",{"zoom":[1026],"page":[1026],"pageCount":[1026,"page-count"],"editor":[16]}],[769,"ls-toolbar",{"dataItem":[1040],"groupInfo":[16],"template":[16],"editor":[1040],"mode":[1]}],[769,"ls-document-options",{"template":[1040],"editTitle":[32]},null,{"template":["selectedHandler"]}],[769,"ls-recipient-card",{"recipient":[16],"activeRecipient":[2,"active-recipient"],"fieldTypeSelected":[16],"template":[16],"validationErrors":[16],"filtertoolbox":[1],"isHovered":[32]},[[0,"fieldTypeSelected","handleFieldTypeSelected"]],{"activeRecipient":["handleExpandCollapse"]}],[769,"ls-validation-manager",{"validationErrors":[16]}],[769,"ls-feature-column",{"manager":[1025],"mode":[1]}],[769,"ls-validation-tag",{"status":[1025],"validationErrors":[1040],"isExpanded":[1028,"is-expanded"],"type":[1],"showDropDown":[4,"show-drop-down"]}],[769,"ls-editor-table",{"editor":[16]}],[257,"ls-page-loader"],[257,"ls-recipient-manager"],[769,"ls-field-properties-date",{"dataItem":[16]}],[769,"ls-field-properties-email",{"dataItem":[16]}],[769,"ls-field-properties-file",{"dataItem":[16]}],[769,"ls-field-properties-general",{"dataItem":[16]}],[769,"ls-field-properties-image",{"dataItem":[16]}],[769,"ls-field-properties-number",{"dataItem":[16]}],[769,"ls-field-properties-signature",{"dataItem":[16]}],[769,"ls-field-properties-text",{"dataItem":[16]}],[769,"ls-field-properties-multiple",{"dataItem":[1040]}],[769,"ls-field-properties-autosign",{"dataItem":[16]}],[769,"ls-helper-bar",{"expanded":[1028],"showShortcuts":[1028,"show-shortcuts"]}],[769,"ls-participant-card",{"signer":[16],"index":[2],"editable":[1028],"template":[16],"swapUpBtn":[32],"swapDownBtn":[32],"editBtn":[32],"deleteParticipantBtn":[32]},null,{"editable":["modeHandler"]}],[769,"ls-field-format",{"dataItem":[1040]},null,{"dataItem":["selectFieldsHandler"]}],[769,"ls-participant-select",{"selected":[1025],"roles":[16],"selectedRole":[32],"isOpen":[32]},null,{"roles":["handleRoleLoad"]}],[769,"ls-field-distribute",{"dataItem":[1040]}],[769,"ls-field-alignment",{"dataItem":[1040]}],[769,"ls-field-size",{"dataItem":[1040]}],[769,"ls-toolbox-field",{"formElementType":[1,"form-element-type"],"elementType":[1,"element-type"],"validation":[2],"fixedAspect":[2,"fixed-aspect"],"redDot":[4,"red-dot"],"label":[1],"icon":[1],"tooltip":[1],"defaultHeight":[2,"default-height"],"defaultWidth":[2,"default-width"],"signer":[2],"isSelected":[1028,"is-selected"]},[[1,"dragstart","handleDragStart"],[0,"keydown","handleKeyDown"]]],[257,"ls-keyboard-shortcuts"],[769,"ls-field-content",{"dataItem":[1040],"showValidationTypes":[4,"show-validation-types"]}],[769,"ls-field-placement",{"dataItem":[1040]}],[769,"ls-field-properties-advanced",{"dataItem":[1040],"expanded":[1028]}],[769,"ls-field-type-display",{"assignee":[2],"fieldType":[1,"field-type"]}],[769,"ls-field-properties-container",{"dataItem":[16],"tabs":[16],"selectedTab":[1537,"selected-tab"]}],[769,"ls-field-dimensions",{"dataItem":[1040]}],[769,"ls-field-footer",{"dataItem":[1040]}],[769,"ls-input-wrapper",{"leadingIcon":[1,"leading-icon"],"select":[4]}],[769,"ls-props-section",{"sectionTitle":[1,"section-title"],"sectionDescription":[1,"section-description"],"row":[4]}],[772,"ls-toggle",{"checked":[1028],"indeterminate":[4]}],[769,"ls-editor-field",{"assignee":[1],"dataItem":[1040],"selected":[4],"readonly":[4],"type":[1],"page":[16],"fixedAspect":[2,"fixed-aspect"],"zoom":[1],"floatingActive":[1540,"floating-active"],"isEditing":[32],"heldEdge":[32],"isEdgeDragging":[32],"innerValue":[32]},[[0,"keydown","handleInput"],[3,"mousemove","handleMouseMove"],[2,"dblclick","handleDoubleClick"],[0,"dragstart","handleDragStart"]],{"selected":["watchSelectedHandler"]}],[769,"ls-tooltip",{"referenceElement":[1040],"placement":[1025],"tooltipText":[1025,"tooltip-text"],"tooltipTitle":[1025,"tooltip-title"],"tooltipLocked":[4,"tooltip-locked"],"hide":[64]},null,{"referenceElement":["updateReferenceHandler"]}],[769,"ls-icon",{"name":[1],"solid":[4],"color":[1],"size":[1],"customStyle":[16]}]]],["ls-number-input_5.cjs",[[769,"ls-number-input",{"type":[1],"name":[1],"value":[1026],"placeholder":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"required":[4],"valid":[4],"dirty":[4],"countMax":[2,"count-max"],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"]}],[768,"ls-radio-input",{"radioId":[1,"radio-id"],"label":[1],"icon":[1],"name":[1],"checked":[4],"disabled":[4],"customStyle":[16]}],[772,"ls-select-input",{"name":[1],"value":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"displayOnly":[4,"display-only"],"required":[4],"valid":[4],"dirty":[4],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"]}],[769,"ls-text-input",{"type":[1],"name":[1],"value":[1025],"placeholder":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"required":[4],"valid":[4],"dirty":[4],"countMax":[2,"count-max"],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"],"showPassword":[32]}],[769,"ls-textarea-input",{"name":[1],"value":[1],"placeholder":[1],"aria":[1],"inputRef":[1,"input-ref"],"disabled":[4],"displayOnly":[4,"display-only"],"required":[4],"valid":[4],"dirty":[4],"countMax":[2,"count-max"],"buttonClick":[8,"button-click"],"buttonIcon":[1,"button-icon"],"fieldIcon":[1,"field-icon"]}]]]], options);
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
exports.setNonce = index.setNonce;
|
|
@@ -30,7 +30,7 @@ const LsTitleInput = class {
|
|
|
30
30
|
}, delay);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h(index.Host, { key: '
|
|
33
|
+
return (index.h(index.Host, { key: '954a32dad8c48be15367eff9fa0adbb55234655b' }, this.editTitle ? (index.h("div", { style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, index.h("input", { value: this.template?.title, style: { height: '1.25rem', padding: '0 0.25rem', width: 'fit-content' }, onInput: e => {
|
|
34
34
|
e.preventDefault();
|
|
35
35
|
this.alter({ title: e.target.value });
|
|
36
36
|
}, onKeyUp: e => {
|
|
@@ -575,10 +575,10 @@ export class LsDocumentViewer {
|
|
|
575
575
|
}
|
|
576
576
|
this.manager = manager.detail;
|
|
577
577
|
} })), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, h("h2", { class: "toolbox-section-title" }, "Fields"), h("p", { class: "toolbox-section-description" }, "Drag and drop, or select and double click, to place fields on the Document.")), h("div", { class: "fields-box" }, this.signer > 0 && this.showTool('signature') && (h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 25, defaultWidth: 97, validation: 0, icon: "signature", tooltip: "Use this field to collect Signatures from Participants", signer: this.signer })), this.signer === 0 && this.showTool('auto sign') && (h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 25, defaultWidth: 97, 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 })), this.showTool('text') && (h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 16, defaultWidth: 150, 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 && this.showTool('signing date') && (h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 16, defaultWidth: 100, validation: 30, icon: "auto-date", tooltip: "Automatically inserts the date upon completion by the assigned Participant", signer: this.signer })), this.showTool('date') && (h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 16, defaultWidth: 100, validation: 2, icon: "calender", tooltip: "A field for collecting dates with built-in date formatting options", signer: this.signer })), this.showTool('email') && (h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 16, defaultWidth: 150, 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 })), this.showTool('initials') && (h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 25, defaultWidth: 70, validation: 2000, icon: "initials", tooltip: "Use this field anywhere Participants are required to Initial your document", signer: this.signer })), this.showTool('number') && (h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 16, defaultWidth: 150, 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 })), this.showTool('dropdown') && (h("ls-toolbox-field", { elementType: "dropdown", formElementType: "dropdown", label: "Dropdown", defaultHeight: 16, defaultWidth: 100, 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 })), this.showTool('checkbox') && (h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 16, defaultWidth: 16, 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 && this.showTool('regex') && (h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 16, defaultWidth: 150, 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 && this.showTool('image') && (h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 16, defaultWidth: 100, 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 && this.showTool('file') && (h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 16, defaultWidth: 100, 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 && this.showTool('drawn') && (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 })))), 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' }), h("ls-validation-manager", { id: "ls-validation-manager", class: this.manager === 'validation' ? 'toolbox' : 'hidden' }), h("ls-recipient-manager", { id: "ls-recipient-manager", class: this.manager === 'recipient' ? 'compose-toolbox' : 'hidden' }, h("div", { class: 'scroll-gradient-top' }), h("div", { class: 'scroll-gradient-bottom' }), h("ls-validation-tag", { validationErrors: this.validationErrors, style: { position: 'absolute', top: '1.125rem', right: '1rem' }, type: "compose" }), h("div", { class: 'recipients-box' }, this._recipients &&
|
|
578
|
-
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 => {
|
|
578
|
+
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 }))), h("slot", { name: 'recipient-panel' })))), !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 => {
|
|
579
579
|
this.selected = [];
|
|
580
580
|
e.preventDefault();
|
|
581
|
-
}, "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)), h("ls-toolbar", { key: '
|
|
581
|
+
}, "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)), h("ls-toolbar", { key: '184e1155063c47577721d9bc5f3188c4e3a1d36f', id: "ls-toolbar", template: this._template, editor: this, groupInfo: this.groupInfo, mode: this.mode }), h("div", { key: '137092cc588a0d9fb132379103f728e7c2428534', id: "ls-mid-area" }, h("div", { key: '40413c7936f05d99cc40a9ee076c6c7e1fc5e7a6', class: 'document-frame-wrapper', id: "document-frame-wrapper" }, h("div", { key: '6198971eb33ffd56aadd50c880a88bb8ae28d51e', id: "ls-document-frame" }, h("canvas", { key: 'e0eb056d241beb0ccb5720c2b0501b96af5ccd2d', id: "pdf-canvas", class: this.displayTable || this.isLoading ? 'hidden' : '' }), h("ls-editor-table", { key: '2d38b6ca0fbc87c706131513eb8d878a6bc093cc', editor: this, class: this.displayTable ? '' : 'hidden' }), h("div", { key: '1e7bb54edb54952c51710cb31eb8475da39145d0', id: "ls-box-selector" }))), h("ls-statusbar", { key: 'dad16b80082a19f6cdd335e63f289199d5b6b0ae', editor: this, page: this.pageNum, pageCount: this.pageCount })))), h("ls-tooltip", { key: '4761a6f9ebad9a90729f35bbb15f22c3806ec8e1', id: "ls-tooltip-master" })));
|
|
582
582
|
}
|
|
583
583
|
static get is() { return "ls-document-viewer"; }
|
|
584
584
|
static get encapsulation() { return "shadow"; }
|