legalesign-document-viewer 1.0.0 → 1.0.2

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 (279) hide show
  1. package/dist/cjs/{editorUtils-ClBh8Wv8.js → editorUtils-CRCLbYrX.js} +3 -3
  2. package/dist/cjs/{editorUtils-ClBh8Wv8.js.map → editorUtils-CRCLbYrX.js.map} +1 -1
  3. package/dist/cjs/{i18n-Cm3SP-DJ.js → i18n-e8JieHV6.js} +4 -2
  4. package/dist/cjs/{i18n-Cm3SP-DJ.js.map → i18n-e8JieHV6.js.map} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/ls-add-new-button_20.cjs.entry.js +47 -38
  7. package/dist/cjs/ls-assignee-select_21.cjs.entry.js +65 -27
  8. package/dist/cjs/ls-compose-loader_7.cjs.entry.js +12 -12
  9. package/dist/cjs/ls-compose-manager.cjs.entry.js +1 -1
  10. package/dist/cjs/ls-document-viewer.cjs.entry.js +26 -7
  11. package/dist/cjs/ls-document-viewer.cjs.js +1 -1
  12. package/dist/cjs/ls-field-alignment_3.cjs.entry.js +3 -3
  13. package/dist/cjs/ls-field-format_2.cjs.entry.js +1 -1
  14. package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +3 -2
  15. package/dist/cjs/ls-field-type-display.cjs.entry.js +1 -1
  16. package/dist/cjs/ls-helper-bar_2.cjs.entry.js +1 -1
  17. package/dist/cjs/{mouseHandlers-CsLRpRbC.js → mouseHandlers-BvqJ2tsu.js} +4 -4
  18. package/dist/cjs/{mouseHandlers-CsLRpRbC.js.map → mouseHandlers-BvqJ2tsu.js.map} +1 -1
  19. package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +0 -7
  20. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +22 -3
  21. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
  22. package/dist/collection/components/ls-editor-field/ls-editor-field.css +5 -2
  23. package/dist/collection/components/ls-editor-field/ls-editor-field.js +44 -15
  24. package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -1
  25. package/dist/collection/components/ls-field-content/ls-field-content.js +30 -3
  26. package/dist/collection/components/ls-field-content/ls-field-content.js.map +1 -1
  27. package/dist/collection/components/ls-field-properties/ls-field-properties.css +1 -0
  28. package/dist/collection/components/ls-field-properties/ls-field-properties.js +33 -12
  29. package/dist/collection/components/ls-field-properties/ls-field-properties.js.map +1 -1
  30. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +1 -1
  31. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js.map +1 -1
  32. package/dist/collection/components/ls-field-properties-checkbox/ls-field-properties-checkbox.css +1 -0
  33. package/dist/collection/components/ls-field-properties-checkbox/ls-field-properties-checkbox.js +22 -1
  34. package/dist/collection/components/ls-field-properties-checkbox/ls-field-properties-checkbox.js.map +1 -1
  35. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +22 -1
  36. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js.map +1 -1
  37. package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.css +1 -0
  38. package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js +22 -1
  39. package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js.map +1 -1
  40. package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +22 -1
  41. package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js.map +1 -1
  42. package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +22 -1
  43. package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js.map +1 -1
  44. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +22 -1
  45. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js.map +1 -1
  46. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +25 -4
  47. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -1
  48. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +22 -1
  49. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js.map +1 -1
  50. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +22 -1
  51. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js.map +1 -1
  52. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +22 -1
  53. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js.map +1 -1
  54. package/dist/collection/components/ls-field-type-select/ls-field-type-select.js +27 -5
  55. package/dist/collection/components/ls-field-type-select/ls-field-type-select.js.map +1 -1
  56. package/dist/collection/components/ls-left-bar/ls-left-bar.js +1 -1
  57. package/dist/collection/components/ls-left-bar/ls-left-bar.js.map +1 -1
  58. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +5 -6
  59. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -1
  60. package/dist/collection/components/ls-statusbar/ls-statusbar.js +9 -9
  61. package/dist/collection/components/ls-statusbar/ls-statusbar.js.map +1 -1
  62. package/dist/collection/components/ls-validation-tag/ls-validation-tag.css +7 -1
  63. package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +3 -3
  64. package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
  65. package/dist/components/ls-assignee-select.js +1 -1
  66. package/dist/components/ls-compose-manager.js +1 -1
  67. package/dist/components/ls-document-options.js +1 -1
  68. package/dist/components/ls-document-viewer.js +63 -44
  69. package/dist/components/ls-document-viewer.js.map +1 -1
  70. package/dist/components/ls-editor-field.js +1 -1
  71. package/dist/components/ls-feature-column.js +1 -1
  72. package/dist/components/ls-field-alignment.js +1 -1
  73. package/dist/components/ls-field-content.js +1 -1
  74. package/dist/components/ls-field-dimensions.js +1 -1
  75. package/dist/components/ls-field-distribute.js +1 -1
  76. package/dist/components/ls-field-footer.js +1 -1
  77. package/dist/components/ls-field-format.js +1 -1
  78. package/dist/components/ls-field-placement.js +1 -1
  79. package/dist/components/ls-field-properties-advanced.js +1 -1
  80. package/dist/components/ls-field-properties-autosign.js +1 -1
  81. package/dist/components/ls-field-properties-checkbox.js +1 -1
  82. package/dist/components/ls-field-properties-container.js +1 -1
  83. package/dist/components/ls-field-properties-date.js +1 -1
  84. package/dist/components/ls-field-properties-dropdown.js +14 -12
  85. package/dist/components/ls-field-properties-dropdown.js.map +1 -1
  86. package/dist/components/ls-field-properties-email.js +1 -1
  87. package/dist/components/ls-field-properties-file.js +1 -1
  88. package/dist/components/ls-field-properties-general.js +1 -1
  89. package/dist/components/ls-field-properties-multiple.js +1 -1
  90. package/dist/components/ls-field-properties-number.js +1 -1
  91. package/dist/components/ls-field-properties-signature.js +1 -1
  92. package/dist/components/ls-field-properties-text.js +1 -1
  93. package/dist/components/ls-field-properties.js +1 -1
  94. package/dist/components/ls-field-size.js +1 -1
  95. package/dist/components/ls-field-type-display.js +1 -1
  96. package/dist/components/ls-field-type-select.js +1 -1
  97. package/dist/components/ls-helper-bar.js +1 -1
  98. package/dist/components/ls-keyboard-shortcuts.js +1 -1
  99. package/dist/components/ls-left-bar.js +1 -1
  100. package/dist/components/ls-participant-card.js +1 -1
  101. package/dist/components/ls-participant-manager.js +1 -1
  102. package/dist/components/ls-participant-select.js +1 -1
  103. package/dist/components/ls-recipient-card.js +1 -1
  104. package/dist/components/ls-recipient-manager.js +1 -1
  105. package/dist/components/ls-select-menu.js +1 -1
  106. package/dist/components/ls-statusbar.js +1 -1
  107. package/dist/components/ls-toolbar.js +1 -1
  108. package/dist/components/ls-validation-manager.js +1 -1
  109. package/dist/components/ls-validation-tag.js +1 -1
  110. package/dist/components/{p-D1fggKxb.js → p-1ayYzye1.js} +19 -17
  111. package/dist/components/p-1ayYzye1.js.map +1 -0
  112. package/dist/components/{p-D4VxGydf.js → p-8hWonZD4.js} +15 -13
  113. package/dist/components/p-8hWonZD4.js.map +1 -0
  114. package/dist/components/{p-BZ9KFHC1.js → p-BEhTmCBW.js} +15 -13
  115. package/dist/components/p-BEhTmCBW.js.map +1 -0
  116. package/dist/components/{p-CAm8iIfB.js → p-BJ7fvXXf.js} +15 -15
  117. package/dist/components/{p-CAm8iIfB.js.map → p-BJ7fvXXf.js.map} +1 -1
  118. package/dist/components/{p-CCSMbgUt.js → p-BUAS2e6p.js} +3 -3
  119. package/dist/components/{p-CCSMbgUt.js.map → p-BUAS2e6p.js.map} +1 -1
  120. package/dist/components/{p-CtT9DLf0.js → p-BbLFuN1Q.js} +4 -4
  121. package/dist/components/{p-CtT9DLf0.js.map → p-BbLFuN1Q.js.map} +1 -1
  122. package/dist/components/{p-CJIhr6ns.js → p-BgIA-QAy.js} +4 -4
  123. package/dist/components/{p-CJIhr6ns.js.map → p-BgIA-QAy.js.map} +1 -1
  124. package/dist/components/{p-Bi_4Swkx.js → p-Biay9ys2.js} +3 -3
  125. package/dist/components/{p-Bi_4Swkx.js.map → p-Biay9ys2.js.map} +1 -1
  126. package/dist/components/{p-C7WYjjf5.js → p-C1SFI6sR.js} +3 -3
  127. package/dist/components/{p-C7WYjjf5.js.map → p-C1SFI6sR.js.map} +1 -1
  128. package/dist/components/{p-4KjU_xHn.js → p-C3xBvNXU.js} +35 -35
  129. package/dist/components/p-C3xBvNXU.js.map +1 -0
  130. package/dist/components/{p-BUobLFxb.js → p-CRZNeYR8.js} +3 -3
  131. package/dist/components/{p-BUobLFxb.js.map → p-CRZNeYR8.js.map} +1 -1
  132. package/dist/components/{p-MKp33FTH.js → p-CSxx3aLG.js} +3 -3
  133. package/dist/components/{p-MKp33FTH.js.map → p-CSxx3aLG.js.map} +1 -1
  134. package/dist/components/{p-BJkRQ2hZ.js → p-CbORhuHl.js} +40 -38
  135. package/dist/components/p-CbORhuHl.js.map +1 -0
  136. package/dist/components/{p-Bg8qV5nN.js → p-Ce-55WxN.js} +5 -5
  137. package/dist/components/{p-Bg8qV5nN.js.map → p-Ce-55WxN.js.map} +1 -1
  138. package/dist/components/{p-CLScwmO_.js → p-CeO915wm.js} +16 -14
  139. package/dist/components/p-CeO915wm.js.map +1 -0
  140. package/dist/components/{p-CMiu82Dz.js → p-CgFpE1fV.js} +3 -3
  141. package/dist/components/{p-CMiu82Dz.js.map → p-CgFpE1fV.js.map} +1 -1
  142. package/dist/components/{p-C-5L6LAY.js → p-CgoyKNia.js} +3 -3
  143. package/dist/components/{p-C-5L6LAY.js.map → p-CgoyKNia.js.map} +1 -1
  144. package/dist/components/{p-M4AweDeo.js → p-CgqKV0xf.js} +15 -13
  145. package/dist/components/p-CgqKV0xf.js.map +1 -0
  146. package/dist/components/{p-CNxS5_JA.js → p-CmsA9-sZ.js} +15 -13
  147. package/dist/components/p-CmsA9-sZ.js.map +1 -0
  148. package/dist/components/{p-BmDtavNK.js → p-Cts0eCoL.js} +5 -5
  149. package/dist/components/{p-BmDtavNK.js.map → p-Cts0eCoL.js.map} +1 -1
  150. package/dist/components/{p-Bxlq9ywP.js → p-CvMzUIlC.js} +48 -19
  151. package/dist/components/p-CvMzUIlC.js.map +1 -0
  152. package/dist/components/{p-D844Ghcf.js → p-CxWGojFs.js} +3 -3
  153. package/dist/components/{p-D844Ghcf.js.map → p-CxWGojFs.js.map} +1 -1
  154. package/dist/components/{p-sivKnxmI.js → p-D02hM4Sf.js} +4 -4
  155. package/dist/components/{p-sivKnxmI.js.map → p-D02hM4Sf.js.map} +1 -1
  156. package/dist/components/{p-CBN6EOa6.js → p-D1yC5psL.js} +15 -13
  157. package/dist/components/p-D1yC5psL.js.map +1 -0
  158. package/dist/components/{p-Cznb3nhw.js → p-D4qAbKWM.js} +7 -7
  159. package/dist/components/p-D4qAbKWM.js.map +1 -0
  160. package/dist/components/{p-BiQfNAXm.js → p-DNx0Ngpa.js} +17 -9
  161. package/dist/components/p-DNx0Ngpa.js.map +1 -0
  162. package/dist/components/{p-CfOp4S4g.js → p-DRDChAg6.js} +3 -3
  163. package/dist/components/{p-CfOp4S4g.js.map → p-DRDChAg6.js.map} +1 -1
  164. package/dist/components/{p-DRIWa5EM.js → p-DWGdXqO4.js} +3 -3
  165. package/dist/components/{p-DRIWa5EM.js.map → p-DWGdXqO4.js.map} +1 -1
  166. package/dist/components/{p-883oa-R7.js → p-DX7Kb9cb.js} +11 -8
  167. package/dist/components/p-DX7Kb9cb.js.map +1 -0
  168. package/dist/components/{p-DUhCihul.js → p-Dab8K5mi.js} +3 -3
  169. package/dist/components/{p-DUhCihul.js.map → p-Dab8K5mi.js.map} +1 -1
  170. package/dist/components/{p-C0fuTQ5C.js → p-DkV1l_zw.js} +3 -3
  171. package/dist/components/{p-C0fuTQ5C.js.map → p-DkV1l_zw.js.map} +1 -1
  172. package/dist/components/{p-Rqv3ICkT.js → p-Dl8z1tmj.js} +3 -3
  173. package/dist/components/{p-Rqv3ICkT.js.map → p-Dl8z1tmj.js.map} +1 -1
  174. package/dist/components/{p-D9mePwWa.js → p-Dy-dPxzq.js} +15 -13
  175. package/dist/components/p-Dy-dPxzq.js.map +1 -0
  176. package/dist/components/{p-D7rSbima.js → p-DzUG2q_b.js} +3 -3
  177. package/dist/components/{p-D7rSbima.js.map → p-DzUG2q_b.js.map} +1 -1
  178. package/dist/components/{p-CKq4FH9m.js → p-Qxe4qT6a.js} +8 -9
  179. package/dist/components/p-Qxe4qT6a.js.map +1 -0
  180. package/dist/components/{p-Dbp-hj8N.js → p-WVWIAGo_.js} +4 -2
  181. package/dist/components/{p-Dbp-hj8N.js.map → p-WVWIAGo_.js.map} +1 -1
  182. package/dist/components/{p-CzT8SbWq.js → p-cjANxX0x.js} +3 -3
  183. package/dist/components/{p-CzT8SbWq.js.map → p-cjANxX0x.js.map} +1 -1
  184. package/dist/components/{p-ClKw7Zzi.js → p-fd9JyL4S.js} +15 -13
  185. package/dist/components/p-fd9JyL4S.js.map +1 -0
  186. package/dist/components/{p-DiPnUqQx.js → p-pEYsk7D-.js} +3 -3
  187. package/dist/components/{p-DiPnUqQx.js.map → p-pEYsk7D-.js.map} +1 -1
  188. package/dist/components/{p-DL5BPoYv.js → p-t7z4Xhda.js} +4 -4
  189. package/dist/components/{p-DL5BPoYv.js.map → p-t7z4Xhda.js.map} +1 -1
  190. package/dist/esm/{editorUtils-BZZzuy9j.js → editorUtils-DcBt3fOj.js} +3 -3
  191. package/dist/esm/{editorUtils-BZZzuy9j.js.map → editorUtils-DcBt3fOj.js.map} +1 -1
  192. package/dist/esm/{i18n-Dbp-hj8N.js → i18n-WVWIAGo_.js} +4 -2
  193. package/dist/esm/{i18n-Dbp-hj8N.js.map → i18n-WVWIAGo_.js.map} +1 -1
  194. package/dist/esm/loader.js +1 -1
  195. package/dist/esm/ls-add-new-button_20.entry.js +47 -38
  196. package/dist/esm/ls-assignee-select_21.entry.js +65 -27
  197. package/dist/esm/ls-compose-loader_7.entry.js +12 -12
  198. package/dist/esm/ls-compose-manager.entry.js +1 -1
  199. package/dist/esm/ls-document-viewer.entry.js +26 -7
  200. package/dist/esm/ls-document-viewer.entry.js.map +1 -1
  201. package/dist/esm/ls-document-viewer.js +1 -1
  202. package/dist/esm/ls-field-alignment_3.entry.js +3 -3
  203. package/dist/esm/ls-field-format_2.entry.js +1 -1
  204. package/dist/esm/ls-field-properties-dropdown.entry.js +3 -2
  205. package/dist/esm/ls-field-properties-dropdown.entry.js.map +1 -1
  206. package/dist/esm/ls-field-type-display.entry.js +1 -1
  207. package/dist/esm/ls-helper-bar_2.entry.js +1 -1
  208. package/dist/esm/{mouseHandlers-B8kiiTmD.js → mouseHandlers-CUHWhJed.js} +4 -4
  209. package/dist/esm/{mouseHandlers-B8kiiTmD.js.map → mouseHandlers-CUHWhJed.js.map} +1 -1
  210. package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
  211. package/dist/ls-document-viewer/p-3918ae76.entry.js +2 -0
  212. package/dist/ls-document-viewer/p-3918ae76.entry.js.map +1 -0
  213. package/dist/ls-document-viewer/{p-0643c987.entry.js → p-762b88d0.entry.js} +3 -3
  214. package/dist/ls-document-viewer/p-762b88d0.entry.js.map +1 -0
  215. package/dist/ls-document-viewer/p-7e6cb6c0.entry.js +2 -0
  216. package/dist/ls-document-viewer/p-7e6cb6c0.entry.js.map +1 -0
  217. package/dist/ls-document-viewer/{p-46e88f8f.entry.js → p-7f610d52.entry.js} +2 -2
  218. package/dist/ls-document-viewer/{p-BzuPIF0d.js → p-CEM1EUk-.js} +2 -2
  219. package/dist/ls-document-viewer/{p-BzuPIF0d.js.map → p-CEM1EUk-.js.map} +1 -1
  220. package/dist/ls-document-viewer/{p-CIrk12cz.js → p-ChvyHQhX.js} +2 -2
  221. package/dist/ls-document-viewer/{p-CIrk12cz.js.map → p-ChvyHQhX.js.map} +1 -1
  222. package/dist/ls-document-viewer/p-WVWIAGo_.js +2 -0
  223. package/dist/ls-document-viewer/{p-Dbp-hj8N.js.map → p-WVWIAGo_.js.map} +1 -1
  224. package/dist/ls-document-viewer/p-a27532c9.entry.js +2 -0
  225. package/dist/ls-document-viewer/p-a27532c9.entry.js.map +1 -0
  226. package/dist/ls-document-viewer/{p-78d72a41.entry.js → p-c47ad3e6.entry.js} +2 -2
  227. package/dist/ls-document-viewer/p-c56fd5ed.entry.js +2 -0
  228. package/dist/ls-document-viewer/p-c56fd5ed.entry.js.map +1 -0
  229. package/dist/ls-document-viewer/{p-e20e0bb4.entry.js → p-da9a034d.entry.js} +2 -2
  230. package/dist/ls-document-viewer/{p-04e5ab9a.entry.js → p-e3cf0df0.entry.js} +2 -2
  231. package/dist/ls-document-viewer/{p-b97e3ce3.entry.js → p-e4115319.entry.js} +2 -2
  232. package/dist/types/components/ls-editor-field/ls-editor-field.d.ts +1 -0
  233. package/dist/types/components/ls-field-content/ls-field-content.d.ts +2 -0
  234. package/dist/types/components/ls-field-properties/ls-field-properties.d.ts +1 -0
  235. package/dist/types/components/ls-field-properties-checkbox/ls-field-properties-checkbox.d.ts +1 -0
  236. package/dist/types/components/ls-field-properties-date/ls-field-properties-date.d.ts +1 -0
  237. package/dist/types/components/ls-field-properties-dropdown/ls-field-properties-dropdown.d.ts +1 -0
  238. package/dist/types/components/ls-field-properties-email/ls-field-properties-email.d.ts +1 -0
  239. package/dist/types/components/ls-field-properties-file/ls-field-properties-file.d.ts +1 -0
  240. package/dist/types/components/ls-field-properties-general/ls-field-properties-general.d.ts +1 -0
  241. package/dist/types/components/ls-field-properties-multiple/ls-field-properties-multiple.d.ts +1 -0
  242. package/dist/types/components/ls-field-properties-number/ls-field-properties-number.d.ts +1 -0
  243. package/dist/types/components/ls-field-properties-signature/ls-field-properties-signature.d.ts +1 -0
  244. package/dist/types/components/ls-field-properties-text/ls-field-properties-text.d.ts +1 -0
  245. package/dist/types/components/ls-field-type-select/ls-field-type-select.d.ts +2 -0
  246. package/dist/types/components/ls-statusbar/ls-statusbar.d.ts +1 -1
  247. package/dist/types/components.d.ts +106 -0
  248. package/package.json +1 -1
  249. package/dist/components/p-4KjU_xHn.js.map +0 -1
  250. package/dist/components/p-883oa-R7.js.map +0 -1
  251. package/dist/components/p-BJkRQ2hZ.js.map +0 -1
  252. package/dist/components/p-BZ9KFHC1.js.map +0 -1
  253. package/dist/components/p-BiQfNAXm.js.map +0 -1
  254. package/dist/components/p-Bxlq9ywP.js.map +0 -1
  255. package/dist/components/p-CBN6EOa6.js.map +0 -1
  256. package/dist/components/p-CKq4FH9m.js.map +0 -1
  257. package/dist/components/p-CLScwmO_.js.map +0 -1
  258. package/dist/components/p-CNxS5_JA.js.map +0 -1
  259. package/dist/components/p-ClKw7Zzi.js.map +0 -1
  260. package/dist/components/p-Cznb3nhw.js.map +0 -1
  261. package/dist/components/p-D1fggKxb.js.map +0 -1
  262. package/dist/components/p-D4VxGydf.js.map +0 -1
  263. package/dist/components/p-D9mePwWa.js.map +0 -1
  264. package/dist/components/p-M4AweDeo.js.map +0 -1
  265. package/dist/ls-document-viewer/p-0643c987.entry.js.map +0 -1
  266. package/dist/ls-document-viewer/p-281fcd37.entry.js +0 -2
  267. package/dist/ls-document-viewer/p-281fcd37.entry.js.map +0 -1
  268. package/dist/ls-document-viewer/p-6e6f2681.entry.js +0 -2
  269. package/dist/ls-document-viewer/p-6e6f2681.entry.js.map +0 -1
  270. package/dist/ls-document-viewer/p-7be7fad4.entry.js +0 -2
  271. package/dist/ls-document-viewer/p-7be7fad4.entry.js.map +0 -1
  272. package/dist/ls-document-viewer/p-8d6d8ce9.entry.js +0 -2
  273. package/dist/ls-document-viewer/p-8d6d8ce9.entry.js.map +0 -1
  274. package/dist/ls-document-viewer/p-Dbp-hj8N.js +0 -2
  275. /package/dist/ls-document-viewer/{p-46e88f8f.entry.js.map → p-7f610d52.entry.js.map} +0 -0
  276. /package/dist/ls-document-viewer/{p-78d72a41.entry.js.map → p-c47ad3e6.entry.js.map} +0 -0
  277. /package/dist/ls-document-viewer/{p-e20e0bb4.entry.js.map → p-da9a034d.entry.js.map} +0 -0
  278. /package/dist/ls-document-viewer/{p-04e5ab9a.entry.js.map → p-e3cf0df0.entry.js.map} +0 -0
  279. /package/dist/ls-document-viewer/{p-b97e3ce3.entry.js.map → p-e4115319.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,a as r,c as o,H as i}from"./p-CItPoq74.js";import{c as a}from"./p-ChV9xqsO.js";import{d}from"./p-Dbp-hj8N.js";import{g as l,a as n}from"./p-GlbzVGpj.js";import{h as s,i as c}from"./p-CIrk12cz.js";import{f}from"./p-Bo8LVmEA.js";import{d as p}from"./p-CwCWCxsI.js";import{F as h}from"./p-04cXI5GQ.js";import"./p-xqZBqrca.js";const b=()=>`\n.button {\n position: relative;\n display: flex;\n justify-content: center;\n width: 100%;\n align-items: center;\n gap: 0.5rem;\n text-transform: capitalize;\n transition: all 0.3s;\n padding: 0.5rem 0.375rem;\n border-radius: 0.5rem;\n text-decoration-line: none;\n background-color: var(--white);\n}\n\n.button.destructive {\n border: 2px dashed var(--red-20);\n color: var(--red-60);\n}\n\n.button:not(.destructive) {\n border: 2px dashed var(--gray-20);\n color: var(--gray-80);\n}\n\n.button:hover {\n\n cursor: pointer;\n}\n\n.button.destructive:hover:not(:disabled) {\n background-color: var(--red-10);\n color: var(--red-80);\n\n .icon {\n color: var(--red-80)\n }\n}\n\n\n.button:hover:not(:disabled):not(.destructive) {\n color: var(--primary-50);\n background-color: var(--primary-10);\n border-color: var(--primary-20);\n\n .icon {\n color: var(--primary-50);\n }\n}\n\n\n.button:focus {\n box-shadow: var(--focus-box-shadow);\n outline-offset: var(--focus-outline-offset);\n outline: none;\n}\n\n.button:disabled {\n background-color: var(--gray-10);\n color: var(--gray-50);\n border-color: var(--gray-20);\n cursor: not-allowed;\n}\n\n.button:not(:disabled):not(.destructive) {\n .icon {\n color: var(--gray-80);\n }\n}\n\n.button.destructive:not(:disabled) {\n .icon {\n color: var(--red-60);\n }\n}`;var v=undefined&&undefined.__rest||function(e,t){var r={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0)r[o]=e[o];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++){if(t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i]))r[o[i]]=e[o[i]]}return r};const u=class{constructor(t){e(this,t);this.text="";this.loading=false;this.disabled=false;this.destructive=false}render(){const e=this,{text:r,icon:o,loading:i,disabled:d,destructive:l,customStyle:n}=e,s=v(e,["text","icon","loading","disabled","destructive","customStyle"]);const c=a("button",d&&"disabled",l&&"destructive");return t("host",{key:"2a7c7aac19eaf12a3a6f086c98742f9b8060d38e"},t("button",Object.assign({key:"bc2b817560e0b0c299a72bf22ef6b07e10da94e2",type:"button",disabled:d||i,class:c,style:n},s),o&&!i&&t("ls-icon",{key:"b680fed0f0622a91d894aaea7871bff8911655a1",name:o,solid:false,size:20,class:"icon"}),i&&t("div",{key:"05fecd907228278d9f1fbc2f5dc3c56c204e0afc"},t("ls-loading",{key:"aa871b1ed5becd6fb1e4eedd335647951f4dcbab",iconSize:20})),r&&!i&&t("span",{key:"ff60357b611378d8481c7f76de4013b999658b7a",class:"text"},r),i&&t("span",{key:"554b44264128c84f94649efe888a3769d3f977dd",class:"text"},"loading...")))}get el(){return r(this)}};u.style=b();const m=()=>`*{box-sizing:border-box;margin:0;padding:0}:host{display:block}.ls-dv-editor-infobox{padding:0.125rem 0.5rem 0.125rem 0.5rem}.ls-dv-toolbox-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;}.ls-dv-toolbox-section-description{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-template-details{display:flex;flex-direction:column;gap:0.75rem}.ls-dv-template-detail-section{position:relative;display:flex;padding:0.75rem;align-items:center;gap:0.5rem;border-radius:1rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff)}.ls-dv-template-detail-section-title{color:var(--gray-80, #6f7176);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;width:100%}.ls-dv-template-detail-section-info{color:var(--gray-70, #939599);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;width:100%}.ls-dv-template-title{border-radius:0.625rem;padding:0.25rem;color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem;cursor:pointer;width:100%;margin-top:-0.125rem}.ls-dv-template-title:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-column{display:flex;flex-direction:column;align-items:flex-start}.ls-dv-edit-button{position:absolute;top:0.75rem;right:0.75rem;margin:0px;padding:0px;max-height:1.25rem !important;max-width:1.25rem !important;background-color:transparent;border:none;cursor:pointer;color:var(--gray-70, #939599)}.ls-dv-edit-button:hover{color:var(--gray-80, #6f7176)}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const g=class{constructor(t){e(this,t);this.mutate=o(this,"mutate",7);this.update=o(this,"update",7)}get component(){return r(this)}template;editTitle=false;selectedHandler(e,t){console.log(e,"document manager")}mutate;update;alter(e){this.debounce(e,500)}titletimer;debounce(e,t){if(this.titletimer)clearTimeout(this.titletimer);this.titletimer=setTimeout((()=>{this.template={...this.template,...e};const t=[{action:"update",data:this.template}];this.mutate.emit(t)}),t)}componentDidLoad(){}render(){function e(e){if(!e)return"-";const t=new Date(e);if(isNaN(t.getTime()))return"-";const r=String(t.getDate()).padStart(2,"0");const o=String(t.getMonth()+1).padStart(2,"0");const i=t.getFullYear();const a=String(t.getHours()).padStart(2,"0");const d=String(t.getMinutes()).padStart(2,"0");return`${r}/${o}/${i} at ${a}:${d}`}return t(i,null,t("div",{class:"ls-dv-editor-infobox"},t("h2",{class:"ls-dv-toolbox-section-title"},d.t("documentoptions.title")),t("p",{class:"ls-dv-toolbox-section-description"},d.t("documentoptions.description"))),t("div",{class:"ls-dv-template-details"},t("div",{class:"ls-dv-template-detail-section ls-dv-column"},t("p",{class:"ls-dv-template-detail-section-title"},d.t("documentoptions.name")),t("div",{class:"ls-dv-edit-button",onClick:()=>{this.editTitle=!this.editTitle}},t("ls-icon",{name:this.editTitle?"check-icon":"pencil-alt-icon",size:20,id:"edit-name-btn","data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":this.editTitle?d.t("common.save"):d.t("documentoptions.editname")})),this.editTitle?t("input",{value:this.template?.title,style:{width:"100%"},onInput:e=>{e.preventDefault();this.alter({title:e.target.value})},onKeyUp:e=>{if(e.key==="Enter"||e.keyCode===13)this.editTitle=false}}):t("div",{class:"ls-dv-template-title",onClick:()=>{this.editTitle=!this.editTitle}},t("p",null,this.template?.title))),t("div",{class:"ls-dv-template-detail-section"},t("div",null,t("p",{class:"ls-dv-template-detail-section-title"},d.t("documentoptions.autoarchive")),t("p",{class:"ls-dv-template-detail-section-info"},d.t("documentoptions.autoarchivedescription"))),t("ls-toggle",{checked:this.template?.autoArchive,onValueChange:e=>{this.alter({autoArchive:e.detail})}})),t("div",{class:"ls-dv-template-detail-section"},t("div",null,t("p",{class:"ls-dv-template-detail-section-title"},d.t("documentoptions.locktemplate")),t("p",{class:"ls-dv-template-detail-section-info"},d.t("documentoptions.locktemplatedescription"))),t("ls-toggle",{checked:this.template?.locked,onValueChange:e=>{this.alter({locked:e.detail})}})),t("div",{class:"ls-dv-template-detail-section"},t("div",null,t("p",{class:"ls-dv-template-detail-section-title","tooltip-data":"Fixes the aspect ratio of all signatures on the document. This allows Participants to re-use the same signature throughout the signing process. If this setting is turned on after several signature fields have been placed, fields will automatically re-size to match the aspect ratio of the first signature on the Template."},d.t("documentoptions.fixedsignatureaspect")),t("p",{class:"ls-dv-template-detail-section-info"},d.t("documentoptions.fixedsignatureaspectdescription"))),t("ls-toggle",{checked:this.template?.fixSignatureScale,onValueChange:e=>{this.alter({fixSignatureScale:e.detail})}})),t("div",{class:"ls-dv-template-detail-section ls-dv-column"},t("p",{class:"ls-dv-template-detail-section-title"},d.t("documentoptions.documentretention")),t("p",null,t("input",{value:this.template?.documentRetentionDays,style:{width:"100%"},type:"number",onInput:e=>{e.preventDefault();this.alter({documentRetentionDays:e.target.value})}}))),t("div",{class:"ls-dv-template-detail-section ls-dv-column"},t("p",{class:"ls-dv-template-detail-section-title"},d.t("documentoptions.pages")),t("p",null,this.template?.pageCount)),t("div",{class:"ls-dv-template-detail-section ls-dv-column"},t("p",{class:"ls-dv-template-detail-section-title"},d.t("documentoptions.datecreated"))," ",t("p",null,e(this.template?.created))),t("div",{class:"ls-dv-template-detail-section ls-dv-column"},t("p",{class:"ls-dv-template-detail-section-title"},d.t("documentoptions.createdby"))," ",t("p",null,this.template?.createdBy))),t("slot",null),t("ls-tooltip",{tooltipId:"ls-dv-tooltip"}))}static get watchers(){return{template:["selectedHandler"]}}};g.style=m();const y=()=>`:host{display:flex;flex-direction:column;gap:0.75rem;padding:0.25rem}.ls-dv-active-icon,.ls-dv-default-icon{padding:0.75rem;border-radius:1rem;color:var(--gray-80, #6f7176)}.ls-dv-default-icon:hover{background-color:var(--primary-10, #eff4ff);color:var(--primary-100, #0c1457);cursor:pointer}.ls-dv-active-icon{background-color:var(--primary-60, #4456f6);color:var(--white, #ffffff)}.ls-dv-hidden{display:none}`;const x=class{constructor(t){e(this,t);this.manage=o(this,"manage",7)}get component(){return r(this)}manager="toolbox";mode="editor";manage;componentDidLoad(){}render(){return t(i,{key:"6ef37aa5152b6022585d413d0b2c8fc290458572"},t("div",{key:"3cf0178d962eeabe034019bbe01c29e0386e00bc",class:this.mode!=="editor"?"ls-dv-hidden":this.manager==="document"?"ls-dv-active-icon":"ls-dv-default-icon",onClick:()=>{this.manage.emit("document");this.manager="document"},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<strong>${d.t("featurecolumn.templatedetails")}</strong><br/>${d.t("featurecolumn.templatedetailstooltip")}`,"data-tooltip-place":"right"},t("ls-icon",{key:"5d6270b494b656c3ace8ae528c8d1b8caf43a7a8",name:"document-icon",size:24})),t("div",{key:"b854bb095216c5c5d1c5554063650efa8c01df11",class:this.manager==="toolbox"?"ls-dv-active-icon":"ls-dv-default-icon",onClick:()=>{this.manage.emit("toolbox");this.manager="toolbox"},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<strong>${d.t("featurecolumn.fieldtypes")}</strong><br/>${d.t("featurecolumn.fieldtypestooltip")}`,"data-tooltip-place":"right"},t("ls-icon",{key:"8fedb022867534533cd5b8b980015c8250ce195d",name:"typing-input-icon",size:24})),t("div",{key:"3106eade5e23c6f8cd80954e0c1fc84c24db706a",class:this.mode!=="editor"?"ls-dv-hidden":this.manager==="participant"?"ls-dv-active-icon":"ls-dv-default-icon",onClick:()=>{this.manage.emit("participant");this.manager="participant"},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<strong>${d.t("featurecolumn.participants")}</strong><br/>${d.t("featurecolumn.participantstooltip")}`,"data-tooltip-place":"right"},t("ls-icon",{key:"c002e209e7fdf055acf15b8fd26519266f90706e",name:"user-group-icon",size:24})),t("div",{key:"6455070b91d1688f34d1131e9ded75c5752bc7e3",class:this.mode!=="compose"?"ls-dv-hidden":this.manager==="recipient"?"ls-dv-active-icon":"ls-dv-default-icon",onClick:()=>{this.manage.emit("recipient");this.manager="recipient"},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<strong>${d.t("featurecolumn.recipients")}</strong><br/>${d.t("featurecolumn.recipientstooltip")}`,"data-tooltip-place":"right"},t("ls-icon",{key:"2d386918e718d1a353d5ff5e76282fd8744b5237",name:"user-group-icon",size:24})),t("div",{key:"72d6ae6544315bbaa36d85a332b274557d5e354f",class:this.mode!=="preview"?"ls-dv-hidden":this.manager==="validation"?"ls-dv-active-icon":"ls-dv-default-icon",onClick:()=>{this.manage.emit("validation");this.manager="validation"},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<strong>${d.t("featurecolumn.validation")}</strong><br/>${d.t("featurecolumn.validationtooltip")}`,"data-tooltip-place":"right"},t("ls-icon",{key:"1ded52724186ab8223d36b7cb294fb2aca5d7ea5",name:"adjustments-icon",size:24})),t("slot",{key:"a57516cc652c8f3cd847f3740bc97bdcae4a2302"}),t("ls-tooltip",{key:"e8dce82d5c4111718e655b1bc8e324916f64db1a",tooltipId:"ls-dv-tooltip"}))}};x.style=y();const k=()=>`:host{display:block;width:100%;padding:1rem}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const w=class{constructor(t){e(this,t)}dataItem;template;readonly=false;renderFields(){if(this.dataItem&&this.dataItem?.length===1){const e=this.template?.roles||[];switch(this.dataItem[0].formElementType){case"signature":return t("ls-field-properties-signature",{dataItem:this.dataItem[0],template:this.template,readonly:this.readonly,roles:e});case"date":return t("ls-field-properties-date",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});case"signing date":return t("ls-field-properties-date",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});case"text":return t("ls-field-properties-text",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});case"number":return t("ls-field-properties-number",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});case"autosign":return t("ls-field-properties-autosign",{dataItem:this.dataItem[0],readonly:this.readonly});case"email":return t("ls-field-properties-email",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});case"file":return t("ls-field-properties-file",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});case"dropdown":return t("ls-field-properties-file",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});case"checkbox":return t("ls-field-properties-checkbox",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e});default:return t("ls-field-properties-general",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e})}}else if(this.dataItem&&this.dataItem?.length>1)return t("ls-field-properties-multiple",{dataItem:this.dataItem,readonly:this.readonly,roles:this.template?.roles||[]})}handleKeyDown=e=>{e.stopPropagation()};handleKeyUp=e=>{e.stopPropagation()};render(){return t(i,{key:"b0b89acc453e22cfa282bb9837568d07f46be1f6",onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},this.dataItem&&this.renderFields(),t("slot",{key:"d9f359214a7301e34a92f748b0a713a16d081298"}))}};w.style=k();const z=()=>`:host{display:block}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const I=class{constructor(t){e(this,t)}dataItem;readonly=false;render(){return t(i,{key:"641cc1dd7678b3840eb18124846ea72d09a059f1"},t("div",{key:"2582043034afb2386703cb0a0fac7f36fff46261",class:"ls-dv-field-properties-section"},"Self Sign Field"),t("div",{key:"de6ccb8911b084b0060f92a26393951aee48216e"},"Label: ",t("input",{key:"ba30f2730593784eddfb1a70d2e01987a1eca4c2",value:this.dataItem?.label,width:"30"})),t("ls-field-dimensions",{key:"1b8242eb5a5b1b5d9bafc6fd7e6a30470917b839",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"e961e2ae70a351463a423ab7d4ec6e1a02bcfb1d",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-footer",{key:"b80f3f6d7d0d1968b5abb8b695749dd6ee28bbf4",dataItem:this.dataItem,readonly:this.readonly}),t("slot",{key:"659818f18eadaf67cb914ce7ab377045088a43f0"}))}};I.style=z();const S=()=>`:host{display:block}*{box-sizing:border-box;margin:0}.ls-dv-checkbox-toggle{display:flex;gap:0.5rem;background:var(--gray-10, #f7f8fa);padding:0.25rem;border-radius:0.75rem}.ls-dv-checkbox-toggle-btn{flex:1;padding:0.25rem;border-radius:0.5rem;display:flex;justify-content:center;align-items:center;font-size:0.875rem;color:var(--gray-80, #6f7176);text-transform:capitalize;cursor:pointer;border:none;background:transparent;transition:background 0.15s, box-shadow 0.15s}.ls-dv-checkbox-toggle-btn:focus-visible{outline:2px solid var(--gray-40, #d8d9dc);outline-offset:2px}.ls-dv-checkbox-toggle-btn.ls-dv-active{background:white;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05)}.ls-dv-checkbox-toggle-btn:disabled{cursor:default;opacity:0.5}`;const T=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;handleChildMutate(e){const t=e.detail?.[0];if(t?.action==="update"&&t.data){this.dataItem=t.data}}get el(){return r(this)}render(){return t(i,{key:"9e44233a4abaf321e731628f7c921006ba2231d8"},t("ls-field-properties-container",{key:"1ee10bfe21b53e4619a65bab6dd4601a1629306d",tabs:["content","placement","dimensions"]},t("div",{key:"93dad0b07d94f8949682c47bc49530e81cf7b5a4",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"82ce0d41e856070e5aebd59826852611fdf45fa6",dataItem:this.dataItem,roles:this.roles,showValidationTypes:true,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"3ac7a9cd1238ea715518ab74d7ffa731a6285473",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"92a985c8190ff5c5269651fdac145fe0e9194341",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"aa9b7bd1398b82f1fc73be0065493eb4c9d918a3",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"c8e773af0bb136b16de9eae037b5cac5227aed14",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"f43b7abf633fdbfccddf21a3b2579e6eb53928a4",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"cff1d6fce61ecff715215dc843796ecb24a0e922",dataItem:this.dataItem,readonly:this.readonly}))}};T.style=S();const j=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const C=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;render(){return t(i,{key:"e61351642fcdbf459521474addf3d1c9fc1bc957"},t("ls-field-properties-container",{key:"4c3e177015f1ff6f49e2e53ca6f46f046f69d5cf",tabs:["content","placement","dimensions"]},t("div",{key:"aa5f876e65d0094b5ef89f6cf41d3719d408281a",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"6db302195d8829ef8f35a8c77ef00e4dd4d8c0ce",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"02bb9daf6f0d98c091e48f3e2eda57aba010793f",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"667d8e3ba20d8e3c89fc9020bac6606fed4bbf7a",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"c9943df8fdf39d64b34e7050bcee2ad53d21ec9f",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"f37f079fe060a3a6be2aae8be5631404c5ee2b49",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"d7c6151b44937bc178c47217c915243435ad23d0",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"f0ff03b2ae936e20c36745e0ca54b39f77bc9725",dataItem:this.dataItem,readonly:this.readonly}))}};C.style=j();const E=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const $=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;render(){return t(i,{key:"b0408e4d13cbaac8491bae6dea42d2d15e7d373e"},t("ls-field-properties-container",{key:"2a7fe530df5fd06b61ad0733ecc5d83bfea325c7",tabs:["content","placement","dimensions"]},t("div",{key:"5b99af9d32e18d40c9ff224a2646d1f2903ba31a",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"94980046aa83b2aa4fc8585ccd8d21c533e142bd",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"c65d2a9a27d1495ccb3d66b9b620f5e3a9f195cc",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"e121f55db5ffc20feb86ab40ec3615527ebfb261",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"7dbecee20336e9fa2bc4de2d16e201ef63819c30",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"4708308fa18d5c0344dd07a4b6cbf78e556334ae",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"855824921e3ed423e5aca5065fc0edb81c3f64df",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"e4f1454be8b9e97e84f136278b26a6ee0f595556",dataItem:this.dataItem,readonly:this.readonly}))}};$.style=E();const _=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const R=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;render(){return t(i,{key:"ab0b6ced60036b32e9a5027974ed756b13fdf904"},t("ls-field-properties-container",{key:"5c021cfec6ed1d052f3b027d18a1c81cc0a6f6e4",tabs:["content","placement","dimensions"]},t("div",{key:"ad274fb15c423969233a1801d3f15bd5db523bde",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"7c76f0fad62beb869fa05ee062fced11e3da691e",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"8049d530ec44df7a896f145441e01e908b34a557",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"086f68431dd3e648ba8a4b4bc20269e3aebd6cdd",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"0143dd679ff2775a8f7541e22a0f4c47d51294e3",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"3c780f3ea4b6f4cd9bb9bb936b28f14d2e4bcd67",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"1755163b10e16f16249f51d08126da932f642ba3",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"64182e4ffeb780cbe749b0a1995dd12cc733b353",dataItem:this.dataItem,readonly:this.readonly}))}};R.style=_();const W=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const q=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;render(){return t(i,{key:"9190845c512c0a86c637b36f629250b9367797f0"},t("ls-field-properties-container",{key:"248100e296bf44b4c2865f2e1306b15389d4661c",tabs:["content","placement","dimensions"]},t("div",{key:"28cc12f82845da0e46f72867cffba61d2815b0e0",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"0949141174d0b1818b29f453e0d5bf0be13896a0",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"532628012bfcad35a89fd0d6b58d31baa3251065",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"f9d83e55e8bb2436689aa774c45ae41b14172f54",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"546c287b29b8c1b5d7281b27db8df09216f829b7",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"ad3163bb3ae27c233779aa75f38788f31644ee29",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"32352a0b668c764bc81d8940378c22776e09a31b",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"ab7d4eb83d246a09f0fd15ca5589c0a7ef990069",dataItem:this.dataItem,readonly:this.readonly}))}};q.style=W();const P=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-properties-container{display:flex;flex-direction:column;height:100%}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}.ls-dv-field-properties-section{display:flex;position:relative;flex-direction:column;gap:0.5rem}.ls-dv-row{flex-direction:row;align-items:center;justify-content:space-between}.ls-dv-field-properties-section-text{display:flex;flex-direction:column;gap:0.25rem;padding:0.25rem}.ls-dv-field-properties-section-title{color:var(--gray-90, #5e6066);font-size:1rem;font-style:normal;font-weight:500;line-height:1.25rem;}.ls-dv-field-properties-section-description{overflow:hidden;color:var(--gray-80, #6f7176);text-overflow:ellipsis;font-size:0.75rem;font-style:normal;font-weight:400;line-height:0.75rem;}.ls-dv-field-type-wrapper{position:relative;border-radius:0.875rem;padding:0.25rem}.ls-dv-field-type-inner{border-radius:0.625rem;background:var(--white, #ffffff);display:flex;padding:0.25rem 0.5rem 0.25rem 0.25rem;align-items:center;gap:0.875rem;align-self:stretch}.ls-dv-field-type-icon{display:flex;padding:0.5rem;align-items:center;border-radius:0.625rem;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}.ls-dv-field-type-name{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;text-transform:capitalize}.ls-dv-tabs-container{display:grid;grid-template-columns:repeat(3, 1fr);width:100%;gap:0.125rem;padding:0.125rem;border:1px solid var(--gray-30, #e0e2e5);border-radius:0.75rem;background:var(--white, #ffffff)}.ls-dv-tab{all:unset;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:0.5rem;border-radius:0.625rem;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;color:var(--gray-80, #6f7176)}.ls-dv-tab.ls-dv-active{background:var(--primary-10, #eff4ff);color:var(--primary-60, #4456f6)}.ls-dv-tab:not(.ls-dv-active):hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-footer{display:flex;padding-top:1rem;border-top:1px solid var(--gray-20, #edeff2);flex-direction:column;justify-content:flex-end;gap:0.75rem;margin-top:auto}.ls-dv-scrolling-container{overflow-y:auto;padding:0 1rem;margin:0 -1rem;height:calc(100% - 10.938rem)}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-input-wrapper{position:relative}.ls-dv-full-width{width:100%}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}.ls-dv-input-error{border-color:var(--red-60, #f64a44)}.ls-dv-input-error:focus{box-shadow:0 0 0 0.25rem var(--red-20, #ffe1e0);border-color:var(--red-60, #f64a44)}.ls-dv-error-text{color:var(--red-60, #f64a44);font-size:var(--text-xs);margin-top:0.25rem}.ls-dv-checkbox-toggle{display:flex;gap:0.5rem;background:var(--gray-10, #f7f8fa);padding:0.25rem;border-radius:0.75rem}.ls-dv-checkbox-toggle-btn{flex:1;padding:0.25rem;border-radius:0.5rem;display:flex;justify-content:center;align-items:center;font-size:0.875rem;color:var(--gray-80, #6f7176);text-transform:capitalize;cursor:pointer;border:none;background:transparent;transition:background 0.15s, box-shadow 0.15s}.ls-dv-checkbox-toggle-btn:focus-visible{outline:2px solid var(--gray-40, #d8d9dc);outline-offset:2px}.ls-dv-checkbox-toggle-btn.ls-dv-active{background:white;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05)}.ls-dv-checkbox-toggle-btn:disabled{cursor:default;opacity:0.5}.ls-dv-mixed-hint{color:var(--gray-60, #afb0b2);font-size:var(--text-xs);font-style:italic}`;const D=class{constructor(t){e(this,t);this.mutate=o(this,"mutate",7);this.update=o(this,"update",7)}dataItem;roles=[];readonly=false;valueError=null;validateOnChange(){if(this.allFieldTypesSame().isSame&&this.supportsValue()&&this.allValuesSame().isSame){this.valueError=s(this.allFieldTypesSame().fieldType,this.allValidationsSame().validation,this.allValuesSame().value,this.dataItem[0]?.options)}else{this.valueError=null}}componentWillLoad(){this.validateOnChange()}mutate;update;alter(e){this.dataItem=this.dataItem.map((t=>({...t,...e})));const t=this.dataItem.map((e=>({action:"update",data:e})));this.update.emit(t);this.debounce(e,1500)}alterImmediate(e){this.dataItem=this.dataItem.map((t=>({...t,...e})));if(this.labeltimer){clearTimeout(this.labeltimer);this.labeltimer=null}const t=this.dataItem.map((e=>({action:"update",data:e})));this.mutate.emit(t);this.update.emit(t)}labeltimer;debounce(e,t){if(this.labeltimer)clearTimeout(this.labeltimer);this.labeltimer=setTimeout((()=>{const t=this.dataItem.map((t=>({action:"update",data:{...t,...e}})));this.mutate.emit(t);this.update.emit(t)}),t)}allSignersSame=()=>{if(!this.dataItem||this.dataItem.length===0)return{isSame:true,signer:undefined};const e=this.dataItem[0].signer;const t=this.dataItem.every((t=>t.signer===e));return{isSame:t,signer:t?e:13}};allLabelsSame=()=>{if(!this.dataItem||this.dataItem.length===0)return{isSame:true,label:undefined};const e=this.dataItem[0].label;const t=this.dataItem.every((t=>t.label===e));return{isSame:t,label:t?e:undefined}};allElementsSame=()=>{if(!this.dataItem||this.dataItem.length===0)return{isSame:true,elementType:"mixed"};const e=this.dataItem[0].elementType;const t=this.dataItem.every((t=>t.elementType===e));return{isSame:t,elementType:t?e:"mixed"}};allFieldTypesSame=()=>{if(!this.dataItem||this.dataItem.length===0)return{isSame:true,fieldType:"text"};const e=this.dataItem[0].formElementType;const t=this.dataItem.every((t=>t.formElementType===e));return{isSame:t,fieldType:t?e:"mixed"}};allValuesSame=()=>{if(!this.dataItem||this.dataItem.length===0)return{isSame:true,value:""};const e=this.dataItem[0].value||"";const t=this.dataItem.every((t=>(t.value||"")===e));return{isSame:t,value:t?e:""}};supportsValue=()=>{const e=["signature","initials","file","signing","autosign","signing date","auto sign","dropdown","checkbox","drawn field","date"];const t=this.allFieldTypesSame().fieldType;return!e.includes(t)};isAllCheckboxes=()=>this.allFieldTypesSame().isSame&&this.allFieldTypesSame().fieldType==="checkbox";getCheckboxStates(){if(!this.dataItem||this.dataItem.length===0)return[];const e=c.find((e=>e.id===this.dataItem[0].validation));if(!e)return[];return e.description.split("/").reverse()}isDateType=()=>this.allFieldTypesSame().fieldType==="date";allValidationsSame=()=>{if(!this.dataItem||this.dataItem.length===0)return{isSame:true,validation:0};const e=this.dataItem[0].validation;const t=this.dataItem.every((t=>t.validation===e));return{isSame:t,validation:t?e:null}};showContentFormat=()=>{const e=this.allFieldTypesSame().fieldType;const t=["drawn field","regular expression","initials","signature","mixed"];return this.allFieldTypesSame().isSame&&!t.includes(e)};getDateFormatById(e){const t=c.find((t=>t.id===e));if(!t||t.inputType!=="date")return null;return t.description}convertDateValue(e,t,r){if(!e)return"";const o=this.getDateFormatById(t);const i=this.getDateFormatById(r);if(!o||!i)return e;const a=o.match(/[/.-]/)?.[0]||"/";const d=o.split(/[/.-]/);const l=e.split(a);if(l.length<2)return e;let n="",s="",c="";d.forEach(((e,t)=>{const r=l[t]||"";if(e.startsWith("y"))n=r;else if(e.startsWith("m"))s=r;else if(e.startsWith("d"))c=r}));if(n.length===2)n="20"+n;if(!c)c="01";return i.replace("yyyy",n.padStart(4,"0")).replace("yy",n.slice(-2)).replace("mm",s.padStart(2,"0")).replace("dd",c.padStart(2,"0")).replace("d",String(parseInt(c)))}formatISOToValidation(e,t){if(!e)return"";const[r,o,i]=e.split("-");const a=this.getDateFormatById(t);if(!a)return e;return a.replace("yyyy",r).replace("yy",r.slice(-2)).replace("mm",o).replace("dd",i).replace("d",String(parseInt(i)))}toISODate(e,t){if(!e)return"";const r=this.getDateFormatById(t);if(!r)return e;const o=r.match(/[/.-]/)?.[0]||"/";const i=r.split(/[/.-]/);const a=e.split(o);if(a.length<2)return e;let d="",l="",n="";i.forEach(((e,t)=>{const r=a[t]||"";if(e.startsWith("y"))d=r;else if(e.startsWith("m"))l=r;else if(e.startsWith("d"))n=r}));if(d.length===2)d="20"+d;if(!n)n="01";return`${d.padStart(4,"0")}-${l.padStart(2,"0")}-${n.padStart(2,"0")}`}handleFormatChange(e){if(this.isDateType()){this.dataItem=this.dataItem.map((t=>({...t,validation:e,value:this.convertDateValue(t.value||"",t.validation,e)})))}else{this.dataItem=this.dataItem.map((t=>({...t,validation:e})))}if(this.labeltimer){clearTimeout(this.labeltimer);this.labeltimer=null}const t=this.dataItem.map((e=>({action:"update",data:e})));this.mutate.emit(t);this.update.emit(t)}allFieldsOptional=()=>{if(!this.dataItem||this.dataItem.length===0)return{isSame:true,optional:false};const e=this.dataItem[0].optional;const t=this.dataItem.every((t=>t.optional===e));return{isSame:t,optional:t?e:false}};hasSignatureType(){return this.dataItem?.some((e=>e.formElementType==="signature"||e.formElementType==="auto sign"))}getAllRoleTypes(){const e=new Set;for(const t of this.dataItem||[]){if(t.signer===0){e.add("SENDER")}else{const r=this.roles?.find((e=>e.signerIndex===t.signer));e.add(r?.roleType||"SIGNER")}}return[...e]}handleFieldTypeChange(e){const t=l(e);const r=["signature","initials","file","signing date","auto sign","date","dropdown","checkbox","drawn field"];const o=["date","signing date"];this.dataItem=this.dataItem.map((i=>{const a=i.formElementType;const d=r.includes(e)||o.includes(a);const l=i.signer===0;let n;if(l){n="admin"}else if(e==="signature"){n="signature"}else if(e==="initials"){n="initials"}else{n="text"}return{...i,formElementType:e,elementType:n,validation:t,...d?{value:""}:{}}}));if(this.labeltimer)clearTimeout(this.labeltimer);const i=this.dataItem.map((e=>({action:"update",data:e})));this.mutate.emit(i);this.update.emit(i)}getSenderDisabledReason(){const e=["signing date","regular expression","image","file","drawn","drawn field"];const t={"signing date":d.t("toolbox.signingdate"),regex:d.t("toolbox.regex"),"regular expression":d.t("toolbox.regex"),image:d.t("toolbox.image"),file:d.t("toolbox.file"),drawn:d.t("toolbox.drawn"),"drawn field":d.t("toolbox.drawn")};const r=[...new Set(this.dataItem?.filter((t=>e.includes(t.formElementType))).map((e=>t[e.formElementType]||e.formElementType)))];if(r.length===0)return"";const o=r.length===1?r[0]:r.slice(0,-1).join(", ")+" and "+r[r.length-1];return d.t("fieldproperties.cannotreassignsender",{fieldTypes:o})}handleReassign(e){this.dataItem=this.dataItem.map((t=>{const r=t.formElementType;if(r==="auto sign"&&e!==0){return{...t,signer:e,formElementType:"signature",elementType:"signature",validation:0}}if(r==="signature"&&e===0){return{...t,signer:e,formElementType:"auto sign",elementType:"admin",validation:3e3}}if(e===0){return{...t,signer:e,elementType:"admin"}}if(t.signer===0){const o=r==="initials"?"initials":"text";return{...t,signer:e,elementType:o}}return{...t,signer:e}}));if(this.labeltimer)clearTimeout(this.labeltimer);this.labeltimer=setTimeout((()=>{const e=this.dataItem.map((e=>({action:"update",data:e})));this.mutate.emit(e);this.update.emit(e)}),500)}render(){return t(i,{key:"e02b0f5b53951969aa3b4025c98a2eedd8fcfec9"},t("ls-field-properties-container",{key:"643f8b21ebd557c4f730adb8a7eacb812458844c",tabs:["content","placement","dimensions"]},t("div",{key:"4763ca3baafe900dc8a0bd35643a4a6cd9966d58",class:"ls-dv-field-set",slot:"content"},this.roles?.length>0&&t("div",{key:"4146f791fb9141ae89447287772e1e2349cf0df2",class:"ls-dv-field-properties-section"},t("div",{key:"43f5a7860cda0f6b65f644303107924c8e518a39",class:"ls-dv-field-properties-section-text"},t("p",{key:"818a76fc3af8e95e67caeadf8da30357ca6e271b",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.assignee")),t("p",{key:"0b62fe0225e152f5d587dc1fc56583b7c624430a",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.assigneedescription"))),t("ls-assignee-select",{key:"7e93fbeb618cd4815d47f3cf0a7679bb34ec4c2f",signer:this.allSignersSame().signer,roles:this.roles,disabled:this.readonly,disabledSenderReason:this.getSenderDisabledReason(),disabledApproverReason:this.hasSignatureType()?d.t("fieldproperties.signaturecannotapprover"):"",mixed:!this.allSignersSame().isSame,onAssigneeChange:e=>this.handleReassign(e.detail)})),t("div",{key:"cf62f3da755b60a1697fa494c8d3cad57d168db6",class:"ls-dv-field-properties-section"},t("div",{key:"085d13019df5f46dd1261052163505d9ad2f14a4",class:"ls-dv-field-properties-section-text"},t("p",{key:"4685dbc15017e9a79b069345964740ff4991779b",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.fieldtype")),t("p",{key:"2d6d7ee8c7d4652deb0f4fe0873c953be3f11ec7",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.fieldtypedescriptionmultiple"))),t("ls-field-type-select",{key:"cadfb1aa9a62b1ecf8cb252c76ea659e9cc8b14a",fieldType:this.allFieldTypesSame().fieldType,assignee:this.allSignersSame().signer,roles:this.roles,roleTypes:this.getAllRoleTypes(),disabled:this.readonly,mixed:!this.allFieldTypesSame().isSame,onFieldTypeChange:e=>this.handleFieldTypeChange(e.detail)})),t("div",{key:"19701245408591a889b5d0271b40f8f53d342364",class:"ls-dv-field-properties-section ls-dv-row"},t("div",{key:"3a70ca6f0d56ee070db7e67c6efd58150ae041bd",class:"ls-dv-field-properties-section-text"},t("p",{key:"6f4124207dfc27d83c60bc7aec2393b6ad35dae1",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.requiredfield")),t("p",{key:"550b19ce460fde154c3c0609a513a0790fe427af",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.requiredfielddescription"))),t("ls-toggle",{key:"df9d8ce03fd2517ab40f3f3603e9c80dbd94cdfa",onValueChange:e=>!this.readonly&&this.alterImmediate({optional:!e.detail}),checked:!this.allFieldsOptional().optional,indeterminate:this.allFieldsOptional().isSame===false})),t("div",{key:"8711ced1bde564bc2e46330f07ab4f482a605c02",class:"ls-dv-field-properties-section"},t("div",{key:"bcac38c59b8d851ff4b67cb97259db0e21ec289e",class:"ls-dv-field-properties-section-text"},t("p",{key:"23cd1788e63259a55a3c7a34f0d88377dae0d49a",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.fieldlabel")),t("p",{key:"e4669b9c21df195ae803b6205ab188098ec63f0d",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.fieldlabeldescription"))),t("ls-formfield",{key:"0fa20ff1de1206c0e7cfe4aad43e917735e09cab",as:"text",name:"field-label",value:this.allLabelsSame().label,placeholder:this.allLabelsSame().isSame?d.t("fieldproperties.placeholdersignhere"):d.t("fieldproperties.mixed"),disabled:this.readonly,onTextChange:e=>this.alter({label:e.detail.value})})),this.allFieldTypesSame().isSame&&this.supportsValue()&&t("div",{key:"18e699c67046f54d895168a88e1dfdc32d500b47",class:"ls-dv-field-properties-section"},t("div",{key:"d2ef4012e05c80e20b9c98c7d360dfe733eb6f1a",class:"ls-dv-field-properties-section-text"},t("p",{key:"328411303841812ce112389cf54cd80a2fb716e6",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.value")),t("p",{key:"221a29cce0aeefa19bfb5e9da6d8c921aaf9c799",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.valuedescription"))),t("ls-formfield",{key:"d6066d5bc050e0b1e8affb1d78f30beae49c9712",as:"text",name:"field-value",value:this.allValuesSame().value,placeholder:this.allValuesSame().isSame?n(this.allFieldTypesSame().fieldType):d.t("fieldproperties.mixed"),valid:!this.valueError,dirty:!!this.allValuesSame().value,errorText:this.valueError,disabled:this.readonly,onTextChange:e=>{const t=e.detail.value;this.valueError=s(this.allFieldTypesSame().fieldType,this.allValidationsSame().validation,t,this.dataItem[0]?.options);this.alter({value:t})}}),this.valueError&&t("p",{key:"b946fb1ebdd371fa9eb24d2a985b178b9aa40487",class:"ls-dv-error-text"},this.valueError)),this.isAllCheckboxes()&&this.getCheckboxStates().length===2&&t("div",{key:"a077f931ce4b34ed99e3d8b9349a9cb1b8879d6b",class:"ls-dv-field-properties-section"},t("div",{key:"2e9123dc98bfd2c672a158f2decd7f044bae161e",class:"ls-dv-field-properties-section-text"},t("p",{key:"3c91923ac809c985493c7a5c28614e9a79fdaed7",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.displaystate")),t("p",{key:"d2815aa5b992238ccaf381958c7318dafe7ae913",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.displaystatedescription"))),t("div",{key:"0ed3862953ae781418c274d68c01ebf09c799f7d",class:"ls-dv-checkbox-toggle"},this.getCheckboxStates().map(((e,r)=>t("button",{key:r,class:{"ls-dv-checkbox-toggle-btn":true,"ls-dv-active":this.allValuesSame().isSame&&(r===0?this.allValuesSame().value!=="true":this.allValuesSame().value==="true")},onClick:()=>!this.readonly&&this.alterImmediate({value:r===0?"false":"true"}),disabled:this.readonly},e)))),!this.allValuesSame().isSame&&t("p",{key:"a104c7184c979e5f800649f1796b7a467e58412a",class:"ls-dv-mixed-hint"},d.t("fieldproperties.mixed"))),this.allFieldTypesSame().isSame&&this.isDateType()&&t("div",{key:"a7a762b1af56f3882046349277d385fe4946f310",class:"ls-dv-field-properties-section"},t("div",{key:"2ec0db6f89265fc24df6d0629a65daf7d5899183",class:"ls-dv-field-properties-section-text"},t("p",{key:"019c35ee5c768620abfe784e06e49ded645374d7",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.value"))),t("input",{key:"2e6538c6a3b07f5f9cca20ae50a160dbdd9f70ce",type:"date",value:this.allValuesSame().isSame?this.toISODate(this.allValuesSame().value,this.dataItem[0].validation):"",onChange:e=>{const t=e.target;this.dataItem=this.dataItem.map((e=>({...e,value:this.formatISOToValidation(t.value,e.validation)})));if(this.labeltimer){clearTimeout(this.labeltimer);this.labeltimer=null}const r=this.dataItem.map((e=>({action:"update",data:e})));this.mutate.emit(r);this.update.emit(r);f(t)},disabled:this.readonly})),this.showContentFormat()&&t("div",{key:"54927cb81cef3e05842c0bb6a1b70465e5ff2331",class:"ls-dv-field-properties-section"},t("div",{key:"10caef747156df6dbd521233840eabf09cd9e22e",class:"ls-dv-field-properties-section-text"},t("p",{key:"8526a27f5228dc926b27133209d39f9b6c7857e1",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.contentformat")),t("p",{key:"ed0c90a4ec4bab0cce474b5e1ea002d4f7c1fb09",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.contentformatdescription"))),t("ls-input-wrapper",{key:"eb92ead69798b2a73f66a6c4b799128754bf0726",select:true},t("select",{key:"c5bd2c31c0f012d48758c20e9d82f07ae5ece07e",onChange:e=>!this.readonly&&this.handleFormatChange(parseInt(e.target.value)),disabled:this.readonly},!this.allValidationsSame().isSame&&t("option",{key:"a6b04f7336e4e81f912f77f79a1ac5b0bca6f135",disabled:true,selected:true,value:""},d.t("fieldproperties.mixed")),c.filter((e=>e.formType===this.allFieldTypesSame().fieldType)).map((e=>t("option",{selected:this.allValidationsSame().validation===e.id,value:e.id},e.description))))))),t("div",{key:"8a3cdee2d65e20df48e3dbb096c3f0ff62cd8d9b",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"71c2c0cdabe186d874213d104773e57b970ad5ff",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-size",{key:"f77150399f2fa2bf24870ed48b797ecf8c903937",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"8b3a794ee1115ca0e09c03c745c261ec56dcbecc",class:"ls-dv-field-set",slot:"placement"},t("ls-field-alignment",{key:"321195cc8613f256f4e936f9ff28fa87dd130839",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-placement",{key:"5b00ce1e8bba20df33eba68124d38a16d513eb30",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-distribute",{key:"fd0bf488d54fb0419f0222c2cf8358f121480902",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"47eadd59369aa7caad1fa2185bc1ce25ec92fcb4",dataItem:this.dataItem,readonly:this.readonly}),t("slot",{key:"ad8fd146a77742df05afef34bd18c8afcc197447"}))}static get watchers(){return{dataItem:["validateOnChange"]}}};D.style=P();const H=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const N=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;render(){return t(i,{key:"2a56468fa68cc160ee893c1fd4a657e0f9853fe5"},t("ls-field-properties-container",{key:"5da45927edeceaf54992c7afeaf4d08fcf903017",tabs:["content","placement","dimensions"]},t("div",{key:"ff8f1f42484f2a23617b13af1cd259cdb723a6f0",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"eaf8012b0f6ed3ae43ca2095ad463ee59f53a202",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"b39317299a323cb3dd7051a5217ca4b0f3299a0e",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"85620987ac98e1914b36aa94e43ce2205bbec986",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"6cd967318c8f4588fd403858c4e172b1b3512835",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"d511846a67ef333e564fc63bdf72a6356bea2c97",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"5bd838c6fb0108cb9b85fd844035c125acbe68fb",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"6fe8414941a81002e404c6b2779867008750618d",dataItem:this.dataItem,readonly:this.readonly}))}};N.style=H();const O=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const V=class{constructor(t){e(this,t)}dataItem;template;roles=[];readonly=false;render(){return t(i,{key:"19bd4082ec7a45d6f22d96ec712a2d564615c91e"},t("ls-field-properties-container",{key:"73157e60ab17f49343450d1d98a6c16adbbda793",tabs:["content","placement","dimensions"]},t("div",{key:"822040d04d327f6f71af89bd44f5f31589397414",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"44b642f4145f1318e584e7437e1d3b9219198829",dataItem:this.dataItem,roles:this.roles,showValidationTypes:false,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"5a9cdbf24b59f09ca1a72fafdaf3f0b2e7cc0b7f",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"3d02a98f22528b6a143b203c0f3f6c63499cdacb",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"66edde0dc88bd633d6e812c8fe8ed0da9659581a",dataItem:this.dataItem,template:this.template,readonly:this.readonly})),t("div",{key:"091adf94e3a99ce0021c6d8f9a15f374d223ac78",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"ffd2154cc34fbb34d7501888ff7ea6f6907cfab7",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"4a10a3f207149801165d8855a268ba809f614d63",dataItem:this.dataItem,readonly:this.readonly}))}};V.style=O();const F=()=>`:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.ls-dv-field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background-color:white;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const L=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;render(){return t(i,{key:"1990cfcc7301046afbc2c664a3539a43b3677518"},t("ls-field-properties-container",{key:"f29c7cc95219c6fce831f40dfef7427dec803864",tabs:["content","placement","dimensions"]},t("div",{key:"5e5ff24ea6e9e4b428dbbe9ef3f1fdda17158e0f",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"7326177fabaa07de20bd2f6b05fe7c3c43594855",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"3cc01c99d325828f40b9363a7f648ec28de98ab3",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"5d04961a8cc3432cf890b5495ab12ffce46e6f2e",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"fe2da9e8b7f5443c792bfc6d164a61bcb2bd06b7",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"6e11e2d5dd87bf9779244f229f8429f0f7d5e913",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"d923eca171670980920beefcc5926f3fea0ef6c2",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"eb13dc49bb6f377b59ce039f1553c7bdb913afd7",dataItem:this.dataItem,readonly:this.readonly}))}};L.style=F();const M=()=>`:host{display:block}*{box-sizing:border-box;margin:0}.ls-dv-participant-card{display:flex;padding:0.625rem;flex-direction:column;align-items:flex-start;gap:0.5rem;align-self:stretch;cursor:pointer}.ls-dv-participant-card-active,.ls-dv-participant-card:hover{outline:2px solid var(--active-outline-colour);outline-offset:-2px}.ls-dv-top-card{border-radius:1rem 1rem 0 0}.ls-dv-full-card{border-radius:1rem}.ls-dv-bottom-card{border-radius:0 0 1rem 1rem}.ls-dv-participant-card-inner{width:100%;min-width:0;display:flex;flex-direction:column;gap:0.5rem}.ls-dv-hidden{visibility:hidden;display:none}.ls-dv-form-button-set{display:flex;gap:0.5rem}.ls-dv-role-label{display:flex;padding:0.125rem 0.5rem;justify-content:center;align-items:center;gap:0.25rem;border-radius:0.625rem;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.ls-dv-role-label.ls-dv-fields{border-radius:1rem;margin-top:0.5rem}.ls-dv-inner-button{margin:0px;padding:0px;max-height:1.25rem !important;max-width:1.25rem !important;background-color:transparent;border:none;cursor:pointer;color:var(--default-button-colour)}.ls-dv-inner-button:hover{color:var(--hover-button-colour)}.ls-dv-inner-button-disabled{pointer-events:none;opacity:0.4}.ls-dv-participant-card-top-items{display:flex;width:100%;justify-content:space-between;align-items:center}.ls-dv-button-set{display:flex;gap:0.125rem}.ls-dv-participant-text-description{font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-participant-text-type{font-style:normal;font-weight:400;line-height:1.25rem;}.ls-dv-title-button{width:100%;text-align:left;background-color:transparent;border:none}.ls-dv-full-width{width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-tertiary{border:1px solid var(--primary-60, #4456f6);background:transparent;color:var(--primary-70, #2134dc)}button.ls-dv-tertiary:hover{border:1px solid var(--primary-70, #2134dc);border:1px solid var(--primary-80, #0e20c1)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background:transparent;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0);background-color:var(--red-10, #fff0f0)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const A=class{constructor(t){e(this,t);this.mutate=o(this,"mutate",7);this.opened=o(this,"opened",7);this.roleChange=o(this,"roleChange",7);this.addParticipant=o(this,"addParticipant",7)}get component(){return r(this)}signer;index;editable=false;template;active=false;mutate;opened;roleChange;alter(e){this.signer={...this.signer,...e};this.debounce(this.signer,500)}labeltimer;debounce(e,t){if(this.labeltimer)clearTimeout(this.labeltimer);this.labeltimer=setTimeout((()=>{const t=[{action:"update",data:e}];this.mutate.emit(t)}),t)}deleteHandler(e){this.mutate.emit([{action:"delete",data:e}])}swapHandler(e,t){this.mutate.emit([{action:"swap",data:e,data2:t}])}modeHandler(e){if(e){this.opened.emit(this.signer)}}addParticipant;busy=false;swapUpBtn;swapDownBtn;editBtn;deleteParticipantBtn;addingWitness=false;templateChanged(){this.addingWitness=false}componentDidLoad(){}render(){const e=this.template.elementConnection.templateElements.filter((e=>Number(e.signer)===this.signer.signerIndex))||[];const r=this.template.roles.find((e=>e.signerParent===this.signer.id));const o=()=>{for(let e=this.index-1;e>=0;e--){if(this.template.roles[e].roleType!=="WITNESS"){return this.template.roles[e]}}return null};const a=()=>{for(let e=this.index+1;e<this.template.roles.length;e++){if(this.template.roles[e].roleType!=="WITNESS"){return this.template.roles[e]}}return null};const l=o();const n=a();const s=e=>{if(e.roleType=="WITNESS")return d.t("participants.participantwitness",{index:e.signerIndex%100});return d.t("participants.participant",{index:e.signerIndex})};return t(i,null,t("div",{class:"ls-dv-participant-card"+(this.active?" ls-dv-participant-card-active":"")+(r?" ls-dv-top-card":this.signer?.signerParent?" ls-dv-bottom-card":" ls-dv-full-card"),style:{background:p[this.signer?.signerIndex%100].s10,border:`1px solid ${p[this.signer?.signerIndex%100].s60}`,marginTop:this.signer.roleType==="WITNESS"?"-0.813rem":"0","--active-outline-colour":p[this.signer?.signerIndex%100].s60},onMouseEnter:e=>e.currentTarget.querySelector(".ls-dv-button-set")?.classList.remove("ls-dv-hidden"),onMouseLeave:e=>e.currentTarget.querySelector(".ls-dv-button-set")?.classList.add("ls-dv-hidden"),onClick:()=>this.roleChange.emit(this.signer.signerIndex),onDblClick:()=>{this.editable=true}},t("div",{class:"ls-dv-participant-card-inner"},t("div",{class:"ls-dv-participant-card-top-items"},t("div",{class:"ls-dv-role-label",style:{background:p[this.signer?.signerIndex%100].s20,color:p[this.signer?.signerIndex%100].s90}},t("ls-icon",{name:this.signer?.roleType==="APPROVER"?"check-circle-icon":this.signer?.roleType==="SIGNER"?"signature-icon":"eye-icon"}),this.signer?.ordinal||""),t("div",{class:"ls-dv-button-set ls-dv-hidden"},l&&this.signer.roleType!=="WITNESS"&&t("div",{class:`ls-dv-inner-button${this.busy?" ls-dv-inner-button-disabled":""}`,onClick:()=>{if(this.busy)return;this.swapHandler(this.signer,l)},style:{"--default-button-colour":p[this.signer?.signerIndex%100].s40,"--hover-button-colour":p[this.signer?.signerIndex%100].s60},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":d.t("participants.moveup")},t("ls-icon",{name:"arrow-up-icon",size:18})),n&&this.signer.roleType!=="WITNESS"&&t("div",{class:`ls-dv-inner-button${this.busy?" ls-dv-inner-button-disabled":""}`,onClick:()=>{if(this.busy)return;this.swapHandler(this.signer,n)},style:{"--default-button-colour":p[this.signer?.signerIndex%100].s40,"--hover-button-colour":p[this.signer?.signerIndex%100].s60},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":d.t("participants.movedown")},t("ls-icon",{name:"arrow-down-icon",size:18})),t("div",{class:`ls-dv-inner-button${this.busy?" ls-dv-inner-button-disabled":""}`,onClick:()=>{if(this.busy)return;this.editable=!this.editable},style:{"--default-button-colour":p[this.signer?.signerIndex%100].s40,"--hover-button-colour":p[this.signer?.signerIndex%100].s60}},t("ls-icon",{name:this.editable?"check-icon":"pencil-alt-icon",size:18,"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":this.editable?d.t("participants.savechanges"):d.t("participants.editparticipant")})),t("div",{class:`ls-dv-inner-button${this.busy?" ls-dv-inner-button-disabled":""}`,onClick:()=>{if(this.busy)return;this.deleteHandler(this.signer)},style:{"--default-button-colour":p[this.signer?.signerIndex%100].s40,"--hover-button-colour":p[this.signer?.signerIndex%100].s60},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-content":d.t("participants.deleteparticipant"),"data-tooltip-place":"top-end"},t("ls-icon",{name:"trash-icon",size:18})))),this.editable?t("div",{class:"ls-dv-participant-card-inner"},this.signer?.roleType!=="WITNESS"?t("ls-input-wrapper",{select:true,leadingIcon:this.signer?.roleType==="APPROVER"?"check-circle-icon":"signature-icon"},t("select",{name:"roleType",id:"role-type",class:"ls-dv-has-leading-icon",onChange:e=>this.alter({roleType:e.target.value}),disabled:r?true:false},t("option",{value:"APPROVER",selected:this.signer?.roleType==="APPROVER"},d.t("participants.approver")),t("option",{value:"SIGNER",selected:this.signer?.roleType==="SIGNER"},d.t("participants.signer")))):t("ls-input-wrapper",{leadingIcon:"eye-icon"},t("input",{name:"roleType",id:"role-type",class:"ls-dv-has-leading-icon",disabled:true,value:"Witness",style:{wdith:"100%"}})),t("input",{type:"text",id:"participant-description",name:"participantDescription",placeholder:d.t("participants.placeholder"),defaultValue:this.signer.name,onInput:e=>this.alter({name:e.target.value}),onKeyUp:e=>{if(e.key==="Enter"||e.keyCode===13)this.editable=false}}),this.signer?.roleType==="SIGNER"&&!r?t("ls-button",{variant:"tertiary",outline:true,size:"sm",fullWidth:true,text:d.t("participants.addwitness"),leadingIcon:"plus-icon",loading:this.busy||this.addingWitness,disabled:this.busy||this.addingWitness,onClick:()=>{if(this.busy||this.addingWitness)return;this.addingWitness=true;this.addParticipant.emit({type:"WITNESS",parent:this.signer.id,signerIndex:this.signer.signerIndex+100})}}):this.signer?.roleType==="SIGNER"&&r?t("ls-button",{variant:"destructiveTertiary",outline:true,size:"sm",fullWidth:true,text:d.t("participants.removewitness"),leadingIcon:"minus-sm-icon",loading:this.busy,disabled:this.busy,onClick:()=>{if(this.busy)return;this.deleteHandler(r)}}):this.signer?.roleType==="WITNESS"?t("ls-button",{variant:"destructiveTertiary",outline:true,size:"sm",fullWidth:true,text:d.t("participants.removewitness"),leadingIcon:"minus-sm-icon",loading:this.busy,disabled:this.busy,onClick:()=>{if(this.busy)return;this.deleteHandler(this.signer)}}):null):t("div",{class:"ls-dv-participant-card-text"},t("p",{class:"ls-dv-participant-text-description",style:{color:p[this.signer?.signerIndex%100].s100},"data-tooltip-id":"ls-dv-tooltip","data-tooltip-html":`<span style="white-space:normal;word-break:break-word">${this.signer.name||s(this.signer)}</span>`,onMouseEnter:e=>{const t=e.currentTarget;if(t.scrollWidth<=t.clientWidth){t.removeAttribute("data-tooltip-html")}}},this.signer.name||s(this.signer)),t("p",{class:"ls-dv-participant-text-type",style:{color:p[this.signer?.signerIndex%100].s80,textTransform:"capitalize"}},d.t(`participants.${this.signer.roleType.toLowerCase()}`)),this.signer?.roleType!=="APPROVER"&&t("div",{class:"ls-dv-role-label ls-dv-fields",style:{background:e.length===0?p[this.signer?.signerIndex%100].s60:p[this.signer?.signerIndex%100].s20,color:e.length===0?"white":p[this.signer?.signerIndex%100].s90}},e.length===0&&t("ls-icon",{name:"exclamation-circle-icon",size:16,style:{marginRight:"0.125rem"}}),e.length===0?d.t("participants.signaturerequired"):`${e.length} ${e.length===1?d.t("common.field"):d.t("common.fields")}`)))),t("slot",null),t("ls-tooltip",{tooltipId:"ls-dv-tooltip"}))}static get watchers(){return{editable:["modeHandler"],template:["templateChanged"]}}};A.style=M();const B=()=>`.ls-dv-label-span{position:absolute;font-family:inherit;display:inline-flex;align-items:center;line-height:1rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-participant-list{position:relative;display:flex;flex-direction:column;gap:0.75rem}.ls-dv-sender-card{display:flex;padding:0.625rem;flex-direction:column;align-items:flex-start;align-self:stretch;cursor:pointer;border-radius:1rem;background:#f7f8fa;border:1px solid #afb0b2}.ls-dv-sender-card-active,.ls-dv-sender-card:hover{outline:2px solid #afb0b2;outline-offset:-2px}.ls-dv-sender-card-inner{display:flex;flex-direction:column;gap:0.5rem;width:100%;min-width:0}.ls-dv-sender-card-top-items{display:flex;width:100%;justify-content:space-between;align-items:center}.ls-dv-role-label{display:flex;padding:0.125rem 0.5rem;justify-content:center;align-items:center;gap:0.25rem;border-radius:0.625rem;font-size:0.875rem;font-weight:500;line-height:1.25rem}.ls-dv-role-label.ls-dv-fields{border-radius:1rem}.ls-dv-sender-card-text{display:flex;flex-direction:column;min-width:0}.ls-dv-sender-name{font-size:0.875rem;font-weight:500;line-height:1.25rem;color:#45484d}.ls-dv-sender-type{font-size:0.75rem;font-weight:400;line-height:1rem;color:#6f7176;text-transform:capitalize}*{box-sizing:border-box;margin:0}.ls-dv-editor-infobox{padding:0.125rem 0.5rem 0.125rem 0.5rem}.ls-dv-toolbox-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;}.ls-dv-toolbox-section-description{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-add-participant-button{position:sticky;display:flex;padding:0.75rem 0;margin-bottom:-0.75rem;margin-top:-0.75rem;bottom:-0.75rem;background-image:linear-gradient(to top, var(--gray-10, #f7f8fa) 0%, var(--gray-10, #f7f8fa) 80%, transparent 100%)}.ls-dv-add-participant-button ls-add-new-button{width:100%}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem}.ls-dv-input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const Y=class{constructor(t){e(this,t);this.mutate=o(this,"mutate",7);this.update=o(this,"update",7);this.addParticipant=o(this,"addParticipant",7);this.roleChange=o(this,"roleChange",7)}get element(){return r(this)}editor;template;activeSigner;busy=false;addingParticipant=false;templateChanged(){this.addingParticipant=false}mutate;update;addParticipant;selectedHandler(e){}deleteHandler(e){this.update.emit([{action:"delete",data:e}]);this.mutate.emit([{action:"delete",data:e}])}swapHandler(e,t){this.update.emit([{action:"swap",data:e,data2:t}])}handleOpened(e){const t=this.element.shadowRoot.querySelectorAll("ls-participant-card");t.forEach((t=>{const r=t.signer?.id===e.detail.id;t.editable=r;if(r){t.scrollIntoView({behavior:"smooth",block:"center"})}}))}handleOpenNewWitness(e){const{parent:t}=e.detail;const r=new MutationObserver((()=>{const e=this.element.shadowRoot.querySelectorAll("ls-participant-card");e.forEach((e=>{const r=e.signer?.signerParent===t;e.editable=r;if(r){e.scrollIntoView({behavior:"smooth",block:"center"})}}));r.disconnect()}));r.observe(this.element.shadowRoot,{childList:true,subtree:true})}roleChange;render(){return t(i,{key:"430e0aa6caab6c7adc25cd8dc2c27e06cb9bb368"},t("div",{key:"0d9081a281ef4904422b0250db4e53eee78051c2",class:"ls-dv-editor-infobox"},t("h2",{key:"12c80f17e6625dbadc58925c461e0dfcd32e1893",class:"ls-dv-toolbox-section-title"},d.t("participants.title")),t("p",{key:"38dc19016841b5ad21e651b5b1aca6daf390d711",class:"ls-dv-toolbox-section-description"},d.t("participants.description"))),t("div",{key:"48f2afefa3a51b92eb24b2e86289c4c475fd2c55",class:"ls-dv-participant-list"},t("div",{key:"ef409be019a5ca466fec47d92054bd0e977d8b20",class:"ls-dv-sender-card"+(this.activeSigner===0?" ls-dv-sender-card-active":""),onClick:()=>this.roleChange.emit(0)},t("div",{key:"bc69bc98401024e4536f966cd1016f0eee8c966f",class:"ls-dv-sender-card-inner"},t("div",{key:"91332df79a9e0b4b66c8d725a93fd166a8ae18e3",class:"ls-dv-sender-card-top-items"},t("div",{key:"4075d0ac01cf5ab04ed463a86652a35b080659d9",class:"ls-dv-role-label",style:{background:"#edeff2",color:"#5e6066"}},t("ls-icon",{key:"947a16346da02b6ce51f1c8c36a8ec9d0eec4319",name:"user-icon"}))),t("div",{key:"8161c4d3e326aa0701bfad2d2bc5bffc0fbabadd",class:"ls-dv-sender-card-text"},t("p",{key:"6b856bcb3eec8a0b0e0f25f7a4e829c6d481c725",class:"ls-dv-sender-name"},d.t("toolbar.sender")),t("p",{key:"f349e498d230dd9c0250ef19283233ff74022a6d",class:"ls-dv-sender-type"},d.t("toolbar.you"))),this.template&&(()=>{const e=this.template.elementConnection.templateElements.filter((e=>Number(e.signer)===0))||[];return e.length>0?t("div",{class:"ls-dv-role-label ls-dv-fields",style:{background:"#edeff2",color:"#5e6066"}},`${e.length} ${e.length===1?d.t("common.field"):d.t("common.fields")}`):null})())),this.template&&this.template?.roles.map(((e,r)=>t("ls-participant-card",{signer:e,index:r,template:this.template,active:e.signerIndex===this.activeSigner,busy:this.busy,onOpened:e=>{this.handleOpened.bind(this)(e)},onAddParticipant:e=>this.handleOpenNewWitness(e)})))),t("div",{key:"72f301d7a33b8bbb02e271f5670fd21ac094bc79",class:"ls-dv-add-participant-button"},t("ls-add-new-button",{key:"9f7576d9f6474a528d383d6c2f9fba2214674603",text:d.t("participants.addparticipant"),icon:"user-add-icon",loading:this.addingParticipant,disabled:this.addingParticipant,onClick:()=>{if(this.addingParticipant)return;this.addingParticipant=true;this.addParticipant.emit({type:"SIGNER"})}})),t("slot",{key:"47227a21454e061fff740e91b57dcc1a86ea445b"}))}static get watchers(){return{template:["templateChanged"]}}};Y.style=B();const G=()=>`:host{display:block}*{box-sizing:border-box;margin:0}.ls-dv-participant-card{display:flex;padding:0.75rem;flex-direction:column;align-items:flex-start;gap:0.5rem;align-self:stretch;max-height:6.25rem;transition:max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden;transform-origin:top}.ls-dv-participant-card.ls-dv-expand-up{transform-origin:bottom}.ls-dv-participant-card.ls-dv-expand-down{transform-origin:top}.ls-dv-participant-card.ls-dv-expanded{max-height:125rem;}.ls-dv-dot{width:0.5rem;height:0.5rem;background:var(--red-50, #ff706b);border-radius:50%;margin-right:0.25rem}.ls-dv-top-card{border-radius:1rem 1rem 0 0}.ls-dv-full-card{border-radius:1.5rem}.ls-dv-bottom-card{border-radius:0 0 1rem 1rem}.ls-dv-participant-card-inner{width:100%;display:flex;flex-direction:column;gap:0.5rem}.ls-dv-hidden{visibility:hidden;display:none}.ls-dv-form-button-set{display:flex;gap:0.5rem}.ls-dv-role-label{display:flex;padding:0.125rem 0.5rem;justify-content:center;align-items:center;gap:0.25rem;border-radius:0.625rem;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;text-transform:capitalize}.ls-dv-fields-box{display:flex;flex-direction:column;gap:0.5rem;width:100%}.ls-dv-role-label.ls-dv-fields{border-radius:1rem;margin-top:0.5rem}.ls-dv-inner-button{margin:0px;padding:0px;max-height:1.25rem !important;max-width:1.25rem !important;background-color:transparent;border:none;cursor:pointer;color:var(--default-button-colour)}.ls-dv-inner-button:hover{color:var(--hover-button-colour)}.ls-dv-participant-card-top-items{display:flex;width:100%;justify-content:space-between;align-items:center}.ls-dv-button-set{display:flex;gap:0.125rem}.ls-dv-participant-text-description{font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.ls-dv-participant-text-type{font-style:normal;font-weight:400;line-height:1.25rem;}.ls-dv-title-button{width:100%;text-align:left;background-color:transparent;border:none}.ls-dv-full-width{width:100%}.ls-dv-participant-card-text{padding:0 0.125rem 0.125rem 0.125rem}p{color:var(--gray-80, #6f7176);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.ls-dv-button-link,.ls-dv-button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.ls-dv-input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6f7176)}.ls-dv-has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.625rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #ffffff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #ffffff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type=checkbox]{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type=checkbox]:checked,input[type=checkbox].ls-dv-indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type=checkbox]:checked::after{content:"";position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type=checkbox].ls-dv-indeterminate::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type=checkbox]:checked:hover,input[type=checkbox].ls-dv-indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type=checkbox]:hover{border:1px solid #9ca3af}input[type=checkbox]:focus,input[type=checkbox]:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type=checkbox]:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type=checkbox]:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.ls-dv-checkbox-container{display:flex;gap:0.5rem;width:100%}.ls-dv-checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.ls-dv-form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.ls-dv-loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #4456f6)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.ls-dv-tertiary-grey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #6f7176)}button.ls-dv-tertiary-grey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.ls-dv-tertiary{border:1px solid var(--primary-60, #4456f6);background:transparent;color:var(--primary-70, #2134dc)}button.ls-dv-tertiary:hover{border:1px solid var(--primary-70, #2134dc);border:1px solid var(--primary-80, #0e20c1)}button.ls-dv-destructive{border:1px solid var(--red-60, #f64a44);background:transparent;color:var(--red-60, #f64a44)}button.ls-dv-destructive:hover{border:1px solid var(--red-70, #dc2721);background:var(--red-10, #fff0f0);background-color:var(--red-10, #fff0f0)}button.ls-dv-secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #ffffff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.ls-dv-secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.ls-dv-button-group{display:flex;border-radius:0.625rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.ls-dv-button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6f7176)}.ls-dv-button-group button:hover{background:var(--gray-10, #f7f8fa)}.ls-dv-button-group>:first-child{border-radius:0.625rem 0 0 0.625rem}.ls-dv-button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.ls-dv-button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;const K=class{constructor(t){e(this,t);this.changeSigner=o(this,"changeSigner",7);this.fieldSelected=o(this,"fieldSelected",7)}get component(){return r(this)}recipient;activeRecipient;fieldTypeSelected={label:"Signature",formElementType:"signature",elementType:"signature",validation:0,defaultHeight:h["signature"].defaultHeight,defaultWidth:h["signature"].defaultWidth};template;isHovered=false;setIsHovered(e){this.isHovered=e}validationErrors=[];filtertoolbox=null;changeSigner;fieldSelected;handleFieldTypeSelected(e){const t=this.component.shadowRoot.querySelectorAll("ls-toolbox-field");console.log(t);t.forEach((t=>{t.isSelected=t.formElementType===e.detail.formElementType}));this.fieldTypeSelected=e.detail}showTool(e){return this.filtertoolbox===null||this.filtertoolbox.split("|").includes(e)}cardRef;handleExpandCollapse(){if(!this.cardRef)return;const e=this.activeRecipient===this.recipient.signerIndex;if(e){this.cardRef.style.maxHeight=this.cardRef.scrollHeight+2+"px"}else{this.cardRef.style.maxHeight="6rem"}}componentDidLoad(){const e=this.activeRecipient===this.recipient.signerIndex;this.cardRef.style.maxHeight=e?this.cardRef.scrollHeight+2+"px":"6rem"}render(){const e=this.template.elementConnection.templateElements.filter((e=>e.signer===this.recipient.signerIndex))||[];const r=e.filter((e=>e.elementType==="signature"||e.elementType==="auto sign"));const o=e.filter((e=>e.validation===20&&(!e.options||e.options.length===0)));return t(i,{key:"d04c10ea912458749fcbf821f4185adb03274fe0"},t("div",{key:"d3bded16f3a1fc75ec164ee2d1107d9724ec0fcc",ref:e=>this.cardRef=e,class:`ls-dv-participant-card ls-dv-top-card ls-dv-full-card ${this.activeRecipient===this.recipient.signerIndex?"ls-dv-expanded":""}`,style:{background:p[this.recipient?.signerIndex%100].s10,border:`1px ${this.recipient.roleType==="WITNESS"?"dashed":"solid"} ${p[this.recipient?.signerIndex%100].s60}`,outline:`${this.recipient.signerIndex===this.activeRecipient?"4px solid "+p[this.recipient?.signerIndex%100].s40:"none"}`,marginTop:"0",cursor:"pointer"},onClick:()=>{this.changeSigner.emit(this.recipient.signerIndex)},onMouseEnter:()=>{this.setIsHovered(true)},onMouseLeave:()=>{this.setIsHovered(false)}},t("div",{key:"5ae864ef4eaf571f165a16356b4f57bd5299fa95",class:"ls-dv-participant-card-inner"},t("div",{key:"459b8f9898dde3da15a9ae63971a3529bb9ac76d",class:"ls-dv-participant-card-top-items"},t("div",{key:"64489043af4cdc284549a049c0041d218ee6fd8c",class:"ls-dv-role-label",style:{background:p[this.recipient?.signerIndex%100].s20,color:p[this.recipient?.signerIndex%100].s90}},t("ls-icon",{key:"8331a545338140bef7e5505f3510c6ff2c37d649",name:this.recipient?.roleType==="APPROVER"?"check-circle-icon":this.recipient?.roleType==="WITNESS"?"eye-icon":"signature-icon",size:16}),d.t(`participants.${(this.recipient?.roleType||"SIGNER").toLowerCase()}`)),t("ls-icon",{key:"6d1346bf7dc81c2ad544577db65d020f8772ee5a",name:"cursor-click-icon",size:16,customStyle:{color:p[this.recipient?.signerIndex%100].s70},solid:true,style:{display:this.isHovered&&this.recipient.signerIndex!==this.activeRecipient?"block":"none"}}),t("div",{key:"7b5e69b01d82487154a049e6dcabf9f1b5ae3e10",class:"ls-dv-dot",style:{display:(!this.isHovered||this.recipient.signerIndex===this.activeRecipient)&&this.validationErrors.filter((e=>e?.signerIndex===this.recipient.signerIndex)).length>0?"block":"none"}})),t("div",{key:"f30bf325cd312c25eb8cbd955ca23240dd1f9c79",class:"ls-dv-participant-card-text"},t("p",{key:"6c9cdd89546289a6e9e89241677f833e23ce8a0a",class:"ls-dv-participant-text-description",style:{color:p[this.recipient?.signerIndex%100].s100}},this.recipient?.previousRecipientDecides?d.t("common.tobedecided"):this.recipient?.firstName+" "+this.recipient?.lastName),t("p",{key:"a63e7fc9d88d53a4b122e4afdf1deef3c3994f5a",class:"ls-dv-participant-text-type",style:{color:p[this.recipient?.signerIndex%100].s80}},this.recipient?.previousRecipientDecides?d.t("common.previousrecipientdecidesdetails"):this.recipient.email)),t("div",{key:"fb0fa317955f06a4b01a8afee800712b5a575735",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"&&t("ls-toolbox-field",{key:"67c18a26d30931b11fe0bd0296ed920295002a6e",elementType:"signature",formElementType:"signature",label:d.t("toolbox.signature"),defaultHeight:h["signature"].defaultHeight,defaultWidth:h["signature"].defaultWidth,validation:0,icon:"signature-icon",tooltip:d.t("toolbox.signaturetooltip"),signer:this.recipient.signerIndex,redDot:r.length===0}),this.recipient.signerIndex===0&&this.showTool("auto sign")&&t("ls-toolbox-field",{key:"0c55b9d99492cad3579fff98743ad4e42fa50018",elementType:"admin",formElementType:"auto sign",label:d.t("toolbox.autosign"),defaultHeight:h["auto sign"].defaultHeight,defaultWidth:h["auto sign"].defaultWidth,validation:3e3,icon:"auto-sign-icon",tooltip:d.t("toolbox.autosigntooltip"),signer:this.recipient.signerIndex}),this.showTool("text")&&t("ls-toolbox-field",{key:"411310f2aa28bdbd3a836af9589b4044f47bbbbd",elementType:"text",formElementType:"text",label:d.t("toolbox.text"),defaultHeight:h["text"].defaultHeight,defaultWidth:h["text"].defaultWidth,validation:0,icon:"text-icon",tooltip:d.t("toolbox.texttooltip"),signer:this.recipient.signerIndex}),this.recipient.signerIndex>0&&this.showTool("signing date")&&t("ls-toolbox-field",{key:"7204d90a2670e0a4b4cc7cc27ea5285b0415483a",elementType:"text",formElementType:"signing date",label:d.t("toolbox.signingdate"),defaultHeight:h["signing date"].defaultHeight,defaultWidth:h["signing date"].defaultWidth,validation:32,icon:"auto-date-icon",tooltip:d.t("toolbox.signingdatetooltip"),signer:this.recipient.signerIndex}),this.showTool("date")&&t("ls-toolbox-field",{key:"f378019728bc9436ce634dabf7a5c13071dab463",elementType:"text",formElementType:"date",label:d.t("toolbox.date"),defaultHeight:h["date"].defaultHeight,defaultWidth:h["date"].defaultWidth,validation:4,icon:"calender-icon",tooltip:d.t("toolbox.datetooltip"),signer:this.recipient.signerIndex}),this.showTool("email")&&t("ls-toolbox-field",{key:"2381fc83e72f99fc1905489552f4039b62c00300",elementType:"text",formElementType:"email",label:d.t("toolbox.email"),defaultHeight:h["email"].defaultHeight,defaultWidth:h["email"].defaultWidth,validation:1,icon:"at-symbol-icon",tooltip:d.t("toolbox.emailtooltip"),signer:this.recipient.signerIndex}),this.showTool("initials")&&t("ls-toolbox-field",{key:"7fe3f5b7ccecce75796946d95377f3aebed97f56",elementType:"initials",formElementType:"initials",label:d.t("toolbox.initials"),defaultHeight:h["initials"].defaultHeight,defaultWidth:h["initials"].defaultWidth,validation:2e3,icon:"initials-icon",tooltip:d.t("toolbox.initialstooltip"),signer:this.recipient.signerIndex}),this.showTool("number")&&t("ls-toolbox-field",{key:"72baba17c9806aed68d7ca9ab8c2d845d87c621a",elementType:"text",formElementType:"number",label:d.t("toolbox.number"),defaultHeight:h["number"].defaultHeight,defaultWidth:h["number"].defaultWidth,validation:50,icon:"hashtag-icon",tooltip:d.t("toolbox.numbertooltip"),signer:this.recipient.signerIndex}),this.showTool("dropdown")&&t("ls-toolbox-field",{key:"b2a4d3706cde95a158364cd2db587c727c481fb1",elementType:"text",formElementType:"dropdown",label:d.t("toolbox.dropdown"),defaultHeight:h["dropdown"].defaultHeight,defaultWidth:h["dropdown"].defaultWidth,validation:20,icon:"dropdown-icon",tooltip:d.t("toolbox.dropdowntooltip"),signer:this.recipient.signerIndex,redDot:o.length>0}),this.showTool("checkbox")&&t("ls-toolbox-field",{key:"b22b4c8f6e93756c24f282f35febb16374dae4b8",elementType:"text",formElementType:"checkbox",label:d.t("toolbox.checkbox"),defaultHeight:h["checkbox"].defaultHeight,defaultWidth:h["checkbox"].defaultWidth,validation:25,icon:"check-icon",tooltip:d.t("toolbox.checkboxtooltip"),signer:this.recipient.signerIndex}),this.recipient.signerIndex>0&&this.showTool("regex")&&t("ls-toolbox-field",{key:"67099aef1a215664cceb7e25bf075d700bcab3e4",elementType:"text",formElementType:"regular expression",label:d.t("toolbox.regex"),defaultHeight:h["regular expression"].defaultHeight,defaultWidth:h["regular expression"].defaultWidth,validation:93,icon:"code-icon",tooltip:d.t("toolbox.regextooltip"),signer:this.recipient.signerIndex}),this.recipient.signerIndex>0&&this.showTool("file")&&t("ls-toolbox-field",{key:"96acbc5d9fb5c7248ed0cc58a8ab720be00d3c13",elementType:"text",formElementType:"file",label:d.t("toolbox.file"),defaultHeight:h["file"].defaultHeight,defaultWidth:h["file"].defaultWidth,validation:74,icon:"upload-icon",tooltip:d.t("toolbox.filetooltip"),signer:this.recipient.signerIndex}),this.recipient.signerIndex>0&&this.showTool("drawn")&&t("ls-toolbox-field",{key:"f44866c18a9342495af64a75c4c171e72197e268",elementType:"text",formElementType:"drawn field",label:d.t("toolbox.drawn"),defaultHeight:h["drawn field"].defaultHeight,defaultWidth:h["drawn field"].defaultWidth,validation:90,icon:"pencil-icon",tooltip:d.t("toolbox.drawntooltip"),signer:this.recipient.signerIndex})))),t("slot",{key:"ede1015402f97f7b5598fe91498df0f7c92cabdc"}),t("ls-tooltip",{key:"f4966a475b14094610c89c873a8b8bc17fb5ec12",tooltipId:"ls-dv-tooltip"}))}static get watchers(){return{activeRecipient:["handleExpandCollapse"]}}};K.style=G();const U=()=>`:host{display:block}*{margin:0}.ls-dv-editor-infobox{padding:0.25rem}.ls-dv-toolbox-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;margin-bottom:0.375rem}.ls-dv-toolbox-section-description{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;margin-bottom:0.375rem}`;const Q=class{constructor(t){e(this,t)}render(){return t(i,{key:"120de98199b3439c301591fdaebe8f41a5b28407"},t("div",{key:"7d290ced3e2c206a43bdf846a8ebd1dcb131ba05",class:"ls-dv-editor-infobox"},t("h2",{key:"8230c9ca50b52793f675f8720800cd052ccd52c7",class:"ls-dv-toolbox-section-title"},d.t("recipients.title")),t("p",{key:"995b262359f552b309c44a00802cabd6d52b6b3b",class:"ls-dv-toolbox-section-description"},d.t("recipients.description"))),t("slot",{key:"429fe7d214fc04f88157314126b2f5c4807059fb"}))}};Q.style=U();const X=()=>`:host{display:block}*{box-sizing:border-box;margin:0}.ls-dv-toolbox-section-description{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem}.ls-dv-validation-section-title{color:var(--gray-100, #45484d);font-size:1.125rem;font-style:normal;font-weight:500;line-height:1.75rem;}.ls-dv-valid-label{display:flex;padding:0.125rem 0.5rem;justify-content:center;align-items:center;gap:0.25rem;border-radius:1rem;font-size:0.75rem;font-style:normal;font-weight:500;line-height:1.25rem;width:fit-content}.ls-dv-valid{background-color:var(--green-30, #9df5d4);color:var(--green-100, #125241)}.ls-dv-invalid{background:var(--yellow-20, #fff3c2);color:var(--yellow-90, #8a3f0e)}.ls-dv-field-counter{display:flex;padding:0.125rem;justify-content:center;align-items:center;border-radius:1rem;font-size:0.625rem;line-height:0.75rem;font-style:normal;font-weight:500;color:var(--yellow-20, #fff3c2);background:#e17100;min-width:1rem}.ls-dv-field-dropdown{position:absolute;top:2rem;right:0;background:white;display:flex;flex-direction:column;gap:0.75rem;width:20rem;padding:1rem;border-radius:1rem;border:1px solid #e5e7eb;background:#fff;box-shadow:0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);max-height:20rem;overflow-y:auto;flex-direction:column;align-items:flex-start;z-index:1000}.ls-dv-required-field{position:relative;display:flex;width:100%;justify-content:space-between;align-items:center;gap:0.5rem;border-radius:0.625rem;padding:0.5rem 0.5rem 0.5rem 1rem;background:var(--field-background);color:var(--field-text-color);border:1px solid var(--field-border-color);transition:all 0.1s ease-in-out}.ls-dv-required-field:hover{background:var(--field-background-hover);color:var(--field-text-color-hover);border:1px solid var(--field-border-color-hover);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)}.ls-dv-required-field-items-left{display:flex;gap:0.5rem;align-items:center;width:100%}.ls-dv-required-field-items-left p{font-size:0.875rem;font-style:normal;font-weight:500;line-height:0.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-dot{height:0.5rem;width:0.5rem;border-radius:50%}.ls-dv-role-label{display:flex;padding:0.125rem 0.1875rem;justify-content:center;align-items:center;border-radius:0.25rem;font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;text-transform:capitalize}.ls-dv-dropdown-header h2{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;margin-bottom:0.125rem}.ls-dv-dropdown-header p{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;}`;const Z=class{constructor(t){e(this,t);this.selectFields=o(this,"selectFields",7)}validationErrors;selectFields;render(){return t(i,{key:"044abaeea90cf1d0bf08de618e47247d2e93fce8"},t("div",{key:"5749efb3631e90b5ccce3e8b0b9770e1ca33a588"},t("div",{key:"bf5bfe8c35c687fa02b21b421c1df64afbb4abac"},t("div",{key:"7e0f8b676dee840ab22f9504849c7868c0c8a3dc",class:"ls-dv-validation-section-title"},d.t("common.actionrequired")),t("p",{key:"6f11e25a3734452e6702230a759bae4c75985534",class:"ls-dv-toolbox-section-description"},d.t("validation.description"))),this.validationErrors&&this.validationErrors.map(((e,r)=>{const o=e?.role?.signerIndex?e?.role?.signerIndex%100:null;const i=p[o||e?.element?.signer||0];return t("div",{key:r,class:"ls-dv-required-field",style:{"--field-background":i.s10,"--field-border-color":i.s10,"--field-background-hover":i.s20,"--field-text-color":i.s70,"--field-text-color-hover":i.s80,"--field-border-color-hover":i.s60,cursor:e?.element?"pointer":"default"},onClick:()=>{if(e?.element){this.selectFields.emit([e.element])}}},t("div",{class:"ls-dv-required-field-items-left"},t("div",{class:"ls-dv-dot",style:{background:i.s60}}),e?.role&&t("div",{class:"ls-dv-required-field-items-left"},t("p",{style:{color:i.s80}},e.role?.name||`Signer ${e?.role?.signerIndex+1}`),t("div",{class:"ls-dv-role-label",style:{background:i.s30,color:i.s70}},e.role?.roleType?d.t(`participants.${e.role.roleType.toLowerCase()}`):`Signer ${e.role?.signerIndex+1}`)),e?.element&&t(t.Fragment,null,t("ls-toolbox-field",{elementType:"signature",formElementType:"signature",label:d.t("toolbox.signature"),defaultHeight:h["signature"].defaultHeight,defaultWidth:h["signature"].defaultWidth,validation:0,icon:"signature-icon",tooltip:d.t("toolbox.signaturetooltip"),signer:e.element.signer}),t("p",{style:{color:i.s80}},e.role?.name||`${e.element.formElementType} ${e?.element?.label+1}`),t("div",{class:"ls-dv-role-label",style:{background:i.s30,color:i.s70}},e.description))))}))),t("slot",{key:"4ea7ecd0db5d1ce9305e627870d2397c04814550"}))}};Z.style=X();const J=()=>`:host{position:relative}*{box-sizing:border-box;margin:0}.ls-dv-valid-label{display:flex;padding:0.125rem 0.5rem;justify-content:center;align-items:center;gap:0.25rem;border-radius:1rem;font-size:0.75rem;font-style:normal;font-weight:500;line-height:1.25rem;width:fit-content}.ls-dv-valid-label-wrapper{display:flex;padding:0.25rem;border-radius:0.5rem;border:1px solid var(--gray-20, #edeff2);justify-content:center;align-items:center;border-radius:0.825rem;font-size:0.75rem;font-style:normal;font-weight:500;line-height:1.25rem;width:fit-content;gap:0.25rem}.ls-dv-valid-label-wrapper:hover{background:var(--gray-10, #f7f8fa);border:1px solid var(--gray-30, #e0e2e5)}.ls-dv-valid-label-icon-only{display:flex;padding:0.25rem;justify-content:center;align-items:center;border-radius:0.625rem}.ls-dv-valid{background-color:var(--green-30, #9df5d4);color:var(--green-100, #125241)}.ls-dv-valid.ls-dv-compose{border:1px solid var(--green-50, #57e5b1)}.ls-dv-valid.ls-dv-compose:hover{box-shadow:none}.ls-dv-invalid.ls-dv-default{background:var(--yellow-20, #fff3c2);color:var(--yellow-90, #8a3f0e)}.ls-dv-invalid.ls-dv-compose{border:1px solid var(--red-40, #ffa19e);background:var(--red-10, #fff0f0);color:var(--red-80, #c1140e)}.ls-dv-field-counter{display:flex;padding:0.125rem;justify-content:center;align-items:center;border-radius:1rem;font-size:0.625rem;line-height:0.75rem;font-style:normal;font-weight:500;color:var(--yellow-20, #fff3c2);background:#e17100;min-width:1rem}.ls-field-counter-floating{position:absolute;top:-0.125rem;right:-0.125rem}.ls-dv-field-counter.ls-dv-compose{color:var(--red-10, #fff0f0);background:var(--red-60, #f64a44)}.ls-dv-field-dropdown{position:absolute;top:2rem;right:0;background:white;display:flex;flex-direction:column;gap:0.75rem;width:20rem;padding:1rem;border-radius:1rem;border:1px solid #e5e7eb;background:#fff;box-shadow:0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);max-height:20rem;overflow-y:auto;flex-direction:column;align-items:flex-start;z-index:1000}.ls-dv-field-dropdown.ls-dv-field-dropdown-success{background:linear-gradient(var(--green-10, #effff9) 0%, rgb(255, 255, 255) 100%);width:fit-content;padding:2rem;align-items:center;justify-content:center}.ls-dv-field-dropdown.ls-dv-field-dropdown-success *{text-align:center;white-space:nowrap}.ls-dv-dropdown-success-icon-outer{display:flex;justify-content:center;align-items:center;border-radius:9999px;background:var(--green-20, #c5fde8);padding:0.5rem}.ls-dv-dropdown-success-icon-inner{display:flex;justify-content:center;align-items:center;border-radius:9999px;background:var(--green-40, #72f0c2);padding:0.75rem;color:var(--green-100, #125241)}.ls-dv-field-dropdown.ls-dv-compose{width:14rem;padding:0.75rem;gap:0.5rem}.ls-dv-field-dropdown.ls-dv-compose>*{width:100%}.ls-dv-validation-section{width:100%;display:flex;flex-direction:column;gap:0.5rem}.ls-dv-required-field{position:relative;display:flex;width:100%;justify-content:space-between;align-items:center;gap:0.5rem;border-radius:0.625rem;padding:0.5rem 0.5rem 0.5rem 1rem;background:var(--field-background);color:var(--field-text-color);border:1px solid var(--field-border-color);transition:all 0.1s ease-in-out;cursor:pointer}.ls-dv-required-field:hover{background:var(--field-background-hover);color:var(--field-text-color-hover);border:1px solid var(--field-border-color-hover);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)}.ls-dv-required-field-items-left{display:flex;gap:0.5rem;align-items:center;width:100%}.ls-dv-required-field-items-left p{font-size:0.875rem;font-style:normal;font-weight:500;line-height:0.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-dv-dot{height:0.5rem;width:0.5rem;border-radius:50%}.ls-dv-role-label{display:flex;padding:0.125rem 0.1875rem;justify-content:center;align-items:center;border-radius:0.25rem;font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;text-transform:capitalize}.ls-dv-dropdown-header h2{color:var(--gray-100, #45484d);font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;margin-bottom:0.125rem}.ls-dv-dropdown-header p{color:var(--gray-80, #6f7176);font-size:0.75rem;font-style:normal;font-weight:400;line-height:1rem;}.ls-dv-validation-tag-container{padding:0.75rem;display:flex;flex-direction:column;gap:0.5rem}.ls-dv-validation-tag-header{padding-bottom:0.5rem;border-bottom:1px solid #edeff2}.ls-dv-validation-tag-title{font-family:"IBM Plex Sans Medium", "IBM Plex Sans", sans-serif;font-size:0.875rem;color:#45484d;line-height:1.5rem}.ls-dv-validation-tag-row{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;border-radius:0.625rem;cursor:pointer;transition:background-color 0.2s}.ls-dv-validation-tag-row:hover{background-color:var(--gray-10, #f7f8fa)}.ls-dv-validation-tag-bar{width:0.25rem;height:2rem;border-radius:9999px;flex-shrink:0}.ls-dv-validation-tag-details{flex:1 1 0%;min-width:0}.ls-dv-validation-tag-name{font-family:"IBM Plex Sans Medium", "IBM Plex Sans", sans-serif;font-size:0.875rem;color:#45484d;line-height:1.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ls-dv-validation-tag-email{font-family:"IBM Plex Sans Light", "IBM Plex Sans", sans-serif;font-size:0.75rem;color:#5e6066;line-height:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}`;const ee=class{constructor(t){e(this,t);this.changeSigner=o(this,"changeSigner",7);this.selectFieldForPlacement=o(this,"selectFieldForPlacement",7);this.selectFields=o(this,"selectFields",7)}status="Invalid";validationErrors=[];isExpanded=false;type="default";showDropDown=true;changeSigner;selectFieldForPlacement;selectFields;handleClickOutside=e=>{const t=e.composedPath();if(t.includes(this.el))return;if(this.isExpanded){this.isExpanded=false}};el;componentDidLoad(){this.el=this.host||this.el||this.component;document.addEventListener("mousedown",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside)}render(){return t(i,{key:"74178f546c280ba79ab451c4a3bb42f6a15d8300",ref:e=>this.el=e},this.type==="compose"?t("div",{class:`ls-dv-valid-label ls-dv-compose ${this.validationErrors.length===0?"ls-dv-valid":"ls-dv-invalid"}`,onClick:this.validationErrors.length&&(()=>this.isExpanded=!this.isExpanded)},this.validationErrors.length>0&&t("div",{class:"ls-dv-field-counter ls-dv-compose"},this.validationErrors.length),this.validationErrors.length===0?d.t("common.ready"):d.t("common.required"),this.validationErrors.length>0&&t("ls-icon",{name:"cursor-click-icon",solid:true,size:16,customStyle:{color:"var(--red-70, #DC2721);"}}),this.validationErrors.length===0&&t("ls-icon",{name:"check-icon",solid:true,size:16,customStyle:{marginRight:"-0.125rem"}})):t("div",{class:`ls-dv-valid-label-wrapper`,onClick:()=>this.isExpanded=!this.isExpanded},t("div",{class:`ls-dv-valid-label-icon-only ls-dv-default ${this.validationErrors.length===0?"ls-dv-valid":"ls-dv-invalid"}`},t("ls-icon",{name:this.validationErrors.length>0?"clipboard-list-icon":"check-icon",size:20})),this.validationErrors.length>0&&t("div",{class:"ls-dv-field-counter ls-field-counter-floating ls-dv-default"},this.validationErrors.length),this.validationErrors.length>0&&this.showDropDown&&t("ls-icon",{name:this.isExpanded?"chevron-up-icon":"chevron-down-icon",customStyle:{color:"var(--gray-70, #4B5563)",marginRight:"0.25rem"}})),this.isExpanded&&this.validationErrors.length!==0&&this.showDropDown&&this.type!=="compose"&&t("div",{key:"8fee247fe0b479532c6c26423049ce84fa41b805",class:"ls-dv-field-dropdown",style:{top:"3.5rem"}},(()=>{const e=this.validationErrors.filter((e=>e?.type==="signature"||e?.role&&!e?.element&&!e?.type));const r=this.validationErrors.filter((e=>e?.type==="options"||e?.element&&!e?.type));const o=this.validationErrors.filter((e=>e?.type==="value"));return[e.length>0&&t("div",{class:"ls-dv-validation-section"},t("div",{class:"ls-dv-dropdown-header"},t("h2",null,d.t("common.fieldsrequired")),t("p",null,e.length," ",e.length===1?d.t("validation.recipientneedsignature"):d.t("validation.recipientsneedsignatures"))),e.map(((e,r)=>{const o=e?.role?.signerIndex?e?.role?.signerIndex%100:null;const i=p[o||0];return t("div",{key:`sig-${r}`,class:"ls-dv-required-field",style:{"--field-background":i.s10,"--field-border-color":i.s10,"--field-background-hover":i.s20,"--field-text-color":i.s70,"--field-text-color-hover":i.s80,"--field-border-color-hover":i.s60},onMouseDown:t=>{t.preventDefault();t.stopPropagation();const r=e?.element?.formElementType||"signature";this.selectFieldForPlacement.emit({signerIndex:e.role.signerIndex,fieldType:r});this.isExpanded=false}},t("div",{class:"ls-dv-required-field-items-left"},t("div",{class:"ls-dv-dot",style:{background:i.s60}}),t("div",{class:"ls-dv-required-field-items-left"},t("p",{style:{color:i.s80}},e.role?.name||`Signer ${e?.role?.signerIndex+1}`),t("ls-label",{text:e.role?.roleType?d.t(`participants.${e.role.roleType.toLowerCase()}`):`Signer ${e.role?.signerIndex+1}`,colour:i.description,type:"low",size:"sm"}))))}))),r.length>0&&t("div",{class:"ls-dv-validation-section"},t("div",{class:"ls-dv-dropdown-header"},t("h2",null,d.t("validation.optionsrequired")),t("p",null,r.length," ",r.length===1?d.t("validation.fieldneedsoptions"):d.t("validation.fieldsneedoptions"))),r.map(((e,r)=>{const o=e?.element?.signer?e?.element?.signer%100:0;const i=p[o];return t("div",{key:`el-${r}`,class:"ls-dv-required-field",style:{"--field-background":i.s10,"--field-border-color":i.s10,"--field-background-hover":i.s20,"--field-text-color":i.s70,"--field-text-color-hover":i.s80,"--field-border-color-hover":i.s60},onMouseDown:t=>{t.preventDefault();t.stopPropagation();this.selectFields.emit([e.element]);this.isExpanded=false}},t("div",{class:"ls-dv-required-field-items-left"},t("div",{class:"ls-dv-dot",style:{background:i.s60}}),t("div",{class:"ls-dv-required-field-items-left"},t("p",{style:{color:i.s80}},e.title),t("ls-label",{text:e.description,colour:i.description,type:"low",size:"sm"}))))}))),o.length>0&&t("div",{class:"ls-dv-validation-section"},t("div",{class:"ls-dv-dropdown-header"},t("h2",null,d.t("validation.invalidvalues")),t("p",null,o.length," ",o.length===1?d.t("validation.fieldhasinvalidvalue"):d.t("validation.fieldshaveinvalidvalues"))),o.map(((e,r)=>{const o=e?.element?.signer?e?.element?.signer%100:0;const i=p[o];return t("div",{key:`val-${r}`,class:"ls-dv-required-field",style:{"--field-background":i.s10,"--field-border-color":i.s10,"--field-background-hover":i.s20,"--field-text-color":i.s70,"--field-text-color-hover":i.s80,"--field-border-color-hover":i.s60},onMouseDown:t=>{t.preventDefault();t.stopPropagation();this.selectFields.emit([e.element]);this.isExpanded=false}},t("div",{class:"ls-dv-required-field-items-left"},t("div",{class:"ls-dv-dot",style:{background:i.s60}}),t("div",{class:"ls-dv-required-field-items-left"},t("p",{style:{color:i.s80}},e.title),t("ls-label",{text:e.description,colour:i.description,type:"low",size:"sm"}))))})))]})()),this.isExpanded&&this.validationErrors.length===0&&this.type!=="compose"&&this.showDropDown&&t("div",{key:"75503e9f214dd974a61dc978669fdcbac4cc0d8a",class:"ls-dv-field-dropdown ls-dv-field-dropdown-success",style:{top:"3.5rem"}},t("div",{key:"26b3f43462e6c4fcff95c80c6a5ed9cfd672e98b",class:"ls-dv-dropdown-success-icon-outer"},t("div",{key:"736f15d061eaa31ceb406853231288a668c15fbe",class:"ls-dv-dropdown-success-icon-inner"},t("ls-icon",{key:"ac33ff4819fcdf9322374a7e6ee7aae387811b13",name:"check-icon",solid:true,size:28}))),t("div",{key:"a5f218f1c46e839d4927ff764073c70ba091f08a",class:"ls-dv-dropdown-header"},t("h2",{key:"fd5b69342e44ec7007aeee056085d320be8a656d"},d.t("common.templatereadytosend")),t("p",{key:"4b309e9a2b00e7827b032b4473ceb1f8d76d47d4"},d.t("common.allfieldsplaced")))),this.isExpanded&&this.validationErrors.length!==0&&this.showDropDown&&this.type==="compose"&&t("div",{key:"a5d99b5214a55f9aaa88516ddba377e2a1c8dac9",class:"ls-dv-field-dropdown ls-dv-compose"},(()=>{const e=this.validationErrors.filter((e=>e?.type==="signature"||e?.role&&!e?.element&&!e?.type));const r=this.validationErrors.filter((e=>e?.type==="options"||e?.element&&!e?.type));const o=this.validationErrors.filter((e=>e?.type==="value"));return[e.length>0&&t("div",{class:"ls-dv-validation-section"},t("div",{class:"ls-dv-validation-tag-header"},t("p",{class:"ls-dv-validation-tag-title"},d.t("common.fieldsrequired"))),e.map(((e,r)=>{const o=e?.role?.signerIndex?e?.role?.signerIndex%100:null;const i=p[o||0];return t("div",{class:"ls-dv-validation-tag-row",key:`sig-${r}`,onClick:()=>{this.selectFieldForPlacement.emit({signerIndex:e.role.signerIndex,fieldType:"signature"});this.isExpanded=false}},t("div",{class:"ls-dv-validation-tag-bar",style:{background:i.s60}}),t("div",{class:"ls-dv-validation-tag-details"},t("p",{class:"ls-dv-validation-tag-name"},e?.role?.previousRecipientDecides?`Recipient ${e?.role?.signerIndex+1}`:`${e?.role?.firstName} ${e?.role?.lastName}`),t("p",{class:"ls-dv-validation-tag-email"},e?.role?.previousRecipientDecides?d.t("common.detailstobedecided"):e?.role?.email)))}))),r.length>0&&t("div",{class:"ls-dv-validation-section"},t("div",{class:"ls-dv-validation-tag-header"},t("p",{class:"ls-dv-validation-tag-title"},d.t("validation.optionsrequired"))),r.map(((e,r)=>{const o=e?.element?.signer?e?.element?.signer%100:0;const i=p[o];return t("div",{class:"ls-dv-validation-tag-row",key:`el-${r}`,onClick:()=>{this.selectFields.emit([e.element]);this.isExpanded=false}},t("div",{class:"ls-dv-validation-tag-bar",style:{background:i.s60}}),t("div",{class:"ls-dv-validation-tag-details"},t("p",{class:"ls-dv-validation-tag-name"},e.title),t("p",{class:"ls-dv-validation-tag-email"},e.description)))}))),o.length>0&&t("div",{class:"ls-dv-validation-section"},t("div",{class:"ls-dv-validation-tag-header"},t("p",{class:"ls-dv-validation-tag-title"},d.t("validation.invalidvalues"))),o.map(((e,r)=>{const o=e?.element?.signer?e?.element?.signer%100:0;const i=p[o];return t("div",{class:"ls-dv-validation-tag-row",key:`val-${r}`,onClick:()=>{this.selectFields.emit([e.element]);this.isExpanded=false}},t("div",{class:"ls-dv-validation-tag-bar",style:{background:i.s60}}),t("div",{class:"ls-dv-validation-tag-details"},t("p",{class:"ls-dv-validation-tag-name"},e.title),t("p",{class:"ls-dv-validation-tag-email"},e.description)))})))]})()))}};ee.style=J();export{u as ls_add_new_button,g as ls_document_options,x as ls_feature_column,w as ls_field_properties,I as ls_field_properties_autosign,T as ls_field_properties_checkbox,C as ls_field_properties_date,$ as ls_field_properties_email,R as ls_field_properties_file,q as ls_field_properties_general,D as ls_field_properties_multiple,N as ls_field_properties_number,V as ls_field_properties_signature,L as ls_field_properties_text,A as ls_participant_card,Y as ls_participant_manager,K as ls_recipient_card,Q as ls_recipient_manager,Z as ls_validation_manager,ee as ls_validation_tag};
2
- //# sourceMappingURL=p-7be7fad4.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["registerInstance","h","getElement","createEvent","Host","clsx","dvI18n","getDefaultValidationForType","getFieldPlaceholder","validateFieldValue","validationTypes","forceCloseDatePicker","defaultRolePalette","FIELD_DEFAULTS","lsAddNewButtonCss","__rest","undefined","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","LsAddNewButton","constructor","hostRef","this","text","loading","disabled","destructive","render","_a","icon","customStyle","rest","buttonClass","key","assign","type","class","style","name","solid","size","iconSize","el","lsDocumentOptionsCss","LsDocumentOptions","mutate","update","component","template","editTitle","selectedHandler","newSelected","_oldSelected","console","log","alter","diff","debounce","titletimer","delay","clearTimeout","setTimeout","diffs","action","data","emit","componentDidLoad","formatDate","isoString","date","Date","isNaN","getTime","day","String","getDate","padStart","month","getMonth","year","getFullYear","hours","getHours","minutes","getMinutes","onClick","id","value","title","width","onInput","preventDefault","target","onKeyUp","keyCode","checked","autoArchive","onValueChange","detail","locked","fixSignatureScale","documentRetentionDays","pageCount","created","createdBy","tooltipId","watchers","lsFeatureColumnCss","LsFeatureColoumn","manage","manager","mode","lsFieldPropertiesCss","LsFieldProperties","dataItem","readonly","renderFields","roles","formElementType","handleKeyDown","event","stopPropagation","handleKeyUp","onKeyDown","lsFieldPropertiesAutosignCss","LsFieldPropertiesAutosign","label","lsFieldPropertiesCheckboxCss","LsFieldPropertiesCheckbox","handleChildMutate","tabs","slot","showValidationTypes","lsFieldPropertiesDateCss","LsFieldPropertiesDate","lsFieldPropertiesEmailCss","LsFieldPropertiesEmail","lsFieldPropertiesFileCss","LsFieldPropertiesFile","lsFieldPropertiesGeneralCss","LsFieldPropertiesGeneral","lsFieldPropertiesMultipleCss","LsFieldPropertiesMultiple","valueError","validateOnChange","allFieldTypesSame","isSame","supportsValue","allValuesSame","fieldType","allValidationsSame","validation","options","componentWillLoad","map","item","evs","alterImmediate","labeltimer","allSignersSame","signer","firstSigner","allSame","every","allLabelsSame","firstLabel","allElementsSame","elementType","firstElementType","firstType","firstValue","typesWithoutValue","includes","isAllCheckboxes","getCheckboxStates","vType","find","v","description","split","reverse","isDateType","firstValidation","showContentFormat","excluded","getDateFormatById","inputType","convertDateValue","currentValue","oldValidation","newValidation","oldFormat","newFormat","sep","match","parts","valueParts","y","m","d","forEach","startsWith","replace","slice","parseInt","formatISOToValidation","isoValue","format","toISODate","handleFormatChange","allFieldsOptional","optional","firstElementOptional","hasSignatureType","some","getAllRoleTypes","types","Set","add","role","r","signerIndex","roleType","handleFieldTypeChange","newType","defaultValidation","noValueTypes","dateTypes","currentType","shouldClearValue","isSender","getSenderDisabledReason","signerOnly","nameMap","regex","image","file","drawn","disallowedTypes","filter","fieldTypes","join","handleReassign","newSigner","elType","disabledSenderReason","disabledApproverReason","mixed","onAssigneeChange","ev","assignee","roleTypes","onFieldTypeChange","indeterminate","as","placeholder","onTextChange","valid","dirty","errorText","val","state","idx","onChange","input","select","selected","formType","lsFieldPropertiesNumberCss","LsFieldPropertiesNumber","lsFieldPropertiesSignatureCss","LsFieldPropertiesSignature","lsFieldPropertiesTextCss","LsFieldPropertiesText","lsParticipantCardCss","LsParticipantCard","opened","roleChange","addParticipant","index","editable","active","deleteHandler","swapHandler","role1","role2","data2","modeHandler","_editable","busy","swapUpBtn","swapDownBtn","editBtn","deleteParticipantBtn","addingWitness","templateChanged","participantFields","elementConnection","templateElements","f","Number","child","signerParent","getPreviousNonWitness","getNextNonWitness","previousRole","nextRole","formatRoleName","background","s10","border","s60","marginTop","onMouseEnter","currentTarget","querySelector","classList","remove","onMouseLeave","onDblClick","s20","color","s90","ordinal","s40","leadingIcon","wdith","defaultValue","variant","outline","fullWidth","parent","s100","scrollWidth","clientWidth","removeAttribute","s80","textTransform","toLowerCase","marginRight","lsParticipantManagerCss","LsParticipantManager","element","editor","activeSigner","addingParticipant","_role","handleOpened","participants","shadowRoot","querySelectorAll","isTarget","scrollIntoView","behavior","block","handleOpenNewWitness","observer","MutationObserver","disconnect","observe","childList","subtree","senderFields","onOpened","bind","onAddParticipant","lsRecipientCardCss","LsRecipientCard","changeSigner","fieldSelected","recipient","activeRecipient","fieldTypeSelected","defaultHeight","defaultWidth","isHovered","setIsHovered","validationErrors","filtertoolbox","handleFieldTypeSelected","fields","isSelected","showTool","fieldFormType","cardRef","handleExpandCollapse","isActive","maxHeight","scrollHeight","recipientFields","recipientSignatures","dropdownsMissingOptions","ref","cursor","s70","display","previousRecipientDecides","firstName","lastName","email","tooltip","redDot","lsRecipientManagerCss","LsRecipientManager","lsValidationManagerCss","LsValidationManager","selectFields","field","pallette","s30","Fragment","lsValidationTagCss","LsValidationTag","selectFieldForPlacement","status","isExpanded","showDropDown","handleClickOutside","path","composedPath","host","document","addEventListener","disconnectedCallback","removeEventListener","top","signatureErrors","elementErrors","valueErrors","onMouseDown","colour"],"sources":["0"],"mappings":"YAAcA,OAAkBC,OAAQC,OAAiBC,OAAkBC,MAAY,8BACzEC,MAAY,yBACZC,MAAc,8BACdC,OAAkCC,MAA2B,8BAC7DC,OAAyBC,MAAuB,yBAChDC,MAA4B,8BAC5BC,MAA0B,8BAC1BC,MAAsB,wBAC7B,kBAEP,MAAMC,EAAoB,IAAM,01CA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AE8C,MAAO,gCAAkC9C,EAAE,IAAK,CAAE8C,MAAO,6BAA+BmX,EAAM/T,OAAQlG,EAAE,IAAK,CAAE8C,MAAO,8BAAgCmX,EAAMrO,cAAe,KAEzR0P,EAAY3Z,OAAS,GAAM3B,EAAE,MAAO,CAAE8C,MAAO,4BAA8B9C,EAAE,MAAO,CAAE8C,MAAO,+BAAiC9C,EAAE,IAAK,CAAE8C,MAAO,8BAAgCzC,EAAOa,EAAE,8BAA+Boa,EAAYlR,KAAI,CAAC6P,EAAOjJ,KAC1O,MAAMzC,EAAc0L,GAAOjE,SAAStL,OAASuP,GAAOjE,SAAStL,OAAS,IAAM,EAC5E,MAAMwP,EAAWvZ,EAAmB4N,GACpC,OAAQvO,EAAE,MAAO,CAAE8C,MAAO,2BAA4BH,IAAK,OAAOqO,IAAOjL,QAAS,KAC1E/D,KAAKgY,aAAarV,KAAK,CAACsV,EAAMjE,UAC9BhU,KAAKyY,WAAa,KAAK,GACtBza,EAAE,MAAO,CAAE8C,MAAO,2BAA4BC,MAAO,CAAE+Q,WAAYoG,EAASjG,OAAUjU,EAAE,MAAO,CAAE8C,MAAO,gCAAkC9C,EAAE,IAAK,CAAE8C,MAAO,6BAA+BmX,EAAM/T,OAAQlG,EAAE,IAAK,CAAE8C,MAAO,8BAAgCmX,EAAMrO,cAAe,KAGhS,EAjCskC,IAkC3kC,GAEJ0O,GAAgBvX,MAAQsX,WAEfxY,uBAAqCyB,yBAA0CgE,uBAAuCK,yBAA0CY,kCAA2DG,kCAA2DM,8BAAmDE,+BAAqDE,8BAAmDE,iCAAyDE,kCAA2D+H,gCAAuDE,mCAA6DE,8BAAmDE,yBAA0CkE,4BAAgD0B,uBAAsCoC,0BAA4CE,2BAA8CO","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as a,H as d}from"./p-CItPoq74.js";const s=()=>`:host{display:block}`;const t=class{constructor(a){e(this,a)}dataItem;roles=[];render(){return a(d,{key:"4087e9e8ac89e4598949e715e9a40bad849ac319"},a("ls-field-properties-container",{key:"27155da8576c7efe6725f07df1a240023031d8bf",tabs:["content","placement","dimensions"]},a("div",{key:"01ef762c1c8c88a44229acfcd79989e66fe96a52",class:"ls-dv-field-set",slot:"content"},a("ls-field-content",{key:"fabb220f497e93ac5cbb72e2b0530e6693765a1a",dataItem:this.dataItem,roles:this.roles}),a("ls-field-properties-advanced",{key:"dfe5be7740827ba8bbb90713ec16ac6324332c4b",dataItem:this.dataItem})),a("div",{key:"8fd64d9920900b449db88ba1e38e027557429123",class:"ls-dv-field-set",slot:"dimensions"},a("ls-field-dimensions",{key:"bf686090c6996259bafd447e546f0ca738bcb490",dataItem:this.dataItem})),a("div",{key:"634ff61d7f78a5e06cedc55b9ecb78550fb5854e",class:"ls-dv-field-set",slot:"placement"},a("ls-field-placement",{key:"8d181267a4d033ab7d6d3d890d73e5d27ac05b31",dataItem:this.dataItem}))),a("ls-field-footer",{key:"3cc64bf1340e7ac0f3165a89c13857a04ed8dab2",dataItem:this.dataItem}))}};t.style=s();export{t as ls_field_properties_dropdown};
2
- //# sourceMappingURL=p-8d6d8ce9.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["registerInstance","h","Host","lsFieldPropertiesDropdownCss","LsFieldPropertiesDropdown","constructor","hostRef","this","dataItem","roles","render","key","tabs","class","slot","style"],"sources":["0"],"mappings":"YAAcA,OAAkBC,OAAQC,MAAY,kBAEpD,MAAMC,EAA+B,IAAM,uBAE3C,MAAMC,EAA4B,MAC9B,WAAAC,CAAYC,GACRN,EAAiBO,KAAMD,EAC3B,CACAE,SACAC,MAAQ,GACR,MAAAC,GACI,OAAQT,EAAEC,EAAM,CAAES,IAAK,4CAA8CV,EAAE,gCAAiC,CAAEU,IAAK,2CAA4CC,KAAM,CAAC,UAAW,YAAa,eAAiBX,EAAE,MAAO,CAAEU,IAAK,2CAA4CE,MAAO,kBAAmBC,KAAM,WAAab,EAAE,mBAAoB,CAAEU,IAAK,2CAA4CH,SAAUD,KAAKC,SAAUC,MAAOF,KAAKE,QAAUR,EAAE,+BAAgC,CAAEU,IAAK,2CAA4CH,SAAUD,KAAKC,YAAcP,EAAE,MAAO,CAAEU,IAAK,2CAA4CE,MAAO,kBAAmBC,KAAM,cAAgBb,EAAE,sBAAuB,CAAEU,IAAK,2CAA4CH,SAAUD,KAAKC,YAAcP,EAAE,MAAO,CAAEU,IAAK,2CAA4CE,MAAO,kBAAmBC,KAAM,aAAeb,EAAE,qBAAsB,CAAEU,IAAK,2CAA4CH,SAAUD,KAAKC,aAAeP,EAAE,kBAAmB,CAAEU,IAAK,2CAA4CH,SAAUD,KAAKC,WACliC,GAEJJ,EAA0BW,MAAQZ,WAEzBC","ignoreList":[]}