@nylas/react 1.1.4 → 1.1.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 (148) hide show
  1. package/dist/add-circle-icon_2.entry-40ff1ddc.js +25 -0
  2. package/dist/add-circle-icon_2.entry-c9aa21bb.cjs +1 -0
  3. package/dist/archive-icon.entry-253f4253.js +15 -0
  4. package/dist/archive-icon.entry-f27eb10c.cjs +1 -0
  5. package/dist/{arrow-icon.entry-20b50784.js → arrow-icon.entry-ac939154.js} +2 -2
  6. package/dist/{arrow-icon.entry-83c3105b.cjs → arrow-icon.entry-b1ca875a.cjs} +1 -1
  7. package/dist/{bold-icon.entry-34b18d0d.js → bold-icon.entry-3594774b.js} +2 -2
  8. package/dist/{bold-icon.entry-0e3d84e1.cjs → bold-icon.entry-e815017f.cjs} +1 -1
  9. package/dist/{button-component_2.entry-54101987.cjs → button-component_2.entry-a2d998c4.cjs} +1 -1
  10. package/dist/{button-component_2.entry-8a5e99da.js → button-component_2.entry-fdca89a8.js} +6 -6
  11. package/dist/{calendar-agenda-fill-icon_51.entry-a351dca5.js → calendar-agenda-fill-icon_54.entry-40b74a1d.js} +1947 -1636
  12. package/dist/calendar-agenda-fill-icon_54.entry-d47f77af.cjs +10 -0
  13. package/dist/{calendar-cancel-icon.entry-f83e9b41.js → calendar-cancel-icon.entry-90a529f9.js} +4 -4
  14. package/dist/{calendar-cancel-icon.entry-00756264.cjs → calendar-cancel-icon.entry-98e56632.cjs} +1 -1
  15. package/dist/{calendar-check-icon_2.entry-1817540c.js → calendar-check-icon_2.entry-09e247b0.js} +7 -7
  16. package/dist/{calendar-check-icon_2.entry-6ac948fc.cjs → calendar-check-icon_2.entry-305d0f9f.cjs} +1 -1
  17. package/dist/{calendar-icon.entry-68e53f52.cjs → calendar-icon.entry-7570a82f.cjs} +1 -1
  18. package/dist/{calendar-icon.entry-362428bf.js → calendar-icon.entry-ff7dfc9b.js} +2 -2
  19. package/dist/{checkbox-component_2.entry-5ce9807d.cjs → checkbox-component_2.entry-2b5a2721.cjs} +1 -1
  20. package/dist/{checkbox-component_2.entry-0d7c1916.js → checkbox-component_2.entry-2d8bf66e.js} +3 -3
  21. package/dist/{chevron-icon_3.entry-89c52603.cjs → chevron-icon_3.entry-35130198.cjs} +1 -1
  22. package/dist/{chevron-icon_3.entry-37c087a7.js → chevron-icon_3.entry-e6539933.js} +6 -6
  23. package/dist/{clock-icon_4.entry-496058ef.cjs → clock-icon_4.entry-623c482d.cjs} +1 -1
  24. package/dist/{clock-icon_4.entry-2e78febe.js → clock-icon_4.entry-797aa1f7.js} +8 -8
  25. package/dist/constants-c549b12b-7ea4c7f5.js +763 -0
  26. package/dist/constants-c549b12b-c85413b1.cjs +1 -0
  27. package/dist/copy-icon.entry-7dd1cd70.cjs +1 -0
  28. package/dist/{copy-icon.entry-6d4e05b0.js → copy-icon.entry-9b8eb24d.js} +7 -7
  29. package/dist/{delete-icon.entry-ea06b42a.js → delete-icon.entry-3d05884f.js} +7 -7
  30. package/dist/{delete-icon.entry-e98b336e.cjs → delete-icon.entry-506ee04f.cjs} +1 -1
  31. package/dist/document-refresh-icon.entry-09b959f4.js +15 -0
  32. package/dist/document-refresh-icon.entry-1ff1f7ca.cjs +1 -0
  33. package/dist/{feedbackSync-ab657d65-e8b7c001.js → feedbackSync-b56b29ed-6a2388f3.js} +1 -1
  34. package/dist/{feedbackSync-ab657d65-e650e46d.cjs → feedbackSync-b56b29ed-cf8c7876.cjs} +1 -1
  35. package/dist/{folder-icon.entry-5c3f4e8f.cjs → folder-icon.entry-2788257d.cjs} +1 -1
  36. package/dist/{folder-icon.entry-6096fbf4.js → folder-icon.entry-6f9875f7.js} +2 -2
  37. package/dist/{forward-icon.entry-4089e3bb.cjs → forward-icon.entry-49f6a480.cjs} +1 -1
  38. package/dist/forward-icon.entry-a0de0be0.js +15 -0
  39. package/dist/{globe-icon.entry-e8ca972e.cjs → globe-icon.entry-04c890dd.cjs} +1 -1
  40. package/dist/{globe-icon.entry-59f4c2f9.js → globe-icon.entry-b7f1e5b8.js} +4 -4
  41. package/dist/google-logo-icon_4.entry-66d8a50d.cjs +1 -0
  42. package/dist/{google-logo-icon_4.entry-d4b8926f.js → google-logo-icon_4.entry-b2463218.js} +254 -240
  43. package/dist/inbox-icon.entry-11813535.cjs +1 -0
  44. package/dist/{inbox-icon.entry-70dae5ec.js → inbox-icon.entry-c5cb64d8.js} +2 -2
  45. package/dist/{index-e475e0c0.js → index-600718a1.js} +3236 -3090
  46. package/dist/index-8755dd64.cjs +81 -0
  47. package/dist/{index.es-b475d61f-68a74a28.cjs → index.es-c7ca1bad-1c8a9213.cjs} +1 -1
  48. package/dist/{index.es-b475d61f-bfa2cba2.js → index.es-c7ca1bad-73894e2f.js} +1 -1
  49. package/dist/{info-icon_2.entry-f1b1dfba.cjs → info-icon_2.entry-08125285.cjs} +1 -1
  50. package/dist/{info-icon_2.entry-2bb60213.js → info-icon_2.entry-e48e3cda.js} +5 -5
  51. package/dist/{input-color-picker.entry-5ae45a9e.js → input-color-picker.entry-54e61165.js} +3 -3
  52. package/dist/{input-color-picker.entry-b669f7fb.cjs → input-color-picker.entry-acfa5da8.cjs} +1 -1
  53. package/dist/{input-component.entry-cb958501.js → input-component.entry-54df3f66.js} +3 -3
  54. package/dist/{input-component.entry-eeb95361.cjs → input-component.entry-e2fbcde0.cjs} +1 -1
  55. package/dist/{input-dropdown.entry-0b458f68.cjs → input-dropdown.entry-1509d5c4.cjs} +1 -1
  56. package/dist/{input-dropdown.entry-962605f8.js → input-dropdown.entry-8dec00e3.js} +4 -4
  57. package/dist/italic-icon.entry-79eafb05.cjs +1 -0
  58. package/dist/italic-icon.entry-c9028583.js +15 -0
  59. package/dist/{multi-select-dropdown.entry-a66408a2.cjs → multi-select-dropdown.entry-221212e3.cjs} +1 -1
  60. package/dist/{multi-select-dropdown.entry-3084e1fc.js → multi-select-dropdown.entry-2ed02a88.js} +2 -2
  61. package/dist/nylas-booked-event-card_12.entry-5125b535.cjs +1 -0
  62. package/dist/{nylas-booked-event-card_12.entry-29e2a4b1.js → nylas-booked-event-card_12.entry-fa2b2630.js} +421 -323
  63. package/dist/{nylas-form-card.entry-8465eccf.cjs → nylas-form-card.entry-2019c383.cjs} +1 -1
  64. package/dist/{nylas-form-card.entry-33b4c295.js → nylas-form-card.entry-a114052f.js} +16 -16
  65. package/dist/{nylas-if-state.entry-adb6103a.cjs → nylas-if-state.entry-480c45d1.cjs} +1 -1
  66. package/dist/{nylas-if-state.entry-9d96fc87.js → nylas-if-state.entry-de891ced.js} +3 -3
  67. package/dist/{nylas-login.entry-3f7c195e.js → nylas-login.entry-9ad74f40.js} +7 -7
  68. package/dist/{nylas-login.entry-78b968d1.cjs → nylas-login.entry-c99a7b37.cjs} +1 -1
  69. package/dist/{nylas-provider.entry-b918d0f6.cjs → nylas-provider.entry-d9c4e3d2.cjs} +1 -1
  70. package/dist/{nylas-provider.entry-19635620.js → nylas-provider.entry-faf7ef23.js} +5 -5
  71. package/dist/{nylas-scheduler-editor.entry-cfed7ae2.cjs → nylas-scheduler-editor.entry-8c5543bd.cjs} +2 -2
  72. package/dist/{nylas-scheduler-editor.entry-e848771f.js → nylas-scheduler-editor.entry-9af09bc2.js} +25 -25
  73. package/dist/{nylas-scheduling.entry-da987c02.js → nylas-scheduling.entry-8f5718ac.js} +142 -130
  74. package/dist/nylas-scheduling.entry-e778f5f6.cjs +1 -0
  75. package/dist/{nylas-time-window-picker.entry-1f76b577.cjs → nylas-time-window-picker.entry-0f396304.cjs} +1 -1
  76. package/dist/{nylas-time-window-picker.entry-3c6b29d9.js → nylas-time-window-picker.entry-690e753e.js} +13 -13
  77. package/dist/{person-icon.entry-82bbb87c.cjs → person-icon.entry-049ebaaa.cjs} +1 -1
  78. package/dist/{person-icon.entry-79fcd9fb.js → person-icon.entry-9c82640f.js} +2 -2
  79. package/dist/{play-icon.entry-3f357ea4.cjs → play-icon.entry-4b931766.cjs} +1 -1
  80. package/dist/play-icon.entry-5e77c87c.js +15 -0
  81. package/dist/react.cjs +1 -1
  82. package/dist/react.js +9 -9
  83. package/dist/{refresh-icon.entry-7ce5ec90.cjs → refresh-icon.entry-1c42e8df.cjs} +1 -1
  84. package/dist/{refresh-icon.entry-1427a5e6.js → refresh-icon.entry-f9d37dda.js} +2 -2
  85. package/dist/{register-component-679c1308-b5a96acf.cjs → register-component-3444af44-38748cf2.cjs} +1 -1
  86. package/dist/{register-component-679c1308-de697ecb.js → register-component-3444af44-a9df7506.js} +1 -1
  87. package/dist/{reply-all-icon.entry-f1165660.js → reply-all-icon.entry-c4c94341.js} +2 -2
  88. package/dist/{reply-all-icon.entry-cf8114db.cjs → reply-all-icon.entry-d090c34a.cjs} +1 -1
  89. package/dist/reply-icon.entry-69438565.js +15 -0
  90. package/dist/reply-icon.entry-6a5377ae.cjs +1 -0
  91. package/dist/scheduler-config-store-ed4a8dfd-82b439de.cjs +1 -0
  92. package/dist/{scheduler-config-store-2a3b403d-e5210f72.js → scheduler-config-store-ed4a8dfd-9126610f.js} +1 -2
  93. package/dist/scheduler-store-d4784b24-32e6da1e.cjs +1 -0
  94. package/dist/{scheduler-store-908886c8-b0f43cb9.js → scheduler-store-d4784b24-4558c7eb.js} +134 -126
  95. package/dist/sent-icon.entry-36964458.cjs +1 -0
  96. package/dist/sent-icon.entry-eae2a5f1.js +15 -0
  97. package/dist/spam-icon.entry-1f47e1cf.js +15 -0
  98. package/dist/spam-icon.entry-ec0b7f17.cjs +1 -0
  99. package/dist/{star-icon.entry-88501c8b.cjs → star-icon.entry-5fb1fdfe.cjs} +1 -1
  100. package/dist/{star-icon.entry-b15601ca.js → star-icon.entry-f2ba5cf7.js} +5 -5
  101. package/dist/{stop-icon.entry-3475e257.cjs → stop-icon.entry-c9b1f0a1.cjs} +1 -1
  102. package/dist/stop-icon.entry-e9c53f8f.js +15 -0
  103. package/dist/{textarea-component.entry-d1f4dd9a.js → textarea-component.entry-43938bc5.js} +2 -2
  104. package/dist/{textarea-component.entry-683c2959.cjs → textarea-component.entry-f7a089d4.cjs} +1 -1
  105. package/dist/{time-period-selector.entry-8cfdf750.cjs → time-period-selector.entry-9151a673.cjs} +1 -1
  106. package/dist/{time-period-selector.entry-e97f86fd.js → time-period-selector.entry-dcef9d6a.js} +2 -2
  107. package/dist/{translate-icon.entry-09c5574f.js → translate-icon.entry-5b47ef85.js} +4 -4
  108. package/dist/{translate-icon.entry-5757c37c.cjs → translate-icon.entry-d563b357.cjs} +1 -1
  109. package/dist/trash-fill-icon.entry-7d201791.cjs +1 -0
  110. package/dist/{trash-fill-icon.entry-470ec1ff.js → trash-fill-icon.entry-e316b456.js} +3 -3
  111. package/dist/{underline-icon.entry-9fe74ba7.js → underline-icon.entry-03cae3b3.js} +2 -2
  112. package/dist/{underline-icon.entry-6d729068.cjs → underline-icon.entry-a6751a31.cjs} +1 -1
  113. package/dist/{warning-icon.entry-d924f8f9.js → warning-icon.entry-b3c9b687.js} +5 -5
  114. package/dist/{warning-icon.entry-c1d48318.cjs → warning-icon.entry-f4936405.cjs} +1 -1
  115. package/package.json +3 -3
  116. package/dist/add-circle-icon_2.entry-6753bd65.js +0 -25
  117. package/dist/add-circle-icon_2.entry-cd9a7f37.cjs +0 -1
  118. package/dist/archive-icon.entry-434d1696.js +0 -15
  119. package/dist/archive-icon.entry-7cb1c265.cjs +0 -1
  120. package/dist/calendar-agenda-fill-icon_51.entry-1920adc2.cjs +0 -7
  121. package/dist/constants-c31dccfe-04b9cd8a.js +0 -3883
  122. package/dist/constants-c31dccfe-1a739653.cjs +0 -15
  123. package/dist/copy-icon.entry-a1baee33.cjs +0 -1
  124. package/dist/document-refresh-icon.entry-09750b52.cjs +0 -1
  125. package/dist/document-refresh-icon.entry-afae6621.js +0 -15
  126. package/dist/forward-icon.entry-da319c05.js +0 -15
  127. package/dist/google-logo-icon_4.entry-e2001f83.cjs +0 -1
  128. package/dist/inbox-icon.entry-80ee9082.cjs +0 -1
  129. package/dist/index-6b9d4b01.cjs +0 -81
  130. package/dist/italic-icon.entry-4a89e289.cjs +0 -1
  131. package/dist/italic-icon.entry-5be07509.js +0 -15
  132. package/dist/nylas-booked-event-card_12.entry-227ccf31.cjs +0 -1
  133. package/dist/nylas-reminder-emails.entry-ec79b757.js +0 -168
  134. package/dist/nylas-reminder-emails.entry-ee76db24.cjs +0 -4
  135. package/dist/nylas-reminder-time_2.entry-105de2d0.js +0 -108
  136. package/dist/nylas-reminder-time_2.entry-83ecc1d4.cjs +0 -1
  137. package/dist/nylas-scheduling.entry-e989cf9e.cjs +0 -1
  138. package/dist/play-icon.entry-97b40470.js +0 -15
  139. package/dist/reply-icon.entry-3a601cff.js +0 -15
  140. package/dist/reply-icon.entry-3db337c9.cjs +0 -1
  141. package/dist/scheduler-config-store-2a3b403d-e6f5bcab.cjs +0 -1
  142. package/dist/scheduler-store-908886c8-62d14677.cjs +0 -1
  143. package/dist/sent-icon.entry-2c7bd48e.js +0 -15
  144. package/dist/sent-icon.entry-708b9a2b.cjs +0 -1
  145. package/dist/spam-icon.entry-3106ed3d.js +0 -15
  146. package/dist/spam-icon.entry-fa8b80c6.cjs +0 -1
  147. package/dist/stop-icon.entry-f926a8db.js +0 -15
  148. package/dist/trash-fill-icon.entry-4bbfabcc.cjs +0 -1
