legalesign-document-viewer 1.0.7 → 1.0.8

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.
Files changed (115) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/ls-add-new-button_20.cjs.entry.js +11 -10
  3. package/dist/cjs/ls-assignee-select_21.cjs.entry.js +14 -13
  4. package/dist/cjs/ls-compose-loader_7.cjs.entry.js +2 -2
  5. package/dist/cjs/ls-document-viewer.cjs.entry.js +16 -5
  6. package/dist/cjs/ls-document-viewer.cjs.js +1 -1
  7. package/dist/cjs/ls-field-alignment_3.cjs.entry.js +1 -1
  8. package/dist/cjs/{mouseHandlers-DvI94o4n.js → mouseHandlers-Bvj_z8jR.js} +5 -2
  9. package/dist/cjs/mouseHandlers-Bvj_z8jR.js.map +1 -0
  10. package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +5 -1
  11. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +15 -3
  12. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
  13. package/dist/collection/components/ls-document-viewer/mouseHandlers.js +3 -0
  14. package/dist/collection/components/ls-document-viewer/mouseHandlers.js.map +1 -1
  15. package/dist/collection/components/ls-field-content/ls-field-content.js +10 -7
  16. package/dist/collection/components/ls-field-content/ls-field-content.js.map +1 -1
  17. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +10 -9
  18. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -1
  19. package/dist/collection/components/ls-field-type-select/ls-field-type-select.js +4 -6
  20. package/dist/collection/components/ls-field-type-select/ls-field-type-select.js.map +1 -1
  21. package/dist/collection/components/ls-left-bar/ls-left-bar.js +1 -1
  22. package/dist/collection/components/ls-left-bar/ls-left-bar.js.map +1 -1
  23. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +1 -1
  24. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -1
  25. package/dist/components/ls-document-viewer.js +32 -20
  26. package/dist/components/ls-document-viewer.js.map +1 -1
  27. package/dist/components/ls-field-content.js +1 -1
  28. package/dist/components/ls-field-distribute.js +1 -1
  29. package/dist/components/ls-field-properties-checkbox.js +1 -1
  30. package/dist/components/ls-field-properties-date.js +1 -1
  31. package/dist/components/ls-field-properties-dropdown.js +2 -2
  32. package/dist/components/ls-field-properties-email.js +1 -1
  33. package/dist/components/ls-field-properties-file.js +1 -1
  34. package/dist/components/ls-field-properties-general.js +1 -1
  35. package/dist/components/ls-field-properties-multiple.js +1 -1
  36. package/dist/components/ls-field-properties-number.js +1 -1
  37. package/dist/components/ls-field-properties-signature.js +1 -1
  38. package/dist/components/ls-field-properties-text.js +1 -1
  39. package/dist/components/ls-field-properties.js +1 -1
  40. package/dist/components/ls-field-type-select.js +1 -1
  41. package/dist/components/ls-left-bar.js +1 -1
  42. package/dist/components/ls-recipient-card.js +1 -1
  43. package/dist/components/ls-statusbar.js +1 -1
  44. package/dist/components/{p-D8SiEyxv.js → p-2HtsobiE.js} +4 -4
  45. package/dist/components/{p-D8SiEyxv.js.map → p-2HtsobiE.js.map} +1 -1
  46. package/dist/components/{p-Diybi844.js → p-BXlDP4-Y.js} +4 -4
  47. package/dist/components/{p-Diybi844.js.map → p-BXlDP4-Y.js.map} +1 -1
  48. package/dist/components/{p-Cb2OmRru.js → p-BlzW961U.js} +3 -3
  49. package/dist/components/{p-Cb2OmRru.js.map → p-BlzW961U.js.map} +1 -1
  50. package/dist/components/{p-Bi1odRMK.js → p-Brlb4nfo.js} +5 -2
  51. package/dist/components/p-Brlb4nfo.js.map +1 -0
  52. package/dist/components/{p-CJOYo3je.js → p-C5IJ94WY.js} +4 -4
  53. package/dist/components/{p-CJOYo3je.js.map → p-C5IJ94WY.js.map} +1 -1
  54. package/dist/components/{p-BOg59Hui.js → p-CHTXmZcS.js} +14 -13
  55. package/dist/components/p-CHTXmZcS.js.map +1 -0
  56. package/dist/components/{p-DsEMqzrc.js → p-CNEq_UtK.js} +4 -4
  57. package/dist/components/{p-DsEMqzrc.js.map → p-CNEq_UtK.js.map} +1 -1
  58. package/dist/components/{p-Qxe4qT6a.js → p-C_Y_lx-7.js} +3 -3
  59. package/dist/components/{p-Qxe4qT6a.js.map → p-C_Y_lx-7.js.map} +1 -1
  60. package/dist/components/{p-Dr4bZsUx.js → p-CcBEOEMO.js} +4 -4
  61. package/dist/components/{p-Dr4bZsUx.js.map → p-CcBEOEMO.js.map} +1 -1
  62. package/dist/components/{p-D25GhWKW.js → p-CoVwpMi0.js} +17 -17
  63. package/dist/components/p-CoVwpMi0.js.map +1 -0
  64. package/dist/components/{p-T0TVxf3z.js → p-Cp17g5RT.js} +4 -4
  65. package/dist/components/{p-T0TVxf3z.js.map → p-Cp17g5RT.js.map} +1 -1
  66. package/dist/components/{p-DXwZW96h.js → p-DEWq4YUk.js} +4 -4
  67. package/dist/components/{p-DXwZW96h.js.map → p-DEWq4YUk.js.map} +1 -1
  68. package/dist/components/{p-OChWH88R.js → p-DwVGD10J.js} +4 -4
  69. package/dist/components/{p-OChWH88R.js.map → p-DwVGD10J.js.map} +1 -1
  70. package/dist/components/{p-DX7Kb9cb.js → p-KqKkoW4F.js} +6 -8
  71. package/dist/components/p-KqKkoW4F.js.map +1 -0
  72. package/dist/components/{p-CxJyHyur.js → p-NIpH5Un0.js} +14 -14
  73. package/dist/components/{p-CxJyHyur.js.map → p-NIpH5Un0.js.map} +1 -1
  74. package/dist/components/{p-BJoHocUQ.js → p-iUgn2UWj.js} +13 -10
  75. package/dist/components/p-iUgn2UWj.js.map +1 -0
  76. package/dist/esm/loader.js +1 -1
  77. package/dist/esm/ls-add-new-button_20.entry.js +11 -10
  78. package/dist/esm/ls-assignee-select_21.entry.js +14 -13
  79. package/dist/esm/ls-compose-loader_7.entry.js +2 -2
  80. package/dist/esm/ls-document-viewer.entry.js +16 -5
  81. package/dist/esm/ls-document-viewer.entry.js.map +1 -1
  82. package/dist/esm/ls-document-viewer.js +1 -1
  83. package/dist/esm/ls-field-alignment_3.entry.js +1 -1
  84. package/dist/esm/{mouseHandlers-Bwr3Oepx.js → mouseHandlers-D8J1b1SM.js} +5 -2
  85. package/dist/esm/mouseHandlers-D8J1b1SM.js.map +1 -0
  86. package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
  87. package/dist/ls-document-viewer/p-232cbd8d.entry.js +2 -0
  88. package/dist/ls-document-viewer/p-232cbd8d.entry.js.map +1 -0
  89. package/dist/ls-document-viewer/p-649b6726.entry.js +2 -0
  90. package/dist/ls-document-viewer/p-649b6726.entry.js.map +1 -0
  91. package/dist/ls-document-viewer/p-67d622c7.entry.js +2 -0
  92. package/dist/ls-document-viewer/p-67d622c7.entry.js.map +1 -0
  93. package/dist/ls-document-viewer/{p-9b6efe5e.entry.js → p-88c316be.entry.js} +3 -3
  94. package/dist/ls-document-viewer/p-88c316be.entry.js.map +1 -0
  95. package/dist/ls-document-viewer/{p-SfEjlcdN.js → p-CkHg_-KZ.js} +2 -2
  96. package/dist/ls-document-viewer/p-CkHg_-KZ.js.map +1 -0
  97. package/dist/ls-document-viewer/{p-a4a0858b.entry.js → p-e48efc3a.entry.js} +2 -2
  98. package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +3 -0
  99. package/package.json +1 -1
  100. package/dist/cjs/mouseHandlers-DvI94o4n.js.map +0 -1
  101. package/dist/components/p-BJoHocUQ.js.map +0 -1
  102. package/dist/components/p-BOg59Hui.js.map +0 -1
  103. package/dist/components/p-Bi1odRMK.js.map +0 -1
  104. package/dist/components/p-D25GhWKW.js.map +0 -1
  105. package/dist/components/p-DX7Kb9cb.js.map +0 -1
  106. package/dist/esm/mouseHandlers-Bwr3Oepx.js.map +0 -1
  107. package/dist/ls-document-viewer/p-6f2687fc.entry.js +0 -2
  108. package/dist/ls-document-viewer/p-6f2687fc.entry.js.map +0 -1
  109. package/dist/ls-document-viewer/p-9b6efe5e.entry.js.map +0 -1
  110. package/dist/ls-document-viewer/p-SfEjlcdN.js.map +0 -1
  111. package/dist/ls-document-viewer/p-eed3e530.entry.js +0 -2
  112. package/dist/ls-document-viewer/p-eed3e530.entry.js.map +0 -1
  113. package/dist/ls-document-viewer/p-f39bf280.entry.js +0 -2
  114. package/dist/ls-document-viewer/p-f39bf280.entry.js.map +0 -1
  115. /package/dist/ls-document-viewer/{p-a4a0858b.entry.js.map → p-e48efc3a.entry.js.map} +0 -0
@@ -5,7 +5,7 @@ import { d as dvI18n } from './p-WVWIAGo_.js';
5
5
  import { f as forceCloseDatePicker } from './index.js';
6
6
  import { d as defineCustomElement$h } from './p-CgoyKNia.js';
7
7
  import { d as defineCustomElement$g } from './p-PwhF9_IW.js';
8
- import { d as defineCustomElement$e } from './p-DX7Kb9cb.js';
8
+ import { d as defineCustomElement$e } from './p-KqKkoW4F.js';
9
9
  import { d as defineCustomElement$d } from './p-CzkJGTTH.js';
10
10
  import { d as defineCustomElement$c } from './p-BHeJScTh.js';
11
11
  import { d as defineCustomElement$b } from './p-Brq7Gduk.js';
@@ -226,16 +226,14 @@ const LsFieldContent = /*@__PURE__*/ proxyCustomElement(class LsFieldContent ext
226
226
  this.update.emit([{ action: 'update', data: this.dataItem }]);
227
227
  }
