legalesign-document-viewer 0.4.4 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/dist/cjs/{index-BpMnxZQ4.js → index-C4ibYtjE.js} +5 -5
  2. package/dist/cjs/{index-BpMnxZQ4.js.map → index-C4ibYtjE.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/ls-compose-manager.cjs.entry.js +3 -3
  5. package/dist/cjs/{ls-document-options_45.cjs.entry.js → ls-document-options_46.cjs.entry.js} +312 -171
  6. package/dist/cjs/ls-document-options_46.cjs.entry.js.map +1 -0
  7. package/dist/cjs/ls-document-viewer.cjs.js +2 -2
  8. package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +2 -2
  9. package/dist/cjs/ls-formfield.cjs.entry.js +4 -4
  10. package/dist/cjs/ls-number-input_5.cjs.entry.js +8 -8
  11. package/dist/collection/collection-manifest.json +1 -0
  12. package/dist/collection/components/ls-compose-manager/ls-compose-manager.js +2 -2
  13. package/dist/collection/components/ls-document-viewer/editorCalculator.js +2 -0
  14. package/dist/collection/components/ls-document-viewer/editorCalculator.js.map +1 -1
  15. package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +37 -1
  16. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +32 -6
  17. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
  18. package/dist/collection/components/ls-editor-field/ls-editor-field.css +16 -4
  19. package/dist/collection/components/ls-editor-field/ls-editor-field.js +116 -16
  20. package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -1
  21. package/dist/collection/components/ls-editor-table/ls-editor-table.js +1 -1
  22. package/dist/collection/components/ls-feature-column/ls-feature-column.js +6 -6
  23. package/dist/collection/components/ls-field-alignment/ls-field-alignment.js +2 -2
  24. package/dist/collection/components/ls-field-content/ls-field-content.js +2 -2
  25. package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +1 -1
  26. package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +5 -5
  27. package/dist/collection/components/ls-field-footer/ls-field-footer.js +1 -1
  28. package/dist/collection/components/ls-field-format/ls-field-format.js +11 -11
  29. package/dist/collection/components/ls-field-placement/ls-field-placement.js +1 -1
  30. package/dist/collection/components/ls-field-properties/ls-field-properties.js +1 -1
  31. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +2 -2
  32. package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js +1 -1
  33. package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.js +1 -1
  34. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +1 -1
  35. package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js +1 -1
  36. package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +1 -1
  37. package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +1 -1
  38. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +1 -1
  39. package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js +1 -1
  40. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +3 -3
  41. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +1 -1
  42. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +1 -1
  43. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +1 -1
  44. package/dist/collection/components/ls-field-size/ls-field-size.js +1 -1
  45. package/dist/collection/components/ls-field-type-display/ls-field-type-display.js +3 -3
  46. package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js +1 -1
  47. package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +1 -1
  48. package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +1 -1
  49. package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +2 -2
  50. package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +1 -1
  51. package/dist/collection/components/ls-formfield/ls-formfield.js +2 -2
  52. package/dist/collection/components/ls-helper-bar/ls-helper-bar.js +2 -2
  53. package/dist/collection/components/ls-icon/ls-icon.js +1 -1
  54. package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js +1 -1
  55. package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.js +1 -1
  56. package/dist/collection/components/ls-page-loader/ls-page-loader.js +2 -2
  57. package/dist/collection/components/ls-participant-card/ls-participant-card.js +8 -8
  58. package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +2 -2
  59. package/dist/collection/components/ls-participant-select/ls-participant-select.js +9 -9
  60. package/dist/collection/components/ls-props-section/ls-props-section.js +1 -1
  61. package/dist/collection/components/ls-recipient-card/ls-recipient-card.css +15 -0
  62. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +29 -5
  63. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -1
  64. package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +1 -1
  65. package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -3
  66. package/dist/collection/components/ls-title-input/ls-title-input.css +320 -0
  67. package/dist/collection/components/ls-title-input/ls-title-input.js +130 -0
  68. package/dist/collection/components/ls-title-input/ls-title-input.js.map +1 -0
  69. package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
  70. package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
  71. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +3 -3
  72. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js.map +1 -1
  73. package/dist/collection/components/ls-tooltip/ls-tooltip.js +1 -1
  74. package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +2 -2
  75. package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +25 -3
  76. package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
  77. package/dist/collection/types/ValidationError.js.map +1 -1
  78. package/dist/components/index.js +1 -1
  79. package/dist/components/ls-compose-manager.js +3 -3
  80. package/dist/components/ls-document-options.js +1 -1
  81. package/dist/components/ls-document-viewer.js +128 -97
  82. package/dist/components/ls-document-viewer.js.map +1 -1
  83. package/dist/components/ls-editor-field.js +1 -1
  84. package/dist/components/ls-editor-table.js +1 -1
  85. package/dist/components/ls-feature-column.js +1 -1
  86. package/dist/components/ls-field-alignment.js +1 -1
  87. package/dist/components/ls-field-content.js +1 -1
  88. package/dist/components/ls-field-dimensions.js +1 -1
  89. package/dist/components/ls-field-distribute.js +1 -1
  90. package/dist/components/ls-field-footer.js +1 -1
  91. package/dist/components/ls-field-format.js +1 -1
  92. package/dist/components/ls-field-placement.js +1 -1
  93. package/dist/components/ls-field-properties-advanced.js +1 -1
  94. package/dist/components/ls-field-properties-autosign.js +1 -1
  95. package/dist/components/ls-field-properties-container.js +1 -1
  96. package/dist/components/ls-field-properties-date.js +1 -1
  97. package/dist/components/ls-field-properties-dropdown.js +15 -15
  98. package/dist/components/ls-field-properties-email.js +1 -1
  99. package/dist/components/ls-field-properties-file.js +1 -1
  100. package/dist/components/ls-field-properties-general.js +1 -1
  101. package/dist/components/ls-field-properties-image.js +1 -1
  102. package/dist/components/ls-field-properties-multiple.js +1 -1
  103. package/dist/components/ls-field-properties-number.js +1 -1
  104. package/dist/components/ls-field-properties-signature.js +1 -1
  105. package/dist/components/ls-field-properties-text.js +1 -1
  106. package/dist/components/ls-field-properties.js +1 -1
  107. package/dist/components/ls-field-size.js +1 -1
  108. package/dist/components/ls-field-type-display.js +1 -1
  109. package/dist/components/ls-formfield.js +10 -10
  110. package/dist/components/ls-helper-bar.js +1 -1
  111. package/dist/components/ls-icon.js +1 -1
  112. package/dist/components/ls-input-wrapper.js +1 -1
  113. package/dist/components/ls-keyboard-shortcuts.js +1 -1
  114. package/dist/components/ls-number-input.js +1 -1
  115. package/dist/components/ls-page-loader.js +1 -1
  116. package/dist/components/ls-participant-card.js +1 -1
  117. package/dist/components/ls-participant-manager.js +1 -1
  118. package/dist/components/ls-participant-select.js +1 -1
  119. package/dist/components/ls-props-section.js +1 -1
  120. package/dist/components/ls-radio-input.js +1 -1
  121. package/dist/components/ls-recipient-card.js +1 -1
  122. package/dist/components/ls-recipient-manager.js +1 -1
  123. package/dist/components/ls-select-input.js +1 -1
  124. package/dist/components/ls-statusbar.js +1 -1
  125. package/dist/components/ls-text-input.js +1 -1
  126. package/dist/components/ls-textarea-input.js +1 -1
  127. package/dist/components/ls-title-input.d.ts +11 -0
  128. package/dist/components/ls-title-input.js +9 -0
  129. package/dist/components/ls-title-input.js.map +1 -0
  130. package/dist/components/ls-toggle.js +1 -1
  131. package/dist/components/ls-toolbar.js +1 -1
  132. package/dist/components/ls-toolbox-field.js +1 -1
  133. package/dist/components/ls-tooltip.js +1 -1
  134. package/dist/components/ls-validation-manager.js +1 -1
  135. package/dist/components/ls-validation-tag.js +1 -1
  136. package/dist/components/{p-FjzffTyc.js → p--zZz_own.js} +13 -13
  137. package/dist/components/{p-FjzffTyc.js.map → p--zZz_own.js.map} +1 -1
  138. package/dist/components/{p-C8ZQeYj-.js → p-6rlVwY5W.js} +68 -21
  139. package/dist/components/p-6rlVwY5W.js.map +1 -0
  140. package/dist/components/{p-DMgdq7Zj.js → p-8Uklt2-a.js} +15 -15
  141. package/dist/components/{p-DMgdq7Zj.js.map → p-8Uklt2-a.js.map} +1 -1
  142. package/dist/components/{p-Cqxe6wZe.js → p-B4SrLUIV.js} +7 -7
  143. package/dist/components/{p-Cqxe6wZe.js.map → p-B4SrLUIV.js.map} +1 -1
  144. package/dist/components/{p-DyU3O3tg.js → p-BE42_s-A.js} +19 -19
  145. package/dist/components/{p-DyU3O3tg.js.map → p-BE42_s-A.js.map} +1 -1
  146. package/dist/components/{p-B-j9D08q.js → p-BQBNj3wS.js} +5 -5
  147. package/dist/components/{p-B-j9D08q.js.map → p-BQBNj3wS.js.map} +1 -1
  148. package/dist/components/{p-CtV1B-_5.js → p-BQN3l4X7.js} +4 -4
  149. package/dist/components/{p-CtV1B-_5.js.map → p-BQN3l4X7.js.map} +1 -1
  150. package/dist/components/{p-CaBVuofO.js → p-BSoZFh0I.js} +4 -4
  151. package/dist/components/{p-CaBVuofO.js.map → p-BSoZFh0I.js.map} +1 -1
  152. package/dist/components/p-Ba9CMqrU.js +77 -0
  153. package/dist/components/p-Ba9CMqrU.js.map +1 -0
  154. package/dist/components/{p-CNc1l7mG.js → p-Bk5EZZj6.js} +10 -10
  155. package/dist/components/{p-CNc1l7mG.js.map → p-Bk5EZZj6.js.map} +1 -1
  156. package/dist/components/{p-CEhCcP_A.js → p-BnGihP6t.js} +5 -5
  157. package/dist/components/p-BnGihP6t.js.map +1 -0
  158. package/dist/components/{p-DCZnqvsu.js → p-ByNRBaHk.js} +8 -8
  159. package/dist/components/{p-DCZnqvsu.js.map → p-ByNRBaHk.js.map} +1 -1
  160. package/dist/components/{p-BiOHci04.js → p-C-jvthbB.js} +17 -17
  161. package/dist/components/{p-BiOHci04.js.map → p-C-jvthbB.js.map} +1 -1
  162. package/dist/components/{p-DKcMRnoh.js → p-C3Qs4SL0.js} +4 -4
  163. package/dist/components/{p-DKcMRnoh.js.map → p-C3Qs4SL0.js.map} +1 -1
  164. package/dist/components/{p-DKx68i7a.js → p-C5Wwr500.js} +17 -17
  165. package/dist/components/{p-DKx68i7a.js.map → p-C5Wwr500.js.map} +1 -1
  166. package/dist/components/{p-COypjAnE.js → p-C7jd-O6l.js} +9 -9
  167. package/dist/components/p-C7jd-O6l.js.map +1 -0
  168. package/dist/components/{p-D-yItxA4.js → p-CB2IouRT.js} +4 -4
  169. package/dist/components/{p-D-yItxA4.js.map → p-CB2IouRT.js.map} +1 -1
  170. package/dist/components/{p-BIqQK9GI.js → p-CO-U7TRb.js} +8 -8
  171. package/dist/components/{p-BIqQK9GI.js.map → p-CO-U7TRb.js.map} +1 -1
  172. package/dist/components/{p-B2TUFMT0.js → p-CRFtX_Cr.js} +7 -7
  173. package/dist/components/{p-B2TUFMT0.js.map → p-CRFtX_Cr.js.map} +1 -1
  174. package/dist/components/{p-HB8K0xP0.js → p-CSShMZoN.js} +8 -8
  175. package/dist/components/{p-HB8K0xP0.js.map → p-CSShMZoN.js.map} +1 -1
  176. package/dist/components/{p-B2etz1Ic.js → p-Cjs9opNb.js} +17 -17
  177. package/dist/components/{p-B2etz1Ic.js.map → p-Cjs9opNb.js.map} +1 -1
  178. package/dist/components/{p-BzY8ubZE.js → p-CnzdsJ7f.js} +8 -8
  179. package/dist/components/{p-BzY8ubZE.js.map → p-CnzdsJ7f.js.map} +1 -1
  180. package/dist/components/{p-QEWyXsBw.js → p-CtqzTrW1.js} +17 -17
  181. package/dist/components/{p-QEWyXsBw.js.map → p-CtqzTrW1.js.map} +1 -1
  182. package/dist/components/{p-DC0HL60H.js → p-CwVY532N.js} +4 -4
  183. package/dist/components/{p-DC0HL60H.js.map → p-CwVY532N.js.map} +1 -1
  184. package/dist/components/{p-D-U9fbV-.js → p-Cwm6iZnk.js} +12 -12
  185. package/dist/components/{p-D-U9fbV-.js.map → p-Cwm6iZnk.js.map} +1 -1
  186. package/dist/components/{p-CrVSg3t4.js → p-D3F0Jtj5.js} +6 -6
  187. package/dist/components/{p-CrVSg3t4.js.map → p-D3F0Jtj5.js.map} +1 -1
  188. package/dist/components/{p-DPtMBZYM.js → p-DC1C7wSu.js} +13 -13
  189. package/dist/components/{p-DPtMBZYM.js.map → p-DC1C7wSu.js.map} +1 -1
  190. package/dist/components/{p-B3axAGVs.js → p-DEWvb3CA.js} +8 -8
  191. package/dist/components/{p-B3axAGVs.js.map → p-DEWvb3CA.js.map} +1 -1
  192. package/dist/components/{p-DZ_KhOns.js → p-DKR6lJi9.js} +8 -8
  193. package/dist/components/{p-DZ_KhOns.js.map → p-DKR6lJi9.js.map} +1 -1
  194. package/dist/components/p-DMbfojtQ.js +150 -0
  195. package/dist/components/p-DMbfojtQ.js.map +1 -0
  196. package/dist/components/{p-DPVPaPb1.js → p-DMtkP3At.js} +4 -4
  197. package/dist/components/{p-DPVPaPb1.js.map → p-DMtkP3At.js.map} +1 -1
  198. package/dist/components/{p-B7S9E2ci.js → p-DSfRG8h-.js} +17 -17
  199. package/dist/components/{p-B7S9E2ci.js.map → p-DSfRG8h-.js.map} +1 -1
  200. package/dist/components/{p-DmszHmWG.js → p-DUSbyLyO.js} +30 -30
  201. package/dist/components/{p-DmszHmWG.js.map → p-DUSbyLyO.js.map} +1 -1
  202. package/dist/components/{p-Ji_SfsNu.js → p-Da5X5ldP.js} +5 -5
  203. package/dist/components/{p-Ji_SfsNu.js.map → p-Da5X5ldP.js.map} +1 -1
  204. package/dist/components/{p-NoKw4xu7.js → p-DeA6P5Nw.js} +5 -5
  205. package/dist/components/{p-NoKw4xu7.js.map → p-DeA6P5Nw.js.map} +1 -1
  206. package/dist/components/{p-DGuG1Bmj.js → p-DfaX9tao.js} +9 -9
  207. package/dist/components/{p-DGuG1Bmj.js.map → p-DfaX9tao.js.map} +1 -1
  208. package/dist/components/{p-CCt1S0nA.js → p-Dgc5eQou.js} +17 -17
  209. package/dist/components/{p-CCt1S0nA.js.map → p-Dgc5eQou.js.map} +1 -1
  210. package/dist/components/{p-CTGwIImt.js → p-Dh7zFd1I.js} +5 -5
  211. package/dist/components/{p-CTGwIImt.js.map → p-Dh7zFd1I.js.map} +1 -1
  212. package/dist/components/{p-BNX_U6jC.js → p-Dr_eGXsl.js} +11 -11
  213. package/dist/components/{p-BNX_U6jC.js.map → p-Dr_eGXsl.js.map} +1 -1
  214. package/dist/components/{p-raaSYxtA.js → p-DuLbniAl.js} +5 -5
  215. package/dist/components/{p-raaSYxtA.js.map → p-DuLbniAl.js.map} +1 -1
  216. package/dist/components/{p-CdFJ_FQz.js → p-Fw6kMqPe.js} +18 -18
  217. package/dist/components/{p-CdFJ_FQz.js.map → p-Fw6kMqPe.js.map} +1 -1
  218. package/dist/components/{p-G8kF15oY.js → p-K67Z4FW4.js} +12 -7
  219. package/dist/components/p-K67Z4FW4.js.map +1 -0
  220. package/dist/components/{p-CuyjSEEv.js → p-Nj0OCBoq.js} +12 -12
  221. package/dist/components/{p-CuyjSEEv.js.map → p-Nj0OCBoq.js.map} +1 -1
  222. package/dist/components/{p-R3_FOlEq.js → p-RnnpDT-h.js} +8 -8
  223. package/dist/components/{p-R3_FOlEq.js.map → p-RnnpDT-h.js.map} +1 -1
  224. package/dist/components/{p-DDNZkGBj.js → p-dMh2qwev.js} +17 -17
  225. package/dist/components/{p-DDNZkGBj.js.map → p-dMh2qwev.js.map} +1 -1
  226. package/dist/components/{p-DVtr8lsT.js → p-dsAPfCxI.js} +4 -4
  227. package/dist/components/{p-DVtr8lsT.js.map → p-dsAPfCxI.js.map} +1 -1
  228. package/dist/components/{p-cwpKMDgH.js → p-ecEYUtBb.js} +18 -18
  229. package/dist/components/{p-cwpKMDgH.js.map → p-ecEYUtBb.js.map} +1 -1
  230. package/dist/components/{p-9pxwrFws.js → p-oKJS53QI.js} +5 -5
  231. package/dist/components/{p-9pxwrFws.js.map → p-oKJS53QI.js.map} +1 -1
  232. package/dist/components/{p-BzxhEsKd.js → p-oLmlMT4P.js} +17 -17
  233. package/dist/components/{p-BzxhEsKd.js.map → p-oLmlMT4P.js.map} +1 -1
  234. package/dist/components/{p-BUfnTaTZ.js → p-oiSMxbl6.js} +9 -9
  235. package/dist/components/{p-BUfnTaTZ.js.map → p-oiSMxbl6.js.map} +1 -1
  236. package/dist/components/{p-DUBoFEsx.js → p-zC7rIWhO.js} +10 -10
  237. package/dist/components/{p-DUBoFEsx.js.map → p-zC7rIWhO.js.map} +1 -1
  238. package/dist/esm/{index-BzcAlD18.js → index-o0lmYfXA.js} +5 -5
  239. package/dist/esm/{index-BzcAlD18.js.map → index-o0lmYfXA.js.map} +1 -1
  240. package/dist/esm/loader.js +3 -3
  241. package/dist/esm/ls-compose-manager.entry.js +3 -3
  242. package/dist/esm/{ls-document-options_45.entry.js → ls-document-options_46.entry.js} +312 -172
  243. package/dist/esm/ls-document-options_46.entry.js.map +1 -0
  244. package/dist/esm/ls-document-viewer.js +3 -3
  245. package/dist/esm/ls-field-properties-dropdown.entry.js +2 -2
  246. package/dist/esm/ls-formfield.entry.js +4 -4
  247. package/dist/esm/ls-number-input_5.entry.js +8 -8
  248. package/dist/ls-document-viewer/clsx-ChV9xqsO.js.map +1 -0
  249. package/dist/ls-document-viewer/defaultFieldIcons-Cp3IxvzK.js.map +1 -0
  250. package/dist/ls-document-viewer/defaultPalette-CwCWCxsI.js.map +1 -0
  251. package/dist/ls-document-viewer/editorUtils-NnO0Pp81.js.map +1 -0
  252. package/dist/ls-document-viewer/floating-ui.dom-DtWVTgos.js.map +1 -0
  253. package/dist/ls-document-viewer/index-BYWn8bjJ.js.map +1 -0
  254. package/dist/ls-document-viewer/index.esm.js.map +1 -1
  255. package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
  256. package/dist/ls-document-viewer/ls-document-viewer.esm.js.map +1 -1
  257. package/dist/ls-document-viewer/p-0f4af1a9.entry.js +2 -0
  258. package/dist/ls-document-viewer/{p-350754cb.entry.js → p-1e64ed2c.entry.js} +2 -2
  259. package/dist/ls-document-viewer/{p-350754cb.entry.js.map → p-1e64ed2c.entry.js.map} +1 -1
  260. package/dist/ls-document-viewer/{p-06c34a72.entry.js → p-a7817cc4.entry.js} +6 -6
  261. package/dist/ls-document-viewer/p-a7817cc4.entry.js.map +1 -0
  262. package/dist/ls-document-viewer/p-b1237a47.entry.js +2 -0
  263. package/dist/ls-document-viewer/p-f8d4e7a2.entry.js +2 -0
  264. package/dist/ls-document-viewer/{p-fbb241f1.entry.js.map → p-f8d4e7a2.entry.js.map} +1 -1
  265. package/dist/ls-document-viewer/p-o0lmYfXA.js +3 -0
  266. package/dist/ls-document-viewer/{p-BzcAlD18.js.map → p-o0lmYfXA.js.map} +1 -1
  267. package/dist/ls-document-viewer/tooltip-Cb8nDMs-.js.map +1 -0
  268. package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +1 -0
  269. package/dist/types/components/ls-editor-field/ls-editor-field.d.ts +10 -0
  270. package/dist/types/components/ls-recipient-card/ls-recipient-card.d.ts +3 -0
  271. package/dist/types/components/ls-title-input/ls-title-input.d.ts +14 -0
  272. package/dist/types/components/ls-validation-tag/ls-validation-tag.d.ts +2 -0
  273. package/dist/types/components.d.ts +63 -0
  274. package/dist/types/types/ValidationError.d.ts +1 -2
  275. package/package.json +1 -1
  276. package/readme.md +276 -26
  277. package/dist/cjs/ls-document-options_45.cjs.entry.js.map +0 -1
  278. package/dist/components/p-B2ofj7BM.js +0 -127
  279. package/dist/components/p-B2ofj7BM.js.map +0 -1
  280. package/dist/components/p-C8ZQeYj-.js.map +0 -1
  281. package/dist/components/p-CEhCcP_A.js.map +0 -1
  282. package/dist/components/p-COypjAnE.js.map +0 -1
  283. package/dist/components/p-G8kF15oY.js.map +0 -1
  284. package/dist/esm/ls-document-options_45.entry.js.map +0 -1
  285. package/dist/ls-document-viewer/p-06c34a72.entry.js.map +0 -1
  286. package/dist/ls-document-viewer/p-3a4da534.entry.js +0 -2
  287. package/dist/ls-document-viewer/p-3c5fa1d7.entry.js +0 -2
  288. package/dist/ls-document-viewer/p-BzcAlD18.js +0 -3
  289. package/dist/ls-document-viewer/p-fbb241f1.entry.js +0 -2
  290. /package/dist/ls-document-viewer/{p-3c5fa1d7.entry.js.map → p-0f4af1a9.entry.js.map} +0 -0
  291. /package/dist/ls-document-viewer/{p-3a4da534.entry.js.map → p-b1237a47.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ls-editor-field.js","sourceRoot":"","sources":["../../../src/components/ls-editor-field/ls-editor-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAG7G,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,kBAAkB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AQ,EAAE,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,eAAe,CACzG,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Element, State, Prop, Watch, Listen, Event, EventEmitter } from '@stencil/core';\nimport { LSApiElement } from '../../components';\nimport { LSMutateEvent } from '../../types/LSMutateEvent';\nimport { getInputType } from '../ls-document-viewer/editorUtils';\nimport { defaultRolePalette } from '../ls-document-viewer/defaultPalette';\n\n@Component({\n tag: 'ls-editor-field',\n styleUrl: 'ls-editor-field.css',\n shadow: true,\n})\nexport class LsEditorField {\n @Element() component: HTMLElement;\n @Prop({ mutable: true }) dataItem: LSApiElement;\n @Prop() selected: boolean = false;\n @Prop() readonly: boolean;\n @Prop() type: 'text' | 'signature' | 'date' | 'regex' | 'file' | 'number' | 'autodate';\n @Prop() page: { height: number; width: number };\n @Prop() fixedAspect: number | null = null;\n @State() isEditing: boolean = false;\n @State() heldEdge: string = null;\n @State() isEdgeDragging: boolean = false;\n @State() innerValue: string;\n private sizeObserver: ResizeObserver;\n\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n mutate: EventEmitter<LSMutateEvent[]>;\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n update: EventEmitter<LSMutateEvent[]>;\n\n @Listen('keydown')\n handleInput(e: KeyboardEvent) {\n if (e.code === 'Enter') {\n this.isEditing = false;\n this.sizeObserver.observe(this.component.shadowRoot.getElementById('field-info'));\n }\n }\n\n @Listen('mousemove', { capture: true })\n handleMouseMove(e) {\n if (this.readonly) return;\n if (!e.clientX) return;\n\n // Determine which edge is being moved over and what cursor to show.\n if (Math.abs(e.offsetX) < 5) {\n this.component.style.cursor = 'ew-resize';\n } else if (Math.abs(e.offsetX - this.component.clientWidth) < 5) {\n this.component.style.cursor = 'ew-resize';\n } else if (Math.abs(e.offsetY) < 5) {\n this.component.style.cursor = 'ns-resize';\n } else if (Math.abs(e.offsetY - this.component.clientHeight) < 5) {\n this.component.style.cursor = 'ns-resize';\n } else {\n this.component.style.cursor = 'move';\n }\n }\n\n @Listen('dblclick', { capture: true })\n handleDoubleClick() {\n if (this.readonly) return;\n this.isEditing = true;\n this.heldEdge = null;\n this.isEdgeDragging = false;\n this.sizeObserver.disconnect();\n this.innerValue = this.innerValue ? this.innerValue : this.dataItem?.value;\n\n const editbox = this.component.shadowRoot.getElementById('editing-input') as HTMLInputElement;\n console.log(this.dataItem);\n\n if (editbox) {\n editbox.className = 'ls-editor-field-editable';\n editbox.focus();\n }\n }\n\n @Listen('dragstart', { capture: false, passive: false })\n handleDragStart(event) {\n // Add the target element's id to the data transfer object\n event.dataTransfer.setData(\n 'application/json',\n JSON.stringify({\n type: this.type,\n }),\n );\n event.dataTransfer.dropEffect = 'move';\n }\n\n @Watch('selected')\n watchSelectedHandler(_newValue: boolean, _oldValue: boolean) {\n if (_newValue) {\n this.component.style.background = defaultRolePalette[this.dataItem?.signer % 100].s20;\n this.component.style.opacity = '0.7';\n this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';\n } else {\n this.component.style.background = '#ffffff';\n this.component.style.opacity = '0.7';\n this.component.style.boxShadow = 'none';\n }\n }\n\n componentDidLoad() {\n this.sizeObserver = new ResizeObserver(entries => {\n for (const entry of entries) {\n if (entry.contentRect) {\n // const editbox = this.component.shadowRoot.getElementById('editing-input') as HTMLElement;\n const movebox = this.component.shadowRoot.getElementById('field-info') as HTMLElement;\n // console.log(editbox)\n // editbox.style.height = entry.contentRect.height + \"px\"\n // editbox.style.width = entry.contentRect.width + \"px\"\n\n movebox.style.height = entry.contentRect.height + 'px';\n movebox.style.width = entry.contentRect.width + 'px';\n }\n }\n });\n\n this.sizeObserver.observe(this.component);\n\n // New dropped components automatically need selecting.\n if (this.selected) {\n this.component.style.background = defaultRolePalette[this.dataItem?.signer % 100].s20;\n this.component.style.opacity = '0.7';\n this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';\n } else {\n this.component.style.background = '#ffffff';\n this.component.style.opacity = '0.7';\n this.component.style.boxShadow = 'none';\n }\n }\n\n // Send one or more mutations up the chain\n // The source of the chain fires the mutation\n // NOTE this alter is debounced to account for typing\n alter(diff: object) {\n this.dataItem = { ...this.dataItem, ...diff };\n this.debounce(this.dataItem, 900);\n }\n\n private labeltimer;\n\n debounce(data, delay) {\n if (this.labeltimer) clearTimeout(this.labeltimer);\n\n this.labeltimer = setTimeout(() => {\n const diffs: LSMutateEvent[] = [{ action: 'update', data }];\n this.mutate.emit(diffs);\n this.update.emit(diffs);\n }, delay);\n }\n\n render() {\n return (\n <Host style={{ border: `2px ${defaultRolePalette[this.dataItem?.signer % 100].s60} solid` }}>\n <div\n class={{\n 'ls-editor-field': true,\n 'is-selected': this.selected,\n }}\n >\n {!this.dataItem?.optional && <ls-icon name=\"required\" size=\"12\" class=\"required-icon\" customStyle={{ verticalAlign: 'top'}}/>}\n <input\n id=\"editing-input\"\n class={this.isEditing ? 'ls-editor-field-editable' : 'hidden-field'}\n type={getInputType(this.dataItem.validation).inputType}\n value={this.dataItem?.value}\n checked={this.dataItem?.value ? true : false}\n onInput={e => this.alter({ value: (e.target as HTMLInputElement).value })}\n />\n\n <div id=\"field-info\" class={this.isEditing ? 'hidden-field' : 'ls-editor-field-draggable'}>\n {this.dataItem.value.length && this.dataItem.value || this.dataItem?.label || this.dataItem?.formElementType}\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Element, State, Prop, Watch, Listen, Event, EventEmitter } from '@stencil/core';\nimport { LSApiElement } from '../../components';\nimport { LSMutateEvent } from '../../types/LSMutateEvent';\nimport { getInputType } from '../ls-document-viewer/editorUtils';\nimport { defaultRolePalette } from '../ls-document-viewer/defaultPalette';\n\n@Component({\n tag: 'ls-editor-field',\n styleUrl: 'ls-editor-field.css',\n shadow: true,\n})\nexport class LsEditorField {\n @Element() component: HTMLElement;\n @Prop() assignee: string;\n @Prop({ mutable: true }) dataItem: LSApiElement;\n @Prop() selected: boolean = false;\n @Prop() readonly: boolean;\n @Prop() type: 'text' | 'signature' | 'date' | 'regex' | 'file' | 'number' | 'autodate';\n @Prop() page: { height: number; width: number };\n @Prop() fixedAspect: number | null = null;\n @State() isEditing: boolean = false;\n @State() heldEdge: string = null;\n @State() isEdgeDragging: boolean = false;\n @State() innerValue: string;\n @Prop() zoom: string;\n \n private sizeObserver: ResizeObserver;\n\n @Event({\n bubbles: true,\n cancelable: false,\n composed: true,\n })\n mutate: EventEmitter<LSMutateEvent[]>;\n\n @Event({\n bubbles: true,\n cancelable: false,\n composed: true,\n })\n update: EventEmitter<LSMutateEvent[]>;\n\n /**\n * Controls whether floating elements are visible. Set by mouse enter/leave events.\n */\n @Prop({ mutable: true, reflect: true }) floatingActive: boolean = false;\n\n // Set floatingActive true on mouse enter, false on mouse leave\n private handleMouseEnter = () => {\n this.floatingActive = true;\n };\n\n private handleMouseLeave = () => {\n this.floatingActive = false;\n };\n\n @Listen('keydown')\n handleInput(e: KeyboardEvent) {\n if (e.code === 'Enter') {\n this.isEditing = false;\n this.sizeObserver.observe(this.component.shadowRoot.getElementById('field-info'));\n }\n }\n\n @Listen('mousemove', { capture: true })\n handleMouseMove(e) {\n if (this.readonly) return;\n if (!e.clientX) return;\n\n // Determine which edge is being moved over and what cursor to show.\n if (Math.abs(e.offsetX) < 5) {\n this.component.style.cursor = 'ew-resize';\n } else if (Math.abs(e.offsetX - this.component.clientWidth) < 5) {\n this.component.style.cursor = 'ew-resize';\n } else if (Math.abs(e.offsetY) < 5) {\n this.component.style.cursor = 'ns-resize';\n } else if (Math.abs(e.offsetY - this.component.clientHeight) < 5) {\n this.component.style.cursor = 'ns-resize';\n } else {\n this.component.style.cursor = 'move';\n }\n }\n\n @Listen('dblclick', { capture: true })\n handleDoubleClick() {\n if (this.readonly) return;\n this.isEditing = true;\n this.heldEdge = null;\n this.isEdgeDragging = false;\n this.sizeObserver.disconnect();\n this.innerValue = this.innerValue ? this.innerValue : this.dataItem?.value;\n\n const editbox = this.component.shadowRoot.getElementById('editing-input') as HTMLInputElement;\n console.log(this.dataItem);\n\n if (editbox) {\n editbox.className = 'ls-editor-field-editable';\n editbox.focus();\n }\n }\n\n @Listen('dragstart', { capture: false, passive: false })\n handleDragStart(event) {\n // Add the target element's id to the data transfer object\n event.dataTransfer.setData(\n 'application/json',\n JSON.stringify({\n type: this.type,\n }),\n );\n event.dataTransfer.dropEffect = 'move';\n }\n\n @Watch('selected')\n watchSelectedHandler(_newValue: boolean, _oldValue: boolean) {\n if (_newValue) {\n this.component.style.background = this.hexToRgba(defaultRolePalette[this.dataItem?.signer % 100].s20, 0.5);\n this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';\n } else {\n this.component.style.background = 'rgba(255,255,255,0.5)';\n this.component.style.boxShadow = 'none';\n }\n }\n\n deleteField = () => {\n this.mutate.emit([{ action: 'delete', data: this.dataItem }]);\n this.update.emit([{ action: 'delete', data: this.dataItem }]);\n };\n\n componentDidLoad() {\n this.sizeObserver = new ResizeObserver(entries => {\n for (const entry of entries) {\n if (entry.contentRect) {\n const movebox = this.component.shadowRoot.getElementById('field-info') as HTMLElement;\n\n movebox.style.height = entry.contentRect.height + 'px';\n movebox.style.width = entry.contentRect.width + 'px';\n }\n }\n });\n\n this.sizeObserver.observe(this.component);\n\n // New dropped components automatically need selecting.\n if (this.selected) {\n this.component.style.background = this.hexToRgba(defaultRolePalette[this.dataItem?.signer % 100].s20, 0.5);\n this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';\n } else {\n this.component.style.background = this.hexToRgba('ffffff', 0.7);\n this.component.style.boxShadow = 'none';\n }\n }\n\n // Send one or more mutations up the chain\n // The source of the chain fires the mutation\n // NOTE this alter is debounced to account for typing\n alter(diff: object) {\n this.dataItem = { ...this.dataItem, ...diff };\n this.debounce(this.dataItem, 900);\n }\n\n private labeltimer;\n\n debounce(data, delay) {\n if (this.labeltimer) clearTimeout(this.labeltimer);\n\n this.labeltimer = setTimeout(() => {\n const diffs: LSMutateEvent[] = [{ action: 'update', data }];\n this.mutate.emit(diffs);\n this.update.emit(diffs);\n }, delay);\n }\n\n hexToRgba(hex: string, alpha: number): string {\n hex = hex.replace('#', '');\n const r = parseInt(hex.substring(0, 2), 16);\n const g = parseInt(hex.substring(2, 4), 16);\n const b = parseInt(hex.substring(4, 6), 16);\n return `rgba(${r},${g},${b},${alpha})`;\n }\n\n \n\n render() {\n const hostStyle = this.floatingActive\n ? { border: `2px ${defaultRolePalette[this.dataItem?.signer % 100].s60} solid`, boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)' }\n : { border: `2px ${defaultRolePalette[this.dataItem?.signer % 100].s60} solid` };\n\n const zoomValue = parseFloat(this.zoom) || 1;\n console.log('Zoom value in field:', zoomValue);\n\n return (\n <Host id={this.dataItem ? 'ls-field-' + this.dataItem.id : undefined} style={hostStyle} onMouseEnter={this.handleMouseEnter} onMouseLeave={this.handleMouseLeave}>\n <div\n class={{\n 'ls-editor-field': true,\n 'is-selected': this.selected,\n }}\n >\n {!this.dataItem?.optional && <ls-icon name=\"required\" size={`${12 * zoomValue}`} class=\"required-icon\" customStyle={{ verticalAlign: 'top' }} />}\n <input\n id=\"editing-input\"\n class={this.isEditing ? 'ls-editor-field-editable' : 'hidden-field'}\n type={getInputType(this.dataItem.validation).inputType}\n value={this.dataItem?.value}\n checked={this.dataItem?.value ? true : false}\n onInput={e => this.alter({ value: (e.target as HTMLInputElement).value })}\n />\n\n <div id=\"field-info\" class={this.isEditing ? 'hidden-field' : 'ls-editor-field-draggable'} style={{ color: `${defaultRolePalette[this.dataItem?.signer % 100].s100}` }}>\n {(this.dataItem.value.length && this.dataItem.value) || this.dataItem?.formElementType}\n </div>\n {(this.floatingActive || this.selected) && this.dataItem?.label && (\n <div\n style={{\n position: 'absolute',\n background: `${defaultRolePalette[this.dataItem?.signer % 100].s20}`,\n color: `${defaultRolePalette[this.dataItem?.signer % 100].s80}`,\n borderRadius: `${0.25 * zoomValue}rem`,\n padding: `${0.125 * zoomValue}rem ${0.25 * zoomValue}rem`,\n top: `-${1.375 * zoomValue}rem`,\n fontWeight: '500',\n left: `-${2 * zoomValue}px`,\n whiteSpace: 'nowrap',\n width: 'fit-content',\n }}\n >\n {this.dataItem?.label}\n </div>\n )}\n {(this.floatingActive || this.selected) && (\n <p\n style={{\n position: 'absolute',\n color: 'var(--gray-80, #3a3a3a)',\n bottom: `-${1.75 * zoomValue}rem`,\n fontSize: `${0.625 * zoomValue}rem`,\n left: '0',\n whiteSpace: 'nowrap',\n width: 'fit-content',\n }}\n >\n Assigned to: {this.assignee}\n </p>\n )}\n {this.floatingActive && (\n <button\n class={'x-button'}\n style={{\n padding: `${0.125 * zoomValue}rem`,\n }}\n onClick={() => this.deleteField()}\n >\n <ls-icon name=\"x\" size={`${10 * zoomValue}`} />\n </button>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -23,7 +23,7 @@ export class LsEditorTable {
23
23
  });
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: 'ffe897428c34a78dc5ba8da43fe72414f67393cb' }, h("table", { key: 'ae2af258372dec94b87db132bcecff4223cd1ead', id: "ls-editor-table" }), h("slot", { key: 'ef198fa73001fec2d580e6b0c5d2979fd984b70a' })));
26
+ return (h(Host, { key: '55c508ab25969ad8649fb15ef7a0e20d3e212bde' }, h("table", { key: '8b9154ecc83d4a09b67a83441c6e73692380c72a', id: "ls-editor-table" }), h("slot", { key: 'f3eea5f381266897fcf5df9d08959076b5ba4385' })));
27
27
  }
