@verdocs/web-sdk 2.3.14 → 2.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/dist/cjs/{EnvelopeStore-f8c301e1.js → EnvelopeStore-efc35530.js} +1 -1
  2. package/dist/cjs/{Envelopes-99ca79fe.js → Envelopes-0b9deb2c.js} +2 -6
  3. package/dist/cjs/{Profiles-54271244.js → Profiles-1a26e4eb.js} +0 -34
  4. package/dist/cjs/{TemplateStore-d9936a68.js → TemplateStore-17b9fdfe.js} +1 -1
  5. package/dist/cjs/{Types-ee5afdf8.js → Types-fb95ed6b.js} +2 -1
  6. package/dist/cjs/{VerdocsEndpoint-2d85658d.js → VerdocsEndpoint-8f298664.js} +197 -563
  7. package/dist/cjs/{_commonjsHelpers-0c557e26.js → _commonjsHelpers-1fbbf0eb.js} +0 -5
  8. package/dist/cjs/interact.min-7c05ff8a.js +12 -0
  9. package/dist/cjs/ipc-test.cjs.entry.js +2 -2
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/{utils-2ddfdf9e.js → utils-0916d10f.js} +3 -3
  12. package/dist/cjs/verdocs-activity-box.cjs.entry.js +2 -2
  13. package/dist/cjs/verdocs-auth.cjs.entry.js +8 -34
  14. package/dist/cjs/verdocs-build.cjs.entry.js +2 -2
  15. package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +12 -3
  16. package/dist/cjs/{verdocs-contact-picker_2.cjs.entry.js → verdocs-contact-picker_3.cjs.entry.js} +78 -6
  17. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +5 -5
  18. package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +3 -3
  19. package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +5 -4
  20. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +5 -5
  21. package/dist/cjs/verdocs-field-attachment.cjs.entry.js +4 -4
  22. package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +4 -4
  23. package/dist/cjs/verdocs-field-date.cjs.entry.js +5 -5
  24. package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +4 -5
  25. package/dist/cjs/verdocs-field-initial.cjs.entry.js +4 -4
  26. package/dist/cjs/verdocs-field-payment.cjs.entry.js +4 -4
  27. package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +4 -4
  28. package/dist/cjs/verdocs-field-signature.cjs.entry.js +4 -4
  29. package/dist/cjs/verdocs-field-textarea.cjs.entry.js +10 -9
  30. package/dist/cjs/verdocs-field-textbox.cjs.entry.js +9 -9
  31. package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +5 -5
  32. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
  33. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +2 -1
  34. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +4 -4
  35. package/dist/cjs/verdocs-preview_8.cjs.entry.js +9 -8
  36. package/dist/cjs/verdocs-quick-functions_2.cjs.entry.js +79 -0
  37. package/dist/cjs/verdocs-search.cjs.entry.js +1 -1
  38. package/dist/cjs/verdocs-settings-api-keys_4.cjs.entry.js +70 -37
  39. package/dist/cjs/verdocs-settings.cjs.entry.js +1 -1
  40. package/dist/cjs/verdocs-sign.cjs.entry.js +11 -8
  41. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +5 -5
  42. package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +55 -47
  43. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  44. package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
  45. package/dist/cjs/verdocs-view.cjs.entry.js +5 -5
  46. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  47. package/dist/collection/collection-manifest.json +1 -1
  48. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.css +0 -0
  49. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +181 -0
  50. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.stories.js +20 -0
  51. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +20 -1
  52. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +6 -34
  53. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +2 -1
  54. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +7 -3
  55. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +4 -1
  56. package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +1 -0
  57. package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.css +1 -0
  58. package/dist/collection/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.js +0 -1
  59. package/dist/collection/components/fields/verdocs-field-textarea/verdocs-field-textarea.js +2 -1
  60. package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.css +1 -1
  61. package/dist/collection/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.css +1 -0
  62. package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js +2 -2
  63. package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.js +10 -0
  64. package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +43 -35
  65. package/dist/collection/utils/Types.js +2 -1
  66. package/dist/components/Envelopes.js +2 -6
  67. package/dist/components/TemplateStore.js +1 -1
  68. package/dist/components/Types2.js +2 -1
  69. package/dist/components/VerdocsEndpoint.js +197 -562
  70. package/dist/components/_commonjsHelpers.js +1 -5
  71. package/dist/components/index.d.ts +1 -1
  72. package/dist/components/index.js +1 -1
  73. package/dist/components/index3.js +40 -29
  74. package/dist/components/interact.min.js +5 -6
  75. package/dist/components/verdocs-auth.js +12 -46
  76. package/dist/components/verdocs-build.js +22 -16
  77. package/dist/components/verdocs-contact-picker2.js +1 -1
  78. package/dist/components/verdocs-envelope-sidebar.js +1 -0
  79. package/dist/components/verdocs-field-date.js +1 -1
  80. package/dist/components/verdocs-field-dropdown.js +0 -1
  81. package/dist/components/verdocs-field-textarea.js +5 -4
  82. package/dist/components/verdocs-field-textbox.js +4 -4
  83. package/dist/components/verdocs-field-timestamp.js +1 -1
  84. package/dist/components/verdocs-ok-dialog2.js +3 -1
  85. package/dist/components/verdocs-portal.d.ts +11 -0
  86. package/dist/components/verdocs-portal.js +6 -0
  87. package/dist/components/verdocs-portal2.js +93 -0
  88. package/dist/components/verdocs-search.js +2 -8
  89. package/dist/components/verdocs-send2.js +12 -5
  90. package/dist/components/verdocs-settings-organization2.js +22 -1
  91. package/dist/components/verdocs-sign.js +7 -3
  92. package/dist/components/verdocs-template-create2.js +2 -2
  93. package/dist/components/verdocs-template-field-properties2.js +10 -0
  94. package/dist/components/verdocs-template-fields2.js +46 -38
  95. package/dist/components/verdocs-template-roles2.js +4 -4
  96. package/dist/custom-elements.json +2067 -0
  97. package/dist/docs.json +139 -108
  98. package/dist/esm/{EnvelopeStore-15cc99ef.js → EnvelopeStore-17c0bc52.js} +1 -1
  99. package/dist/esm/{Envelopes-21ffb899.js → Envelopes-627c5239.js} +2 -6
  100. package/dist/esm/{Profiles-4cc942ef.js → Profiles-d4df4d1c.js} +1 -32
  101. package/dist/esm/{TemplateStore-018fc1db.js → TemplateStore-ad77a294.js} +1 -1
  102. package/dist/esm/Types-1628dc71.js +5 -0
  103. package/dist/esm/{VerdocsEndpoint-b011af25.js → VerdocsEndpoint-56fa3371.js} +197 -562
  104. package/dist/esm/{_commonjsHelpers-5ec8f9b7.js → _commonjsHelpers-8a9f3b18.js} +1 -5
  105. package/dist/esm/interact.min-ef5402f3.js +10 -0
  106. package/dist/esm/ipc-test.entry.js +2 -2
  107. package/dist/esm/loader.js +1 -1
  108. package/dist/esm/{utils-d269cea3.js → utils-ca3121df.js} +3 -3
  109. package/dist/esm/verdocs-activity-box.entry.js +2 -2
  110. package/dist/esm/verdocs-auth.entry.js +8 -34
  111. package/dist/esm/verdocs-build.entry.js +2 -2
  112. package/dist/esm/verdocs-button-panel_2.entry.js +12 -3
  113. package/dist/esm/{verdocs-contact-picker_2.entry.js → verdocs-contact-picker_3.entry.js} +78 -7
  114. package/dist/esm/verdocs-envelope-document-page.entry.js +5 -5
  115. package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +3 -3
  116. package/dist/esm/verdocs-envelope-sidebar.entry.js +5 -4
  117. package/dist/esm/verdocs-envelopes-list.entry.js +5 -5
  118. package/dist/esm/verdocs-field-attachment.entry.js +4 -4
  119. package/dist/esm/verdocs-field-checkbox.entry.js +4 -4
  120. package/dist/esm/verdocs-field-date.entry.js +5 -5
  121. package/dist/esm/verdocs-field-dropdown.entry.js +4 -5
  122. package/dist/esm/verdocs-field-initial.entry.js +4 -4
  123. package/dist/esm/verdocs-field-payment.entry.js +4 -4
  124. package/dist/esm/verdocs-field-radio-button.entry.js +4 -4
  125. package/dist/esm/verdocs-field-signature.entry.js +4 -4
  126. package/dist/esm/verdocs-field-textarea.entry.js +10 -9
  127. package/dist/esm/verdocs-field-textbox.entry.js +9 -9
  128. package/dist/esm/verdocs-field-timestamp.entry.js +5 -5
  129. package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
  130. package/dist/esm/verdocs-ok-dialog.entry.js +2 -1
  131. package/dist/esm/verdocs-pagination_2.entry.js +4 -4
  132. package/dist/esm/verdocs-preview_8.entry.js +9 -8
  133. package/dist/esm/verdocs-quick-functions_2.entry.js +74 -0
  134. package/dist/esm/verdocs-search.entry.js +1 -1
  135. package/dist/esm/verdocs-settings-api-keys_4.entry.js +68 -35
  136. package/dist/esm/verdocs-settings.entry.js +1 -1
  137. package/dist/esm/verdocs-sign.entry.js +11 -8
  138. package/dist/esm/verdocs-template-document-page_2.entry.js +5 -5
  139. package/dist/esm/verdocs-template-fields_4.entry.js +55 -47
  140. package/dist/esm/verdocs-template-star.entry.js +1 -1
  141. package/dist/esm/verdocs-templates-list.entry.js +1 -1
  142. package/dist/esm/verdocs-view.entry.js +5 -5
  143. package/dist/esm/verdocs-web-sdk.js +1 -1
  144. package/dist/esm-es5/{EnvelopeStore-15cc99ef.js → EnvelopeStore-17c0bc52.js} +1 -1
  145. package/dist/esm-es5/Envelopes-627c5239.js +1 -0
  146. package/dist/esm-es5/Profiles-d4df4d1c.js +1 -0
  147. package/dist/esm-es5/{TemplateStore-018fc1db.js → TemplateStore-ad77a294.js} +1 -1
  148. package/dist/esm-es5/Types-1628dc71.js +1 -0
  149. package/dist/esm-es5/VerdocsEndpoint-56fa3371.js +1 -0
  150. package/dist/esm-es5/_commonjsHelpers-8a9f3b18.js +1 -0
  151. package/dist/esm-es5/interact.min-ef5402f3.js +1 -0
  152. package/dist/esm-es5/ipc-test.entry.js +1 -1
  153. package/dist/esm-es5/loader.js +1 -1
  154. package/dist/esm-es5/{utils-d269cea3.js → utils-ca3121df.js} +2 -2
  155. package/dist/esm-es5/verdocs-activity-box.entry.js +1 -1
  156. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  157. package/dist/esm-es5/verdocs-build.entry.js +1 -1
  158. package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
  159. package/dist/esm-es5/verdocs-contact-picker_3.entry.js +1 -0
  160. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  161. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
  162. package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
  163. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  164. package/dist/esm-es5/verdocs-field-attachment.entry.js +1 -1
  165. package/dist/esm-es5/verdocs-field-checkbox.entry.js +1 -1
  166. package/dist/esm-es5/verdocs-field-date.entry.js +1 -1
  167. package/dist/esm-es5/verdocs-field-dropdown.entry.js +1 -1
  168. package/dist/esm-es5/verdocs-field-initial.entry.js +1 -1
  169. package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
  170. package/dist/esm-es5/verdocs-field-radio-button.entry.js +1 -1
  171. package/dist/esm-es5/verdocs-field-signature.entry.js +1 -1
  172. package/dist/esm-es5/verdocs-field-textarea.entry.js +1 -1
  173. package/dist/esm-es5/verdocs-field-textbox.entry.js +1 -1
  174. package/dist/esm-es5/verdocs-field-timestamp.entry.js +1 -1
  175. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  176. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  177. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  178. package/dist/esm-es5/verdocs-preview_8.entry.js +1 -1
  179. package/dist/esm-es5/verdocs-quick-functions_2.entry.js +1 -0
  180. package/dist/esm-es5/verdocs-search.entry.js +1 -1
  181. package/dist/esm-es5/verdocs-settings-api-keys_4.entry.js +1 -1
  182. package/dist/esm-es5/verdocs-settings.entry.js +1 -1
  183. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  184. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  185. package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -1
  186. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  187. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
  188. package/dist/esm-es5/verdocs-view.entry.js +1 -1
  189. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  190. package/dist/types/components/controls/verdocs-portal/verdocs-portal.d.ts +37 -0
  191. package/dist/types/components/{elements/verdocs-search-activity/verdocs-search-activity.stories.d.ts → controls/verdocs-portal/verdocs-portal.stories.d.ts} +3 -6
  192. package/dist/types/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.d.ts +4 -0
  193. package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +0 -2
  194. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +1 -0
  195. package/dist/types/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.d.ts +1 -0
  196. package/dist/types/components.d.ts +50 -34
  197. package/dist/types/utils/Types.d.ts +1 -1
  198. package/dist/types/utils/utils.d.ts +2 -2
  199. package/dist/verdocs-web-sdk/{p-a35314fe.js → p-02a71e03.js} +1 -1
  200. package/dist/verdocs-web-sdk/{p-7805f0e0.entry.js → p-035a3ce2.entry.js} +1 -1
  201. package/dist/verdocs-web-sdk/p-035f6b38.js +1 -0
  202. package/dist/verdocs-web-sdk/{p-1406ffd2.entry.js → p-05e6bc91.entry.js} +1 -1
  203. package/dist/verdocs-web-sdk/{p-df6a373e.system.entry.js → p-062ca25f.system.entry.js} +1 -1
  204. package/dist/verdocs-web-sdk/{p-10af7aec.system.entry.js → p-0685d939.system.entry.js} +1 -1
  205. package/dist/verdocs-web-sdk/p-0abf0058.system.entry.js +1 -0
  206. package/dist/verdocs-web-sdk/p-0c425f97.system.entry.js +1 -0
  207. package/dist/verdocs-web-sdk/p-17598002.system.entry.js +1 -0
  208. package/dist/verdocs-web-sdk/{p-04d7d759.system.entry.js → p-17bf98f2.system.entry.js} +1 -1
  209. package/dist/verdocs-web-sdk/p-1a7aa04b.entry.js +1 -0
  210. package/dist/verdocs-web-sdk/p-1ba9f457.system.js +1 -0
  211. package/dist/verdocs-web-sdk/{p-2f04fb38.system.entry.js → p-1cb878c8.system.entry.js} +1 -1
  212. package/dist/verdocs-web-sdk/{p-261d376e.system.entry.js → p-1e38b22f.system.entry.js} +1 -1
  213. package/dist/verdocs-web-sdk/{p-ebc4142c.js → p-1f78be32.js} +1 -1
  214. package/dist/verdocs-web-sdk/p-22e0d2bc.entry.js +1 -0
  215. package/dist/verdocs-web-sdk/{p-4f439363.entry.js → p-2ccbf54d.entry.js} +1 -1
  216. package/dist/verdocs-web-sdk/{p-77abc3ce.entry.js → p-37dfdc84.entry.js} +1 -1
  217. package/dist/verdocs-web-sdk/p-3e607686.js +1 -0
  218. package/dist/verdocs-web-sdk/{p-a171983b.system.entry.js → p-3f3807b0.system.entry.js} +1 -1
  219. package/dist/verdocs-web-sdk/{p-8da1555a.entry.js → p-410c63e6.entry.js} +1 -1
  220. package/dist/verdocs-web-sdk/{p-3a702f79.entry.js → p-46624bec.entry.js} +1 -1
  221. package/dist/verdocs-web-sdk/{p-a0b02d83.system.entry.js → p-4d98f194.system.entry.js} +1 -1
  222. package/dist/verdocs-web-sdk/{p-af3e9624.entry.js → p-4e47ed1c.entry.js} +1 -1
  223. package/dist/verdocs-web-sdk/p-5645b8cd.entry.js +1 -0
  224. package/dist/verdocs-web-sdk/{p-e3a9d167.system.entry.js → p-59769c39.system.entry.js} +1 -1
  225. package/dist/verdocs-web-sdk/{p-39cbfe15.entry.js → p-6331d113.entry.js} +1 -1
  226. package/dist/verdocs-web-sdk/{p-9b07a2a7.entry.js → p-637187de.entry.js} +1 -1
  227. package/dist/verdocs-web-sdk/p-6dd69d82.system.entry.js +1 -0
  228. package/dist/verdocs-web-sdk/p-746fce21.entry.js +1 -0
  229. package/dist/verdocs-web-sdk/p-76f8c30a.entry.js +1 -0
  230. package/dist/verdocs-web-sdk/{p-5df0fa7a.system.entry.js → p-79168c6a.system.entry.js} +1 -1
  231. package/dist/verdocs-web-sdk/p-7b30c523.system.entry.js +1 -0
  232. package/dist/verdocs-web-sdk/p-7d5dbd9a.js +1 -0
  233. package/dist/verdocs-web-sdk/{p-eb595245.system.js → p-82b5e475.system.js} +1 -1
  234. package/dist/verdocs-web-sdk/{p-eef694e8.entry.js → p-82d4afbf.entry.js} +1 -1
  235. package/dist/verdocs-web-sdk/{p-f1257cd0.system.entry.js → p-82d9fa84.system.entry.js} +1 -1
  236. package/dist/verdocs-web-sdk/p-839f6f0d.js +1 -0
  237. package/dist/verdocs-web-sdk/{p-c694cf93.system.js → p-840827b7.system.js} +1 -1
  238. package/dist/verdocs-web-sdk/p-85df0da6.entry.js +1 -0
  239. package/dist/verdocs-web-sdk/{p-62f090c7.system.entry.js → p-870707e8.system.entry.js} +1 -1
  240. package/dist/verdocs-web-sdk/p-8aae8d16.system.js +1 -0
  241. package/dist/verdocs-web-sdk/{p-14aefeb2.system.entry.js → p-8af68516.system.entry.js} +1 -1
  242. package/dist/verdocs-web-sdk/{p-ace35be6.entry.js → p-8b0a5309.entry.js} +1 -1
  243. package/dist/verdocs-web-sdk/p-8c0fafde.system.entry.js +1 -0
  244. package/dist/verdocs-web-sdk/{p-aa51514f.system.entry.js → p-9360b085.system.entry.js} +1 -1
  245. package/dist/verdocs-web-sdk/{p-a310f65b.entry.js → p-94009f45.entry.js} +1 -1
  246. package/dist/verdocs-web-sdk/{p-7e8d64fb.system.js → p-9615b087.system.js} +1 -1
  247. package/dist/verdocs-web-sdk/p-999fbe79.js +1 -0
  248. package/dist/verdocs-web-sdk/p-9a5c0882.system.entry.js +1 -0
  249. package/dist/verdocs-web-sdk/p-9bf2d124.system.js +1 -0
  250. package/dist/verdocs-web-sdk/{p-5c50a778.system.entry.js → p-9ceff040.system.entry.js} +1 -1
  251. package/dist/verdocs-web-sdk/{p-fde6b724.entry.js → p-9d2995a9.entry.js} +1 -1
  252. package/dist/verdocs-web-sdk/p-9fc06f7b.entry.js +1 -0
  253. package/dist/verdocs-web-sdk/{p-0df58c57.entry.js → p-a40b3946.entry.js} +1 -1
  254. package/dist/verdocs-web-sdk/{p-35769d0c.system.entry.js → p-ac98f6f1.system.entry.js} +1 -1
  255. package/dist/verdocs-web-sdk/{p-bd0bc3dd.system.entry.js → p-acc873cf.system.entry.js} +1 -1
  256. package/dist/verdocs-web-sdk/{p-126ba5d2.system.entry.js → p-b467d981.system.entry.js} +1 -1
  257. package/dist/verdocs-web-sdk/p-b5eb8024.entry.js +1 -0
  258. package/dist/verdocs-web-sdk/{p-50ac71f3.system.entry.js → p-b6231fd3.system.entry.js} +1 -1
  259. package/dist/verdocs-web-sdk/{p-609c7fab.system.entry.js → p-b648ab63.system.entry.js} +1 -1
  260. package/dist/verdocs-web-sdk/{p-a52a832b.system.entry.js → p-b7a815e9.system.entry.js} +1 -1
  261. package/dist/verdocs-web-sdk/{p-0ad1fd33.entry.js → p-b9443a01.entry.js} +1 -1
  262. package/dist/verdocs-web-sdk/{p-0e5449d1.system.entry.js → p-ba653c39.system.entry.js} +1 -1
  263. package/dist/verdocs-web-sdk/{p-3abfff14.entry.js → p-c80237f9.entry.js} +1 -1
  264. package/dist/verdocs-web-sdk/p-cd20fb77.system.js +1 -0
  265. package/dist/verdocs-web-sdk/{p-6bda7dce.entry.js → p-cf703fe4.entry.js} +1 -1
  266. package/dist/verdocs-web-sdk/p-d0a09719.entry.js +1 -0
  267. package/dist/verdocs-web-sdk/{p-013d1556.system.entry.js → p-d1ea580b.system.entry.js} +1 -1
  268. package/dist/verdocs-web-sdk/{p-37187046.system.entry.js → p-d39e4a26.system.entry.js} +1 -1
  269. package/dist/verdocs-web-sdk/{p-137cedc8.entry.js → p-d59b6988.entry.js} +1 -1
  270. package/dist/verdocs-web-sdk/p-d61fda4b.entry.js +1 -0
  271. package/dist/verdocs-web-sdk/p-d8cd6b59.system.js +1 -0
  272. package/dist/verdocs-web-sdk/{p-b73415c3.system.entry.js → p-d99a05e4.system.entry.js} +1 -1
  273. package/dist/verdocs-web-sdk/p-dc2ad047.js +1 -0
  274. package/dist/verdocs-web-sdk/{p-0f94d635.entry.js → p-dd2c2edc.entry.js} +1 -1
  275. package/dist/verdocs-web-sdk/{p-79dc4f76.entry.js → p-e1bc55f8.entry.js} +1 -1
  276. package/dist/verdocs-web-sdk/p-e28878eb.system.entry.js +1 -0
  277. package/dist/verdocs-web-sdk/p-e2ae3679.entry.js +1 -0
  278. package/dist/verdocs-web-sdk/p-e4dc3264.system.entry.js +1 -0
  279. package/dist/verdocs-web-sdk/{p-b17a20b8.entry.js → p-e760f894.entry.js} +1 -1
  280. package/dist/verdocs-web-sdk/p-eda5691a.entry.js +1 -0
  281. package/dist/verdocs-web-sdk/{p-cf765153.entry.js → p-eeca4c30.entry.js} +1 -1
  282. package/dist/verdocs-web-sdk/p-f04bf956.system.js +1 -1
  283. package/dist/verdocs-web-sdk/{p-7b63017c.js → p-f3dde708.js} +1 -1
  284. package/dist/verdocs-web-sdk/{p-3f9fbf94.entry.js → p-f42c84f1.entry.js} +1 -1
  285. package/dist/verdocs-web-sdk/{p-dd8845d4.system.entry.js → p-f6b7439f.system.entry.js} +1 -1
  286. package/dist/verdocs-web-sdk/p-fcd0a40a.system.js +1 -0
  287. package/dist/verdocs-web-sdk/{p-343672f5.system.entry.js → p-fe67b620.system.entry.js} +1 -1
  288. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  289. package/package.json +7 -6
  290. package/dist/cjs/interact.min-ba5cc513.js +0 -13
  291. package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +0 -220
  292. package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.css +0 -66
  293. package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.js +0 -187
  294. package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.stories.js +0 -14
  295. package/dist/components/Organizations.js +0 -32
  296. package/dist/components/verdocs-search-activity.d.ts +0 -11
  297. package/dist/components/verdocs-search-activity.js +0 -6
  298. package/dist/components/verdocs-search-activity2.js +0 -170
  299. package/dist/esm/Types-de18e225.js +0 -4
  300. package/dist/esm/interact.min-cf83fa88.js +0 -11
  301. package/dist/esm/verdocs-quick-functions_3.entry.js +0 -214
  302. package/dist/esm-es5/Envelopes-21ffb899.js +0 -1
  303. package/dist/esm-es5/Profiles-4cc942ef.js +0 -1
  304. package/dist/esm-es5/Types-de18e225.js +0 -1
  305. package/dist/esm-es5/VerdocsEndpoint-b011af25.js +0 -1
  306. package/dist/esm-es5/_commonjsHelpers-5ec8f9b7.js +0 -1
  307. package/dist/esm-es5/interact.min-cf83fa88.js +0 -1
  308. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +0 -1
  309. package/dist/esm-es5/verdocs-quick-functions_3.entry.js +0 -1
  310. package/dist/types/components/elements/verdocs-search-activity/verdocs-search-activity.d.ts +0 -33
  311. package/dist/verdocs-web-sdk/p-01166179.system.entry.js +0 -1
  312. package/dist/verdocs-web-sdk/p-04580be0.entry.js +0 -1
  313. package/dist/verdocs-web-sdk/p-0d28cf05.js +0 -1
  314. package/dist/verdocs-web-sdk/p-15cb963a.system.entry.js +0 -1
  315. package/dist/verdocs-web-sdk/p-17d0e5f4.entry.js +0 -1
  316. package/dist/verdocs-web-sdk/p-23be436b.entry.js +0 -1
  317. package/dist/verdocs-web-sdk/p-2ccbcfeb.system.js +0 -1
  318. package/dist/verdocs-web-sdk/p-30b4bd45.js +0 -1
  319. package/dist/verdocs-web-sdk/p-3305a941.system.js +0 -1
  320. package/dist/verdocs-web-sdk/p-409e992a.entry.js +0 -1
  321. package/dist/verdocs-web-sdk/p-4a94ee00.system.entry.js +0 -1
  322. package/dist/verdocs-web-sdk/p-51756c1b.system.entry.js +0 -1
  323. package/dist/verdocs-web-sdk/p-5a91bf23.js +0 -1
  324. package/dist/verdocs-web-sdk/p-6307e6ae.entry.js +0 -1
  325. package/dist/verdocs-web-sdk/p-66d66e2b.entry.js +0 -1
  326. package/dist/verdocs-web-sdk/p-76907130.entry.js +0 -1
  327. package/dist/verdocs-web-sdk/p-7fd7152d.system.js +0 -1
  328. package/dist/verdocs-web-sdk/p-89aa696c.system.entry.js +0 -1
  329. package/dist/verdocs-web-sdk/p-961708ac.entry.js +0 -1
  330. package/dist/verdocs-web-sdk/p-983da2f6.js +0 -1
  331. package/dist/verdocs-web-sdk/p-9934f3ec.system.entry.js +0 -1
  332. package/dist/verdocs-web-sdk/p-a5425a9b.entry.js +0 -1
  333. package/dist/verdocs-web-sdk/p-b2d698f7.system.entry.js +0 -1
  334. package/dist/verdocs-web-sdk/p-bb2c866b.system.entry.js +0 -1
  335. package/dist/verdocs-web-sdk/p-bbee73c8.system.js +0 -1
  336. package/dist/verdocs-web-sdk/p-bfcf8ad2.entry.js +0 -1
  337. package/dist/verdocs-web-sdk/p-cbbf849f.system.js +0 -1
  338. package/dist/verdocs-web-sdk/p-cbd0802f.entry.js +0 -1
  339. package/dist/verdocs-web-sdk/p-de60d3a8.js +0 -1
  340. package/dist/verdocs-web-sdk/p-eab67c09.js +0 -1
  341. package/dist/verdocs-web-sdk/p-ecf04564.system.entry.js +0 -1
  342. package/dist/verdocs-web-sdk/p-ee195e5e.entry.js +0 -1
  343. package/dist/verdocs-web-sdk/p-f65a1b9e.system.js +0 -1
