@verdocs/web-sdk 5.0.41 → 5.0.42

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 (97) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +18 -33
  3. package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js.map +1 -1
  4. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +0 -2
  5. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js.map +1 -1
  6. package/dist/cjs/verdocs-preview_7.cjs.entry.js +0 -1
  7. package/dist/cjs/verdocs-preview_7.cjs.entry.js.map +1 -1
  8. package/dist/cjs/verdocs-sign.cjs.entry.js +114 -90
  9. package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
  10. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  11. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +0 -1
  12. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js.map +1 -1
  13. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +121 -95
  14. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  15. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +7 -8
  16. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js.map +1 -1
  17. package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js +0 -2
  18. package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js.map +1 -1
  19. package/dist/components/{p-36368807.js → p-4a04090c.js} +3 -3
  20. package/dist/components/{p-36368807.js.map → p-4a04090c.js.map} +1 -1
  21. package/dist/components/{p-c1d312d8.js → p-4a4bf38c.js} +2 -3
  22. package/dist/components/p-4a4bf38c.js.map +1 -0
  23. package/dist/components/{p-6bfb8eba.js → p-73a39d5a.js} +19 -34
  24. package/dist/components/p-73a39d5a.js.map +1 -0
  25. package/dist/components/{p-795b4192.js → p-91eae04c.js} +3 -3
  26. package/dist/components/{p-795b4192.js.map → p-91eae04c.js.map} +1 -1
  27. package/dist/components/{p-52c195dd.js → p-92cce3dc.js} +1 -3
  28. package/dist/components/{p-52c195dd.js.map → p-92cce3dc.js.map} +1 -1
  29. package/dist/components/{p-7481c7db.js → p-b474c324.js} +2 -2
  30. package/dist/components/{p-7481c7db.js.map → p-b474c324.js.map} +1 -1
  31. package/dist/components/verdocs-build.js +6 -6
  32. package/dist/components/verdocs-contact-picker.js +1 -1
  33. package/dist/components/verdocs-field-date.js +1 -1
  34. package/dist/components/verdocs-preview.js +1 -1
  35. package/dist/components/verdocs-send.js +1 -1
  36. package/dist/components/verdocs-sign.js +117 -92
  37. package/dist/components/verdocs-sign.js.map +1 -1
  38. package/dist/components/verdocs-template-document-page.js +1 -1
  39. package/dist/components/verdocs-template-fields.js +1 -1
  40. package/dist/esm/loader.js +1 -1
  41. package/dist/esm/verdocs-contact-picker_2.entry.js +18 -33
  42. package/dist/esm/verdocs-contact-picker_2.entry.js.map +1 -1
  43. package/dist/esm/verdocs-field-attachment_13.entry.js +0 -2
  44. package/dist/esm/verdocs-field-attachment_13.entry.js.map +1 -1
  45. package/dist/esm/verdocs-preview_7.entry.js +0 -1
  46. package/dist/esm/verdocs-preview_7.entry.js.map +1 -1
  47. package/dist/esm/verdocs-sign.entry.js +115 -91
  48. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  49. package/dist/esm/verdocs-web-sdk.js +1 -1
  50. package/dist/esm-es5/loader.js +1 -1
  51. package/dist/esm-es5/loader.js.map +1 -1
  52. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
  53. package/dist/esm-es5/verdocs-contact-picker_2.entry.js.map +1 -1
  54. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  55. package/dist/esm-es5/verdocs-field-attachment_13.entry.js.map +1 -1
  56. package/dist/esm-es5/verdocs-preview_7.entry.js +1 -1
  57. package/dist/esm-es5/verdocs-preview_7.entry.js.map +1 -1
  58. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  59. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  60. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  61. package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
  62. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +4 -2
  63. package/dist/verdocs-web-sdk/p-02e09803.system.entry.js +2 -0
  64. package/dist/verdocs-web-sdk/p-02e09803.system.entry.js.map +1 -0
  65. package/dist/verdocs-web-sdk/p-0c1898f6.system.js +1 -1
  66. package/dist/verdocs-web-sdk/p-0c1898f6.system.js.map +1 -1
  67. package/dist/verdocs-web-sdk/p-46263e7a.system.entry.js +2 -0
  68. package/dist/verdocs-web-sdk/p-46263e7a.system.entry.js.map +1 -0
  69. package/dist/verdocs-web-sdk/p-4d92a71b.entry.js +2 -0
  70. package/dist/verdocs-web-sdk/p-4d92a71b.entry.js.map +1 -0
  71. package/dist/verdocs-web-sdk/{p-7f982a59.system.entry.js → p-6cfb51e3.system.entry.js} +2 -2
  72. package/dist/verdocs-web-sdk/p-6cfb51e3.system.entry.js.map +1 -0
  73. package/dist/verdocs-web-sdk/{p-62bde242.system.entry.js → p-89c69404.system.entry.js} +2 -2
  74. package/dist/verdocs-web-sdk/p-89c69404.system.entry.js.map +1 -0
  75. package/dist/verdocs-web-sdk/p-d47c58de.entry.js +2 -0
  76. package/dist/verdocs-web-sdk/p-d47c58de.entry.js.map +1 -0
  77. package/dist/verdocs-web-sdk/{p-7962eb00.entry.js → p-e7ca4f15.entry.js} +2 -2
  78. package/dist/verdocs-web-sdk/p-e7ca4f15.entry.js.map +1 -0
  79. package/dist/verdocs-web-sdk/{p-dda88c7f.entry.js → p-e8268ed9.entry.js} +2 -2
  80. package/dist/verdocs-web-sdk/p-e8268ed9.entry.js.map +1 -0
  81. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  82. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
  83. package/package.json +3 -3
  84. package/dist/components/p-6bfb8eba.js.map +0 -1
  85. package/dist/components/p-c1d312d8.js.map +0 -1
  86. package/dist/verdocs-web-sdk/p-1c8788f5.entry.js +0 -2
  87. package/dist/verdocs-web-sdk/p-1c8788f5.entry.js.map +0 -1
  88. package/dist/verdocs-web-sdk/p-62bde242.system.entry.js.map +0 -1
  89. package/dist/verdocs-web-sdk/p-7962eb00.entry.js.map +0 -1
  90. package/dist/verdocs-web-sdk/p-7f982a59.system.entry.js.map +0 -1
  91. package/dist/verdocs-web-sdk/p-a4dd8302.system.entry.js +0 -2
  92. package/dist/verdocs-web-sdk/p-a4dd8302.system.entry.js.map +0 -1
  93. package/dist/verdocs-web-sdk/p-dda88c7f.entry.js.map +0 -1
  94. package/dist/verdocs-web-sdk/p-df6ab9e9.entry.js +0 -2
  95. package/dist/verdocs-web-sdk/p-df6ab9e9.entry.js.map +0 -1
  96. package/dist/verdocs-web-sdk/p-e5684a49.system.entry.js +0 -2
  97. package/dist/verdocs-web-sdk/p-e5684a49.system.entry.js.map +0 -1