28
28
  static get is() { return "ls-editor-table"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -18,22 +18,22 @@ export class LsFeatureColoumn {
18
18
  attachAllTooltips(this.component.shadowRoot);
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '4fd2314ce9b9461709932c09b77c2aae76b48d3b' }, h("div", { key: '164ded248f4b21510a9c0dad300454932a7ac626', class: this.mode !== "editor" ? 'hidden' : this.manager === 'document' ? 'activeIcon' : 'defaultIcon', onClick: () => {
21
+ return (h(Host, { key: '17fde441c344fb5fe9f147f570bdf656fc1a249d' }, h("div", { key: '1fc695cd618684eb128ad6bd1e1e3445f5209403', class: this.mode !== "editor" ? 'hidden' : this.manager === 'document' ? 'activeIcon' : 'defaultIcon', onClick: () => {
22
22
  this.manage.emit('document');
23
23
  this.manager = 'document';
24
- }, "data-tooltip-title": "Template Details", "data-tooltip": "View and edit Template properties", "data-tooltip-placement": "right" }, h("ls-icon", { key: '87179deb691675be659b0cb29d084c2be916a70b', name: "document", size: "24" })), h("div", { key: '82c8446a337944b9b0d23fbae4560d5ab33c82fa', class: this.manager === 'toolbox' ? 'activeIcon' : 'defaultIcon', onClick: () => {
24
+ }, "data-tooltip-title": "Template Details", "data-tooltip": "View and edit Template properties", "data-tooltip-placement": "right" }, h("ls-icon", { key: 'bd71c3b21bc56dd4f35ce273cf5ce6d8b66141ef', name: "document", size: "24" })), h("div", { key: '3cddf183094a8509797d1cb386311fcd2e7c84eb', class: this.manager === 'toolbox' ? 'activeIcon' : 'defaultIcon', onClick: () => {
25
25
  this.manage.emit('toolbox');
26
26
  this.manager = 'toolbox';
27
- }, "data-tooltip-title": "Field Types", "data-tooltip": "Select and place Form Field Elements", "data-tooltip-placement": "right" }, h("ls-icon", { key: 'b2fa80b83b525533060ab3018cf0af9d69e3f4fb', name: "typing-input", size: "24" })), h("div", { key: 'c7026f640638638a5526fb641063756e188b4be6', class: this.mode !== "editor" ? 'hidden' : this.manager === 'participant' ? 'activeIcon' : 'defaultIcon', onClick: () => {
27
+ }, "data-tooltip-title": "Field Types", "data-tooltip": "Select and place Form Field Elements", "data-tooltip-placement": "right" }, h("ls-icon", { key: 'cd1357591669044c6df368ceeabb7110c109c6aa', name: "typing-input", size: "24" })), h("div", { key: '4d2977b60fea884e4a8091e6fd1be3b0ec724e38', class: this.mode !== "editor" ? 'hidden' : this.manager === 'participant' ? 'activeIcon' : 'defaultIcon', onClick: () => {
28
28
  this.manage.emit('participant');
29
29
  this.manager = 'participant';
30
- }, "data-tooltip-title": "Participants", "data-tooltip": "Manage Signers, Witnesses and Approvers", "data-tooltip-placement": "right" }, h("ls-icon", { key: '99239c87618b2a164f35c8d48ef3f8a4ab2c2fda', name: "user-group", size: "24" })), h("div", { key: 'fdd1db3a219676dcae045c84050dfe7c7469c8b1', class: this.mode !== "compose" ? 'hidden' : this.manager === 'recipient' ? 'activeIcon' : 'defaultIcon', onClick: () => {
30
+ }, "data-tooltip-title": "Participants", "data-tooltip": "Manage Signers, Witnesses and Approvers", "data-tooltip-placement": "right" }, h("ls-icon", { key: 'fef5157e6a10169dfc63eee4648cb543ec4fa83f', name: "user-group", size: "24" })), h("div", { key: '1027229cda36be2f8e67995d6c1f960c27cf4b6e', class: this.mode !== "compose" ? 'hidden' : this.manager === 'recipient' ? 'activeIcon' : 'defaultIcon', onClick: () => {
31
31
  this.manage.emit('recipient');
32
32
  this.manager = 'recipient';
33
- }, "data-tooltip-title": "Recipients", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: '5c1f9ad51ce582d368d1e68d6d13645a3ec76056', name: "user-group", size: "24" })), h("div", { key: '688205cb35217107f70d09917e2922b60cf4f124', class: this.mode !== "preview" ? 'hidden' : this.manager === 'validation' ? 'activeIcon' : 'defaultIcon', onClick: () => {
33
+ }, "data-tooltip-title": "Recipients", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: '2b95f521b79d15a8b9c60487d8b39fd3c17d0310', name: "user-group", size: "24" })), h("div", { key: 'f48df22f810020c3dcb6e2ebc97f4f534e4ba843', class: this.mode !== "preview" ? 'hidden' : this.manager === 'validation' ? 'activeIcon' : 'defaultIcon', onClick: () => {
34
34
  this.manage.emit('validation');
35
35
  this.manager = 'validation';
36
- }, "data-tooltip-title": "Validation", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: '30a2f14f246333c809e6dcaa5c0173f9704abc74', name: "adjustments", size: "24" })), h("slot", { key: 'bc159f07100a29564ee74328c2bc2f7196f84f47' }), h("ls-tooltip", { key: '856f0f1f6b5dbbbf461788ae940719bf57876206', id: "ls-tooltip-master" })));
36
+ }, "data-tooltip-title": "Validation", "data-tooltip": "View the list of Recipients for this document", "data-tooltip-placement": "right" }, h("ls-icon", { key: 'd88a99665ed2b43c704993a864c3c9ad046189ee', name: "adjustments", size: "24" })), h("slot", { key: '6a70da03978e1b53e262a671cd4a4df198ad267c' }), h("ls-tooltip", { key: '4c1685f4d717af2915147302d8037e8e239198ea', id: "ls-tooltip-master" })));
37
37
  }
