legalesign-document-viewer 1.0.13 → 1.0.15

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 (272) hide show
  1. package/dist/cjs/{defaultFieldLabels-BUxtUsF1.js → defaultFieldLabels-BKohZ5DW.js} +3 -3
  2. package/dist/{esm/defaultFieldLabels-GlbzVGpj.js.map → cjs/defaultFieldLabels-BKohZ5DW.js.map} +1 -1
  3. package/dist/cjs/{editorUtils-Bej3Frit.js → editorUtils-CA5HbWrj.js} +3 -3
  4. package/dist/cjs/{editorUtils-Bej3Frit.js.map → editorUtils-CA5HbWrj.js.map} +1 -1
  5. package/dist/cjs/{i18n-CO9DdQsL.js → i18n-DZs4FndR.js} +483 -39
  6. package/dist/cjs/{i18n-CO9DdQsL.js.map → i18n-DZs4FndR.js.map} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{ls-add-new-button_20.cjs.entry.js → ls-add-new-button_21.cjs.entry.js} +68 -24
  9. package/dist/cjs/ls-assignee-select_21.cjs.entry.js +15 -14
  10. package/dist/cjs/ls-compose-loader_7.cjs.entry.js +10 -10
  11. package/dist/cjs/ls-compose-manager.cjs.entry.js +1 -1
  12. package/dist/cjs/ls-document-viewer.cjs.entry.js +23 -39
  13. package/dist/cjs/ls-document-viewer.cjs.js +1 -1
  14. package/dist/cjs/ls-field-alignment_3.cjs.entry.js +4 -4
  15. package/dist/cjs/ls-field-format_2.cjs.entry.js +11 -11
  16. package/dist/cjs/ls-field-type-display.cjs.entry.js +4 -4
  17. package/dist/cjs/ls-helper-bar_2.cjs.entry.js +3 -3
  18. package/dist/cjs/ls-title-input.cjs.entry.js +1 -1
  19. package/dist/cjs/ls-toolbox-field.cjs.entry.js +3 -3
  20. package/dist/cjs/{mouseHandlers-Cc9PovyB.js → mouseHandlers-BdaPuPMr.js} +4 -4
  21. package/dist/cjs/{mouseHandlers-Cc9PovyB.js.map → mouseHandlers-BdaPuPMr.js.map} +1 -1
  22. package/dist/collection/collection-manifest.json +1 -0
  23. package/dist/collection/components/ls-document-viewer/defaultFieldLabels.js +1 -1
  24. package/dist/collection/components/ls-document-viewer/defaultFieldLabels.js.map +1 -1
  25. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +20 -36
  26. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
  27. package/dist/collection/components/ls-field-properties/ls-field-properties.js +3 -1
  28. package/dist/collection/components/ls-field-properties/ls-field-properties.js.map +1 -1
  29. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +9 -23
  30. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js.map +1 -1
  31. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +1 -1
  32. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -1
  33. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +1 -1
  34. package/dist/collection/components/ls-field-properties-regex/ls-field-properties-regex.css +301 -0
  35. package/dist/collection/components/ls-field-properties-regex/ls-field-properties-regex.js +180 -0
  36. package/dist/collection/components/ls-field-properties-regex/ls-field-properties-regex.js.map +1 -0
  37. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +1 -1
  38. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js.map +1 -1
  39. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +1 -1
  40. package/dist/collection/components/ls-field-size/ls-field-size.js +1 -1
  41. package/dist/collection/components/ls-field-type-display/ls-field-type-display.js +3 -3
  42. package/dist/collection/components/ls-field-type-select/ls-field-type-select.js +4 -4
  43. package/dist/collection/components/ls-helper-bar/ls-helper-bar.js +1 -1
  44. package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js +1 -1
  45. package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.js +1 -1
  46. package/dist/collection/components/ls-participant-card/ls-participant-card.js +4 -0
  47. package/dist/collection/components/ls-participant-card/ls-participant-card.js.map +1 -1
  48. package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +3 -3
  49. package/dist/collection/components/ls-participant-select/ls-participant-select.js +10 -10
  50. package/dist/collection/components/ls-props-section/ls-props-section.js +1 -1
  51. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +5 -5
  52. package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +1 -1
  53. package/dist/collection/components/ls-statusbar/ls-statusbar.js +8 -8
  54. package/dist/collection/components/ls-title-input/ls-title-input.js +1 -1
  55. package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
  56. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +3 -3
  57. package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +2 -2
  58. package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +2 -2
  59. package/dist/components/ls-assignee-select.js +1 -1
  60. package/dist/components/ls-compose-manager.js +1 -1
  61. package/dist/components/ls-document-options.js +1 -1
  62. package/dist/components/ls-document-viewer.js +102 -112
  63. package/dist/components/ls-document-viewer.js.map +1 -1
  64. package/dist/components/ls-editor-field.js +1 -1
  65. package/dist/components/ls-feature-column.js +1 -1
  66. package/dist/components/ls-field-alignment.js +1 -1
  67. package/dist/components/ls-field-content.js +1 -1
  68. package/dist/components/ls-field-dimensions.js +1 -1
  69. package/dist/components/ls-field-distribute.js +1 -1
  70. package/dist/components/ls-field-footer.js +1 -1
  71. package/dist/components/ls-field-format.js +1 -1
  72. package/dist/components/ls-field-placement.js +1 -1
  73. package/dist/components/ls-field-properties-advanced.js +1 -1
  74. package/dist/components/ls-field-properties-autosign.js +1 -1
  75. package/dist/components/ls-field-properties-checkbox.js +1 -1
  76. package/dist/components/ls-field-properties-container.js +1 -1
  77. package/dist/components/ls-field-properties-date.js +1 -1
  78. package/dist/components/ls-field-properties-dropdown.js +12 -12
  79. package/dist/components/ls-field-properties-email.js +1 -1
  80. package/dist/components/ls-field-properties-file.js +1 -1
  81. package/dist/components/ls-field-properties-general.js +1 -1
  82. package/dist/components/ls-field-properties-multiple.js +1 -1
  83. package/dist/components/ls-field-properties-number.js +1 -1
  84. package/dist/components/ls-field-properties-regex.d.ts +11 -0
  85. package/dist/components/ls-field-properties-regex.js +9 -0
  86. package/dist/components/ls-field-properties-regex.js.map +1 -0
  87. package/dist/components/ls-field-properties-signature.js +1 -1
  88. package/dist/components/ls-field-properties-text.js +1 -1
  89. package/dist/components/ls-field-properties.js +1 -1
  90. package/dist/components/ls-field-size.js +1 -1
  91. package/dist/components/ls-field-type-display.js +4 -4
  92. package/dist/components/ls-field-type-select.js +1 -1
  93. package/dist/components/ls-helper-bar.js +1 -1
  94. package/dist/components/ls-input-wrapper.js +1 -1
  95. package/dist/components/ls-keyboard-shortcuts.js +1 -1
  96. package/dist/components/ls-left-bar.js +1 -1
  97. package/dist/components/ls-participant-card.js +1 -1
  98. package/dist/components/ls-participant-manager.js +1 -1
  99. package/dist/components/ls-participant-select.js +1 -1
  100. package/dist/components/ls-props-section.js +1 -1
  101. package/dist/components/ls-recipient-card.js +1 -1
  102. package/dist/components/ls-recipient-manager.js +1 -1
  103. package/dist/components/ls-select-menu.js +1 -1
  104. package/dist/components/ls-statusbar.js +1 -1
  105. package/dist/components/ls-title-input.js +1 -1
  106. package/dist/components/ls-toggle.js +1 -1
  107. package/dist/components/ls-toolbar.js +1 -1
  108. package/dist/components/ls-toolbox-field.js +1 -1
  109. package/dist/components/ls-validation-manager.js +1 -1
  110. package/dist/components/ls-validation-tag.js +1 -1
  111. package/dist/components/{p-BmpejMo_.js → p-60kgekmt.js} +14 -14
  112. package/dist/components/{p-BmpejMo_.js.map → p-60kgekmt.js.map} +1 -1
  113. package/dist/components/{p-DmB0JIWj.js → p-Ab2eo4Ko.js} +8 -4
  114. package/dist/components/p-Ab2eo4Ko.js.map +1 -0
  115. package/dist/components/{p-CyV8nu-T.js → p-B0BPkRk9.js} +71 -65
  116. package/dist/components/p-B0BPkRk9.js.map +1 -0
  117. package/dist/components/{p-BDD6zFgO.js → p-B2qe4IkH.js} +14 -14
  118. package/dist/components/{p-BDD6zFgO.js.map → p-B2qe4IkH.js.map} +1 -1
  119. package/dist/components/{p-C2JalniE.js → p-B5lJU9KU.js} +4 -4
  120. package/dist/components/{p-C2JalniE.js.map → p-B5lJU9KU.js.map} +1 -1
  121. package/dist/components/{p-RceAr_AQ.js → p-BDYqYoIy.js} +3 -3
  122. package/dist/components/{p-RceAr_AQ.js.map → p-BDYqYoIy.js.map} +1 -1
  123. package/dist/components/{p-DpA4TE1Q.js → p-BEQj5_wz.js} +14 -14
  124. package/dist/components/{p-DpA4TE1Q.js.map → p-BEQj5_wz.js.map} +1 -1
  125. package/dist/components/{p-CyHkY6Ep.js → p-BHt-_hqQ.js} +3 -3
  126. package/dist/components/{p-CyHkY6Ep.js.map → p-BHt-_hqQ.js.map} +1 -1
  127. package/dist/components/{p-eWb3jk9k.js → p-BLZyVIno.js} +7 -7
  128. package/dist/components/{p-eWb3jk9k.js.map → p-BLZyVIno.js.map} +1 -1
  129. package/dist/components/{p-S46PtMZ-.js → p-BUGOiaPK.js} +6 -6
  130. package/dist/components/{p-S46PtMZ-.js.map → p-BUGOiaPK.js.map} +1 -1
  131. package/dist/components/{p-pAh5qPFg.js → p-BeQBbw5L.js} +56 -48
  132. package/dist/components/p-BeQBbw5L.js.map +1 -0
  133. package/dist/components/{p-Dw48QFVg.js → p-BpDKp7BL.js} +4 -4
  134. package/dist/components/{p-Dw48QFVg.js.map → p-BpDKp7BL.js.map} +1 -1
  135. package/dist/components/{p-DQGVdCyH.js → p-C4h8Uik2.js} +5 -5
  136. package/dist/components/{p-DQGVdCyH.js.map → p-C4h8Uik2.js.map} +1 -1
  137. package/dist/components/{p-DaQLveiE.js → p-CKcOLluN.js} +3 -3
  138. package/dist/components/{p-DaQLveiE.js.map → p-CKcOLluN.js.map} +1 -1
  139. package/dist/components/{p-D3nY_GGj.js → p-CPUhExFR.js} +13 -13
  140. package/dist/components/{p-D3nY_GGj.js.map → p-CPUhExFR.js.map} +1 -1
  141. package/dist/components/{p-D4pQIA1Z.js → p-CXCcBcGu.js} +22 -28
  142. package/dist/components/p-CXCcBcGu.js.map +1 -0
  143. package/dist/components/{p-BTcdVmkv.js → p-CZ9xdGQd.js} +11 -10
  144. package/dist/components/p-CZ9xdGQd.js.map +1 -0
  145. package/dist/components/{p--oiqur2Y.js → p-CZjNHYfy.js} +3 -3
  146. package/dist/components/{p--oiqur2Y.js.map → p-CZjNHYfy.js.map} +1 -1
  147. package/dist/components/{p-BKbGzLae.js → p-CxBIa83N.js} +3 -3
  148. package/dist/components/{p-BKbGzLae.js.map → p-CxBIa83N.js.map} +1 -1
  149. package/dist/components/{p-D6grL59P.js → p-D1YFoc0l.js} +7 -7
  150. package/dist/components/{p-D6grL59P.js.map → p-D1YFoc0l.js.map} +1 -1
  151. package/dist/components/{p-WCNsFhYD.js → p-D8XvOxx7.js} +5 -5
  152. package/dist/components/{p-WCNsFhYD.js.map → p-D8XvOxx7.js.map} +1 -1
  153. package/dist/components/{p-CLn6CMAa.js → p-DNZ70kWZ.js} +5 -5
  154. package/dist/components/{p-CLn6CMAa.js.map → p-DNZ70kWZ.js.map} +1 -1
  155. package/dist/components/{p-CowkeWsT.js → p-DRUFPWev.js} +14 -14
  156. package/dist/components/{p-CowkeWsT.js.map → p-DRUFPWev.js.map} +1 -1
  157. package/dist/{esm/i18n-Al32p_JM.js → components/p-DU-efe4l.js} +483 -39
  158. package/dist/components/{p-Al32p_JM.js.map → p-DU-efe4l.js.map} +1 -1
  159. package/dist/components/{p-BNHlMdus.js → p-DX_iaF-l.js} +3 -3
  160. package/dist/components/{p-BNHlMdus.js.map → p-DX_iaF-l.js.map} +1 -1
  161. package/dist/components/{p-DmrshWtQ.js → p-DYVjHU88.js} +3 -3
  162. package/dist/components/{p-DmrshWtQ.js.map → p-DYVjHU88.js.map} +1 -1
  163. package/dist/components/{p-eDwhUH-3.js → p-DZJKaPhB.js} +3 -3
  164. package/dist/components/{p-eDwhUH-3.js.map → p-DZJKaPhB.js.map} +1 -1
  165. package/dist/components/{p-BodlW2-m.js → p-DkDYh4WL.js} +4 -4
  166. package/dist/components/{p-BodlW2-m.js.map → p-DkDYh4WL.js.map} +1 -1
  167. package/dist/components/{p-C-vCe5Wm.js → p-Ds2yihe8.js} +3 -3
  168. package/dist/components/{p-C-vCe5Wm.js.map → p-Ds2yihe8.js.map} +1 -1
  169. package/dist/components/{p-CTMHCecN.js → p-DsIip0mA.js} +10 -10
  170. package/dist/components/{p-CTMHCecN.js.map → p-DsIip0mA.js.map} +1 -1
  171. package/dist/components/{p-BzFRp7ij.js → p-DsqOfGfP.js} +4 -4
  172. package/dist/components/{p-BzFRp7ij.js.map → p-DsqOfGfP.js.map} +1 -1
  173. package/dist/components/{p-gvdT4if6.js → p-DtIt9SZR.js} +3 -3
  174. package/dist/components/{p-gvdT4if6.js.map → p-DtIt9SZR.js.map} +1 -1
  175. package/dist/components/{p-Cmw6RXlv.js → p-DwHAGiqD.js} +8 -8
  176. package/dist/components/{p-Cmw6RXlv.js.map → p-DwHAGiqD.js.map} +1 -1
  177. package/dist/components/{p-CD0ohunR.js → p-EL05A6XH.js} +5 -5
  178. package/dist/components/{p-CD0ohunR.js.map → p-EL05A6XH.js.map} +1 -1
  179. package/dist/components/{p-DAq2HFf_.js → p-KJ6n20em.js} +14 -14
  180. package/dist/components/{p-DAq2HFf_.js.map → p-KJ6n20em.js.map} +1 -1
  181. package/dist/components/{p-uST4uUr8.js → p-LICXDZDh.js} +15 -15
  182. package/dist/components/{p-uST4uUr8.js.map → p-LICXDZDh.js.map} +1 -1
  183. package/dist/components/{p-ByN7GurE.js → p-MVrx9OAk.js} +52 -40
  184. package/dist/components/p-MVrx9OAk.js.map +1 -0
  185. package/dist/components/{p-8F4ilTjF.js → p-PPtZV34v.js} +9 -9
  186. package/dist/components/{p-8F4ilTjF.js.map → p-PPtZV34v.js.map} +1 -1
  187. package/dist/components/{p-BddWzZuD.js → p-T_Emh7AC.js} +4 -4
  188. package/dist/components/{p-BddWzZuD.js.map → p-T_Emh7AC.js.map} +1 -1
  189. package/dist/components/{p-DGQDJCUG.js → p-l5DR81kr.js} +3 -3
  190. package/dist/components/{p-DGQDJCUG.js.map → p-l5DR81kr.js.map} +1 -1
  191. package/dist/components/{p-x8FQ2VuC.js → p-oVyx239D.js} +15 -15
  192. package/dist/components/{p-x8FQ2VuC.js.map → p-oVyx239D.js.map} +1 -1
  193. package/dist/components/{p-CJWQJjj3.js → p-ovBHb1rg.js} +4 -4
  194. package/dist/components/{p-CJWQJjj3.js.map → p-ovBHb1rg.js.map} +1 -1
  195. package/dist/components/{p-XbFErpli.js → p-p5JEvsTq.js} +3 -3
  196. package/dist/components/{p-XbFErpli.js.map → p-p5JEvsTq.js.map} +1 -1
  197. package/dist/components/{p-Dxb06R94.js → p-qQidKYRw.js} +3 -3
  198. package/dist/components/{p-Dxb06R94.js.map → p-qQidKYRw.js.map} +1 -1
  199. package/dist/components/p-qucyFm7t.js +206 -0
  200. package/dist/components/p-qucyFm7t.js.map +1 -0
  201. package/dist/components/{p-CHbV_3Pe.js → p-zd5dsPvn.js} +14 -14
  202. package/dist/components/{p-CHbV_3Pe.js.map → p-zd5dsPvn.js.map} +1 -1
  203. package/dist/esm/{defaultFieldLabels-GlbzVGpj.js → defaultFieldLabels-DAGFP74Z.js} +3 -3
  204. package/dist/{cjs/defaultFieldLabels-BUxtUsF1.js.map → esm/defaultFieldLabels-DAGFP74Z.js.map} +1 -1
  205. package/dist/esm/{editorUtils-COpeLNIg.js → editorUtils-B1BCA_3i.js} +3 -3
  206. package/dist/esm/{editorUtils-COpeLNIg.js.map → editorUtils-B1BCA_3i.js.map} +1 -1
  207. package/dist/{components/p-Al32p_JM.js → esm/i18n-DU-efe4l.js} +483 -39
  208. package/dist/esm/{i18n-Al32p_JM.js.map → i18n-DU-efe4l.js.map} +1 -1
  209. package/dist/esm/loader.js +1 -1
  210. package/dist/esm/{ls-add-new-button_20.entry.js → ls-add-new-button_21.entry.js} +67 -24
  211. package/dist/esm/ls-assignee-select_21.entry.js +15 -14
  212. package/dist/esm/ls-compose-loader_7.entry.js +10 -10
  213. package/dist/esm/ls-compose-manager.entry.js +1 -1
  214. package/dist/esm/ls-document-viewer.entry.js +23 -39
  215. package/dist/esm/ls-document-viewer.entry.js.map +1 -1
  216. package/dist/esm/ls-document-viewer.js +1 -1
  217. package/dist/esm/ls-field-alignment_3.entry.js +4 -4
  218. package/dist/esm/ls-field-format_2.entry.js +11 -11
  219. package/dist/esm/ls-field-type-display.entry.js +4 -4
  220. package/dist/esm/ls-helper-bar_2.entry.js +3 -3
  221. package/dist/esm/ls-title-input.entry.js +1 -1
  222. package/dist/esm/ls-toolbox-field.entry.js +3 -3
  223. package/dist/esm/{mouseHandlers-CidXuxi3.js → mouseHandlers-DLIW6HsO.js} +4 -4
  224. package/dist/esm/{mouseHandlers-CidXuxi3.js.map → mouseHandlers-DLIW6HsO.js.map} +1 -1
  225. package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
  226. package/dist/ls-document-viewer/{p-5353749c.entry.js → p-13fa9cb6.entry.js} +2 -2
  227. package/dist/ls-document-viewer/p-13fa9cb6.entry.js.map +1 -0
  228. package/dist/ls-document-viewer/{p-daea4a55.entry.js → p-14e74521.entry.js} +2 -2
  229. package/dist/ls-document-viewer/{p-51edee50.entry.js → p-2b4b7393.entry.js} +2 -2
  230. package/dist/ls-document-viewer/{p-cbff9ae0.entry.js → p-31fd0b5d.entry.js} +2 -2
  231. package/dist/ls-document-viewer/p-83cec731.entry.js +2 -0
  232. package/dist/ls-document-viewer/p-83cec731.entry.js.map +1 -0
  233. package/dist/ls-document-viewer/{p-0WDO8yNX.js → p-ClnfOEJp.js} +2 -2
  234. package/dist/ls-document-viewer/{p-0WDO8yNX.js.map → p-ClnfOEJp.js.map} +1 -1
  235. package/dist/ls-document-viewer/{p-GlbzVGpj.js → p-DAGFP74Z.js} +2 -2
  236. package/dist/ls-document-viewer/{p-GlbzVGpj.js.map → p-DAGFP74Z.js.map} +1 -1
  237. package/dist/ls-document-viewer/p-DU-efe4l.js +2 -0
  238. package/dist/ls-document-viewer/{p-Al32p_JM.js.map → p-DU-efe4l.js.map} +1 -1
  239. package/dist/ls-document-viewer/{p-D6sbeDib.js → p-W-duPvwW.js} +2 -2
  240. package/dist/ls-document-viewer/{p-D6sbeDib.js.map → p-W-duPvwW.js.map} +1 -1
  241. package/dist/ls-document-viewer/p-a5a9b36e.entry.js +2 -0
  242. package/dist/ls-document-viewer/{p-8d626c5c.entry.js.map → p-a5a9b36e.entry.js.map} +1 -1
  243. package/dist/ls-document-viewer/{p-0bd91b5d.entry.js → p-ab242e41.entry.js} +2 -2
  244. package/dist/ls-document-viewer/{p-c71b0687.entry.js → p-bae1fb76.entry.js} +2 -2
  245. package/dist/ls-document-viewer/{p-b142576e.entry.js → p-e6bccb0f.entry.js} +2 -2
  246. package/dist/ls-document-viewer/{p-89798744.entry.js → p-e8688cca.entry.js} +4 -4
  247. package/dist/ls-document-viewer/p-e8688cca.entry.js.map +1 -0
  248. package/dist/ls-document-viewer/p-f5959479.entry.js +2 -0
  249. package/dist/types/components/ls-field-properties-advanced/ls-field-properties-advanced.d.ts +2 -1
  250. package/dist/types/components/ls-field-properties-regex/ls-field-properties-regex.d.ts +15 -0
  251. package/dist/types/components.d.ts +57 -8
  252. package/package.json +1 -1
  253. package/dist/components/p-BTcdVmkv.js.map +0 -1
  254. package/dist/components/p-ByN7GurE.js.map +0 -1
  255. package/dist/components/p-CyV8nu-T.js.map +0 -1
  256. package/dist/components/p-D4pQIA1Z.js.map +0 -1
  257. package/dist/components/p-DmB0JIWj.js.map +0 -1
  258. package/dist/components/p-pAh5qPFg.js.map +0 -1
  259. package/dist/ls-document-viewer/p-5353749c.entry.js.map +0 -1
  260. package/dist/ls-document-viewer/p-89798744.entry.js.map +0 -1
  261. package/dist/ls-document-viewer/p-8d626c5c.entry.js +0 -2
  262. package/dist/ls-document-viewer/p-Al32p_JM.js +0 -2
  263. package/dist/ls-document-viewer/p-e4ce8e02.entry.js +0 -2
  264. package/dist/ls-document-viewer/p-e4ce8e02.entry.js.map +0 -1
  265. package/dist/ls-document-viewer/p-e7783017.entry.js +0 -2
  266. /package/dist/ls-document-viewer/{p-daea4a55.entry.js.map → p-14e74521.entry.js.map} +0 -0
  267. /package/dist/ls-document-viewer/{p-51edee50.entry.js.map → p-2b4b7393.entry.js.map} +0 -0
  268. /package/dist/ls-document-viewer/{p-cbff9ae0.entry.js.map → p-31fd0b5d.entry.js.map} +0 -0
  269. /package/dist/ls-document-viewer/{p-0bd91b5d.entry.js.map → p-ab242e41.entry.js.map} +0 -0
  270. /package/dist/ls-document-viewer/{p-c71b0687.entry.js.map → p-bae1fb76.entry.js.map} +0 -0
  271. /package/dist/ls-document-viewer/{p-b142576e.entry.js.map → p-e6bccb0f.entry.js.map} +0 -0
  272. /package/dist/ls-document-viewer/{p-e7783017.entry.js.map → p-f5959479.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
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-DU-efe4l.js";import{g as l,a as n}from"./p-DAGFP74Z.js";import{h as s,i as c}from"./p-ClnfOEJp.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-CmJjDhcp.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 u=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 v=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=u(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)}};v.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;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",{type:"number",min:"0",value:this.template?.documentRetentionDays,style:{width:"100%"},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"}))}};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%;height: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;filtertoolbox=null;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,filtertoolbox:this.filtertoolbox});case"date":return t("ls-field-properties-date",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});case"signing date":return t("ls-field-properties-date",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});case"text":return t("ls-field-properties-text",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});case"number":return t("ls-field-properties-number",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});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,filtertoolbox:this.filtertoolbox});case"file":return t("ls-field-properties-file",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});case"dropdown":return t("ls-field-properties-file",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});case"checkbox":return t("ls-field-properties-checkbox",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});case"regular expression":return t("ls-field-properties-regex",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox});default:return t("ls-field-properties-general",{dataItem:this.dataItem[0],readonly:this.readonly,roles:e,filtertoolbox:this.filtertoolbox})}}else if(this.dataItem&&this.dataItem?.length>1)return t("ls-field-properties-multiple",{dataItem:this.dataItem,readonly:this.readonly,roles:this.template?.roles||[],filtertoolbox:this.filtertoolbox})}handleKeyDown=e=>{e.stopPropagation()};handleKeyUp=e=>{e.stopPropagation()};render(){return t(i,{key:"4088ec791550b1cf9353251746b03de369e4ecf3",onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},this.dataItem&&this.renderFields(),t("slot",{key:"56c86cd2ff0ba31982f656837ff76e31b5a56713"}))}};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:"7e45b31c780ee9d296fb47ca165058e2dbef30df"},t("div",{key:"24e86415dbac3846de1672af2289993d1f0d9ec0",class:"ls-dv-field-properties-section"},"Self Sign Field"),t("div",{key:"af66144c8196837302837363601f6dc34babf584"},"Label: ",t("input",{key:"2b2fda41e2d8021ae64a33e833c01927718be6e9",value:this.dataItem?.label,width:"30"})),t("ls-field-dimensions",{key:"47f14c24a37645b6fc0d74e5971ba85f90f5239d",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"87e0cc43051076d5bbaa3c2799adf2ead3e34dd7",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-footer",{key:"990f93c2c828cb971a516bc1abe620334f2d229e",dataItem:this.dataItem,readonly:this.readonly}),t("slot",{key:"4e726662c9d6c69a9210c4c11afd6dbdd525ce11"}))}};I.style=z();const T=()=>`:host{display:block;height:100%}*{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 S=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;filtertoolbox=null;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:"e9cd2193f9521e7812cb6932ac188259c8530416"},t("ls-field-properties-container",{key:"2e482e02e199e20f9cd41ed9b60474bdf65a705a",tabs:["content","placement","dimensions"]},t("div",{key:"6cb4fe911230da8f9f2a30e7d208cfc034a3adb1",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"1795267e4b8770f5c9539ada1678701bd1d378e5",dataItem:this.dataItem,roles:this.roles,showValidationTypes:true,readonly:this.readonly,filtertoolbox:this.filtertoolbox}),t("ls-field-properties-advanced",{key:"2036939eb20e629bf4cac97f61e5964757896d39",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"6931b255c8bb357acacf7f3a8b8af3c42e021c5a",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"2741891e91ab56a920a32721a8ceebe1cba2a0a5",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"8a3d0969d599e8000580421721a95d5b2b5c147f",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"b673940f13da1396f8d1d944b5ff8e75a922174d",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"273a7fc1ce165bb8451dc6792241ded8248e57fd",dataItem:this.dataItem,readonly:this.readonly}))}};S.style=T();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;filtertoolbox=null;render(){return t(i,{key:"a7810aa000c09675b7329d441855df132d12c8ff"},t("ls-field-properties-container",{key:"674294695596cae8651fecbfde5b9338b995536a",tabs:["content","placement","dimensions"]},t("div",{key:"c70f74c41aa697fccffa099a2583abb4eb798dca",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"70192c8201486c39d245c95b873b6c2e205408c7",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly,filtertoolbox:this.filtertoolbox}),t("ls-field-properties-advanced",{key:"bac2c9a8ad02cccdc434655c49e77fbd632c951f",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"fbc84a24912f7fdd2ffabf4fad81ea09f7bbc7ce",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"546c2bd63163620c05d36170258bf7abb6344884",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"e74b9c4c28a7034547de96090c3bd8689e5538de",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"84de2ffc76ef30d6933b7597eb6c7d1331d5a263",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"bd754e333db55cb795df2bb50475f4bdd40ff27f",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;filtertoolbox=null;render(){return t(i,{key:"dd61b0af10e25e81ae40feabe897919500d82b80"},t("ls-field-properties-container",{key:"fb0535c8e73e2426536a357dfe822f1486b29638",tabs:["content","placement","dimensions"]},t("div",{key:"8e1ab973c4e54ca6791f0f55c27d8cecd0669bdc",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"93903d0003f1499c869733dfa89bfcdfe61bc509",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly,filtertoolbox:this.filtertoolbox}),t("ls-field-properties-advanced",{key:"1d93854807d7302270c9b355276403f138c9e48e",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"2d6f4a0eaaa4acb2bd4286cb8804a28f6f343b71",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"9dbd63e3a2b8465e7d6758c10cb4ba100186f040",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"bedec778da18d98a1ed4631af5914a612e7610d4",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"b345bd1f3bc91ba38e31289693679e4f135c413d",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"e33269595171c85606fd94aae8f4821c951d13d3",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;filtertoolbox=null;render(){return t(i,{key:"b392fea4067e93a5481030403dd1fe9583b3b561"},t("ls-field-properties-container",{key:"f38fa37796c50512f1085d94c65c73f61a0f2317",tabs:["content","placement","dimensions"]},t("div",{key:"1717c25c8a7e43f035285a155805c91c6e01078e",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"34156ecab6f6386c31c0754d13b4cdb64d97ae8d",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly,filtertoolbox:this.filtertoolbox}),t("ls-field-properties-advanced",{key:"b818f860710b538abf8528d502811216a0bc99f0",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"11b02bbab2e6983292bf09c3e9c6f9b6f0a63c95",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"6046f3abf4e9405329db19425d5b7a530f6c52a2",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"bb265fcb6d0da51d31ee85b255bd6f932d5c8523",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"e3469c0155a6764c6120966ea8ffea6397671790",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"45d8be6cc77a1962336b688d3bc90be143e582f7",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;filtertoolbox=null;render(){return t(i,{key:"c9ddc5929dbe82ff6c8f22f986f87ddfa60e7fbb"},t("ls-field-properties-container",{key:"dc1191377daf226fa83a636ea41a13f19e8bc0b5",tabs:["content","placement","dimensions"]},t("div",{key:"5be7fbf1b539552fa479eabd1006c0137c3e06f3",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"de983af30287d4cf3442567af169968f60602833",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly,filtertoolbox:this.filtertoolbox}),t("ls-field-properties-advanced",{key:"f01000e1bf4eccbef99631062bb89f940a23893f",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"a66e958af5f8f36eb9ff6d11db416ee0ba043f50",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"d8d350528005b9f2ba1998552f2774dc3b4c75c1",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"f06f53890f6e7b0aa7ab0c803ed3a8fae2adc1fa",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"753ef26c3de1447258d79d9533be35250465b613",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"37b9fcfb1c498de1958da892edb11c7395e0cf9a",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;filtertoolbox=null;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=["file","drawn","drawn field","initials"];const t={file:d.t("toolbox.file"),drawn:d.t("toolbox.drawn"),"drawn field":d.t("toolbox.drawn"),initials:d.t("toolbox.initials")};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(r==="initials"&&e===0){return{...t,signer:e,formElementType:"text",elementType:"admin",validation:0}}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:"29de7c455bc5751e14948ad4b43c66c00861deaa"},t("ls-field-properties-container",{key:"0c1b7868762aad4970c929631f58ef1ab984d222",tabs:["content","placement","dimensions"]},t("div",{key:"e2da350bd52cca36a6e41a7ac16458a8c9a0dced",class:"ls-dv-field-set",slot:"content"},this.roles?.length>0&&t("div",{key:"bed024b584c42a4d1f5a5837a759e019b9e0e923",class:"ls-dv-field-properties-section"},t("div",{key:"3f88e61512106138ed6ddfd4b95e5604f1365aa6",class:"ls-dv-field-properties-section-text"},t("p",{key:"42ce407c067ac898d84e3c834f2a43722923ed74",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.assignee")),t("p",{key:"5bd41b404949f5a7c11e1dd57c1df6db20fee5f9",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.assigneedescription"))),t("ls-assignee-select",{key:"9b0a06a5f5bd69ad715a47943802951d6b7446f9",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:"55649b02bb60808c50d276f4dc501624846f8e76",class:"ls-dv-field-properties-section"},t("div",{key:"87cd730b072e3ee85f8125c86753af94b61eebfb",class:"ls-dv-field-properties-section-text"},t("p",{key:"a639517076323107a0374d41436852967c7e28e8",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.fieldtype")),t("p",{key:"e9938f5cf7a910080725bed54d15f136f91242ad",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.fieldtypedescriptionmultiple"))),t("ls-field-type-select",{key:"fd3355233ca27bc2a3189b6f4cc0f9bb40f6086b",fieldType:this.allFieldTypesSame().fieldType,assignee:this.allSignersSame().signer,roles:this.roles,roleTypes:this.getAllRoleTypes(),disabled:this.readonly,mixed:!this.allFieldTypesSame().isSame,filtertoolbox:this.filtertoolbox,onFieldTypeChange:e=>this.handleFieldTypeChange(e.detail)})),t("div",{key:"6844f8248e844b13343ea7a64f08d79aa669395f",class:"ls-dv-field-properties-section ls-dv-row"},t("div",{key:"7abd15950494fe00744996f0010ba82f20bb7ae0",class:"ls-dv-field-properties-section-text"},t("p",{key:"896b07540f9c6041ab861ec7572bdda44ca3d7a5",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.requiredfield")),t("p",{key:"4bf6986abc402ed2cccfadc3f40a591945a15b74",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.requiredfielddescription"))),t("ls-toggle",{key:"d855ca6b7ea5ab34b3064357d7beee3d35b94257",onValueChange:e=>!this.readonly&&this.alterImmediate({optional:!e.detail}),checked:!this.allFieldsOptional().optional,indeterminate:this.allFieldsOptional().isSame===false})),t("div",{key:"ce735c1a092e6e69c6228f19f6eaefe37ddb91b6",class:"ls-dv-field-properties-section"},t("div",{key:"7c1f31243827c2b1e0887e85a4581186eada1ccb",class:"ls-dv-field-properties-section-text"},t("p",{key:"6038de8c61c3b77de6cc69fbed35731d10fe3548",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.fieldlabel")),t("p",{key:"600de26dff2c3077ff35bbdd97ee48419c5a4327",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.fieldlabeldescription"))),t("ls-formfield",{key:"ec5e2d8df6b0af6b33b9a3879051e7af8a986058",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:"b54c766c1d70d06691390c4e3b4ed5edb3c16d38",class:"ls-dv-field-properties-section"},t("div",{key:"42022933f3c98a93e3f758cb24db70b674cab069",class:"ls-dv-field-properties-section-text"},t("p",{key:"840a568f3c1a6590326471809a88beb3ca25d3b3",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.value")),t("p",{key:"fffebb0b5076903cca5a0e0525b7836e27fb4034",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.valuedescription"))),t("ls-formfield",{key:"25d02bfb91b83aa6d4792da1f34b25e1731c577e",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:"80ac44167bd1193bcf92a1c4ef74f83b566d8a1e",class:"ls-dv-error-text"},this.valueError)),this.isAllCheckboxes()&&this.getCheckboxStates().length===2&&t("div",{key:"7f0ffeae4630345066c3bc3c8e3c5a2a88d7acf6",class:"ls-dv-field-properties-section"},t("div",{key:"7d05b728299432e89301a282ef9c30677d8c6df2",class:"ls-dv-field-properties-section-text"},t("p",{key:"3d4d3ac8bc6a8712b4e5ecaf6c14accb6543fad1",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.displaystate")),t("p",{key:"77a4b8d16e84a949439b9f65449224de72f2b91f",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.displaystatedescription"))),t("div",{key:"f102e32a48f7f73d4bef72d1924440ce5d88e935",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:"23d3d90394f36d7fa522e6e022ad435dafffdd5b",class:"ls-dv-mixed-hint"},d.t("fieldproperties.mixed"))),this.allFieldTypesSame().isSame&&this.isDateType()&&t("div",{key:"eb30df8f17cf3c80cb5f66af6d07ce12ca90047e",class:"ls-dv-field-properties-section"},t("div",{key:"d6f163ae7625eb8489882e228725702da605f9f4",class:"ls-dv-field-properties-section-text"},t("p",{key:"3f4f062e77cd77622bff85c4bbf2d995c376c800",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.value"))),t("input",{key:"1a9f8772e1995c7cd893a73bb0e5fbd1fe59383e",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:"5b7dfadd02735ec4d4a0311a1f877fbaac5e1b93",class:"ls-dv-field-properties-section"},t("div",{key:"ba5305c1c5655842d8480f2fb768bbef8749b884",class:"ls-dv-field-properties-section-text"},t("p",{key:"5dc7e79f39c9bcc5ee4c31cde211da111125a297",class:"ls-dv-field-properties-section-title"},d.t("fieldproperties.contentformat")),t("p",{key:"8132c9764993d78ee37575564a9be75bb8289ab3",class:"ls-dv-field-properties-section-description"},d.t("fieldproperties.contentformatdescription"))),t("ls-input-wrapper",{key:"7e8b67506020e02c0138fc394426489c295c9cc3",select:true},t("select",{key:"c7197eafff92b51b46df6d3da846fe70c537502d",onChange:e=>!this.readonly&&this.handleFormatChange(parseInt(e.target.value)),disabled:this.readonly},!this.allValidationsSame().isSame&&t("option",{key:"dac1e5cf6c84e574ca5ac212ae90597a7089b92e",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("ls-field-properties-advanced",{key:"31086c8b1922f35658acf56f7cb735a657a9c230",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"b3638600608f91fca9929942f9d6326cf59a6ad0",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"2f121dce083c6d257d436ca2ff6e13c6b0d0bcdb",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-size",{key:"a36763929cf750adbbf6ffc8108808d9772831c2",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"4ed8136db9c7c1b1b59c8ccd81799e769f3018ba",class:"ls-dv-field-set",slot:"placement"},t("ls-field-alignment",{key:"a490dae79231de0691db3c972477313c1050d9e8",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-placement",{key:"c6ee8196fad5496b05071868ee95a6e933c7917f",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-distribute",{key:"165694779845d972a8ec30533635abedd8b647be",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"86099d63ef3ec92eeb53fd2b95262872411b1085",dataItem:this.dataItem,readonly:this.readonly}),t("slot",{key:"d3ded4d7091efc8448396aa5800be137adb552cf"}))}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 r{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;filtertoolbox=null;render(){return t(i,{key:"693ef03de6533d23301e47492b51fbc61a88b5eb"},t("ls-field-properties-container",{key:"5304b091f69e9eeaf4a52ac73d876ec7cdeebee3",tabs:["content","placement","dimensions"]},t("div",{key:"e4982b6e1c2102ed9f0814f94aa0079f0f7b7e70",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"fd1fdd11da9b0e9cd3e118971d54a1953c18a55c",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly,filtertoolbox:this.filtertoolbox}),t("ls-field-properties-advanced",{key:"288084808d3a567597f3f422eba1be959f9c01dc",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"069b2e3c6d9fff92353cde24353cbe2648735f99",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"43b6537ffb9b0efbc6c38a702f2affd0664e7ead",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"ad32f3ae92f33cfc69c29fe47b15d4800900c163",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"05fb5d7ad68fed167db6595bbed4d62feca02c46",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"aeb44ada15e2c35b2d455ff2a297b1463b2bcfac",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 F=class{constructor(t){e(this,t);this.mutate=o(this,"mutate",7);this.update=o(this,"update",7)}dataItem;roles=[];readonly=false;filtertoolbox=null;mutate;update;labeltimer;debounce(e,t){if(this.labeltimer)clearTimeout(this.labeltimer);this.labeltimer=setTimeout((()=>{const t=[{action:"update",data:e}];this.mutate.emit(t)}),t)}alter(e){this.dataItem={...this.dataItem,...e};this.update.emit([{action:"update",data:this.dataItem}]);this.debounce(this.dataItem,1500)}render(){return t(i,{key:"5047284757c3fdfb04f3cf2ab784e0fa0132542a"},t("ls-field-properties-container",{key:"2b0f0f651b8525a7c3de8961d406341f8abd9fd6",tabs:["content","placement","dimensions"]},t("div",{key:"3a05302b715ea861635a6c88c57b2cd585341d60",class:"ls-dv-field-set",slot:"content"},t("ls-props-section",{key:"023aa4cc62288e4348f994b26f8024314f9cb7c6",sectionTitle:d.t("fieldproperties.expression"),sectionDescription:d.t("fieldproperties.expressiondescription")},t("ls-formfield",{key:"f37bd1d5754e130973eb87c37871244c03a51fb2",as:"text",name:"field-value",value:this.dataItem?.value,placeholder:n(this.dataItem?.formElementType),disabled:this.readonly,onTextChange:e=>this.alter({options:e.detail.value})})),t("ls-field-content",{key:"9af95cefbc77fc4cf7c771b7735d0f6af9deed97",dataItem:this.dataItem,readonly:this.readonly}),t("ls-field-properties-advanced",{key:"3345dfd82bd3675d17ede7b1ef2ed8f286eed788",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"d313b0cc046a1a50e6734cf039753ebff0ab10ac",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"a04dea07e52f103b62bfb846fd5541598572dbfa",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"074bffca6ca8c41457cb84dbcc9c241f2cb2dadc",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"4ebba801e48b484756f6dd968f098b5fd010be18",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"9a3383d47f354fe157c62d1b8d279ca793f8bfba",dataItem:this.dataItem,readonly:this.readonly}))}};F.style=O();const V=()=>`: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;template;roles=[];readonly=false;filtertoolbox=null;render(){return t(i,{key:"290ad98e0c71001e9d7f27ef646440e2ce350d6b"},t("ls-field-properties-container",{key:"b7e5bc1bc32caba17df1ace36347138017abadaa",tabs:["content","placement","dimensions"]},t("div",{key:"9beb54bbf302f9e852be71e35dc0d604e6f7dd1d",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"3952256e61ca9350633b0181810c9173001c89ee",dataItem:this.dataItem,roles:this.roles,showValidationTypes:false,readonly:this.readonly,filtertoolbox:this.filtertoolbox})),t("div",{key:"5741a00003cbe967635cfc63de94473157a5bd52",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"8bda846606e16b323abe7345289e2c21c9cf8036",dataItem:this.dataItem,template:this.template,readonly:this.readonly})),t("div",{key:"576a64d1dc12cb24862964095ead11e6831bc49b",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"fbbfd48b9fca0b8b9c68a2745580a7d72407d66f",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"d651128cfdd7ec2453858bd2f4350d768bdd088d",dataItem:this.dataItem,readonly:this.readonly}))}};L.style=V();const M=()=>`: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 A=class{constructor(t){e(this,t)}dataItem;roles=[];readonly=false;filtertoolbox=null;render(){return t(i,{key:"b03f646a876d4f104ae59afade45f09419d376d1"},t("ls-field-properties-container",{key:"513e4a28fe888b32277647030f04b660cde9333f",tabs:["content","placement","dimensions"]},t("div",{key:"002b82bb6c957a8ccb5413911e3322a803a6ea57",class:"ls-dv-field-set",slot:"content"},t("ls-field-content",{key:"3a4209461e8698749ce42424f0403de9bbb7ab32",dataItem:this.dataItem,roles:this.roles,readonly:this.readonly,filtertoolbox:this.filtertoolbox}),t("ls-field-properties-advanced",{key:"eedd11712f9a49e1570a02c2e4254a95c8bc76dd",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"ef1c0f6099f61eaf911f2466cccdb3f024f1b722",class:"ls-dv-field-set",slot:"dimensions"},t("ls-field-dimensions",{key:"5884b6abcea5f8430b80b37bbef5122aa94225af",dataItem:this.dataItem,readonly:this.readonly})),t("div",{key:"f208669f1e7815554ea7393652fa756302a49cb0",class:"ls-dv-field-set",slot:"placement"},t("ls-field-placement",{key:"4932b1ef1f5b6f6139cc464fb8804805210312ec",dataItem:this.dataItem,readonly:this.readonly}))),t("ls-field-footer",{key:"ccee8152b96db46cfbf9ad1fd7fb67ce74bf6b1a",dataItem:this.dataItem,readonly:this.readonly}))}};A.style=M();const Y=()=>`: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 B=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((()=>{if(!e.name||e.name.trim()===""){e={...e,name:"Participant "+e.ordinal};this.signer=e}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"]}}};B.style=Y();const G=()=>`.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 K=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:"d11e453545317dfd24171e037ecacd02250ebef1"},t("div",{key:"820ab2f90173fef8c5e1ff6f485c1abacde1b36f",class:"ls-dv-editor-infobox"},t("h2",{key:"df3a23e08ecfe9746d1dc74a3760791308372d1d",class:"ls-dv-toolbox-section-title"},d.t("participants.title")),t("p",{key:"8be3f4028d67211d8dcd45bd05a099eaf6edf3e9",class:"ls-dv-toolbox-section-description"},d.t("participants.description"))),t("div",{key:"1283ed6bfd2089f97e6a31393eb22a3a76654ddd",class:"ls-dv-participant-list"},t("div",{key:"4a8e45f9df2a78baa1ae80086fcf215a444e3bac",class:"ls-dv-sender-card"+(this.activeSigner===0?" ls-dv-sender-card-active":""),onClick:()=>this.roleChange.emit(0)},t("div",{key:"e43353bad4230ca21a3cc31428a6703d85fab303",class:"ls-dv-sender-card-inner"},t("div",{key:"8251ba4aa0becff8ddf0778c355e3329190e9108",class:"ls-dv-sender-card-top-items"},t("div",{key:"0d16d84f1c3f9b4dfc62d86ee5e4d5f12fd14dd8",class:"ls-dv-role-label",style:{background:"#edeff2",color:"#5e6066"}},t("ls-icon",{key:"1dddeb8471373e4208421af13fcc6bbbfddb4fa7",name:"user-icon"}))),t("div",{key:"6d17780456a562242a555c0608a70583e897eeba",class:"ls-dv-sender-card-text"},t("p",{key:"fa54d93e9cc99f845ca4b666d538f35234020547",class:"ls-dv-sender-name"},d.t("toolbar.sender")),t("p",{key:"891d3651c627a07bebada9fe7eb357756f6c0d87",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:"87e349610a247f24e825035332a73178f4984020",class:"ls-dv-add-participant-button"},t("ls-add-new-button",{key:"f83bb08020f039399391da1a27392250ebd1c594",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:"d7c6397fc52afd6e224b4feff3aa43af24dc7cdf"}))}static get watchers(){return{template:["templateChanged"]}}};K.style=G();const U=()=>`: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 J=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"));return t(i,{key:"6ec241272970629ad7c71090d206299ab1c9acb7"},t("div",{key:"e9a0cf82965913da1dae36462a00818144adb107",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:"73e4f9c196ef982788e9a53052f5d9241095be17",class:"ls-dv-participant-card-inner"},t("div",{key:"0206ba99f13f801fb496900fa3cd513da4db50be",class:"ls-dv-participant-card-top-items"},t("div",{key:"d75fc245340c08fcd454b98e629407e23d086a88",class:"ls-dv-role-label",style:{background:p[this.recipient?.signerIndex%100].s20,color:p[this.recipient?.signerIndex%100].s90}},t("ls-icon",{key:"72dc6faa35e5a57b47c9a224c7046e0d4568c4a1",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:"6275244338763336bf1b79dd2ebe7b45a7531bd9",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:"c18ef900610cb4ecac9fbbae02109c413306c344",class:"ls-dv-dot",style:{display:(!this.isHovered||this.recipient.signerIndex===this.activeRecipient)&&this.validationErrors.filter((e=>e?.signerIndex===this.recipient.signerIndex&&e?.title==="Missing signature")).length>0?"block":"none"}})),t("div",{key:"0e3b3d102a0fa190c79e15eaef7977d002665df1",class:"ls-dv-participant-card-text"},t("p",{key:"279c7e33a04a7326892f25961f9ce38efb6bb37f",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:"294414cb6e35b00e21a22726219f09d09fda9444",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:"aa9810e4409fded7ada42c8ea8a074b5eefd4402",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:"ff247196fd95120ef6b5214f12918274dffa84fa",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:"8270a445b4a7379afe92fe740b766f98b1366f88",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:"ba4011c890f9921f590c9c0ff4a47334a6aabb82",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:"38b838b172f498b0bbdce5ba53b5dec3c0b4e099",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:"8ec18fc8ddda4b9b9314d33946677316d2065253",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:"2aeda658082fcd49c93e4621dc32776f1b75acee",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")&&this.recipient.signerIndex>0&&t("ls-toolbox-field",{key:"74a6b48bc57234dd3758ca374409316e5a8d40dc",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:"0208b96de6360d690d295048d299aeac33434484",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:"4bf3c0733dbda5dfaad4d872f374ad0fe44044dc",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}),this.showTool("checkbox")&&t("ls-toolbox-field",{key:"61cc09819857bf86a3d88e7d348c0cfa036bd02a",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.showTool("regex")&&t("ls-toolbox-field",{key:"b7432a2a5bc8f1c5a27390740786e947ea4ade8e",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:"ccdcd10e94bffb43a482728b9749bea064feee5f",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:"3bcc7e6cc1aa64a0b29b924945427aac4a2b6703",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:"f7560634727f54b5fd5ef8944d54cec64969a816"}),t("ls-tooltip",{key:"41d728fe058b1c0c9465080485b8b8770a9d0cfb",tooltipId:"ls-dv-tooltip"}))}static get watchers(){return{activeRecipient:["handleExpandCollapse"]}}};J.style=U();const Q=()=>`: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 X=class{constructor(t){e(this,t)}render(){return t(i,{key:"f25631e86e911671b437108effe47fb62874ebcd"},t("div",{key:"2d4743fa6c4323b6d5cbf8a3d1a555492b345c78",class:"ls-dv-editor-infobox"},t("h2",{key:"15f7e78a17f00968e95058c11c35ebe9c058b467",class:"ls-dv-toolbox-section-title"},d.t("recipients.title")),t("p",{key:"7dc743cf8594563fddf69e9687fa1b554bd395e1",class:"ls-dv-toolbox-section-description"},d.t("recipients.description"))),t("slot",{key:"7a71d4d08bb3a8f40e024a20a651f8a61f501bd8"}))}};X.style=Q();const Z=()=>`: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 ee=class{constructor(t){e(this,t);this.selectFields=o(this,"selectFields",7)}validationErrors;selectFields;render(){return t(i,{key:"928eb8fbeefadde1d7f5e78362aa66589d595bea"},t("div",{key:"5a6cca0dbcd9242b5d640d51062ccc0097c39ea6"},t("div",{key:"d889638e7e9453e598c13f5dd9e824ec3d8894aa"},t("div",{key:"71c8b4edc2c3f56e5162484871fcdd1da52c8668",class:"ls-dv-validation-section-title"},d.t("common.actionrequired")),t("p",{key:"5f355c3fdfb451a56c8f06aaef9924c69aab237b",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:"6fa7c70b0005d667ddfe2a02a8a79314780a8ade"}))}};ee.style=Z();const te=()=>`: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-validation-tag-description-compose{font-size:0.75rem;color:var(--gray-80, #6f7176);line-height:1rem}.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:15rem;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 re=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:"247b733f4897f59183c1ab502d3a76ff422577fd",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:"7ce645e4c67eb5afafe345b8486a3adbf3248658",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:"4a25db5aa812a96a20423aa301d153a219752818",class:"ls-dv-field-dropdown ls-dv-field-dropdown-success",style:{top:"3.5rem"}},t("div",{key:"e92fd7eb21e43944cb2b7ad46db97ad7a7991f75",class:"ls-dv-dropdown-success-icon-outer"},t("div",{key:"d390d686347634514c245a2ac69943ab9a059c5d",class:"ls-dv-dropdown-success-icon-inner"},t("ls-icon",{key:"0e4c477b4e5f0bd8e0bcfde95faadb6abb227db2",name:"check-icon",solid:true,size:28}))),t("div",{key:"a6d3ccf60ead898bf64a7a35ec9836d605ee4f7a",class:"ls-dv-dropdown-header"},t("h2",{key:"ff38a1c0f77afb32df2f95538426ae752bdb8548"},d.t("common.templatereadytosend")),t("p",{key:"8a8a9955a0722396e7c14887d636621a328c1a28"},d.t("common.allfieldsplaced")))),this.isExpanded&&this.validationErrors.length!==0&&this.showDropDown&&this.type==="compose"&&t("div",{key:"8281c515741d7811112471713188398f8e3d826b",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")),t("p",{class:"ls-dv-validation-tag-description-compose"},e.length," ",e.length===1?d.t("validation.recipientrequiressignature"):d.t("validation.recipientsrequiressignatures"))),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")),t("p",{class:"ls-dv-validation-tag-description-compose"},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",{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")),t("p",{class:"ls-dv-validation-tag-description-compose"},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",{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)))})))]})()))}};re.style=te();export{v 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,S 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,F as ls_field_properties_regex,L as ls_field_properties_signature,A as ls_field_properties_text,B as ls_participant_card,K as ls_participant_manager,J as ls_recipient_card,X as ls_recipient_manager,ee as ls_validation_manager,re as ls_validation_tag};
2
+ //# sourceMappingURL=p-83cec731.entry.js.map
@@ -0,0 +1 @@
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","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","min","documentRetentionDays","pageCount","created","createdBy","tooltipId","lsFeatureColumnCss","LsFeatureColoumn","manage","manager","mode","lsFieldPropertiesCss","LsFieldProperties","dataItem","readonly","filtertoolbox","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","file","drawn","initials","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","watchers","lsFieldPropertiesNumberCss","LsFieldPropertiesNumber$1","LsFieldPropertiesNumber","lsFieldPropertiesRegexCss","sectionTitle","sectionDescription","lsFieldPropertiesSignatureCss","LsFieldPropertiesSignature","lsFieldPropertiesTextCss","LsFieldPropertiesText","lsParticipantCardCss","LsParticipantCard","opened","roleChange","addParticipant","index","editable","active","trim","ordinal","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","s40","leadingIcon","wdith","defaultValue","variant","outline","fullWidth","parent","s100","scrollWidth","clientWidth","removeAttribute","s80","textTransform","toLowerCase","marginRight","lsParticipantManagerCss","LsParticipantManager","element","editor","activeSigner","addingParticipant","selectedHandler","_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","handleFieldTypeSelected","fields","console","log","isSelected","showTool","fieldFormType","cardRef","handleExpandCollapse","isActive","maxHeight","scrollHeight","recipientFields","recipientSignatures","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,M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