@@ -1,14 +1,10 @@
1
1
  import { Token } from '@verdocs/js-sdk/Utils';
2
2
  import { VerdocsEndpoint } from '@verdocs/js-sdk';
3
3
  import { Auth, Profiles } from '@verdocs/js-sdk/Users';
4
- import { Organizations } from '@verdocs/js-sdk/Organizations';
5
4
  import { h } from '@stencil/core';
6
5
  import { VerdocsToast } from '../../../utils/Toast';
7
6
  import { SDKError } from '../../../utils/errors';
8
7
  const RECHECK_INTERVAL = 5000;
9
- const OkIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24" fill="green"><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>`;
10
- const TakenIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24" fill="red"><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z" clip-rule="evenodd" /></svg>`;
11
- const InfoIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24" fill="#4a4a4a"><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 01-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 01-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 01-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584zM12 18a.75.75 0 100-1.5.75.75 0 000 1.5z" clip-rule="evenodd" /></svg>`;
12
8
  const Industries = [
13
9
  { value: '', label: '' },
14
10
  { value: 'Accounting & Tax', label: 'Accounting & Tax' },
@@ -89,7 +85,6 @@ export class VerdocsAuth {
89
85
  this.isAuthenticated = false;
90
86
  this.displayMode = 'login';
91
87
  this.orgname = '';
92
- this.orgAvailable = 'UNKNOWN';
93
88
  this.first = '';
94
89
  this.last = '';
95
90
  this.username = '';
@@ -152,13 +147,10 @@ export class VerdocsAuth {
152
147
  firstName: this.first,
153
148
  lastName: this.last,
154
149
  orgName: this.orgname,
155
- industry: this.industry,
156
- size: this.companySize,
157
- // source?: string;
158
- // referral?: string;
159
- // coupon?: string;
160
- reason: this.reason,
161
- hearabout: this.howHear,
150
+ // industry: this.industry,
151
+ // size: this.companySize,
152
+ // reason: this.reason,
153
+ // hearabout: this.howHear,
162
154
  })
163
155
  .then(r => {
164
156
  console.log('Result', r);
@@ -252,23 +244,6 @@ export class VerdocsAuth {
252
244
  this.submitting = false;
253
245
  });
254
246
  }
255
- async checkAvailability(name) {
256
- this.checkingOrg = true;
257
- try {
258
- this.orgname = name;
259
- const r = await Organizations.isOrgAvailable(this.endpoint, name);
260
- this.orgAvailable = r.result;
261
- console.log('response', this.orgAvailable);
262
- // Stage: POST - https://2r8pilqa44.execute-api.us-east-1.amazonaws.com/organizations/check-availability
263
- // Prod: POST - https://lb1is9fxoc.execute-api.us-east-1.amazonaws.com/organizations/check-availability
264
- }
265
- catch (e) {
266
- // NOP
267
- // We need to trap this error because we get a 400 if the org name is invalid.
268
- this.orgAvailable = 'UNKNOWN';
269
- }
270
- this.checkingOrg = false;
271
- }
272
247
  render() {
273
248
  if (!this.visible) {
274
249
  return h("div", { style: { display: 'none' } }, "Authenticated");
@@ -277,10 +252,8 @@ export class VerdocsAuth {
277
252
  return (h("verdocs-button", { label: "Sign Out", disabled: this.submitting, onClick: () => this.handleLogout(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }));
278
253
  }
279
254
  if (this.displayMode === 'signup') {
280
- const step1Invalid = this.submitting || !this.first || !this.last || !this.username || !this.password || !this.orgname || this.orgAvailable !== 'AVAILABLE';
281
- return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Sign up for a trial account"), h("h4", null, "Already have an account?", h("verdocs-button", { label: "Log In", variant: "text", onClick: () => (this.displayMode = 'login'), disabled: this.submitting })), this.signupStep === 1 && (h("form", { onSubmit: () => this.handleSignup() }, h("div", { style: { display: 'flex', flexDirection: 'row', columnGap: '20px' } }, h("verdocs-text-input", { label: "First Name", autocomplete: "first", required: true, value: this.first, onInput: (e) => (this.first = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Last Name", autocomplete: "last", required: true, value: this.last, onInput: (e) => (this.last = e.target.value), disabled: this.submitting })), h("verdocs-text-input", { label: "Email", autocomplete: "email", required: true, value: this.username, onInput: (e) => (this.username = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Phone #", autocomplete: "phone", value: this.phone, onInput: (e) => (this.phone = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", required: true, autocomplete: "current-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("div", { style: { display: 'flex', flexDirection: 'row', gap: '10px', alignItems: 'center' } }, h("verdocs-text-input", { label: "Organization Name", autocomplete: "org", required: true, value: this.orgname, onInput: (e) => this.checkAvailability(e.target.value), disabled: this.submitting, style: { flex: '1' }, onBlur: () => {
282
- console.log('blur');
283
- } }), !this.checkingOrg && this.orgAvailable === 'AVAILABLE' && h("verdocs-help-icon", { icon: OkIcon, text: "Organization name is available." }), !this.checkingOrg && this.orgAvailable === 'TAKEN' && h("verdocs-help-icon", { icon: TakenIcon, text: "Organization already registered." }), !this.checkingOrg && this.orgAvailable === 'UNKNOWN' && h("verdocs-help-icon", { icon: InfoIcon, text: "Organization name must be unique." }), this.checkingOrg && h("verdocs-spinner", { mode: "dark", size: 24 })), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Next", disabled: step1Invalid, onClick: () => (this.signupStep = 2), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))), this.signupStep === 2 && (h("form", { onSubmit: () => this.handleSignup() }, h("verdocs-text-input", { label: "How did you hear about Verdocs?", value: this.howHear, onInput: (e) => (this.howHear = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Your Industry", options: Industries, value: this.industry, onInput: (e) => (this.industry = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Company Size", options: CompanySizes, value: this.companySize, onInput: (e) => (this.companySize = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Purpose", options: Reasons, value: this.reason, onInput: (e) => (this.reason = e.target.value), disabled: this.submitting }), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Create Account", disabled: this.submitting, onClick: () => this.handleSignup(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))), this.signupStep === 3 && (h("form", { onSubmit: () => this.handleSignup() }, h("p", null, "Please check your e-mail inbox for a verification code and follow the instructions provided."), h("p", null, h("em", null, "Verification messages may take up to 1 hour to arrive. If you do not receive the invitation, ", h("a", { href: "#" }, "Click Here"), " to resend it. Be sure to check your spam folder.")), h("div", { style: { display: 'flex', flexDirection: 'row', gap: '20px' } }, h("verdocs-button", { label: "Back", disabled: this.submitting, onClick: () => {
255
+ const step1Invalid = this.submitting || !this.first || !this.last || !this.username || !this.password || !this.orgname;
256
+ return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Sign up for a trial account"), h("h4", null, "Already have an account?", h("verdocs-button", { label: "Log In", variant: "text", onClick: () => (this.displayMode = 'login'), disabled: this.submitting })), this.signupStep === 1 && (h("form", { onSubmit: () => this.handleSignup() }, h("div", { style: { display: 'flex', flexDirection: 'row', columnGap: '20px' } }, h("verdocs-text-input", { label: "First Name", autocomplete: "first", required: true, value: this.first, onInput: (e) => (this.first = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Last Name", autocomplete: "last", required: true, value: this.last, onInput: (e) => (this.last = e.target.value), disabled: this.submitting })), h("verdocs-text-input", { label: "Email", autocomplete: "email", required: true, value: this.username, onInput: (e) => (this.username = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Phone #", autocomplete: "phone", value: this.phone, onInput: (e) => (this.phone = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", required: true, autocomplete: "current-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Organization Name", autocomplete: "org", required: true, value: this.orgname, onInput: (e) => (this.orgname = e.target.value), disabled: this.submitting, style: { flex: '1' } }), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Next", disabled: step1Invalid, onClick: () => (this.signupStep = 2), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))), this.signupStep === 2 && (h("form", { onSubmit: () => this.handleSignup() }, h("verdocs-text-input", { label: "How did you hear about Verdocs?", value: this.howHear, onInput: (e) => (this.howHear = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Your Industry", options: Industries, value: this.industry, onInput: (e) => (this.industry = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Company Size", options: CompanySizes, value: this.companySize, onInput: (e) => (this.companySize = e.target.value), disabled: this.submitting }), h("verdocs-select-input", { label: "Purpose", options: Reasons, value: this.reason, onInput: (e) => (this.reason = e.target.value), disabled: this.submitting }), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Create Account", disabled: this.submitting, onClick: () => this.handleSignup(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))), this.signupStep === 3 && (h("form", { onSubmit: () => this.handleSignup() }, h("p", null, "Please check your e-mail inbox for a verification code and follow the instructions provided."), h("p", null, h("em", null, "Verification messages may take up to 1 hour to arrive. If you do not receive the invitation, ", h("a", { href: "#" }, "Click Here"), " to resend it. Be sure to check your spam folder.")), h("div", { style: { display: 'flex', flexDirection: 'row', gap: '20px' } }, h("verdocs-button", { label: "Back", disabled: this.submitting, onClick: () => {
284
257
  this.signupStep = 2;
285
258
  }, style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }), h("verdocs-button", { label: "Go to Dashboard", disabled: true, onClick: () => this.handleSignup(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))))));