38
38
  static get is() { return "ls-feature-column"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -120,9 +120,9 @@ export class LsFieldAlignment {
120
120
  attachAllTooltips(this.component.shadowRoot);
121
121
  }
122
122
  render() {
123
- return (h(Host, { key: 'ff91106055b553840ec7cea1879831b4c67386ab' }, h("div", { key: '74d6d92db343203f303c0f15b2374e0a9c845b77', class: 'ls-field-properties-section' }, h("div", { key: 'bfd04b955977341041dcf7c843c6357c84161dc7', class: 'ls-field-properties-section-text' }, h("p", { key: 'c0f2cca8fedf5cfa7c834794f587c88c6a1aa960', class: 'ls-field-properties-section-title' }, "Alignment"), h("p", { key: 'e25aafb98356cb281c218c2d749b9965046cf079', class: 'ls-field-properties-section-description' }, "Align your Fields relative to the page or multi-select and align then to each other.")), h("div", { key: '423dd85ddf396fa13f222eeddf1df1180bd4bf51', class: 'multi-button-group-row' }, h("div", { key: '5e1adbaa0bc58934af572aef687fdd833f4738ec', class: 'button-group' }, h("button", { key: 'e4e6d565781f0455e26b10360fa7ac73aa205203', onClick: () => this.left(), "aria-label": "Align selected fields vertically about their left edge.", "data-tooltip": "Align Left" }, h("ls-icon", { key: '355a0590e97eecd9284d87ff06234a74d7af631d', name: "field-alignment-left" })), h("button", { key: 'c33adc4c659ce5d7580febfde642bcfd5941d51e', onClick: () => this.center(), "aria-label": "Align selected fields vertically about their centre.", "data-tooltip": "Align Center" }, h("ls-icon", { key: '1d809c339e1a3a3bccf5dce4b39e7f54727879fa', name: "field-alignment-centre" })), h("button", { key: 'd07eb6abeb1c6fd448baa766c44b4a67d6958169', onClick: () => {
123
+ return (h(Host, { key: '63398a2ccc1bc4cbd98d2858c2e2557cc7b37890' }, h("div", { key: '9e18ed6648be04c04c8d31a2141c282f95405e0b', class: 'ls-field-properties-section' }, h("div", { key: 'cdc65651627eab57be294950db80971aac9ab633', class: 'ls-field-properties-section-text' }, h("p", { key: 'ea997551b75b54f994a2b099369926183dfb164c', class: 'ls-field-properties-section-title' }, "Alignment"), h("p", { key: 'fef2f6130de37727e29ffbdd8e6c1d39347758ea', class: 'ls-field-properties-section-description' }, "Align your Fields relative to the page or multi-select and align then to each other.")), h("div", { key: '58f910381243daf9987373ca73cb850643457fae', class: 'multi-button-group-row' }, h("div", { key: 'a928ef05dc1a41bf172854be6de6e43d754ff215', class: 'button-group' }, h("button", { key: '0fd393359c52d53fc5acf0148cf45c35ff9a787f', onClick: () => this.left(), "aria-label": "Align selected fields vertically about their left edge.", "data-tooltip": "Align Left" }, h("ls-icon", { key: 'eb751025f62ce1482974e5244d36560ef6d652e2', name: "field-alignment-left" })), h("button", { key: '2ea4e049759d7bab322b09bf37006c9aca7d550a', onClick: () => this.center(), "aria-label": "Align selected fields vertically about their centre.", "data-tooltip": "Align Center" }, h("ls-icon", { key: '12e1e084e55992e5e8dcb3c616d354e813db4bc2', name: "field-alignment-centre" })), h("button", { key: '50820a4dbb9fe2ee520e6bfd18cd5c3c8798e485', onClick: () => {
124
124
  this.right();
125
- }, "aria-label": "Align selected fields vertically about their right edge.", "data-tooltip": "Align Right" }, h("ls-icon", { key: 'd9fcb4753b7528d334774badca2b3721aa618eb6', name: "field-alignment-right" }))), h("div", { key: '8bc6e5c74c3257b6cf0cf1972a9ac1575f81858c', class: 'button-group' }, h("button", { key: '4fa65b94f2337d08c2f38a46a525f96d30f02531', onClick: () => this.top(), "aria-label": "Align selected fields by their top.", "data-tooltip": "Align Top" }, h("ls-icon", { key: '8fbe38a0ea22e0ca50eb0625d66fafa73e0f8588', name: "field-alignment-top" })), h("button", { key: '15b2b3fbfdfa3998edb0fd3ddee0e0c45e5688b8', onClick: () => this.middle(), "aria-label": "Align selected fields by their middles.", "data-tooltip": "Align Middle" }, h("ls-icon", { key: 'e5a0c30844cd64171f67339fa6a981ff63aec1de', name: "field-alignment-middle" })), h("button", { key: 'a98cb23b87a3b55864b24f1451fdd57bbd2c4554', onClick: () => this.bottom(), "aria-label": "Align selected fields by their bottoms.", "data-tooltip": "Align Bottom" }, h("ls-icon", { key: 'd022dfe301b8e04cbb4f6dd3143e2db1cade82e5', name: "field-alignment-bottom" }))))), h("slot", { key: 'd88145120dd088adcd12b9e40d8c85c623447d99' }), h("ls-tooltip", { key: '46d836e0b43cd99f4784fc2eeec48f726916059a', id: "ls-tooltip-master" })));
125
+ }, "aria-label": "Align selected fields vertically about their right edge.", "data-tooltip": "Align Right" }, h("ls-icon", { key: '020ce69f599c1dd7ca53f00b48dd605c0c85da08', name: "field-alignment-right" }))), h("div", { key: '6b89b279eb02636d907dccc34c14a346850d774e', class: 'button-group' }, h("button", { key: '49a49d4ec2b27337b8e094926cdef9961c13d848', onClick: () => this.top(), "aria-label": "Align selected fields by their top.", "data-tooltip": "Align Top" }, h("ls-icon", { key: '1821a377171df23e2fa3d62204370023e03231eb', name: "field-alignment-top" })), h("button", { key: '03f2aac11c4c379782e3ec9b557ad9f76a8bb756', onClick: () => this.middle(), "aria-label": "Align selected fields by their middles.", "data-tooltip": "Align Middle" }, h("ls-icon", { key: 'df0d8013b46142216c431b5b13d3f329cf3f2bd2', name: "field-alignment-middle" })), h("button", { key: '122cdaa9caf98cc3d0bd06ed4cefb670c6095053', onClick: () => this.bottom(), "aria-label": "Align selected fields by their bottoms.", "data-tooltip": "Align Bottom" }, h("ls-icon", { key: 'a516854348931f5c64a52f3fc4ee9b902378c916', name: "field-alignment-bottom" }))))), h("slot", { key: 'a21b40bc260e0516f212908b6fdf37984f1e6303' }), h("ls-tooltip", { key: 'd2b66a3db33c6bb4b092a306326d9881c51eb05e', id: "ls-tooltip-master" })));
126
126
  }
127
127
  static get is() { return "ls-field-alignment"; }
128
128
  static get encapsulation() { return "shadow"; }
@@ -28,9 +28,9 @@ export class LsFieldContent {
28
28
  return !typesWithValue.includes(this.dataItem?.elementType);
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: 'ea54ac72a01daec82ce341886b234c645aa60db1' }, h("ls-props-section", { key: '60df9d1bae753c9ab040e47c01d7ee8855610153', sectionTitle: "Field Type", sectionDescription: "The Field you currently have selected" }, h("ls-field-type-display", { key: 'ea9af34cb06da7ed83bb4739783e6302aa266b01', fieldType: this.dataItem?.elementType, assignee: this.dataItem?.signer })), h("ls-props-section", { key: 'eca42ca34e5a5e97cdea9de46bc70f41756a0aa6', sectionTitle: "Required Field", row: true }, h("ls-toggle", { key: 'cebf77f8c11e04b915cf2b5c7c150ed20bed1438', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: (ev) => this.alter({ optional: !ev.detail }) })), h("ls-props-section", { key: 'ec954a15b94a426b8c2ee4cc2f039e90b138404c', sectionTitle: "Field Label", sectionDescription: "Add a label to clarify the information required from the Recipient." }, h("input", { key: '903c214ba08295790ef1d215c6b0076de29f9e86', value: this.dataItem?.label, placeholder: "eg. Sign Here", onInput: (e) => this.alter({ label: e.target.value }) })), this.supportsValue() && (h("ls-props-section", { key: '8426bf506f0094574883c4fcfd2423fbbe6f99bb', sectionTitle: "Value", sectionDescription: "A prefilled value that can be altered by the signer." }, h("input", { key: '914992f012a9feace4e23083be3bbaa8512cd3bc', value: this.dataItem?.value, placeholder: "e.g. Gordon Smith", onInput: (e) => this.alter({ value: e.target.value }) }))), this.dataItem.validation === 20 && (h("ls-props-section", { key: 'dd69da6537735e5564162805a3b2f36787ea5323', sectionTitle: "Options", sectionDescription: "Define the options available in the dropdown. One option per line." }, h("textarea", { key: '05180642ab28a84e81614a142e68c36402bebc31', value: this.dataItem?.options, placeholder: "Option 1\nOption 2\nOption 3", onInput: (e) => this.alter({ options: e.target.value }) }))), this.showValidationTypes && (h("ls-props-section", { key: '4ba34bb716a3559c8731a067de1cecaefcc41740', sectionTitle: "Content Format", sectionDescription: "Select the specific format you want the Recipient to enter." }, h("ls-input-wrapper", { key: 'd9f2abcb55f28bee04e360cf90e3d1d0fd68990a', select: true }, h("select", { key: '89c33d60decbc4788a8c3ccdec1930513fa7dc6d', onChange: (ev) => this.alter({ validation: parseInt(ev.target.value) }) }, validationTypes
31
+ return (h(Host, { key: '734ec935c3012ca203927537a917e43bbf51bd29' }, h("ls-props-section", { key: '8e9b9f1cc340517f3b7f3255dc87e8801d73b5ec', sectionTitle: "Field Type", sectionDescription: "The Field you currently have selected" }, h("ls-field-type-display", { key: '9b01edd6f83f4a060d00bb780322ce138fb7dea4', fieldType: this.dataItem?.elementType, assignee: this.dataItem?.signer })), h("ls-props-section", { key: '3e3995526461f108576b7d22cbb1b2846d995e27', sectionTitle: "Required Field", row: true }, h("ls-toggle", { key: 'bec526155b82b50a64f9b1b5b74aadb7e3c6abad', id: "toggle-required", checked: !this.dataItem?.optional, onValueChange: (ev) => this.alter({ optional: !ev.detail }) })), h("ls-props-section", { key: '1575b64c8c8381205c13c3fe70a32b97699b595f', sectionTitle: "Field Label", sectionDescription: "Add a label to clarify the information required from the Recipient." }, h("input", { key: '320dd9b0427f7ca277134c1d0739a82a5e155f27', value: this.dataItem?.label, placeholder: "eg. Sign Here", onInput: (e) => this.alter({ label: e.target.value }) })), this.supportsValue() && (h("ls-props-section", { key: 'aa879cb5deca3ce965dc998116966ef77e118a89', sectionTitle: "Value", sectionDescription: "A prefilled value that can be altered by the signer." }, h("input", { key: 'd6c22af8098d61cc7af5e8abb9e23b9d046771d6', value: this.dataItem?.value, placeholder: "e.g. Gordon Smith", onInput: (e) => this.alter({ value: e.target.value }) }))), this.dataItem.validation === 20 && (h("ls-props-section", { key: '2ef0f7da035529ce618803d0c6b74b447b922555', sectionTitle: "Options", sectionDescription: "Define the options available in the dropdown. One option per line." }, h("textarea", { key: 'ce22a03c08f2d1f98feb0125912e053ef62c7226', value: this.dataItem?.options, placeholder: "Option 1\nOption 2\nOption 3", onInput: (e) => this.alter({ options: e.target.value }) }))), this.showValidationTypes && (h("ls-props-section", { key: '0f6e53e8261eb4c6b8db6fd5f828a42724f27ffd', sectionTitle: "Content Format", sectionDescription: "Select the specific format you want the Recipient to enter." }, h("ls-input-wrapper", { key: '3005c64a70fd13264666ad5e4e014000d820c630', select: true }, h("select", { key: 'f319bc0e3d1987ff3bebe363051c6756cb1b56cf', onChange: (ev) => this.alter({ validation: parseInt(ev.target.value) }) }, validationTypes
32
32
  .filter(type => type.formType === this.dataItem?.elementType)
33
- .map(type => (h("option", { selected: this.dataItem?.validation === type.id, value: type.id }, type.description))))))), h("slot", { key: 'a2dc5760ad030b2aee4254f9aba78e916d326ac5' })));
33
+ .map(type => (h("option", { selected: this.dataItem?.validation === type.id, value: type.id }, type.description))))))), h("slot", { key: 'c8983032bdf7d1ec86416810de22445987bd75b5' })));
34
34
  }