@@ -1,9 +1,9 @@
1
- var P = Object.defineProperty;
2
- var O = (r, t, n) => t in r ? P(r, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[t] = n;
3
- var b = (r, t, n) => (O(r, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { p as process, b as commonjsGlobal, r as registerInstance, c as createEvent, d as debug, N as NylasIdentityRequestWrapper, h, H as Host, g as getElement, B as Buffer, F as Fragment, e as dataResponse } from "./index-e475e0c0.js";
5
- import { N as NylasBaseProvider, X as Xr } from "./index.es-b475d61f-bfa2cba2.js";
6
- import { C as CreateNylasSchedulerConfigStore } from "./scheduler-config-store-2a3b403d-e5210f72.js";
1
+ var O = Object.defineProperty;
2
+ var P = (r, t, n) => t in r ? O(r, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[t] = n;
3
+ var b = (r, t, n) => (P(r, typeof t != "symbol" ? t + "" : t, n), n);
4
+ import { p as process, b as commonjsGlobal, r as registerInstance, c as createEvent, d as debug, N as NylasIdentityRequestWrapper, h, H as Host, g as getElement, B as Buffer, F as Fragment, e as dataResponse } from "./index-600718a1.js";
5
+ import { N as NylasBaseProvider, X as Xr } from "./index.es-c7ca1bad-73894e2f.js";
6
+ import { C as CreateNylasSchedulerConfigStore } from "./scheduler-config-store-ed4a8dfd-9126610f.js";
7
7
  import "react";
8
8
  import "react-dom";
9
9
  class NylasSchedulerConfigAPIConnector {
@@ -464,11 +464,11 @@ var sha256 = { exports: {} };
464
464
  r[16] = this.block, r[t >> 2] |= EXTRA[t & 3], this.block = r[16], t >= 56 && (this.hashed || this.hash(), r[0] = this.block, r[16] = r[1] = r[2] = r[3] = r[4] = r[5] = r[6] = r[7] = r[8] = r[9] = r[10] = r[11] = r[12] = r[13] = r[14] = r[15] = 0), r[14] = this.hBytes << 3 | this.bytes >>> 29, r[15] = this.bytes << 3, this.hash();
465
465
  }
466
466
  }, Sha256.prototype.hash = function() {
467
- var r = this.h0, t = this.h1, n = this.h2, s = this.h3, c = this.h4, a = this.h5, d = this.h6, l = this.h7, u = this.blocks, f, y, g, m, p, w, S, x, v, R, _;
467
+ var r = this.h0, t = this.h1, n = this.h2, s = this.h3, c = this.h4, a = this.h5, d = this.h6, l = this.h7, u = this.blocks, f, y, g, m, p, w, S, x, v, _, R;
468
468
  for (f = 16; f < 64; ++f)
469
469
  p = u[f - 15], y = (p >>> 7 | p << 25) ^ (p >>> 18 | p << 14) ^ p >>> 3, p = u[f - 2], g = (p >>> 17 | p << 15) ^ (p >>> 19 | p << 13) ^ p >>> 10, u[f] = u[f - 16] + y + u[f - 7] + g << 0;
470
- for (_ = t & n, f = 0; f < 64; f += 4)
471
- this.first ? (this.is224 ? (x = 300032, p = u[0] - 1413257819, l = p - 150054599 << 0, s = p + 24177077 << 0) : (x = 704751109, p = u[0] - 210244248, l = p - 1521486534 << 0, s = p + 143694565 << 0), this.first = !1) : (y = (r >>> 2 | r << 30) ^ (r >>> 13 | r << 19) ^ (r >>> 22 | r << 10), g = (c >>> 6 | c << 26) ^ (c >>> 11 | c << 21) ^ (c >>> 25 | c << 7), x = r & t, m = x ^ r & n ^ _, S = c & a ^ ~c & d, p = l + g + S + K[f] + u[f], w = y + m, l = s + p << 0, s = p + w << 0), y = (s >>> 2 | s << 30) ^ (s >>> 13 | s << 19) ^ (s >>> 22 | s << 10), g = (l >>> 6 | l << 26) ^ (l >>> 11 | l << 21) ^ (l >>> 25 | l << 7), v = s & r, m = v ^ s & t ^ x, S = l & c ^ ~l & a, p = d + g + S + K[f + 1] + u[f + 1], w = y + m, d = n + p << 0, n = p + w << 0, y = (n >>> 2 | n << 30) ^ (n >>> 13 | n << 19) ^ (n >>> 22 | n << 10), g = (d >>> 6 | d << 26) ^ (d >>> 11 | d << 21) ^ (d >>> 25 | d << 7), R = n & s, m = R ^ n & r ^ v, S = d & l ^ ~d & c, p = a + g + S + K[f + 2] + u[f + 2], w = y + m, a = t + p << 0, t = p + w << 0, y = (t >>> 2 | t << 30) ^ (t >>> 13 | t << 19) ^ (t >>> 22 | t << 10), g = (a >>> 6 | a << 26) ^ (a >>> 11 | a << 21) ^ (a >>> 25 | a << 7), _ = t & n, m = _ ^ t & s ^ R, S = a & d ^ ~a & l, p = c + g + S + K[f + 3] + u[f + 3], w = y + m, c = r + p << 0, r = p + w << 0;
470
+ for (R = t & n, f = 0; f < 64; f += 4)
471
+ this.first ? (this.is224 ? (x = 300032, p = u[0] - 1413257819, l = p - 150054599 << 0, s = p + 24177077 << 0) : (x = 704751109, p = u[0] - 210244248, l = p - 1521486534 << 0, s = p + 143694565 << 0), this.first = !1) : (y = (r >>> 2 | r << 30) ^ (r >>> 13 | r << 19) ^ (r >>> 22 | r << 10), g = (c >>> 6 | c << 26) ^ (c >>> 11 | c << 21) ^ (c >>> 25 | c << 7), x = r & t, m = x ^ r & n ^ R, S = c & a ^ ~c & d, p = l + g + S + K[f] + u[f], w = y + m, l = s + p << 0, s = p + w << 0), y = (s >>> 2 | s << 30) ^ (s >>> 13 | s << 19) ^ (s >>> 22 | s << 10), g = (l >>> 6 | l << 26) ^ (l >>> 11 | l << 21) ^ (l >>> 25 | l << 7), v = s & r, m = v ^ s & t ^ x, S = l & c ^ ~l & a, p = d + g + S + K[f + 1] + u[f + 1], w = y + m, d = n + p << 0, n = p + w << 0, y = (n >>> 2 | n << 30) ^ (n >>> 13 | n << 19) ^ (n >>> 22 | n << 10), g = (d >>> 6 | d << 26) ^ (d >>> 11 | d << 21) ^ (d >>> 25 | d << 7), _ = n & s, m = _ ^ n & r ^ v, S = d & l ^ ~d & c, p = a + g + S + K[f + 2] + u[f + 2], w = y + m, a = t + p << 0, t = p + w << 0, y = (t >>> 2 | t << 30) ^ (t >>> 13 | t << 19) ^ (t >>> 22 | t << 10), g = (a >>> 6 | a << 26) ^ (a >>> 11 | a << 21) ^ (a >>> 25 | a << 7), R = t & n, m = R ^ t & s ^ _, S = a & d ^ ~a & l, p = c + g + S + K[f + 3] + u[f + 3], w = y + m, c = r + p << 0, r = p + w << 0;
472
472
  this.h0 = this.h0 + r << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + s << 0, this.h4 = this.h4 + c << 0, this.h5 = this.h5 + a << 0, this.h6 = this.h6 + d << 0, this.h7 = this.h7 + l << 0;
473
473
  }, Sha256.prototype.hex = function() {
474
474
  this.finalize();
@@ -670,30 +670,30 @@ function fetchEventSource(r, t) {
670
670
  }
671
671
  u || document.addEventListener("visibilitychange", S);
672
672
  let x = DefaultRetryInterval, v = 0;
673
- function R() {
673
+ function _() {
674
674
  document.removeEventListener("visibilitychange", S), window.clearTimeout(v), w.abort();
675
675
  }
676
676
  n == null || n.addEventListener("abort", () => {
677
- R(), g();
677
+ _(), g();
678
678
  });
679
- const _ = f ?? window.fetch, T = c ?? defaultOnOpen;
679
+ const R = f ?? window.fetch, T = c ?? defaultOnOpen;
680
680
  async function k() {
681
681
  var U;
682
682
  w = new AbortController();
683
683
  try {
684
- const I = await _(r, Object.assign(Object.assign({}, y), { headers: p, signal: w.signal }));
684
+ const I = await R(r, Object.assign(Object.assign({}, y), { headers: p, signal: w.signal }));
685
685
  await T(I), await getBytes(I.body, getLines(getMessages((A) => {
686
686
  A ? p[LastEventId] = A : delete p[LastEventId];
687
687
  }, (A) => {
688
688
  x = A;
689
- }, a))), d == null || d(), R(), g();
689
+ }, a))), d == null || d(), _(), g();
690
690
  } catch (I) {
691
691
  if (!w.signal.aborted)
692
692
  try {
693
693
  const A = (U = l == null ? void 0 : l(I)) !== null && U !== void 0 ? U : x;
694
694
  window.clearTimeout(v), v = window.setTimeout(k, A);
695
695
  } catch (A) {
696
- R(), m(A);
696
+ _(), m(A);
697
697
  }
698
698
  }
699
699
  }
@@ -906,20 +906,20 @@ class NylasSessions {
906
906
  // IMAP authentication
907
907
  async authIMAP(t) {
908
908
  const n = await this.getCodeChallege(), s = {
909
- imap_username: t.username,
910
- imap_password: t.password,
911
- imap_host: t.hostIMAP,
912
- imap_port: t.portIMAP,
909
+ imap_username: t.imap_username,
910
+ imap_password: t.imap_password,
911
+ imap_host: t.imap_host,
912
+ imap_port: t.imap_port,
913
913
  type: t.type,
914
- smtp_host: t.hostSMTP,
915
- smtp_port: t.portSMTP,
914
+ smtp_host: t.smtp_host,
915
+ smtp_port: t.smtp_port,
916
916
  provider: t.provider,
917
917
  redirect_uri: this.redirectUri,
918
918
  state: t.state,
919
919
  public_application_id: this.clientId,
920
920
  access_type: this.accessType
921
921
  };
922
- return this.loginId && (s.id = this.loginId), n != "" && (s.code_challenge = n, s.code_challenge_method = "S256"), await (await fetch(`${this.domain}/connect/login/imap`, {
922
+ return this.loginId && (s.id = this.loginId), t.smtp_username && t.smtp_password && (s.smtp_username = t.smtp_username, s.smtp_password = t.smtp_password), n != "" && (s.code_challenge = n, s.code_challenge_method = "S256"), await (await fetch(`${this.domain}/connect/login/imap`, {
923
923
  method: "POST",
924
924
  headers: new Headers({ "content-type": "application/json" }),
925
925
  body: JSON.stringify(s)
@@ -929,6 +929,7 @@ class NylasSessions {
929
929
  async authEWS(t) {
930
930
  const n = await this.getCodeChallege(), s = {
931
931
  ...t,
932
+ provider: "ews",
932
933
  redirect_uri: this.redirectUri,
933
934
  public_application_id: this.clientId,
934
935
  access_type: this.accessType
@@ -1351,7 +1352,6 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
1351
1352
  ...this.defaultSchedulerConfigState,
1352
1353
  additionalParticipants: r,
1353
1354
  conferenceProviders: this.conferenceProviders,
1354
- hideEditorTabs: this.hideEditorTabs,
1355
1355
  requiresSlug: this.requiresSlug
1356
1356
  })
1357
1357
  }, !this.nylasApiRequest && this.nylasSessionsConfig) {
@@ -1428,9 +1428,9 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
1428
1428
  }
1429
1429
  }
1430
1430
  render() {
1431
- var n, s, c, a, d, l, u, f, y, g, m, p, w, S, x, v, R, _, T;
1431
+ var n, s, c, a, d, l, u, f, y, g, m, p, w, S, x, v, _, R, T;
1432
1432
  const r = this.host.querySelector('[slot="custom-page-style-inputs"]'), t = (c = (s = (n = this.stores) == null ? void 0 : n.schedulerConfig) == null ? void 0 : s.state.selectedConfiguration) == null ? void 0 : c.id;
1433
- return h(Host, { key: "f15b5d34b2ec8ebd1d98f00f6ff5dabee3192c3e" }, h("div", { key: "9291393f70fd17ac15524df1eab4f20874d938af", class: "scheduler-editor-header", part: "nse__header" }, h("h1", { key: "8387d3f01850bca2c1653c92b602c2d78bd3b4c8", class: "scheduler-editor-title", part: "nse__title" }, h("calendar-icon", { key: "43fba169d1b27a89ee1edb15a1717fbba55e7886", width: "18", height: "18" }), "Scheduler Editor"), h("button", { key: "4879907c470336fff489438d2907d0bb240f7bb3", class: "scheduler-editor-close", title: "logout", onClick: (k) => this.handleSchedulerConfigCloseClicked(k), part: "nse__close-button" }, h("close-icon", { key: "936856e1a9a6840fd9e9d2ef2fa78b667b959de0", width: "18", height: "18" }))), h("div", { key: "33ce9b9adc1583ae2818c9e59bf3eaac1edbb47d", class: "scheduler-editor-content", part: "nse__content" }, ((d = (a = this.stores) == null ? void 0 : a.schedulerConfig) == null ? void 0 : d.state.currentUser) && this.stores.schedulerConfig.state.action === null && h("div", { class: "list-configurations" }, h("nylas-list-configurations", { exportparts: "nlc__create-new-cta" })), ((u = (l = this.stores) == null ? void 0 : l.schedulerConfig) == null ? void 0 : u.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && h("nylas-editor-tabs", { mode: "composable" }, h(ExpressFlow, { currentUser: (y = (f = this.stores) == null ? void 0 : f.schedulerConfig) == null ? void 0 : y.state.currentUser, calendars: (p = (m = (g = this.stores) == null ? void 0 : g.schedulerConfig) == null ? void 0 : m.state) == null ? void 0 : p.calendars, selectedConfiguration: (x = (S = (w = this.stores) == null ? void 0 : w.schedulerConfig) == null ? void 0 : S.state) == null ? void 0 : x.selectedConfiguration })), ((R = (v = this.stores) == null ? void 0 : v.schedulerConfig) == null ? void 0 : R.state.currentUser) && this.stores.schedulerConfig.state.action === "edit" && h("nylas-editor-tabs", { key: t, mode: this.mode }, this.mode === "composable" && h("slot", null), this.mode === "app" && r && h("div", { style: { display: "none" }, slot: "custom-page-style-inputs", key: t }, h("slot", { name: "custom-page-style-inputs" }))), !((T = (_ = this.stores) == null ? void 0 : _.schedulerConfig) != null && T.state.currentUser) && h("slot", { name: "login-required" }, h(LoginRequired, { authenticationUrl: this.authenticationUrl }))));
1433
+ return h(Host, { key: "35b140eeb034c18708cd362f6129e2a7cde71a7b" }, h("div", { key: "15eecb29f74a8401c6c80793d38678bee330f31e", class: "scheduler-editor-header", part: "nse__header" }, h("h1", { key: "dabea2da65cc14b20698653f9662a8c456254b34", class: "scheduler-editor-title", part: "nse__title" }, h("calendar-icon", { key: "eb26707b8c8d880655900353e50113504ba531cd", width: "18", height: "18" }), "Scheduler Editor"), h("button", { key: "c841ccb7aa945f292c69d342426ecd0e3a5a1413", class: "scheduler-editor-close", title: "logout", onClick: (k) => this.handleSchedulerConfigCloseClicked(k), part: "nse__close-button" }, h("close-icon", { key: "79b157544d31b2cd401c0c1e8ed019e36c09f9dd", width: "18", height: "18" }))), h("div", { key: "02c2e2992587342832f6d8999c09b637bece7dc8", class: "scheduler-editor-content", part: "nse__content" }, ((d = (a = this.stores) == null ? void 0 : a.schedulerConfig) == null ? void 0 : d.state.currentUser) && this.stores.schedulerConfig.state.action === null && h("div", { class: "list-configurations" }, h("nylas-list-configurations", { exportparts: "nlc__create-new-cta" })), ((u = (l = this.stores) == null ? void 0 : l.schedulerConfig) == null ? void 0 : u.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && h("nylas-editor-tabs", { mode: "composable" }, h(ExpressFlow, { currentUser: (y = (f = this.stores) == null ? void 0 : f.schedulerConfig) == null ? void 0 : y.state.currentUser, calendars: (p = (m = (g = this.stores) == null ? void 0 : g.schedulerConfig) == null ? void 0 : m.state) == null ? void 0 : p.calendars, selectedConfiguration: (x = (S = (w = this.stores) == null ? void 0 : w.schedulerConfig) == null ? void 0 : S.state) == null ? void 0 : x.selectedConfiguration })), ((_ = (v = this.stores) == null ? void 0 : v.schedulerConfig) == null ? void 0 : _.state.currentUser) && this.stores.schedulerConfig.state.action === "edit" && h("nylas-editor-tabs", { key: t, mode: this.mode }, this.mode === "composable" && h("slot", null), this.mode === "app" && r && h("div", { style: { display: "none" }, slot: "custom-page-style-inputs", key: t }, h("slot", { name: "custom-page-style-inputs" }))), !((T = (R = this.stores) == null ? void 0 : R.schedulerConfig) != null && T.state.currentUser) && h("slot", { name: "login-required" }, h(LoginRequired, { authenticationUrl: this.authenticationUrl }))));
1434
1434
  }
1435
1435
  get host() {
1436
1436
  return getElement(this);