286
259
  }
@@ -377,7 +350,6 @@ export class VerdocsAuth {
377
350
  "isAuthenticated": {},
378
351
  "displayMode": {},
379
352
  "orgname": {},
380
- "orgAvailable": {},
381
353
  "first": {},
382
354
  "last": {},
383
355
  "username": {},
@@ -149,7 +149,8 @@ export class VerdocsSend {
149
149
  return (h(Host, { class: { sendable: (_d = (_c = this.store) === null || _c === void 0 ? void 0 : _c.state) === null || _d === void 0 ? void 0 : _d.is_sendable } }, h("div", { class: "recipients" }, h("div", { class: "left-line" }), h("div", { class: `level level-start` }, this.getLevelIcon(-1), h("div", { class: "complete" }, "Send Envelope")), this.levels.map(level => (h("div", { class: `level level-${level}` }, this.getLevelIcon(level), this.rolesAtLevel[level].map(role => {
150
150
  var _a, _b, _c, _d, _e, _f;
151
151
  const unknown = !role.email;
152
- return unknown ? (h("div", { class: "recipient", style: { backgroundColor: getRGBA(getRoleIndex(roleNames, role.name)) }, onClick: e => this.handleClickRole(e, role) }, (_b = (_a = this.rolesCompleted[role.id]) === null || _a === void 0 ? void 0 : _a.full_name) !== null && _b !== void 0 ? _b : role.name, h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_c = this.rolesCompleted[role.id]) !== null && _c !== void 0 ? _c : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } })))) : (h("div", { class: "recipient", style: { borderColor: getRGBA(getRoleIndex(roleNames, role.name)) }, onClick: e => this.handleClickRole(e, role) }, (_e = (_d = this.rolesCompleted[role.id]) === null || _d === void 0 ? void 0 : _d.full_name) !== null && _e !== void 0 ? _e : role.full_name, h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_f = this.rolesCompleted[role.id]) !== null && _f !== void 0 ? _f : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } }))));
152
+ const elId = `verdocs-send-recipient-${role.name}`;
153
+ return unknown ? (h("div", { class: "recipient", style: { backgroundColor: getRGBA(getRoleIndex(roleNames, role.name)) }, onClick: e => this.handleClickRole(e, role), id: elId }, (_b = (_a = this.rolesCompleted[role.id]) === null || _a === void 0 ? void 0 : _a.full_name) !== null && _b !== void 0 ? _b : role.name, h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (h("verdocs-portal", { anchor: elId, onClickAway: () => (this.showPickerForId = '') }, h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_c = this.rolesCompleted[role.id]) !== null && _c !== void 0 ? _c : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } }))))) : (h("div", { class: "recipient", style: { borderColor: getRGBA(getRoleIndex(roleNames, role.name)) }, onClick: e => this.handleClickRole(e, role), id: elId }, (_e = (_d = this.rolesCompleted[role.id]) === null || _d === void 0 ? void 0 : _d.full_name) !== null && _e !== void 0 ? _e : role.full_name, h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (h("verdocs-portal", { anchor: elId, onClickAway: () => (this.showPickerForId = '') }, h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_f = this.rolesCompleted[role.id]) !== null && _f !== void 0 ? _f : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } })))));
153
154
  })))), h("div", { class: `level level-done` }, this.getLevelIcon(this.levels.length), h("div", { class: "complete" }, "Signing Complete"))), h("div", { class: "buttons" }, h("verdocs-button", { label: "Cancel", size: "small", variant: "outline", onClick: e => this.handleCancel(e), disabled: this.sending }), h("verdocs-button", { label: "Send", size: "small", disabled: !allRolesAssigned || this.sending, onClick: e => this.handleSend(e) }), this.sending && h("verdocs-spinner", null))));