@@ -611,26 +611,6 @@ const toFiniteNumber = (value, defaultValue) => {
611
611
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
612
612
  };
613
613
 
614
- const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
615
-
616
- const DIGIT = '0123456789';
617
-
618
- const ALPHABET = {
619
- DIGIT,
620
- ALPHA,
621
- ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
622
- };
623
-
624
- const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
625
- let str = '';
626
- const {length} = alphabet;
627
- while (size--) {
628
- str += alphabet[Math.random() * length|0];
629
- }
630
-
631
- return str;
632
- };
633
-
634
614
  /**
635
615
  * If the thing is a FormData object, return true, otherwise return false.
636
616
  *
@@ -758,8 +738,6 @@ const utils$1 = {
758
738
  findKey,
759
739
  global: _global,
760
740
  isContextDefined,
761
- ALPHABET,
762
- generateString,
763
741
  isSpecCompliantForm,
764
742
  toJSONObject,
765
743
  isAsyncFn,
@@ -2252,8 +2230,9 @@ function combineURLs(baseURL, relativeURL) {
2252
2230
  *
2253
2231
  * @returns {string} The combined full path
2254
2232
  */
2255
- function buildFullPath(baseURL, requestedURL) {
2256
- if (baseURL && !isAbsoluteURL(requestedURL)) {
2233
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2234
+ let isRelativeUrl = !isAbsoluteURL(requestedURL);
2235
+ if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
2257
2236
  return combineURLs(baseURL, requestedURL);
2258
2237
  }
2259
2238
  return requestedURL;
@@ -3093,7 +3072,7 @@ function dispatchRequest(config) {
3093
3072
  });