35
35
  static get is() { return "ls-field-content"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -34,7 +34,7 @@ export class LsFieldDimensions {
34
34
  attachAllTooltips(this.component.shadowRoot);
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '33579f54ee4ea80fcfe74694597cbe046eeaa87f' }, this.isMultiple(this.dataItem) && (h("div", { key: '7a101d3396be251cd8749d353bc241f096aec914', class: 'ls-field-properties-section' }, h("div", { key: 'cac711c2d9b1d8f2374bfd32885a1dc7e3f9163b', class: 'ls-field-properties-section-text' }, h("p", { key: 'b816d4ac4e7cadfa65c0c804af4ada6076a31379', class: 'ls-field-properties-section-title' }, "Height and Width"), h("p", { key: '96f0213da2d04c64fc0e3bf86acbcd6c3a36be1d', class: 'ls-field-properties-section-description' }, "Define the height and width of one or multiple fields")), h("div", { key: 'd4687b42e8088f2f1eb9677e75e272e1ad1ce959', class: 'input-row' }, h("div", { key: '720e0823fc8587086d1ac0f43d90d051d6caa8fe', class: 'input-wrapper', "data-tooltip": "Set field width in pixels" }, h("ls-icon", { key: '3d6e310b920031bfa8edb3c4adfac5d68697c8f4', id: "selectLeadingIcon", name: "field-match-width" }), h("input", { key: 'c20b328c11c45d3edac7d4c65f5b5d015d20662d', class: 'has-leading-icon', aria: "field-width", id: "field-width", onChange: e => this.alter({ width: e.target.value }) })), h("div", { key: '95b69d2ee2729e64e6bb436683a6b7f680826f7c', class: 'input-wrapper', "data-tooltip": "Set field height in pixels" }, h("ls-icon", { key: 'f0ca45ce64c4d755ddc9520b266732cf83ab5895', id: "selectLeadingIcon", name: "field-match-height" }), h("input", { key: 'd71eb9d329024ecfda33d7b8250be5d5e2aa560c', class: 'has-leading-icon', aria: "field-height", id: "field-height", onChange: e => this.alter({ height: e.target.value }) }))))), this.isSingle(this.dataItem) && (h("div", { key: 'b6302ab188570fd27fcda8792a79390c35952ca1', class: 'field-set' }, h("div", { key: '226bec5f9fe17232e426b90c38cfb58aabef8c69', class: 'ls-field-properties-section' }, h("div", { key: '51a67e29166ae49a39a0bc34cdbfe42ec19b33f8', class: 'ls-field-properties-section-text' }, h("p", { key: 'e8d050055f282e521e57126df0a5a4fe1572e06c', class: 'ls-field-properties-section-title' }, "Height and Width"), h("p", { key: '5080e801f5b421179b0a921a32effe44250720fa', class: 'ls-field-properties-section-description' }, "Define the height and width of one or multiple fields")), h("div", { key: '5332e942f03a3e49b97de9ff8da730a4262464ef', class: 'input-row' }, h("div", { key: 'b71901cef0176c508f69f5d4ae243227382aaa1a', class: 'input-wrapper', "data-tooltip": "Set field width in pixels" }, h("ls-icon", { key: 'e3760f612e014a65ce1d77c071fe32d16e601e2f', id: "selectLeadingIcon", name: "field-match-width" }), h("input", { key: 'daccd33e44b07f81e9803754cdb98255f5440299', type: "number", class: 'has-leading-icon', aria: "field-width", id: "field-width", value: this.dataItem?.width, onChange: e => this.alter({ width: e.target.value }) })), h("div", { key: '758fb5c95a621b6a00d56df0b9b19a10e8a11e4e', class: 'input-wrapper', "data-tooltip": "Set field height in pixels" }, h("ls-icon", { key: '1ddb453f3deeb8ad10f3515084270645a7cee4db', id: "selectLeadingIcon", name: "field-match-height" }), h("input", { key: 'bdcc41257dfaabf722de6d659a161f663ebf5480', type: "number", class: 'has-leading-icon', aria: "field-height", id: "field-height", value: this.dataItem?.height, onChange: e => this.alter({ height: e.target.value }) })))), h("div", { key: '4573550b0cf5e3d0177423d01f8e24ad9e9696cd', class: 'ls-field-properties-section' }, h("div", { key: 'b7aba2228f5680987444faef112357bb4429a9d2', class: 'ls-field-properties-section-text' }, h("p", { key: '2b02d3952d9fe4c32c749a27a10eb89e42bf0464', class: 'ls-field-properties-section-title' }, "Scale and Resize"), h("p", { key: '410961d4d006fb6b129641f9ab38e0788d9f63a6', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), h("div", { key: '9a12372bccf8aab4744744cd7d5d50f40ff596a3', class: 'button-group' }, h("button", { key: 'ee2fdd6a760117dfa4646d03050ea0f7fd48edfd', disabled: true, "data-tooltip": "Select multiple Fields to to access scale controls" }, h("ls-icon", { key: '86d5c41b3cf232946ff80ffa240d2098bfc5579e', name: "field-scale" })), h("button", { key: '30241bd561165cf02f2b6560738c55032489a9b1', disabled: true, "data-tooltip": "Select multiple Fields to to access match width controls" }, h("ls-icon", { key: '7416c03def8311f90dad7ef12bdb8bb253a1f0a3', name: "field-match-width" })), h("button", { key: 'ee0820d337d7f401d5cbecedc3e06ed5ba317f2a', disabled: true, "data-tooltip": "Select multiple Fields to to access match height controls" }, h("ls-icon", { key: '6d72b1d4cc65059b033bb268345024361d358df7', name: "field-match-height" })))))), h("ls-tooltip", { key: 'b20549bc97e99eb1cbcbffd10a20e85c3dc3cd4b', id: "ls-tooltip-master" })));
37
+ return (h(Host, { key: '703a903db877ebc294ac3e2b957a29e031ef1a89' }, this.isMultiple(this.dataItem) && (h("div", { key: '5003976f90bd1abf305e7fdf49f5bdb2c8ac1175', class: 'ls-field-properties-section' }, h("div", { key: 'c701aeff233fd6909fe092180bf4e178ef836596', class: 'ls-field-properties-section-text' }, h("p", { key: '24bed1a118880004098274aa6fe322e50ba6bcb4', class: 'ls-field-properties-section-title' }, "Height and Width"), h("p", { key: '0004e228fccc0e8862de68b8a20c325c51783755', class: 'ls-field-properties-section-description' }, "Define the height and width of one or multiple fields")), h("div", { key: '54b5c2c34e71c2d89792563bb8a91ce91979425b', class: 'input-row' }, h("div", { key: '4ec93aba8780d313a231c3e373b72070d3cc8538', class: 'input-wrapper', "data-tooltip": "Set field width in pixels" }, h("ls-icon", { key: 'd1dc6e887a70faa598c69f49b79f82bd171c9e7b', id: "selectLeadingIcon", name: "field-match-width" }), h("input", { key: 'f30017f0d1c416c0fb2dc7dd12637da92b25f299', class: 'has-leading-icon', aria: "field-width", id: "field-width", onChange: e => this.alter({ width: e.target.value }) })), h("div", { key: '45c33926a667cd78d421d74f9a352614f8d853cc', class: 'input-wrapper', "data-tooltip": "Set field height in pixels" }, h("ls-icon", { key: 'dc4ad448b52fd19ef42bd9f81edd597fba232914', id: "selectLeadingIcon", name: "field-match-height" }), h("input", { key: 'b257839bf8395a4a7e4c46b4e8bda31f8a688088', class: 'has-leading-icon', aria: "field-height", id: "field-height", onChange: e => this.alter({ height: e.target.value }) }))))), this.isSingle(this.dataItem) && (h("div", { key: '880ee0a38cfa375a4bd8a0d8e6bd8651918be68e', class: 'field-set' }, h("div", { key: '661e3eadf9c75bc174a00fe463efaad733f19c17', class: 'ls-field-properties-section' }, h("div", { key: '69fa81433bf7d90d74b6d99afa6f96b6b4bb3b87', class: 'ls-field-properties-section-text' }, h("p", { key: '43aa0a76668e227c65e4ea36f7e9b5d04f68a46b', class: 'ls-field-properties-section-title' }, "Height and Width"), h("p", { key: 'aae729ee5421bf2b487c98b36adbae66eb9df344', class: 'ls-field-properties-section-description' }, "Define the height and width of one or multiple fields")), h("div", { key: '65da437f5b256a12487ba35bcb9c39376139287b', class: 'input-row' }, h("div", { key: '780b5587d9d066b816540d3e5d494b0100068c07', class: 'input-wrapper', "data-tooltip": "Set field width in pixels" }, h("ls-icon", { key: '94a6fcfd4df9ec9f45bd0aaad7854061eb6362c1', id: "selectLeadingIcon", name: "field-match-width" }), h("input", { key: '245e8b5c172c9e81996518cdb80ccc86461c485a', type: "number", class: 'has-leading-icon', aria: "field-width", id: "field-width", value: this.dataItem?.width, onChange: e => this.alter({ width: e.target.value }) })), h("div", { key: 'cb4e9a06b6eae5992c4a3d5ca69fa23d405c1c1b', class: 'input-wrapper', "data-tooltip": "Set field height in pixels" }, h("ls-icon", { key: '6122800c5cf670479ea0befb9a07454595ac5912', id: "selectLeadingIcon", name: "field-match-height" }), h("input", { key: 'fa15e1f81dc05f2234bac95a25cb609160aa5403', type: "number", class: 'has-leading-icon', aria: "field-height", id: "field-height", value: this.dataItem?.height, onChange: e => this.alter({ height: e.target.value }) })))), h("div", { key: '49a7ffea99dea746084b94414d9b3251de398a9e', class: 'ls-field-properties-section' }, h("div", { key: 'c78c62f08d282a3a529ba8338a42bbb444917783', class: 'ls-field-properties-section-text' }, h("p", { key: 'd18f1fe5a21bdd20a5e892cbe588eb297231b649', class: 'ls-field-properties-section-title' }, "Scale and Resize"), h("p", { key: 'af6e63b9235f1e59ade06038f09db0390893673d', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), h("div", { key: '87123ee7df1fa48be4c2674baa40373f603cf634', class: 'button-group' }, h("button", { key: '5d03b2ad33e65d8fc51a18db6f25d90d907a0b00', disabled: true, "data-tooltip": "Select multiple Fields to to access scale controls" }, h("ls-icon", { key: '400caf2fc05248f2cde1a2175352ffc7a8d7c7b6', name: "field-scale" })), h("button", { key: 'ea84ecc2b43b2ebd1fbd1191ac785c5e8b3692a6', disabled: true, "data-tooltip": "Select multiple Fields to to access match width controls" }, h("ls-icon", { key: 'bf78211f51a4319e441cf956bf58344ecdaa66c6', name: "field-match-width" })), h("button", { key: 'a29160eb0320e88fdfd02f3a8502f82ee59ffd26', disabled: true, "data-tooltip": "Select multiple Fields to to access match height controls" }, h("ls-icon", { key: '8a1001f7d8a2f44d111447e222ba25c8cbe0085c', name: "field-match-height" })))))), h("ls-tooltip", { key: '2ff0d8ba9ce5ef8f6932a5062a88cd243485b71c', id: "ls-tooltip-master" })));
38
38
  }
39
39
  static get is() { return "ls-field-dimensions"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -139,15 +139,15 @@ export class LsFieldDistribute {
139
139
  attachAllTooltips(this.component.shadowRoot);
140
140
  }
141
141
  render() {
142
- return (h(Host, { key: '59048599a1e37b88e7badb22082e6e6081a8b111' }, h("div", { key: 'c4031a27356d60ce690bea54743898deea973bb8', class: 'ls-field-properties-section' }, h("div", { key: 'f85a158b0b80b2606daac10a10da18f5ea67c3bf', class: 'ls-field-properties-section-text' }, h("p", { key: '1222eb8d6d940d3bec5927ad7ad969a390dde235', class: 'ls-field-properties-section-title' }, "Distribution"), h("p", { key: 'f8ad9958b46185515711d032e2acd7e9903e0b54', class: 'ls-field-properties-section-description' }, "Multi-select fields and evenly space them out")), h("div", { key: '8d2d50a1e516ac954017ea13a630a11e3e676df5', class: 'button-group' }, h("button", { key: '382a8695ddb78b177d10389f4d096892eb24d2e2', onClick: () => {
142
+ return (h(Host, { key: 'e609fa9e40889179615dd0994c6b60633a650e08' }, h("div", { key: '9bd095b900e305b7622f0973fdbfce980343970b', class: 'ls-field-properties-section' }, h("div", { key: '216b665c83f42a879b8dd2d0533080811e7feee2', class: 'ls-field-properties-section-text' }, h("p", { key: 'bf614585ce212feea625cfe2afe271e3dfb3dd61', class: 'ls-field-properties-section-title' }, "Distribution"), h("p", { key: 'a96e61b2016feb32ee68720bdd4da5e2b6b44c94', class: 'ls-field-properties-section-description' }, "Multi-select fields and evenly space them out")), h("div", { key: 'b717e2acebf9794fdf294bbaab1d47bff20523ee', class: 'button-group' }, h("button", { key: 'c51308c1daf5793770cead8f2f9997406b3d5a43', onClick: () => {
143
143
  this.distributeVertical();
144
- }, "aria-label": "Distribute selected fields vertically.", "data-tooltip": "Distribute selected fields vertically" }, h("ls-icon", { key: '7ddc6ac479e424277332f90b384870628b90158a', name: "field-distribute-vertically" })), h("button", { key: '8ab9a9a772ca63f73d28407d2ef35ca1d4e86b3c', onClick: () => {
144
+ }, "aria-label": "Distribute selected fields vertically.", "data-tooltip": "Distribute selected fields vertically" }, h("ls-icon", { key: '0a6852f37bdacd568ff4b9595d55fa8ce6a0f820', name: "field-distribute-vertically" })), h("button", { key: '2587d0c9e87765c4aef7a1d94f4003729eac7d9c', onClick: () => {
145
145
  this.distributeHorizontal();
146
- }, "aria-label": "Distribute selected fields horizontally.", "data-tooltip": "Distribute selected fields horizontally" }, h("ls-icon", { key: '4f91aecee5ec3230176e61b791771f4fa4b8524a', name: "field-distribute-horizontally" })))), h("div", { key: '2ad325847587990f8280456373cd94bfa0bf4890', class: 'ls-field-properties-section' }, h("div", { key: '59fcde4b64e86eeeece1f9a2e69a360d3762e23f', class: 'ls-field-properties-section-text' }, h("p", { key: '5ab744d8783ba4eaf86aee1575341325dea435ce', class: 'ls-field-properties-section-title' }, "Gap"), h("p", { key: '58cc8ce5cb15a81383d37c78914927dea4982c42', class: 'ls-field-properties-section-description' }, "Define the exact gap between multi-select fields.")), h("div", { key: '16f31fdfdbf4fd051d776da9196e613ec343f9fb', class: 'input-row' }, h("div", { key: 'd08f3225de705e36f3aec87405ac7de020b138a0', class: 'input-wrapper', "data-tooltip": "Set vertical gap between selected fields" }, h("ls-icon", { key: '860b1bda1c40824cb8b5fec757f626677760e5c0', id: "selectLeadingIcon", name: "field-distribute-vertically" }), h("input", { key: '94b41cb6ca0c4c9312a206f94c81039d361079e8', type: "number", class: 'has-leading-icon', id: "ls-fix-vertical-space", onChange: e => {
146
+ }, "aria-label": "Distribute selected fields horizontally.", "data-tooltip": "Distribute selected fields horizontally" }, h("ls-icon", { key: '97fdb980861622cdde04e34b632c69e7b6d701d1', name: "field-distribute-horizontally" })))), h("div", { key: '9242167e2f2770f72d931aa9bd1befdba1154d0a', class: 'ls-field-properties-section' }, h("div", { key: 'c19451338fdbc1691f8999462bcb68494d282f0b', class: 'ls-field-properties-section-text' }, h("p", { key: 'c3c492e747cb79ce80abc29edca0b2d9f6416870', class: 'ls-field-properties-section-title' }, "Gap"), h("p", { key: '4c36b3a346d322d52713b2bd576cd653f5eb535a', class: 'ls-field-properties-section-description' }, "Define the exact gap between multi-select fields.")), h("div", { key: '8c161810aaf366e8e34080a8214d0851edf4e042', class: 'input-row' }, h("div", { key: '199f11fa50657c258b62e285f59a861381f0140c', class: 'input-wrapper', "data-tooltip": "Set vertical gap between selected fields" }, h("ls-icon", { key: '684ff4ae3e551819f1e0fbbd38dcff5c4ada7bf9', id: "selectLeadingIcon", name: "field-distribute-vertically" }), h("input", { key: 'a8e007de6b1d39aab12ed5d00e3547914b276e6e', type: "number", class: 'has-leading-icon', id: "ls-fix-vertical-space", onChange: e => {
147
147
  this.gapVertical(parseInt(e.target.value));
148
- }, value: '', size: 4, min: 0, max: 9999 })), h("div", { key: 'e5ad73ae44a263aacebf207ad2d84401b0c9b4a3', class: 'input-wrapper', "data-tooltip": "Set horizontal gap between selected fields" }, h("ls-icon", { key: '4a716b0aa37048e1086f52242da95dd33499ae8c', id: "selectLeadingIcon", name: "field-distribute-horizontally" }), h("input", { key: '3ce5e41259cbfc38fcf528e324a8771630d92a9d', type: "number", class: 'has-leading-icon', id: "ls-fix-horizontal-space", onChange: e => {
148
+ }, value: '', size: 4, min: 0, max: 9999 })), h("div", { key: '4c1a5f93be77a515548a7b188754fa8d7fce6c7b', class: 'input-wrapper', "data-tooltip": "Set horizontal gap between selected fields" }, h("ls-icon", { key: 'd5f9b3f19a80310ded792b9298e556dfc126d526', id: "selectLeadingIcon", name: "field-distribute-horizontally" }), h("input", { key: 'd38b4475ef2252ee154afdbffdb7cfdc21b98bd5', type: "number", class: 'has-leading-icon', id: "ls-fix-horizontal-space", onChange: e => {
149
149
  this.gapHorizontal(parseInt(e.target.value));
150
- }, value: '', size: 4, min: 0, max: 9999 })))), h("ls-tooltip", { key: '31b08e72a9d47b65ba78fa9b631e154342956f3c', id: "ls-tooltip-master" }), h("slot", { key: '7e5507606832d343a15f11d8a7cc5ebcce0aff7f' })));
150
+ }, value: '', size: 4, min: 0, max: 9999 })))), h("ls-tooltip", { key: '517251c8fe81db16a4b65aa9129e6f7b9715e6e6', id: "ls-tooltip-master" }), h("slot", { key: '377fb518aba986f087af436e64fb4c9eb76cb4fe' })));
151
151
  }
152
152
  static get is() { return "ls-field-distribute"; }
153
153
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class LsFieldFooter {
23
23
  // this.selectFields.emit([newItem]);
24
24
  };
25
25
  render() {
26
- return (h(Host, { key: 'da4f1c828b80134ae2403ca2be1aa2ee84a76e9d' }, h("div", { key: '32894e6120275c76f38e9d6cd6b359e0dfef6ebf', class: 'button-footer' }, h("button", { key: 'a63924c5a7911db1d5427d7a9b2fd4df66f96dd8', class: 'secondary', onClick: () => this.duplicateField() }, h("ls-icon", { key: '8007f022d9c3109d58b5b4acdf1badeb5d84c42c', name: "field-duplicate", size: "20" }), "Duplicate"), h("button", { key: 'c32a9e070f4e7109a8a57322aa42435c07a25cf7', class: 'destructive', onClick: () => this.deleteField() }, h("ls-icon", { key: '1de10eabdd1b3d902f890121c0ee44c79e07eb39', name: "trash", size: "20" }), "Delete")), h("slot", { key: 'b0e99a1fc8aa193e3104c4fe64a421c541451114' })));
26
+ return (h(Host, { key: 'ad5bcbff8ba0e0e8c485029195401793a3d44947' }, h("div", { key: '5122544f2c7bcd02af2acbff8da7dd466e74d813', class: 'button-footer' }, h("button", { key: '7f82dfccee2e4d673305f5863534b80a1ad4e358', class: 'secondary', onClick: () => this.duplicateField() }, h("ls-icon", { key: 'e4a3ecdea2100e1ccfcffa530a6a725ba8f780f1', name: "field-duplicate", size: "20" }), "Duplicate"), h("button", { key: '94f3ca40a7166640386561a0528fb69b03dc2cb0', class: 'destructive', onClick: () => this.deleteField() }, h("ls-icon", { key: 'a76664cbe7d6c636e3f17fa9dca687d475cbfc0c', name: "trash", size: "20" }), "Delete")), h("slot", { key: '79821de62397776ee15439cccd73ecac88fca22d' })));
27
27
  }
28
28
  static get is() { return "ls-field-footer"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -47,31 +47,31 @@ export class LsFieldFormat {
47
47
  return { isSame: allFontsSame && allFontSizesSame, fontName: allFontsSame ? firstFontName : 'mixed', fontSize: allFontSizesSame ? firstFontSize : 'mixed' };
48
48
  };
49
49
  render() {
50
- return (h(Host, { key: '91904dea2ef41d927e3da5887baa4a323591cb1a', onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp }, this.dataItem && this.dataItem.length > 1 && (h("div", { key: 'a54cf1a79c973ce5af75edc991d60899d21add2a', class: 'ls-field-format-bar' }, h("div", { key: 'd42c031a6436d31f48f1b886acf491b7b9e0d1eb', class: "input-wrapper", "data-tooltip": "Font Family" }, h("ls-icon", { key: '41c34e54cc96fb8b8a3d8f27f6fa2442d8b71311', id: "selectLeadingIcon", name: "typeface" }), h("select", { key: 'a0845bcf73385eaf2d3c31629eddb71ee3ffcd36', id: "ls-toolbar-font-select", onChange: input => {
50
+ return (h(Host, { key: 'f09669b903371ee341bcad9d0c690c73564796fc', onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp }, this.dataItem && this.dataItem.length > 1 && (h("div", { key: 'c88a63694f4c7badef501d1d6e6065e1e2f8b0c1', class: 'ls-field-format-bar' }, h("div", { key: '14b3550fa16813865c4640bf789ec59de23f9841', class: "input-wrapper", "data-tooltip": "Font Family" }, h("ls-icon", { key: 'cb1c66047558d46587d5ed10858e5de853930d2f', id: "selectLeadingIcon", name: "typeface" }), h("select", { key: '467779af8ae5de655a3f94eaa1d93401c8c21b6e', id: "ls-toolbar-font-select", onChange: input => {
51
51
  this.alter({ fontName: input.target.value });
52
- }, class: 'has-leading-icon' }, h("option", { key: '2d75ace90ec9c92dd0ad0375a9d4442d542191aa', disabled: true, selected: this.allElementsSame()?.fontName === 'mixed', value: 'mixed' }, "Mixed"), h("option", { key: 'da10b03b8918bd7aa624e266bf4d8d03d52c6041', value: "arial" }, "Arial"), h("option", { key: '22fad1090e9aef80739ebe48f035feb2ef1af845', value: "liberation sans" }, "Liberation Sans"), h("option", { key: '606131c91403d285f25b311ee39872ea9ad9b37d', value: "courier" }, "Courier"), h("option", { key: '3130923722b981b56671400489fbd538df4b0577', value: "helvetica" }, "Helvetica"), h("option", { key: '31d9bcf4d4b66a9d0d4834a7568e66f28ae6167a', value: "verdana" }, "Verdana")), h("ls-icon", { key: '7d81c85294b2fb8419b8dae5c6b048607da99390', id: "selectorIcon", name: "selector" })), h("div", { key: '7264390a9d7df8190e30e0372fb13dac8a3cd18f', class: "input-wrapper", "data-tooltip": "Font Size" }, h("ls-icon", { key: '18bc7f3d890d32727def93564743e1805fbedaee', id: "selectLeadingIcon", name: "typesize" }), h("input", { key: '560fcadff4e48f5c294c3400bb662380fcb30b59', id: "ls-toolbar-font-size", type: 'number', min: "4", value: this.allElementsSame()?.fontSize, onChange: input => {
52
+ }, class: 'has-leading-icon' }, h("option", { key: 'ab2adc71db5cb0304d3ef0e88cd39f9c3b0695ff', disabled: true, selected: this.allElementsSame()?.fontName === 'mixed', value: 'mixed' }, "Mixed"), h("option", { key: 'b87685950342e18f67136c15b626ecddf594f9f1', value: "arial" }, "Arial"), h("option", { key: '23c3c6f267862f66649517e165fbd3b4168fb12b', value: "liberation sans" }, "Liberation Sans"), h("option", { key: 'd5df1c563bff199141bb1e3abe57aeaac20e680a', value: "courier" }, "Courier"), h("option", { key: 'd9e693b2a601ae8373e7bed6f6f63b5176f0f53f', value: "helvetica" }, "Helvetica"), h("option", { key: '53ff1c000a0a20c574ae4a0efe783a297a5a3e9e', value: "verdana" }, "Verdana")), h("ls-icon", { key: '56b5f263672aabc30b7a4fecdaf0b29dd645e239', id: "selectorIcon", name: "selector" })), h("div", { key: '1fe61ed2c6e16e2c9a58c1a349a7991dfed9bc5b', class: "input-wrapper", "data-tooltip": "Font Size" }, h("ls-icon", { key: '80a2dfae58c432af9860811270ef14887ef1dba9', id: "selectLeadingIcon", name: "typesize" }), h("input", { key: '5b662354c0bfaa6cdc9d6c085f2732b238a9a675', id: "ls-toolbar-font-size", type: 'number', min: "4", value: this.allElementsSame()?.fontSize, onChange: input => {
53
53
  if (input.target.value === '')
54
54
  return;
55
55
  this.alter({ fontSize: input.target.value });
56
- }, class: 'has-leading-icon' })), h("div", { key: '531d5d3392b5418d0c117e3ff62a999c9aa5a164', class: 'button-group' }, h("button", { key: 'a37a10f9c317b1d4d2e545da018562182d0133be', onClick: () => {
56
+ }, class: 'has-leading-icon' })), h("div", { key: 'bdc70a6f70ac24ede3e375da95a31b09fc6e0cab', class: 'button-group' }, h("button", { key: '93bd2e0f321a7630e4a5203c607b9ae97896820a', onClick: () => {
57
57
  this.alter({ align: 'left' });
58
- }, "data-tooltip": "Align Text Left" }, h("ls-icon", { key: '7495967a664b752e9af12343e1778cfbe2067b5a', name: "menu-alt-2" })), h("button", { key: 'caa6369eabbe15f8c6fd46e0300160a3c95874dd', onClick: () => {
58
+ }, "data-tooltip": "Align Text Left" }, h("ls-icon", { key: '75ceda811a343eb024c8eacfa863d7d1ec0fa538', name: "menu-alt-2" })), h("button", { key: '1fbfcfdfe4b60992ad507f87c281bde9e1cfb6ac', onClick: () => {
59
59
  this.alter({ align: 'center' });
60
- }, "data-tooltip": "Align Text Center" }, h("ls-icon", { key: '6ed41fd2f767487167ab4717655e4e97765c42b0', name: "menu-alt-5" })), h("button", { key: 'b36dcde58f3193e6e415566c3d82bc4937c71cad', onClick: () => {
60
+ }, "data-tooltip": "Align Text Center" }, h("ls-icon", { key: '225df89a538e7e67c4bc95a309afd5167b67b6ce', name: "menu-alt-5" })), h("button", { key: 'b8cbc695c18f0a556ab6a83e00b2cf0da78ce8f5', onClick: () => {
61
61
  this.alter({ align: 'right' });
62
- }, "data-tooltip": "Align Text Right" }, h("ls-icon", { key: '6627729479f641991e1838910139e5816336f6cb', name: "menu-alt-3" }))))), this.dataItem && this.dataItem.length === 1 && (h("div", { key: '4deb56b506fdca4033ddae85db997007ad884be8', class: 'ls-field-format-bar' }, h("div", { key: 'dcf37bd8f1702c8da10517b5e4f6a4e5e6ea6db9', class: "input-wrapper", "data-tooltip": "Font Family" }, h("ls-icon", { key: '5f5419591be0c1c3c1ca494d7f69239093b2efb1', id: "selectorIcon", name: "selector" }), h("ls-icon", { key: '0f04f71e6d5819838b45416a7b4895c14d903dfd', id: "selectLeadingIcon", name: "typeface" }), h("select", { key: 'ae3f730149a57886aa76f10e239fd6b387130d0e', id: "ls-toolbar-font-select", onChange: input => {
62
+ }, "data-tooltip": "Align Text Right" }, h("ls-icon", { key: 'd3d569ce70e69c8425449549b6563eb1d966de18', name: "menu-alt-3" }))))), this.dataItem && this.dataItem.length === 1 && (h("div", { key: '93cea0ccee515f28a1464bb86847998866ff28c9', class: 'ls-field-format-bar' }, h("div", { key: '8bf4b19264ec43d4880c0f1afd49bc0e95653ccb', class: "input-wrapper", "data-tooltip": "Font Family" }, h("ls-icon", { key: '00fc36a118fed88906b6dc6f10d4c5b572c9415a', id: "selectorIcon", name: "selector" }), h("ls-icon", { key: '631f24095b4735af86670d4464dc0dfe82722160', id: "selectLeadingIcon", name: "typeface" }), h("select", { key: '1ec3611079e764e9e052fafa18ed73bd2879a3b2', id: "ls-toolbar-font-select", onChange: input => {
63
63
  this.alter({ fontName: input.target.value });
64
- }, class: 'has-leading-icon' }, h("option", { key: '986f537ca8ee6f993d919ffcd8e065235a7af6cf', value: "arial" }, "Arial"), h("option", { key: '34868fc86461b734bc299a52d3bf764c5733c524', value: "liberation sans" }, "Liberation Sans"), h("option", { key: 'a0842823da3cc59df6e541e41fbadf985e34cd92', value: "courier" }, "Courier"), h("option", { key: 'deb6c832fe8ed0221557e74ef36cb52ae3506146', value: "helvetica" }, "Helvetica"), h("option", { key: '6e57150e9dd30b79556f2f7edbfc0c601fbea78b', value: "verdana" }, "Verdana"))), h("div", { key: '7e25a56576279c7cd2e356feb946c26ceaeb7cde', class: "input-wrapper", "data-tooltip": "Font Size" }, h("ls-icon", { key: 'b2a0152766a14ca67d3c1aac071260b18f4d9f3c', id: "selectLeadingIcon", name: "typesize" }), h("input", { key: '8e6c594178eacadd4df80f2419f1c8dd7d6c220d', id: "ls-toolbar-font-size", type: "number", min: "4", size: 4, value: this.dataItem[0].fontSize, onChange: input => {
64
+ }, class: 'has-leading-icon' }, h("option", { key: 'b4e20742209d89cf2f81724e56cf4e271b242efe', value: "arial" }, "Arial"), h("option", { key: '90e07a1b1642602cb82a17d55c47fa151dd042cc', value: "liberation sans" }, "Liberation Sans"), h("option", { key: 'a1be70434a95b0032f7e0bd742a5493f4191e552', value: "courier" }, "Courier"), h("option", { key: 'cf58305e89c6cd764563564b4b8c4c97d3148837', value: "helvetica" }, "Helvetica"), h("option", { key: 'aee06cd107c49e5efccdc188439e51b341aef443', value: "verdana" }, "Verdana"))), h("div", { key: 'd96af2693b5160f090877ae272235e6e4c199be0', class: "input-wrapper", "data-tooltip": "Font Size" }, h("ls-icon", { key: '054ac7cfdca186932b67186e1af9b4fc207ac8af', id: "selectLeadingIcon", name: "typesize" }), h("input", { key: '25e2bc4275d0f94a09b1dcccb62521c2aa2c33c2', id: "ls-toolbar-font-size", type: "number", min: "4", size: 4, value: this.dataItem[0].fontSize, onChange: input => {
65
65
  if (input.target.value === '')
66
66
  return;
67
67
  this.alter({ fontSize: input.target.value });
68
- }, class: 'has-leading-icon' })), h("div", { key: '933b4baea697f8524adb3adc0ef13b7def5fb66c', class: 'button-group' }, h("button", { key: '40a062746ab0555b30cf6a27e8ff8ba8b2146310', onClick: () => {
68
+ }, class: 'has-leading-icon' })), h("div", { key: 'e7b8af56e32c8cc09e5090391c164edab53de5a6', class: 'button-group' }, h("button", { key: 'abf70e78272b06353a074b093f0a316bb4bb4188', onClick: () => {
69
69
  this.alter({ align: 'left' });
70
- }, "data-tooltip": "Align Text Left" }, h("ls-icon", { key: 'd3d5b625a674e3360ee06208819dac9418220bba', name: "menu-alt-2" })), h("button", { key: '580006ab0a7e785a0a42bc7e06a16c534c26776e', onClick: () => {
70
+ }, "data-tooltip": "Align Text Left" }, h("ls-icon", { key: 'f7dd25decd2cd245141f8e00cc79096c283323ac', name: "menu-alt-2" })), h("button", { key: '5c68ddd64a36d8a8b486db63fa4831522a021c8d', onClick: () => {
71
71
  this.alter({ align: 'center' });
72
- }, "data-tooltip": "Align Text Center" }, h("ls-icon", { key: '315977f700bae7240260170681604315ca43f95d', name: "menu-alt-5" })), h("button", { key: 'dd568f27339beb1c88ca1beafc245c0537ba6880', onClick: () => {
72
+ }, "data-tooltip": "Align Text Center" }, h("ls-icon", { key: '023ad09061b00186dca7da21df38a5a478cdeed1', name: "menu-alt-5" })), h("button", { key: 'db06134b4512dbdb1d8de66975e6aca1496a24c4', onClick: () => {
73
73
  this.alter({ align: 'right' });
74
- }, "data-tooltip": "Align Text Right" }, h("ls-icon", { key: 'd94a38666edc580c7a79a6b33b394c4dff37226e', name: "menu-alt-3" }))))), h("ls-tooltip", { key: 'd360f63e5eb2f42b4704ccf1407d09e4239c6924', id: "ls-tooltip-master" })));
74
+ }, "data-tooltip": "Align Text Right" }, h("ls-icon", { key: 'ddc4dfb005babf7dfe1d7cf9cc95d8ccd80c9031', name: "menu-alt-3" }))))), h("ls-tooltip", { key: 'd1f71302cf1ad18577e416d6cbca86a1c442c4c8', id: "ls-tooltip-master" })));
75
75
  }
76
76
  static get is() { return "ls-field-format"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -54,7 +54,7 @@ export class LsFieldPlacement {
54
54
  attachAllTooltips(this.component.shadowRoot);
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: '36f80bd453b565aa02c8dee68a8b5b80be46fbd3' }, this.isMultiple(this.dataItem) && (h("div", { key: 'd6e02596d403c08237b3448f11aa74fb960dedc5', class: 'ls-field-properties-section' }, h("div", { key: '2ab8035a93780b0b64bf857471bfbff07d1aba6c', class: 'ls-field-properties-section-text' }, h("p", { key: 'bac56756ba1bdafd927c9e28b3895fbde1f52bc3', class: 'ls-field-properties-section-title' }, "Location"), h("p", { key: '318c12a31ba6a0a31b345ba93999ab0d5ecde273', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), h("div", { key: '3db0489d706b906c06171e29e1924e712594458a', class: 'input-row' }, h("div", { key: '86a5a688a0b785749c106228661e663f36c50750', class: 'input-wrapper' }, h("ls-icon", { key: '3db8391837b1597257f53bf2b103717d5eb25df7', id: "selectLeadingIcon", name: "x-letter" }), h("input", { key: '479f72ba56add255d6e7d734f2662f6b3d012d8e', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", onChange: e => this.alter({ left: e.target.value }) })), h("div", { key: 'ddad8591a8932c6e4ac34b14fedbfc4afce1a564', class: 'input-wrapper' }, h("ls-icon", { key: '1ec0551718d272397f6a6d3c43a9fe60121ca99c', id: "selectLeadingIcon", name: "y" }), h("input", { key: '096f6478c58ead15e95a105c87eb25c4c68b86a1', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", onChange: e => this.alter({ top: e.target.value }) }))))), this.isSingle(this.dataItem) && (h("div", { key: 'a105ba59553c2736865a21c11c2577b165aa94bf', class: 'field-set' }, h("div", { key: '930ad119c2f86ad59289c3dad8bdaeb0cfcd36b8', class: 'ls-field-properties-section' }, h("div", { key: '97b922f2817763bfe4d8f4fedfcd809da2e4f434', class: 'ls-field-properties-section-text' }, h("p", { key: '430941cb15144fd09bbe73d4371b84e2cf5028bf', class: 'ls-field-properties-section-title' }, "Alignment"), h("p", { key: '13e025ede881db06c9c0b5fbf90aa9c5b71255f8', class: 'ls-field-properties-section-description' }, "Align your Fields relative to the page or multi-select and align then to each other.")), h("div", { key: '4b1af4297bb322166534326685e380f2374c91f8', class: 'multi-button-group-row' }, h("div", { key: 'd9cf29743256caccc5604385070105a8af683cb6', class: 'button-group' }, h("button", { key: '5ea2c951887d85d5af04213c2203ec25e4fbefe3', onClick: () => { this.alter({ left: 0 }); }, "data-tooltip": "Align Left" }, h("ls-icon", { key: 'ffc6e36fe9a28f21e1a3948d7224c3c8646a5ccd', name: "field-alignment-left" })), h("button", { key: '2c9f1114babf362d728982164df27cfce4e04bfd', onClick: () => { this.alter({ left: this.center() }); }, "data-tooltip": "Align Center" }, h("ls-icon", { key: 'af865e915619185adea9bfe382cf061b59b54af8', name: "field-alignment-centre" })), h("button", { key: 'c97819c2d6edf5d320b20bc07416a8ee8f10361d', onClick: () => { this.alter({ left: this.right() }); }, "data-tooltip": "Align Right" }, h("ls-icon", { key: 'fed4200b05434bd2657998c5525dbfa609358eac', name: "field-alignment-right" }))), h("div", { key: '3e56250bc7864903ef787b5ef3f14f43b0a5ecf8', class: 'button-group' }, h("button", { key: 'd18a486d4c9dd22d0f83638aaf5eaf36cbeecb19', onClick: () => this.alter({ top: 0 }), "data-tooltip": "Align Top" }, h("ls-icon", { key: '6b9320f2fde13f963bdc4c53cc0c2ca6686a5ce6', name: "field-alignment-top" })), h("button", { key: 'd1e78f8bc89486abec29109ae997f2605e134a50', onClick: () => { this.alter({ top: this.middle() }); }, "data-tooltip": "Align Middle" }, h("ls-icon", { key: '2ad1a9390e580a09f9ca169e6ab20366c6507898', name: "field-alignment-middle" })), h("button", { key: '2137a6ea908d00e53c81c1c298a27fde3d2b3247', onClick: () => { this.alter({ top: this.bottom() }); }, "data-tooltip": "Align Bottom" }, h("ls-icon", { key: '4e512b2acabc8d2e2a894d3b429198d16fb41543', name: "field-alignment-bottom" }))))), h("div", { key: '4fdef07cf4f116261144a9f53b1850a4bd2559c9', class: 'ls-field-properties-section' }, h("div", { key: '99e48ae43a5d1b0d35ce2d2c2ccb5df94d68cc4b', class: 'ls-field-properties-section-text' }, h("p", { key: 'b7a93783ad49d357f1b5b822369561b5283cd580', class: 'ls-field-properties-section-title' }, "Location"), h("p", { key: 'a88c03e04e11ede5025b247f07c52c6b024b554f', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), h("div", { key: '61e4ec2aac12f2be2300827845995ecb9555696d', class: 'input-row' }, h("div", { key: '43863231bb7a0ce543821f7de413fd284cb18f55', class: 'input-wrapper' }, h("ls-icon", { key: '60dca912811fe88c4033f7573899a26ca22908eb', id: "selectLeadingIcon", name: "x-letter" }), h("input", { key: '3bf31dc6936e88aa3fd27ba4a60ca4bb795253dd', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", value: this.dataItem?.left, onChange: e => this.alter({ left: e.target.value }) })), h("div", { key: '29352b34720c158e6591d7d3867669c997425cb9', class: 'input-wrapper' }, h("ls-icon", { key: 'c16b59dcdf2f3ffa86bca1ac575b69348ae890a7', id: "selectLeadingIcon", name: "y" }), h("input", { key: '8407294860edcb522d2a5242a893505258107a81', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", value: this.dataItem?.top, onChange: e => this.alter({ top: e.target.value }), width: "30" })))), h("div", { key: '4633eed1c771f4d61b84b1c63f46db6a4c984b8a', class: 'ls-field-properties-section' }, h("div", { key: 'fb638934d31730924063153d7e3f0c3a75093513', class: 'ls-field-properties-section-text' }, h("p", { key: '2cc5bd58cc7ea4c47e5d3f30010dd6803efbf6ab', class: 'ls-field-properties-section-title' }, "Distribution"), h("p", { key: '4e005e2313e41ffde5f7e6b589626fb60c404885', class: 'ls-field-properties-section-description' }, "Multi-select fields and evenly space them out")), h("div", { key: '159221fb40cb44a621376efa8667ad974a10bf15', class: 'button-group' }, h("button", { key: '94e77d93a649c1cbe6241fe16a61096730b2e5c6', disabled: true, "data-tooltip": "Select multiple Fields to to access distribution controls" }, h("ls-icon", { key: 'c7dc3e6ec99437e53208a84e74ddc9cd0bdf64f5', name: "field-distribute-vertically" })), h("button", { key: 'a902b5756be14223d96c78c5c8139dc0e21027b8', disabled: true, "data-tooltip": "Select multiple Fields to to access distribution controls" }, h("ls-icon", { key: 'd54c20b9ad2690aac670803b4bfcad33dbc057b0', name: "field-distribute-horizontally" })))), h("div", { key: '3c335da8e5b0e263c447fe7333a8bd55a733e15d', class: 'ls-field-properties-section' }, h("div", { key: '968955d96417608abadde4e1a6a159d34d170d95', class: 'ls-field-properties-section-text' }, h("p", { key: '2a9a1bf3122c26aad9e4bb64f7f3ddacbac0ce7f', class: 'ls-field-properties-section-title' }, "Gap"), h("p", { key: '89242423bcbd787101cd020bb49765ca27d0c3dc', class: 'ls-field-properties-section-description' }, "Define the exact gap between multi-select fields.")), h("div", { key: '9e997914d995fb2ead747c345a22921b4474ff76', class: 'input-row' }, h("div", { key: '36c4f48520f96109a2901e658e3a28e62afb7c3c', class: 'input-wrapper', "data-tooltip": "Select multiple Fields to to access gap controls" }, h("ls-icon", { key: '6e2a9152d67a35924c3d7ba08b99dc5c3331c574', id: "selectLeadingIconDisabled", name: "field-distribute-vertically" }), h("input", { key: '8574410027adbe8253a2d0faae3109cc28f77d38', type: "number", value: "0", class: 'has-leading-icon', aria: "vertical-gap", id: "vertical-gap", disabled: true })), h("div", { key: '8652785d2e7741520e375f098f494c3bbbb8480e', class: 'input-wrapper', "data-tooltip": "Select multiple Fields to to access gap controls" }, h("ls-icon", { key: 'e3b3234d36bb5f369e33d45156665ddecb12efaf', id: "selectLeadingIconDisabled", name: "field-distribute-horizontally" }), h("input", { key: '0375c413df83613ab4597fd5431bffecdf679877', type: "number", value: "0", class: 'has-leading-icon', aria: "horizontal-gap", id: "horizontal-gap", disabled: true })))))), h("ls-tooltip", { key: '0d80fcdc8f9353c13d228ce7297bc87988456f24', id: "ls-tooltip-master" })));
57
+ return (h(Host, { key: '2891a22cc782d26e8019f621139dbb9cfa7912ae' }, this.isMultiple(this.dataItem) && (h("div", { key: 'fca4cfba664c7dcc850247145a19155359778fd6', class: 'ls-field-properties-section' }, h("div", { key: '6840302fca04a9512675d308a0faf89f588e4c92', class: 'ls-field-properties-section-text' }, h("p", { key: 'f148990ba318730ecd8f63dc2a1e07dbfe2e0758', class: 'ls-field-properties-section-title' }, "Location"), h("p", { key: 'b6e3392804efacfa479b8352fe9220aa202386ac', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), h("div", { key: '7c23a0dc256c248870b945337ff3699ee34faca3', class: 'input-row' }, h("div", { key: 'eb3c8491792b11452959601a11d0bb45576112ce', class: 'input-wrapper' }, h("ls-icon", { key: 'e0ef76fb7b4209ea9fca1f69ca063d9db54cab3e', id: "selectLeadingIcon", name: "x-letter" }), h("input", { key: '366b808ac6308e7a4c753473db2a906bfb81fe5c', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", onChange: e => this.alter({ left: e.target.value }) })), h("div", { key: 'cc27cf6674efd760f0bf72ba0879750bd3ec58d5', class: 'input-wrapper' }, h("ls-icon", { key: '215d388859634b7ba8bae7772bc2f123bf5072e4', id: "selectLeadingIcon", name: "y" }), h("input", { key: '2679e4e35dcb2529dceab7628e51a06ebf2cb084', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", onChange: e => this.alter({ top: e.target.value }) }))))), this.isSingle(this.dataItem) && (h("div", { key: '36051ca4885a6f000e62b98e93a8cee9275cec56', class: 'field-set' }, h("div", { key: '71f569f20e1cc8a1afdd07979d277cb046832d02', class: 'ls-field-properties-section' }, h("div", { key: 'c3221f6b321a2fe37bb5950bfed9c17d89b4ec06', class: 'ls-field-properties-section-text' }, h("p", { key: 'cac50315a0bf1e69fcda4836b294aded0b9c5b38', class: 'ls-field-properties-section-title' }, "Alignment"), h("p", { key: '57d46a199248986056fa2283a3f983f788ca015f', class: 'ls-field-properties-section-description' }, "Align your Fields relative to the page or multi-select and align then to each other.")), h("div", { key: '600507c665204c312ec88d7dae69f1fd943492e0', class: 'multi-button-group-row' }, h("div", { key: 'bddd2f75ef7695d6f8e8eaebdd8cee1bf3e6f838', class: 'button-group' }, h("button", { key: '00e1849e66a0852577a94889839efe43c1b1c81a', onClick: () => { this.alter({ left: 0 }); }, "data-tooltip": "Align Left" }, h("ls-icon", { key: '9f54b7db1137cef47089564d53e36b3e95a130ee', name: "field-alignment-left" })), h("button", { key: 'c32102532ba8914bfe3ef7345d9a542f5fb3a61b', onClick: () => { this.alter({ left: this.center() }); }, "data-tooltip": "Align Center" }, h("ls-icon", { key: 'b4c4383eadcef61117f3b048bd2b3178b3c0a038', name: "field-alignment-centre" })), h("button", { key: 'bb859c7f759609101af575a282c5f64dabe69c09', onClick: () => { this.alter({ left: this.right() }); }, "data-tooltip": "Align Right" }, h("ls-icon", { key: '688b723605ec157fae2b659bd4d88b08fd897353', name: "field-alignment-right" }))), h("div", { key: 'ed944060fff8351aaa7fd42649cd6447a3961004', class: 'button-group' }, h("button", { key: '808bc6db4bd34934b4aa2f6b7fe47bc561041d7c', onClick: () => this.alter({ top: 0 }), "data-tooltip": "Align Top" }, h("ls-icon", { key: '7215638df9c08fac87e730b9db6963bdaabb6679', name: "field-alignment-top" })), h("button", { key: '740fb0baef8a931ff8f9e3998a048e57e1f73868', onClick: () => { this.alter({ top: this.middle() }); }, "data-tooltip": "Align Middle" }, h("ls-icon", { key: '75151df5e47d9a6f2bdccfcc9de925fd19e7274d', name: "field-alignment-middle" })), h("button", { key: 'd92b4595a17ce95ed97d116a8ec1f1ac848cf45e', onClick: () => { this.alter({ top: this.bottom() }); }, "data-tooltip": "Align Bottom" }, h("ls-icon", { key: '4b46bcab1783eae38c8135cb435123ebf635678b', name: "field-alignment-bottom" }))))), h("div", { key: '3ab3f3ba7a84f9e10590b3e74441f11115fcfcca', class: 'ls-field-properties-section' }, h("div", { key: '2d2bc1642911a36943f543aaea4e1113f6d90468', class: 'ls-field-properties-section-text' }, h("p", { key: '2716c6bd177cee3a74b57f27fceb802f99d00153', class: 'ls-field-properties-section-title' }, "Location"), h("p", { key: '12b0116cf566e8fbd8c716ce30ff50547f075eeb', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), h("div", { key: '7c9d57d5988ac74a052d1e8b48891b9e49689f18', class: 'input-row' }, h("div", { key: '80f2dc6d84b2460f9119a4ad6c38cd23754b3f95', class: 'input-wrapper' }, h("ls-icon", { key: 'b5ce0258e81146a5e69ee892db47026af0e4b857', id: "selectLeadingIcon", name: "x-letter" }), h("input", { key: 'e1364c47bb93b6486e6a43e1c8375646cc90b19e', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", value: this.dataItem?.left, onChange: e => this.alter({ left: e.target.value }) })), h("div", { key: 'd1785c7797954a99563205073b080fecd91ae9cd', class: 'input-wrapper' }, h("ls-icon", { key: '1c4a39e9dbf1b538c1c5330799d73749421efe40', id: "selectLeadingIcon", name: "y" }), h("input", { key: '1577cc2f618217940a68522e511be25906f93af1', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", value: this.dataItem?.top, onChange: e => this.alter({ top: e.target.value }), width: "30" })))), h("div", { key: 'e07c33f5a5a0076f9e9d4762280deda6acb70c13', class: 'ls-field-properties-section' }, h("div", { key: '2164bb922476bb458aadb653ddf56811afd6bada', class: 'ls-field-properties-section-text' }, h("p", { key: 'deb4e93fe9730ad60df1ead15d6fd1125e5f1c7b', class: 'ls-field-properties-section-title' }, "Distribution"), h("p", { key: '85be0bf98871e745aeab85a7b3d5e7c7679bbbc1', class: 'ls-field-properties-section-description' }, "Multi-select fields and evenly space them out")), h("div", { key: '5ea831b28aac09f5379e9fb227f6331ccb496682', class: 'button-group' }, h("button", { key: '8ed8a6be64facd93648d027fde2916a67f42c29c', disabled: true, "data-tooltip": "Select multiple Fields to to access distribution controls" }, h("ls-icon", { key: '136027ff733b7a222ecbe244bd0fb36ff3652427', name: "field-distribute-vertically" })), h("button", { key: '3408c19d67284f7ea72d73281315be8d8d233f5e', disabled: true, "data-tooltip": "Select multiple Fields to to access distribution controls" }, h("ls-icon", { key: '0360b37978f388df95806681c652f535e0eeafdb', name: "field-distribute-horizontally" })))), h("div", { key: '44bcfa853a0eaa54b06923d31706d2fa9734e866', class: 'ls-field-properties-section' }, h("div", { key: '7d5949bcc965f4ed677fb6296f541587ad2d78f0', class: 'ls-field-properties-section-text' }, h("p", { key: '4c19bf6ad558044ccd57f959b95cfaf9137d80fe', class: 'ls-field-properties-section-title' }, "Gap"), h("p", { key: '293c1c62bbf46e56b2ab4cbe95926c8baec55a9c', class: 'ls-field-properties-section-description' }, "Define the exact gap between multi-select fields.")), h("div", { key: 'c27747a77cce6f8e59f297c68e58c0ad3844a4a7', class: 'input-row' }, h("div", { key: '26961c543f14fe3cc3fab27264c1900e85540e95', class: 'input-wrapper', "data-tooltip": "Select multiple Fields to to access gap controls" }, h("ls-icon", { key: '960ecb65e5729f20baa8e6c3ca091ee8e64d880b', id: "selectLeadingIconDisabled", name: "field-distribute-vertically" }), h("input", { key: '43057c9c211ab5e6b9d6c0df9867cc6a64b2729b', type: "number", value: "0", class: 'has-leading-icon', aria: "vertical-gap", id: "vertical-gap", disabled: true })), h("div", { key: '5ffd08a406bac946193b108a8ff7cf215b0d1d1a', class: 'input-wrapper', "data-tooltip": "Select multiple Fields to to access gap controls" }, h("ls-icon", { key: '84979d224cbeead196f6e06cd1e1ec0de3b92fb4', id: "selectLeadingIconDisabled", name: "field-distribute-horizontally" }), h("input", { key: '1f1b03545533e57fad828649407e14ede6f41fbe', type: "number", value: "0", class: 'has-leading-icon', aria: "horizontal-gap", id: "horizontal-gap", disabled: true })))))), h("ls-tooltip", { key: 'f04cdce03dae2e63bec8d9588eff9f2e15ad16ff', id: "ls-tooltip-master" })));
58
58
  }
59
59
  static get is() { return "ls-field-placement"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class LsFieldProperties {
38
38
  event.stopPropagation();
39
39
  };
40
40
  render() {
41
- return (h(Host, { key: '8b14975eed8fd2bbeb0fce44fa332ea5ca50bcc9', onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp }, this.dataItem && this.renderFields(), h("slot", { key: '3e5c926ef4f6e45b814c1ca4f9e8ea48434a3ae4' })));
41
+ return (h(Host, { key: 'bab499f31527d5413652945bbf7723c5dab79405', onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp }, this.dataItem && this.renderFields(), h("slot", { key: '1b7a65e7ba35b960519ed1c102c4ffb0306a2b5d' })));
42
42
  }
43
43
  static get is() { return "ls-field-properties"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -55,10 +55,10 @@ export class LsFieldPropertiesAdvanced {
55
55
  return '';
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '525aca5b25e79b70c7edfb024c1ad333076fae54' }, h("div", { key: '6e785de381db8c33d362f47250e3233d1ec85883', class: 'expand-fields-row', onClick: () => (this.expanded = !this.expanded) }, h("ls-icon", { key: 'e1ba6a77f53ac7a3d5c094eec85b29c6976b2c3a', name: this.expanded ? 'expand' : 'collapse', size: "20", solid: true }), h("p", { key: '841527428aed8dd8805af990ce2feced57fbd067' }, "Advanced Properties")), this.expanded && (h("div", { key: '47d1956fd618aed368ae522e7ea5e919121e72e4', class: 'field-set' }, h("ls-props-section", { key: '2650024b73a3dabd3d510fc3431a235011684e68', sectionTitle: "Field Order", sectionDescription: "Determines what order fields will be filled in by the user" }, h("input", { key: '76da63a43c571d48fd84e59a72e6f69e8bdd43eb', value: this.getValue('fieldOrder'), type: "number", placeholder: "eg. 1", onInput: e => {
58
+ return (h(Host, { key: 'adc2b87c39dbe48a990e310d319488193fa4363f' }, h("div", { key: 'afe76dc7c97f20a5d02c468749efc624f8a5bd2f', class: 'expand-fields-row', onClick: () => (this.expanded = !this.expanded) }, h("ls-icon", { key: '753b14a303f8c778126ac11146f7d6b7e7ef8b3f', name: this.expanded ? 'expand' : 'collapse', size: "20", solid: true }), h("p", { key: '379e7ac4ce24c30a9e835d0169e0612f4f67361f' }, "Advanced Properties")), this.expanded && (h("div", { key: 'e4ff2c54e710def3c4e4e46f780e249588139627', class: 'field-set' }, h("ls-props-section", { key: '2fbfa8e4d8706077f31cc6042a3067ab648c574d', sectionTitle: "Field Order", sectionDescription: "Determines what order fields will be filled in by the user" }, h("input", { key: '9d4620a4ec75c57289401fd611329929521ce300', value: this.getValue('fieldOrder'), type: "number", placeholder: "eg. 1", onInput: e => {
59
59
  console.log(e);
60
60
  this.alter({ fieldOrder: e.target.value }, 100);
61
- }, onChange: () => { console.log('onchange'); } })), h("ls-props-section", { key: 'dafbad02f11bcabffd31e88d9a706fe48370f4b3', sectionTitle: "Ref. Name" }, h("input", { key: '97c830d6a867fbdb4e97ef2bbfef1381877f24f3', value: this.getValue('link'), placeholder: "eg. checkbox group", onInput: e => this.alter({ link: e.target.value }, 300) })), h("ls-props-section", { key: '428b4964bc93131748697eed41130cadbf3aa201', sectionTitle: "Link Type", sectionDescription: "Determines in what way this field is linked to other fields" }, h("select", { key: '4ce87c075e789519a47b3f501d15f2e65b877103', onChange: e => this.alter({ linkType: e.target.value }), name: "Link Field", "aria-label": "Link Field" }, h("option", { key: '35e994dcf2a4328b988ff56fa0217cc1364e7c17', value: "0", selected: this.getValue('linkType') === '0' }, "None"), h("option", { key: '008319f53d1ce8fa2f16aa3e2992fcc14325ba1e', value: "1", selected: this.getValue('linkType') === '1' }, "One of a group (e.g. select one checkbox)"), h("option", { key: 'afa8bc473058f3edd507d1a9a7d26359dedb2e7d', value: "2", selected: this.getValue('linkType') === '2' }, "Add to a total"), h("option", { key: '70b0a4bdb81c68b1be7c80c33c118c6e8ebcf3e7', value: "3", selected: this.getValue('linkType') === '3' }, "Make this conditional upon..."))), h("ls-props-section", { key: 'abc77933b19cbccb685a3a6da362aeaceecd0b38', sectionTitle: "Link Value", sectionDescription: "Fields with the same Link Value will be linked together" }, h("input", { key: 'b5c6738d7800471a00f71bbe0158e9d1483f4460', value: this.getValue('logicAction'), width: "30", placeholder: "eg. checkbox group", onChange: e => this.alter({ logicAction: e.target.value }) }))))));
61
+ }, onChange: () => { console.log('onchange'); } })), h("ls-props-section", { key: '812b66263389b77c010bdaa1f1d72067e1ead50f', sectionTitle: "Ref. Name" }, h("input", { key: '4d91f09201c6004cb0ede5f926502e3239fcfcd4', value: this.getValue('link'), placeholder: "eg. checkbox group", onInput: e => this.alter({ link: e.target.value }, 300) })), h("ls-props-section", { key: '3a86622b67586c43699729bddc852707df359dad', sectionTitle: "Link Type", sectionDescription: "Determines in what way this field is linked to other fields" }, h("select", { key: '7136c6ad42008dd34fcd2f1fa6c76a21a73a6117', onChange: e => this.alter({ linkType: e.target.value }), name: "Link Field", "aria-label": "Link Field" }, h("option", { key: 'd01a7dc32e3916979d7f9ee2994ae0f7f89df5eb', value: "0", selected: this.getValue('linkType') === '0' }, "None"), h("option", { key: 'b6b3196e800c7931a6d0f7fc6e5af2fa1ada02e6', value: "1", selected: this.getValue('linkType') === '1' }, "One of a group (e.g. select one checkbox)"), h("option", { key: '9809509fc79dda1ff103c9cbbdbc353e974b35c9', value: "2", selected: this.getValue('linkType') === '2' }, "Add to a total"), h("option", { key: 'a1d50a115bb92c538c8cb6f7ed80f5bb642681c5', value: "3", selected: this.getValue('linkType') === '3' }, "Make this conditional upon..."))), h("ls-props-section", { key: '80fed4a7bf99f86f201251666942a71009ebffc0', sectionTitle: "Link Value", sectionDescription: "Fields with the same Link Value will be linked together" }, h("input", { key: 'a3429d3400c26bba3ed650995d2550af537c8fa5', value: this.getValue('logicAction'), width: "30", placeholder: "eg. checkbox group", onChange: e => this.alter({ logicAction: e.target.value }) }))))));
62
62
  }
63
63
  static get is() { return "ls-field-properties-advanced"; }
64
64
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesAutosign {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: '9285ab2a5cb12f9b91271be75e75fa7195409073' }, h("div", { key: 'c08e687347c27506b2957468b396c9671acf1e0e', class: "ls-field-properties-section" }, "Self Sign Field"), h("div", { key: 'aefb685cd71e70b7a5ae0331870b2dd767ed55dd' }, "Label: ", h("input", { key: '8e12b81736653e6cc1242890f23666551cfb6378', value: this.dataItem?.label, width: "30" })), h("ls-field-dimensions", { key: 'ff49889d87a43ce879585149539943618d6864df', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'd7d8034eedcbb9ad75ab945e96386066d1f43a03', dataItem: this.dataItem }), h("ls-field-footer", { key: 'f14b774253690484099d2660cb764618207f27de', dataItem: this.dataItem }), h("slot", { key: '78bca0ddb0e6d84c046f33a4a1d1570c0d20adf0' })));
5
+ return (h(Host, { key: '602e19c1de17c1573e1d32c0529de48a8c063589' }, h("div", { key: '8c29c9fb7ce90f61cfa4703b2706f6bbd6002d6b', class: "ls-field-properties-section" }, "Self Sign Field"), h("div", { key: '02b1fcac1f2833806dd43c051a9d5dad06b8836f' }, "Label: ", h("input", { key: 'cfa56c618a0dda6639d81749f6ea12fd1a7a8dfe', value: this.dataItem?.label, width: "30" })), h("ls-field-dimensions", { key: 'ad074de09ce3c4c32b6f71313406d4fd48271c91', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'd44c890e2b0796b20d20bf4b6da98394d4245cec', dataItem: this.dataItem }), h("ls-field-footer", { key: 'b4b839dc085d49e291b1dddf87120a6e9c2f1c1d', dataItem: this.dataItem }), h("slot", { key: '9dcf2162b5111c76a8c76aec0453a719c19a5c91' })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-autosign"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class LsFieldPropertiesContainer {
9
9
  }
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'e19c0cdbd6e2ff2258804d46f8faa3c726daae23' }, this.tabs.length > 1 && (h("div", { key: 'b0b5329bec449c6da23646a0983bd3f636a44ac1', class: 'tabs-container', style: { gridTemplateColumns: `repeat(${this.tabs.length}, 1fr)` } }, this.tabs.map(tab => (h("button", { class: tab === this.selectedTab ? 'ls-tab active' : 'ls-tab', onClick: () => (this.selectedTab = tab) }, tab))))), h("div", { key: '72450e3a8bae527a73408c89ef719c78cd1e81db', class: 'scrolling-container' }, h("slot", { key: 'b088d8010f2e3cc24847382acfcc4188b4df9df7', name: this.selectedTab }))));
12
+ return (h(Host, { key: 'f867d8adae7a885d62f54f2d66c471a135dfd327' }, this.tabs.length > 1 && (h("div", { key: 'fb74674c68910651e351f595aa62b4e1a58a99b8', class: 'tabs-container', style: { gridTemplateColumns: `repeat(${this.tabs.length}, 1fr)` } }, this.tabs.map(tab => (h("button", { class: tab === this.selectedTab ? 'ls-tab active' : 'ls-tab', onClick: () => (this.selectedTab = tab) }, tab))))), h("div", { key: '6bcb9bdfa29a664b3af157699389f5df081497f2', class: 'scrolling-container' }, h("slot", { key: 'ad6335f0acc5f70e160657d9da66720d7403ccb0', name: this.selectedTab }))));
13
13
  }
14
14
  static get is() { return "ls-field-properties-container"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesDate {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: 'f78f03bccce97c0d12ae21e3f7879f4a83452d0b' }, h("ls-field-properties-container", { key: '6f2391a7ed6e85dda3b868a15a735c05701c1f3d', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'cce3f53fa0b32efe341fe9682775928c7a1645a8', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '2a4a986d17ec0e3537d75988cd61820d673ab364', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'be070de8f0d9c212e8849498055b232e90f77a21', dataItem: this.dataItem })), h("div", { key: '4218d20c0ad2987fde6b7ad190c77e6f45580e0d', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '902fc665b8dd167afdb8fb90101458b63d381956', dataItem: this.dataItem })), h("div", { key: 'a9f23940fe88417be866999d8f03d53c24e9eef4', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '7b80f9305ae3ae83c4f807693faeb0085e9dae7d', dataItem: this.dataItem }))), h("ls-field-footer", { key: '5feb5badd9c982424988daa66127b2b89af53c47', dataItem: this.dataItem })));