154
155
  }
155
156
  static get is() { return "verdocs-send"; }
@@ -62,6 +62,7 @@ export class VerdocsSign {
62
62
  this.submitting = false;
63
63
  this.isDone = false;
64
64
  this.showDone = false;
65
+ this.showLoadError = false;
65
66
  this.finishLater = false;
66
67
  this.showFinishLater = false;
67
68
  this.agreed = false;
@@ -127,6 +128,7 @@ export class VerdocsSign {
127
128
  catch (e) {
128
129
  console.log('Error with signing session', e);
129
130
  (_e = this.sdkError) === null || _e === void 0 ? void 0 : _e.emit(new SDKError(e.message, (_f = e.response) === null || _f === void 0 ? void 0 : _f.status, (_g = e.response) === null || _g === void 0 ? void 0 : _g.data));
131
+ this.showLoadError = true;
130
132
  }
131
133
  }
132
134
  componentDidRender() {
@@ -253,9 +255,7 @@ export class VerdocsSign {
253
255
  if (!e.detail) {
254
256
  return;
255
257
  }
256
- console.log('Creating signature blob', e.detail);
257
258
  const signatureBlob = await (await fetch(e.detail)).blob();
258
- console.log('Created signature blob', signatureBlob);
259
259
  return createSignature(this.endpoint, 'signature', signatureBlob) //
260
260
  .then(async (newSignature) => {
261
261
  console.log('Signature update result', newSignature);
@@ -303,6 +303,7 @@ export class VerdocsSign {
303
303
  case 'textarea':
304
304
  case 'date':
305
305
  case 'attachment':
306
+ console.log('Date-type field valid', { required, result, output: !required || result !== '' });
306
307
  return !required || result !== '';
307
308
  case 'dropdown':
308
309
  return !required || value !== '';
@@ -377,7 +378,6 @@ export class VerdocsSign {
377
378
  if (invalidFields.length < 1) {
378
379
  this.nextButtonLabel = 'Finish';
379
380
  if (!this.nextSubmits) {
380
- // this.showSubmitDialog = true;
381
381
  this.nextSubmits = true;
382
382
  }
383
383
  }
@@ -490,6 +490,9 @@ export class VerdocsSign {
490
490
  })), this.showFinishLater && (h("verdocs-ok-dialog", { heading: "You've saved your document to finish later.", message: `To complete the ${this.documentsSingularPlural}, use the link in the original email notification inviting you to review and finish the document.`, onNext: () => (this.showFinishLater = false) })), this.errorMessage && h("verdocs-ok-dialog", { heading: "Network Error", message: this.errorMessage, onNext: () => (this.errorMessage = '') }), this.showDone && (h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`, onNext: () => {
491
491
  this.showDone = false;
492
492
  this.isDone = true;
493
+ } })), this.showLoadError && (h("verdocs-ok-dialog", { heading: "Error Loading Document", message: `Please check with the sender to ensure it has not been canceled, and try again later.`, buttonLabel: "Retry", onNext: () => {
494
+ this.showLoadError = false;
495
+ window.location.reload();
493
496
  } })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null))), !this.agreed && (h("div", { class: "cover" }, h("div", { class: "agree" }, h("verdocs-checkbox", { name: "agree", label: "By checking this box, you:", onInput: () => this.handleClickAgree() }), h("ul", null, h("li", null, "Agree to use electronic records and signatures, and confirm you have read the", ' ', h("a", { href: "https://verdocs.com/en/electronic-record-signature-disclosure/", target: "_blank" }, "Electronic Record and Signatures Disclosure"), "."), h("li", null, "Agree to Verdocs", ' ', h("a", { href: "https://verdocs.com/en/eula", target: "_blank" }, "End User License Agreement"), ' ', "and confirm you have read Verdocs'", ' ', h("a", { href: "https://verdocs.com/en/privacy-policy/", target: "_blank" }, "Privacy Policy"), ".")))))));
494
497
  }
495
498
  static get is() { return "verdocs-sign"; }
@@ -594,6 +597,7 @@ export class VerdocsSign {
594
597
  "submitting": {},
595
598
  "isDone": {},
596
599
  "showDone": {},
600
+ "showLoadError": {},
597
601
  "finishLater": {},
598
602
  "showFinishLater": {},
599
603
  "agreed": {},
@@ -1,6 +1,9 @@
1
1
  verdocs-contact-picker {
2
- font-family: "Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
2
+ display: block;
3
+ border: 1px solid #ebebeb;
3
4
  background-color: #ffffff;
5
+ font-family: "Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
6
+ box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
4
7
  }
5
8
  verdocs-contact-picker form {
6
9
  background-color: #f5f5fa;
@@ -16,6 +16,7 @@ const ActivityIcons = {
16
16
  visibility: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>`,
17
17
  pencil: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>`,
18
18
  mail: `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,
19
+ contact_mail: `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,
19
20
  done: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>`,
20
21
  send: `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>`,
21
22
  gesture: `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>`,
@@ -823,6 +823,7 @@ verdocs-field-date.disabled {
823
823
  opacity: 0.5;
824
824
  }
825
825
  verdocs-field-date input {
826
+ position: absolute;
826
827
  cursor: inherit;
827
828
  box-sizing: border-box;
828
829
  color: rgba(0, 0, 0, 0.87);
@@ -25,7 +25,6 @@ export class VerdocsFieldDropdown {
25
25
  }
26
26
  async showSettingsPanel() {
27
27
  const settingsPanel = document.getElementById(`verdocs-settings-panel-${this.field.name}`);
28
- console.log('will hide', settingsPanel);
29
28
  if (settingsPanel && settingsPanel.showPanel) {
30
29
  settingsPanel.showPanel();
31
30
  }
@@ -87,11 +87,12 @@ export class VerdocsFieldTextarea {
87
87
  var _a, _b, _c, _d;
88
88
  const settings = getFieldSettings(this.field);
89
89
  const disabled = (_b = (_a = this.disabled) !== null && _a !== void 0 ? _a : settings.disabled) !== null && _b !== void 0 ? _b : false;
90
+ const value = (settings === null || settings === void 0 ? void 0 : settings.result) || '';
90
91
  const backgroundColor = this.field['rgba'] || getRGBA(this.roleindex);
91
92
  if (this.done) {
92
93
  return h(Host, { class: { done: this.done } }, settings.value);
93
94
  }
94
- return (h(Host, { class: { required: (_c = this.field) === null || _c === void 0 ? void 0 : _c.required, disabled, done: this.done }, style: { backgroundColor } }, h("textarea", { placeholder: settings.placeholder || '', tabIndex: settings.order, value: settings.value, disabled: disabled, name: this.field.name, required: (_d = this.field) === null || _d === void 0 ? void 0 : _d.required, ref: el => (this.inputEl = el) }), this.editable && (h("verdocs-button-panel", { icon: settingsIcon, id: `verdocs-settings-panel-${this.field.name}` }, h("verdocs-template-field-properties", { templateId: this.templateid, fieldName: this.field.name, onClose: () => this.hideSettingsPanel(), onDelete: () => {
95
+ return (h(Host, { class: { required: (_c = this.field) === null || _c === void 0 ? void 0 : _c.required, disabled, done: this.done }, style: { backgroundColor } }, h("textarea", { placeholder: settings.placeholder || '', tabIndex: settings.order, disabled: disabled, name: this.field.name, required: (_d = this.field) === null || _d === void 0 ? void 0 : _d.required, ref: el => (this.inputEl = el) }, value), this.editable && (h("verdocs-button-panel", { icon: settingsIcon, id: `verdocs-settings-panel-${this.field.name}` }, h("verdocs-template-field-properties", { templateId: this.templateid, fieldName: this.field.name, onClose: () => this.hideSettingsPanel(), onDelete: () => {
95
96
  var _a;
96
97
  (_a = this.deleted) === null || _a === void 0 ? void 0 : _a.emit({ fieldName: this.field.name });
97
98
  return this.hideSettingsPanel();
@@ -5,7 +5,6 @@ verdocs-field-textbox {
5
5
  height: 15px;
6
6
  display: block;
7
7
  font-size: 11px;
8
- position: relative;
9
8
  letter-spacing: -0.2px;
10
9
  background-color: transparent;
11
10
  transform-origin: bottom left;
@@ -24,6 +23,7 @@ verdocs-field-textbox input {
24
23
  font-size: 11px;
25
24
  background: none;
26
25
  font-weight: 500;
26
+ position: absolute;
27
27
  transform-origin: 0 0;
28
28
  box-sizing: border-box;
29
29
  color: rgba(0, 0, 0, 0.87);
@@ -13,6 +13,7 @@ verdocs-field-timestamp.done {
13
13
  opacity: 1;
14
14
  }
15
15
  verdocs-field-timestamp input {
16
+ position: absolute;
16
17
  cursor: inherit;
17
18
  width: 100%;
18
19
  height: 100%;
@@ -1,5 +1,5 @@
1
1
  import { VerdocsEndpoint } from '@verdocs/js-sdk';
2
- import { createTemplate } from '@verdocs/js-sdk/Templates/Templates';
2
+ import { createTemplatev2 } from '@verdocs/js-sdk/Templates/Templates';
3
3
  import { h, Host } from '@stencil/core';
4
4
  import { SDKError } from '../../../utils/errors';
5
5
  const unicodeNBSP = ' ';
@@ -46,7 +46,7 @@ export class VerdocsTemplateCreate {
46
46
  this.creating = true;
47
47
  this.progressLabel = 'Uploading...';
48
48
  try {
49
- const template = await createTemplate(this.endpoint, { name: this.file.name, documents: [this.file] }, percent => {
49
+ const template = await createTemplatev2(this.endpoint, { name: this.file.name, documents: [this.file] }, percent => {
50
50
  if (percent >= 99) {
51
51
  this.progressLabel = 'Processing...';
52
52
  this.progressPercent = 100;
@@ -21,6 +21,7 @@ export class VerdocsTemplateFieldProperties {
21
21
  this.loading = true;
22
22
  this.type = 'signature';
23
23
  this.setting = null;
24
+ this.label = '';
24
25
  this.name = '';
25
26
  this.roleName = '';
26
27
  this.group = '';
@@ -55,6 +56,7 @@ export class VerdocsTemplateFieldProperties {
55
56
  }
56
57
  this.type = field.type;
57
58
  this.name = field.name;
59
+ this.label = field.label;
58
60
  this.group = field.name;
59
61
  this.roleName = field.role_name;
60
62
  this.required = field.required;
@@ -80,6 +82,7 @@ export class VerdocsTemplateFieldProperties {
80
82
  const field = (_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.fields.find(field => field.name === this.fieldName);
81
83
  if (field) {
82
84
  this.name = field.name;
85
+ this.label = field.label;
83
86
  this.roleName = field.role_name;
84
87
  this.required = field.required;
85
88
  // TODO: Talk about how we want to handle labels/placeholders
@@ -94,6 +97,7 @@ export class VerdocsTemplateFieldProperties {
94
97
  e.stopPropagation();
95
98
  const newProperties = {
96
99
  name: this.name,
100
+ label: this.label || null,
97
101
  required: this.required,
98
102
  role_name: this.roleName,
99
103
  // TODO: Default value in setting?
@@ -214,6 +218,11 @@ export class VerdocsTemplateFieldProperties {
214
218
  placeholder: "Field Name...", onInput: (e) => {
215
219
  this.name = e.target.value;
216
220
  this.dirty = true;
221
+ } })), h("div", { class: "row" }, h("verdocs-text-input", { id: "verdocs-field-label", label: "Optional Label", value: this.label, autocomplete: "off",
222
+ // helpText="The internal name of the field. Must be unique, and contain only letters, numbers, and dashes. After an envelope is completed, the value entered by the signer will be tagged with this key."
223
+ placeholder: "Optional Label...", onInput: (e) => {
224
+ this.label = e.target.value;
225
+ this.dirty = true;
217
226
  } })), h("div", { class: "row" }, h("div", { class: "input-label" }, "Role:"), h("verdocs-select-input", { value: this.roleName, options: (_d = (_c = this.store) === null || _c === void 0 ? void 0 : _c.state) === null || _d === void 0 ? void 0 : _d.roles.map(role => ({ label: role.name, value: role.name })), onInput: (e) => {
218
227
  this.roleName = e.target.value;
219
228
  this.dirty = true;
@@ -348,6 +357,7 @@ export class VerdocsTemplateFieldProperties {
348
357
  "loading": {},
349
358
  "type": {},
350
359
  "setting": {},
360
+ "label": {},
351
361
  "name": {},
352
362
  "roleName": {},
353
363
  "group": {},
@@ -182,52 +182,59 @@ export class VerdocsTemplateFields {
182
182
  }
183
183
  async handleMoveEnd(event) {
184
184
  var _a;
185
+ const name = event.target.getAttribute('name');
186
+ const option = +(event.target.getAttribute('option') || '0');
187
+ const field = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state.fields.find(field => field.name === name);
188
+ console.log('Dropped field', name, field);
189
+ if (!field) {
190
+ console.log('[FIELDS] Unable to find field', name);
191
+ return;
192
+ }
185
193
  const pageNumber = event.target.getAttribute('pageNumber');
186
194
  const { naturalWidth = 612, naturalHeight = 792, renderedHeight = 792 } = this.cachedPageInfo[pageNumber];
187
195
  const clientRect = event.target.getBoundingClientRect();
188
196
  const parent = event.target.parentElement;
189
197
  const parentRect = parent.getBoundingClientRect();
198
+ const width = field.setting.width || defaultWidth(field.type);
199
+ const height = field.setting.height || defaultHeight(field.type);
190
200
  // These two being backwards is not a mistake. Left measures "over" from the left (positive displacement) while bottom measures
191
201
  // "up" from the bottom (negative displacement).
192
202
  const newX = Math.max(clientRect.left - parentRect.left, 0);
193
203
  const newY = Math.max(renderedHeight - (parentRect.bottom - clientRect.bottom), 0);
194
- const { x, y } = this.viewCoordinatesToPageCoordinates(newX, newY, pageNumber, naturalWidth - event.rect.width, naturalHeight - event.rect.height);
195
- const name = event.target.getAttribute('name');
196
- const option = +(event.target.getAttribute('option') || '0');
197
- const field = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state.fields.find(field => field.name === name);
198
- if (field) {
199
- switch (field.type) {
200
- case 'attachment':
201
- case 'payment':
202
- case 'initial':
203
- case 'signature':
204
- case 'date':
205
- case 'dropdown':
206
- case 'textarea':
207
- case 'textbox':
208
- case 'timestamp':
209
- field.setting.x = x;
210
- field.setting.y = y;
211
- break;
212
- case 'checkbox_group':
213
- case 'radio_button_group':
214
- {
215
- const opt = field.setting.options[option];
216
- if (opt) {
217
- opt.x = x;
218
- opt.y = y;
219
- }
204
+ // console.log('Computing coordinates', {naturalWidth, width: event.rect.width, naturalHeight, height: event.rect.height, newX, newY});
205
+ const { x, y } = this.viewCoordinatesToPageCoordinates(newX, newY, pageNumber, naturalWidth - width, naturalHeight - height);
206
+ // console.log('Drop End', {x, y, newX, newY});
207
+ switch (field.type) {
208
+ case 'attachment':
209
+ case 'payment':
210
+ case 'initial':
211
+ case 'signature':
212
+ case 'date':
213
+ case 'dropdown':
214
+ case 'textarea':
215
+ case 'textbox':
216
+ case 'timestamp':
217
+ field.setting.x = x;
218
+ field.setting.y = y;
219
+ break;
220
+ case 'checkbox_group':
221
+ case 'radio_button_group':
222
+ {
223
+ const opt = field.setting.options[option];
224
+ if (opt) {
225
+ opt.x = x;
226
+ opt.y = y;
220
227
  }
221
- break;
222
- }
223
- console.log('[FIELDS] Will update', name, option, field);
224
- const newFieldData = await updateField(this.endpoint, this.templateId, name, field);
225
- const pageInfo = this.cachedPageInfo[pageNumber];
226
- const roleIndex = getRoleIndex(getRoleNames(this.store), field.role_name);
227
- this.handleFieldSettingsChange(pageInfo, field, roleIndex, event.target, newFieldData);
228
- event.target.removeAttribute('posX');
229
- event.target.removeAttribute('posY');
228
+ }
229
+ break;
230
230
  }
231
+ console.log('[FIELDS] Will update', name, option, field);
232
+ const newFieldData = await updateField(this.endpoint, this.templateId, name, field);
233
+ const pageInfo = this.cachedPageInfo[pageNumber];
234
+ const roleIndex = getRoleIndex(getRoleNames(this.store), field.role_name);
235
+ this.handleFieldSettingsChange(pageInfo, field, roleIndex, event.target, newFieldData);
236
+ event.target.removeAttribute('posX');
237
+ event.target.removeAttribute('posY');
231
238
  }
232
239
  generateFieldName(type, pageNumber) {
233
240
  var _a;
@@ -244,6 +251,7 @@ export class VerdocsTemplateFields {
244
251
  const { xScale = 1, yScale = 1, renderedHeight = 792 } = this.cachedPageInfo[pageNumber];
245
252
  const x = Math.floor(Math.min(viewX / xScale, xMax));
246
253
  const y = Math.floor(Math.min(Math.max(renderedHeight - viewY, 0) / yScale, yMax));
254
+ console.log('Computed coordinates', { x, y, viewX, viewY, xMax, yMax });
247
255
  return { x, y };
248
256
  }
249
257
  async handleClickPage(e, pageNumber) {
@@ -1,2 +1,3 @@
1
- export const FORMAT_TIMESTAMP = 'Y-MM-dd hh:mm:ss a';
1
+ export const FORMAT_TIMESTAMP = 'P';
2
+ // export const FORMAT_TIMESTAMP = 'Y-MM-dd hh:mm:ss a';
2
3
  export const FORMAT_DATE = 'Y-MM-dd';
@@ -96,6 +96,7 @@ var getSummary = function (endpoint, page) { return __awaiter(void 0, void 0, vo
96
96
  */
97
97
  var getSigningSession = function (endpoint, params) { return __awaiter(void 0, void 0, void 0, function () {
98
98
  return __generator(this, function (_a) {
99
+ window.console.log('[JS_SDK] getSigningSession', params, endpoint.api);
99
100
  return [2 /*return*/, endpoint.api //
100
101
  .get("/envelopes/".concat(params.envelopeId, "/recipients/").concat(encodeURIComponent(params.roleId), "/invitation/").concat(params.inviteCode))
101
102
  .then(function (r) {
@@ -223,12 +224,7 @@ var getEnvelopeDocumentPageDisplayUri = function (endpoint, envelopeId, document
223
224
  return __awaiter(void 0, void 0, void 0, function () {
224
225
  return __generator(this, function (_a) {
225
226
  return [2 /*return*/, endpoint.api
226
- .get("/envelopes/".concat(envelopeId, "/envelope_documents/").concat(documentId, "/pages/").concat(page, "/image?type=").concat(type), {
227
- timeout: 20000,
228
- 'axios-retry': {
229
- retries: 5,
230
- },
231
- })
227
+ .get("/envelopes/".concat(envelopeId, "/envelope_documents/").concat(documentId, "/pages/").concat(page, "/image?type=").concat(type), { timeout: 20000 })
232
228
  .then(function (r) { return r.data; })];
233
229
  });
234
230
  });
@@ -1,5 +1,5 @@
1
1
  import { c as createStore } from './index4.js';
2
- import { e as getTemplate, b as TemplateSenderTypes } from './VerdocsEndpoint.js';
2
+ import { g as getTemplate, b as TemplateSenderTypes } from './VerdocsEndpoint.js';
3
3
 
4
4
  const createTemplateStore = (templateId) => {
5
5
  const now = new Date().toISOString();
@@ -1,4 +1,5 @@
1
- const FORMAT_TIMESTAMP = 'Y-MM-dd hh:mm:ss a';
1
+ const FORMAT_TIMESTAMP = 'P';
2
+ // export const FORMAT_TIMESTAMP = 'Y-MM-dd hh:mm:ss a';
2
3
  const FORMAT_DATE = 'Y-MM-dd';
3
4
 
4
5
  export { FORMAT_TIMESTAMP as F, FORMAT_DATE as a };