3094
3073
  }
3095
3074
 
3096
- const VERSION = "1.7.9";
3075
+ const VERSION = "1.8.1";
3097
3076
 
3098
3077
  const validators$1 = {};
3099
3078
 
@@ -3278,6 +3257,13 @@ class Axios {
3278
3257
  }
3279
3258
  }
3280
3259
 
3260
+ // Set config.allowAbsoluteUrls
3261
+ if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) {
3262
+ config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
3263
+ } else {
3264
+ config.allowAbsoluteUrls = true;
3265
+ }
3266
+
3281
3267
  validator.assertOptions(config, {
3282
3268
  baseUrl: validators.spelling('baseURL'),
3283
3269
  withXsrfToken: validators.spelling('withXSRFToken')
@@ -3373,7 +3359,7 @@ class Axios {
3373
3359
 
3374
3360
  getUri(config) {
3375
3361
  config = mergeConfig(this.defaults, config);
3376
- const fullPath = buildFullPath(config.baseURL, config.url);
3362
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
3377
3363
  return buildURL(fullPath, config.params, config.paramsSerializer);
3378
3364
  }
3379
3365
  }
@@ -3829,7 +3815,6 @@ const VerdocsContactPicker = class {
3829
3815
  handleSubmit(e) {
3830
3816
  var _a;
3831
3817
  e.stopPropagation();
3832
- console.log('sub');
3833
3818
  this.showSuggestions = false;
3834
3819
  (_a = this.next) === null || _a === void 0 ? void 0 : _a.emit({
3835
3820
  first_name: this.first_name,
@@ -3881,29 +3866,29 @@ const VerdocsContactPicker = class {
3881
3866
  if (((_t = (_s = (_r = this.featureFlags) === null || _r === void 0 ? void 0 : _r.toggles) === null || _s === void 0 ? void 0 : _s.find(t => t.name === 'id-verification')) === null || _t === void 0 ? void 0 : _t.enabled) === true && !!this.activeEntitlements.id_auth) {
3882
3867
  verificationOptions.push({ label: 'ID Check', value: 'id' });
3883
3868
  }
3884
- return (h("form", { key: 'b2cda11b375e553371cc05752be032dcc64fb372', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '604d484cc9c77a84a2853ddeef8255f871532cf3', class: "row" }, h("label", { key: '99c7c4c15a51d09b0266ebbc9688540ea068b430', htmlFor: this.firstNameFieldId }, "Name:"), h("div", { key: 'aeb977e092aca353119db0ff1afa258f45850e35', class: "names-row" }, h("input", { key: '1564f8fb970581524148889aa8a4a8d0981398a7', id: this.firstNameFieldId, name: this.firstNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", "aria-autocomplete": "none", value: this.first_name, placeholder: "First...", onFocus: () => {
3869
+ return (h("form", { key: '04692a50db278a08b263fa5343a90f832b7a39ee', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '49c73586ee2a3b55284c7060578ce2f76442eb7f', class: "row" }, h("label", { key: 'c14e09c5fafc682f8e84409cabb8c16080a542ef', htmlFor: this.firstNameFieldId }, "Name:"), h("div", { key: '64d1f1411604edaab598852ecccbd2e81cac5d01', class: "names-row" }, h("input", { key: 'ab738a6d5fb36378c6cae917ffc0cce34eefc251', id: this.firstNameFieldId, name: this.firstNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", "aria-autocomplete": "none", value: this.first_name, placeholder: "First...", onFocus: () => {
3885
3870
  // Give the blur event a chance to hide it first if going between first/last
3886
3871
  setTimeout(() => {
3887
3872
  var _a;
3888
3873
  this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0;
3889
3874
  }, 100);
3890
- }, onInput: e => this.handleFirstNameChange(e) }), h("input", { key: '66d1d0456f24d49fe0be746c4f35c0b3a12ba841', id: this.lastNameFieldId, name: this.lastNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", "aria-autocomplete": "none", value: this.last_name, placeholder: "Last...", onFocus: () => {
3875
+ }, onInput: e => this.handleFirstNameChange(e) }), h("input", { key: 'e78173446c9eb0d24125b1e9a614948b2c0dea34', id: this.lastNameFieldId, name: this.lastNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", "aria-autocomplete": "none", value: this.last_name, placeholder: "Last...", onFocus: () => {
3891
3876
  // Give the blur event a chance to hide it first if going between first/last
3892
3877
  setTimeout(() => {
3893
3878
  var _a;
3894
3879
  this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0;
3895
3880
  }, 100);
3896
- }, onInput: e => this.handleLastNameChange(e) })), this.showSuggestions && (h("verdocs-portal", { key: '674571611b133f76e90d07685632b7430d0eb7c4', anchor: this.firstNameFieldId, onClickAway: () => (this.showSuggestions = false), id: "verdocs-contact-picker-suggestions" }, h("div", { key: 'c5e53ec590fc64b092d08540ac39ca482e78a79c', class: "dropdown" }, this.contactSuggestions
3881
+ }, onInput: e => this.handleLastNameChange(e) })), this.showSuggestions && (h("verdocs-portal", { key: '9947a7f8ab42d1790df06e579796d4a2e93245d1', anchor: this.firstNameFieldId, onClickAway: () => (this.showSuggestions = false), id: "verdocs-contact-picker-suggestions" }, h("div", { key: 'fbc62ab9fe1d080bd24cdcd6d06af7608957566c', class: "dropdown" }, this.contactSuggestions
3897
3882
  .filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
3898
3883
  .map(suggestion => {
3899
3884
  var _a;
3900
3885
  return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.email, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.picture ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.picture }) : h("div", { class: "avatar", innerHTML: addrBookIcon }), h("div", { class: "details" }, h("div", { class: "name" }, formatFullName(suggestion)), suggestion.email && h("div", { class: "destination" }, suggestion.email), suggestion.phone && h("div", { class: "destination" }, suggestion.phone))));
3901
- }))))), h("div", { key: '61a05720167114b362f5c2c4f6ee794e9a823059', class: "row" }, h("label", { key: '9432c1386e24d7f8d09dc5415958bf88e49ed83c', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: 'b5ce556ba67b26bfd09e9d6b0ea0427363355510', id: this.emailFieldId, name: this.emailFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", "aria-autocomplete": "none", value: this.email, placeholder: "Invite/verify via email...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.email = e.target.value) })), globalSMS && (h("div", { key: '6bf7712b43c8b7924ff792290c723a66a1a62296', class: "row" }, h("label", { key: 'e3744f9b285d7624b65ad4d94909c36cd156bb2d', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: 'e249b2e1432384b95a75fc3fb9a889cefd43fb14', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", "aria-autocomplete": "none", value: this.phone, placeholder: "Invite/verify via SMS...", onFocus: () => (this.showSuggestions = false), onInput: (e) => {
3886
+ }))))), h("div", { key: 'e8e70c9c0eb9aac2949ea3f1cdcad31a0109b1e6', class: "row" }, h("label", { key: '1a0446066a2337a8317e4f1a30a7b4bbaac8e9d9', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: '700f23efdcdad3569e37f68beb87254768997476', id: this.emailFieldId, name: this.emailFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", "aria-autocomplete": "none", value: this.email, placeholder: "Invite/verify via email...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.email = e.target.value) })), globalSMS && (h("div", { key: 'e10b121fcc2c612b95a9e8ebd35fbbaba78f31ff', class: "row" }, h("label", { key: '924df4057ae82c1a42a060f6457999e9e7be3e9d', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: 'be1707e6c04744891626dd14ce7beee679e33b95', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", "aria-autocomplete": "none", value: this.phone, placeholder: "Invite/verify via SMS...", onFocus: () => (this.showSuggestions = false), onInput: (e) => {
3902
3887
  this.phone = convertToE164(e.target.value);
3903
- } }))), h(Fragment, { key: '202d93245182ee54519b9f58962facd0a9f524d0' }, verificationOptions.length > 0 && (h("div", { key: '0af26fd7633cb6f062e56be65adac2743814304e', class: "row" }, h("label", { key: 'ed1366652b0db48b1e2f41dc6d65348c9699887e' }, "Recipient Verification:"), h("verdocs-multiselect", { key: '107921cec4e2d8b7a7ea11c7451451a50216e08a', label: "", placeholder: "None", options: verificationOptions, selectedOptions: this.auth_methods, onSelectionChanged: (e) => {
3888
+ } }))), h(Fragment, { key: 'a27e49219aed619f6ce094ca91d7bdb8ee4bd361' }, verificationOptions.length > 0 && (h("div", { key: '3c2eb231a5e10223a0554b2661f7902a7343ff14', class: "row" }, h("label", { key: '2424d844f6c54d6898aff3746c665e8f0028393f' }, "Recipient Verification:"), h("verdocs-multiselect", { key: '15e4fdff72818343d016749c83a10602083c19db', label: "", placeholder: "None", options: verificationOptions, selectedOptions: this.auth_methods, onSelectionChanged: (e) => {
3904
3889
  console.log('selectedOptions changed', e.detail);
3905
3890
  this.auth_methods = e.detail.selectedOptions;
3906
- } }))), this.auth_methods.includes('passcode') && (h("div", { key: '2a9e0e955211846e2875661fd9408e7e58092504', class: "row pin-code" }, h("label", { key: '8295693a69e940d6f5a00f0972766bbf0e13a18f', htmlFor: this.phoneFieldId }, "Passcode:"), h("input", { key: '60e78fb22245e97efab765e3a47f112b4bb58341', id: "verdocs-passcode", name: "verdocs-passcode", type: "text", "data-lpignore": "true", autocomplete: "blocked", "aria-autocomplete": "none", value: this.passcode, placeholder: "4-8 digits recommended...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.passcode = e.target.value) })))), h("div", { key: '47ed4c44d6f4e0f9d5d9733a47183e9c652d7a1b', class: "row message" }, h("label", { key: 'a471e42ac85935d711f4ff362c3f5c01b84bab82', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("textarea", { key: 'c3b3011e031f0552ad18bf3d14525b439f729b6f', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", "data-lpignore": "true", autocomplete: "blocked", placeholder: "Optional message to include in invitation...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.message = e.target.value) }, this.message)), h("div", { key: '02e7f7d6f8fb67ce5c301fc573a91234ac8c0a1a', class: "buttons" }, h("div", { key: '217bdfe57aae7db9ed38e4e0430e3fb017c2f206', class: "flex-fill" }), h("verdocs-button", { key: '91b7541ffaf7b2ca2b18dfb0962cde71e11669f8', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'd55e4aad3e7647d05e7052e9ee1176855101d598', label: "OK", size: "small", disabled: !canSubmit, onClick: !canSubmit ? () => { } : e => this.handleSubmit(e) }))));
3891
+ } }))), this.auth_methods.includes('passcode') && (h("div", { key: 'cb92bbf38b29b81dd443ea63ee52f5c38ca3e462', class: "row pin-code" }, h("label", { key: 'a31d6aa08952a78774e0f7d6fc89a0c992fff0ce', htmlFor: this.phoneFieldId }, "Passcode:"), h("input", { key: '416d22a451995e318fed41b36feda632b7324231', id: "verdocs-passcode", name: "verdocs-passcode", type: "text", "data-lpignore": "true", autocomplete: "blocked", "aria-autocomplete": "none", value: this.passcode, placeholder: "4-8 digits recommended...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.passcode = e.target.value) })))), h("div", { key: '12d5f81d3750dfbec08c01d9f9e5ef8ff4e4ab61', class: "row message" }, h("label", { key: 'c5d2265df1203c2f1cb09e4ef99ece909a11c3d1', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("textarea", { key: '875a4a055860497d1b5f270fe9e4f76fd1594d86', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", "data-lpignore": "true", autocomplete: "blocked", placeholder: "Optional message to include in invitation...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.message = e.target.value) }, this.message)), h("div", { key: 'fc5dc7ca853d00fbeb22b912f7da5db32c394bdb', class: "buttons" }, h("div", { key: 'cb19eed74dcc4a093d0420352e31b50c252ca857', class: "flex-fill" }), h("verdocs-button", { key: 'b94abf0ba4e07bdb661aee267a2d23bd1e5f9555', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '2ad4cf79ebbac22818caee6fd732cf4cbf01436b', label: "OK", size: "small", disabled: !canSubmit, onClick: !canSubmit ? () => { } : e => this.handleSubmit(e) }))));
3907
3892
  }
3908
3893
  };
3909
3894
  VerdocsContactPicker.style = VerdocsContactPickerStyle0;