5
+ return (h(Host, { key: '3d76414ea17b5b153bca2f695493f3bd6b08a16f' }, h("ls-field-properties-container", { key: 'edfec9516b12063d1912957a601457bbd0b62974', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'caed93b4ef27d30449cbf98e79682e5a6d64769d', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '5489d32e008c9b17c720805a9b6aaca50f5dfde9', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '09751239e9bc7d87be6617592ebe4ae85899c59a', dataItem: this.dataItem })), h("div", { key: 'ca90747a5ba7ae0c27f523aa6a75cb550efa13a2', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '846b2bab340087292cf0c62a170e77f01969af2c', dataItem: this.dataItem })), h("div", { key: '1b88e526fb50d6c4efc8caaf7a04d1e2b3dac4a7', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '5b9ab2b7cea77a40456d7a13f523da2faf23a1b3', dataItem: this.dataItem }))), h("ls-field-footer", { key: '7724a99ca02d4aa2755ef487b6713a1bfbdba675', dataItem: this.dataItem })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-date"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesDropdown {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: 'cf4a701ae1a4e4a794874e5b5442ccb13162494a' }, h("ls-field-properties-container", { key: '8b10f1d45a86eb0cb7a150476513c10d00f643f5', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'ebd19d3770cb563e90cf84e3aa4a8a6f16c15d22', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '1827b4b81665b50127ca658d17e0ab8da3955276', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '0da9e6aee8307e7d5501c62b1f984e30acaf7edb', dataItem: this.dataItem })), h("div", { key: 'cb811972008d6d6aab3675e404ae518d92e3da67', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '80a7f0ceebf44088b0ceba2bb66526e4b7b2ccd4', dataItem: this.dataItem })), h("div", { key: '67ab96868f2e20f6134823efa2c9f915a0451990', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'bf4530ef267aae9efe0c48e26dc2068d8ec2c198', dataItem: this.dataItem }))), h("ls-field-footer", { key: 'ebfad46e949d644af64d2e30b56377339df95d19', dataItem: this.dataItem })));
5
+ return (h(Host, { key: '6ab36b10433f2a9c0cd5e39f3b78f3471f795c15' }, h("ls-field-properties-container", { key: '4cfe8d66c414f0684282d5379b7950cef1ea5773', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '673962971e8e8e219c02d13e9e61d2cdcad83887', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'ae5e0250d816457bfacf2a6d9d2b711feeb05dd8', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '07f776cee20cc1f8929db189cd84f68b5b349501', dataItem: this.dataItem })), h("div", { key: 'a8e1665f9d3f88fa1caa881ebb71d97bc17ba4fc', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: 'a8f7df3d69a5f6d8fd4ebe7293b948bf2855b73e', dataItem: this.dataItem })), h("div", { key: 'e8a36fe97a69841dc48c6e99d6517fad087ef05d', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '0872ceab1ea0af0b8e8c6e7b7a01e453c264b4da', dataItem: this.dataItem }))), h("ls-field-footer", { key: 'e4609c33b929269673d302b5d7e53c0a1820d60e', dataItem: this.dataItem })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-dropdown"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesEmail {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: '30fd66966b014f070b6677c826fabafb0c225eee' }, h("ls-field-properties-container", { key: '8201505f1d5a4d460d3d6b0d0735098750471cf4', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '17004940d7dac75dbef27ef61796685f1d886b76', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '2e3a9de0cbc6ca5180e028534ed4ccbc422bc207', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '36d07ceac363a42c6bed429914a8459b66eeb4e8', dataItem: this.dataItem })), h("div", { key: '578f3a12bff6f3a032e70e1814e3918fd07347d6', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '4d10b99dcac6cc22b2ebe1c73e9a5082448c4d5d', dataItem: this.dataItem })), h("div", { key: '65aaf87dbe3ae8cbbeba7dd131624609f77cfa93', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'b3d9b2305ea6e717fc7214cd797e0b2c6b19c186', dataItem: this.dataItem }))), h("ls-field-footer", { key: 'ff4aedff1fdef6df7112a1a49c1bc6ef86bee460', dataItem: this.dataItem })));
5
+ return (h(Host, { key: 'dcee9ffb353c373a7ad4018ffc3e5f27a8f991fa' }, h("ls-field-properties-container", { key: 'd9cc3a82c913a05be483e02ceec791294925f4dc', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '01caaf2b2db49c80bd9c936ace589db080761ac5', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '34c4b5344993f49e908d0a36dd737266bdce86ef', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '03d37d252278f413b8f84f0efb495a1ddbbcc598', dataItem: this.dataItem })), h("div", { key: 'b4f667e8f4357bb21bd2d338443549fb9a46ab33', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: 'a458d3f26c42bf616fece1fee7677fe108d2a34d', dataItem: this.dataItem })), h("div", { key: '2e9f6d5cba11d46cf577787a8f4f0d73e614385e', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'a465faa14c1cb736bc7bae76acd47091f64e1194', dataItem: this.dataItem }))), h("ls-field-footer", { key: '704c6d8df46067cc0514805c419754de1a894c32', dataItem: this.dataItem })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-email"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesFile {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: '793c278f31cf863add93c7465cede135ee51512f' }, h("ls-field-properties-container", { key: '54d20224c2f629da4e0499a4335c38ceab50066f', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'ef927fbcfdd145123ba87b9d172bd98364b283f8', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'a0de4e95eec2b9746ed0f0dd8894a40a0eab5f95', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '557295236a921b08b58df8b769af32c9353ffe48', dataItem: this.dataItem })), h("div", { key: '4c3bc45d9f84177a6ea1cbcda178de302551c5f0', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: 'ad70e188c3e483724c2c6c33e7918e53cf2f288f', dataItem: this.dataItem })), h("div", { key: '4b757f9c215af017c6f58565cc3075ee27f1b21f', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '95ce9cd140d9f0abf15b0f250e73a7c4647f1ef9', dataItem: this.dataItem }))), h("ls-field-footer", { key: '3c0317518f63abca0471fd429ed9856f76ace6ff', dataItem: this.dataItem })));
5
+ return (h(Host, { key: '88b1194eadd620a301e5163f28e6ed7abb95d851' }, h("ls-field-properties-container", { key: '537f4627d4e12eefd996eb0e08792f6cdff51f9b', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '0e126a53c285c2849b112a152c71b65f97346029', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '424e82d675b7582d7e133f172c55620ecd1d3b85', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '3705e79f0a68db4861abe9ad73e2ea75cdc238cc', dataItem: this.dataItem })), h("div", { key: '5facf5a8593c86aa027c3ec8f575852156359d2e', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: 'b1c4404b2181e2bf859f62dd4f2195125b4e1ff5', dataItem: this.dataItem })), h("div", { key: '7920be7e29f48f890441711040b2d7cd37109e4f', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '61cac1518a8c20da611f7c9c9cb1799a1d21097d', dataItem: this.dataItem }))), h("ls-field-footer", { key: '079d83b3d9b867a3436454f7828eef28b2eddfcf', dataItem: this.dataItem })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-file"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesGeneral {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: '51ee28edf66a199e6fb108cca166c70906b909bb' }, h("ls-field-properties-container", { key: '0873c36bffe29a1027aedacfd5713b64152dc17e', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'cab05eb3ca7deb99567f1bf3fee25d454ba30283', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '86c4aec175cd5749493bf00ca6ce74996c089659', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'd83a285dbf707f9694c44c877e625aec6b6ef034', dataItem: this.dataItem })), h("div", { key: 'a5d7b9b529f0c392777f6693f5b691f69ce12c75', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '907fe3d7e5bed707b9e36aa9d23c715560ca28c5', dataItem: this.dataItem })), h("div", { key: 'd163d16cdce6ee20ed1f45b21cadec28fa72c6f9', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'e9e827f77a90e5a141928ad680d81fa418e232bc', dataItem: this.dataItem }))), h("ls-field-footer", { key: '5eb492578fdd032fcbde081911cfb40955807d3e', dataItem: this.dataItem })));
5
+ return (h(Host, { key: 'c5a783c9c50191a03243eacba093df4bc12c01e9' }, h("ls-field-properties-container", { key: 'e982350c67800227aa7bb29e0af36539a34d4ed1', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'f47da6e521961f4946b5dcf757668915f3da7f45', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '2eaecda4df966427b680166930e8ac55166cf6c1', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '8c58fc6ee970a04ebdeaa5339885010797d47403', dataItem: this.dataItem })), h("div", { key: '7e8c06a26b03c2a38ddc7d5ac8c28fe2769f843f', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '483075e06327527baecd7ad5eae6fdd213d47bae', dataItem: this.dataItem })), h("div", { key: 'a5a11197ce8a6f2cf6c8f634be5ff60e15e9f662', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '8c972251f595ee3beadef8607f79578458ef8009', dataItem: this.dataItem }))), h("ls-field-footer", { key: '1a9dff5743fa48f22ce3729fa78f1f06971ba90f', dataItem: this.dataItem })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-general"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesImage {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: '3cf25226c1a72f571d65240d277b61ba8bdbf87a' }, h("ls-field-properties-container", { key: 'feceff66e159753ad1058b5f7d7efaa3fcadbd89', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'f31cd33af8ef76d72bab66719f9769591777ed09', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'c7eaacc48d1946cc498be38289378fd96938f540', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'f9b77ba5b6f10eadb56b8d289abc380f954e1669', dataItem: this.dataItem })), h("div", { key: '2a05a1964511e174a17675ed3a06208f294c03e7', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '30151d527bd82c86ddc1d795517e096075cd9753', dataItem: this.dataItem })), h("div", { key: '8f58ad2014834bfc75f6d407dcb04d69eef762f4', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'e902b9ea651852d2879522bcdbbb118cb07b55d8', dataItem: this.dataItem }))), h("ls-field-footer", { key: '055c3357b7a1d35aa49f87e19619a4dff7db4ba3', dataItem: this.dataItem })));
5
+ return (h(Host, { key: '22f5ce8899defc26526afb33f7bc7cbd70a8e048' }, h("ls-field-properties-container", { key: 'f11b88fa01aa9a0138155c5fdbfb7a912f8e8e6d', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: 'ceed990e895bbb889fe62480cb4d5aa7a82dec27', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'e932672e87051224b90b57e148a69b102f9a644c', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '065e8d0d3059d78ee60004cdae52034946dfcb34', dataItem: this.dataItem })), h("div", { key: '8721aec4a3f120a3298082ffd8c35d02f3601fc0', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '43636f26161eb313ac666eabf6ba4e446391d7e2', dataItem: this.dataItem })), h("div", { key: '75b9b6b55e4f0ada1b242bc30a3a1a8c72068e15', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '37f37b80650362d92de618f2a36a664a8bb4875b', dataItem: this.dataItem }))), h("ls-field-footer", { key: 'ca5264df240cf75afd536c1d585ddb05779bfe00', dataItem: this.dataItem })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-image"; }
8
8
  static get encapsulation() { return "shadow"; }