legalesign-document-viewer 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ls-add-new-button_20.cjs.entry.js +1 -7
- package/dist/cjs/ls-assignee-select_21.cjs.entry.js +17 -13
- package/dist/cjs/ls-compose-loader_7.cjs.entry.js +1 -1
- package/dist/cjs/ls-document-viewer.cjs.entry.js +6 -2
- package/dist/cjs/ls-document-viewer.cjs.js +1 -1
- package/dist/collection/components/ls-document-options/ls-document-options.js +1 -10
- package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -1
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +6 -2
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
- package/dist/collection/components/ls-editor-field/ls-editor-field.js +9 -10
- package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -1
- package/dist/collection/components/ls-field-content/ls-field-content.js +8 -3
- package/dist/collection/components/ls-field-content/ls-field-content.js.map +1 -1
- package/dist/components/ls-document-options.js +1 -1
- package/dist/components/ls-document-viewer.js +22 -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-checkbox.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-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-left-bar.js +1 -1
- package/dist/components/ls-statusbar.js +1 -1
- package/dist/components/{p-BJ7fvXXf.js → p-BCwakozA.js} +3 -3
- package/dist/components/{p-BJ7fvXXf.js.map → p-BCwakozA.js.map} +1 -1
- package/dist/components/{p-1ayYzye1.js → p-BN_BZ9eU.js} +4 -4
- package/dist/components/{p-1ayYzye1.js.map → p-BN_BZ9eU.js.map} +1 -1
- package/dist/components/{p-fd9JyL4S.js → p-BvZKfSxt.js} +4 -4
- package/dist/components/{p-fd9JyL4S.js.map → p-BvZKfSxt.js.map} +1 -1
- package/dist/components/{p-Dy-dPxzq.js → p-BzEVOvpL.js} +4 -4
- package/dist/components/{p-Dy-dPxzq.js.map → p-BzEVOvpL.js.map} +1 -1
- package/dist/components/{p-CxWGojFs.js → p-CLklwQ7z.js} +3 -11
- package/dist/components/p-CLklwQ7z.js.map +1 -0
- package/dist/components/{p-CvMzUIlC.js → p-CU_v-klT.js} +11 -12
- package/dist/components/{p-CvMzUIlC.js.map → p-CU_v-klT.js.map} +1 -1
- package/dist/components/{p-CbORhuHl.js → p-Ce1yNs3F.js} +14 -14
- package/dist/components/{p-CbORhuHl.js.map → p-Ce1yNs3F.js.map} +1 -1
- package/dist/components/{p-BEhTmCBW.js → p-Cue0UgwB.js} +4 -4
- package/dist/components/{p-BEhTmCBW.js.map → p-Cue0UgwB.js.map} +1 -1
- package/dist/components/{p-C3xBvNXU.js → p-Cwf28UAj.js} +16 -16
- package/dist/components/{p-C3xBvNXU.js.map → p-Cwf28UAj.js.map} +1 -1
- package/dist/components/{p-CmsA9-sZ.js → p-D7o_Ls97.js} +4 -4
- package/dist/components/{p-CmsA9-sZ.js.map → p-D7o_Ls97.js.map} +1 -1
- package/dist/components/{p-D1yC5psL.js → p-DP3FTRHD.js} +4 -4
- package/dist/components/{p-D1yC5psL.js.map → p-DP3FTRHD.js.map} +1 -1
- package/dist/components/{p-CeO915wm.js → p-DVfpfKI7.js} +4 -4
- package/dist/components/{p-CeO915wm.js.map → p-DVfpfKI7.js.map} +1 -1
- package/dist/components/{p-DNx0Ngpa.js → p-VFHHgnl2.js} +11 -6
- package/dist/components/p-VFHHgnl2.js.map +1 -0
- package/dist/components/{p-8hWonZD4.js → p-dLpaJicA.js} +4 -4
- package/dist/components/{p-8hWonZD4.js.map → p-dLpaJicA.js.map} +1 -1
- package/dist/components/{p-BbLFuN1Q.js → p-thlkOeP_.js} +3 -3
- package/dist/components/{p-BbLFuN1Q.js.map → p-thlkOeP_.js.map} +1 -1
- package/dist/components/{p-CgqKV0xf.js → p-xSOFT8uc.js} +4 -4
- package/dist/components/{p-CgqKV0xf.js.map → p-xSOFT8uc.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ls-add-new-button_20.entry.js +1 -7
- package/dist/esm/ls-assignee-select_21.entry.js +17 -13
- package/dist/esm/ls-compose-loader_7.entry.js +1 -1
- package/dist/esm/ls-document-viewer.entry.js +6 -2
- package/dist/esm/ls-document-viewer.entry.js.map +1 -1
- 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-762b88d0.entry.js → p-0340d8ac.entry.js} +2 -2
- package/dist/ls-document-viewer/{p-762b88d0.entry.js.map → p-0340d8ac.entry.js.map} +1 -1
- package/dist/ls-document-viewer/{p-a27532c9.entry.js → p-af95c17c.entry.js} +2 -2
- package/dist/ls-document-viewer/p-ba48b708.entry.js +2 -0
- package/dist/ls-document-viewer/p-ba48b708.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-d5c42d5f.entry.js +2 -0
- package/dist/ls-document-viewer/p-d5c42d5f.entry.js.map +1 -0
- package/dist/types/components/ls-document-options/ls-document-options.d.ts +0 -1
- package/package.json +1 -1
- package/dist/components/p-CxWGojFs.js.map +0 -1
- package/dist/components/p-DNx0Ngpa.js.map +0 -1
- package/dist/ls-document-viewer/p-3918ae76.entry.js +0 -2
- package/dist/ls-document-viewer/p-3918ae76.entry.js.map +0 -1
- package/dist/ls-document-viewer/p-c56fd5ed.entry.js +0 -2
- package/dist/ls-document-viewer/p-c56fd5ed.entry.js.map +0 -1
- /package/dist/ls-document-viewer/{p-a27532c9.entry.js.map → p-af95c17c.entry.js.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as transformTag, p as proxyCustomElement, H, h, a as Host } from './p-DIvmRYeB.js';
|
|
2
2
|
import { d as defineCustomElement$n } from './p-CgoyKNia.js';
|
|
3
3
|
import { d as defineCustomElement$m } from './p-PwhF9_IW.js';
|
|
4
|
-
import { d as defineCustomElement$l } from './p-
|
|
5
|
-
import { d as defineCustomElement$k } from './p-
|
|
4
|
+
import { d as defineCustomElement$l } from './p-CU_v-klT.js';
|
|
5
|
+
import { d as defineCustomElement$k } from './p-VFHHgnl2.js';
|
|
6
6
|
import { d as defineCustomElement$j } from './p-DkV1l_zw.js';
|
|
7
7
|
import { d as defineCustomElement$i } from './p-CSxx3aLG.js';
|
|
8
8
|
import { d as defineCustomElement$h } from './p-Dab8K5mi.js';
|
|
@@ -178,6 +178,6 @@ function defineCustomElement() {
|
|
|
178
178
|
defineCustomElement();
|
|
179
179
|
|
|
180
180
|
export { LsFieldPropertiesGeneral as L, defineCustomElement as d };
|
|
181
|
-
//# sourceMappingURL=p-
|
|
181
|
+
//# sourceMappingURL=p-xSOFT8uc.js.map
|
|
182
182
|
|
|
183
|
-
//# sourceMappingURL=p-
|
|
183
|
+
//# sourceMappingURL=p-xSOFT8uc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-xSOFT8uc.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,2BAA2B,GAAG,MAAM,CAAC,u2JAAu2J,CAAC;;MCSt4J,wBAAwB,iBAAAA,kBAAA,CAAA,MAAA,wBAAA,SAAAC,CAAA,CAAA;;;;;;;;AAC3B,IAAA,QAAQ;IACR,KAAK,GAAgB,EAAE;IACvB,QAAQ,GAAY,KAAK;IACzB,aAAa,GAAW,IAAI;IAEpC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAA+B,CAAA,+BAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,YAAY,CAAC,EAAA,EACzE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAC,SAAS,EAAA,EAC3C,CAAkB,CAAA,kBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAI,CAAA,EAC5H,CAAA,CAAA,8BAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAA8B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,CAAI,CAC9E,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAC,YAAY,EAAA,EAC9C,CAAA,CAAA,qBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAqB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,CAAI,CACrE,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAC,WAAW,EAAA,EAC7C,CAAA,CAAA,oBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAoB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,CAAI,CACpE,CACwB,EAChC,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAiB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAI,CAAA,CAChE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-field-properties-general/ls-field-properties-general.scss?tag=ls-field-properties-general&encapsulation=shadow","src/components/ls-field-properties-general/ls-field-properties-general.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n width: 100%;\n height: 100%;\n position: relative;\n}\n\n* {\n margin: 0;\n}\n\n.ls-dv-field-set {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n width: 100%;\n}\n\n/* Global Styles */\n\np {\n color: $gray-80;\n font-family: var(--font-family);\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n}\n\na {\n color: $primary-60;\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n cursor: pointer;\n}\n\na:hover {\n text-decoration: underline;\n color: $primary-70;\n}\n\n.ls-dv-button-link,\n.ls-dv-button-link:hover {\n all: unset;\n}\n\nselect {\n appearance: none;\n height: 2.25rem;\n width: 100%;\n}\n.ls-dv-has-leading-icon {\n padding-left: 2.5rem;\n}\n\n\ninput,\nselect,\ntextarea {\n border: 1px solid $gray-40;\n box-shadow: 0 1px 0.125rem rgba(0, 0, 0, 0.05);\n padding: 0.5rem 0.75rem;\n font-family: var(--font-family);\n font-size: var(--text-sm);\n border-radius: 0.625rem;\n color: $gray-100;\n font-weight: 400;\n}\n\ninput::placeholder,\nselect::placeholder,\ntextarea::placeholder {\n color: $gray-60;\n}\n\ninput:hover,\nselect:hover,\ntextarea:hover {\n border-color: $gray-50;\n background-color: $white;\n}\n\ninput:focus,\nselect:focus,\ntextarea:focus {\n outline: none;\n box-shadow: 0 0 0 0.25rem $primary-40;\n border-color: $primary-60;\n background-color: $white;\n}\n\ninput:active,\nselect:active,\ntextarea:active {\n border-color: $primary-50;\n}\n\ninput:disabled,\nselect:disabled,\ntextarea:disabled {\n cursor: not-allowed;\n background-color: $gray-10;\n}\n\ninput[type='checkbox'] {\n appearance: none;\n position: relative;\n height: 1rem;\n width: 1rem;\n padding: 0.25rem;\n border-radius: var(--radius-sm);\n border: 1px solid #d1d5db;\n background-color: #ffffff;\n cursor: pointer;\n}\n\ninput[type='checkbox']:checked,\ninput[type='checkbox'].ls-dv-indeterminate {\n background-color: $primary-60;\n border: none;\n}\n\ninput[type='checkbox']:checked::after {\n content: '';\n position: absolute;\n top: 45%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(-45deg) scale(-1, 1);\n width: 0.5rem;\n height: 0.25rem;\n border-bottom: 0.125rem solid white;\n border-right: 0.125rem solid white;\n}\n\ninput[type='checkbox'].ls-dv-indeterminate::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0.5rem;\n height: 0.125rem;\n background-color: white;\n}\n\ninput[type='checkbox']:checked:hover,\ninput[type='checkbox'].ls-dv-indeterminate:hover {\n background-color: $primary-70;\n border: none;\n}\n\ninput[type='checkbox']:hover {\n border: 1px solid #9ca3af;\n}\n\ninput[type='checkbox']:focus,\ninput[type='checkbox']:active {\n outline: none;\n box-shadow: 0 0 0 0.25rem $primary-20;\n background-color: #f0f4f8;\n}\n\ninput[type='checkbox']:disabled {\n background-color: #f3f4f6;\n outline: none;\n cursor: not-allowed;\n}\n\ninput[type='checkbox']:disabled:checked {\n background-color: #e5e7eb;\n border: none;\n outline: none;\n cursor: not-allowed;\n}\n\n.ls-dv-checkbox-container {\n display: flex;\n gap: 0.5rem;\n width: 100%;\n}\n\n.ls-dv-checkbox-label {\n color: $gray-100;\n font-size: 1rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem;\n}\n\n.ls-dv-form-label {\n color: $gray-100;\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.5rem;\n}\n\n.ls-dv-form-field {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n width: 100%;\n}\n\n.ls-dv-loading-box {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100vh;\n color: $primary-60;\n}\n\nbutton {\n display: flex;\n gap: 0.5rem;\n border: 0;\n appearance: button;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--radius-lg);\n background-color: $primary-60;\n color: white;\n font-weight: 500;\n text-transform: capitalize;\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\nbutton.ls-dv-tertiary-grey {\n border: 1px solid $gray-40;\n background-color: white;\n color: $gray-80;\n}\n\nbutton.ls-dv-tertiary-grey:hover {\n border: 1px solid $gray-50;\n background: $gray-10;\n}\n\nbutton.ls-dv-secondary {\n border: 1px solid $gray-50;\n background: $white;\n color: $gray-90;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1);\n}\n\nbutton.ls-dv-secondary:hover {\n border: 1px solid $gray-50;\n background: $gray-10;\n}\n\nbutton.ls-dv-destructive {\n border: 1px solid $red-60;\n background-color: white;\n color: $red-60;\n}\n\nbutton.ls-dv-destructive:hover {\n border: 1px solid $red-70;\n background: $red-10;\n}\n\n\n\n.ls-dv-button-group {\n display: flex;\n border-radius: 0.625rem;\n border: 1px solid $gray-30;\n background: $white;\n overflow: clip;\n}\n\n.ls-dv-button-group button {\n display: flex;\n background: transparent;\n border-radius: unset;\n padding: 0.25rem 0.75rem;\n min-width: 2.156rem;\n min-height: unset;\n color: $gray-80;\n}\n\n.ls-dv-button-group button:hover {\n background: $gray-10;\n}\n\n.ls-dv-button-group > :first-child {\n border-radius: 0.625rem 0 0 0.625rem;\n}\n\n.ls-dv-button-group > :last-child {\n border-radius: 0 0.5rem 0.5rem 0;\n}\n\n.ls-dv-button-group > :not(:first-child) {\n border-left: 1px solid $gray-30;\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\nimport { LSApiElement } from '../../components';\nimport { LSApiRole } from '../../types/LSApiRole';\n\n@Component({\n tag: 'ls-field-properties-general',\n styleUrl: 'ls-field-properties-general.scss',\n shadow: true,\n})\nexport class LsFieldPropertiesGeneral {\n @Prop() dataItem: LSApiElement;\n @Prop() roles: LSApiRole[] = [];\n @Prop() readonly: boolean = false;\n @Prop() filtertoolbox: string = null;\n\n render() {\n return (\n <Host>\n <ls-field-properties-container tabs={['content', 'placement', 'dimensions']}>\n <div class={'ls-dv-field-set'} slot=\"content\">\n <ls-field-content dataItem={this.dataItem} roles={this.roles} readonly={this.readonly} filtertoolbox={this.filtertoolbox} />\n <ls-field-properties-advanced dataItem={this.dataItem} readonly={this.readonly} />\n </div>\n <div class={'ls-dv-field-set'} slot=\"dimensions\">\n <ls-field-dimensions dataItem={this.dataItem} readonly={this.readonly} />\n </div>\n <div class={'ls-dv-field-set'} slot=\"placement\">\n <ls-field-placement dataItem={this.dataItem} readonly={this.readonly} />\n </div>\n </ls-field-properties-container>\n <ls-field-footer dataItem={this.dataItem} readonly={this.readonly} />\n </Host>\n );\n }\n}\n"],"version":3}
|
package/dist/esm/loader.js
CHANGED
|
@@ -4,7 +4,7 @@ export { s as setNonce } from './index-CItPoq74.js';
|
|
|
4
4
|
const defineCustomElements = async (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
6
|
await globalScripts();
|
|
7
|
-
return bootstrapLazy(JSON.parse("[[\"ls-icon\",[[257,\"ls-icon\",{\"name\":[1],\"solid\":[4],\"size\":[2],\"customStyle\":[16]}]]],[\"ls-document-viewer\",[[769,\"ls-document-viewer\",{\"template\":[1],\"token\":[1],\"userpool\":[1],\"endpoint\":[1],\"templateid\":[1],\"recipients\":[1],\"_recipients\":[16],\"language\":[1],\"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],\"error\":[32],\"errorTitle\":[32],\"fontSize\":[32],\"fontFamily\":[32],\"selected\":[32],\"isLoading\":[32],\"isMutating\":[32],\"selectedDataItems\":[32],\"fieldTypeSelected\":[32],\"pageNext\":[64],\"pagePrev\":[64],\"unselect\":[64],\"setZoom\":[64]},[[0,\"mutate\",\"mutateHandler\"],[0,\"update\",\"updateHandler\"],[0,\"fieldTypeSelected\",\"handleFieldTypeSelected\"],[0,\"toolboxDragStart\",\"handleToolboxDragStart\"],[0,\"addParticipant\",\"addParticpantHandler\"],[0,\"changeSigner\",\"updateSigner\"],[0,\"selectFieldForPlacement\",\"selectFieldForPlacement\"],[0,\"selectFields\",\"selectFieldsHandler\"],[0,\"roleChange\",\"roleHandler\"]],{\"language\":[\"languageChanged\"],\"mode\":[\"modeHandler\"],\"_template\":[\"templateLockedHandler\"],\"zoom\":[\"zoomChanged\"]}]]],[\"ls-field-properties-dropdown\",[[769,\"ls-field-properties-dropdown\",{\"dataItem\":[16],\"roles\":[16],\"filtertoolbox\":[1]}]]],[\"ls-banner\",[[257,\"ls-banner\",{\"type\":[1],\"layout\":[1],\"text\":[1],\"label\":[4],\"labelText\":[1,\"label-text\"],\"labelIcon\":[1,\"label-icon\"],\"button\":[4],\"buttonText\":[1,\"button-text\"],\"buttonIcon\":[1,\"button-icon\"],\"customStyle\":[16]}]]],[\"ls-header-bar\",[[257,\"ls-header-bar\",{\"text1\":[1,\"text-1\"],\"text2\":[1,\"text-2\"],\"leftText\":[1,\"left-text\"],\"leftClick\":[16],\"icon\":[1],\"loading\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-list-card-button\",[[257,\"ls-list-card-button\",{\"text\":[1],\"icon\":[1],\"loading\":[4],\"disabled\":[4],\"destructive\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-details-section\",[[260,\"ls-details-section\",{\"header\":[1],\"layout\":[1],\"actionIcon\":[1,\"action-icon\"],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-dropdown\",[[257,\"ls-dropdown\",{\"dropdownButtons\":[16],\"right\":[4],\"scrollable\":[4],\"handleClick\":[16],\"customStyle\":[16],\"extend\":[32]}]]],[\"ls-navbar\",[[257,\"ls-navbar\",{\"items\":[16],\"customStyle\":[16]}]]],[\"ls-radio-group\",[[256,\"ls-radio-group\",{\"options\":[16],\"heading\":[1],\"subHeading\":[1,\"sub-heading\"],\"name\":[1],\"isHorizontal\":[4,\"is-horizontal\"],\"customStyle\":[16],\"_options\":[32]},null,{\"options\":[\"watchOptionsHandler\"]}]]],[\"ls-field-type-display\",[[769,\"ls-field-type-display\",{\"assignee\":[2],\"fieldType\":[1,\"field-type\"]}]]],[\"ls-icon-check-button\",[[257,\"ls-icon-check-button\",{\"icon\":[1],\"solid\":[4],\"checked\":[4],\"disabled\":[4],\"customStyle\":[16],\"rest\":[16],\"_checked\":[32]},null,{\"checked\":[\"watchCheckedHandler\"]}]]],[\"ls-notification\",[[256,\"ls-notification\",{\"heading\":[1],\"message\":[1],\"button1\":[1,\"button-1\"],\"button1Click\":[16],\"button2\":[1,\"button-2\"],\"button2Click\":[16],\"linkAction\":[1,\"link-action\"],\"linkURL\":[1,\"link-u-r-l\"],\"Icon\":[1,\"icon\"],\"iconColour\":[1,\"icon-colour\"],\"iconSolid\":[4,\"icon-solid\"]}]]],[\"ls-tabs\",[[257,\"ls-tabs\",{\"items\":[16],\"size\":[1],\"customStyle\":[16],\"rest\":[16],\"newItems\":[32]},null,{\"items\":[\"watchItemsHandler\"]}]]],[\"ls-tag\",[[257,\"ls-tag\",{\"text\":[1],\"colour\":[1],\"size\":[1],\"dot\":[4],\"icon\":[1],\"iconType\":[1,\"icon-type\"],\"outline\":[4],\"saturation\":[1],\"hover\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-timeline\",[[257,\"ls-timeline\",{\"showRecipient\":[4,\"show-recipient\"],\"recipientRole\":[1,\"recipient-role\"],\"recipientName\":[1,\"recipient-name\"],\"recipientEmail\":[1,\"recipient-email\"],\"recipientColour\":[1,\"recipient-colour\"],\"sentDateTime\":[1,\"sent-date-time\"],\"emailOpenedDateTime\":[1,\"email-opened-date-time\"],\"documentFirstViewedDateTime\":[1,\"document-first-viewed-date-time\"],\"signedDateTime\":[1,\"signed-date-time\"],\"expiryDate\":[1,\"expiry-date\"],\"status\":[1],\"emailProblem\":[1,\"email-problem\"],\"labelEmailed\":[1,\"label-emailed\"],\"labelOpened\":[1,\"label-opened\"],\"labelViewed\":[1,\"label-viewed\"],\"labelSigned\":[1,\"label-signed\"],\"labelApproved\":[1,\"label-approved\"],\"labelWitnessed\":[1,\"label-witnessed\"],\"labelRejected\":[1,\"label-rejected\"],\"labelBounced\":[1,\"label-bounced\"],\"labelExpired\":[1,\"label-expired\"],\"labelOutOfOffice\":[1,\"label-out-of-office\"],\"labelScheduled\":[1,\"label-scheduled\"],\"labelNotSent\":[1,\"label-not-sent\"],\"labelNotOpened\":[1,\"label-not-opened\"],\"labelNotViewed\":[1,\"label-not-viewed\"],\"labelNotSigned\":[1,\"label-not-signed\"],\"labelNotApproved\":[1,\"label-not-approved\"],\"labelNotWitnessed\":[1,\"label-not-witnessed\"],\"labelBypassed\":[1,\"label-bypassed\"],\"customStyle\":[16]}]]],[\"ls-timeline-step\",[[257,\"ls-timeline-step\",{\"step\":[1],\"complete\":[4],\"text\":[1],\"customLineClass\":[1,\"custom-line-class\"],\"customDiskClass\":[1,\"custom-disk-class\"]}]]],[\"ls-title-input\",[[769,\"ls-title-input\",{\"template\":[1040],\"editTitle\":[32]}]]],[\"ls-card\",[[260,\"ls-card\",{\"paddingX\":[2,\"padding-x\"],\"paddingY\":[2,\"padding-y\"],\"direction\":[1],\"corners\":[2],\"gap\":[2],\"backgroundColor\":[1,\"background-color\"],\"outline\":[4],\"outlineColor\":[1,\"outline-color\"],\"shadow\":[4],\"customClass\":[1,\"custom-class\"]}]]],[\"ls-compose-manager\",[[769,\"ls-compose-manager\",{\"template\":[16]}]]],[\"ls-text\",[[260,\"ls-text\",{\"preset\":[1],\"size\":[1],\"weight\":[1],\"colour\":[1],\"noWrap\":[4,\"no-wrap\"]}]]],[\"test-item\",[[256,\"test-item\",{\"text\":[1]}]]],[\"ls-badge\",[[257,\"ls-badge\",{\"text\":[1],\"colour\":[1],\"type\":[1],\"size\":[1],\"rounded\":[1],\"leadingIcon\":[1,\"leading-icon\"],\"trailingIcon\":[1,\"trailing-icon\"],\"iconSolid\":[4,\"icon-solid\"],\"customStyle\":[16]}]]],[\"ls-dropdown-item\",[[257,\"ls-dropdown-item\",{\"index\":[2],\"text\":[1],\"secondaryText\":[1,\"secondary-text\"],\"icon\":[1],\"trailingIcon\":[1,\"trailing-icon\"],\"disabled\":[4],\"destructive\":[4],\"divider\":[4],\"badge\":[1],\"rest\":[16]}]]],[\"ls-tooltip\",[[257,\"ls-tooltip\",{\"tooltipId\":[1,\"tooltip-id\"]}]]],[\"ls-field-format_2\",[[769,\"ls-participant-select\",{\"selected\":[1025],\"signer\":[2],\"roles\":[16],\"selectedRole\":[32],\"scrollToBottom\":[32],\"isAddingParticipant\":[32],\"isOpen\":[32]},[[8,\"click\",\"handleWindowClick\"]],{\"signer\":[\"handleSignerChange\"],\"roles\":[\"handleRoleLoad\"]}],[769,\"ls-field-format\",{\"dataItem\":[1040]},null,{\"dataItem\":[\"selectFieldsHandler\"]}]]],[\"ls-toolbox-field\",[[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,\"mousedown\",\"handleMouseDown\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ls-helper-bar_2\",[[769,\"ls-helper-bar\",{\"expanded\":[1028],\"showShortcuts\":[1028,\"show-shortcuts\"]}],[257,\"ls-keyboard-shortcuts\"]]],[\"ls-loading_2\",[[257,\"ls-loading\",{\"text\":[1],\"defaultIcon\":[4,\"default-icon\"],\"iconSize\":[2,\"icon-size\"],\"customStyle\":[16]}],[257,\"ls-loading-icon\",{\"default\":[4],\"size\":[2]}]]],[\"ls-button\",[[257,\"ls-button\",{\"variant\":[1],\"accessibility\":[1],\"type\":[1],\"size\":[1],\"rounded\":[1],\"fullWidth\":[4,\"full-width\"],\"leadingIcon\":[1,\"leading-icon\"],\"trailingIcon\":[1,\"trailing-icon\"],\"iconSolid\":[4,\"icon-solid\"],\"outline\":[4],\"disabled\":[4],\"loading\":[4],\"loadingText\":[1,\"loading-text\"],\"customStyle\":[16],\"text\":[1],\"rest\":[16]}]]],[\"ls-assignee-select_21\",[[769,\"ls-field-content\",{\"dataItem\":[1040],\"roles\":[16],\"showValidationTypes\":[4,\"show-validation-types\"],\"readonly\":[4],\"filtertoolbox\":[1],\"valueError\":[32],\"isDirty\":[32]},[[0,\"keydown\",\"handleKeyDown\"]],{\"dataItem\":[\"watchDataItemHandler\"]}],[769,\"ls-field-placement\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-properties-advanced\",{\"dataItem\":[1040],\"expanded\":[1028],\"readonly\":[4]}],[769,\"ls-field-properties-container\",{\"dataItem\":[16],\"tabs\":[16],\"selectedTab\":[1537,\"selected-tab\"]}],[257,\"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],\"optional\":[4],\"valid\":[4],\"dirty\":[4],\"customised\":[4],\"count\":[4],\"countMax\":[2,\"count-max\"],\"textareaRows\":[2,\"textarea-rows\"],\"buttonClick\":[16],\"buttonIcon\":[1,\"button-icon\"],\"labelIcon\":[1,\"label-icon\"],\"fieldIcon\":[1,\"field-icon\"],\"iconPosition\":[1,\"icon-position\"],\"options\":[1],\"_value\":[32]},null,{\"value\":[\"valueWatcher\"]}],[769,\"ls-assignee-select\",{\"signer\":[2],\"roles\":[16],\"disabled\":[4],\"disabledSenderReason\":[1,\"disabled-sender-reason\"],\"disabledApproverReason\":[1,\"disabled-approver-reason\"],\"mixed\":[4],\"isOpen\":[32]},[[8,\"click\",\"handleWindowClick\"]],{\"signer\":[\"handleSignerChange\"]}],[769,\"ls-field-dimensions\",{\"dataItem\":[1040],\"template\":[8],\"readonly\":[4]}],[769,\"ls-field-footer\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-type-select\",{\"fieldType\":[1,\"field-type\"],\"assignee\":[2],\"roles\":[16],\"roleTypes\":[16],\"disabled\":[4],\"mixed\":[4],\"filtertoolbox\":[1],\"isOpen\":[32]},[[8,\"click\",\"handleWindowClick\"]]],[257,\"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\"],\"iconPosition\":[1,\"icon-position\"],\"showPassword\":[32]}],[257,\"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\"]}],[257,\"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\"],\"options\":[1]}],[257,\"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\"],\"rows\":[2],\"buttonClick\":[8,\"button-click\"],\"buttonIcon\":[1,\"button-icon\"],\"fieldIcon\":[1,\"field-icon\"]}],[257,\"ls-checkbox-input\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"description\":[1],\"name\":[1],\"checked\":[4],\"disabled\":[4],\"position\":[1],\"_checked\":[32]},null,{\"checked\":[\"watchCheckedHandler\"]}],[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\":[1025],\"dataItem\":[1040],\"selected\":[4],\"multiSelected\":[4,\"multi-selected\"],\"readonly\":[4],\"type\":[1],\"page\":[16],\"fixedAspect\":[2,\"fixed-aspect\"],\"zoom\":[1],\"floatingActive\":[1540,\"floating-active\"],\"isEditing\":[32],\"heldEdge\":[32],\"isEdgeDragging\":[32],\"innerValue\":[32],\"valueError\":[32]},[[0,\"keydown\",\"handleInput\"],[3,\"mousemove\",\"handleMouseMove\"],[2,\"dblclick\",\"handleDoubleClick\"],[3,\"mousedown\",\"handleMouseDown\"],[0,\"dragstart\",\"handleDragStart\"]],{\"dataItem\":[\"dataItemChanged\",\"watchDataItemHandler\"],\"selected\":[\"watchSelectedHandler\"]}],[769,\"ls-input-wrapper\",{\"leadingIcon\":[8,\"leading-icon\"],\"select\":[4]}],[257,\"ls-radio-input\",{\"radioId\":[1,\"radio-id\"],\"label\":[1],\"icon\":[1],\"name\":[1],\"checked\":[4],\"disabled\":[4],\"customStyle\":[16]}],[257,\"ls-icon-button\",{\"icon\":[1],\"disabled\":[4],\"solid\":[4],\"customStyle\":[16],\"rest\":[16]}],[257,\"ls-label\",{\"text\":[1],\"colour\":[1],\"type\":[1],\"size\":[1],\"leadingIcon\":[1,\"leading-icon\"],\"trailingIcon\":[1,\"trailing-icon\"],\"iconSolid\":[4,\"icon-solid\"],\"customStyle\":[16]}]]],[\"ls-field-alignment_3\",[[769,\"ls-field-distribute\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-alignment\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-size\",{\"dataItem\":[1040],\"readonly\":[4]}]]],[\"ls-add-new-button_20\",[[769,\"ls-field-properties\",{\"dataItem\":[16],\"template\":[8],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-participant-manager\",{\"editor\":[16],\"template\":[16],\"activeSigner\":[2,\"active-signer\"],\"busy\":[4],\"addingParticipant\":[32]},null,{\"template\":[\"templateChanged\"]}],[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\"]}],[257,\"ls-recipient-manager\"],[769,\"ls-field-properties-checkbox\",{\"dataItem\":[1040],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]},[[0,\"mutate\",\"handleChildMutate\"]]],[769,\"ls-field-properties-date\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-email\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-file\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-general\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-multiple\",{\"dataItem\":[1040],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1],\"valueError\":[32]},null,{\"dataItem\":[\"validateOnChange\"]}],[769,\"ls-field-properties-number\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-signature\",{\"dataItem\":[16],\"template\":[8],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-text\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-autosign\",{\"dataItem\":[16],\"readonly\":[4]}],[769,\"ls-participant-card\",{\"signer\":[16],\"index\":[2],\"editable\":[1028],\"template\":[16],\"active\":[4],\"busy\":[4],\"swapUpBtn\":[32],\"swapDownBtn\":[32],\"editBtn\":[32],\"deleteParticipantBtn\":[32],\"addingWitness\":[32]},null,{\"editable\":[\"modeHandler\"],\"template\":[\"templateChanged\"]}],[257,\"ls-add-new-button\",{\"text\":[1],\"icon\":[1],\"loading\":[4],\"disabled\":[4],\"destructive\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-compose-loader_7\",[[769,\"ls-left-bar\",{\"mode\":[1],\"selected\":[16],\"manager\":[1],\"signer\":[2],\"filtertoolbox\":[1],\"template\":[16],\"recipients\":[16],\"validationErrors\":[16],\"fieldTypeSelected\":[16],\"displayTable\":[4,\"display-table\"],\"busy\":[4],\"selectedDataItems\":[16]},null,{\"manager\":[\"managerWatchHandler\"],\"signer\":[\"signerChanged\"]}],[769,\"ls-toolbar\",{\"dataItem\":[1040],\"groupInfo\":[16],\"template\":[16],\"editor\":[1040],\"mode\":[1],\"signer\":[2],\"selected\":[16],\"pageNum\":[2,\"page-num\"]}],[769,\"ls-statusbar\",{\"zoom\":[1026],\"page\":[1026],\"pageCount\":[1026,\"page-count\"],\"editor\":[16],\"mode\":[1],\"showThumbnails\":[32],\"showZoomMenu\":[32],\"showPageMenu\":[32]},null,{\"page\":[\"onPageChange\"]}],[769,\"ls-select-menu\",{\"selected\":[16],\"pageNum\":[2,\"page-num\"],\"editor\":[8],\"floating\":[4],\"isOpen\":[32],\"isVisible\":[32],\"isHeldDown\":[32],\"floatingTop\":[32],\"floatingLeft\":[32]},[[8,\"click\",\"handleWindowClick\"]],{\"selected\":[\"onSelectionChange\"],\"pageNum\":[\"onSelectionChange\"]}],[257,\"ls-compose-loader\"],[769,\"ls-editor-table\",{\"editor\":[16]}],[257,\"ls-loading-logo\",{\"size\":[2],\"colour\":[1]}]]]]"), options);
|
|
7
|
+
return bootstrapLazy(JSON.parse("[[\"ls-icon\",[[257,\"ls-icon\",{\"name\":[1],\"solid\":[4],\"size\":[2],\"customStyle\":[16]}]]],[\"ls-document-viewer\",[[769,\"ls-document-viewer\",{\"template\":[1],\"token\":[1],\"userpool\":[1],\"endpoint\":[1],\"templateid\":[1],\"recipients\":[1],\"_recipients\":[16],\"language\":[1],\"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],\"error\":[32],\"errorTitle\":[32],\"fontSize\":[32],\"fontFamily\":[32],\"selected\":[32],\"isLoading\":[32],\"isMutating\":[32],\"selectedDataItems\":[32],\"fieldTypeSelected\":[32],\"pageNext\":[64],\"pagePrev\":[64],\"unselect\":[64],\"setZoom\":[64]},[[0,\"mutate\",\"mutateHandler\"],[0,\"update\",\"updateHandler\"],[0,\"fieldTypeSelected\",\"handleFieldTypeSelected\"],[0,\"toolboxDragStart\",\"handleToolboxDragStart\"],[0,\"addParticipant\",\"addParticpantHandler\"],[0,\"changeSigner\",\"updateSigner\"],[0,\"selectFieldForPlacement\",\"selectFieldForPlacement\"],[0,\"selectFields\",\"selectFieldsHandler\"],[0,\"roleChange\",\"roleHandler\"]],{\"language\":[\"languageChanged\"],\"mode\":[\"modeHandler\"],\"_template\":[\"templateLockedHandler\"],\"zoom\":[\"zoomChanged\"]}]]],[\"ls-field-properties-dropdown\",[[769,\"ls-field-properties-dropdown\",{\"dataItem\":[16],\"roles\":[16],\"filtertoolbox\":[1]}]]],[\"ls-banner\",[[257,\"ls-banner\",{\"type\":[1],\"layout\":[1],\"text\":[1],\"label\":[4],\"labelText\":[1,\"label-text\"],\"labelIcon\":[1,\"label-icon\"],\"button\":[4],\"buttonText\":[1,\"button-text\"],\"buttonIcon\":[1,\"button-icon\"],\"customStyle\":[16]}]]],[\"ls-header-bar\",[[257,\"ls-header-bar\",{\"text1\":[1,\"text-1\"],\"text2\":[1,\"text-2\"],\"leftText\":[1,\"left-text\"],\"leftClick\":[16],\"icon\":[1],\"loading\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-list-card-button\",[[257,\"ls-list-card-button\",{\"text\":[1],\"icon\":[1],\"loading\":[4],\"disabled\":[4],\"destructive\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-details-section\",[[260,\"ls-details-section\",{\"header\":[1],\"layout\":[1],\"actionIcon\":[1,\"action-icon\"],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-dropdown\",[[257,\"ls-dropdown\",{\"dropdownButtons\":[16],\"right\":[4],\"scrollable\":[4],\"handleClick\":[16],\"customStyle\":[16],\"extend\":[32]}]]],[\"ls-navbar\",[[257,\"ls-navbar\",{\"items\":[16],\"customStyle\":[16]}]]],[\"ls-radio-group\",[[256,\"ls-radio-group\",{\"options\":[16],\"heading\":[1],\"subHeading\":[1,\"sub-heading\"],\"name\":[1],\"isHorizontal\":[4,\"is-horizontal\"],\"customStyle\":[16],\"_options\":[32]},null,{\"options\":[\"watchOptionsHandler\"]}]]],[\"ls-field-type-display\",[[769,\"ls-field-type-display\",{\"assignee\":[2],\"fieldType\":[1,\"field-type\"]}]]],[\"ls-icon-check-button\",[[257,\"ls-icon-check-button\",{\"icon\":[1],\"solid\":[4],\"checked\":[4],\"disabled\":[4],\"customStyle\":[16],\"rest\":[16],\"_checked\":[32]},null,{\"checked\":[\"watchCheckedHandler\"]}]]],[\"ls-notification\",[[256,\"ls-notification\",{\"heading\":[1],\"message\":[1],\"button1\":[1,\"button-1\"],\"button1Click\":[16],\"button2\":[1,\"button-2\"],\"button2Click\":[16],\"linkAction\":[1,\"link-action\"],\"linkURL\":[1,\"link-u-r-l\"],\"Icon\":[1,\"icon\"],\"iconColour\":[1,\"icon-colour\"],\"iconSolid\":[4,\"icon-solid\"]}]]],[\"ls-tabs\",[[257,\"ls-tabs\",{\"items\":[16],\"size\":[1],\"customStyle\":[16],\"rest\":[16],\"newItems\":[32]},null,{\"items\":[\"watchItemsHandler\"]}]]],[\"ls-tag\",[[257,\"ls-tag\",{\"text\":[1],\"colour\":[1],\"size\":[1],\"dot\":[4],\"icon\":[1],\"iconType\":[1,\"icon-type\"],\"outline\":[4],\"saturation\":[1],\"hover\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-timeline\",[[257,\"ls-timeline\",{\"showRecipient\":[4,\"show-recipient\"],\"recipientRole\":[1,\"recipient-role\"],\"recipientName\":[1,\"recipient-name\"],\"recipientEmail\":[1,\"recipient-email\"],\"recipientColour\":[1,\"recipient-colour\"],\"sentDateTime\":[1,\"sent-date-time\"],\"emailOpenedDateTime\":[1,\"email-opened-date-time\"],\"documentFirstViewedDateTime\":[1,\"document-first-viewed-date-time\"],\"signedDateTime\":[1,\"signed-date-time\"],\"expiryDate\":[1,\"expiry-date\"],\"status\":[1],\"emailProblem\":[1,\"email-problem\"],\"labelEmailed\":[1,\"label-emailed\"],\"labelOpened\":[1,\"label-opened\"],\"labelViewed\":[1,\"label-viewed\"],\"labelSigned\":[1,\"label-signed\"],\"labelApproved\":[1,\"label-approved\"],\"labelWitnessed\":[1,\"label-witnessed\"],\"labelRejected\":[1,\"label-rejected\"],\"labelBounced\":[1,\"label-bounced\"],\"labelExpired\":[1,\"label-expired\"],\"labelOutOfOffice\":[1,\"label-out-of-office\"],\"labelScheduled\":[1,\"label-scheduled\"],\"labelNotSent\":[1,\"label-not-sent\"],\"labelNotOpened\":[1,\"label-not-opened\"],\"labelNotViewed\":[1,\"label-not-viewed\"],\"labelNotSigned\":[1,\"label-not-signed\"],\"labelNotApproved\":[1,\"label-not-approved\"],\"labelNotWitnessed\":[1,\"label-not-witnessed\"],\"labelBypassed\":[1,\"label-bypassed\"],\"customStyle\":[16]}]]],[\"ls-timeline-step\",[[257,\"ls-timeline-step\",{\"step\":[1],\"complete\":[4],\"text\":[1],\"customLineClass\":[1,\"custom-line-class\"],\"customDiskClass\":[1,\"custom-disk-class\"]}]]],[\"ls-title-input\",[[769,\"ls-title-input\",{\"template\":[1040],\"editTitle\":[32]}]]],[\"ls-card\",[[260,\"ls-card\",{\"paddingX\":[2,\"padding-x\"],\"paddingY\":[2,\"padding-y\"],\"direction\":[1],\"corners\":[2],\"gap\":[2],\"backgroundColor\":[1,\"background-color\"],\"outline\":[4],\"outlineColor\":[1,\"outline-color\"],\"shadow\":[4],\"customClass\":[1,\"custom-class\"]}]]],[\"ls-compose-manager\",[[769,\"ls-compose-manager\",{\"template\":[16]}]]],[\"ls-text\",[[260,\"ls-text\",{\"preset\":[1],\"size\":[1],\"weight\":[1],\"colour\":[1],\"noWrap\":[4,\"no-wrap\"]}]]],[\"test-item\",[[256,\"test-item\",{\"text\":[1]}]]],[\"ls-badge\",[[257,\"ls-badge\",{\"text\":[1],\"colour\":[1],\"type\":[1],\"size\":[1],\"rounded\":[1],\"leadingIcon\":[1,\"leading-icon\"],\"trailingIcon\":[1,\"trailing-icon\"],\"iconSolid\":[4,\"icon-solid\"],\"customStyle\":[16]}]]],[\"ls-dropdown-item\",[[257,\"ls-dropdown-item\",{\"index\":[2],\"text\":[1],\"secondaryText\":[1,\"secondary-text\"],\"icon\":[1],\"trailingIcon\":[1,\"trailing-icon\"],\"disabled\":[4],\"destructive\":[4],\"divider\":[4],\"badge\":[1],\"rest\":[16]}]]],[\"ls-tooltip\",[[257,\"ls-tooltip\",{\"tooltipId\":[1,\"tooltip-id\"]}]]],[\"ls-field-format_2\",[[769,\"ls-participant-select\",{\"selected\":[1025],\"signer\":[2],\"roles\":[16],\"selectedRole\":[32],\"scrollToBottom\":[32],\"isAddingParticipant\":[32],\"isOpen\":[32]},[[8,\"click\",\"handleWindowClick\"]],{\"signer\":[\"handleSignerChange\"],\"roles\":[\"handleRoleLoad\"]}],[769,\"ls-field-format\",{\"dataItem\":[1040]},null,{\"dataItem\":[\"selectFieldsHandler\"]}]]],[\"ls-toolbox-field\",[[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,\"mousedown\",\"handleMouseDown\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ls-helper-bar_2\",[[769,\"ls-helper-bar\",{\"expanded\":[1028],\"showShortcuts\":[1028,\"show-shortcuts\"]}],[257,\"ls-keyboard-shortcuts\"]]],[\"ls-loading_2\",[[257,\"ls-loading\",{\"text\":[1],\"defaultIcon\":[4,\"default-icon\"],\"iconSize\":[2,\"icon-size\"],\"customStyle\":[16]}],[257,\"ls-loading-icon\",{\"default\":[4],\"size\":[2]}]]],[\"ls-button\",[[257,\"ls-button\",{\"variant\":[1],\"accessibility\":[1],\"type\":[1],\"size\":[1],\"rounded\":[1],\"fullWidth\":[4,\"full-width\"],\"leadingIcon\":[1,\"leading-icon\"],\"trailingIcon\":[1,\"trailing-icon\"],\"iconSolid\":[4,\"icon-solid\"],\"outline\":[4],\"disabled\":[4],\"loading\":[4],\"loadingText\":[1,\"loading-text\"],\"customStyle\":[16],\"text\":[1],\"rest\":[16]}]]],[\"ls-assignee-select_21\",[[769,\"ls-field-content\",{\"dataItem\":[1040],\"roles\":[16],\"showValidationTypes\":[4,\"show-validation-types\"],\"readonly\":[4],\"filtertoolbox\":[1],\"valueError\":[32],\"isDirty\":[32]},[[0,\"keydown\",\"handleKeyDown\"]],{\"dataItem\":[\"watchDataItemHandler\"]}],[769,\"ls-field-placement\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-properties-advanced\",{\"dataItem\":[1040],\"expanded\":[1028],\"readonly\":[4]}],[769,\"ls-field-properties-container\",{\"dataItem\":[16],\"tabs\":[16],\"selectedTab\":[1537,\"selected-tab\"]}],[257,\"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],\"optional\":[4],\"valid\":[4],\"dirty\":[4],\"customised\":[4],\"count\":[4],\"countMax\":[2,\"count-max\"],\"textareaRows\":[2,\"textarea-rows\"],\"buttonClick\":[16],\"buttonIcon\":[1,\"button-icon\"],\"labelIcon\":[1,\"label-icon\"],\"fieldIcon\":[1,\"field-icon\"],\"iconPosition\":[1,\"icon-position\"],\"options\":[1],\"_value\":[32]},null,{\"value\":[\"valueWatcher\"]}],[769,\"ls-assignee-select\",{\"signer\":[2],\"roles\":[16],\"disabled\":[4],\"disabledSenderReason\":[1,\"disabled-sender-reason\"],\"disabledApproverReason\":[1,\"disabled-approver-reason\"],\"mixed\":[4],\"isOpen\":[32]},[[8,\"click\",\"handleWindowClick\"]],{\"signer\":[\"handleSignerChange\"]}],[769,\"ls-field-dimensions\",{\"dataItem\":[1040],\"template\":[8],\"readonly\":[4]}],[769,\"ls-field-footer\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-type-select\",{\"fieldType\":[1,\"field-type\"],\"assignee\":[2],\"roles\":[16],\"roleTypes\":[16],\"disabled\":[4],\"mixed\":[4],\"filtertoolbox\":[1],\"isOpen\":[32]},[[8,\"click\",\"handleWindowClick\"]]],[257,\"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\"],\"iconPosition\":[1,\"icon-position\"],\"showPassword\":[32]}],[257,\"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\"]}],[257,\"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\"],\"options\":[1]}],[257,\"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\"],\"rows\":[2],\"buttonClick\":[8,\"button-click\"],\"buttonIcon\":[1,\"button-icon\"],\"fieldIcon\":[1,\"field-icon\"]}],[257,\"ls-checkbox-input\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"description\":[1],\"name\":[1],\"checked\":[4],\"disabled\":[4],\"position\":[1],\"_checked\":[32]},null,{\"checked\":[\"watchCheckedHandler\"]}],[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\":[1025],\"dataItem\":[1040],\"selected\":[4],\"multiSelected\":[4,\"multi-selected\"],\"readonly\":[4],\"type\":[1],\"page\":[16],\"fixedAspect\":[2,\"fixed-aspect\"],\"zoom\":[1],\"floatingActive\":[1540,\"floating-active\"],\"isEditing\":[32],\"heldEdge\":[32],\"isEdgeDragging\":[32],\"innerValue\":[32],\"valueError\":[32]},[[0,\"keydown\",\"handleInput\"],[3,\"mousemove\",\"handleMouseMove\"],[2,\"dblclick\",\"handleDoubleClick\"],[3,\"mousedown\",\"handleMouseDown\"],[0,\"dragstart\",\"handleDragStart\"]],{\"dataItem\":[\"dataItemChanged\",\"watchDataItemHandler\"],\"selected\":[\"watchSelectedHandler\"]}],[769,\"ls-input-wrapper\",{\"leadingIcon\":[8,\"leading-icon\"],\"select\":[4]}],[257,\"ls-radio-input\",{\"radioId\":[1,\"radio-id\"],\"label\":[1],\"icon\":[1],\"name\":[1],\"checked\":[4],\"disabled\":[4],\"customStyle\":[16]}],[257,\"ls-icon-button\",{\"icon\":[1],\"disabled\":[4],\"solid\":[4],\"customStyle\":[16],\"rest\":[16]}],[257,\"ls-label\",{\"text\":[1],\"colour\":[1],\"type\":[1],\"size\":[1],\"leadingIcon\":[1,\"leading-icon\"],\"trailingIcon\":[1,\"trailing-icon\"],\"iconSolid\":[4,\"icon-solid\"],\"customStyle\":[16]}]]],[\"ls-field-alignment_3\",[[769,\"ls-field-distribute\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-alignment\",{\"dataItem\":[1040],\"readonly\":[4]}],[769,\"ls-field-size\",{\"dataItem\":[1040],\"readonly\":[4]}]]],[\"ls-add-new-button_20\",[[769,\"ls-field-properties\",{\"dataItem\":[16],\"template\":[8],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-participant-manager\",{\"editor\":[16],\"template\":[16],\"activeSigner\":[2,\"active-signer\"],\"busy\":[4],\"addingParticipant\":[32]},null,{\"template\":[\"templateChanged\"]}],[769,\"ls-document-options\",{\"template\":[1040],\"editTitle\":[32]}],[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\"]}],[257,\"ls-recipient-manager\"],[769,\"ls-field-properties-checkbox\",{\"dataItem\":[1040],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]},[[0,\"mutate\",\"handleChildMutate\"]]],[769,\"ls-field-properties-date\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-email\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-file\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-general\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-multiple\",{\"dataItem\":[1040],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1],\"valueError\":[32]},null,{\"dataItem\":[\"validateOnChange\"]}],[769,\"ls-field-properties-number\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-signature\",{\"dataItem\":[16],\"template\":[8],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-text\",{\"dataItem\":[16],\"roles\":[16],\"readonly\":[4],\"filtertoolbox\":[1]}],[769,\"ls-field-properties-autosign\",{\"dataItem\":[16],\"readonly\":[4]}],[769,\"ls-participant-card\",{\"signer\":[16],\"index\":[2],\"editable\":[1028],\"template\":[16],\"active\":[4],\"busy\":[4],\"swapUpBtn\":[32],\"swapDownBtn\":[32],\"editBtn\":[32],\"deleteParticipantBtn\":[32],\"addingWitness\":[32]},null,{\"editable\":[\"modeHandler\"],\"template\":[\"templateChanged\"]}],[257,\"ls-add-new-button\",{\"text\":[1],\"icon\":[1],\"loading\":[4],\"disabled\":[4],\"destructive\":[4],\"customStyle\":[16],\"rest\":[16]}]]],[\"ls-compose-loader_7\",[[769,\"ls-left-bar\",{\"mode\":[1],\"selected\":[16],\"manager\":[1],\"signer\":[2],\"filtertoolbox\":[1],\"template\":[16],\"recipients\":[16],\"validationErrors\":[16],\"fieldTypeSelected\":[16],\"displayTable\":[4,\"display-table\"],\"busy\":[4],\"selectedDataItems\":[16]},null,{\"manager\":[\"managerWatchHandler\"],\"signer\":[\"signerChanged\"]}],[769,\"ls-toolbar\",{\"dataItem\":[1040],\"groupInfo\":[16],\"template\":[16],\"editor\":[1040],\"mode\":[1],\"signer\":[2],\"selected\":[16],\"pageNum\":[2,\"page-num\"]}],[769,\"ls-statusbar\",{\"zoom\":[1026],\"page\":[1026],\"pageCount\":[1026,\"page-count\"],\"editor\":[16],\"mode\":[1],\"showThumbnails\":[32],\"showZoomMenu\":[32],\"showPageMenu\":[32]},null,{\"page\":[\"onPageChange\"]}],[769,\"ls-select-menu\",{\"selected\":[16],\"pageNum\":[2,\"page-num\"],\"editor\":[8],\"floating\":[4],\"isOpen\":[32],\"isVisible\":[32],\"isHeldDown\":[32],\"floatingTop\":[32],\"floatingLeft\":[32]},[[8,\"click\",\"handleWindowClick\"]],{\"selected\":[\"onSelectionChange\"],\"pageNum\":[\"onSelectionChange\"]}],[257,\"ls-compose-loader\"],[769,\"ls-editor-table\",{\"editor\":[16]}],[257,\"ls-loading-logo\",{\"size\":[2],\"colour\":[1]}]]]]"), options);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { defineCustomElements };
|
|
@@ -129,9 +129,6 @@ const LsDocumentOptions = class {
|
|
|
129
129
|
*/
|
|
130
130
|
template;
|
|
131
131
|
editTitle = false;
|
|
132
|
-
selectedHandler(newSelected, _oldSelected) {
|
|
133
|
-
console.log(newSelected, 'document manager');
|
|
134
|
-
}
|
|
135
132
|
mutate;
|
|
136
133
|
update;
|
|
137
134
|
// Send one or more mutations up the chain
|
|
@@ -182,14 +179,11 @@ const LsDocumentOptions = class {
|
|
|
182
179
|
this.alter({ locked: e.detail });
|
|
183
180
|
} })), h("div", { class: 'ls-dv-template-detail-section' }, h("div", null, h("p", { class: "ls-dv-template-detail-section-title", "tooltip-data": "Fixes the aspect ratio of all signatures on the document. This allows Participants to re-use the same signature throughout the signing process. If this setting is turned on after several signature fields have been placed, fields will automatically re-size to match the aspect ratio of the first signature on the Template." }, dvI18n.t('documentoptions.fixedsignatureaspect')), h("p", { class: 'ls-dv-template-detail-section-info' }, dvI18n.t('documentoptions.fixedsignatureaspectdescription'))), h("ls-toggle", { checked: this.template?.fixSignatureScale, onValueChange: e => {
|
|
184
181
|
this.alter({ fixSignatureScale: e.detail });
|
|
185
|
-
} })), h("div", { class: 'ls-dv-template-detail-section ls-dv-column' }, h("p", { class: "ls-dv-template-detail-section-title" }, dvI18n.t('documentoptions.documentretention')), h("p", null, h("input", { value: this.template?.documentRetentionDays, style: { width: '100%' },
|
|
182
|
+
} })), h("div", { class: 'ls-dv-template-detail-section ls-dv-column' }, h("p", { class: "ls-dv-template-detail-section-title" }, dvI18n.t('documentoptions.documentretention')), h("p", null, h("input", { type: 'number', min: '0', value: this.template?.documentRetentionDays, style: { width: '100%' }, onInput: e => {
|
|
186
183
|
e.preventDefault();
|
|
187
184
|
this.alter({ documentRetentionDays: e.target.value });
|
|
188
185
|
} }))), h("div", { class: 'ls-dv-template-detail-section ls-dv-column' }, h("p", { class: "ls-dv-template-detail-section-title" }, dvI18n.t('documentoptions.pages')), h("p", null, this.template?.pageCount)), h("div", { class: 'ls-dv-template-detail-section ls-dv-column' }, h("p", { class: "ls-dv-template-detail-section-title" }, dvI18n.t('documentoptions.datecreated')), " ", h("p", null, formatDate(this.template?.created))), h("div", { class: 'ls-dv-template-detail-section ls-dv-column' }, h("p", { class: "ls-dv-template-detail-section-title" }, dvI18n.t('documentoptions.createdby')), " ", h("p", null, this.template?.createdBy))), h("slot", null), h("ls-tooltip", { tooltipId: "ls-dv-tooltip" })));
|
|
189
186
|
}
|
|
190
|
-
static get watchers() { return {
|
|
191
|
-
"template": ["selectedHandler"]
|
|
192
|
-
}; }
|
|
193
187
|
};
|
|
194
188
|
LsDocumentOptions.style = lsDocumentOptionsCss();
|
|
195
189
|
|
|
@@ -365,9 +365,8 @@ const LsEditorField = class {
|
|
|
365
365
|
if (this.labeltimer) {
|
|
366
366
|
clearTimeout(this.labeltimer);
|
|
367
367
|
this.labeltimer = null;
|
|
368
|
+
this.mutate.emit([{ action: 'update', data: this.dataItem }]);
|
|
368
369
|
}
|
|
369
|
-
// Always emit mutate on deselect to catch pending changes from ls-field-content
|
|
370
|
-
this.mutate.emit([{ action: 'update', data: this.dataItem }]);
|
|
371
370
|
// Force close date picker (Safari ignores blur)
|
|
372
371
|
const input = this.component.shadowRoot?.getElementById('editing-input');
|
|
373
372
|
if (input && input.type === 'date') {
|
|
@@ -489,17 +488,17 @@ const LsEditorField = class {
|
|
|
489
488
|
const zoomValue = parseFloat(this.zoom) || 1;
|
|
490
489
|
// const topOffset = (this.dataItem.height ?? 1) + 4;
|
|
491
490
|
const topOffset = 24;
|
|
492
|
-
return (h(Host, { key: '
|
|
491
|
+
return (h(Host, { key: '54b2b5d2a4fec1614db4ce5f78ee4265116bd5bf', id: this.dataItem ? 'ls-field-' + this.dataItem.id : undefined, style: hostStyle, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '277ca567690c7b291b54767149f95b4e35c11753', class: {
|
|
493
492
|
'ls-editor-field': true,
|
|
494
493
|
'is-selected': this.selected,
|
|
495
|
-
} }, !this.dataItem?.optional && this.dataItem?.formElementType !== 'checkbox' && (h("ls-icon", { key: '
|
|
494
|
+
} }, !this.dataItem?.optional && this.dataItem?.formElementType !== 'checkbox' && (h("ls-icon", { key: '59bd4868cb35fd5d840ae016c611aa6dbf4fe1e9', name: "required-icon", size: Math.round(12 * zoomValue), class: "ls-dv-required-icon", customStyle: {
|
|
496
495
|
position: 'absolute',
|
|
497
496
|
top: '50%',
|
|
498
497
|
right: `${0.25 * zoomValue}rem`,
|
|
499
498
|
transform: 'translateY(-50%)',
|
|
500
499
|
lineHeight: '1',
|
|
501
500
|
fontSize: `${0.75 * zoomValue}rem`,
|
|
502
|
-
} })), !this.dataItem?.optional && this.dataItem?.formElementType === 'checkbox' && (h("ls-icon", { key: '
|
|
501
|
+
} })), !this.dataItem?.optional && this.dataItem?.formElementType === 'checkbox' && (h("ls-icon", { key: 'ada6ea6538aada55f494cc42fa00b4ad314f2669', name: "required-icon", size: Math.round(8 * zoomValue), class: "ls-dv-required-icon", customStyle: {
|
|
503
502
|
position: 'absolute',
|
|
504
503
|
top: `-${3 * zoomValue}px`,
|
|
505
504
|
right: `-${3 * zoomValue}px`,
|
|
@@ -535,9 +534,9 @@ const LsEditorField = class {
|
|
|
535
534
|
el.style.height = el.scrollHeight + 'px';
|
|
536
535
|
});
|
|
537
536
|
}
|
|
538
|
-
} })), h("div", { key: '
|
|
537
|
+
} })), h("div", { key: '76f3ee0992d70fecdf110123ab35f5475d8db4c5', id: "field-info", class: this.isEditing ? 'ls-dv-hidden-field' : 'ls-dv-editor-field-draggable', style: { color: `${defaultRolePalette[this.dataItem?.signer % 100].s100}`, ...(this.dataItem?.formElementType === 'checkbox' ? { width: '100%', overflow: 'visible', justifyContent: 'center', alignItems: 'center' } : {}) } }, h("span", { key: '58c335b13c931ea8e2d1b93a01db8f56b24e69d3', style: { width: '100%', display: 'block', textAlign: this.dataItem?.formElementType === 'checkbox' ? 'center' : 'inherit' } }, this.dataItem?.formElementType === 'checkbox'
|
|
539
538
|
? this.getCheckboxSymbol()
|
|
540
|
-
: this.dataItem?.value || dvI18n.t(this.getFieldTypeKey()))), (this.floatingActive || this.selected) && !this.multiSelected && this.dataItem?.label && (h("div", { key: '
|
|
539
|
+
: this.dataItem?.value || dvI18n.t(this.getFieldTypeKey()))), (this.floatingActive || this.selected) && !this.multiSelected && this.dataItem?.label && (h("div", { key: '7283bf755ba7644417afee50b850a13424de720f', style: {
|
|
541
540
|
position: 'absolute',
|
|
542
541
|
background: `${defaultRolePalette[this.dataItem?.signer % 100].s20}`,
|
|
543
542
|
color: `${defaultRolePalette[this.dataItem?.signer % 100].s80}`,
|
|
@@ -549,7 +548,7 @@ const LsEditorField = class {
|
|
|
549
548
|
left: `-${2 * zoomValue}px`,
|
|
550
549
|
whiteSpace: 'nowrap',
|
|
551
550
|
width: 'fit-content',
|
|
552
|
-
} }, this.dataItem?.label)), (this.floatingActive || this.selected) && !this.multiSelected && (h("p", { key: '
|
|
551
|
+
} }, this.dataItem?.label)), (this.floatingActive || this.selected) && !this.multiSelected && (h("p", { key: 'fa0208b23483ccb84d9a0caf0e4038a5a01eab65', style: {
|
|
553
552
|
position: 'absolute',
|
|
554
553
|
color: 'var(--gray-80, #3a3a3a)',
|
|
555
554
|
bottom: `-${1.75 * zoomValue}rem`,
|
|
@@ -560,7 +559,7 @@ const LsEditorField = class {
|
|
|
560
559
|
textOverflow: 'ellipsis',
|
|
561
560
|
maxWidth: `${10 * zoomValue}rem`,
|
|
562
561
|
fontFamily: 'sans-serif',
|
|
563
|
-
} }, dvI18n.t('fieldproperties.assignedto'), " ", this.assignee)), this.selected && !this.multiSelected && (h("div", { key: '
|
|
562
|
+
} }, dvI18n.t('fieldproperties.assignedto'), " ", this.assignee)), this.selected && !this.multiSelected && (h("div", { key: '54226ebc66b66994dfd72292c8c12f2f083de9dc', class: "resize-handles" }, h("div", { key: '57ea62a0aa4bed988e088a0d115b7b052701c448', class: "resize-handle handle-e" }), h("div", { key: '2db81e248326f803865acb961925148a27572b6f', class: "resize-handle handle-s" }), h("div", { key: 'b0a897c77d04cdeb72126fe05ee9bc61379d7334', class: "resize-handle handle-se" }))), this.floatingActive && !this.readonly && (h("button", { key: '1d799ee58fa6d0a25f25a444150142fe55826c39', class: 'ls-dv-x-button', style: {
|
|
564
563
|
display: 'flex',
|
|
565
564
|
justifyContent: 'center',
|
|
566
565
|
alignItems: 'center',
|
|
@@ -569,7 +568,7 @@ const LsEditorField = class {
|
|
|
569
568
|
lineHeight: `${0.75 * zoomValue}rem`,
|
|
570
569
|
fontSize: `${0.75 * zoomValue}rem`,
|
|
571
570
|
...(this.dataItem?.formElementType === 'checkbox' ? { transform: `translate(75%, -75%)` } : {}),
|
|
572
|
-
}, onClick: () => this.deleteField() }, h("ls-icon", { key: '
|
|
571
|
+
}, onClick: () => this.deleteField() }, h("ls-icon", { key: '8fd929efead106447078aa415a2bec604d1bacce', name: "x-icon", size: Math.round(12 * zoomValue) }))))));
|
|
573
572
|
}
|
|
574
573
|
static get watchers() { return {
|
|
575
574
|
"dataItem": ["dataItemChanged", "watchDataItemHandler"],
|
|
@@ -608,6 +607,11 @@ const LsFieldContent = class {
|
|
|
608
607
|
if (this.labeltimer) {
|
|
609
608
|
clearTimeout(this.labeltimer);
|
|
610
609
|
this.labeltimer = null;
|
|
610
|
+
// Component is already detached from DOM so events can't bubble.
|
|
611
|
+
// Dispatch on document and let ls-document-viewer pick it up.
|
|
612
|
+
document.dispatchEvent(new CustomEvent('ls-flush-mutate', {
|
|
613
|
+
detail: [{ action: 'update', data: this.dataItem }],
|
|
614
|
+
}));
|
|
611
615
|
}
|
|
612
616
|
}
|
|
613
617
|
mutate;
|
|
@@ -864,7 +868,7 @@ const LsFieldContent = class {
|
|
|
864
868
|
this.alterImmediate({ validation: newValidation, value: newValue });
|
|
865
869
|
}
|
|
866
870
|
render() {
|
|
867
|
-
return (h(Host, { key: '
|
|
871
|
+
return (h(Host, { key: '77d2477ad29db3342739508eb567e04ad9cd4555' }, this.roles?.length > 0 && (h("ls-props-section", { key: '7770a050e6c78b3643cd0b16d39affbf63272eaf', sectionTitle: dvI18n.t('fieldproperties.assignee'), sectionDescription: dvI18n.t('fieldproperties.assigneedescription') }, h("ls-assignee-select", { key: '3cf7d48eff5b48843d4c3182217c64b84119cb0c', signer: this.dataItem?.signer, roles: this.roles, disabled: this.readonly, disabledSenderReason: this.getSenderDisabledReason(), disabledApproverReason: this.isSignatureType() ? dvI18n.t('fieldproperties.signaturecannotapproversingle') : '', onAssigneeChange: ev => this.handleReassign(ev.detail) }))), h("ls-props-section", { key: '56952bf5cd2b6b4413078bc78b38d15e71eb8c5a', sectionTitle: dvI18n.t('fieldproperties.fieldtype'), sectionDescription: dvI18n.t('fieldproperties.fieldtypedescription') }, h("ls-field-type-select", { key: 'a239160aa3899cf8168011b562ecb6f49b2d1795', fieldType: this.dataItem?.formElementType, assignee: this.dataItem?.signer, roles: this.roles, roleTypes: [this.getRoleType()], disabled: this.readonly, filtertoolbox: this.filtertoolbox, onFieldTypeChange: ev => this.handleFieldTypeChange(ev.detail) })), this.dataItem?.formElementType !== 'signature' && (h("ls-props-section", { key: 'fbe001f3fccbefa4a7f9e1771e81f54eb1b59dd0', sectionTitle: dvI18n.t('fieldproperties.requiredfield'), row: true, sectionDescription: dvI18n.t('fieldproperties.requiredfielddescription') }, h("ls-toggle", { key: '4717bec4884d240cce83bcf4703590f536f8261f', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: ev => !this.readonly && this.alterImmediate({ optional: !ev.detail }) }))), h("ls-props-section", { key: '4f9cc491f46ca2aed2fc1db000dacaa80d16478a', sectionTitle: dvI18n.t('fieldproperties.fieldlabel'), sectionDescription: dvI18n.t('fieldproperties.fieldlabeldescription') }, h("ls-formfield", { key: '8d22325b9240c019744589e39bf77d5ec01d56df', as: "text", name: "field-label", value: this.dataItem?.label, placeholder: getFieldTitleSuggestion(this.dataItem?.formElementType), disabled: this.readonly, onTextChange: e => this.alter({ label: e.detail.value }) })), this.supportsValue() && (h("ls-props-section", { key: '8dc887afd9d6cfe1f04c4eb73efd23e7b5f6beb3', sectionTitle: dvI18n.t('fieldproperties.value'), sectionDescription: dvI18n.t('fieldproperties.valuedescription') }, this.isDateField() ? (h("div", { class: "ls-dv-date-input-wrapper" }, h("input", { class: "ls-dv-date-display", type: "text", value: this.dataItem?.value, placeholder: this.getDateFormat(), readOnly: true, onClick: () => {
|
|
868
872
|
if (this.readonly)
|
|
869
873
|
return;
|
|
870
874
|
const picker = this.component.shadowRoot.getElementById('ls-date-picker');
|
|
@@ -874,9 +878,9 @@ const LsFieldContent = class {
|
|
|
874
878
|
const input = e.target;
|
|
875
879
|
this.alter({ value: this.formatDateFromISO(input.value) });
|
|
876
880
|
forceCloseDatePicker(input);
|
|
877
|
-
}, disabled: this.readonly }))) : (h("ls-formfield", { as: "text", name: "field-value", value: this.dataItem?.value, placeholder: getFieldPlaceholder(this.dataItem?.formElementType), valid: !this.valueError, dirty: this.isDirty, errorText: this.valueError, disabled: this.readonly, onTextChange: e => this.handleValueChange(e.detail.value) })))), this.dataItem.validation === 20 && (h("ls-props-section", { key: '
|
|
881
|
+
}, disabled: this.readonly }))) : (h("ls-formfield", { as: "text", name: "field-value", value: this.dataItem?.value, placeholder: getFieldPlaceholder(this.dataItem?.formElementType), valid: !this.valueError, dirty: this.isDirty, errorText: this.valueError, disabled: this.readonly, onTextChange: e => this.handleValueChange(e.detail.value) })))), this.dataItem.validation === 20 && (h("ls-props-section", { key: 'a5a5e24cba2cba332e129f83eb6de145f6327471', sectionTitle: dvI18n.t('fieldproperties.options'), sectionDescription: dvI18n.t('fieldproperties.optionsdescription') }, h("textarea", { key: '800c102d060381f75cbe725864354d8e4a208b19', value: this.dataItem?.options, placeholder: "Option 1\nOption 2\nOption 3", onInput: e => this.alter({ options: e.target.value }), disabled: this.readonly }))), this.showValidationTypes && this.dataItem?.formElementType !== 'drawn field' && this.dataItem?.formElementType !== 'regular expression' && this.dataItem?.formElementType !== 'initials' && (h("ls-props-section", { key: '76cdf0e1f569f226237c0b47ebdc88217e59df49', sectionTitle: dvI18n.t('fieldproperties.contentformat'), sectionDescription: dvI18n.t('fieldproperties.contentformatdescription') }, h("ls-input-wrapper", { key: 'b13ebdaae79d2730548e6cb90a644c145d6c7774', select: true }, h("select", { key: '2ba6462fa988f7b64749dada680cfeae5e6953f9', onChange: ev => !this.readonly && this.handleFormatChange(parseInt(ev.target.value)) }, validationTypes
|
|
878
882
|
.filter(type => type.formType === this.dataItem?.formElementType)
|
|
879
|
-
.map(type => (h("option", { selected: this.dataItem?.validation === type.id, value: type.id }, type.description))))))), this.dataItem?.formElementType === 'checkbox' && this.getCheckboxStates().length === 2 && (h("ls-props-section", { key: '
|
|
883
|
+
.map(type => (h("option", { selected: this.dataItem?.validation === type.id, value: type.id }, type.description))))))), this.dataItem?.formElementType === 'checkbox' && this.getCheckboxStates().length === 2 && (h("ls-props-section", { key: '7f34362c07748a019185f1bc3e563157d1443fd8', sectionTitle: dvI18n.t('fieldproperties.displaystate'), sectionDescription: dvI18n.t('fieldproperties.displaystatedescription') }, h("div", { key: 'db6fe65a48ea67207c67f551cc2602eb378e6261', class: "ls-dv-checkbox-toggle" }, this.getCheckboxStates().map((state, idx) => (h("button", { key: idx, class: { 'ls-dv-checkbox-toggle-btn': true, 'ls-dv-active': idx === 0 ? this.dataItem?.value?.toString() !== 'true' : this.dataItem?.value?.toString() === 'true' }, onClick: () => !this.readonly && this.alterImmediate({ value: idx === 0 ? 'false' : 'true' }), disabled: this.readonly }, state)))))), h("slot", { key: 'bb7e9cbbf3ca90270bb4d2742c5c9de1f4a12a04' })));
|
|
880
884
|
}
|
|
881
885
|
static get watchers() { return {
|
|
882
886
|
"dataItem": ["watchDataItemHandler"]
|
|
@@ -364,7 +364,7 @@ const LsSelectMenu = class {
|
|
|
364
364
|
};
|
|
365
365
|
LsSelectMenu.style = lsSelectMenuCss();
|
|
366
366
|
|
|
367
|
-
const version = "1.0.
|
|
367
|
+
const version = "1.0.3";
|
|
368
368
|
|
|
369
369
|
const lsStatusbarCss = () => `:host{position:absolute;z-index:1000;left:23.625rem;right:0.5rem;bottom:1rem;display:flex;flex-direction:row;gap:0.5rem;align-items:end;justify-content:space-between;height:2.25rem;overflow:visible}:host(.ls-dv-statusbar-preview){left:0;right:0;justify-content:center}.ls-dv-status-bar-group{display:flex;flex-direction:row;gap:0.5rem;align-items:end}.ls-dv-controls-bar{display:flex;flex-direction:row;background-color:white;border:1px solid var(--gray-30, #e0e2e5);box-shadow:0px 4px 16px rgba(0, 0, 0, 0.1);border-radius:1.125rem;height:fit-content}.ls-dv-page-nav{margin-left:-6rem;position:relative}:host(.ls-dv-statusbar-preview) .ls-dv-page-nav{margin-left:0}*{margin:0;padding:0;box-sizing:border-box}.ls-dv-status-bar-section{display:flex;flex-direction:row;align-items:center;gap:0.625rem;padding:0 0.625rem;height:2.25rem}.ls-dv-controls-bar>:not(:nth-child(1)){border-left:1px solid var(--gray-30, #e0e2e5)}button{border:0}button:hover{color:var(--gray-100, #45484d);border-radius:0.625rem}button:disabled{color:var(--gray-40, #d8d9dc);cursor:not-allowed}input[type=range]{-webkit-appearance:none;width:100%;height:0.5rem;background:var(--gray-20, #edeff2);border-radius:0.25rem;outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:0.5rem;height:0.5rem;background:var(--gray-70, #939599);border-radius:50%;cursor:pointer}input[type=range]::-moz-range-thumb{width:0.5rem;height:0.5rem;background:var(--gray-70, #939599);border:none;border-radius:50%;cursor:pointer}input[type=range]::-moz-range-track{background:var(--gray-20, #edeff2);height:0.5rem;border-radius:0.25rem}input[type=range]::-webkit-slider-runnable-track{background:var(--gray-20, #edeff2);height:0.5rem;border-radius:0.25rem}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}span{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}button{all:unset;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--gray-80, #6f7176);text-transform:capitalize}button.ls-dv-tertiary-grey:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}.ls-dv-zoom-level-btn{font-family:var(--font-family);font-size:var(--text-sm);font-weight:400;color:var(--gray-80, #6f7176);padding:0.25rem 0.375rem;border-radius:0.25rem;margin:0 -0.25rem}.ls-dv-zoom-level-btn:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-zoom-menu{position:absolute;width:6rem;bottom:3rem;left:1rem;background:white;border:1px solid var(--gray-30, #e0e2e5);border-radius:1rem;box-shadow:0px 4px 24px rgba(0, 0, 0, 0.12);padding:0.25rem;z-index:1001;display:flex;flex-direction:column;gap:0.25rem}.ls-dv-page-menu{left:auto;max-height:60cqh;overflow-y:auto}.ls-dv-zoom-menu-item{position:relative;font-family:var(--font-family);font-size:var(--text-sm);font-weight:400;color:var(--gray-80, #6f7176);padding:0.375rem 0.625rem;border-radius:0.825rem;display:flex;align-items:center;justify-content:space-between}.ls-dv-zoom-menu-item:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-zoom-menu-item.active{font-weight:500;color:var(--primary-70, #2134dc);background:var(--primary-10, #eff4ff)}.ls-dv-thumbnail-popover{position:absolute;bottom:3rem;right:-3rem;background:white;border:1px solid var(--gray-30, #e0e2e5);border-radius:1.75rem;box-shadow:0px 8px 24px rgba(0, 0, 0, 0.15);padding:0.75rem;z-index:1001;max-height:80cqh;overflow:hidden;display:flex;flex-direction:column}.ls-dv-thumbnail-grid{background:var(--gray-10, #f7f8fa);padding:0.75rem;border-radius:1rem;border:1px solid var(--gray-30, #e0e2e5);display:grid;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));gap:1rem;overflow-y:auto;max-height:100%}.ls-dv-thumbnail-wrapper{display:flex;flex-direction:column;align-items:center;gap:0.25rem;cursor:pointer}.ls-dv-thumbnail-wrapper>span:last-child{font-size:var(--text-xs, 0.75rem);color:var(--gray-80, #6f7176);font-weight:500}.ls-dv-thumbnail{border:1px solid var(--gray-30, #e0e2e5);border-radius:0.5rem;cursor:pointer;transition:border-color 0.15s}.ls-dv-thumbnail:hover{border-color:var(--primary-40, #79adfc);box-shadow:0 0 0 2px rgba(163, 180, 249, 0.3)}.ls-dv-thumbnail.active{border-color:var(--primary-60, #4456f6);outline:0.25rem solid var(--primary-30, #9dc3fc);box-shadow:var(--shadow-md)}.ls-dv-thumbnail-dots{display:flex;gap:3px;justify-content:center;flex-wrap:wrap;margin-top:0.25rem}.ls-dv-thumbnail-dot{width:0.5rem;height:0.5rem;border-radius:50%;display:inline-block;border:2px solid var(--dot-color-60);background-color:var(--dot-color-40);cursor:pointer;transition:background-color 0.15s, border-color 0.15s}.ls-dv-thumbnail-dot:hover{background-color:var(--dot-color-60);border-color:var(--dot-color-70)}.ls-dv-version{position:absolute;bottom:100%;right:0;color:var(--gray-50, #afb0b2);font-size:0.625rem;padding-bottom:0.25rem;display:none}:host(.ls-dv-statusbar-preview) .ls-dv-version{display:block;bottom:-1.25rem;right:-0.5rem}`;
|
|
370
370
|
|
|
@@ -31231,6 +31231,10 @@ const LsDocumentViewer = class {
|
|
|
31231
31231
|
dropTarget.addEventListener('dblclick', mouseDoubleClick.bind(this));
|
|
31232
31232
|
document.addEventListener('keydown', keyDown.bind(this));
|
|
31233
31233
|
}
|
|
31234
|
+
// Listen for flushed mutations from destroyed sidebar components
|
|
31235
|
+
document.addEventListener('ls-flush-mutate', ((e) => {
|
|
31236
|
+
this.mutate.emit(e.detail);
|
|
31237
|
+
}));
|
|
31234
31238
|
// Pinch-to-zoom (trackpad) and Ctrl/Cmd+scroll zoom
|
|
31235
31239
|
const wrapper = this.component.shadowRoot.getElementById('document-frame-wrapper');
|
|
31236
31240
|
wrapper.addEventListener('wheel', (e) => {
|
|
@@ -31373,12 +31377,12 @@ const LsDocumentViewer = class {
|
|
|
31373
31377
|
return false;
|
|
31374
31378
|
}
|
|
31375
31379
|
render() {
|
|
31376
|
-
return (h(Host, { key: '
|
|
31380
|
+
return (h(Host, { key: '64ffe7f6df08c90f01216ea526d50e9748353331' }, h(h.Fragment, null, this.isLoading && (h(h.Fragment, null, h("div", { key: '7249b7eca35aa61359ff2ae7ec089618b5eedcf0', class: 'ls-dv-page-loader' }, h("ls-loading-logo", { key: '31c7a6a18cc853505d6eaeffa8e60e3a38457c16', size: 200, colour: "var(--primary-60)" })), h("div", { key: 'eb31717f54a456ba88649a1de5d808ebe861434b', class: 'ls-dv-custom-loader-slot' }, h("slot", { key: '71ace12966bb5b1ae111022ec411419e0f606bda', name: "custom-loader" })), this.mode === 'compose' && h("ls-compose-loader", { key: 'f908df60d0a6458771d4bf2ef359c611f57d29b0' }))), this.error && (h("div", { key: 'a23ffd75efeb9b8e55ebf282041e566fcc6a3d2a', class: "ls-dv-error-state" }, h("div", { key: '757f34427379b54dab8ca1f40a5756269ecc495e', class: "ls-dv-error-card" }, h("ls-icon", { key: 'cf0dda55abc866ccbae77f94e8420c0c87a8e8f2', name: "exclamation-circle-icon", size: 32, style: { color: 'var(--red-60, #dc2626)' } }), h("p", { key: '0bdb4c380b2757483101433d63aad0489fd28c99', class: "ls-dv-error-title" }, this.errorTitle), h("p", { key: 'd7a4c75cbab37d803124a4452d52456d1eef2807', class: "ls-dv-error-message" }, this.error)))), h("div", { key: '58341edacec17b878965de800d06033b269542b2', class: "ls-dv-page-header" }, h("div", { key: 'abd7f012d872ca69a60f574f1597e1b5745e07e5', class: 'ls-dv-left-slot-wrapper' }, h("slot", { key: '92a0abf30a28053bb80777fb2daed32a1bd742e0', name: "left-button" })), h("div", { key: '537d946b90e459ddf9613a3d665049a3f4f4b0df', class: 'ls-dv-right-slot-wrapper' }, h("slot", { key: 'bac5456f966980b755c674aa501ffadac93d1c21', name: "right-button" })), this.mode === 'editor' && (h("div", { key: '2f860bcad3a032fc904a6efdff8ca1950e9bf6e0' }, h("span", { key: '966269a053c75d9b5823aac6cfd953f6af12037d', class: "ls-dv-header-text-1" }, dvI18n.t('viewer.templatecreation')), h("span", { key: '7bbb1e96bc7f760a031aed746512e62f57d25168' }, "/"), h("span", { key: '34704adb2d76b37580174dd5f1b4858bfb9c5673', class: "ls-dv-header-text-2" }, this._template?.title))), this.mode === 'compose' && (h("div", { key: 'd44ad14a942e530a7395bffdf00b8aefae01410a', style: { display: 'flex', alignItems: 'center', gap: '0.25rem' } }, h("slot", { key: '35e2d16eebeb9881912a86751e066e30d87af43c', name: "top-bar" })))), h("form", { key: '71f0424708b74ba30cbeda7c770af1665f891d82', id: "ls-editor-form" }, h("ls-left-bar", { key: 'de7e11b70eedec465fe70c63c5210da6be0b9651', mode: this.mode, selected: this.selected, manager: this.manager, signer: this.signer, filtertoolbox: this.filtertoolbox, template: this._template, recipients: this._recipients, validationErrors: this.validationErrors, fieldTypeSelected: this.fieldTypeSelected, displayTable: this.displayTable, selectedDataItems: this.selectedDataItems, busy: this.isMutating, onManagerChange: e => this.handleManagerChange(e.detail), onClearSelected: () => {
|
|
31377
31381
|
this.unselect();
|
|
31378
31382
|
const toolbar = this.component.shadowRoot.getElementById('ls-toolbar');
|
|
31379
31383
|
if (toolbar)
|
|
31380
31384
|
toolbar.dataItem = [];
|
|
31381
|
-
} }, h("slot", { key: '
|
|
31385
|
+
} }, h("slot", { key: '09b76362906455e7f2800d5eeda24239c7d66204', name: "recipient-panel", slot: "recipient-panel" })), h("ls-toolbar", { key: 'd9952f2c1ab6f538fe56c7f681454b2c5d4cc3a7', id: "ls-toolbar", template: this._template, editor: this, groupInfo: this.groupInfo, mode: this.mode, signer: this.signer, selected: this.selected, pageNum: this.pageNum }), h("div", { key: 'fd45db30d22b72823a1af10c03e3ac3850a25905', id: "ls-mid-area" }, h("div", { key: 'a2ec46d3c757ebad9e0ac5f0551cd4406df1769b', class: { 'ls-dv-document-frame-wrapper': true, 'ls-dv-document-frame-wrapper--preview': this.mode === 'preview' }, id: "document-frame-wrapper" }, h("div", { key: 'c7bc32dc9d94538a6748731b34baf5854710560c', id: "ls-document-frame" }, h("canvas", { key: '8ef7cf95e4a1d7af72b192145b9c3d903f6003a7', id: "pdf-canvas", class: this.displayTable || this.isLoading ? 'ls-dv-hidden' : '' }), h("ls-editor-table", { key: '7e3136049c51a669d0cb67f7e5488c8919d04397', editor: this, class: this.displayTable ? '' : 'ls-dv-hidden' }), h("div", { key: '9db49b87d852f8c4fad8a5f7a4f6f4be51de7673', id: "ls-box-selector" }), h("div", { key: '78ac1341ad5566d3690d53bdc2c8033eac98846d', id: "ls-drag-selector" }), this.mode !== 'preview' && !this._template?.locked && !this.isLoading && this._template?.elementConnection?.templateElements?.length > 0 && (h("ls-select-menu", { key: 'e6e094f06b86652e01c446ad27926f62be3ec976', class: "ls-dv-select-menu-position", selected: this.selected, pageNum: this.pageNum, editor: this })), this.mode !== 'preview' && !this._template?.locked && !this.isLoading && this._template?.elementConnection?.templateElements?.length > 0 && (h("ls-select-menu", { key: 'cf246a8c1fe0f503f4dd85d718894c57a28653ba', class: "ls-dv-select-menu-floating", selected: this.selected, pageNum: this.pageNum, editor: this, floating: true })))), h("ls-statusbar", { key: '1b97b555c0a70384fbc19e75925ad1aa41a5454b', editor: this, page: this.pageNum, pageCount: this.pageCount, mode: this.mode }), this.mode === 'editor' && (h("div", { key: 'b2b47d37d48397113c819dd7cb83a4b84fed3856', class: 'ls-dv-validation-tag-wrapper' }, h("ls-validation-tag", { key: '97c19c08301eec03acf1835f9989cd593b7ddda0', validationErrors: this.validationErrors }), h("slot", { key: '85e2631a12ead7acf4a91279113f2cdb9d802f1b', name: "next-button" })))))), h("ls-tooltip", { key: '7738b8f3b82efabd0ac0de579bc6c9615880cf11', tooltipId: "ls-dv-tooltip" })));
|
|
31382
31386
|
}
|
|
31383
31387
|
static get watchers() { return {
|
|
31384
31388
|
"language": ["languageChanged"],
|