228
228
  getSenderDisabledReason() {
229
- const signerOnlyTypes = ['signing date', 'regular expression', 'image', 'file', 'drawn', 'drawn field'];
229
+ const signerOnlyTypes = ['file', 'drawn', 'drawn field', 'initials'];
230
230
  const fieldType = this.dataItem?.formElementType;
231
231
  if (signerOnlyTypes.includes(fieldType)) {
232
232
  const nameMap = {
233
- 'signing date': dvI18n.t('toolbox.signingdate'),
234
- 'regular expression': dvI18n.t('toolbox.regex'),
235
- 'image': dvI18n.t('toolbox.image'),
236
233
  'file': dvI18n.t('toolbox.file'),
237
234
  'drawn': dvI18n.t('toolbox.drawn'),
238
235
  'drawn field': dvI18n.t('toolbox.drawn'),
236
+ 'initials': dvI18n.t('toolbox.initials'),
239
237
  };
240
238
  return dvI18n.t('fieldproperties.cannotreassignsendersingle', { fieldTypes: nameMap[fieldType] || fieldType });
241
239
  }
@@ -253,6 +251,11 @@ const LsFieldContent = /*@__PURE__*/ proxyCustomElement(class LsFieldContent ext
253
251
  this.alterImmediate({ signer: newSigner, formElementType: 'auto sign', elementType: 'admin', validation: 3000 });
254
252
  return;
255
253
  }
254
+ // Initials reassigned to Sender → becomes Text (sender can't have initials)
255
+ if (fieldType === 'initials' && newSigner === 0) {
256
+ this.alterImmediate({ signer: newSigner, formElementType: 'text', elementType: 'admin', validation: 0 });
257
+ return;
258
+ }
256
259
  // Any field reassigned to Sender → elementType becomes 'admin'
257
260
  // Any field reassigned away from Sender → elementType reverts to its formElementType category
258
261
  if (newSigner === 0) {
@@ -309,7 +312,7 @@ const LsFieldContent = /*@__PURE__*/ proxyCustomElement(class LsFieldContent ext
309
312
  this.alterImmediate({ validation: newValidation, value: newValue });
310
313
  }
311
314
  render() {
312
- return (h(Host, { key: 'f2695d6b0be7a1f227e4ec0a402c8d30b230957f' }, this.roles?.length > 0 && (h("ls-props-section", { key: '90aa78e28c9248ab72427067edde3c4dced1d4d1', sectionTitle: dvI18n.t('fieldproperties.assignee'), sectionDescription: dvI18n.t('fieldproperties.assigneedescription') }, h("ls-assignee-select", { key: '3eae837f63bca4fa50f087920e81fdd274f0ac50', 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: 'dd02103fdeb7aa059a70285f17606e9bc2475038', sectionTitle: dvI18n.t('fieldproperties.fieldtype'), sectionDescription: dvI18n.t('fieldproperties.fieldtypedescription') }, h("ls-field-type-select", { key: '1315446ded6cb4f6eeebde98138259c0fc49ac87', 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: 'a9335a5e678251b47a561660c57ac90dc1db4a78', sectionTitle: dvI18n.t('fieldproperties.requiredfield'), row: true, sectionDescription: dvI18n.t('fieldproperties.requiredfielddescription') }, h("ls-toggle", { key: '2d6ad9045ed62d17dfc38b8d2998cd1ff90d8187', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: ev => !this.readonly && this.alterImmediate({ optional: !ev.detail }) }))), h("ls-props-section", { key: '6f4b480cea21715d2cf72583541296284406573a', sectionTitle: dvI18n.t('fieldproperties.fieldlabel'), sectionDescription: dvI18n.t('fieldproperties.fieldlabeldescription') }, h("ls-formfield", { key: '66a33605ec7344089b17a3ec6117d654496e8ad3', 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: '3e6af27f381635c6bc2235ee9e33b18c79f0e42e', 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: () => {
315
+ return (h(Host, { key: '821442ecbc99b34befad57f7fa2dfb884afc4b17' }, this.roles?.length > 0 && (h("ls-props-section", { key: '1f4bc1eed67834086847e1eca498a11ba6acd7de', sectionTitle: dvI18n.t('fieldproperties.assignee'), sectionDescription: dvI18n.t('fieldproperties.assigneedescription') }, h("ls-assignee-select", { key: '167b7691910eff0d5c8a76026655c24a43eeed3f', 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: 'b6771f8e5ea4077f2df44d8a2ef35340b3ac7ffd', sectionTitle: dvI18n.t('fieldproperties.fieldtype'), sectionDescription: dvI18n.t('fieldproperties.fieldtypedescription') }, h("ls-field-type-select", { key: '9cab62379427c258f4ce0c50a83fa609f625e33a', 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: '8d5ea2e6ca87e61a70f04bb35a547e3ed27e8a2e', sectionTitle: dvI18n.t('fieldproperties.requiredfield'), row: true, sectionDescription: dvI18n.t('fieldproperties.requiredfielddescription') }, h("ls-toggle", { key: '2ecec5995016c0200f2a81ee2e4646e75682d522', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: ev => !this.readonly && this.alterImmediate({ optional: !ev.detail }) }))), h("ls-props-section", { key: '77689454dd208dffd69ca30e81044d370e960a5c', sectionTitle: dvI18n.t('fieldproperties.fieldlabel'), sectionDescription: dvI18n.t('fieldproperties.fieldlabeldescription') }, h("ls-formfield", { key: '3ebc938f7c31a5e315baf875102bcc6951a341a6', 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: 'e14b64b7633807e98df530b3a02884fd21d2f5a0', 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: () => {
313
316
  if (this.readonly)
314
317
  return;
315
318
  const picker = this.component.shadowRoot.getElementById('ls-date-picker');
@@ -319,9 +322,9 @@ const LsFieldContent = /*@__PURE__*/ proxyCustomElement(class LsFieldContent ext
319
322
  const input = e.target;
320
323
  this.alter({ value: this.formatDateFromISO(input.value) });
321
324
  forceCloseDatePicker(input);
322
- }, 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: '163081bd7416239c1b85971f1c4178724fcc7ca5', sectionTitle: dvI18n.t('fieldproperties.options'), sectionDescription: dvI18n.t('fieldproperties.optionsdescription') }, h("textarea", { key: '8c07efb5fa1153628ada1d28ee63142f8690a67d', 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: '776f6727b350957116a0f1bb7c3c80db0fc9c0b7', sectionTitle: dvI18n.t('fieldproperties.contentformat'), sectionDescription: dvI18n.t('fieldproperties.contentformatdescription') }, h("ls-input-wrapper", { key: '25a49f7b0f46803e322c7e4c0e76130882611e91', select: true }, h("select", { key: 'dcd4417138a42d0c008e85577c5734d7e46738eb', onChange: ev => !this.readonly && this.handleFormatChange(parseInt(ev.target.value)) }, validationTypes
325
+ }, 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: 'f9c0489ba246d60c285351d3fe5b9e9485253acf', sectionTitle: dvI18n.t('fieldproperties.options'), sectionDescription: dvI18n.t('fieldproperties.optionsdescription') }, h("textarea", { key: '851b73e48093e2cdf50bd4df6929e288e4b3c4ce', 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: '2ed98c6af62c8b245a636bae03def51348e0952c', sectionTitle: dvI18n.t('fieldproperties.contentformat'), sectionDescription: dvI18n.t('fieldproperties.contentformatdescription') }, h("ls-input-wrapper", { key: 'd40f508fdb58ef047db4a578c105d63814f08233', select: true }, h("select", { key: '89ffeebe00524aca5df127c454fd2e1400f5b0b1', onChange: ev => !this.readonly && this.handleFormatChange(parseInt(ev.target.value)) }, validationTypes
323
326
  .filter(type => type.formType === this.dataItem?.formElementType)
324
- .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: '340af765731696c7a8f13392f28e696a83f7bf7d', sectionTitle: dvI18n.t('fieldproperties.displaystate'), sectionDescription: dvI18n.t('fieldproperties.displaystatedescription') }, h("div", { key: 'edcefae0f0e8e0eaaa63943ea2bb78fa52ef7253', 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: 'df7013168408522a2bd12a7b52b68d1927287b41' })));
327
+ .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: '2d5b22e44dfca5f2f42e2d253bac4ca73738c904', sectionTitle: dvI18n.t('fieldproperties.displaystate'), sectionDescription: dvI18n.t('fieldproperties.displaystatedescription') }, h("div", { key: '68836eb34a76d695ebd534e9ade30fc114a6d61c', 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: '9909583c06d5278a7fc53519e2e5db1c2b7011d8' })));
325
328
  }
326
329
  static get watchers() { return {
327
330
  "dataItem": ["watchDataItemHandler"]
@@ -439,6 +442,6 @@ function defineCustomElement() {
439
442
  defineCustomElement();
440
443
 
441
444
  export { LsFieldContent as L, defineCustomElement as d };
442
- //# sourceMappingURL=p-BJoHocUQ.js.map
445
+ //# sourceMappingURL=p-iUgn2UWj.js.map
443
446
 
444
- //# sourceMappingURL=p-BJoHocUQ.js.map
447
+ //# sourceMappingURL=p-iUgn2UWj.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-iUgn2UWj.js","mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,qxLAAqxL,CAAC;;MCe1yL,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;;;;;;;;;;;AAEA,IAAA,QAAQ;IACzB,KAAK,GAAgB,EAAE;IACvB,mBAAmB,GAAY,IAAI;IACnC,QAAQ,GAAY,KAAK;IACzB,aAAa,GAAW,IAAI;IAE3B,UAAU,GAAkB,IAAI;IAChC,OAAO,GAAY,KAAK;IAGjC,oBAAoB,GAAA;AAClB,QAAA,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAClC,IAAI,CAAC,QAAQ,EAAE,eAAe,EAC9B,IAAI,CAAC,QAAQ,EAAE,UAAU,EACzB,IA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AAC,QAAQ,EAEtB,EAAA,KAAK,CACC,CACV,CAAC,CACE,CACW,CACpB,EACD,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-field-content/ls-field-content.scss?tag=ls-field-content&encapsulation=shadow","src/components/ls-field-content/ls-field-content.tsx"],"sourcesContent":[":host {\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.2rem;\n width: 100%;\n}\n.ls-dv-has-leading-icon {\n padding-left: 2.5rem;\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.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\n.ls-dv-date-input-wrapper {\n position: relative;\n width: 100%;\n}\n\n.ls-dv-date-display {\n cursor: pointer;\n width: 100%;\n box-sizing: border-box;\n}\n\n.ls-dv-date-clear {\n position: absolute;\n right: 0.5rem;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n color: $gray-80;\n}\n\n.ls-dv-date-picker-hidden {\n position: absolute;\n opacity: 0;\n pointer-events: none;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.ls-dv-checkbox-toggle {\n display: flex;\n gap: 0.5rem;\n background: $gray-10;\n padding: 0.25rem;\n border-radius: 0.75rem;\n}\n\n.ls-dv-checkbox-toggle-btn {\n flex: 1;\n padding: 0.25rem;\n border-radius: 0.5rem;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 0.875rem;\n color: $gray-80;\n text-transform: capitalize;\n cursor: pointer;\n border: none;\n background: transparent;\n transition: background 0.15s, box-shadow 0.15s;\n\n &:focus-visible {\n outline: 2px solid $gray-40;\n outline-offset: 2px;\n }\n\n &.ls-dv-active {\n background: white;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.5;\n }\n}\n","import { Component, Host, Prop, h, Event, EventEmitter, Element, State, Watch, Listen } from '@stencil/core';\nimport { LSApiElement, LSMutateEvent } from '../../components';\nimport { LSApiRole } from '../../types/LSApiRole';\nimport { validationTypes, getInputType } from '../ls-document-viewer/editorUtils';\nimport { getFieldPlaceholder, getFieldTitleSuggestion } from '../ls-document-viewer/defaultFieldLabels';\nimport { dvI18n } from '../../i18n/i18n';\nimport { validateFieldValue } from '../../utils/fieldValueValidator';\nimport { getDefaultValidationForType } from '../ls-field-type-select/fieldTypeUtils';\nimport { forceCloseDatePicker } from '../../utils/utils';\n\n@Component({\n tag: 'ls-field-content',\n styleUrl: 'ls-field-content.scss',\n shadow: true,\n})\nexport class LsFieldContent {\n @Element() component: HTMLElement;\n @Prop({ mutable: true }) dataItem: LSApiElement;\n @Prop() roles: LSApiRole[] = [];\n @Prop() showValidationTypes: boolean = true;\n @Prop() readonly: boolean = false;\n @Prop() filtertoolbox: string = null;\n\n @State() valueError: string | null = null;\n @State() isDirty: boolean = false;\n\n @Watch('dataItem')\n watchDataItemHandler() {\n this.valueError = validateFieldValue(\n this.dataItem?.formElementType,\n this.dataItem?.validation,\n this.dataItem?.value,\n this.dataItem?.options,\n );\n this.isDirty = !!this.dataItem?.value && this.dataItem.value.length > 0;\n }\n\n componentWillLoad() {\n if (this.dataItem?.value) {\n this.isDirty = true;\n this.valueError = validateFieldValue(\n this.dataItem?.formElementType,\n this.dataItem?.validation,\n this.dataItem?.value,\n this.dataItem?.options,\n );\n }\n }\n\n disconnectedCallback() {\n if (this.labeltimer) {\n clearTimeout(this.labeltimer);\n this.labeltimer = null;\n // Component is already detached from DOM so events can't bubble.\n // Dispatch on document and let ls-document-viewer pick it up.\n document.dispatchEvent(\n new CustomEvent('ls-flush-mutate', {\n detail: [{ action: 'update', data: this.dataItem }],\n }),\n );\n }\n }\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n mutate: EventEmitter<LSMutateEvent[]>;\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n update: EventEmitter<LSMutateEvent[]>;\n\n // Send one or more mutations up the chain\n // The source of the chain fires the mutation\n // Debounced alter for text inputs (value, label, options)\n alter(diff: object) {\n this.dataItem = { ...this.dataItem, ...diff };\n this.update.emit([{ action: 'update', data: this.dataItem }]);\n this.debounce(this.dataItem, 1500);\n }\n\n // Immediate alter for instant actions (toggles, selects, dropdowns)\n alterImmediate(diff: object) {\n this.dataItem = { ...this.dataItem, ...diff };\n this.update.emit([{ action: 'update', data: this.dataItem }]);\n if (this.labeltimer) {\n clearTimeout(this.labeltimer);\n this.labeltimer = null;\n }\n this.mutate.emit([{ action: 'update', data: this.dataItem }]);\n }\n\n @Listen('keydown')\n handleKeyDown(e: KeyboardEvent) {\n const isMod = e.ctrlKey || e.metaKey;\n if (isMod && (e.key === 'z' || e.key === 'Z' || e.key === 'y' || e.key === 'Y')) {\n e.preventDefault();\n // Cancel any pending debounce (discard uncommitted changes)\n if (this.labeltimer) {\n clearTimeout(this.labeltimer);\n this.labeltimer = null;\n }\n // Don't stopPropagation — let the event reach the document-level keydown handler\n return;\n }\n }\n\n handleValueChange(value: string) {\n this.isDirty = value.length > 0;\n this.valueError = validateFieldValue(\n this.dataItem?.formElementType,\n this.dataItem?.validation,\n value,\n this.dataItem?.options,\n );\n this.alter({ value });\n }\n\n private labeltimer;\n\n debounce(data, delay) {\n if (this.labeltimer) clearTimeout(this.labeltimer);\n\n this.labeltimer = setTimeout(() => {\n const diffs: LSMutateEvent[] = [{ action: 'update', data }];\n this.mutate.emit(diffs);\n }, delay);\n }\n\n supportsValue() {\n const typesWithValue = ['signature', 'initials', 'file', 'signing', 'autosign', 'signing date', 'auto sign', 'dropdown', 'checkbox', 'drawn field'];\n\n return !typesWithValue.includes(this.dataItem?.formElementType);\n }\n\n private getCheckboxStates(): string[] {\n const vType = validationTypes.find(v => v.id === this.dataItem?.validation);\n if (!vType) return [];\n return vType.description.split('/').reverse();\n }\n\n isDateField(): boolean {\n return getInputType(this.dataItem?.validation)?.inputType === 'date';\n }\n\n /**\n * Convert a formatted date value back to ISO (yyyy-mm-dd) for the native date input.\n */\n toISODate(value: string): string {\n if (!value) return '';\n const format = this.getDateFormat();\n if (!format) return value;\n\n const sep = format.match(/[/.-]/)?.[0] || '/';\n const parts = format.split(/[/.-]/);\n const valueParts = value.split(sep);\n if (valueParts.length < 2) return value;\n\n let y = '',\n m = '',\n d = '';\n parts.forEach((p, i) => {\n const v = valueParts[i] || '';\n if (p.startsWith('y')) y = v;\n else if (p.startsWith('m')) m = v;\n else if (p.startsWith('d')) d = v;\n });\n\n if (y.length === 2) y = '20' + y;\n if (!d) d = '01';\n\n return `${y.padStart(4, '0')}-${m.padStart(2, '0')}-${d.padStart(2, '0')}`;\n }\n\n /**\n * Convert an ISO date (yyyy-mm-dd) to the configured format.\n */\n formatDateFromISO(isoValue: string): string {\n if (!isoValue) return '';\n const [y, m, d] = isoValue.split('-');\n const format = this.getDateFormat();\n if (!format) return isoValue;\n\n return format\n .replace('yyyy', y)\n .replace('yy', y.slice(-2))\n .replace('mm', m)\n .replace('dd', d)\n .replace('d', String(parseInt(d)));\n }\n\n private getDateFormat(): string | null {\n const vType = validationTypes.find(v => v.id === this.dataItem?.validation);\n if (!vType || vType.inputType !== 'date') return null;\n return vType.description;\n }\n\n private getDateFormatById(validation: number): string | null {\n const vType = validationTypes.find(v => v.id === validation);\n if (!vType || vType.inputType !== 'date') return null;\n return vType.description;\n }\n\n private isSignatureType(): boolean {\n const fieldType = this.dataItem?.formElementType as string;\n return fieldType === 'signature' || fieldType === 'auto sign';\n }\n\n private getRoleType(): string {\n if (this.dataItem?.signer === 0) return 'SENDER';\n const role = this.roles?.find(r => r.signerIndex === this.dataItem?.signer);\n return role?.roleType || 'SIGNER';\n }\n\n private handleFieldTypeChange(newType: string) {\n const defaultValidation = getDefaultValidationForType(newType);\n const isSender = this.dataItem?.signer === 0;\n\n // Determine elementType based on formElementType\n let elementType: string;\n if (isSender) {\n elementType = 'admin';\n } else if (newType === 'signature') {\n elementType = 'signature';\n } else if (newType === 'initials') {\n elementType = 'initials';\n } else {\n elementType = 'text';\n }\n\n // Field types that don't support a user-editable value\n const noValueTypes = ['signature', 'initials', 'file', 'signing date', 'auto sign', 'date', 'dropdown', 'checkbox', 'drawn field'];\n // Also clear value when leaving a date field (formatted date values aren't valid for other types)\n const currentType = this.dataItem?.formElementType as string;\n const dateTypes = ['date', 'signing date'];\n const shouldClearValue = noValueTypes.includes(newType) || dateTypes.includes(currentType);\n\n const diff: any = {\n formElementType: newType as LSApiElement['formElementType'],\n elementType,\n validation: defaultValidation,\n };\n if (shouldClearValue) {\n diff.value = '';\n }\n\n this.dataItem = { ...this.dataItem, ...diff };\n this.mutate.emit([{ action: 'update', data: this.dataItem }]);\n this.update.emit([{ action: 'update', data: this.dataItem }]);\n }\n\n private getSenderDisabledReason(): string {\n const signerOnlyTypes = ['file', 'drawn', 'drawn field', 'initials'];\n const fieldType = this.dataItem?.formElementType as string;\n if (signerOnlyTypes.includes(fieldType)) {\n const nameMap = {\n 'file': dvI18n.t('toolbox.file'),\n 'drawn': dvI18n.t('toolbox.drawn'),\n 'drawn field': dvI18n.t('toolbox.drawn'),\n 'initials': dvI18n.t('toolbox.initials'),\n };\n return dvI18n.t('fieldproperties.cannotreassignsendersingle', { fieldTypes: nameMap[fieldType] || fieldType });\n }\n return '';\n }\n\n private handleReassign(newSigner: number) {\n const fieldType = this.dataItem?.formElementType as string;\n\n // Auto Sign reassigned away from Sender → becomes Signature\n if (fieldType === 'auto sign' && newSigner !== 0) {\n this.alterImmediate({ signer: newSigner, formElementType: 'signature', elementType: 'signature', validation: 0 });\n return;\n }\n\n // Signature reassigned to Sender → becomes Auto Sign\n if (fieldType === 'signature' && newSigner === 0) {\n this.alterImmediate({ signer: newSigner, formElementType: 'auto sign' as any, elementType: 'admin', validation: 3000 });\n return;\n }\n\n // Initials reassigned to Sender → becomes Text (sender can't have initials)\n if (fieldType === 'initials' && newSigner === 0) {\n this.alterImmediate({ signer: newSigner, formElementType: 'text', elementType: 'admin', validation: 0 });\n return;\n }\n\n // Any field reassigned to Sender → elementType becomes 'admin'\n // Any field reassigned away from Sender → elementType reverts to its formElementType category\n if (newSigner === 0) {\n this.alterImmediate({ signer: newSigner, elementType: 'admin' });\n } else if (this.dataItem?.signer === 0) {\n const elType = (fieldType === 'initials') ? 'initials' : 'text';\n this.alterImmediate({ signer: newSigner, elementType: elType });\n } else {\n this.alterImmediate({ signer: newSigner });\n }\n }\n\n private handleFormatChange(newValidation: number) {\n const currentValue = this.dataItem?.value;\n if (!currentValue || !this.isDateField()) {\n this.alterImmediate({ validation: newValidation });\n return;\n }\n\n // Parse current value to ISO using the old format\n const oldFormat = this.getDateFormat();\n const newFormat = this.getDateFormatById(newValidation);\n if (!oldFormat || !newFormat) {\n this.alterImmediate({ validation: newValidation });\n return;\n }\n\n const parts = oldFormat.split(/[/.-]/);\n const sep = oldFormat.match(/[/.-]/)?.[0] || '/';\n const valueParts = currentValue.split(sep);\n if (valueParts.length < 2) {\n this.alterImmediate({ validation: newValidation });\n return;\n }\n\n let y = '',\n m = '',\n d = '';\n parts.forEach((p, i) => {\n const v = valueParts[i] || '';\n if (p.startsWith('y')) y = v;\n else if (p.startsWith('m')) m = v;\n else if (p.startsWith('d')) d = v;\n });\n\n if (y.length === 2) y = '20' + y;\n if (!d) d = '01';\n\n const newValue = newFormat\n .replace('yyyy', y.padStart(4, '0'))\n .replace('yy', y.slice(-2))\n .replace('mm', m.padStart(2, '0'))\n .replace('dd', d.padStart(2, '0'))\n .replace('d', String(parseInt(d)));\n\n this.alterImmediate({ validation: newValidation, value: newValue });\n }\n\n render() {\n return (\n <Host>\n {this.roles?.length > 0 && (\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.assignee')} sectionDescription={dvI18n.t('fieldproperties.assigneedescription')}>\n <ls-assignee-select\n signer={this.dataItem?.signer}\n roles={this.roles}\n disabled={this.readonly}\n disabledSenderReason={this.getSenderDisabledReason()}\n disabledApproverReason={this.isSignatureType() ? dvI18n.t('fieldproperties.signaturecannotapproversingle') : ''}\n onAssigneeChange={ev => this.handleReassign(ev.detail)}\n />\n </ls-props-section>\n )}\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.fieldtype')} sectionDescription={dvI18n.t('fieldproperties.fieldtypedescription')}>\n <ls-field-type-select\n fieldType={this.dataItem?.formElementType}\n assignee={this.dataItem?.signer}\n roles={this.roles}\n roleTypes={[this.getRoleType()]}\n disabled={this.readonly}\n filtertoolbox={this.filtertoolbox}\n onFieldTypeChange={ev => this.handleFieldTypeChange(ev.detail)}\n />\n </ls-props-section>\n {this.dataItem?.formElementType !== 'signature' && (\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.requiredfield')} row={true} sectionDescription={dvI18n.t('fieldproperties.requiredfielddescription')}>\n <ls-toggle id=\"toggle-required\" checked={!this.dataItem?.optional} onValueChange={ev => !this.readonly && this.alterImmediate({ optional: !ev.detail })} />\n </ls-props-section>\n )}\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.fieldlabel')} sectionDescription={dvI18n.t('fieldproperties.fieldlabeldescription')}>\n <ls-formfield\n as=\"text\"\n name=\"field-label\"\n value={this.dataItem?.label}\n placeholder={getFieldTitleSuggestion(this.dataItem?.formElementType)}\n disabled={this.readonly}\n onTextChange={e => this.alter({ label: e.detail.value })}\n />\n </ls-props-section>\n {this.supportsValue() && (\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.value')} sectionDescription={dvI18n.t('fieldproperties.valuedescription')}>\n {this.isDateField() ? (\n <div class=\"ls-dv-date-input-wrapper\">\n <input\n class=\"ls-dv-date-display\"\n type=\"text\"\n value={this.dataItem?.value}\n placeholder={this.getDateFormat()}\n readOnly\n onClick={() => {\n if (this.readonly) return;\n const picker = this.component.shadowRoot.getElementById('ls-date-picker') as HTMLInputElement;\n if (picker) picker.showPicker();\n }}\n />\n {this.dataItem?.value && !this.readonly && (\n <div class=\"ls-dv-date-clear\" onClick={() => this.alterImmediate({ value: '' })}>\n <ls-icon name=\"x-icon\" size={20} />\n </div>\n )}\n <input\n id=\"ls-date-picker\"\n class=\"ls-dv-date-picker-hidden\"\n type=\"date\"\n value={this.toISODate(this.dataItem?.value)}\n onInput={e => {\n const input = e.target as HTMLInputElement;\n this.alter({ value: this.formatDateFromISO(input.value) });\n forceCloseDatePicker(input);\n }}\n disabled={this.readonly}\n />\n </div>\n ) : (\n <ls-formfield\n as=\"text\"\n name=\"field-value\"\n value={this.dataItem?.value}\n placeholder={getFieldPlaceholder(this.dataItem?.formElementType)}\n valid={!this.valueError}\n dirty={this.isDirty}\n errorText={this.valueError}\n disabled={this.readonly}\n onTextChange={e => this.handleValueChange(e.detail.value)}\n />\n )}\n </ls-props-section>\n )}\n {this.dataItem.validation === 20 && (\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.options')} sectionDescription={dvI18n.t('fieldproperties.optionsdescription')}>\n <textarea\n value={this.dataItem?.options}\n placeholder=\"Option 1&#10;Option 2&#10;Option 3\"\n onInput={e => this.alter({ options: (e.target as HTMLTextAreaElement).value })}\n disabled={this.readonly}\n />\n </ls-props-section>\n )}\n\n {this.showValidationTypes && this.dataItem?.formElementType !== 'drawn field' && this.dataItem?.formElementType !== 'regular expression' && this.dataItem?.formElementType !== 'initials' && (\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.contentformat')} sectionDescription={dvI18n.t('fieldproperties.contentformatdescription')}>\n <ls-input-wrapper select>\n <select onChange={ev => !this.readonly && this.handleFormatChange(parseInt((ev.target as HTMLSelectElement).value))}>\n {validationTypes\n .filter(type => type.formType === this.dataItem?.formElementType)\n .map(type => (\n <option selected={this.dataItem?.validation === type.id} value={type.id}>\n {type.description}\n </option>\n ))}\n </select>\n </ls-input-wrapper>\n </ls-props-section>\n )}\n {this.dataItem?.formElementType === 'checkbox' && this.getCheckboxStates().length === 2 && (\n <ls-props-section sectionTitle={dvI18n.t('fieldproperties.displaystate')} sectionDescription={dvI18n.t('fieldproperties.displaystatedescription')}>\n <div class=\"ls-dv-checkbox-toggle\">\n {this.getCheckboxStates().map((state, idx) => (\n <button\n key={idx}\n class={{ 'ls-dv-checkbox-toggle-btn': true, 'ls-dv-active': idx === 0 ? this.dataItem?.value?.toString() !== 'true' : this.dataItem?.value?.toString() === 'true' }}\n onClick={() => !this.readonly && this.alterImmediate({ value: idx === 0 ? 'false' : 'true' })}\n disabled={this.readonly}\n >\n {state}\n </button>\n ))}\n </div>\n </ls-props-section>\n )}\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -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\"]],{\"templateid\":[\"templateIdChanged\"],\"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],\"canUndo\":[4,\"can-undo\"],\"canRedo\":[4,\"can-redo\"],\"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],\"loaderSize\":[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\"]],{\"templateid\":[\"templateIdChanged\"],\"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],\"canUndo\":[4,\"can-undo\"],\"canRedo\":[4,\"can-redo\"],\"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 };
@@ -660,15 +660,12 @@ const LsFieldPropertiesMultiple = class {
660
660
  this.update.emit(evs);
661
661
  }
662
662
  getSenderDisabledReason() {
663
- const signerOnly = ['signing date', 'regular expression', 'image', 'file', 'drawn', 'drawn field'];
663
+ const signerOnly = ['file', 'drawn', 'drawn field', 'initials'];
664
664
  const nameMap = {
665
- 'signing date': dvI18n.t('toolbox.signingdate'),
666
- 'regex': dvI18n.t('toolbox.regex'),
667
- 'regular expression': dvI18n.t('toolbox.regex'),
668
- 'image': dvI18n.t('toolbox.image'),
669
665
  'file': dvI18n.t('toolbox.file'),
670
666
  'drawn': dvI18n.t('toolbox.drawn'),
671
667
  'drawn field': dvI18n.t('toolbox.drawn'),
668
+ 'initials': dvI18n.t('toolbox.initials'),
672
669
  };
673
670
  const disallowedTypes = [...new Set(this.dataItem
674
671
  ?.filter(item => signerOnly.includes(item.formElementType))
@@ -691,6 +688,10 @@ const LsFieldPropertiesMultiple = class {
691
688
  if (fieldType === 'signature' && newSigner === 0) {
692
689
  return { ...item, signer: newSigner, formElementType: 'auto sign', elementType: 'admin', validation: 3000 };
693
690
  }
691
+ // Initials reassigned to Sender → becomes Text (sender can't have initials)
692
+ if (fieldType === 'initials' && newSigner === 0) {
693
+ return { ...item, signer: newSigner, formElementType: 'text', elementType: 'admin', validation: 0 };
694
+ }
694
695
  // Any field reassigned to Sender → elementType becomes 'admin'
695
696
  if (newSigner === 0) {
696
697
  return { ...item, signer: newSigner, elementType: 'admin' };
@@ -711,11 +712,11 @@ const LsFieldPropertiesMultiple = class {
711
712
  }, 500);
712
713
  }
713
714
  render() {
714
- return (h(Host, { key: '3c70b405d72edb62b0a5560a910d3c7242dd0dd6' }, h("ls-field-properties-container", { key: 'df7798c98a83f47f2f71c10e5acfe4af23d3ed4f', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '81390c6eca45772a7f7eb4a31d05c36601be7783', class: 'ls-dv-field-set', slot: "content" }, this.roles?.length > 0 && (h("div", { key: '5bca63f1a8c052c230db78ad8ca8b18e3d6053bf', class: 'ls-dv-field-properties-section' }, h("div", { key: 'be74edb0f80a8cd99431f09dbffbf772d6633a66', class: 'ls-dv-field-properties-section-text' }, h("p", { key: 'c0377d686ded9ded1c6e6440a31e52aacf332a5b', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.assignee')), h("p", { key: '0eabe1c011fad1a45b9cc0ecae48c4a0f701c4ec', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.assigneedescription'))), h("ls-assignee-select", { key: '78c7d789b8bcbaa2e6edba38c753ca449d1aebee', signer: this.allSignersSame().signer, roles: this.roles, disabled: this.readonly, disabledSenderReason: this.getSenderDisabledReason(), disabledApproverReason: this.hasSignatureType() ? dvI18n.t('fieldproperties.signaturecannotapprover') : '', mixed: !this.allSignersSame().isSame, onAssigneeChange: ev => this.handleReassign(ev.detail) }))), h("div", { key: '0bd7001e14346ff92ca30c8245a8cba9f2e36f59', class: 'ls-dv-field-properties-section' }, h("div", { key: 'b7928331c746ba856db18d1683e405a11074fbaf', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '053ffd76fef8a919f602dc7db2342fa387b4c091', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.fieldtype')), h("p", { key: 'cc79bb36e560a15d35b0aff7689bb9b220454006', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.fieldtypedescriptionmultiple'))), h("ls-field-type-select", { key: '7ac25c6b65de1b8976c07f8d5848536e1fb9dcb6', fieldType: this.allFieldTypesSame().fieldType, assignee: this.allSignersSame().signer, roles: this.roles, roleTypes: this.getAllRoleTypes(), disabled: this.readonly, mixed: !this.allFieldTypesSame().isSame, filtertoolbox: this.filtertoolbox, onFieldTypeChange: ev => this.handleFieldTypeChange(ev.detail) })), h("div", { key: '4458ffe6afca7143bd9de613bf4c4c40574aeee5', class: 'ls-dv-field-properties-section ls-dv-row' }, h("div", { key: '960e0c6e1ada77f0d26570b374be51ee84d2aa0a', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '3b961ba26099c1ea70af6b66b34bc5458d27bc27', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.requiredfield')), h("p", { key: 'a17c1a698a62662a636b375b35ca8112d6a3e249', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.requiredfielddescription'))), h("ls-toggle", { key: '2ddcec1ee4f1b7141cbbf12dad508aff5485ed7d', onValueChange: (ev) => !this.readonly && this.alterImmediate({ optional: !ev.detail }), checked: !this.allFieldsOptional().optional, indeterminate: this.allFieldsOptional().isSame === false })), h("div", { key: '1118c39bfbb79158d3ee0f4e90afe270245cf910', class: 'ls-dv-field-properties-section' }, h("div", { key: 'd2474162cd412c1c9717c36dbdbcb845c6cbc71d', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '440891bbd694c72d1ab937fb9daab44c566e9a37', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.fieldlabel')), h("p", { key: '416e25026fbc788bc3819f59cd351cd35679add0', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.fieldlabeldescription'))), h("ls-formfield", { key: 'ba3057e5c05a4c03a71a95c360f2235e9101923b', as: "text", name: "field-label", value: this.allLabelsSame().label, placeholder: this.allLabelsSame().isSame ? dvI18n.t('fieldproperties.placeholdersignhere') : dvI18n.t('fieldproperties.mixed'), disabled: this.readonly, onTextChange: e => this.alter({ label: e.detail.value }) })), this.allFieldTypesSame().isSame && this.supportsValue() && (h("div", { key: '97311ce4bf5c881ad39ab5bb25e1b948ade5755b', class: 'ls-dv-field-properties-section' }, h("div", { key: '886365d941e1d5491c5778b7ecec80d6bc8425ef', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '3b2e196d04b02bccc4db93fe7bbcc74e31f13951', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.value')), h("p", { key: '54ab3d0c64cbf5bbaf065cf80cdd40e417e4911c', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.valuedescription'))), h("ls-formfield", { key: '047170538723af8b516ae342809009567d929a44', as: "text", name: "field-value", value: this.allValuesSame().value, placeholder: this.allValuesSame().isSame ? getFieldPlaceholder(this.allFieldTypesSame().fieldType) : dvI18n.t('fieldproperties.mixed'), valid: !this.valueError, dirty: !!this.allValuesSame().value, errorText: this.valueError, disabled: this.readonly, onTextChange: e => {
715
+ return (h(Host, { key: '706e98a0930c63a608978e7a33fedaa51f82ea82' }, h("ls-field-properties-container", { key: 'b6c62d049af06f9e797e9a9afd19060a4b1a3b27', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '5e3d190ea459422de75d8e9dc8e4bd2884cf82af', class: 'ls-dv-field-set', slot: "content" }, this.roles?.length > 0 && (h("div", { key: '0bbbb2da9bb6769156415226e659e834decaea11', class: 'ls-dv-field-properties-section' }, h("div", { key: '34ff123f7a40938c7f9c4630dad0a22a555b8e83', class: 'ls-dv-field-properties-section-text' }, h("p", { key: 'd044d735de8d05c8aa862433973f4cfa5c57384a', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.assignee')), h("p", { key: '983d0ee8991d50a6681e3e734ad37f01ad3ab501', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.assigneedescription'))), h("ls-assignee-select", { key: '7e0ab060925c1e845d17a4f3bdb52bf7bf03216c', signer: this.allSignersSame().signer, roles: this.roles, disabled: this.readonly, disabledSenderReason: this.getSenderDisabledReason(), disabledApproverReason: this.hasSignatureType() ? dvI18n.t('fieldproperties.signaturecannotapprover') : '', mixed: !this.allSignersSame().isSame, onAssigneeChange: ev => this.handleReassign(ev.detail) }))), h("div", { key: '37a75aa9177bfaf73d89a276c496710f48972c78', class: 'ls-dv-field-properties-section' }, h("div", { key: '2b8dae12bef9fddf2a2173b3fda60741b41aa3e3', class: 'ls-dv-field-properties-section-text' }, h("p", { key: 'afed34613375c493916dbce77a7d5f5c7ff6133b', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.fieldtype')), h("p", { key: '0f55b1e30824f20e46fac49946b8919b1ad79c34', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.fieldtypedescriptionmultiple'))), h("ls-field-type-select", { key: '6c2dd5dbd27ac1662ca77bb00f528599a659e00b', fieldType: this.allFieldTypesSame().fieldType, assignee: this.allSignersSame().signer, roles: this.roles, roleTypes: this.getAllRoleTypes(), disabled: this.readonly, mixed: !this.allFieldTypesSame().isSame, filtertoolbox: this.filtertoolbox, onFieldTypeChange: ev => this.handleFieldTypeChange(ev.detail) })), h("div", { key: '80e0e98f4797f2cd6c2902014876cb8a399901c9', class: 'ls-dv-field-properties-section ls-dv-row' }, h("div", { key: 'fda2e4e14d7e5d8682f23ffff67ab21647b0f688', class: 'ls-dv-field-properties-section-text' }, h("p", { key: 'a2a2d1b0f454685252a7091489e036976e9dff3e', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.requiredfield')), h("p", { key: '3c414288020d8f3bd58ee4f544f866aa0996fce3', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.requiredfielddescription'))), h("ls-toggle", { key: '7c9b50df766b9436ea639d31ffdf239914b6dbd2', onValueChange: (ev) => !this.readonly && this.alterImmediate({ optional: !ev.detail }), checked: !this.allFieldsOptional().optional, indeterminate: this.allFieldsOptional().isSame === false })), h("div", { key: 'd9b571e1391493198e26033da6c733b83e61bb28', class: 'ls-dv-field-properties-section' }, h("div", { key: '8cccb2df39504a59919fe49ce4fb448722f0e0b5', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '9159f82798a8ce8bf3c66268f36ee0606696dcba', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.fieldlabel')), h("p", { key: '5480f2c31908e69665429bbc7c563d6fe2f3c8bd', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.fieldlabeldescription'))), h("ls-formfield", { key: '323e1446a39e6e129bf38050a0cf0da12d19d10f', as: "text", name: "field-label", value: this.allLabelsSame().label, placeholder: this.allLabelsSame().isSame ? dvI18n.t('fieldproperties.placeholdersignhere') : dvI18n.t('fieldproperties.mixed'), disabled: this.readonly, onTextChange: e => this.alter({ label: e.detail.value }) })), this.allFieldTypesSame().isSame && this.supportsValue() && (h("div", { key: '0a65a69969b1250e92600d51db807f3059db8a43', class: 'ls-dv-field-properties-section' }, h("div", { key: 'e46988c39042cfcb0086c1074a44c8c4094b5c5e', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '39e98a7d39bfb03390b0e2f892df89a7c6acaec3', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.value')), h("p", { key: '71c2107e734846749b59d65bf5d7330e45fb781d', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.valuedescription'))), h("ls-formfield", { key: '91a8dac0233929cac3e0a9c6bfee823ef005bba7', as: "text", name: "field-value", value: this.allValuesSame().value, placeholder: this.allValuesSame().isSame ? getFieldPlaceholder(this.allFieldTypesSame().fieldType) : dvI18n.t('fieldproperties.mixed'), valid: !this.valueError, dirty: !!this.allValuesSame().value, errorText: this.valueError, disabled: this.readonly, onTextChange: e => {
715
716
  const val = e.detail.value;
716
717
  this.valueError = validateFieldValue(this.allFieldTypesSame().fieldType, this.allValidationsSame().validation, val, this.dataItem[0]?.options);
717
718
  this.alter({ value: val });
718
- } }), this.valueError && h("p", { key: 'd64fc452f0e905d1cda7bc00d971f908500af772', class: 'ls-dv-error-text' }, this.valueError))), this.isAllCheckboxes() && this.getCheckboxStates().length === 2 && (h("div", { key: '03080a1108feb8b4b6d13a46dfcd179449f9a27d', class: 'ls-dv-field-properties-section' }, h("div", { key: '29d853bece7fe9278b6f2c22e7daeac21dc59ff5', class: 'ls-dv-field-properties-section-text' }, h("p", { key: 'f405edf94eed2186732713a96fc0ae38efaa566e', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.displaystate')), h("p", { key: '465f805b7bb7167db8fdf3b1c4ebe9c3a39f0a2f', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.displaystatedescription'))), h("div", { key: '21a37ea3b32fa86fb2fb7d3c23f57ee3d5d779c8', class: "ls-dv-checkbox-toggle" }, this.getCheckboxStates().map((state, idx) => (h("button", { key: idx, class: { 'ls-dv-checkbox-toggle-btn': true, 'ls-dv-active': this.allValuesSame().isSame && (idx === 0 ? this.allValuesSame().value !== 'true' : this.allValuesSame().value === 'true') }, onClick: () => !this.readonly && this.alterImmediate({ value: idx === 0 ? 'false' : 'true' }), disabled: this.readonly }, state)))), !this.allValuesSame().isSame && h("p", { key: '179c0509ddc4788eb52b900507590d2b23420c05', class: 'ls-dv-mixed-hint' }, dvI18n.t('fieldproperties.mixed')))), this.allFieldTypesSame().isSame && this.isDateType() && (h("div", { key: '22cb86634a2d5fe765e9cb85e0af888925cb86a3', class: 'ls-dv-field-properties-section' }, h("div", { key: '33e0128209cbb302111057f37df5f2cb548c9c09', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '3422d155af5d23a849783e5da59e7ad00dab47e2', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.value'))), h("input", { key: '0867b1afd44214270ba178f633e68a09108687dc', type: "date", value: this.allValuesSame().isSame ? this.toISODate(this.allValuesSame().value, this.dataItem[0].validation) : '', onChange: (e) => {
719
+ } }), this.valueError && h("p", { key: 'c26462f0006587228c84b1a7f456a236b3548add', class: 'ls-dv-error-text' }, this.valueError))), this.isAllCheckboxes() && this.getCheckboxStates().length === 2 && (h("div", { key: 'c962531f2e101ddd2ed6d99138b23267feaeea38', class: 'ls-dv-field-properties-section' }, h("div", { key: '552c76cf7a58e8b9f30542048644df97878cf6a7', class: 'ls-dv-field-properties-section-text' }, h("p", { key: 'd1fb8d5d1d434263327ca14dd351066611814feb', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.displaystate')), h("p", { key: '2bf21df74009cec124dab6f56037716838379b2f', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.displaystatedescription'))), h("div", { key: 'b33946cc7d8569ac897469ef0d15deba1dff4dc5', class: "ls-dv-checkbox-toggle" }, this.getCheckboxStates().map((state, idx) => (h("button", { key: idx, class: { 'ls-dv-checkbox-toggle-btn': true, 'ls-dv-active': this.allValuesSame().isSame && (idx === 0 ? this.allValuesSame().value !== 'true' : this.allValuesSame().value === 'true') }, onClick: () => !this.readonly && this.alterImmediate({ value: idx === 0 ? 'false' : 'true' }), disabled: this.readonly }, state)))), !this.allValuesSame().isSame && h("p", { key: '8401a4de70cb23460188e06ead4b6966fc57e232', class: 'ls-dv-mixed-hint' }, dvI18n.t('fieldproperties.mixed')))), this.allFieldTypesSame().isSame && this.isDateType() && (h("div", { key: 'f46afd904aaed33a532c3ceac708e747598a047d', class: 'ls-dv-field-properties-section' }, h("div", { key: '8a9a3981bc2867c32464ec1132e3dfbbd974a0a2', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '79d26722badd83c50cf9032a14804c143d7ba7a4', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.value'))), h("input", { key: '2ba01df2f0b07315cc3ad553e1dfa7ce865bab4b', type: "date", value: this.allValuesSame().isSame ? this.toISODate(this.allValuesSame().value, this.dataItem[0].validation) : '', onChange: (e) => {
719
720
  const input = e.target;
720
721
  // Convert ISO to each field's configured format
721
722
  this.dataItem = this.dataItem.map(item => ({
@@ -730,9 +731,9 @@ const LsFieldPropertiesMultiple = class {
730
731
  this.mutate.emit(evs);
731
732
  this.update.emit(evs);
732
733
  forceCloseDatePicker(input);
733
- }, disabled: this.readonly }))), this.showContentFormat() && (h("div", { key: 'df6dae5807d44d94abab00f1ea8de4e962bbf580', class: 'ls-dv-field-properties-section' }, h("div", { key: '6f117a572540c997b3f7430d2c48b57ecee07975', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '69d2ef243609ba21a703eb01ecc723b4077ea774', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.contentformat')), h("p", { key: '86762b3a1cba14b27fb2561b51d4c543a94ce3f7', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.contentformatdescription'))), h("ls-input-wrapper", { key: '99d0ba877bbe4120127cb485af2e51b66eaeffde', select: true }, h("select", { key: '5564a30555d303b625ec8696231eb72cfe65dc87', onChange: ev => !this.readonly && this.handleFormatChange(parseInt(ev.target.value)), disabled: this.readonly }, !this.allValidationsSame().isSame && (h("option", { key: '7953fa83167b9a935772458756bc799871c68be5', disabled: true, selected: true, value: "" }, dvI18n.t('fieldproperties.mixed'))), validationTypes
734
+ }, disabled: this.readonly }))), this.showContentFormat() && (h("div", { key: '0dc246f23a538d1f9f70e36af8e60584bbc98398', class: 'ls-dv-field-properties-section' }, h("div", { key: 'cdee6fd40d983e78e99a344d8407b49b7d9ea948', class: 'ls-dv-field-properties-section-text' }, h("p", { key: '794719489c487dcfebadd4c49d6ee5a4d370a40f', class: 'ls-dv-field-properties-section-title' }, dvI18n.t('fieldproperties.contentformat')), h("p", { key: '07cac8273d9c6abd0f6e3957abb3c5f28b43a0d2', class: 'ls-dv-field-properties-section-description' }, dvI18n.t('fieldproperties.contentformatdescription'))), h("ls-input-wrapper", { key: '80bd05dd069aba44d4d3bd55e83523655bd6cf4e', select: true }, h("select", { key: 'a2abe80330f8c9bef15e960e1666a39b89e743aa', onChange: ev => !this.readonly && this.handleFormatChange(parseInt(ev.target.value)), disabled: this.readonly }, !this.allValidationsSame().isSame && (h("option", { key: '4e1825870f9a82ef8717d780ec296db2f7cd350d', disabled: true, selected: true, value: "" }, dvI18n.t('fieldproperties.mixed'))), validationTypes
734
735
  .filter(type => type.formType === this.allFieldTypesSame().fieldType)
735
- .map(type => (h("option", { selected: this.allValidationsSame().validation === type.id, value: type.id }, type.description)))))))), h("div", { key: '9d818e15acbc1b2a1e72f34f9d97ab4e404d1b63', class: 'ls-dv-field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: 'f13e6d313a76f397436197450864f7cf0f652fa6', dataItem: this.dataItem, readonly: this.readonly }), h("ls-field-size", { key: 'a9e0a43cb09ef3a0aa9b0d1f5512478954d993a6', dataItem: this.dataItem, readonly: this.readonly })), h("div", { key: '21b50e2c50a04ac93ca44c5000c58ee762ef30a8', class: 'ls-dv-field-set', slot: "placement" }, h("ls-field-alignment", { key: 'c3bb3956aedc8f78eea4540b05123db40e6615fe', dataItem: this.dataItem, readonly: this.readonly }), h("ls-field-placement", { key: '44920988e08116a6f3be580428d7ea29cf585e4c', dataItem: this.dataItem, readonly: this.readonly }), h("ls-field-distribute", { key: '57d3c83b1d1494e0e8b9c5d17c5feea22c65afae', dataItem: this.dataItem, readonly: this.readonly }))), h("ls-field-footer", { key: 'b935f9c80867f17df79874354208f74972a174c8', dataItem: this.dataItem, readonly: this.readonly }), h("slot", { key: '6bec4c9de68d7a4e2f7ed3fbae36671be528a14e' })));
736
+ .map(type => (h("option", { selected: this.allValidationsSame().validation === type.id, value: type.id }, type.description)))))))), h("div", { key: '9aa1aede9140bf8d7d9c962190c1d96f7801953b', class: 'ls-dv-field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '1e2c1bacc4123a0c821ab81e0dd5c7956441049d', dataItem: this.dataItem, readonly: this.readonly }), h("ls-field-size", { key: 'c565ef31ec230b0cf67870e67a8577fc5275c041', dataItem: this.dataItem, readonly: this.readonly })), h("div", { key: 'fe7e6561d1d4d85cc93c5f65634193fcf6500653', class: 'ls-dv-field-set', slot: "placement" }, h("ls-field-alignment", { key: '8109a909400db553c0385487c2b52c75af753e6d', dataItem: this.dataItem, readonly: this.readonly }), h("ls-field-placement", { key: 'ca537e7ffaccc4906a1ca85041e9342a739430f7', dataItem: this.dataItem, readonly: this.readonly }), h("ls-field-distribute", { key: '6b66bb6ca0f16a946efd657f73155541740b7031', dataItem: this.dataItem, readonly: this.readonly }))), h("ls-field-footer", { key: 'b45a72a5e09cde5f166887472dfcb4c1b5d77493', dataItem: this.dataItem, readonly: this.readonly }), h("slot", { key: 'f13c5efcc1ca3f8f85d23623aa716437c3e7a0b8' })));
736
737
  }
737
738
  static get watchers() { return {
738
739
  "dataItem": ["validateOnChange"]
@@ -1141,7 +1142,7 @@ const LsRecipientCard = class {
1141
1142
  color: defaultRolePalette[this.recipient?.signerIndex % 100].s100,
1142
1143
  } }, this.recipient?.previousRecipientDecides ? dvI18n.t('common.tobedecided') : this.recipient?.firstName + ' ' + this.recipient?.lastName), h("p", { key: '42e2e7a4413a5070d64edefb6a7ae686ad9f06f5', class: "ls-dv-participant-text-type", style: {
1143
1144
  color: defaultRolePalette[this.recipient?.signerIndex % 100].s80,
1144
- } }, this.recipient?.previousRecipientDecides ? dvI18n.t('common.previousrecipientdecidesdetails') : this.recipient.email)), h("div", { key: '7daaaff9e50ce398e9dcc31d7a495bb1bba395e9', class: "ls-dv-fields-box", style: { display: this.recipient.signerIndex === this.activeRecipient ? 'flex' : 'hidden' } }, this.recipient.signerIndex > 0 && this.showTool('signature') && this.recipient?.roleType !== 'APPROVER' && (h("ls-toolbox-field", { key: 'a491cc97deb86026c70f2e3156483242fa453c11', elementType: "signature", formElementType: "signature", label: dvI18n.t('toolbox.signature'), defaultHeight: FIELD_DEFAULTS['signature'].defaultHeight, defaultWidth: FIELD_DEFAULTS['signature'].defaultWidth, validation: 0, icon: "signature-icon", tooltip: dvI18n.t('toolbox.signaturetooltip'), signer: this.recipient.signerIndex, redDot: recipientSignatures.length === 0 })), this.recipient.signerIndex === 0 && this.showTool('auto sign') && (h("ls-toolbox-field", { key: 'e818b1440b8f3f6a6e00a41f2727488455640b09', elementType: "admin", formElementType: "auto sign", label: dvI18n.t('toolbox.autosign'), defaultHeight: FIELD_DEFAULTS['auto sign'].defaultHeight, defaultWidth: FIELD_DEFAULTS['auto sign'].defaultWidth, validation: 3000, icon: "auto-sign-icon", tooltip: dvI18n.t('toolbox.autosigntooltip'), signer: this.recipient.signerIndex })), this.showTool('text') && (h("ls-toolbox-field", { key: 'ebd027748e80bb8a973b96fcf3ff8435be9e89e6', elementType: "text", formElementType: "text", label: dvI18n.t('toolbox.text'), defaultHeight: FIELD_DEFAULTS['text'].defaultHeight, defaultWidth: FIELD_DEFAULTS['text'].defaultWidth, validation: 0, icon: "text-icon", tooltip: dvI18n.t('toolbox.texttooltip'), signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('signing date') && (h("ls-toolbox-field", { key: '386bb07d5239db57a6788ca133348527e54092e0', elementType: "text", formElementType: "signing date", label: dvI18n.t('toolbox.signingdate'), defaultHeight: FIELD_DEFAULTS['signing date'].defaultHeight, defaultWidth: FIELD_DEFAULTS['signing date'].defaultWidth, validation: 32, icon: "auto-date-icon", tooltip: dvI18n.t('toolbox.signingdatetooltip'), signer: this.recipient.signerIndex })), this.showTool('date') && (h("ls-toolbox-field", { key: '80b6ab767e42170f1d8c356f37ebe10e57f86352', elementType: "text", formElementType: "date", label: dvI18n.t('toolbox.date'), defaultHeight: FIELD_DEFAULTS['date'].defaultHeight, defaultWidth: FIELD_DEFAULTS['date'].defaultWidth, validation: 4, icon: "calender-icon", tooltip: dvI18n.t('toolbox.datetooltip'), signer: this.recipient.signerIndex })), this.showTool('email') && (h("ls-toolbox-field", { key: 'e02577159e6ac554ca37c2bb955b348071d0adbc', elementType: "text", formElementType: "email", label: dvI18n.t('toolbox.email'), defaultHeight: FIELD_DEFAULTS['email'].defaultHeight, defaultWidth: FIELD_DEFAULTS['email'].defaultWidth, validation: 1, icon: "at-symbol-icon", tooltip: dvI18n.t('toolbox.emailtooltip'), signer: this.recipient.signerIndex })), this.showTool('initials') && (h("ls-toolbox-field", { key: '02e0e4587ea0b743940acf25fd4071261e14a0a9', elementType: "initials", formElementType: "initials", label: dvI18n.t('toolbox.initials'), defaultHeight: FIELD_DEFAULTS['initials'].defaultHeight, defaultWidth: FIELD_DEFAULTS['initials'].defaultWidth, validation: 2000, icon: "initials-icon", tooltip: dvI18n.t('toolbox.initialstooltip'), signer: this.recipient.signerIndex })), this.showTool('number') && (h("ls-toolbox-field", { key: 'cfd5cd9ee9a6a73e0a95af1321355cbff5cc92af', elementType: "text", formElementType: "number", label: dvI18n.t('toolbox.number'), defaultHeight: FIELD_DEFAULTS['number'].defaultHeight, defaultWidth: FIELD_DEFAULTS['number'].defaultWidth, validation: 50, icon: "hashtag-icon", tooltip: dvI18n.t('toolbox.numbertooltip'), signer: this.recipient.signerIndex })), this.showTool('dropdown') && (h("ls-toolbox-field", { key: 'd1f4e1f57086888417ba5ac148c9d1c6f2912ff7', elementType: "text", formElementType: "dropdown", label: dvI18n.t('toolbox.dropdown'), defaultHeight: FIELD_DEFAULTS['dropdown'].defaultHeight, defaultWidth: FIELD_DEFAULTS['dropdown'].defaultWidth, validation: 20, icon: "dropdown-icon", tooltip: dvI18n.t('toolbox.dropdowntooltip'), signer: this.recipient.signerIndex })), this.showTool('checkbox') && (h("ls-toolbox-field", { key: 'e239f00135b7087f54068541bae300039bf56b2d', elementType: "text", formElementType: "checkbox", label: dvI18n.t('toolbox.checkbox'), defaultHeight: FIELD_DEFAULTS['checkbox'].defaultHeight, defaultWidth: FIELD_DEFAULTS['checkbox'].defaultWidth, validation: 25, icon: "check-icon", tooltip: dvI18n.t('toolbox.checkboxtooltip'), signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('regex') && (h("ls-toolbox-field", { key: '3f3d50c54ea368538ce47479a878f8ab4b66fb94', elementType: "text", formElementType: "regular expression", label: dvI18n.t('toolbox.regex'), defaultHeight: FIELD_DEFAULTS['regular expression'].defaultHeight, defaultWidth: FIELD_DEFAULTS['regular expression'].defaultWidth, validation: 93, icon: "code-icon", tooltip: dvI18n.t('toolbox.regextooltip'), signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('file') && (h("ls-toolbox-field", { key: 'a56f532223bef1586676fc060188d1b8116eda55', elementType: "text", formElementType: "file", label: dvI18n.t('toolbox.file'), defaultHeight: FIELD_DEFAULTS['file'].defaultHeight, defaultWidth: FIELD_DEFAULTS['file'].defaultWidth, validation: 74, icon: "upload-icon", tooltip: dvI18n.t('toolbox.filetooltip'), signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('drawn') && (h("ls-toolbox-field", { key: 'ca63a2c307133272f54da7cf22f707f2d7cc1ee5', elementType: "text", formElementType: "drawn field", label: dvI18n.t('toolbox.drawn'), defaultHeight: FIELD_DEFAULTS['drawn field'].defaultHeight, defaultWidth: FIELD_DEFAULTS['drawn field'].defaultWidth, validation: 90, icon: "pencil-icon", tooltip: dvI18n.t('toolbox.drawntooltip'), signer: this.recipient.signerIndex }))))), h("slot", { key: '1cfdde76efc52d7830ebd10f3b25ae02b4390d2a' }), h("ls-tooltip", { key: 'b0b8474aa28218786929cc4b4e1d94d755090097', tooltipId: "ls-dv-tooltip" })));
1145
+ } }, this.recipient?.previousRecipientDecides ? dvI18n.t('common.previousrecipientdecidesdetails') : this.recipient.email)), h("div", { key: '7daaaff9e50ce398e9dcc31d7a495bb1bba395e9', class: "ls-dv-fields-box", style: { display: this.recipient.signerIndex === this.activeRecipient ? 'flex' : 'hidden' } }, this.recipient.signerIndex > 0 && this.showTool('signature') && this.recipient?.roleType !== 'APPROVER' && (h("ls-toolbox-field", { key: 'a491cc97deb86026c70f2e3156483242fa453c11', elementType: "signature", formElementType: "signature", label: dvI18n.t('toolbox.signature'), defaultHeight: FIELD_DEFAULTS['signature'].defaultHeight, defaultWidth: FIELD_DEFAULTS['signature'].defaultWidth, validation: 0, icon: "signature-icon", tooltip: dvI18n.t('toolbox.signaturetooltip'), signer: this.recipient.signerIndex, redDot: recipientSignatures.length === 0 })), this.recipient.signerIndex === 0 && this.showTool('auto sign') && (h("ls-toolbox-field", { key: 'e818b1440b8f3f6a6e00a41f2727488455640b09', elementType: "admin", formElementType: "auto sign", label: dvI18n.t('toolbox.autosign'), defaultHeight: FIELD_DEFAULTS['auto sign'].defaultHeight, defaultWidth: FIELD_DEFAULTS['auto sign'].defaultWidth, validation: 3000, icon: "auto-sign-icon", tooltip: dvI18n.t('toolbox.autosigntooltip'), signer: this.recipient.signerIndex })), this.showTool('text') && (h("ls-toolbox-field", { key: 'ebd027748e80bb8a973b96fcf3ff8435be9e89e6', elementType: "text", formElementType: "text", label: dvI18n.t('toolbox.text'), defaultHeight: FIELD_DEFAULTS['text'].defaultHeight, defaultWidth: FIELD_DEFAULTS['text'].defaultWidth, validation: 0, icon: "text-icon", tooltip: dvI18n.t('toolbox.texttooltip'), signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('signing date') && (h("ls-toolbox-field", { key: '386bb07d5239db57a6788ca133348527e54092e0', elementType: "text", formElementType: "signing date", label: dvI18n.t('toolbox.signingdate'), defaultHeight: FIELD_DEFAULTS['signing date'].defaultHeight, defaultWidth: FIELD_DEFAULTS['signing date'].defaultWidth, validation: 32, icon: "auto-date-icon", tooltip: dvI18n.t('toolbox.signingdatetooltip'), signer: this.recipient.signerIndex })), this.showTool('date') && (h("ls-toolbox-field", { key: '80b6ab767e42170f1d8c356f37ebe10e57f86352', elementType: "text", formElementType: "date", label: dvI18n.t('toolbox.date'), defaultHeight: FIELD_DEFAULTS['date'].defaultHeight, defaultWidth: FIELD_DEFAULTS['date'].defaultWidth, validation: 4, icon: "calender-icon", tooltip: dvI18n.t('toolbox.datetooltip'), signer: this.recipient.signerIndex })), this.showTool('email') && (h("ls-toolbox-field", { key: 'e02577159e6ac554ca37c2bb955b348071d0adbc', elementType: "text", formElementType: "email", label: dvI18n.t('toolbox.email'), defaultHeight: FIELD_DEFAULTS['email'].defaultHeight, defaultWidth: FIELD_DEFAULTS['email'].defaultWidth, validation: 1, icon: "at-symbol-icon", tooltip: dvI18n.t('toolbox.emailtooltip'), signer: this.recipient.signerIndex })), this.showTool('initials') && this.recipient.signerIndex > 0 && (h("ls-toolbox-field", { key: 'e50e445cb60b31757c8e92dd1b6d309e06fbb924', elementType: "initials", formElementType: "initials", label: dvI18n.t('toolbox.initials'), defaultHeight: FIELD_DEFAULTS['initials'].defaultHeight, defaultWidth: FIELD_DEFAULTS['initials'].defaultWidth, validation: 2000, icon: "initials-icon", tooltip: dvI18n.t('toolbox.initialstooltip'), signer: this.recipient.signerIndex })), this.showTool('number') && (h("ls-toolbox-field", { key: 'af324917b8724e2c53de2168a8a2a8818d9b321d', elementType: "text", formElementType: "number", label: dvI18n.t('toolbox.number'), defaultHeight: FIELD_DEFAULTS['number'].defaultHeight, defaultWidth: FIELD_DEFAULTS['number'].defaultWidth, validation: 50, icon: "hashtag-icon", tooltip: dvI18n.t('toolbox.numbertooltip'), signer: this.recipient.signerIndex })), this.showTool('dropdown') && (h("ls-toolbox-field", { key: '59b5f9e6403e907f4976ba490d55f06b7a3f823c', elementType: "text", formElementType: "dropdown", label: dvI18n.t('toolbox.dropdown'), defaultHeight: FIELD_DEFAULTS['dropdown'].defaultHeight, defaultWidth: FIELD_DEFAULTS['dropdown'].defaultWidth, validation: 20, icon: "dropdown-icon", tooltip: dvI18n.t('toolbox.dropdowntooltip'), signer: this.recipient.signerIndex })), this.showTool('checkbox') && (h("ls-toolbox-field", { key: '545b2a838b37f7a282ce52d18827f83148de59ae', elementType: "text", formElementType: "checkbox", label: dvI18n.t('toolbox.checkbox'), defaultHeight: FIELD_DEFAULTS['checkbox'].defaultHeight, defaultWidth: FIELD_DEFAULTS['checkbox'].defaultWidth, validation: 25, icon: "check-icon", tooltip: dvI18n.t('toolbox.checkboxtooltip'), signer: this.recipient.signerIndex })), this.showTool('regex') && (h("ls-toolbox-field", { key: '3f3d50c54ea368538ce47479a878f8ab4b66fb94', elementType: "text", formElementType: "regular expression", label: dvI18n.t('toolbox.regex'), defaultHeight: FIELD_DEFAULTS['regular expression'].defaultHeight, defaultWidth: FIELD_DEFAULTS['regular expression'].defaultWidth, validation: 93, icon: "code-icon", tooltip: dvI18n.t('toolbox.regextooltip'), signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('file') && (h("ls-toolbox-field", { key: 'a56f532223bef1586676fc060188d1b8116eda55', elementType: "text", formElementType: "file", label: dvI18n.t('toolbox.file'), defaultHeight: FIELD_DEFAULTS['file'].defaultHeight, defaultWidth: FIELD_DEFAULTS['file'].defaultWidth, validation: 74, icon: "upload-icon", tooltip: dvI18n.t('toolbox.filetooltip'), signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('drawn') && (h("ls-toolbox-field", { key: 'ca63a2c307133272f54da7cf22f707f2d7cc1ee5', elementType: "text", formElementType: "drawn field", label: dvI18n.t('toolbox.drawn'), defaultHeight: FIELD_DEFAULTS['drawn field'].defaultHeight, defaultWidth: FIELD_DEFAULTS['drawn field'].defaultWidth, validation: 90, icon: "pencil-icon", tooltip: dvI18n.t('toolbox.drawntooltip'), signer: this.recipient.signerIndex }))))), h("slot", { key: '1cfdde76efc52d7830ebd10f3b25ae02b4390d2a' }), h("ls-tooltip", { key: 'b0b8474aa28218786929cc4b4e1d94d755090097', tooltipId: "ls-dv-tooltip" })));
1145
1146
  }
1146
1147
  static get watchers() { return {
1147
1148
  "activeRecipient": ["handleExpandCollapse"]
@@ -770,16 +770,14 @@ const LsFieldContent = class {
770
770
  this.update.emit([{ action: 'update', data: this.dataItem }]);
771
771
  }
772
772
  getSenderDisabledReason() {
773
- const signerOnlyTypes = ['signing date', 'regular expression', 'image', 'file', 'drawn', 'drawn field'];
773
+ const signerOnlyTypes = ['file', 'drawn', 'drawn field', 'initials'];
774
774
  const fieldType = this.dataItem?.formElementType;
775
775
  if (signerOnlyTypes.includes(fieldType)) {
776
776
  const nameMap = {
777
- 'signing date': dvI18n.t('toolbox.signingdate'),
778
- 'regular expression': dvI18n.t('toolbox.regex'),
779
- 'image': dvI18n.t('toolbox.image'),
780
777
  'file': dvI18n.t('toolbox.file'),
781
778
  'drawn': dvI18n.t('toolbox.drawn'),
782
779
  'drawn field': dvI18n.t('toolbox.drawn'),
780
+ 'initials': dvI18n.t('toolbox.initials'),
783
781
  };
784
782
  return dvI18n.t('fieldproperties.cannotreassignsendersingle', { fieldTypes: nameMap[fieldType] || fieldType });
785
783
  }
@@ -797,6 +795,11 @@ const LsFieldContent = class {
797
795
  this.alterImmediate({ signer: newSigner, formElementType: 'auto sign', elementType: 'admin', validation: 3000 });
798
796
  return;
799
797
  }
798
+ // Initials reassigned to Sender → becomes Text (sender can't have initials)
799
+ if (fieldType === 'initials' && newSigner === 0) {
800
+ this.alterImmediate({ signer: newSigner, formElementType: 'text', elementType: 'admin', validation: 0 });
801
+ return;
802
+ }
800
803
  // Any field reassigned to Sender → elementType becomes 'admin'
801
804
  // Any field reassigned away from Sender → elementType reverts to its formElementType category
802
805
  if (newSigner === 0) {
@@ -853,7 +856,7 @@ const LsFieldContent = class {
853
856
  this.alterImmediate({ validation: newValidation, value: newValue });
854
857
  }
855
858
  render() {
856
- return (h(Host, { key: 'f2695d6b0be7a1f227e4ec0a402c8d30b230957f' }, this.roles?.length > 0 && (h("ls-props-section", { key: '90aa78e28c9248ab72427067edde3c4dced1d4d1', sectionTitle: dvI18n.t('fieldproperties.assignee'), sectionDescription: dvI18n.t('fieldproperties.assigneedescription') }, h("ls-assignee-select", { key: '3eae837f63bca4fa50f087920e81fdd274f0ac50', 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: 'dd02103fdeb7aa059a70285f17606e9bc2475038', sectionTitle: dvI18n.t('fieldproperties.fieldtype'), sectionDescription: dvI18n.t('fieldproperties.fieldtypedescription') }, h("ls-field-type-select", { key: '1315446ded6cb4f6eeebde98138259c0fc49ac87', 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: 'a9335a5e678251b47a561660c57ac90dc1db4a78', sectionTitle: dvI18n.t('fieldproperties.requiredfield'), row: true, sectionDescription: dvI18n.t('fieldproperties.requiredfielddescription') }, h("ls-toggle", { key: '2d6ad9045ed62d17dfc38b8d2998cd1ff90d8187', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: ev => !this.readonly && this.alterImmediate({ optional: !ev.detail }) }))), h("ls-props-section", { key: '6f4b480cea21715d2cf72583541296284406573a', sectionTitle: dvI18n.t('fieldproperties.fieldlabel'), sectionDescription: dvI18n.t('fieldproperties.fieldlabeldescription') }, h("ls-formfield", { key: '66a33605ec7344089b17a3ec6117d654496e8ad3', 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: '3e6af27f381635c6bc2235ee9e33b18c79f0e42e', 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: () => {
859
+ return (h(Host, { key: '821442ecbc99b34befad57f7fa2dfb884afc4b17' }, this.roles?.length > 0 && (h("ls-props-section", { key: '1f4bc1eed67834086847e1eca498a11ba6acd7de', sectionTitle: dvI18n.t('fieldproperties.assignee'), sectionDescription: dvI18n.t('fieldproperties.assigneedescription') }, h("ls-assignee-select", { key: '167b7691910eff0d5c8a76026655c24a43eeed3f', 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: 'b6771f8e5ea4077f2df44d8a2ef35340b3ac7ffd', sectionTitle: dvI18n.t('fieldproperties.fieldtype'), sectionDescription: dvI18n.t('fieldproperties.fieldtypedescription') }, h("ls-field-type-select", { key: '9cab62379427c258f4ce0c50a83fa609f625e33a', 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: '8d5ea2e6ca87e61a70f04bb35a547e3ed27e8a2e', sectionTitle: dvI18n.t('fieldproperties.requiredfield'), row: true, sectionDescription: dvI18n.t('fieldproperties.requiredfielddescription') }, h("ls-toggle", { key: '2ecec5995016c0200f2a81ee2e4646e75682d522', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: ev => !this.readonly && this.alterImmediate({ optional: !ev.detail }) }))), h("ls-props-section", { key: '77689454dd208dffd69ca30e81044d370e960a5c', sectionTitle: dvI18n.t('fieldproperties.fieldlabel'), sectionDescription: dvI18n.t('fieldproperties.fieldlabeldescription') }, h("ls-formfield", { key: '3ebc938f7c31a5e315baf875102bcc6951a341a6', 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: 'e14b64b7633807e98df530b3a02884fd21d2f5a0', 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: () => {
857
860
  if (this.readonly)
858
861
  return;
859
862
  const picker = this.component.shadowRoot.getElementById('ls-date-picker');
@@ -863,9 +866,9 @@ const LsFieldContent = class {
863
866
  const input = e.target;
864
867
  this.alter({ value: this.formatDateFromISO(input.value) });
865
868
  forceCloseDatePicker(input);
866
- }, 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: '163081bd7416239c1b85971f1c4178724fcc7ca5', sectionTitle: dvI18n.t('fieldproperties.options'), sectionDescription: dvI18n.t('fieldproperties.optionsdescription') }, h("textarea", { key: '8c07efb5fa1153628ada1d28ee63142f8690a67d', 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: '776f6727b350957116a0f1bb7c3c80db0fc9c0b7', sectionTitle: dvI18n.t('fieldproperties.contentformat'), sectionDescription: dvI18n.t('fieldproperties.contentformatdescription') }, h("ls-input-wrapper", { key: '25a49f7b0f46803e322c7e4c0e76130882611e91', select: true }, h("select", { key: 'dcd4417138a42d0c008e85577c5734d7e46738eb', onChange: ev => !this.readonly && this.handleFormatChange(parseInt(ev.target.value)) }, validationTypes
869
+ }, 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: 'f9c0489ba246d60c285351d3fe5b9e9485253acf', sectionTitle: dvI18n.t('fieldproperties.options'), sectionDescription: dvI18n.t('fieldproperties.optionsdescription') }, h("textarea", { key: '851b73e48093e2cdf50bd4df6929e288e4b3c4ce', 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: '2ed98c6af62c8b245a636bae03def51348e0952c', sectionTitle: dvI18n.t('fieldproperties.contentformat'), sectionDescription: dvI18n.t('fieldproperties.contentformatdescription') }, h("ls-input-wrapper", { key: 'd40f508fdb58ef047db4a578c105d63814f08233', select: true }, h("select", { key: '89ffeebe00524aca5df127c454fd2e1400f5b0b1', onChange: ev => !this.readonly && this.handleFormatChange(parseInt(ev.target.value)) }, validationTypes
867
870
  .filter(type => type.formType === this.dataItem?.formElementType)
868
- .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: '340af765731696c7a8f13392f28e696a83f7bf7d', sectionTitle: dvI18n.t('fieldproperties.displaystate'), sectionDescription: dvI18n.t('fieldproperties.displaystatedescription') }, h("div", { key: 'edcefae0f0e8e0eaaa63943ea2bb78fa52ef7253', 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: 'df7013168408522a2bd12a7b52b68d1927287b41' })));
871
+ .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: '2d5b22e44dfca5f2f42e2d253bac4ca73738c904', sectionTitle: dvI18n.t('fieldproperties.displaystate'), sectionDescription: dvI18n.t('fieldproperties.displaystatedescription') }, h("div", { key: '68836eb34a76d695ebd534e9ade30fc114a6d61c', 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: '9909583c06d5278a7fc53519e2e5db1c2b7011d8' })));
869
872
  }
870
873
  static get watchers() { return {
871
874
  "dataItem": ["watchDataItemHandler"]
@@ -1206,9 +1209,7 @@ const getValidFieldTypes = (roleTypes) => {
1206
1209
  excluded.add('signature');
1207
1210
  excluded.add('initials');
1208
1211
  excluded.add('file');
1209
- excluded.add('signing date');
1210
1212
  excluded.add('drawn field');
1211
- excluded.add('regular expression');
1212
1213
  break;
1213
1214
  case 'APPROVER':
1214
1215
  excluded.add('signature');
@@ -1261,17 +1262,17 @@ const LsFieldTypeSelect = class {
1261
1262
  const displayLabel = this.mixed
1262
1263
  ? dvI18n.t('fieldproperties.mixed')
1263
1264
  : dvI18n.t(fieldTypeKeyMap[this.fieldType] || 'toolbox.text');
1264
- return (h(Host, { key: '6bfe8fdca902983b87999b331d0ab9e4348d8119' }, h("div", { key: 'd9ecf1411a4b353db022651b5312d2eed8581ce4', class: "ls-dv-fieldtype-dropdown" }, h("div", { key: '2d39319df63a4bd49117efb6f6597ca0acf4998f', class: "ls-dv-fieldtype-header", style: {
1265
+ return (h(Host, { key: '8e07462b8c28d0219b479fb019cba56f93ce49e4' }, h("div", { key: '4bbe52234fc09e94580204e7ab5fed2e8e43f654', class: "ls-dv-fieldtype-dropdown" }, h("div", { key: '0d1963b105c3b806f2d3db48e65d5fdd7049dab2', class: "ls-dv-fieldtype-header", style: {
1265
1266
  border: `1px dashed ${color.s30}`,
1266
1267
  background: color.s10,
1267
- } }, h("div", { key: '0dc0422afef8b56b4eb126cf51d5d74eadd0b035', class: "ls-dv-fieldtype-inner" }, h("div", { key: 'e293fddbf13371be97cfae330245fc70a3d90fb6', class: "ls-dv-fieldtype-icon", style: {
1268
+ } }, h("div", { key: '96bc5889c07c8f307e008e8e69bd6062d07cdcac', class: "ls-dv-fieldtype-inner" }, h("div", { key: '8a41fb259a65ed80b52363a8abe62c29b6eb8f59', class: "ls-dv-fieldtype-icon", style: {
1268
1269
  border: `1px solid ${color.s60}`,
1269
1270
  color: color.s60,
1270
1271
  background: color.s10,
1271
- } }, h("ls-icon", { key: 'd70e7c8a2166ab9a28025fdea837d4ef2548a568', name: this.mixed ? 'view-grid-icon' : getFieldIcon(this.fieldType), size: 20 })), h("span", { key: 'fdac95009c85c06097d852de5e67c881614d22db', class: "ls-dv-fieldtype-name" }, displayLabel), !this.disabled && (h("button", { key: '335160180754f0e4d7f3cb92b0dbf35700aa8ffe', class: "ls-dv-fieldtype-btn", onClick: e => {
1272
+ } }, h("ls-icon", { key: 'ebf7649bd96f8130ba9cc1809457784dbbaf0a58', name: this.mixed ? 'view-grid-icon' : getFieldIcon(this.fieldType), size: 20 })), h("span", { key: 'c1865507042fbc308335cf7c18f3909534f203f7', class: "ls-dv-fieldtype-name" }, displayLabel), !this.disabled && (h("button", { key: '1e534ca6db78851f7147622f18027dd7f7365a0c', class: "ls-dv-fieldtype-btn", onClick: e => {
1272
1273
  e.stopPropagation();
1273
1274
  this.toggleDropdown();
1274
- }, "data-tooltip-id": "ls-dv-tooltip", "data-tooltip-content": dvI18n.t('fieldproperties.changefieldtype') }, h("ls-icon", { key: 'b301132f3002fb687f22afc745791e031f0130ba', name: "switch-horizontal-icon", size: 16 }))))), this.isOpen && (h("div", { key: 'f8a2da27316feb75da093c9a6567dda9c491acc7', class: "ls-dv-fieldtype-list" }, validTypes.map(type => (h("div", { class: `ls-dv-fieldtype-item ${type === this.fieldType && !this.mixed ? 'ls-dv-selected' : ''}`, style: {
1275
+ }, "data-tooltip-id": "ls-dv-tooltip", "data-tooltip-content": dvI18n.t('fieldproperties.changefieldtype') }, h("ls-icon", { key: '1b8edb5462bd0a2bc51054ecfd3876599e5448d9', name: "switch-horizontal-icon", size: 16 }))))), this.isOpen && (h("div", { key: '7ff88dfb91403f744d4fb5e1e32ce687fbed1ed3', class: "ls-dv-fieldtype-list" }, validTypes.map(type => (h("div", { class: `ls-dv-fieldtype-item ${type === this.fieldType && !this.mixed ? 'ls-dv-selected' : ''}`, style: {
1275
1276
  '--background-selected': color.s10,
1276
1277
  '--check-icon-selected': color.s50,
1277
1278
  }, onClick: () => this.selectFieldType(type) }, h("div", { class: "ls-dv-fieldtype-item-icon", style: {